@redocly/theme 0.70.0-next.9 → 0.70.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Accordion/Accordion.d.ts +12 -0
- package/lib/components/Accordion/Accordion.js +89 -0
- package/lib/components/Accordion/AccordionBody.d.ts +8 -0
- package/lib/components/Accordion/AccordionBody.js +73 -0
- package/lib/components/Accordion/AccordionHeader.d.ts +10 -0
- package/lib/components/Accordion/AccordionHeader.js +37 -0
- package/lib/components/Accordion/AccordionTitle.d.ts +6 -0
- package/lib/components/Accordion/AccordionTitle.js +20 -0
- package/lib/components/Accordion/variables.d.ts +1 -0
- package/lib/components/Accordion/variables.js +59 -0
- package/lib/components/Admonition/Admonition.d.ts +13 -0
- package/lib/components/Admonition/Admonition.js +130 -0
- package/lib/components/Admonition/variables.d.ts +1 -0
- package/lib/components/Admonition/variables.dark.d.ts +1 -0
- package/lib/components/Admonition/variables.dark.js +21 -0
- package/lib/components/Admonition/variables.js +109 -0
- package/lib/components/ApiOnboarding/AppCustomAttributes.d.ts +5 -0
- package/lib/components/ApiOnboarding/AppCustomAttributes.js +9 -0
- package/lib/components/Badge/Badge.d.ts +11 -0
- package/lib/components/Badge/Badge.js +91 -0
- package/lib/components/Banner/Banner.d.ts +11 -0
- package/lib/components/Banner/Banner.js +215 -0
- package/lib/components/Banner/variables.d.ts +1 -0
- package/lib/components/Banner/variables.dark.d.ts +1 -0
- package/lib/components/Banner/variables.dark.js +14 -0
- package/lib/components/Banner/variables.js +55 -0
- package/lib/components/Breadcrumbs/Breadcrumb.d.ts +10 -0
- package/lib/components/Breadcrumbs/Breadcrumb.js +97 -0
- package/lib/components/Breadcrumbs/BreadcrumbDropdown.d.ts +15 -0
- package/lib/components/Breadcrumbs/BreadcrumbDropdown.js +150 -0
- package/lib/components/Breadcrumbs/BreadcrumbIcon.d.ts +7 -0
- package/lib/components/Breadcrumbs/BreadcrumbIcon.js +23 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +6 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.js +87 -0
- package/lib/components/Breadcrumbs/variables.d.ts +1 -0
- package/lib/components/Breadcrumbs/variables.js +32 -0
- package/lib/components/Button/Button.d.ts +27 -0
- package/lib/components/Button/Button.js +196 -0
- package/lib/components/Button/ButtonGroup.d.ts +10 -0
- package/lib/components/Button/ButtonGroup.js +58 -0
- package/lib/components/Button/ShowMoreToggleButton.d.ts +11 -0
- package/lib/components/Button/ShowMoreToggleButton.js +21 -0
- package/lib/components/Button/variables.d.ts +1 -0
- package/lib/components/Button/variables.dark.d.ts +1 -0
- package/lib/components/Button/variables.dark.js +30 -0
- package/lib/components/Button/variables.js +280 -0
- package/lib/components/Buttons/AIAssistantButton.d.ts +2 -0
- package/lib/components/Buttons/AIAssistantButton.js +142 -0
- package/lib/components/Buttons/ConnectMCPButton.d.ts +8 -0
- package/lib/components/Buttons/ConnectMCPButton.js +99 -0
- package/lib/components/Buttons/CopyButton.d.ts +22 -0
- package/lib/components/Buttons/CopyButton.js +74 -0
- package/lib/components/Buttons/DownloadButton.d.ts +6 -0
- package/lib/components/Buttons/DownloadButton.js +30 -0
- package/lib/components/Buttons/EditPageButton.d.ts +5 -0
- package/lib/components/Buttons/EditPageButton.js +23 -0
- package/lib/components/Buttons/EmailButton.d.ts +6 -0
- package/lib/components/Buttons/EmailButton.js +22 -0
- package/lib/components/Buttons/NewTabButton.d.ts +6 -0
- package/lib/components/Buttons/NewTabButton.js +22 -0
- package/lib/components/Buttons/variables.d.ts +2 -0
- package/lib/components/Buttons/variables.dark.d.ts +1 -0
- package/lib/components/Buttons/variables.dark.js +10 -0
- package/lib/components/Buttons/variables.js +58 -0
- package/lib/components/Catalog/Catalog.d.ts +17 -0
- package/lib/components/Catalog/Catalog.js +198 -0
- package/lib/components/Catalog/CatalogActionsRow.d.ts +20 -0
- package/lib/components/Catalog/CatalogActionsRow.js +80 -0
- package/lib/components/Catalog/CatalogAvatar.d.ts +7 -0
- package/lib/components/Catalog/CatalogAvatar.js +92 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCard.d.ts +8 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCard.js +205 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCardView.d.ts +8 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCardView.js +28 -0
- package/lib/components/Catalog/CatalogEntities.d.ts +17 -0
- package/lib/components/Catalog/CatalogEntities.js +83 -0
- package/lib/components/Catalog/CatalogEntitiesEmptyState.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntitiesEmptyState.js +80 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.d.ts +3 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.js +132 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsEdge.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsEdge.js +38 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.js +101 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.lazy.d.ts +2 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.lazy.js +39 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.js +17 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.d.ts +16 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.js +24 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.js +53 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.js +16 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.js +187 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.js +210 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.d.ts +10 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.js +79 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.d.ts +11 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.js +202 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityInfoBar.d.ts +9 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityInfoBar.js +58 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityLinks.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityLinks.js +50 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.js +115 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.js +52 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.js +78 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.js +56 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.js +22 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.js +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.js +28 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.js +22 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.js +26 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.js +31 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.js +28 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.js +24 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.d.ts +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.js +28 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.d.ts +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.js +58 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.d.ts +13 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.js +88 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts +25 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js +37 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.d.ts +22 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.js +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.js +65 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.d.ts +15 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.js +105 -0
- package/lib/components/Catalog/CatalogEntity/ShowMoreButton.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/ShowMoreButton.js +35 -0
- package/lib/components/Catalog/CatalogEntityIcon.d.ts +9 -0
- package/lib/components/Catalog/CatalogEntityIcon.js +53 -0
- package/lib/components/Catalog/CatalogEntityTypeIcon.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntityTypeIcon.js +47 -0
- package/lib/components/Catalog/CatalogEntityTypeTag.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntityTypeTag.js +46 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilter.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilter.js +39 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.js +173 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterContent.d.ts +14 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterContent.js +79 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.js +122 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterSelect.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterSelect.js +127 -0
- package/lib/components/Catalog/CatalogHighlight.d.ts +5 -0
- package/lib/components/Catalog/CatalogHighlight.js +48 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.d.ts +8 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.js +24 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.d.ts +6 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.js +26 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.d.ts +8 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.js +30 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.d.ts +12 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.js +30 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.d.ts +10 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.js +21 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.d.ts +7 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.js +25 -0
- package/lib/components/Catalog/CatalogPageDescription.d.ts +9 -0
- package/lib/components/Catalog/CatalogPageDescription.js +46 -0
- package/lib/components/Catalog/CatalogSelector.d.ts +11 -0
- package/lib/components/Catalog/CatalogSelector.js +81 -0
- package/lib/components/Catalog/CatalogSortButton.d.ts +9 -0
- package/lib/components/Catalog/CatalogSortButton.js +84 -0
- package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.js +23 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.d.ts +8 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.js +51 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.d.ts +3 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.js +11 -0
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.js +45 -0
- package/lib/components/Catalog/CatalogTableView/CatalogOwnersCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogOwnersCell.js +22 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.d.ts +9 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.js +107 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.d.ts +32 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.js +104 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.d.ts +29 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.js +101 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.d.ts +6 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.js +22 -0
- package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.d.ts +7 -0
- package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.js +49 -0
- package/lib/components/Catalog/CatalogTags.d.ts +11 -0
- package/lib/components/Catalog/CatalogTags.js +63 -0
- package/lib/components/Catalog/CatalogViewModeToggle.d.ts +7 -0
- package/lib/components/Catalog/CatalogViewModeToggle.js +36 -0
- package/lib/components/Catalog/variables.d.ts +1 -0
- package/lib/components/Catalog/variables.dark.d.ts +1 -0
- package/lib/components/Catalog/variables.dark.js +8 -0
- package/lib/components/Catalog/variables.js +588 -0
- package/lib/components/CatalogClassic/CatalogClassic.d.ts +35 -0
- package/lib/components/CatalogClassic/CatalogClassic.js +122 -0
- package/lib/components/CatalogClassic/CatalogClassicActions.d.ts +8 -0
- package/lib/components/CatalogClassic/CatalogClassicActions.js +83 -0
- package/lib/components/CatalogClassic/CatalogClassicCard.d.ts +6 -0
- package/lib/components/CatalogClassic/CatalogClassicCard.js +162 -0
- package/lib/components/CatalogClassic/CatalogClassicHighlight.d.ts +5 -0
- package/lib/components/CatalogClassic/CatalogClassicHighlight.js +81 -0
- package/lib/components/CatalogClassic/CatalogClassicInfoBlock.d.ts +11 -0
- package/lib/components/CatalogClassic/CatalogClassicInfoBlock.js +47 -0
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.d.ts +25 -0
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.js +192 -0
- package/lib/components/CatalogClassic/variables.d.ts +1 -0
- package/lib/components/CatalogClassic/variables.js +109 -0
- package/lib/components/CodeBlock/CodeBlock.d.ts +51 -0
- package/lib/components/CodeBlock/CodeBlock.js +138 -0
- package/lib/components/CodeBlock/CodeBlockContainer.d.ts +15 -0
- package/lib/components/CodeBlock/CodeBlockContainer.js +363 -0
- package/lib/components/CodeBlock/CodeBlockControls.d.ts +39 -0
- package/lib/components/CodeBlock/CodeBlockControls.js +120 -0
- package/lib/components/CodeBlock/CodeBlockDropdown.d.ts +3 -0
- package/lib/components/CodeBlock/CodeBlockDropdown.js +26 -0
- package/lib/components/CodeBlock/CodeBlockTabs.d.ts +6 -0
- package/lib/components/CodeBlock/CodeBlockTabs.js +143 -0
- package/lib/components/CodeBlock/variables.d.ts +1 -0
- package/lib/components/CodeBlock/variables.dark.d.ts +1 -0
- package/lib/components/CodeBlock/variables.dark.js +8 -0
- package/lib/components/CodeBlock/variables.js +141 -0
- package/lib/components/ColorModeSwitcher/ColorModeIcon.d.ts +7 -0
- package/lib/components/ColorModeSwitcher/ColorModeIcon.js +29 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.d.ts +5 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +18 -0
- package/lib/components/Consent/Consent.d.ts +2 -0
- package/lib/components/Consent/Consent.js +17 -0
- package/lib/components/Consent/ConsentBanner.d.ts +2 -0
- package/lib/components/Consent/ConsentBanner.js +120 -0
- package/lib/components/Consent/ConsentDialog.d.ts +2 -0
- package/lib/components/Consent/ConsentDialog.js +128 -0
- package/lib/components/Consent/ConsentSettingsLink.d.ts +2 -0
- package/lib/components/Consent/ConsentSettingsLink.js +35 -0
- package/lib/components/Consent/variables.d.ts +1 -0
- package/lib/components/Consent/variables.js +31 -0
- package/lib/components/DatePicker/DatePicker.d.ts +4 -0
- package/lib/components/DatePicker/DatePicker.js +75 -0
- package/lib/components/DatePicker/variables.d.ts +1 -0
- package/lib/components/DatePicker/variables.js +26 -0
- package/lib/components/Dropdown/Dropdown.d.ts +26 -0
- package/lib/components/Dropdown/Dropdown.js +185 -0
- package/lib/components/Dropdown/DropdownMenu.d.ts +14 -0
- package/lib/components/Dropdown/DropdownMenu.js +51 -0
- package/lib/components/Dropdown/DropdownMenuItem.d.ts +18 -0
- package/lib/components/Dropdown/DropdownMenuItem.js +178 -0
- package/lib/components/Dropdown/DropdownMenuItemContent.d.ts +9 -0
- package/lib/components/Dropdown/DropdownMenuItemContent.js +56 -0
- package/lib/components/Dropdown/variables.d.ts +1 -0
- package/lib/components/Dropdown/variables.js +69 -0
- package/lib/components/Feedback/Comment.d.ts +15 -0
- package/lib/components/Feedback/Comment.js +152 -0
- package/lib/components/Feedback/Feedback.d.ts +5 -0
- package/lib/components/Feedback/Feedback.js +96 -0
- package/lib/components/Feedback/Mood.d.ts +33 -0
- package/lib/components/Feedback/Mood.js +270 -0
- package/lib/components/Feedback/Rating.d.ts +29 -0
- package/lib/components/Feedback/Rating.js +190 -0
- package/lib/components/Feedback/Reasons.d.ts +11 -0
- package/lib/components/Feedback/Reasons.js +91 -0
- package/lib/components/Feedback/ReportDialog.d.ts +14 -0
- package/lib/components/Feedback/ReportDialog.js +67 -0
- package/lib/components/Feedback/Scale.d.ts +31 -0
- package/lib/components/Feedback/Scale.js +227 -0
- package/lib/components/Feedback/Sentiment.d.ts +26 -0
- package/lib/components/Feedback/Sentiment.js +238 -0
- package/lib/components/Feedback/Stars.d.ts +8 -0
- package/lib/components/Feedback/Stars.js +68 -0
- package/lib/components/Feedback/variables.d.ts +1 -0
- package/lib/components/Feedback/variables.js +34 -0
- package/lib/components/Filter/Filter.d.ts +3 -0
- package/lib/components/Filter/Filter.js +30 -0
- package/lib/components/Filter/FilterCheckboxes.d.ts +3 -0
- package/lib/components/Filter/FilterCheckboxes.js +66 -0
- package/lib/components/Filter/FilterContent.d.ts +12 -0
- package/lib/components/Filter/FilterContent.js +105 -0
- package/lib/components/Filter/FilterDateRange.d.ts +3 -0
- package/lib/components/Filter/FilterDateRange.js +95 -0
- package/lib/components/Filter/FilterInput.d.ts +7 -0
- package/lib/components/Filter/FilterInput.js +105 -0
- package/lib/components/Filter/FilterOption.d.ts +8 -0
- package/lib/components/Filter/FilterOption.js +24 -0
- package/lib/components/Filter/FilterOptionLabel.d.ts +5 -0
- package/lib/components/Filter/FilterOptionLabel.js +20 -0
- package/lib/components/Filter/FilterOptions.d.ts +5 -0
- package/lib/components/Filter/FilterOptions.js +20 -0
- package/lib/components/Filter/FilterPopover.d.ts +11 -0
- package/lib/components/Filter/FilterPopover.js +62 -0
- package/lib/components/Filter/FilterSelect.d.ts +3 -0
- package/lib/components/Filter/FilterSelect.js +64 -0
- package/lib/components/Filter/FilterTitle.d.ts +5 -0
- package/lib/components/Filter/FilterTitle.js +17 -0
- package/lib/components/Filter/variables.d.ts +1 -0
- package/lib/components/Filter/variables.js +102 -0
- package/lib/components/Footer/Footer.d.ts +5 -0
- package/lib/components/Footer/Footer.js +88 -0
- package/lib/components/Footer/FooterColumn.d.ts +7 -0
- package/lib/components/Footer/FooterColumn.js +79 -0
- package/lib/components/Footer/FooterCopyright.d.ts +6 -0
- package/lib/components/Footer/FooterCopyright.js +36 -0
- package/lib/components/Footer/FooterItem.d.ts +8 -0
- package/lib/components/Footer/FooterItem.js +64 -0
- package/lib/components/Footer/variables.d.ts +1 -0
- package/lib/components/Footer/variables.js +62 -0
- package/lib/components/Image/Image.d.ts +18 -0
- package/lib/components/Image/Image.js +228 -0
- package/lib/components/Image/variables.d.ts +1 -0
- package/lib/components/Image/variables.js +61 -0
- package/lib/components/JsonViewer/Helpers.d.ts +17 -0
- package/lib/components/JsonViewer/Helpers.js +119 -0
- package/lib/components/JsonViewer/JsonViewer.d.ts +17 -0
- package/lib/components/JsonViewer/JsonViewer.js +99 -0
- package/lib/components/LanguagePicker/LanguagePicker.d.ts +8 -0
- package/lib/components/LanguagePicker/LanguagePicker.js +85 -0
- package/lib/components/LanguagePicker/variables.d.ts +1 -0
- package/lib/components/LanguagePicker/variables.js +40 -0
- package/lib/components/LastUpdated/LastUpdated.d.ts +10 -0
- package/lib/components/LastUpdated/LastUpdated.js +93 -0
- package/lib/components/LastUpdated/variables.d.ts +1 -0
- package/lib/components/LastUpdated/variables.js +11 -0
- package/lib/components/Link/Link.d.ts +5 -0
- package/lib/components/Link/Link.js +61 -0
- package/lib/components/LoadMore/LoadMore.d.ts +8 -0
- package/lib/components/LoadMore/LoadMore.js +19 -0
- package/lib/components/LoadProgressBar/LoadProgressBar.d.ts +8 -0
- package/lib/components/LoadProgressBar/LoadProgressBar.js +122 -0
- package/lib/components/Loaders/Loading.d.ts +5 -0
- package/lib/components/Loaders/Loading.js +27 -0
- package/lib/components/Loaders/SpinnerLoader.d.ts +6 -0
- package/lib/components/Loaders/SpinnerLoader.js +31 -0
- package/lib/components/Logo/Logo.d.ts +7 -0
- package/lib/components/Logo/Logo.js +46 -0
- package/lib/components/Logo/variables.d.ts +1 -0
- package/lib/components/Logo/variables.js +17 -0
- package/lib/components/MCP/McpConnectionTabs.d.ts +7 -0
- package/lib/components/MCP/McpConnectionTabs.js +168 -0
- package/lib/components/Markdown/Markdown.d.ts +26 -0
- package/lib/components/Markdown/Markdown.js +390 -0
- package/lib/components/Markdown/styles/base-table.d.ts +1 -0
- package/lib/components/Markdown/styles/base-table.js +90 -0
- package/lib/components/Markdown/styles/heading-anchor.d.ts +2 -0
- package/lib/components/Markdown/styles/heading-anchor.js +35 -0
- package/lib/components/Markdown/styles/links.d.ts +2 -0
- package/lib/components/Markdown/styles/links.js +27 -0
- package/lib/components/Markdown/variables.d.ts +1 -0
- package/lib/components/Markdown/variables.js +104 -0
- package/lib/components/Marker/Marker.d.ts +10 -0
- package/lib/components/Marker/Marker.js +72 -0
- package/lib/components/Menu/Menu.d.ts +10 -0
- package/lib/components/Menu/Menu.js +34 -0
- package/lib/components/Menu/MenuContainer.d.ts +9 -0
- package/lib/components/Menu/MenuContainer.js +80 -0
- package/lib/components/Menu/MenuItem.d.ts +10 -0
- package/lib/components/Menu/MenuItem.js +367 -0
- package/lib/components/Menu/MenuMobile.d.ts +6 -0
- package/lib/components/Menu/MenuMobile.js +166 -0
- package/lib/components/Menu/MenuSelect.d.ts +7 -0
- package/lib/components/Menu/MenuSelect.js +129 -0
- package/lib/components/Menu/variables.d.ts +2 -0
- package/lib/components/Menu/variables.dark.d.ts +1 -0
- package/lib/components/Menu/variables.dark.js +15 -0
- package/lib/components/Menu/variables.js +226 -0
- package/lib/components/Navbar/Navbar.d.ts +5 -0
- package/lib/components/Navbar/Navbar.js +157 -0
- package/lib/components/Navbar/NavbarItem.d.ts +7 -0
- package/lib/components/Navbar/NavbarItem.js +96 -0
- package/lib/components/Navbar/NavbarLogo.d.ts +3 -0
- package/lib/components/Navbar/NavbarLogo.js +20 -0
- package/lib/components/Navbar/NavbarMenu.d.ts +7 -0
- package/lib/components/Navbar/NavbarMenu.js +33 -0
- package/lib/components/Navbar/variables.d.ts +1 -0
- package/lib/components/Navbar/variables.js +57 -0
- package/lib/components/NavigationTabs/NavigationTab.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTab.js +93 -0
- package/lib/components/NavigationTabs/NavigationTabContent.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTabContent.js +50 -0
- package/lib/components/NavigationTabs/NavigationTabMenu.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTabMenu.js +18 -0
- package/lib/components/NavigationTabs/NavigationTabs.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTabs.js +97 -0
- package/lib/components/NavigationTabs/variables.d.ts +1 -0
- package/lib/components/NavigationTabs/variables.js +37 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperation.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperation.js +12 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiTitle.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiTitle.js +12 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperation.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperation.js +12 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiFooter.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiFooter.js +9 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiHeader.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiHeader.js +9 -0
- package/lib/components/PageActions/PageActions.d.ts +9 -0
- package/lib/components/PageActions/PageActions.js +129 -0
- package/lib/components/PageActions/PageActionsMenuItem.d.ts +7 -0
- package/lib/components/PageActions/PageActionsMenuItem.js +42 -0
- package/lib/components/PageActions/variables.d.ts +1 -0
- package/lib/components/PageActions/variables.dark.d.ts +1 -0
- package/lib/components/PageActions/variables.dark.js +9 -0
- package/lib/components/PageActions/variables.js +39 -0
- package/lib/components/PageNavigation/NavigationButton.d.ts +13 -0
- package/lib/components/PageNavigation/NavigationButton.js +48 -0
- package/lib/components/PageNavigation/NextButton.d.ts +7 -0
- package/lib/components/PageNavigation/NextButton.js +56 -0
- package/lib/components/PageNavigation/PageNavigation.d.ts +8 -0
- package/lib/components/PageNavigation/PageNavigation.js +38 -0
- package/lib/components/PageNavigation/PreviousButton.d.ts +7 -0
- package/lib/components/PageNavigation/PreviousButton.js +27 -0
- package/lib/components/PageNavigation/variables.d.ts +1 -0
- package/lib/components/PageNavigation/variables.js +27 -0
- package/lib/components/Panel/Panel.d.ts +14 -0
- package/lib/components/Panel/Panel.js +95 -0
- package/lib/components/Panel/PanelBody.d.ts +9 -0
- package/lib/components/Panel/PanelBody.js +73 -0
- package/lib/components/Panel/PanelHeader.d.ts +9 -0
- package/lib/components/Panel/PanelHeader.js +42 -0
- package/lib/components/Panel/PanelHeaderTitle.d.ts +5 -0
- package/lib/components/Panel/PanelHeaderTitle.js +19 -0
- package/lib/components/Panel/variables.d.ts +2 -0
- package/lib/components/Panel/variables.js +413 -0
- package/lib/components/Portal/Portal.d.ts +6 -0
- package/lib/components/Portal/Portal.js +49 -0
- package/lib/components/Product/Product.d.ts +7 -0
- package/lib/components/Product/Product.js +22 -0
- package/lib/components/Product/ProductPicker.d.ts +2 -0
- package/lib/components/Product/ProductPicker.js +78 -0
- package/lib/components/Product/utils.d.ts +1 -0
- package/lib/components/Product/utils.js +10 -0
- package/lib/components/Product/variables.d.ts +1 -0
- package/lib/components/Product/variables.js +43 -0
- package/lib/components/ReplayGate/ReplayGate.d.ts +13 -0
- package/lib/components/ReplayGate/ReplayGate.js +11 -0
- package/lib/components/ReplaySecuritySchemeActions/ReplaySecuritySchemeActions.d.ts +11 -0
- package/lib/components/ReplaySecuritySchemeActions/ReplaySecuritySchemeActions.js +7 -0
- package/lib/components/ReplayTopBarActions/ReplayTopBarActions.d.ts +13 -0
- package/lib/components/ReplayTopBarActions/ReplayTopBarActions.js +7 -0
- package/lib/components/Scorecard/variables.d.ts +1 -0
- package/lib/components/Scorecard/variables.dark.d.ts +1 -0
- package/lib/components/Scorecard/variables.dark.js +20 -0
- package/lib/components/Scorecard/variables.js +24 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.d.ts +12 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.js +113 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.d.ts +10 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.js +48 -0
- package/lib/components/Search/Search.d.ts +5 -0
- package/lib/components/Search/Search.js +26 -0
- package/lib/components/Search/SearchAiActionButtons.d.ts +10 -0
- package/lib/components/Search/SearchAiActionButtons.js +48 -0
- package/lib/components/Search/SearchAiActivity.d.ts +10 -0
- package/lib/components/Search/SearchAiActivity.js +278 -0
- package/lib/components/Search/SearchAiConversationInput.d.ts +11 -0
- package/lib/components/Search/SearchAiConversationInput.js +167 -0
- package/lib/components/Search/SearchAiDialog.d.ts +18 -0
- package/lib/components/Search/SearchAiDialog.js +219 -0
- package/lib/components/Search/SearchAiMessage.d.ts +19 -0
- package/lib/components/Search/SearchAiMessage.js +265 -0
- package/lib/components/Search/SearchAiNegativeFeedbackForm.d.ts +10 -0
- package/lib/components/Search/SearchAiNegativeFeedbackForm.js +170 -0
- package/lib/components/Search/SearchAiResponse.d.ts +14 -0
- package/lib/components/Search/SearchAiResponse.js +174 -0
- package/lib/components/Search/SearchDialog.d.ts +7 -0
- package/lib/components/Search/SearchDialog.js +504 -0
- package/lib/components/Search/SearchFilter.d.ts +13 -0
- package/lib/components/Search/SearchFilter.js +81 -0
- package/lib/components/Search/SearchFilterField.d.ts +13 -0
- package/lib/components/Search/SearchFilterField.js +42 -0
- package/lib/components/Search/SearchGroups.d.ts +11 -0
- package/lib/components/Search/SearchGroups.js +81 -0
- package/lib/components/Search/SearchHighlight.d.ts +2 -0
- package/lib/components/Search/SearchHighlight.js +79 -0
- package/lib/components/Search/SearchInput.d.ts +14 -0
- package/lib/components/Search/SearchInput.js +72 -0
- package/lib/components/Search/SearchItem.d.ts +18 -0
- package/lib/components/Search/SearchItem.js +225 -0
- package/lib/components/Search/SearchRecent.d.ts +6 -0
- package/lib/components/Search/SearchRecent.js +134 -0
- package/lib/components/Search/SearchShortcut.d.ts +7 -0
- package/lib/components/Search/SearchShortcut.js +60 -0
- package/lib/components/Search/SearchSuggestedPages.d.ts +5 -0
- package/lib/components/Search/SearchSuggestedPages.js +101 -0
- package/lib/components/Search/SearchTrigger.d.ts +6 -0
- package/lib/components/Search/SearchTrigger.js +138 -0
- package/lib/components/Search/should-show-load-more.d.ts +9 -0
- package/lib/components/Search/should-show-load-more.js +15 -0
- package/lib/components/Search/variables.d.ts +1 -0
- package/lib/components/Search/variables.js +285 -0
- package/lib/components/Segmented/Segmented.d.ts +5 -0
- package/lib/components/Segmented/Segmented.js +104 -0
- package/lib/components/Segmented/variables.d.ts +1 -0
- package/lib/components/Segmented/variables.dark.d.ts +1 -0
- package/lib/components/Segmented/variables.dark.js +9 -0
- package/lib/components/Segmented/variables.js +26 -0
- package/lib/components/Select/Select.d.ts +9 -0
- package/lib/components/Select/Select.js +239 -0
- package/lib/components/Select/SelectInput.d.ts +27 -0
- package/lib/components/Select/SelectInput.js +150 -0
- package/lib/components/Select/variables.d.ts +1 -0
- package/lib/components/Select/variables.js +48 -0
- package/lib/components/Sidebar/Sidebar.d.ts +27 -0
- package/lib/components/Sidebar/Sidebar.js +105 -0
- package/lib/components/Sidebar/variables.d.ts +1 -0
- package/lib/components/Sidebar/variables.js +60 -0
- package/lib/components/SidebarActions/ChangeViewButton.d.ts +8 -0
- package/lib/components/SidebarActions/ChangeViewButton.js +29 -0
- package/lib/components/SidebarActions/SidebarActions.d.ts +14 -0
- package/lib/components/SidebarActions/SidebarActions.js +48 -0
- package/lib/components/SidebarActions/styled.d.ts +23 -0
- package/lib/components/SidebarActions/styled.js +108 -0
- package/lib/components/SidebarLogo/SidebarLogo.d.ts +10 -0
- package/lib/components/SidebarLogo/SidebarLogo.js +30 -0
- package/lib/components/SkipContent/SkipContent.d.ts +2 -0
- package/lib/components/SkipContent/SkipContent.js +78 -0
- package/lib/components/SkipContent/variables.d.ts +1 -0
- package/lib/components/SkipContent/variables.js +23 -0
- package/lib/components/SplitButton/SplitButton.d.ts +22 -0
- package/lib/components/SplitButton/SplitButton.js +71 -0
- package/lib/components/StatusCode/StatusCode.d.ts +9 -0
- package/lib/components/StatusCode/StatusCode.js +43 -0
- package/lib/components/StatusCode/variables.d.ts +1 -0
- package/lib/components/StatusCode/variables.dark.d.ts +1 -0
- package/lib/components/StatusCode/variables.dark.js +8 -0
- package/lib/components/StatusCode/variables.js +16 -0
- package/lib/components/SvgViewer/SvgViewer.d.ts +15 -0
- package/lib/components/SvgViewer/SvgViewer.js +309 -0
- package/lib/components/SvgViewer/variables.d.ts +1 -0
- package/lib/components/SvgViewer/variables.js +17 -0
- package/lib/components/Switch/Switch.d.ts +10 -0
- package/lib/components/Switch/Switch.js +108 -0
- package/lib/components/Switch/variables.d.ts +1 -0
- package/lib/components/Switch/variables.dark.d.ts +1 -0
- package/lib/components/Switch/variables.dark.js +37 -0
- package/lib/components/Switch/variables.js +37 -0
- package/lib/components/TableOfContent/TableOfContent.d.ts +8 -0
- package/lib/components/TableOfContent/TableOfContent.js +132 -0
- package/lib/components/TableOfContent/variables.d.ts +1 -0
- package/lib/components/TableOfContent/variables.js +50 -0
- package/lib/components/Tag/Tag.d.ts +35 -0
- package/lib/components/Tag/Tag.js +220 -0
- package/lib/components/Tag/variables.d.ts +1 -0
- package/lib/components/Tag/variables.dark.d.ts +1 -0
- package/lib/components/Tag/variables.dark.js +295 -0
- package/lib/components/Tag/variables.js +412 -0
- package/lib/components/Tags/CounterTag.d.ts +6 -0
- package/lib/components/Tags/CounterTag.js +18 -0
- package/lib/components/Tags/HttpTag.d.ts +6 -0
- package/lib/components/Tags/HttpTag.js +29 -0
- package/lib/components/Tags/variables.d.ts +1 -0
- package/lib/components/Tags/variables.js +21 -0
- package/lib/components/Toast/Toast.d.ts +14 -0
- package/lib/components/Toast/Toast.js +239 -0
- package/lib/components/Toast/variables.d.ts +1 -0
- package/lib/components/Toast/variables.js +64 -0
- package/lib/components/Tooltip/AnchorTooltip.d.ts +8 -0
- package/lib/components/Tooltip/AnchorTooltip.js +233 -0
- package/lib/components/Tooltip/JsTooltip.d.ts +4 -0
- package/lib/components/Tooltip/JsTooltip.js +247 -0
- package/lib/components/Tooltip/Tooltip.d.ts +3 -0
- package/lib/components/Tooltip/Tooltip.js +58 -0
- package/lib/components/Tooltip/variables.d.ts +1 -0
- package/lib/components/Tooltip/variables.dark.d.ts +1 -0
- package/lib/components/Tooltip/variables.dark.js +13 -0
- package/lib/components/Tooltip/variables.js +42 -0
- package/lib/components/Typography/CompactTypography.d.ts +37 -0
- package/lib/components/Typography/CompactTypography.js +14 -0
- package/lib/components/Typography/Emphasis.d.ts +5 -0
- package/lib/components/Typography/Emphasis.js +14 -0
- package/lib/components/Typography/H1.d.ts +5 -0
- package/lib/components/Typography/H1.js +18 -0
- package/lib/components/Typography/H2.d.ts +5 -0
- package/lib/components/Typography/H2.js +18 -0
- package/lib/components/Typography/H3.d.ts +5 -0
- package/lib/components/Typography/H3.js +18 -0
- package/lib/components/Typography/H4.d.ts +5 -0
- package/lib/components/Typography/H4.js +18 -0
- package/lib/components/Typography/SectionHeader.d.ts +5 -0
- package/lib/components/Typography/SectionHeader.js +20 -0
- package/lib/components/Typography/Typography.d.ts +18 -0
- package/lib/components/Typography/Typography.js +38 -0
- package/lib/components/UserMenu/LoginButton.d.ts +12 -0
- package/lib/components/UserMenu/LoginButton.js +19 -0
- package/lib/components/UserMenu/LogoutMenuItem.d.ts +6 -0
- package/lib/components/UserMenu/LogoutMenuItem.js +23 -0
- package/lib/components/UserMenu/UserAvatar.d.ts +8 -0
- package/lib/components/UserMenu/UserAvatar.js +46 -0
- package/lib/components/UserMenu/UserInfoMenuItem.d.ts +8 -0
- package/lib/components/UserMenu/UserInfoMenuItem.js +53 -0
- package/lib/components/UserMenu/UserMenu.d.ts +5 -0
- package/lib/components/UserMenu/UserMenu.js +94 -0
- package/lib/components/UserMenu/UserMenuMobile.d.ts +5 -0
- package/lib/components/UserMenu/UserMenuMobile.js +54 -0
- package/lib/components/UserMenu/variables.d.ts +1 -0
- package/lib/components/UserMenu/variables.js +67 -0
- package/lib/components/VersionPicker/VersionPicker.d.ts +9 -0
- package/lib/components/VersionPicker/VersionPicker.js +122 -0
- package/lib/components/VersionPicker/variables.d.ts +1 -0
- package/lib/components/VersionPicker/variables.js +43 -0
- package/lib/config.d.ts +2 -0
- package/lib/config.js +3 -0
- package/lib/core/constants/accordion.d.ts +3 -0
- package/lib/core/constants/accordion.js +7 -0
- package/lib/core/constants/breadcrumb.d.ts +1 -0
- package/lib/core/constants/breadcrumb.js +5 -0
- package/lib/core/constants/catalog.d.ts +16 -0
- package/lib/core/constants/catalog.js +86 -0
- package/lib/core/constants/code-walkthrough.d.ts +1 -0
- package/lib/core/constants/code-walkthrough.js +5 -0
- package/lib/core/constants/common.d.ts +34 -0
- package/lib/core/constants/common.js +42 -0
- package/lib/core/constants/consent.d.ts +2 -0
- package/lib/core/constants/consent.js +30 -0
- package/lib/core/constants/environments.d.ts +10 -0
- package/lib/core/constants/environments.js +18 -0
- package/lib/core/constants/feedback.d.ts +2 -0
- package/lib/core/constants/feedback.js +6 -0
- package/lib/core/constants/heading.d.ts +9 -0
- package/lib/core/constants/heading.js +13 -0
- package/lib/core/constants/index.d.ts +14 -0
- package/lib/core/constants/index.js +31 -0
- package/lib/core/constants/markdown.d.ts +3 -0
- package/lib/core/constants/markdown.js +7 -0
- package/lib/core/constants/mcp.d.ts +5 -0
- package/lib/core/constants/mcp.js +9 -0
- package/lib/core/constants/prompt.d.ts +9 -0
- package/lib/core/constants/prompt.js +33 -0
- package/lib/core/constants/request-methods.d.ts +1 -0
- package/lib/core/constants/request-methods.js +14 -0
- package/lib/core/constants/search.d.ts +21 -0
- package/lib/core/constants/search.js +81 -0
- package/lib/core/constants/toast.d.ts +1 -0
- package/lib/core/constants/toast.js +5 -0
- package/lib/core/contexts/AccordionGroupContext.d.ts +1 -0
- package/lib/core/contexts/AccordionGroupContext.js +6 -0
- package/lib/core/contexts/CodeSnippetContext.d.ts +15 -0
- package/lib/core/contexts/CodeSnippetContext.js +76 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.d.ts +2 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.js +14 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.d.ts +2 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.js +14 -0
- package/lib/core/contexts/MarkdownLinkContext.d.ts +5 -0
- package/lib/core/contexts/MarkdownLinkContext.js +6 -0
- package/lib/core/contexts/PageActionsContext.d.ts +5 -0
- package/lib/core/contexts/PageActionsContext.js +10 -0
- package/lib/core/contexts/PortalContainerContext.d.ts +2 -0
- package/lib/core/contexts/PortalContainerContext.js +7 -0
- package/lib/core/contexts/SearchContext.d.ts +10 -0
- package/lib/core/contexts/SearchContext.js +56 -0
- package/lib/core/contexts/ThemeDataContext.d.ts +12 -0
- package/lib/core/contexts/ThemeDataContext.js +6 -0
- package/lib/core/contexts/Toast/ToastContext.d.ts +2 -0
- package/lib/core/contexts/Toast/ToastContext.js +6 -0
- package/lib/core/contexts/Toast/ToastProvider.d.ts +3 -0
- package/lib/core/contexts/Toast/ToastProvider.js +153 -0
- package/lib/core/contexts/index.d.ts +10 -0
- package/lib/core/contexts/index.js +27 -0
- package/lib/core/hoc/index.d.ts +1 -0
- package/lib/core/hoc/index.js +18 -0
- package/lib/core/hoc/typed-memo.d.ts +1 -0
- package/lib/core/hoc/typed-memo.js +6 -0
- package/lib/core/hooks/__tests__/mocks/mock-intersection-observer.d.ts +16 -0
- package/lib/core/hooks/__tests__/mocks/mock-intersection-observer.js +84 -0
- package/lib/core/hooks/catalog/use-catalog-entities.d.ts +4 -0
- package/lib/core/hooks/catalog/use-catalog-entities.js +19 -0
- package/lib/core/hooks/catalog/use-catalog-entity-details.d.ts +13 -0
- package/lib/core/hooks/catalog/use-catalog-entity-details.js +33 -0
- package/lib/core/hooks/catalog/use-catalog-entity-link.d.ts +8 -0
- package/lib/core/hooks/catalog/use-catalog-entity-link.js +43 -0
- package/lib/core/hooks/catalog/use-catalog-entity-schema.d.ts +11 -0
- package/lib/core/hooks/catalog/use-catalog-entity-schema.js +39 -0
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.d.ts +14 -0
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.js +22 -0
- package/lib/core/hooks/catalog/use-graph.d.ts +15 -0
- package/lib/core/hooks/catalog/use-graph.js +165 -0
- package/lib/core/hooks/code-walkthrough/use-code-panel.d.ts +6 -0
- package/lib/core/hooks/code-walkthrough/use-code-panel.js +95 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-controls.d.ts +19 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-controls.js +176 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.d.ts +13 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.js +328 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough.d.ts +15 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough.js +30 -0
- package/lib/core/hooks/code-walkthrough/use-renderable-files.d.ts +8 -0
- package/lib/core/hooks/code-walkthrough/use-renderable-files.js +30 -0
- package/lib/core/hooks/feedback/use-report-dialog.d.ts +16 -0
- package/lib/core/hooks/feedback/use-report-dialog.js +44 -0
- package/lib/core/hooks/index.d.ts +67 -0
- package/lib/core/hooks/index.js +84 -0
- package/lib/core/hooks/menu/use-collapse.d.ts +32 -0
- package/lib/core/hooks/menu/use-collapse.js +174 -0
- package/lib/core/hooks/menu/use-menu-item-expanded.d.ts +3 -0
- package/lib/core/hooks/menu/use-menu-item-expanded.js +26 -0
- package/lib/core/hooks/menu/use-mobile-menu-items.d.ts +10 -0
- package/lib/core/hooks/menu/use-mobile-menu-items.js +110 -0
- package/lib/core/hooks/menu/use-mobile-menu-levels.d.ts +5 -0
- package/lib/core/hooks/menu/use-mobile-menu-levels.js +51 -0
- package/lib/core/hooks/menu/use-nested-menu.d.ts +20 -0
- package/lib/core/hooks/menu/use-nested-menu.js +85 -0
- package/lib/core/hooks/prompt/use-prompt-actions.d.ts +7 -0
- package/lib/core/hooks/prompt/use-prompt-actions.js +19 -0
- package/lib/core/hooks/prompt/use-prompt-text-limit.d.ts +19 -0
- package/lib/core/hooks/prompt/use-prompt-text-limit.js +35 -0
- package/lib/core/hooks/search/use-feedback-tooltip.d.ts +6 -0
- package/lib/core/hooks/search/use-feedback-tooltip.js +26 -0
- package/lib/core/hooks/search/use-persisted-quick-filter.d.ts +21 -0
- package/lib/core/hooks/search/use-persisted-quick-filter.js +92 -0
- package/lib/core/hooks/search/use-recent-searches.d.ts +5 -0
- package/lib/core/hooks/search/use-recent-searches.js +37 -0
- package/lib/core/hooks/search/use-search-ai-activity.d.ts +11 -0
- package/lib/core/hooks/search/use-search-ai-activity.js +15 -0
- package/lib/core/hooks/search/use-search-dialog.d.ts +5 -0
- package/lib/core/hooks/search/use-search-dialog.js +54 -0
- package/lib/core/hooks/search/use-search-filter.d.ts +9 -0
- package/lib/core/hooks/search/use-search-filter.js +49 -0
- package/lib/core/hooks/search/use-suggested-pages.d.ts +6 -0
- package/lib/core/hooks/search/use-suggested-pages.js +12 -0
- package/lib/core/hooks/use-active-heading.d.ts +7 -0
- package/lib/core/hooks/use-active-heading.js +268 -0
- package/lib/core/hooks/use-active-page-version.d.ts +1 -0
- package/lib/core/hooks/use-active-page-version.js +11 -0
- package/lib/core/hooks/use-active-section-id.d.ts +5 -0
- package/lib/core/hooks/use-active-section-id.js +65 -0
- package/lib/core/hooks/use-anchor-positioning.d.ts +3 -0
- package/lib/core/hooks/use-anchor-positioning.js +21 -0
- package/lib/core/hooks/use-banner-telemetry.d.ts +7 -0
- package/lib/core/hooks/use-banner-telemetry.js +46 -0
- package/lib/core/hooks/use-codeblock-tabs-controls.d.ts +12 -0
- package/lib/core/hooks/use-codeblock-tabs-controls.js +51 -0
- package/lib/core/hooks/use-color-switcher.d.ts +6 -0
- package/lib/core/hooks/use-color-switcher.js +56 -0
- package/lib/core/hooks/use-connect-mcp-button.d.ts +13 -0
- package/lib/core/hooks/use-connect-mcp-button.js +60 -0
- package/lib/core/hooks/use-consent-dialog.d.ts +12 -0
- package/lib/core/hooks/use-consent-dialog.js +36 -0
- package/lib/core/hooks/use-consent-telemetry.d.ts +1 -0
- package/lib/core/hooks/use-consent-telemetry.js +42 -0
- package/lib/core/hooks/use-control.d.ts +6 -0
- package/lib/core/hooks/use-control.js +34 -0
- package/lib/core/hooks/use-controlled-state.d.ts +1 -0
- package/lib/core/hooks/use-controlled-state.js +16 -0
- package/lib/core/hooks/use-dialog-hotkeys.d.ts +2 -0
- package/lib/core/hooks/use-dialog-hotkeys.js +45 -0
- package/lib/core/hooks/use-element-size.d.ts +13 -0
- package/lib/core/hooks/use-element-size.js +75 -0
- package/lib/core/hooks/use-focus-trap.d.ts +2 -0
- package/lib/core/hooks/use-focus-trap.js +34 -0
- package/lib/core/hooks/use-full-height.d.ts +2 -0
- package/lib/core/hooks/use-full-height.js +47 -0
- package/lib/core/hooks/use-input-key-commands.d.ts +8 -0
- package/lib/core/hooks/use-input-key-commands.js +73 -0
- package/lib/core/hooks/use-is-truncated.d.ts +1 -0
- package/lib/core/hooks/use-is-truncated.js +19 -0
- package/lib/core/hooks/use-language-picker.d.ts +11 -0
- package/lib/core/hooks/use-language-picker.js +32 -0
- package/lib/core/hooks/use-local-state.d.ts +1 -0
- package/lib/core/hooks/use-local-state.js +37 -0
- package/lib/core/hooks/use-mcp-config.d.ts +11 -0
- package/lib/core/hooks/use-mcp-config.js +41 -0
- package/lib/core/hooks/use-mobile-menu.d.ts +5 -0
- package/lib/core/hooks/use-mobile-menu.js +24 -0
- package/lib/core/hooks/use-modal-scroll-lock.d.ts +1 -0
- package/lib/core/hooks/use-modal-scroll-lock.js +48 -0
- package/lib/core/hooks/use-mount.d.ts +1 -0
- package/lib/core/hooks/use-mount.js +12 -0
- package/lib/core/hooks/use-navbar-height.d.ts +3 -0
- package/lib/core/hooks/use-navbar-height.js +20 -0
- package/lib/core/hooks/use-outside-click.d.ts +4 -0
- package/lib/core/hooks/use-outside-click.js +25 -0
- package/lib/core/hooks/use-page-actions.d.ts +3 -0
- package/lib/core/hooks/use-page-actions.js +239 -0
- package/lib/core/hooks/use-page-versions.d.ts +7 -0
- package/lib/core/hooks/use-page-versions.js +15 -0
- package/lib/core/hooks/use-pointer-border-highlight.d.ts +7 -0
- package/lib/core/hooks/use-pointer-border-highlight.js +29 -0
- package/lib/core/hooks/use-product-picker.d.ts +5 -0
- package/lib/core/hooks/use-product-picker.js +46 -0
- package/lib/core/hooks/use-scroll-item-into-view.d.ts +2 -0
- package/lib/core/hooks/use-scroll-item-into-view.js +16 -0
- package/lib/core/hooks/use-store.d.ts +17 -0
- package/lib/core/hooks/use-store.js +64 -0
- package/lib/core/hooks/use-tab-list.d.ts +31 -0
- package/lib/core/hooks/use-tab-list.js +49 -0
- package/lib/core/hooks/use-tabs.d.ts +24 -0
- package/lib/core/hooks/use-tabs.js +264 -0
- package/lib/core/hooks/use-telemetry-fallback.d.ts +86 -0
- package/lib/core/hooks/use-telemetry-fallback.js +93 -0
- package/lib/core/hooks/use-theme-config.d.ts +2 -0
- package/lib/core/hooks/use-theme-config.js +23 -0
- package/lib/core/hooks/use-theme-hooks.d.ts +2 -0
- package/lib/core/hooks/use-theme-hooks.js +60 -0
- package/lib/core/hooks/use-time-ago.d.ts +3 -0
- package/lib/core/hooks/use-time-ago.js +39 -0
- package/lib/core/hooks/use-toast-logic.d.ts +18 -0
- package/lib/core/hooks/use-toast-logic.js +141 -0
- package/lib/core/hooks/use-toast.d.ts +11 -0
- package/lib/core/hooks/use-toast.js +17 -0
- package/lib/core/hooks/use-tooltip-fallback-placement.d.ts +15 -0
- package/lib/core/hooks/use-tooltip-fallback-placement.js +46 -0
- package/lib/core/hooks/use-unique-svg-ids.d.ts +6 -0
- package/lib/core/hooks/use-unique-svg-ids.js +15 -0
- package/lib/core/hooks/use-unmount.d.ts +1 -0
- package/lib/core/hooks/use-unmount.js +14 -0
- package/lib/core/hooks/use-user-teams.d.ts +1 -0
- package/lib/core/hooks/use-user-teams.js +10 -0
- package/lib/core/index.d.ts +7 -0
- package/lib/core/index.js +24 -0
- package/lib/core/openapi/index.d.ts +29 -0
- package/lib/core/openapi/index.js +62 -0
- package/lib/core/styles/dark.d.ts +1 -0
- package/lib/core/styles/dark.js +379 -0
- package/lib/core/styles/global.d.ts +8 -0
- package/lib/core/styles/global.js +1379 -0
- package/lib/core/styles/index.d.ts +4 -0
- package/lib/core/styles/index.js +24 -0
- package/lib/core/styles/palette.d.ts +7 -0
- package/lib/core/styles/palette.dark.d.ts +4 -0
- package/lib/core/styles/palette.dark.js +236 -0
- package/lib/core/styles/palette.js +251 -0
- package/lib/core/styles/search-ai-appear.d.ts +1 -0
- package/lib/core/styles/search-ai-appear.js +18 -0
- package/lib/core/styles/xyflow.d.ts +1 -0
- package/lib/core/styles/xyflow.js +623 -0
- package/lib/core/templates/Markdown.d.ts +21 -0
- package/lib/core/templates/Markdown.js +84 -0
- package/lib/core/types/breadcrumb.d.ts +1 -0
- package/lib/core/types/breadcrumb.js +3 -0
- package/lib/core/types/button-group.d.ts +2 -0
- package/lib/core/types/button-group.js +3 -0
- package/lib/core/types/catalog.d.ts +235 -0
- package/lib/core/types/catalog.js +3 -0
- package/lib/core/types/code-walkthrough.d.ts +97 -0
- package/lib/core/types/code-walkthrough.js +3 -0
- package/lib/core/types/common.d.ts +5 -0
- package/lib/core/types/common.js +3 -0
- package/lib/core/types/consent.d.ts +54 -0
- package/lib/core/types/consent.js +3 -0
- package/lib/core/types/dropdown.d.ts +1 -0
- package/lib/core/types/dropdown.js +3 -0
- package/lib/core/types/feedback.d.ts +19 -0
- package/lib/core/types/feedback.js +3 -0
- package/lib/core/types/filter.d.ts +10 -0
- package/lib/core/types/filter.js +3 -0
- package/lib/core/types/hooks.d.ts +192 -0
- package/lib/core/types/hooks.js +3 -0
- package/lib/core/types/index.d.ts +29 -0
- package/lib/core/types/index.js +18 -0
- package/lib/core/types/l10n.d.ts +10 -0
- package/lib/core/types/l10n.js +3 -0
- package/lib/core/types/link.d.ts +19 -0
- package/lib/core/types/link.js +3 -0
- package/lib/core/types/markdown.d.ts +5 -0
- package/lib/core/types/markdown.js +3 -0
- package/lib/core/types/marker.d.ts +4 -0
- package/lib/core/types/marker.js +3 -0
- package/lib/core/types/mcp.d.ts +7 -0
- package/lib/core/types/mcp.js +3 -0
- package/lib/core/types/navbar.d.ts +7 -0
- package/lib/core/types/navbar.js +3 -0
- package/lib/core/types/navigation-tabs.d.ts +49 -0
- package/lib/core/types/navigation-tabs.js +3 -0
- package/lib/core/types/open-api-info.d.ts +34 -0
- package/lib/core/types/open-api-info.js +3 -0
- package/lib/core/types/open-api-server.d.ts +10 -0
- package/lib/core/types/open-api-server.js +3 -0
- package/lib/core/types/page-actions.d.ts +15 -0
- package/lib/core/types/page-actions.js +3 -0
- package/lib/core/types/prompt.d.ts +9 -0
- package/lib/core/types/prompt.js +3 -0
- package/lib/core/types/search.d.ts +157 -0
- package/lib/core/types/search.js +21 -0
- package/lib/core/types/segmented.d.ts +12 -0
- package/lib/core/types/segmented.js +3 -0
- package/lib/core/types/select.d.ts +32 -0
- package/lib/core/types/select.js +3 -0
- package/lib/core/types/sidebar.d.ts +63 -0
- package/lib/core/types/sidebar.js +3 -0
- package/lib/core/types/toast.d.ts +23 -0
- package/lib/core/types/toast.js +3 -0
- package/lib/core/types/tooltip.d.ts +16 -0
- package/lib/core/types/tooltip.js +3 -0
- package/lib/core/types/user-claims.d.ts +6 -0
- package/lib/core/types/user-claims.js +3 -0
- package/lib/core/types/user-menu.d.ts +12 -0
- package/lib/core/types/user-menu.js +3 -0
- package/lib/core/utils/Dynamic.d.ts +16 -0
- package/lib/core/utils/Dynamic.js +90 -0
- package/lib/core/utils/GetFileIcon.d.ts +3 -0
- package/lib/core/utils/GetFileIcon.js +127 -0
- package/lib/core/utils/RenderWithLink.d.ts +2 -0
- package/lib/core/utils/RenderWithLink.js +20 -0
- package/lib/core/utils/add-line-numbers.d.ts +6 -0
- package/lib/core/utils/add-line-numbers.js +18 -0
- package/lib/core/utils/args-typecheck.d.ts +2 -0
- package/lib/core/utils/args-typecheck.js +11 -0
- package/lib/core/utils/assign-ref.d.ts +2 -0
- package/lib/core/utils/assign-ref.js +12 -0
- package/lib/core/utils/attribute-parser.d.ts +1 -0
- package/lib/core/utils/attribute-parser.js +13 -0
- package/lib/core/utils/build-revision-url.d.ts +1 -0
- package/lib/core/utils/build-revision-url.js +15 -0
- package/lib/core/utils/change-text-casing.d.ts +3 -0
- package/lib/core/utils/change-text-casing.js +21 -0
- package/lib/core/utils/class-names.d.ts +2 -0
- package/lib/core/utils/class-names.js +18 -0
- package/lib/core/utils/clipboard-service.d.ts +4 -0
- package/lib/core/utils/clipboard-service.js +35 -0
- package/lib/core/utils/color.d.ts +1 -0
- package/lib/core/utils/color.js +14 -0
- package/lib/core/utils/consent-settings-link-placement.d.ts +3 -0
- package/lib/core/utils/consent-settings-link-placement.js +15 -0
- package/lib/core/utils/content-segments.d.ts +13 -0
- package/lib/core/utils/content-segments.js +107 -0
- package/lib/core/utils/css-variables.d.ts +1 -0
- package/lib/core/utils/css-variables.js +6 -0
- package/lib/core/utils/custom-catalog-options-casing.d.ts +15 -0
- package/lib/core/utils/custom-catalog-options-casing.js +32 -0
- package/lib/core/utils/date.d.ts +14 -0
- package/lib/core/utils/date.js +39 -0
- package/lib/core/utils/details.d.ts +1 -0
- package/lib/core/utils/details.js +43 -0
- package/lib/core/utils/dom.d.ts +1 -0
- package/lib/core/utils/dom.js +5 -0
- package/lib/core/utils/download-code-walkthrough.d.ts +6 -0
- package/lib/core/utils/download-code-walkthrough.js +72 -0
- package/lib/core/utils/dropdown.d.ts +2 -0
- package/lib/core/utils/dropdown.js +12 -0
- package/lib/core/utils/enhanced-smoothstep.d.ts +5 -0
- package/lib/core/utils/enhanced-smoothstep.js +15 -0
- package/lib/core/utils/find-closest-common-directory.d.ts +6 -0
- package/lib/core/utils/find-closest-common-directory.js +51 -0
- package/lib/core/utils/format-date-without-timezone.d.ts +1 -0
- package/lib/core/utils/format-date-without-timezone.js +12 -0
- package/lib/core/utils/frontmatter-translate.d.ts +6 -0
- package/lib/core/utils/frontmatter-translate.js +14 -0
- package/lib/core/utils/get-ai-prompt-link.d.ts +15 -0
- package/lib/core/utils/get-ai-prompt-link.js +29 -0
- package/lib/core/utils/get-auto-dismiss-duration.d.ts +2 -0
- package/lib/core/utils/get-auto-dismiss-duration.js +15 -0
- package/lib/core/utils/get-code-walkthrough-file-text.d.ts +6 -0
- package/lib/core/utils/get-code-walkthrough-file-text.js +23 -0
- package/lib/core/utils/get-navbar-element.d.ts +1 -0
- package/lib/core/utils/get-navbar-element.js +14 -0
- package/lib/core/utils/get-operation-color.d.ts +7 -0
- package/lib/core/utils/get-operation-color.js +13 -0
- package/lib/core/utils/get-scorecard-color-variable.d.ts +1 -0
- package/lib/core/utils/get-scorecard-color-variable.js +15 -0
- package/lib/core/utils/get-user-agent.d.ts +4 -0
- package/lib/core/utils/get-user-agent.js +16 -0
- package/lib/core/utils/icon-resolver.d.ts +28 -0
- package/lib/core/utils/icon-resolver.js +52 -0
- package/lib/core/utils/index.d.ts +56 -0
- package/lib/core/utils/index.js +73 -0
- package/lib/core/utils/is-url.d.ts +12 -0
- package/lib/core/utils/is-url.js +36 -0
- package/lib/core/utils/js-utils.d.ts +56 -0
- package/lib/core/utils/js-utils.js +99 -0
- package/lib/core/utils/lang-to-name.d.ts +1 -0
- package/lib/core/utils/lang-to-name.js +37 -0
- package/lib/core/utils/load-and-navigate.d.ts +8 -0
- package/lib/core/utils/load-and-navigate.js +56 -0
- package/lib/core/utils/markdoc.d.ts +2 -0
- package/lib/core/utils/markdoc.js +8 -0
- package/lib/core/utils/match-code-walkthrough-conditions.d.ts +4 -0
- package/lib/core/utils/match-code-walkthrough-conditions.js +23 -0
- package/lib/core/utils/mcp.d.ts +7 -0
- package/lib/core/utils/mcp.js +63 -0
- package/lib/core/utils/media-css.d.ts +7 -0
- package/lib/core/utils/media-css.js +10 -0
- package/lib/core/utils/menu.d.ts +14 -0
- package/lib/core/utils/menu.js +131 -0
- package/lib/core/utils/navigation-tabs.d.ts +8 -0
- package/lib/core/utils/navigation-tabs.js +71 -0
- package/lib/core/utils/parse-style-string.d.ts +1 -0
- package/lib/core/utils/parse-style-string.js +24 -0
- package/lib/core/utils/replace-hash-in-color.d.ts +1 -0
- package/lib/core/utils/replace-hash-in-color.js +7 -0
- package/lib/core/utils/replace-inputs-with-value.d.ts +3 -0
- package/lib/core/utils/replace-inputs-with-value.js +15 -0
- package/lib/core/utils/search-ai-activity.d.ts +4 -0
- package/lib/core/utils/search-ai-activity.js +83 -0
- package/lib/core/utils/string.d.ts +1 -0
- package/lib/core/utils/string.js +7 -0
- package/lib/core/utils/tabs.d.ts +1 -0
- package/lib/core/utils/tabs.js +8 -0
- package/lib/core/utils/tags-parser.d.ts +1 -0
- package/lib/core/utils/tags-parser.js +10 -0
- package/lib/core/utils/telemetry/generate-before-after-context.d.ts +37 -0
- package/lib/core/utils/telemetry/generate-before-after-context.js +32 -0
- package/lib/core/utils/telemetry/generate-resource-urn.d.ts +7 -0
- package/lib/core/utils/telemetry/generate-resource-urn.js +13 -0
- package/lib/core/utils/telemetry/get-base-data-attributes.d.ts +14 -0
- package/lib/core/utils/telemetry/get-base-data-attributes.js +17 -0
- package/lib/core/utils/text-trimmer.d.ts +1 -0
- package/lib/core/utils/text-trimmer.js +15 -0
- package/lib/core/utils/theme-helpers.d.ts +4 -0
- package/lib/core/utils/theme-helpers.js +76 -0
- package/lib/core/utils/toc.d.ts +4 -0
- package/lib/core/utils/toc.js +40 -0
- package/lib/core/utils/tooltip-placement.d.ts +32 -0
- package/lib/core/utils/tooltip-placement.js +92 -0
- package/lib/core/utils/transform-revisions-to-version-history.d.ts +8 -0
- package/lib/core/utils/transform-revisions-to-version-history.js +61 -0
- package/lib/core/utils/type-guards.d.ts +11 -0
- package/lib/core/utils/type-guards.js +32 -0
- package/lib/core/utils/urls.d.ts +41 -0
- package/lib/core/utils/urls.js +119 -0
- package/lib/core/utils/with-load-progress.d.ts +4 -0
- package/lib/core/utils/with-load-progress.js +43 -0
- package/lib/ext/configure-helpers.d.ts +35 -0
- package/lib/ext/configure-helpers.js +3 -0
- package/lib/ext/configure.d.ts +19 -0
- package/lib/ext/configure.js +86 -0
- package/lib/ext/helpers/is-direct-configure-request-values.d.ts +15 -0
- package/lib/ext/helpers/is-direct-configure-request-values.js +42 -0
- package/lib/ext/use-configure-replay.d.ts +19 -0
- package/lib/ext/use-configure-replay.js +66 -0
- package/lib/icons/AddIcon/AddIcon.d.ts +25 -0
- package/lib/icons/AddIcon/AddIcon.js +22 -0
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.d.ts +11 -0
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.js +103 -0
- package/lib/icons/AiStarsIcon/AiStarsIcon.d.ts +11 -0
- package/lib/icons/AiStarsIcon/AiStarsIcon.js +63 -0
- package/lib/icons/AnthropicIcon/AnthropicIcon.d.ts +25 -0
- package/lib/icons/AnthropicIcon/AnthropicIcon.js +20 -0
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.d.ts +25 -0
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.js +22 -0
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.d.ts +25 -0
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.js +22 -0
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.d.ts +25 -0
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.js +22 -0
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.d.ts +25 -0
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.js +22 -0
- package/lib/icons/AscSortIcon/AscSortIcon.d.ts +25 -0
- package/lib/icons/AscSortIcon/AscSortIcon.js +25 -0
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.d.ts +25 -0
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.js +27 -0
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.d.ts +25 -0
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.js +22 -0
- package/lib/icons/BotIcon/BotIcon.d.ts +25 -0
- package/lib/icons/BotIcon/BotIcon.js +21 -0
- package/lib/icons/CDNIcon/CDNIcon.d.ts +45 -0
- package/lib/icons/CDNIcon/CDNIcon.js +48 -0
- package/lib/icons/CardsIcon/CardsIcon.d.ts +25 -0
- package/lib/icons/CardsIcon/CardsIcon.js +25 -0
- package/lib/icons/CaretDownIcon/CaretDownIcon.d.ts +25 -0
- package/lib/icons/CaretDownIcon/CaretDownIcon.js +22 -0
- package/lib/icons/CaretUpIcon/CaretUpIcon.d.ts +25 -0
- package/lib/icons/CaretUpIcon/CaretUpIcon.js +22 -0
- package/lib/icons/CertificateIcon/CertificateIcon.d.ts +25 -0
- package/lib/icons/CertificateIcon/CertificateIcon.js +26 -0
- package/lib/icons/CharacterIcon/CharacterIcon.d.ts +25 -0
- package/lib/icons/CharacterIcon/CharacterIcon.js +24 -0
- package/lib/icons/ChatGptIcon/ChatGptIcon.d.ts +25 -0
- package/lib/icons/ChatGptIcon/ChatGptIcon.js +22 -0
- package/lib/icons/ChatIcon/ChatIcon.d.ts +25 -0
- package/lib/icons/ChatIcon/ChatIcon.js +24 -0
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.d.ts +25 -0
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.js +22 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +40 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +24 -0
- package/lib/icons/CheckboxIcon/variables.d.ts +1 -0
- package/lib/icons/CheckboxIcon/variables.dark.d.ts +1 -0
- package/lib/icons/CheckboxIcon/variables.dark.js +11 -0
- package/lib/icons/CheckboxIcon/variables.js +22 -0
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.d.ts +25 -0
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.js +22 -0
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.d.ts +25 -0
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.js +22 -0
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.d.ts +25 -0
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.js +23 -0
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.d.ts +25 -0
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.js +23 -0
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.d.ts +25 -0
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.js +22 -0
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.d.ts +25 -0
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.js +22 -0
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.d.ts +35 -0
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.js +22 -0
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.d.ts +25 -0
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.js +23 -0
- package/lib/icons/CircleDashIcon/CircleDashIcon.d.ts +25 -0
- package/lib/icons/CircleDashIcon/CircleDashIcon.js +31 -0
- package/lib/icons/ClaudeIcon/ClaudeIcon.d.ts +25 -0
- package/lib/icons/ClaudeIcon/ClaudeIcon.js +22 -0
- package/lib/icons/CleanIcon/CleanIcon.d.ts +25 -0
- package/lib/icons/CleanIcon/CleanIcon.js +25 -0
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.d.ts +25 -0
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.js +21 -0
- package/lib/icons/CloseIcon/CloseIcon.d.ts +25 -0
- package/lib/icons/CloseIcon/CloseIcon.js +23 -0
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.d.ts +25 -0
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.js +24 -0
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.d.ts +25 -0
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.js +23 -0
- package/lib/icons/CodeIcon/CodeIcon.d.ts +25 -0
- package/lib/icons/CodeIcon/CodeIcon.js +24 -0
- package/lib/icons/CodexIcon/CodexIcon.d.ts +25 -0
- package/lib/icons/CodexIcon/CodexIcon.js +22 -0
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.d.ts +25 -0
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.js +27 -0
- package/lib/icons/ConnectIcon/ConnectIcon.d.ts +25 -0
- package/lib/icons/ConnectIcon/ConnectIcon.js +17 -0
- package/lib/icons/ContrastIcon/ContrastIcon.d.ts +25 -0
- package/lib/icons/ContrastIcon/ContrastIcon.js +22 -0
- package/lib/icons/CookieIcon/CookieIcon.d.ts +25 -0
- package/lib/icons/CookieIcon/CookieIcon.js +29 -0
- package/lib/icons/CopyIcon/CopyIcon.d.ts +25 -0
- package/lib/icons/CopyIcon/CopyIcon.js +22 -0
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.d.ts +25 -0
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.js +24 -0
- package/lib/icons/CubeIcon/CubeIcon.d.ts +25 -0
- package/lib/icons/CubeIcon/CubeIcon.js +17 -0
- package/lib/icons/CursorIcon/CursorIcon.d.ts +25 -0
- package/lib/icons/CursorIcon/CursorIcon.js +22 -0
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.d.ts +25 -0
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.js +22 -0
- package/lib/icons/DataFormatIcon/DataFormatIcon.d.ts +25 -0
- package/lib/icons/DataFormatIcon/DataFormatIcon.js +26 -0
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.d.ts +25 -0
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.js +24 -0
- package/lib/icons/DatabaseIcon/DatabaseIcon.d.ts +25 -0
- package/lib/icons/DatabaseIcon/DatabaseIcon.js +22 -0
- package/lib/icons/DescSortIcon/DescSortIcon.d.ts +25 -0
- package/lib/icons/DescSortIcon/DescSortIcon.js +25 -0
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +25 -0
- package/lib/icons/DeselectIcon/DeselectIcon.js +26 -0
- package/lib/icons/DirectionRightIcon/DirectionRightIcon.d.ts +25 -0
- package/lib/icons/DirectionRightIcon/DirectionRightIcon.js +24 -0
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.d.ts +25 -0
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.js +23 -0
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.d.ts +25 -0
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.js +22 -0
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.d.ts +25 -0
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.js +23 -0
- package/lib/icons/DocumentCssIcon/index.d.ts +1 -0
- package/lib/icons/DocumentCssIcon/index.js +6 -0
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.d.ts +25 -0
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.js +31 -0
- package/lib/icons/DocumentGraphqlIcon/index.d.ts +1 -0
- package/lib/icons/DocumentGraphqlIcon/index.js +6 -0
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.d.ts +25 -0
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.js +23 -0
- package/lib/icons/DocumentHtmlIcon/index.d.ts +1 -0
- package/lib/icons/DocumentHtmlIcon/index.js +6 -0
- package/lib/icons/DocumentIcon/DocumentIcon.d.ts +25 -0
- package/lib/icons/DocumentIcon/DocumentIcon.js +24 -0
- package/lib/icons/DocumentIcon/index.d.ts +1 -0
- package/lib/icons/DocumentIcon/index.js +6 -0
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.d.ts +25 -0
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.js +22 -0
- package/lib/icons/DocumentJavaIcon/index.d.ts +1 -0
- package/lib/icons/DocumentJavaIcon/index.js +6 -0
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.d.ts +25 -0
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.js +23 -0
- package/lib/icons/DocumentJsIcon/index.d.ts +1 -0
- package/lib/icons/DocumentJsIcon/index.js +6 -0
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.d.ts +25 -0
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.js +23 -0
- package/lib/icons/DocumentJsonIcon/index.d.ts +1 -0
- package/lib/icons/DocumentJsonIcon/index.js +6 -0
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.d.ts +25 -0
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.js +23 -0
- package/lib/icons/DocumentMarkdownIcon/index.d.ts +1 -0
- package/lib/icons/DocumentMarkdownIcon/index.js +6 -0
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.d.ts +25 -0
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.js +23 -0
- package/lib/icons/DocumentPythonIcon/index.d.ts +1 -0
- package/lib/icons/DocumentPythonIcon/index.js +6 -0
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.d.ts +25 -0
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.js +23 -0
- package/lib/icons/DocumentReactIcon/index.d.ts +1 -0
- package/lib/icons/DocumentReactIcon/index.js +6 -0
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.d.ts +25 -0
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.js +22 -0
- package/lib/icons/DocumentShellIcon/index.d.ts +1 -0
- package/lib/icons/DocumentShellIcon/index.js +6 -0
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.d.ts +25 -0
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.js +23 -0
- package/lib/icons/DocumentTsIcon/index.d.ts +1 -0
- package/lib/icons/DocumentTsIcon/index.js +6 -0
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.d.ts +25 -0
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.js +23 -0
- package/lib/icons/DocumentYamlIcon/index.d.ts +1 -0
- package/lib/icons/DocumentYamlIcon/index.js +6 -0
- package/lib/icons/DownloadIcon/DownloadIcon.d.ts +25 -0
- package/lib/icons/DownloadIcon/DownloadIcon.js +23 -0
- package/lib/icons/DraggableIcon/DraggableIcon.d.ts +25 -0
- package/lib/icons/DraggableIcon/DraggableIcon.js +27 -0
- package/lib/icons/EditIcon/EditIcon.d.ts +25 -0
- package/lib/icons/EditIcon/EditIcon.js +23 -0
- package/lib/icons/EmailIcon/EmailIcon.d.ts +25 -0
- package/lib/icons/EmailIcon/EmailIcon.js +22 -0
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.d.ts +25 -0
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.js +26 -0
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.d.ts +25 -0
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.js +22 -0
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +25 -0
- package/lib/icons/ErrorIcon/ErrorIcon.js +22 -0
- package/lib/icons/ExpandCollapseIcon/ExpandCollapseIcon.d.ts +29 -0
- package/lib/icons/ExpandCollapseIcon/ExpandCollapseIcon.js +81 -0
- package/lib/icons/ExportIcon/ExportIcon.d.ts +25 -0
- package/lib/icons/ExportIcon/ExportIcon.js +23 -0
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.d.ts +25 -0
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.js +25 -0
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.d.ts +25 -0
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.js +25 -0
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.d.ts +25 -0
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.js +25 -0
- package/lib/icons/FileIcon/FileIcon.d.ts +25 -0
- package/lib/icons/FileIcon/FileIcon.js +22 -0
- package/lib/icons/FileStorageIcon/FileStorageIcon.d.ts +25 -0
- package/lib/icons/FileStorageIcon/FileStorageIcon.js +24 -0
- package/lib/icons/FilterIcon/FilterIcon.d.ts +25 -0
- package/lib/icons/FilterIcon/FilterIcon.js +22 -0
- package/lib/icons/FitToViewIcon/FitToViewIcon.d.ts +25 -0
- package/lib/icons/FitToViewIcon/FitToViewIcon.js +25 -0
- package/lib/icons/FlowIcon/FlowIcon.d.ts +25 -0
- package/lib/icons/FlowIcon/FlowIcon.js +22 -0
- package/lib/icons/FolderAddIcon/FolderAddIcon.d.ts +25 -0
- package/lib/icons/FolderAddIcon/FolderAddIcon.js +23 -0
- package/lib/icons/FolderIcon/FolderIcon.d.ts +25 -0
- package/lib/icons/FolderIcon/FolderIcon.js +22 -0
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.d.ts +25 -0
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.js +23 -0
- package/lib/icons/GeminiIcon/GeminiIcon.d.ts +25 -0
- package/lib/icons/GeminiIcon/GeminiIcon.js +95 -0
- package/lib/icons/GenericIcon/GenericIcon.d.ts +11 -0
- package/lib/icons/GenericIcon/GenericIcon.js +76 -0
- package/lib/icons/GithubIcon/GithubIcon.d.ts +25 -0
- package/lib/icons/GithubIcon/GithubIcon.js +22 -0
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.d.ts +25 -0
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.js +22 -0
- package/lib/icons/GraphIcon/GraphIcon.d.ts +25 -0
- package/lib/icons/GraphIcon/GraphIcon.js +22 -0
- package/lib/icons/GraphqlIcon/GraphqlIcon.d.ts +25 -0
- package/lib/icons/GraphqlIcon/GraphqlIcon.js +36 -0
- package/lib/icons/GraphqlIcon/index.d.ts +1 -0
- package/lib/icons/GraphqlIcon/index.js +6 -0
- package/lib/icons/GridIcon/GridIcon.d.ts +25 -0
- package/lib/icons/GridIcon/GridIcon.js +25 -0
- package/lib/icons/HashtagIcon/HashtagIcon.d.ts +25 -0
- package/lib/icons/HashtagIcon/HashtagIcon.js +22 -0
- package/lib/icons/HexagonIcon/HexagonIcon.d.ts +25 -0
- package/lib/icons/HexagonIcon/HexagonIcon.js +22 -0
- package/lib/icons/HierarchyIcon/HierarchyIcon.d.ts +25 -0
- package/lib/icons/HierarchyIcon/HierarchyIcon.js +23 -0
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.d.ts +25 -0
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.js +23 -0
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.d.ts +25 -0
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.js +24 -0
- package/lib/icons/IdeaIcon/IdeaIcon.d.ts +25 -0
- package/lib/icons/IdeaIcon/IdeaIcon.js +24 -0
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.d.ts +25 -0
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.js +22 -0
- package/lib/icons/InformationIcon/InformationIcon.d.ts +25 -0
- package/lib/icons/InformationIcon/InformationIcon.js +24 -0
- package/lib/icons/JsonIcon/JsonIcon.d.ts +25 -0
- package/lib/icons/JsonIcon/JsonIcon.js +25 -0
- package/lib/icons/KafkaIcon/KafkaIcon.d.ts +25 -0
- package/lib/icons/KafkaIcon/KafkaIcon.js +26 -0
- package/lib/icons/LaunchIcon/LaunchIcon.d.ts +25 -0
- package/lib/icons/LaunchIcon/LaunchIcon.js +23 -0
- package/lib/icons/LinkIcon/LinkIcon.d.ts +25 -0
- package/lib/icons/LinkIcon/LinkIcon.js +23 -0
- package/lib/icons/LinkIcon/LinkIconSymbol.d.ts +12 -0
- package/lib/icons/LinkIcon/LinkIconSymbol.js +41 -0
- package/lib/icons/LogoutIcon/LogoutIcon.d.ts +25 -0
- package/lib/icons/LogoutIcon/LogoutIcon.js +23 -0
- package/lib/icons/MagicWandIcon/MagicWandIcon.d.ts +25 -0
- package/lib/icons/MagicWandIcon/MagicWandIcon.js +25 -0
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.d.ts +25 -0
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.js +23 -0
- package/lib/icons/MaximizeIcon/MaximizeIcon.d.ts +25 -0
- package/lib/icons/MaximizeIcon/MaximizeIcon.js +23 -0
- package/lib/icons/MenuIcon/MenuIcon.d.ts +25 -0
- package/lib/icons/MenuIcon/MenuIcon.js +22 -0
- package/lib/icons/MinimizeIcon/MinimizeIcon.d.ts +25 -0
- package/lib/icons/MinimizeIcon/MinimizeIcon.js +23 -0
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.d.ts +26 -0
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.js +27 -0
- package/lib/icons/MoleculesIcon/MoleculesIcon.d.ts +25 -0
- package/lib/icons/MoleculesIcon/MoleculesIcon.js +22 -0
- package/lib/icons/MoonIcon/MoonIcon.d.ts +25 -0
- package/lib/icons/MoonIcon/MoonIcon.js +22 -0
- package/lib/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.d.ts +25 -0
- package/lib/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.js +26 -0
- package/lib/icons/NetworkIcon/NetworkIcon.d.ts +25 -0
- package/lib/icons/NetworkIcon/NetworkIcon.js +23 -0
- package/lib/icons/NewChatIcon/NewChatIcon.d.ts +25 -0
- package/lib/icons/NewChatIcon/NewChatIcon.js +25 -0
- package/lib/icons/NoneIcon/NoneIcon.d.ts +25 -0
- package/lib/icons/NoneIcon/NoneIcon.js +17 -0
- package/lib/icons/NoteIcon/NoteIcon.d.ts +25 -0
- package/lib/icons/NoteIcon/NoteIcon.js +24 -0
- package/lib/icons/NotesIcon/NotesIcon.d.ts +25 -0
- package/lib/icons/NotesIcon/NotesIcon.js +26 -0
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.d.ts +25 -0
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.js +24 -0
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.d.ts +25 -0
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.js +24 -0
- package/lib/icons/PeopleIcon/PeopleIcon.d.ts +25 -0
- package/lib/icons/PeopleIcon/PeopleIcon.js +27 -0
- package/lib/icons/PlayIcon/PlayIcon.d.ts +25 -0
- package/lib/icons/PlayIcon/PlayIcon.js +21 -0
- package/lib/icons/PlaylistIcon/PlaylistIcon.d.ts +25 -0
- package/lib/icons/PlaylistIcon/PlaylistIcon.js +24 -0
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.d.ts +25 -0
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.js +23 -0
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.d.ts +25 -0
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.js +26 -0
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.d.ts +25 -0
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.js +16 -0
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.d.ts +25 -0
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.js +23 -0
- package/lib/icons/RedoclyIcon/RedoclyIcon.d.ts +25 -0
- package/lib/icons/RedoclyIcon/RedoclyIcon.js +24 -0
- package/lib/icons/RenewIcon/RenewIcon.d.ts +25 -0
- package/lib/icons/RenewIcon/RenewIcon.js +23 -0
- package/lib/icons/ResetIcon/ResetIcon.d.ts +25 -0
- package/lib/icons/ResetIcon/ResetIcon.js +22 -0
- package/lib/icons/RestartIcon/RestartIcon.d.ts +25 -0
- package/lib/icons/RestartIcon/RestartIcon.js +22 -0
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.d.ts +33 -0
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.js +18 -0
- package/lib/icons/RocketIcon/RocketIcon.d.ts +25 -0
- package/lib/icons/RocketIcon/RocketIcon.js +23 -0
- package/lib/icons/SaveIcon/SaveIcon.d.ts +25 -0
- package/lib/icons/SaveIcon/SaveIcon.js +22 -0
- package/lib/icons/SearchIcon/SearchIcon.d.ts +25 -0
- package/lib/icons/SearchIcon/SearchIcon.js +22 -0
- package/lib/icons/SecurityIcon/SecurityIcon.d.ts +25 -0
- package/lib/icons/SecurityIcon/SecurityIcon.js +23 -0
- package/lib/icons/SelectIcon/SelectIcon.d.ts +25 -0
- package/lib/icons/SelectIcon/SelectIcon.js +26 -0
- package/lib/icons/SendIcon/SendIcon.d.ts +25 -0
- package/lib/icons/SendIcon/SendIcon.js +22 -0
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.d.ts +25 -0
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.js +25 -0
- package/lib/icons/SettingsIcon/SettingsIcon.d.ts +35 -0
- package/lib/icons/SettingsIcon/SettingsIcon.js +39 -0
- package/lib/icons/ShareIcon/ShareIcon.d.ts +25 -0
- package/lib/icons/ShareIcon/ShareIcon.js +22 -0
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.d.ts +25 -0
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.js +22 -0
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.d.ts +25 -0
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.js +22 -0
- package/lib/icons/SlackIcon/SlackIcon.d.ts +25 -0
- package/lib/icons/SlackIcon/SlackIcon.js +29 -0
- package/lib/icons/SortIcon/SortIcon.d.ts +25 -0
- package/lib/icons/SortIcon/SortIcon.js +25 -0
- package/lib/icons/Spinner/Spinner.d.ts +93 -0
- package/lib/icons/Spinner/Spinner.js +51 -0
- package/lib/icons/SpinnerIcon/SpinnerIcon.d.ts +25 -0
- package/lib/icons/SpinnerIcon/SpinnerIcon.js +34 -0
- package/lib/icons/StarFilledIcon/StarFilledIcon.d.ts +25 -0
- package/lib/icons/StarFilledIcon/StarFilledIcon.js +22 -0
- package/lib/icons/StarIcon/StarIcon.d.ts +25 -0
- package/lib/icons/StarIcon/StarIcon.js +22 -0
- package/lib/icons/StopIcon/StopIcon.d.ts +25 -0
- package/lib/icons/StopIcon/StopIcon.js +22 -0
- package/lib/icons/SubtractIcon/SubtractIcon.d.ts +25 -0
- package/lib/icons/SubtractIcon/SubtractIcon.js +22 -0
- package/lib/icons/SunIcon/SunIcon.d.ts +25 -0
- package/lib/icons/SunIcon/SunIcon.js +30 -0
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.d.ts +25 -0
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.js +22 -0
- package/lib/icons/TableIcon/TableIcon.d.ts +25 -0
- package/lib/icons/TableIcon/TableIcon.js +22 -0
- package/lib/icons/TagsIcon/TagsIcon.d.ts +25 -0
- package/lib/icons/TagsIcon/TagsIcon.js +24 -0
- package/lib/icons/TaskViewIcon/TaskViewIcon.d.ts +25 -0
- package/lib/icons/TaskViewIcon/TaskViewIcon.js +24 -0
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.d.ts +25 -0
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.js +34 -0
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.d.ts +25 -0
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.js +14 -0
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.d.ts +25 -0
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.js +34 -0
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.d.ts +25 -0
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.js +14 -0
- package/lib/icons/TimeIcon/TimeIcon.d.ts +25 -0
- package/lib/icons/TimeIcon/TimeIcon.js +23 -0
- package/lib/icons/TrashCanIcon/TrashCanIcon.d.ts +25 -0
- package/lib/icons/TrashCanIcon/TrashCanIcon.js +26 -0
- package/lib/icons/UserIcon/UserIcon.d.ts +25 -0
- package/lib/icons/UserIcon/UserIcon.js +23 -0
- package/lib/icons/VSCodeIcon/VSCodeIcon.d.ts +25 -0
- package/lib/icons/VSCodeIcon/VSCodeIcon.js +17 -0
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.d.ts +25 -0
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.js +23 -0
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.d.ts +25 -0
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.js +23 -0
- package/lib/icons/ViewIcon/ViewIcon.d.ts +25 -0
- package/lib/icons/ViewIcon/ViewIcon.js +23 -0
- package/lib/icons/ViewOffIcon/ViewOffIcon.d.ts +25 -0
- package/lib/icons/ViewOffIcon/ViewOffIcon.js +24 -0
- package/lib/icons/WarningAltFilled/WarningAltFilled.d.ts +25 -0
- package/lib/icons/WarningAltFilled/WarningAltFilled.js +23 -0
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.d.ts +25 -0
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.js +23 -0
- package/lib/icons/WarningAltIcon/WarningAltIcon.d.ts +25 -0
- package/lib/icons/WarningAltIcon/WarningAltIcon.js +24 -0
- package/lib/icons/WarningCycleIcon/WarningCycleIcon.d.ts +25 -0
- package/lib/icons/WarningCycleIcon/WarningCycleIcon.js +24 -0
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.d.ts +25 -0
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.js +22 -0
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.d.ts +25 -0
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.js +24 -0
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.d.ts +25 -0
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.js +24 -0
- package/lib/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.d.ts +25 -0
- package/lib/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.js +23 -0
- package/lib/icons/__tests__/IconTestUtils.d.ts +6 -0
- package/lib/icons/__tests__/IconTestUtils.js +49 -0
- package/lib/icons/types.d.ts +13 -0
- package/lib/icons/types.js +3 -0
- package/lib/index.d.ts +303 -0
- package/lib/layouts/CodeWalkthroughLayout.d.ts +6 -0
- package/lib/layouts/CodeWalkthroughLayout.js +77 -0
- package/lib/layouts/DocumentationLayout.d.ts +18 -0
- package/lib/layouts/DocumentationLayout.js +95 -0
- package/lib/layouts/DocumentationLayoutBottom.d.ts +11 -0
- package/lib/layouts/DocumentationLayoutBottom.js +28 -0
- package/lib/layouts/DocumentationLayoutTop.d.ts +13 -0
- package/lib/layouts/DocumentationLayoutTop.js +33 -0
- package/lib/layouts/Forbidden.d.ts +2 -0
- package/lib/layouts/Forbidden.js +49 -0
- package/lib/layouts/InternalServerErrorLayout.d.ts +2 -0
- package/lib/layouts/InternalServerErrorLayout.js +49 -0
- package/lib/layouts/McpNotAllowed.d.ts +2 -0
- package/lib/layouts/McpNotAllowed.js +67 -0
- package/lib/layouts/NotFound.d.ts +2 -0
- package/lib/layouts/NotFound.js +49 -0
- package/lib/layouts/OIDCForbidden.d.ts +2 -0
- package/lib/layouts/OIDCForbidden.js +102 -0
- package/lib/layouts/PageLayout.d.ts +7 -0
- package/lib/layouts/PageLayout.js +36 -0
- package/lib/layouts/RootLayout.d.ts +6 -0
- package/lib/layouts/RootLayout.js +23 -0
- package/lib/layouts/ThreePanelLayout.d.ts +35 -0
- package/lib/layouts/ThreePanelLayout.js +93 -0
- package/lib/markdoc/attributes/code-snippet-file.d.ts +5 -0
- package/lib/markdoc/attributes/code-snippet-file.js +16 -0
- package/lib/markdoc/attributes/code-walkthrough-filesets.d.ts +5 -0
- package/lib/markdoc/attributes/code-walkthrough-filesets.js +16 -0
- package/lib/markdoc/attributes/code-walkthrough-filters.d.ts +5 -0
- package/lib/markdoc/attributes/code-walkthrough-filters.js +16 -0
- package/lib/markdoc/attributes/diagram-file.d.ts +5 -0
- package/lib/markdoc/attributes/diagram-file.js +16 -0
- package/lib/markdoc/attributes/img-src.d.ts +5 -0
- package/lib/markdoc/attributes/img-src.js +16 -0
- package/lib/markdoc/attributes/img-srcset.d.ts +5 -0
- package/lib/markdoc/attributes/img-srcset.js +16 -0
- package/lib/markdoc/attributes/relative-path.d.ts +5 -0
- package/lib/markdoc/attributes/relative-path.js +16 -0
- package/lib/markdoc/attributes/svg-content.d.ts +5 -0
- package/lib/markdoc/attributes/svg-content.js +16 -0
- package/lib/markdoc/components/Accordion/Accordion.d.ts +9 -0
- package/lib/markdoc/components/Accordion/Accordion.js +132 -0
- package/lib/markdoc/components/Accordion/AccordionGroup.d.ts +6 -0
- package/lib/markdoc/components/Accordion/AccordionGroup.js +65 -0
- package/lib/markdoc/components/Accordion/variables.d.ts +1 -0
- package/lib/markdoc/components/Accordion/variables.js +40 -0
- package/lib/markdoc/components/Admonition/Admonition.d.ts +3 -0
- package/lib/markdoc/components/Admonition/Admonition.js +12 -0
- package/lib/markdoc/components/Cards/Card.d.ts +23 -0
- package/lib/markdoc/components/Cards/Card.js +186 -0
- package/lib/markdoc/components/Cards/CardBadge.d.ts +9 -0
- package/lib/markdoc/components/Cards/CardBadge.js +30 -0
- package/lib/markdoc/components/Cards/CardIcon.d.ts +16 -0
- package/lib/markdoc/components/Cards/CardIcon.js +37 -0
- package/lib/markdoc/components/Cards/CardImage.d.ts +7 -0
- package/lib/markdoc/components/Cards/CardImage.js +21 -0
- package/lib/markdoc/components/Cards/Cards.d.ts +8 -0
- package/lib/markdoc/components/Cards/Cards.js +59 -0
- package/lib/markdoc/components/Cards/variables.d.ts +1 -0
- package/lib/markdoc/components/Cards/variables.dark.d.ts +1 -0
- package/lib/markdoc/components/Cards/variables.dark.js +60 -0
- package/lib/markdoc/components/Cards/variables.js +163 -0
- package/lib/markdoc/components/CodeBlock/CodeBlock.d.ts +3 -0
- package/lib/markdoc/components/CodeBlock/CodeBlock.js +12 -0
- package/lib/markdoc/components/CodeGroup/CodeGroup.d.ts +4 -0
- package/lib/markdoc/components/CodeGroup/CodeGroup.js +104 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeContainer.d.ts +6 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeContainer.js +112 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeFilters.d.ts +13 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeFilters.js +68 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanel.d.ts +9 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanel.js +76 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelHeader.d.ts +9 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelHeader.js +177 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelPreview.d.ts +2 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelPreview.js +83 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelToolbar.d.ts +6 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelToolbar.js +57 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeStep.d.ts +16 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeStep.js +153 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeToggle.d.ts +9 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeToggle.js +79 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeWalkthrough.d.ts +4 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeWalkthrough.js +137 -0
- package/lib/markdoc/components/CodeWalkthrough/Input.d.ts +8 -0
- package/lib/markdoc/components/CodeWalkthrough/Input.js +111 -0
- package/lib/markdoc/components/CodeWalkthrough/variables.d.ts +1 -0
- package/lib/markdoc/components/CodeWalkthrough/variables.js +20 -0
- package/lib/markdoc/components/ConnectMCP/ConnectMCP.d.ts +8 -0
- package/lib/markdoc/components/ConnectMCP/ConnectMCP.js +19 -0
- package/lib/markdoc/components/Diagram/Diagram.d.ts +15 -0
- package/lib/markdoc/components/Diagram/Diagram.js +134 -0
- package/lib/markdoc/components/Diagram/variables.d.ts +1 -0
- package/lib/markdoc/components/Diagram/variables.js +15 -0
- package/lib/markdoc/components/Heading/Heading.d.ts +9 -0
- package/lib/markdoc/components/Heading/Heading.js +110 -0
- package/lib/markdoc/components/HtmlBlock/HtmlBlock.d.ts +4 -0
- package/lib/markdoc/components/HtmlBlock/HtmlBlock.js +41 -0
- package/lib/markdoc/components/Icon/Icon.d.ts +3 -0
- package/lib/markdoc/components/Icon/Icon.js +29 -0
- package/lib/markdoc/components/Image/Image.d.ts +7 -0
- package/lib/markdoc/components/Image/Image.js +45 -0
- package/lib/markdoc/components/InlineSvg/InlineSvg.d.ts +5 -0
- package/lib/markdoc/components/InlineSvg/InlineSvg.js +41 -0
- package/lib/markdoc/components/LoginButton/LoginButton.d.ts +9 -0
- package/lib/markdoc/components/LoginButton/LoginButton.js +48 -0
- package/lib/markdoc/components/MarkdocExample/MarkdocExample.d.ts +12 -0
- package/lib/markdoc/components/MarkdocExample/MarkdocExample.js +56 -0
- package/lib/markdoc/components/MarkdownLink/MarkdownLink.d.ts +7 -0
- package/lib/markdoc/components/MarkdownLink/MarkdownLink.js +61 -0
- package/lib/markdoc/components/NumberedList/NumberedItem.d.ts +25 -0
- package/lib/markdoc/components/NumberedList/NumberedItem.js +217 -0
- package/lib/markdoc/components/NumberedList/NumberedList.d.ts +5 -0
- package/lib/markdoc/components/NumberedList/NumberedList.js +28 -0
- package/lib/markdoc/components/NumberedList/variables.d.ts +1 -0
- package/lib/markdoc/components/NumberedList/variables.js +42 -0
- package/lib/markdoc/components/Prompt/Prompt.d.ts +15 -0
- package/lib/markdoc/components/Prompt/Prompt.js +163 -0
- package/lib/markdoc/components/Prompt/PromptActions.d.ts +13 -0
- package/lib/markdoc/components/Prompt/PromptActions.js +43 -0
- package/lib/markdoc/components/Prompt/PromptBody.d.ts +14 -0
- package/lib/markdoc/components/Prompt/PromptBody.js +99 -0
- package/lib/markdoc/components/Prompt/PromptCopyButton.d.ts +10 -0
- package/lib/markdoc/components/Prompt/PromptCopyButton.js +28 -0
- package/lib/markdoc/components/Prompt/PromptHeader.d.ts +9 -0
- package/lib/markdoc/components/Prompt/PromptHeader.js +57 -0
- package/lib/markdoc/components/Prompt/PromptShowHideButton.d.ts +7 -0
- package/lib/markdoc/components/Prompt/PromptShowHideButton.js +21 -0
- package/lib/markdoc/components/Prompt/PromptToggleLabel.d.ts +7 -0
- package/lib/markdoc/components/Prompt/PromptToggleLabel.js +28 -0
- package/lib/markdoc/components/Prompt/variables.d.ts +1 -0
- package/lib/markdoc/components/Prompt/variables.dark.d.ts +1 -0
- package/lib/markdoc/components/Prompt/variables.dark.js +8 -0
- package/lib/markdoc/components/Prompt/variables.js +44 -0
- package/lib/markdoc/components/Tabs/Tab.d.ts +16 -0
- package/lib/markdoc/components/Tabs/Tab.js +27 -0
- package/lib/markdoc/components/Tabs/TabItemFragment.d.ts +9 -0
- package/lib/markdoc/components/Tabs/TabItemFragment.js +11 -0
- package/lib/markdoc/components/Tabs/TabList.d.ts +33 -0
- package/lib/markdoc/components/Tabs/TabList.js +439 -0
- package/lib/markdoc/components/Tabs/Tabs.d.ts +18 -0
- package/lib/markdoc/components/Tabs/Tabs.js +159 -0
- package/lib/markdoc/components/Tabs/variables.d.ts +1 -0
- package/lib/markdoc/components/Tabs/variables.js +105 -0
- package/lib/markdoc/components/default.d.ts +31 -0
- package/lib/markdoc/components/default.js +48 -0
- package/lib/markdoc/default.d.ts +61 -0
- package/lib/markdoc/default.js +104 -0
- package/lib/markdoc/tags/accordion-group.d.ts +2 -0
- package/lib/markdoc/tags/accordion-group.js +13 -0
- package/lib/markdoc/tags/accordion.d.ts +2 -0
- package/lib/markdoc/tags/accordion.js +14 -0
- package/lib/markdoc/tags/admonition.d.ts +2 -0
- package/lib/markdoc/tags/admonition.js +19 -0
- package/lib/markdoc/tags/card.d.ts +2 -0
- package/lib/markdoc/tags/card.js +74 -0
- package/lib/markdoc/tags/cards.d.ts +2 -0
- package/lib/markdoc/tags/cards.js +20 -0
- package/lib/markdoc/tags/code-group.d.ts +2 -0
- package/lib/markdoc/tags/code-group.js +23 -0
- package/lib/markdoc/tags/code-snippet.d.ts +2 -0
- package/lib/markdoc/tags/code-snippet.js +60 -0
- package/lib/markdoc/tags/code-step.d.ts +2 -0
- package/lib/markdoc/tags/code-step.js +25 -0
- package/lib/markdoc/tags/code-toggle.d.ts +2 -0
- package/lib/markdoc/tags/code-toggle.js +40 -0
- package/lib/markdoc/tags/code-walkthrough.d.ts +8 -0
- package/lib/markdoc/tags/code-walkthrough.js +245 -0
- package/lib/markdoc/tags/connect-mcp.d.ts +2 -0
- package/lib/markdoc/tags/connect-mcp.js +43 -0
- package/lib/markdoc/tags/debug.d.ts +2 -0
- package/lib/markdoc/tags/debug.js +20 -0
- package/lib/markdoc/tags/diagram.d.ts +2 -0
- package/lib/markdoc/tags/diagram.js +63 -0
- package/lib/markdoc/tags/html.d.ts +2 -0
- package/lib/markdoc/tags/html.js +26 -0
- package/lib/markdoc/tags/icon.d.ts +2 -0
- package/lib/markdoc/tags/icon.js +16 -0
- package/lib/markdoc/tags/img.d.ts +2 -0
- package/lib/markdoc/tags/img.js +90 -0
- package/lib/markdoc/tags/inline-svg.d.ts +2 -0
- package/lib/markdoc/tags/inline-svg.js +16 -0
- package/lib/markdoc/tags/input.d.ts +2 -0
- package/lib/markdoc/tags/input.js +37 -0
- package/lib/markdoc/tags/login-button.d.ts +2 -0
- package/lib/markdoc/tags/login-button.js +32 -0
- package/lib/markdoc/tags/markdoc-example.d.ts +2 -0
- package/lib/markdoc/tags/markdoc-example.js +68 -0
- package/lib/markdoc/tags/numbered-item.d.ts +2 -0
- package/lib/markdoc/tags/numbered-item.js +35 -0
- package/lib/markdoc/tags/numbered-list.d.ts +2 -0
- package/lib/markdoc/tags/numbered-list.js +28 -0
- package/lib/markdoc/tags/partial.d.ts +2 -0
- package/lib/markdoc/tags/partial.js +36 -0
- package/lib/markdoc/tags/prompt.d.ts +2 -0
- package/lib/markdoc/tags/prompt.js +56 -0
- package/lib/markdoc/tags/tab.d.ts +2 -0
- package/lib/markdoc/tags/tab.js +15 -0
- package/lib/markdoc/tags/tabs.d.ts +2 -0
- package/lib/markdoc/tags/tabs.js +35 -0
- package/lib/markdoc/tags/types.d.ts +22 -0
- package/lib/markdoc/tags/types.js +3 -0
- package/lib/plugin.d.ts +4 -0
- package/lib/plugin.js +5 -0
- package/package.json +2 -2
- package/src/components/Accordion/Accordion.tsx +104 -0
- package/src/components/Accordion/AccordionBody.tsx +65 -0
- package/src/components/Accordion/AccordionHeader.tsx +68 -0
- package/src/components/Accordion/AccordionTitle.tsx +26 -0
- package/src/components/Accordion/variables.ts +56 -0
- package/src/components/Admonition/Admonition.tsx +127 -0
- package/src/components/Admonition/variables.dark.ts +18 -0
- package/src/components/Admonition/variables.ts +106 -0
- package/src/components/ApiOnboarding/AppCustomAttributes.tsx +9 -0
- package/src/components/Badge/Badge.tsx +71 -0
- package/src/components/Banner/Banner.tsx +240 -0
- package/src/components/Banner/variables.dark.ts +12 -0
- package/src/components/Banner/variables.ts +53 -0
- package/src/components/Breadcrumbs/Breadcrumb.tsx +102 -0
- package/src/components/Breadcrumbs/BreadcrumbDropdown.tsx +187 -0
- package/src/components/Breadcrumbs/BreadcrumbIcon.tsx +30 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +159 -0
- package/src/components/Breadcrumbs/variables.ts +29 -0
- package/src/components/Button/Button.tsx +244 -0
- package/src/components/Button/ButtonGroup.tsx +71 -0
- package/src/components/Button/ShowMoreToggleButton.tsx +33 -0
- package/src/components/Button/variables.dark.ts +27 -0
- package/src/components/Button/variables.ts +277 -0
- package/src/components/Buttons/AIAssistantButton.tsx +150 -0
- package/src/components/Buttons/ConnectMCPButton.tsx +175 -0
- package/src/components/Buttons/CopyButton.tsx +112 -0
- package/src/components/Buttons/DownloadButton.tsx +49 -0
- package/src/components/Buttons/EditPageButton.tsx +41 -0
- package/src/components/Buttons/EmailButton.tsx +40 -0
- package/src/components/Buttons/NewTabButton.tsx +44 -0
- package/src/components/Buttons/variables.dark.ts +7 -0
- package/src/components/Buttons/variables.ts +56 -0
- package/src/components/Catalog/Catalog.tsx +305 -0
- package/src/components/Catalog/CatalogActionsRow.tsx +79 -0
- package/src/components/Catalog/CatalogAvatar.tsx +64 -0
- package/src/components/Catalog/CatalogCardView/CatalogCard.tsx +260 -0
- package/src/components/Catalog/CatalogCardView/CatalogCardView.tsx +38 -0
- package/src/components/Catalog/CatalogEntities.tsx +126 -0
- package/src/components/Catalog/CatalogEntitiesEmptyState.tsx +96 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntity.tsx +207 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsEdge.tsx +63 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.lazy.tsx +9 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.tsx +102 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.tsx +31 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.tsx +45 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.tsx +82 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.tsx +31 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.tsx +197 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.tsx +237 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.tsx +109 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.tsx +260 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityInfoBar.tsx +78 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityLinks.tsx +67 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityMetadata.tsx +110 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.tsx +68 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.tsx +94 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.tsx +75 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.tsx +48 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.tsx +51 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.tsx +46 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.tsx +43 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.tsx +46 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.tsx +58 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.tsx +46 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.tsx +36 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.tsx +128 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.tsx +123 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.tsx +135 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.tsx +116 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.tsx +85 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.tsx +148 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntitySchema.tsx +126 -0
- package/src/components/Catalog/CatalogEntity/ShowMoreButton.tsx +47 -0
- package/src/components/Catalog/CatalogEntityIcon.tsx +87 -0
- package/src/components/Catalog/CatalogEntityTypeIcon.tsx +67 -0
- package/src/components/Catalog/CatalogEntityTypeTag.tsx +58 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilter.tsx +61 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.tsx +190 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilterContent.tsx +132 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilterDateRange.tsx +148 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilterSelect.tsx +137 -0
- package/src/components/Catalog/CatalogHighlight.tsx +57 -0
- package/src/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.tsx +32 -0
- package/src/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.tsx +35 -0
- package/src/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.tsx +41 -0
- package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.tsx +55 -0
- package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.tsx +34 -0
- package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.tsx +40 -0
- package/src/components/Catalog/CatalogPageDescription.tsx +67 -0
- package/src/components/Catalog/CatalogSelector.tsx +68 -0
- package/src/components/Catalog/CatalogSortButton.tsx +80 -0
- package/src/components/Catalog/CatalogTableView/CatalogDomainsCell.tsx +31 -0
- package/src/components/Catalog/CatalogTableView/CatalogEntityCell.tsx +64 -0
- package/src/components/Catalog/CatalogTableView/CatalogEntityRelationCell.tsx +19 -0
- package/src/components/Catalog/CatalogTableView/CatalogLastUpdateCell.tsx +54 -0
- package/src/components/Catalog/CatalogTableView/CatalogOwnersCell.tsx +30 -0
- package/src/components/Catalog/CatalogTableView/CatalogTableHeaderCell.tsx +115 -0
- package/src/components/Catalog/CatalogTableView/CatalogTableView.tsx +195 -0
- package/src/components/Catalog/CatalogTableView/CatalogTableViewRow.tsx +163 -0
- package/src/components/Catalog/CatalogTableView/CatalogTagsCell.tsx +30 -0
- package/src/components/Catalog/CatalogTableView/CatalogUserEntityCell.tsx +58 -0
- package/src/components/Catalog/CatalogTags.tsx +118 -0
- package/src/components/Catalog/CatalogViewModeToggle.tsx +50 -0
- package/src/components/Catalog/variables.dark.ts +5 -0
- package/src/components/Catalog/variables.ts +585 -0
- package/src/components/CatalogClassic/CatalogClassic.tsx +183 -0
- package/src/components/CatalogClassic/CatalogClassicActions.tsx +70 -0
- package/src/components/CatalogClassic/CatalogClassicCard.tsx +176 -0
- package/src/components/CatalogClassic/CatalogClassicHighlight.tsx +58 -0
- package/src/components/CatalogClassic/CatalogClassicInfoBlock.tsx +86 -0
- package/src/components/CatalogClassic/CatalogClassicVirtualizedGroups.tsx +241 -0
- package/src/components/CatalogClassic/variables.ts +106 -0
- package/src/components/CodeBlock/CodeBlock.tsx +213 -0
- package/src/components/CodeBlock/CodeBlockContainer.tsx +350 -0
- package/src/components/CodeBlock/CodeBlockControls.tsx +278 -0
- package/src/components/CodeBlock/CodeBlockDropdown.tsx +44 -0
- package/src/components/CodeBlock/CodeBlockTabs.tsx +145 -0
- package/src/components/CodeBlock/variables.dark.ts +5 -0
- package/src/components/CodeBlock/variables.ts +138 -0
- package/src/components/ColorModeSwitcher/ColorModeIcon.tsx +36 -0
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +32 -0
- package/src/components/Consent/Consent.tsx +18 -0
- package/src/components/Consent/ConsentBanner.tsx +110 -0
- package/src/components/Consent/ConsentDialog.tsx +210 -0
- package/src/components/Consent/ConsentSettingsLink.tsx +44 -0
- package/src/components/Consent/variables.ts +28 -0
- package/src/components/DatePicker/DatePicker.tsx +74 -0
- package/src/components/DatePicker/variables.ts +23 -0
- package/src/components/Dropdown/Dropdown.tsx +268 -0
- package/src/components/Dropdown/DropdownMenu.tsx +78 -0
- package/src/components/Dropdown/DropdownMenuItem.tsx +201 -0
- package/src/components/Dropdown/DropdownMenuItemContent.tsx +72 -0
- package/src/components/Dropdown/variables.ts +66 -0
- package/src/components/Feedback/Comment.tsx +195 -0
- package/src/components/Feedback/Feedback.tsx +91 -0
- package/src/components/Feedback/Mood.tsx +383 -0
- package/src/components/Feedback/Rating.tsx +270 -0
- package/src/components/Feedback/Reasons.tsx +100 -0
- package/src/components/Feedback/ReportDialog.tsx +86 -0
- package/src/components/Feedback/Scale.tsx +338 -0
- package/src/components/Feedback/Sentiment.tsx +337 -0
- package/src/components/Feedback/Stars.tsx +58 -0
- package/src/components/Feedback/variables.ts +31 -0
- package/src/components/Filter/Filter.tsx +42 -0
- package/src/components/Filter/FilterCheckboxes.tsx +87 -0
- package/src/components/Filter/FilterContent.tsx +119 -0
- package/src/components/Filter/FilterDateRange.tsx +97 -0
- package/src/components/Filter/FilterInput.tsx +90 -0
- package/src/components/Filter/FilterOption.tsx +34 -0
- package/src/components/Filter/FilterOptionLabel.tsx +19 -0
- package/src/components/Filter/FilterOptions.tsx +21 -0
- package/src/components/Filter/FilterPopover.tsx +93 -0
- package/src/components/Filter/FilterSelect.tsx +87 -0
- package/src/components/Filter/FilterTitle.tsx +18 -0
- package/src/components/Filter/variables.ts +99 -0
- package/src/components/Footer/Footer.tsx +113 -0
- package/src/components/Footer/FooterColumn.tsx +103 -0
- package/src/components/Footer/FooterCopyright.tsx +53 -0
- package/src/components/Footer/FooterItem.tsx +106 -0
- package/src/components/Footer/variables.ts +59 -0
- package/src/components/Image/Image.tsx +311 -0
- package/src/components/Image/__tests__/images/test-image.png +0 -0
- package/src/components/Image/variables.ts +58 -0
- package/src/components/JsonViewer/Helpers.tsx +250 -0
- package/src/components/JsonViewer/JsonViewer.tsx +128 -0
- package/src/components/LanguagePicker/LanguagePicker.tsx +115 -0
- package/src/components/LanguagePicker/variables.ts +37 -0
- package/src/components/LastUpdated/LastUpdated.tsx +91 -0
- package/src/components/LastUpdated/variables.ts +8 -0
- package/src/components/Link/Link.tsx +23 -0
- package/src/components/LoadMore/LoadMore.tsx +40 -0
- package/src/components/LoadProgressBar/LoadProgressBar.tsx +113 -0
- package/src/components/Loaders/Loading.tsx +33 -0
- package/src/components/Loaders/SpinnerLoader.tsx +33 -0
- package/src/components/Logo/Logo.tsx +57 -0
- package/src/components/Logo/variables.ts +14 -0
- package/src/components/MCP/McpConnectionTabs.tsx +301 -0
- package/src/components/Markdown/Markdown.tsx +378 -0
- package/src/components/Markdown/styles/base-table.ts +88 -0
- package/src/components/Markdown/styles/heading-anchor.ts +34 -0
- package/src/components/Markdown/styles/links.ts +25 -0
- package/src/components/Markdown/variables.ts +101 -0
- package/src/components/Marker/Marker.tsx +53 -0
- package/src/components/Menu/Menu.tsx +70 -0
- package/src/components/Menu/MenuContainer.tsx +75 -0
- package/src/components/Menu/MenuItem.tsx +495 -0
- package/src/components/Menu/MenuMobile.tsx +188 -0
- package/src/components/Menu/MenuSelect.tsx +198 -0
- package/src/components/Menu/variables.dark.ts +12 -0
- package/src/components/Menu/variables.ts +224 -0
- package/src/components/Navbar/Navbar.tsx +157 -0
- package/src/components/Navbar/NavbarItem.tsx +157 -0
- package/src/components/Navbar/NavbarLogo.tsx +18 -0
- package/src/components/Navbar/NavbarMenu.tsx +48 -0
- package/src/components/Navbar/variables.ts +54 -0
- package/src/components/NavigationTabs/NavigationTab.tsx +148 -0
- package/src/components/NavigationTabs/NavigationTabContent.tsx +66 -0
- package/src/components/NavigationTabs/NavigationTabMenu.tsx +40 -0
- package/src/components/NavigationTabs/NavigationTabs.tsx +83 -0
- package/src/components/NavigationTabs/variables.ts +34 -0
- package/src/components/OpenApiDocs/hooks/AfterOpenApiOperation.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/AfterOpenApiTitle.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/BeforeOpenApiOperation.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/OpenApiFooter.tsx +5 -0
- package/src/components/OpenApiDocs/hooks/OpenApiHeader.tsx +5 -0
- package/src/components/PageActions/PageActions.tsx +141 -0
- package/src/components/PageActions/PageActionsMenuItem.tsx +59 -0
- package/src/components/PageActions/variables.dark.ts +6 -0
- package/src/components/PageActions/variables.ts +36 -0
- package/src/components/PageNavigation/NavigationButton.tsx +78 -0
- package/src/components/PageNavigation/NextButton.tsx +43 -0
- package/src/components/PageNavigation/PageNavigation.tsx +54 -0
- package/src/components/PageNavigation/PreviousButton.tsx +44 -0
- package/src/components/PageNavigation/variables.ts +24 -0
- package/src/components/Panel/Panel.tsx +115 -0
- package/src/components/Panel/PanelBody.tsx +44 -0
- package/src/components/Panel/PanelHeader.tsx +49 -0
- package/src/components/Panel/PanelHeaderTitle.tsx +13 -0
- package/src/components/Panel/variables.ts +411 -0
- package/src/components/Portal/Portal.tsx +25 -0
- package/src/components/Product/Product.tsx +29 -0
- package/src/components/Product/ProductPicker.tsx +95 -0
- package/src/components/Product/utils.ts +6 -0
- package/src/components/Product/variables.ts +40 -0
- package/src/components/ReplayGate/ReplayGate.tsx +21 -0
- package/src/components/ReplaySecuritySchemeActions/ReplaySecuritySchemeActions.tsx +19 -0
- package/src/components/ReplayTopBarActions/ReplayTopBarActions.tsx +14 -0
- package/src/components/Scorecard/variables.dark.ts +17 -0
- package/src/components/Scorecard/variables.ts +21 -0
- package/src/components/Search/FilterFields/SearchFilterFieldSelect.tsx +130 -0
- package/src/components/Search/FilterFields/SearchFilterFieldTags.tsx +76 -0
- package/src/components/Search/Search.tsx +36 -0
- package/src/components/Search/SearchAiActionButtons.tsx +88 -0
- package/src/components/Search/SearchAiActivity.tsx +318 -0
- package/src/components/Search/SearchAiConversationInput.tsx +193 -0
- package/src/components/Search/SearchAiDialog.tsx +317 -0
- package/src/components/Search/SearchAiMessage.tsx +348 -0
- package/src/components/Search/SearchAiNegativeFeedbackForm.tsx +212 -0
- package/src/components/Search/SearchAiResponse.tsx +247 -0
- package/src/components/Search/SearchDialog.tsx +790 -0
- package/src/components/Search/SearchFilter.tsx +95 -0
- package/src/components/Search/SearchFilterField.tsx +87 -0
- package/src/components/Search/SearchGroups.tsx +89 -0
- package/src/components/Search/SearchHighlight.tsx +49 -0
- package/src/components/Search/SearchInput.tsx +122 -0
- package/src/components/Search/SearchItem.tsx +278 -0
- package/src/components/Search/SearchRecent.tsx +134 -0
- package/src/components/Search/SearchShortcut.tsx +34 -0
- package/src/components/Search/SearchSuggestedPages.tsx +102 -0
- package/src/components/Search/SearchTrigger.tsx +145 -0
- package/src/components/Search/should-show-load-more.ts +30 -0
- package/src/components/Search/variables.ts +284 -0
- package/src/components/Segmented/Segmented.tsx +95 -0
- package/src/components/Segmented/variables.dark.ts +6 -0
- package/src/components/Segmented/variables.ts +23 -0
- package/src/components/Select/Select.tsx +329 -0
- package/src/components/Select/SelectInput.tsx +235 -0
- package/src/components/Select/variables.ts +45 -0
- package/src/components/Sidebar/Sidebar.tsx +155 -0
- package/src/components/Sidebar/variables.ts +57 -0
- package/src/components/SidebarActions/ChangeViewButton.tsx +58 -0
- package/src/components/SidebarActions/SidebarActions.tsx +94 -0
- package/src/components/SidebarActions/styled.ts +83 -0
- package/src/components/SidebarLogo/SidebarLogo.tsx +56 -0
- package/src/components/SkipContent/SkipContent.tsx +47 -0
- package/src/components/SkipContent/variables.ts +20 -0
- package/src/components/SplitButton/SplitButton.tsx +104 -0
- package/src/components/StatusCode/StatusCode.tsx +42 -0
- package/src/components/StatusCode/variables.dark.ts +5 -0
- package/src/components/StatusCode/variables.ts +13 -0
- package/src/components/SvgViewer/SvgViewer.tsx +401 -0
- package/src/components/SvgViewer/variables.ts +14 -0
- package/src/components/Switch/Switch.tsx +109 -0
- package/src/components/Switch/variables.dark.ts +34 -0
- package/src/components/Switch/variables.ts +34 -0
- package/src/components/TableOfContent/TableOfContent.tsx +142 -0
- package/src/components/TableOfContent/variables.ts +47 -0
- package/src/components/Tag/Tag.tsx +296 -0
- package/src/components/Tag/variables.dark.ts +292 -0
- package/src/components/Tag/variables.ts +409 -0
- package/src/components/Tags/CounterTag.tsx +13 -0
- package/src/components/Tags/HttpTag.tsx +24 -0
- package/src/components/Tags/variables.ts +18 -0
- package/src/components/Toast/Toast.tsx +289 -0
- package/src/components/Toast/variables.ts +61 -0
- package/src/components/Tooltip/AnchorTooltip.tsx +274 -0
- package/src/components/Tooltip/JsTooltip.tsx +278 -0
- package/src/components/Tooltip/Tooltip.tsx +35 -0
- package/src/components/Tooltip/variables.dark.ts +10 -0
- package/src/components/Tooltip/variables.ts +39 -0
- package/src/components/Typography/CompactTypography.tsx +13 -0
- package/src/components/Typography/Emphasis.tsx +8 -0
- package/src/components/Typography/H1.tsx +13 -0
- package/src/components/Typography/H2.tsx +13 -0
- package/src/components/Typography/H3.tsx +13 -0
- package/src/components/Typography/H4.tsx +13 -0
- package/src/components/Typography/SectionHeader.tsx +14 -0
- package/src/components/Typography/Typography.tsx +47 -0
- package/src/components/UserMenu/LoginButton.tsx +52 -0
- package/src/components/UserMenu/LogoutMenuItem.tsx +39 -0
- package/src/components/UserMenu/UserAvatar.tsx +65 -0
- package/src/components/UserMenu/UserInfoMenuItem.tsx +75 -0
- package/src/components/UserMenu/UserMenu.tsx +129 -0
- package/src/components/UserMenu/UserMenuMobile.tsx +66 -0
- package/src/components/UserMenu/variables.ts +64 -0
- package/src/components/VersionPicker/VersionPicker.tsx +117 -0
- package/src/components/VersionPicker/variables.ts +40 -0
- package/src/config.ts +39 -0
- package/src/core/constants/accordion.ts +4 -0
- package/src/core/constants/breadcrumb.ts +1 -0
- package/src/core/constants/catalog.ts +88 -0
- package/src/core/constants/code-walkthrough.ts +1 -0
- package/src/core/constants/common.ts +40 -0
- package/src/core/constants/consent.ts +29 -0
- package/src/core/constants/environments.ts +13 -0
- package/src/core/constants/feedback.ts +2 -0
- package/src/core/constants/heading.ts +9 -0
- package/src/core/constants/index.ts +14 -0
- package/src/core/constants/markdown.ts +5 -0
- package/src/core/constants/mcp.ts +9 -0
- package/src/core/constants/prompt.ts +34 -0
- package/src/core/constants/request-methods.ts +10 -0
- package/src/core/constants/search.ts +90 -0
- package/src/core/constants/toast.ts +1 -0
- package/src/core/contexts/AccordionGroupContext.tsx +3 -0
- package/src/core/contexts/CodeSnippetContext.tsx +67 -0
- package/src/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.tsx +15 -0
- package/src/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.tsx +13 -0
- package/src/core/contexts/MarkdownLinkContext.tsx +9 -0
- package/src/core/contexts/PageActionsContext.tsx +7 -0
- package/src/core/contexts/PortalContainerContext.tsx +4 -0
- package/src/core/contexts/SearchContext.tsx +31 -0
- package/src/core/contexts/ThemeDataContext.tsx +16 -0
- package/src/core/contexts/Toast/ToastContext.tsx +5 -0
- package/src/core/contexts/Toast/ToastProvider.tsx +206 -0
- package/src/core/contexts/index.ts +10 -0
- package/src/core/hoc/index.ts +1 -0
- package/src/core/hoc/typed-memo.ts +3 -0
- package/src/core/hooks/__mocks__/index.ts +35 -0
- package/src/core/hooks/__mocks__/search/use-recent-searches.ts +10 -0
- package/src/core/hooks/__mocks__/search/use-search-filter.ts +12 -0
- package/src/core/hooks/__mocks__/search/use-suggested-pages.ts +10 -0
- package/src/core/hooks/__mocks__/use-anchor-positioning.ts +3 -0
- package/src/core/hooks/__mocks__/use-controlled-state.ts +6 -0
- package/src/core/hooks/__mocks__/use-element-size.ts +6 -0
- package/src/core/hooks/__mocks__/use-input-key-commands.ts +13 -0
- package/src/core/hooks/__mocks__/use-mobile-menu.ts +11 -0
- package/src/core/hooks/__mocks__/use-theme-config.ts +10 -0
- package/src/core/hooks/__mocks__/use-theme-hooks.ts +131 -0
- package/src/core/hooks/__mocks__/use-time-ago.ts +5 -0
- package/src/core/hooks/__tests__/mocks/mock-intersection-observer.ts +51 -0
- package/src/core/hooks/catalog/use-catalog-entities.ts +19 -0
- package/src/core/hooks/catalog/use-catalog-entity-details.ts +52 -0
- package/src/core/hooks/catalog/use-catalog-entity-link.ts +46 -0
- package/src/core/hooks/catalog/use-catalog-entity-schema.ts +46 -0
- package/src/core/hooks/catalog/use-catalog-table-header-cell-actions.ts +40 -0
- package/src/core/hooks/catalog/use-graph.ts +236 -0
- package/src/core/hooks/code-walkthrough/__mocks__/MockIntersectionObserver.ts +23 -0
- package/src/core/hooks/code-walkthrough/__mocks__/mock-intersection-observer.ts +25 -0
- package/src/core/hooks/code-walkthrough/use-code-panel.ts +163 -0
- package/src/core/hooks/code-walkthrough/use-code-walkthrough-controls.ts +280 -0
- package/src/core/hooks/code-walkthrough/use-code-walkthrough-steps.ts +452 -0
- package/src/core/hooks/code-walkthrough/use-code-walkthrough.ts +54 -0
- package/src/core/hooks/code-walkthrough/use-renderable-files.ts +48 -0
- package/src/core/hooks/feedback/use-report-dialog.ts +53 -0
- package/src/core/hooks/index.ts +67 -0
- package/src/core/hooks/menu/__mocks__/use-mobile-menu-items.ts +43 -0
- package/src/core/hooks/menu/use-collapse.ts +211 -0
- package/src/core/hooks/menu/use-menu-item-expanded.ts +32 -0
- package/src/core/hooks/menu/use-mobile-menu-items.ts +143 -0
- package/src/core/hooks/menu/use-mobile-menu-levels.ts +59 -0
- package/src/core/hooks/menu/use-nested-menu.ts +92 -0
- package/src/core/hooks/prompt/use-prompt-actions.ts +28 -0
- package/src/core/hooks/prompt/use-prompt-text-limit.ts +59 -0
- package/src/core/hooks/search/use-feedback-tooltip.ts +32 -0
- package/src/core/hooks/search/use-persisted-quick-filter.ts +125 -0
- package/src/core/hooks/search/use-recent-searches.ts +56 -0
- package/src/core/hooks/search/use-search-ai-activity.ts +31 -0
- package/src/core/hooks/search/use-search-dialog.ts +59 -0
- package/src/core/hooks/search/use-search-filter.ts +61 -0
- package/src/core/hooks/search/use-suggested-pages.ts +7 -0
- package/src/core/hooks/use-active-heading.ts +355 -0
- package/src/core/hooks/use-active-page-version.ts +9 -0
- package/src/core/hooks/use-active-section-id.ts +83 -0
- package/src/core/hooks/use-anchor-positioning.ts +22 -0
- package/src/core/hooks/use-banner-telemetry.ts +57 -0
- package/src/core/hooks/use-codeblock-tabs-controls.ts +67 -0
- package/src/core/hooks/use-color-switcher.ts +76 -0
- package/src/core/hooks/use-connect-mcp-button.ts +104 -0
- package/src/core/hooks/use-consent-dialog.ts +51 -0
- package/src/core/hooks/use-consent-telemetry.ts +56 -0
- package/src/core/hooks/use-control.ts +42 -0
- package/src/core/hooks/use-controlled-state.ts +23 -0
- package/src/core/hooks/use-dialog-hotkeys.ts +51 -0
- package/src/core/hooks/use-element-size.ts +99 -0
- package/src/core/hooks/use-focus-trap.ts +39 -0
- package/src/core/hooks/use-full-height.ts +49 -0
- package/src/core/hooks/use-input-key-commands.ts +100 -0
- package/src/core/hooks/use-is-truncated.ts +20 -0
- package/src/core/hooks/use-language-picker.ts +59 -0
- package/src/core/hooks/use-local-state.ts +40 -0
- package/src/core/hooks/use-mcp-config.ts +61 -0
- package/src/core/hooks/use-mobile-menu.ts +25 -0
- package/src/core/hooks/use-modal-scroll-lock.ts +56 -0
- package/src/core/hooks/use-mount.ts +8 -0
- package/src/core/hooks/use-navbar-height.ts +25 -0
- package/src/core/hooks/use-outside-click.ts +34 -0
- package/src/core/hooks/use-page-actions.ts +364 -0
- package/src/core/hooks/use-page-versions.ts +20 -0
- package/src/core/hooks/use-pointer-border-highlight.ts +46 -0
- package/src/core/hooks/use-product-picker.ts +49 -0
- package/src/core/hooks/use-scroll-item-into-view.ts +18 -0
- package/src/core/hooks/use-store.ts +95 -0
- package/src/core/hooks/use-tab-list.ts +63 -0
- package/src/core/hooks/use-tabs.ts +353 -0
- package/src/core/hooks/use-telemetry-fallback.ts +88 -0
- package/src/core/hooks/use-theme-config.ts +33 -0
- package/src/core/hooks/use-theme-hooks.ts +60 -0
- package/src/core/hooks/use-time-ago.ts +55 -0
- package/src/core/hooks/use-toast-logic.ts +203 -0
- package/src/core/hooks/use-toast.ts +47 -0
- package/src/core/hooks/use-tooltip-fallback-placement.ts +73 -0
- package/src/core/hooks/use-unique-svg-ids.ts +12 -0
- package/src/core/hooks/use-unmount.ts +10 -0
- package/src/core/hooks/use-user-teams.ts +8 -0
- package/src/core/index.ts +7 -0
- package/src/core/openapi/index.ts +42 -0
- package/src/core/styles/dark.ts +382 -0
- package/src/core/styles/global.ts +1403 -0
- package/src/core/styles/index.ts +4 -0
- package/src/core/styles/palette.dark.ts +234 -0
- package/src/core/styles/palette.ts +249 -0
- package/src/core/styles/search-ai-appear.ts +16 -0
- package/src/core/styles/xyflow.ts +620 -0
- package/src/core/templates/Markdown.tsx +83 -0
- package/src/core/types/breadcrumb.ts +1 -0
- package/src/core/types/button-group.ts +2 -0
- package/src/core/types/catalog.ts +280 -0
- package/src/core/types/code-walkthrough.ts +118 -0
- package/src/core/types/common.ts +8 -0
- package/src/core/types/consent.ts +51 -0
- package/src/core/types/dropdown.ts +1 -0
- package/src/core/types/feedback.ts +27 -0
- package/src/core/types/filter.ts +13 -0
- package/src/core/types/hooks.ts +238 -0
- package/src/core/types/index.ts +29 -0
- package/src/core/types/l10n.ts +567 -0
- package/src/core/types/link.ts +20 -0
- package/src/core/types/markdown.ts +5 -0
- package/src/core/types/marker.ts +4 -0
- package/src/core/types/mcp.ts +10 -0
- package/src/core/types/navbar.ts +7 -0
- package/src/core/types/navigation-tabs.ts +54 -0
- package/src/core/types/open-api-info.ts +34 -0
- package/src/core/types/open-api-server.ts +13 -0
- package/src/core/types/page-actions.ts +18 -0
- package/src/core/types/prompt.ts +11 -0
- package/src/core/types/search.ts +162 -0
- package/src/core/types/segmented.ts +15 -0
- package/src/core/types/select.ts +35 -0
- package/src/core/types/sidebar.ts +74 -0
- package/src/core/types/toast.ts +28 -0
- package/src/core/types/tooltip.ts +18 -0
- package/src/core/types/user-claims.ts +6 -0
- package/src/core/types/user-menu.ts +12 -0
- package/src/core/utils/Dynamic.tsx +117 -0
- package/src/core/utils/GetFileIcon.tsx +94 -0
- package/src/core/utils/RenderWithLink.tsx +19 -0
- package/src/core/utils/add-line-numbers.ts +16 -0
- package/src/core/utils/args-typecheck.ts +7 -0
- package/src/core/utils/assign-ref.ts +9 -0
- package/src/core/utils/attribute-parser.ts +11 -0
- package/src/core/utils/build-revision-url.ts +16 -0
- package/src/core/utils/change-text-casing.ts +25 -0
- package/src/core/utils/class-names.ts +16 -0
- package/src/core/utils/clipboard-service.ts +27 -0
- package/src/core/utils/color.ts +12 -0
- package/src/core/utils/consent-settings-link-placement.ts +18 -0
- package/src/core/utils/content-segments.ts +119 -0
- package/src/core/utils/css-variables.ts +4 -0
- package/src/core/utils/custom-catalog-options-casing.ts +29 -0
- package/src/core/utils/date.ts +33 -0
- package/src/core/utils/details.ts +47 -0
- package/src/core/utils/dom.ts +1 -0
- package/src/core/utils/download-code-walkthrough.ts +36 -0
- package/src/core/utils/dropdown.ts +14 -0
- package/src/core/utils/enhanced-smoothstep.ts +14 -0
- package/src/core/utils/find-closest-common-directory.ts +51 -0
- package/src/core/utils/format-date-without-timezone.ts +9 -0
- package/src/core/utils/frontmatter-translate.ts +9 -0
- package/src/core/utils/get-ai-prompt-link.ts +30 -0
- package/src/core/utils/get-auto-dismiss-duration.ts +20 -0
- package/src/core/utils/get-code-walkthrough-file-text.ts +33 -0
- package/src/core/utils/get-navbar-element.ts +10 -0
- package/src/core/utils/get-operation-color.ts +18 -0
- package/src/core/utils/get-scorecard-color-variable.ts +18 -0
- package/src/core/utils/get-user-agent.ts +14 -0
- package/src/core/utils/icon-resolver.ts +57 -0
- package/src/core/utils/index.ts +56 -0
- package/src/core/utils/is-url.ts +42 -0
- package/src/core/utils/js-utils.ts +104 -0
- package/src/core/utils/lang-to-name.ts +35 -0
- package/src/core/utils/load-and-navigate.ts +59 -0
- package/src/core/utils/markdoc.ts +6 -0
- package/src/core/utils/match-code-walkthrough-conditions.ts +29 -0
- package/src/core/utils/mcp.ts +68 -0
- package/src/core/utils/media-css.ts +13 -0
- package/src/core/utils/menu.ts +170 -0
- package/src/core/utils/navigation-tabs.ts +99 -0
- package/src/core/utils/parse-style-string.ts +22 -0
- package/src/core/utils/replace-hash-in-color.ts +3 -0
- package/src/core/utils/replace-inputs-with-value.ts +14 -0
- package/src/core/utils/search-ai-activity.ts +110 -0
- package/src/core/utils/string.ts +3 -0
- package/src/core/utils/tabs.ts +4 -0
- package/src/core/utils/tags-parser.ts +8 -0
- package/src/core/utils/telemetry/generate-before-after-context.ts +59 -0
- package/src/core/utils/telemetry/generate-resource-urn.ts +9 -0
- package/src/core/utils/telemetry/get-base-data-attributes.ts +27 -0
- package/src/core/utils/text-trimmer.ts +7 -0
- package/src/core/utils/theme-helpers.ts +82 -0
- package/src/core/utils/toc.ts +42 -0
- package/src/core/utils/tooltip-placement.ts +141 -0
- package/src/core/utils/transform-revisions-to-version-history.ts +83 -0
- package/src/core/utils/type-guards.ts +31 -0
- package/src/core/utils/urls.ts +142 -0
- package/src/core/utils/with-load-progress.ts +30 -0
- package/src/ext/configure-helpers.ts +45 -0
- package/src/ext/configure.ts +99 -0
- package/src/ext/helpers/is-direct-configure-request-values.ts +53 -0
- package/src/ext/use-configure-replay.ts +88 -0
- package/src/icons/AddIcon/AddIcon.tsx +23 -0
- package/src/icons/AiStarsGradientIcon/AiStarsGradientIcon.tsx +90 -0
- package/src/icons/AiStarsIcon/AiStarsIcon.tsx +69 -0
- package/src/icons/AnthropicIcon/AnthropicIcon.tsx +25 -0
- package/src/icons/ArrowDownIcon/ArrowDownIcon.tsx +33 -0
- package/src/icons/ArrowLeftIcon/ArrowLeftIcon.tsx +30 -0
- package/src/icons/ArrowRightIcon/ArrowRightIcon.tsx +23 -0
- package/src/icons/ArrowUpRightIcon/ArrowUpRightIcon.tsx +23 -0
- package/src/icons/AscSortIcon/AscSortIcon.tsx +29 -0
- package/src/icons/BareMetalServerIcon/BareMetalServerIcon.tsx +28 -0
- package/src/icons/BookmarkAddIcon/BookmarkAddIcon.tsx +23 -0
- package/src/icons/BotIcon/BotIcon.tsx +25 -0
- package/src/icons/CDNIcon/CDNIcon.tsx +47 -0
- package/src/icons/CardsIcon/CardsIcon.tsx +38 -0
- package/src/icons/CaretDownIcon/CaretDownIcon.tsx +26 -0
- package/src/icons/CaretUpIcon/CaretUpIcon.tsx +26 -0
- package/src/icons/CertificateIcon/CertificateIcon.tsx +33 -0
- package/src/icons/CharacterIcon/CharacterIcon.tsx +25 -0
- package/src/icons/ChatGptIcon/ChatGptIcon.tsx +23 -0
- package/src/icons/ChatIcon/ChatIcon.tsx +35 -0
- package/src/icons/CheckboxFilledIcon/CheckboxFilledIcon.tsx +23 -0
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +72 -0
- package/src/icons/CheckboxIcon/variables.dark.ts +8 -0
- package/src/icons/CheckboxIcon/variables.ts +19 -0
- package/src/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.tsx +23 -0
- package/src/icons/CheckmarkIcon/CheckmarkIcon.tsx +23 -0
- package/src/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.tsx +24 -0
- package/src/icons/ChevronDownIcon/ChevronDownIcon.tsx +24 -0
- package/src/icons/ChevronLeftIcon/ChevronLeftIcon.tsx +23 -0
- package/src/icons/ChevronRightIcon/ChevronRightIcon.tsx +23 -0
- package/src/icons/ChevronSortIcon/ChevronSortIcon.tsx +32 -0
- package/src/icons/ChevronUpIcon/ChevronUpIcon.tsx +24 -0
- package/src/icons/CircleDashIcon/CircleDashIcon.tsx +32 -0
- package/src/icons/ClaudeIcon/ClaudeIcon.tsx +23 -0
- package/src/icons/CleanIcon/CleanIcon.tsx +26 -0
- package/src/icons/CloseFilledIcon/CloseFilledIcon.tsx +22 -0
- package/src/icons/CloseIcon/CloseIcon.tsx +24 -0
- package/src/icons/CloseOutlineIcon/CloseOutlineIcon.tsx +26 -0
- package/src/icons/CloudUploadIcon/CloudUploadIcon.tsx +24 -0
- package/src/icons/CodeIcon/CodeIcon.tsx +25 -0
- package/src/icons/CodexIcon/CodexIcon.tsx +23 -0
- package/src/icons/ColorPaletteIcon/ColorPaletteIcon.tsx +28 -0
- package/src/icons/ConnectIcon/ConnectIcon.tsx +27 -0
- package/src/icons/ContrastIcon/ContrastIcon.tsx +23 -0
- package/src/icons/CookieIcon/CookieIcon.tsx +30 -0
- package/src/icons/CopyIcon/CopyIcon.tsx +27 -0
- package/src/icons/CopyLinkIcon/CopyLinkIcon.tsx +25 -0
- package/src/icons/CubeIcon/CubeIcon.tsx +27 -0
- package/src/icons/CursorIcon/CursorIcon.tsx +35 -0
- package/src/icons/CurveAutoColonIcon/CurveAutoColonIcon.tsx +26 -0
- package/src/icons/DataFormatIcon/DataFormatIcon.tsx +27 -0
- package/src/icons/DataRefineryIcon/DataRefineryIcon.tsx +34 -0
- package/src/icons/DatabaseIcon/DatabaseIcon.tsx +23 -0
- package/src/icons/DescSortIcon/DescSortIcon.tsx +29 -0
- package/src/icons/DeselectIcon/DeselectIcon.tsx +33 -0
- package/src/icons/DirectionRightIcon/DirectionRightIcon.tsx +35 -0
- package/src/icons/DocumentAddIcon/DocumentAddIcon.tsx +24 -0
- package/src/icons/DocumentBlankIcon/DocumentBlankIcon.tsx +23 -0
- package/src/icons/DocumentCssIcon/DocumentCssIcon.tsx +36 -0
- package/src/icons/DocumentCssIcon/index.ts +1 -0
- package/src/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.tsx +64 -0
- package/src/icons/DocumentGraphqlIcon/index.ts +1 -0
- package/src/icons/DocumentHtmlIcon/DocumentHtmlIcon.tsx +36 -0
- package/src/icons/DocumentHtmlIcon/index.ts +1 -0
- package/src/icons/DocumentIcon/DocumentIcon.tsx +32 -0
- package/src/icons/DocumentIcon/index.ts +1 -0
- package/src/icons/DocumentJavaIcon/DocumentJavaIcon.tsx +33 -0
- package/src/icons/DocumentJavaIcon/index.ts +1 -0
- package/src/icons/DocumentJsIcon/DocumentJsIcon.tsx +36 -0
- package/src/icons/DocumentJsIcon/index.ts +1 -0
- package/src/icons/DocumentJsonIcon/DocumentJsonIcon.tsx +36 -0
- package/src/icons/DocumentJsonIcon/index.ts +1 -0
- package/src/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.tsx +36 -0
- package/src/icons/DocumentMarkdownIcon/index.ts +1 -0
- package/src/icons/DocumentPythonIcon/DocumentPythonIcon.tsx +37 -0
- package/src/icons/DocumentPythonIcon/index.ts +1 -0
- package/src/icons/DocumentReactIcon/DocumentReactIcon.tsx +36 -0
- package/src/icons/DocumentReactIcon/index.ts +1 -0
- package/src/icons/DocumentShellIcon/DocumentShellIcon.tsx +33 -0
- package/src/icons/DocumentShellIcon/index.ts +1 -0
- package/src/icons/DocumentTsIcon/DocumentTsIcon.tsx +38 -0
- package/src/icons/DocumentTsIcon/index.ts +1 -0
- package/src/icons/DocumentYamlIcon/DocumentYamlIcon.tsx +36 -0
- package/src/icons/DocumentYamlIcon/index.ts +1 -0
- package/src/icons/DownloadIcon/DownloadIcon.tsx +24 -0
- package/src/icons/DraggableIcon/DraggableIcon.tsx +28 -0
- package/src/icons/EditIcon/EditIcon.tsx +24 -0
- package/src/icons/EmailIcon/EmailIcon.tsx +23 -0
- package/src/icons/EntityTypeIcon/EntityTypeIcon.tsx +49 -0
- package/src/icons/ErrorFilledIcon/ErrorFilledIcon.tsx +33 -0
- package/src/icons/ErrorIcon/ErrorIcon.tsx +23 -0
- package/src/icons/ExpandCollapseIcon/ExpandCollapseIcon.tsx +56 -0
- package/src/icons/ExportIcon/ExportIcon.tsx +24 -0
- package/src/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.tsx +26 -0
- package/src/icons/FaceNeutralIcon/FaceNeutralIcon.tsx +26 -0
- package/src/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.tsx +26 -0
- package/src/icons/FileIcon/FileIcon.tsx +23 -0
- package/src/icons/FileStorageIcon/FileStorageIcon.tsx +25 -0
- package/src/icons/FilterIcon/FilterIcon.tsx +26 -0
- package/src/icons/FitToViewIcon/FitToViewIcon.tsx +26 -0
- package/src/icons/FlowIcon/FlowIcon.tsx +26 -0
- package/src/icons/FolderAddIcon/FolderAddIcon.tsx +24 -0
- package/src/icons/FolderIcon/FolderIcon.tsx +23 -0
- package/src/icons/FolderMoveToIcon/FolderMoveToIcon.tsx +24 -0
- package/src/icons/GeminiIcon/GeminiIcon.tsx +265 -0
- package/src/icons/GenericIcon/GenericIcon.tsx +78 -0
- package/src/icons/GithubIcon/GithubIcon.tsx +35 -0
- package/src/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.tsx +23 -0
- package/src/icons/GraphIcon/GraphIcon.tsx +26 -0
- package/src/icons/GraphqlIcon/GraphqlIcon.tsx +81 -0
- package/src/icons/GraphqlIcon/index.ts +1 -0
- package/src/icons/GridIcon/GridIcon.tsx +38 -0
- package/src/icons/HashtagIcon/HashtagIcon.tsx +23 -0
- package/src/icons/HexagonIcon/HexagonIcon.tsx +23 -0
- package/src/icons/HierarchyIcon/HierarchyIcon.tsx +32 -0
- package/src/icons/HorizontalViewIcon/HorizontalViewIcon.tsx +24 -0
- package/src/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.tsx +26 -0
- package/src/icons/IdeaIcon/IdeaIcon.tsx +32 -0
- package/src/icons/InformationFilledIcon/InformationFilledIcon.tsx +23 -0
- package/src/icons/InformationIcon/InformationIcon.tsx +25 -0
- package/src/icons/JsonIcon/JsonIcon.tsx +33 -0
- package/src/icons/KafkaIcon/KafkaIcon.tsx +33 -0
- package/src/icons/LaunchIcon/LaunchIcon.tsx +24 -0
- package/src/icons/LinkIcon/LinkIcon.tsx +37 -0
- package/src/icons/LinkIcon/LinkIconSymbol.tsx +51 -0
- package/src/icons/LogoutIcon/LogoutIcon.tsx +24 -0
- package/src/icons/MagicWandIcon/MagicWandIcon.tsx +26 -0
- package/src/icons/MarkdownFullIcon/MarkdownFullIcon.tsx +24 -0
- package/src/icons/MaximizeIcon/MaximizeIcon.tsx +24 -0
- package/src/icons/MenuIcon/MenuIcon.tsx +27 -0
- package/src/icons/MinimizeIcon/MinimizeIcon.tsx +24 -0
- package/src/icons/MobileSidebarIcon/MobileSidebarIcon.tsx +35 -0
- package/src/icons/MoleculesIcon/MoleculesIcon.tsx +23 -0
- package/src/icons/MoonIcon/MoonIcon.tsx +23 -0
- package/src/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.tsx +43 -0
- package/src/icons/NetworkIcon/NetworkIcon.tsx +31 -0
- package/src/icons/NewChatIcon/NewChatIcon.tsx +39 -0
- package/src/icons/NoneIcon/NoneIcon.tsx +17 -0
- package/src/icons/NoteIcon/NoteIcon.tsx +35 -0
- package/src/icons/NotesIcon/NotesIcon.tsx +43 -0
- package/src/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.tsx +25 -0
- package/src/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.tsx +25 -0
- package/src/icons/PeopleIcon/PeopleIcon.tsx +46 -0
- package/src/icons/PlayIcon/PlayIcon.tsx +22 -0
- package/src/icons/PlaylistIcon/PlaylistIcon.tsx +25 -0
- package/src/icons/PlusCustomIcon/PlusCustomIcon.tsx +31 -0
- package/src/icons/RabbitMQIcon/RabbitMQIcon.tsx +40 -0
- package/src/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.tsx +29 -0
- package/src/icons/RecentlyViewedIcon/RecentlyViewedIcon.tsx +24 -0
- package/src/icons/RedoclyIcon/RedoclyIcon.tsx +26 -0
- package/src/icons/RenewIcon/RenewIcon.tsx +24 -0
- package/src/icons/ResetIcon/ResetIcon.tsx +26 -0
- package/src/icons/RestartIcon/RestartIcon.tsx +23 -0
- package/src/icons/ReturnKeyIcon/ReturnKeyIcon.tsx +13 -0
- package/src/icons/RocketIcon/RocketIcon.tsx +24 -0
- package/src/icons/SaveIcon/SaveIcon.tsx +23 -0
- package/src/icons/SearchIcon/SearchIcon.tsx +23 -0
- package/src/icons/SecurityIcon/SecurityIcon.tsx +24 -0
- package/src/icons/SelectIcon/SelectIcon.tsx +36 -0
- package/src/icons/SendIcon/SendIcon.tsx +33 -0
- package/src/icons/SettingsCogIcon/SettingsCogIcon.tsx +32 -0
- package/src/icons/SettingsIcon/SettingsIcon.tsx +48 -0
- package/src/icons/ShareIcon/ShareIcon.tsx +23 -0
- package/src/icons/SidePanelCloseIcon/SidePanelCloseIcon.tsx +23 -0
- package/src/icons/SidePanelOpenIcon/SidePanelOpenIcon.tsx +23 -0
- package/src/icons/SlackIcon/SlackIcon.tsx +61 -0
- package/src/icons/SortIcon/SortIcon.tsx +29 -0
- package/src/icons/Spinner/Spinner.tsx +17 -0
- package/src/icons/SpinnerIcon/SpinnerIcon.tsx +45 -0
- package/src/icons/StarFilledIcon/StarFilledIcon.tsx +23 -0
- package/src/icons/StarIcon/StarIcon.tsx +23 -0
- package/src/icons/StopIcon/StopIcon.tsx +23 -0
- package/src/icons/SubtractIcon/SubtractIcon.tsx +30 -0
- package/src/icons/SunIcon/SunIcon.tsx +31 -0
- package/src/icons/TableBuiltIcon/TableBuiltIcon.tsx +23 -0
- package/src/icons/TableIcon/TableIcon.tsx +26 -0
- package/src/icons/TagsIcon/TagsIcon.tsx +41 -0
- package/src/icons/TaskViewIcon/TaskViewIcon.tsx +34 -0
- package/src/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.tsx +38 -0
- package/src/icons/ThumbDownIcon/ThumbDownIcon.tsx +24 -0
- package/src/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.tsx +35 -0
- package/src/icons/ThumbUpIcon/ThumbUpIcon.tsx +24 -0
- package/src/icons/TimeIcon/TimeIcon.tsx +24 -0
- package/src/icons/TrashCanIcon/TrashCanIcon.tsx +27 -0
- package/src/icons/UserIcon/UserIcon.tsx +30 -0
- package/src/icons/VSCodeIcon/VSCodeIcon.tsx +29 -0
- package/src/icons/ValueVariableIcon/ValueVariableIcon.tsx +24 -0
- package/src/icons/VerticalViewIcon/VerticalViewIcon.tsx +24 -0
- package/src/icons/ViewIcon/ViewIcon.tsx +24 -0
- package/src/icons/ViewOffIcon/ViewOffIcon.tsx +25 -0
- package/src/icons/WarningAltFilled/WarningAltFilled.tsx +24 -0
- package/src/icons/WarningAltFilledIcon/WarningAltFilledIcon.tsx +24 -0
- package/src/icons/WarningAltIcon/WarningAltIcon.tsx +25 -0
- package/src/icons/WarningCycleIcon/WarningCycleIcon.tsx +32 -0
- package/src/icons/WarningFilledIcon/WarningFilledIcon.tsx +23 -0
- package/src/icons/WarningSquareIcon/WarningSquareIcon.tsx +25 -0
- package/src/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.tsx +34 -0
- package/src/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.tsx +32 -0
- package/src/icons/__tests__/IconTestUtils.tsx +54 -0
- package/src/icons/types.ts +15 -0
- package/src/index.ts +334 -0
- package/src/layouts/CodeWalkthroughLayout.tsx +86 -0
- package/src/layouts/DocumentationLayout.tsx +96 -0
- package/src/layouts/DocumentationLayoutBottom.tsx +42 -0
- package/src/layouts/DocumentationLayoutTop.tsx +52 -0
- package/src/layouts/Forbidden.tsx +69 -0
- package/src/layouts/InternalServerErrorLayout.tsx +69 -0
- package/src/layouts/McpNotAllowed.tsx +107 -0
- package/src/layouts/NotFound.tsx +69 -0
- package/src/layouts/OIDCForbidden.tsx +88 -0
- package/src/layouts/PageLayout.tsx +47 -0
- package/src/layouts/RootLayout.tsx +28 -0
- package/src/layouts/ThreePanelLayout.tsx +69 -0
- package/src/markdoc/attributes/code-snippet-file.ts +9 -0
- package/src/markdoc/attributes/code-walkthrough-filesets.ts +9 -0
- package/src/markdoc/attributes/code-walkthrough-filters.ts +9 -0
- package/src/markdoc/attributes/diagram-file.ts +9 -0
- package/src/markdoc/attributes/img-src.ts +9 -0
- package/src/markdoc/attributes/img-srcset.ts +9 -0
- package/src/markdoc/attributes/relative-path.ts +9 -0
- package/src/markdoc/attributes/svg-content.ts +9 -0
- package/src/markdoc/components/Accordion/Accordion.tsx +134 -0
- package/src/markdoc/components/Accordion/AccordionGroup.tsx +48 -0
- package/src/markdoc/components/Accordion/variables.ts +37 -0
- package/src/markdoc/components/Admonition/Admonition.tsx +10 -0
- package/src/markdoc/components/Cards/Card.tsx +288 -0
- package/src/markdoc/components/Cards/CardBadge.tsx +39 -0
- package/src/markdoc/components/Cards/CardIcon.tsx +51 -0
- package/src/markdoc/components/Cards/CardImage.tsx +22 -0
- package/src/markdoc/components/Cards/Cards.tsx +43 -0
- package/src/markdoc/components/Cards/variables.dark.ts +57 -0
- package/src/markdoc/components/Cards/variables.ts +160 -0
- package/src/markdoc/components/CodeBlock/CodeBlock.tsx +10 -0
- package/src/markdoc/components/CodeGroup/CodeGroup.tsx +107 -0
- package/src/markdoc/components/CodeWalkthrough/CodeContainer.tsx +103 -0
- package/src/markdoc/components/CodeWalkthrough/CodeFilters.tsx +104 -0
- package/src/markdoc/components/CodeWalkthrough/CodePanel.tsx +71 -0
- package/src/markdoc/components/CodeWalkthrough/CodePanelHeader.tsx +215 -0
- package/src/markdoc/components/CodeWalkthrough/CodePanelPreview.tsx +55 -0
- package/src/markdoc/components/CodeWalkthrough/CodePanelToolbar.tsx +32 -0
- package/src/markdoc/components/CodeWalkthrough/CodeStep.tsx +198 -0
- package/src/markdoc/components/CodeWalkthrough/CodeToggle.tsx +67 -0
- package/src/markdoc/components/CodeWalkthrough/CodeWalkthrough.tsx +120 -0
- package/src/markdoc/components/CodeWalkthrough/Input.tsx +103 -0
- package/src/markdoc/components/CodeWalkthrough/variables.ts +17 -0
- package/src/markdoc/components/ConnectMCP/ConnectMCP.tsx +28 -0
- package/src/markdoc/components/Diagram/Diagram.tsx +170 -0
- package/src/markdoc/components/Diagram/variables.ts +12 -0
- package/src/markdoc/components/Heading/Heading.tsx +135 -0
- package/src/markdoc/components/HtmlBlock/HtmlBlock.tsx +5 -0
- package/src/markdoc/components/Icon/Icon.tsx +16 -0
- package/src/markdoc/components/Image/Image.tsx +38 -0
- package/src/markdoc/components/InlineSvg/InlineSvg.tsx +17 -0
- package/src/markdoc/components/LoginButton/LoginButton.tsx +38 -0
- package/src/markdoc/components/MarkdocExample/MarkdocExample.tsx +41 -0
- package/src/markdoc/components/MarkdownLink/MarkdownLink.tsx +21 -0
- package/src/markdoc/components/NumberedList/NumberedItem.tsx +274 -0
- package/src/markdoc/components/NumberedList/NumberedList.tsx +37 -0
- package/src/markdoc/components/NumberedList/variables.ts +39 -0
- package/src/markdoc/components/Prompt/Prompt.tsx +219 -0
- package/src/markdoc/components/Prompt/PromptActions.tsx +104 -0
- package/src/markdoc/components/Prompt/PromptBody.tsx +107 -0
- package/src/markdoc/components/Prompt/PromptCopyButton.tsx +73 -0
- package/src/markdoc/components/Prompt/PromptHeader.tsx +81 -0
- package/src/markdoc/components/Prompt/PromptShowHideButton.tsx +43 -0
- package/src/markdoc/components/Prompt/PromptToggleLabel.tsx +41 -0
- package/src/markdoc/components/Prompt/variables.dark.ts +5 -0
- package/src/markdoc/components/Prompt/variables.ts +41 -0
- package/src/markdoc/components/Tabs/Tab.tsx +65 -0
- package/src/markdoc/components/Tabs/TabItemFragment.tsx +15 -0
- package/src/markdoc/components/Tabs/TabList.tsx +546 -0
- package/src/markdoc/components/Tabs/Tabs.tsx +231 -0
- package/src/markdoc/components/Tabs/variables.ts +102 -0
- package/src/markdoc/components/default.ts +31 -0
- package/src/markdoc/default.ts +65 -0
- package/src/markdoc/tags/accordion-group.ts +11 -0
- package/src/markdoc/tags/accordion.ts +12 -0
- package/src/markdoc/tags/admonition.ts +17 -0
- package/src/markdoc/tags/card.ts +73 -0
- package/src/markdoc/tags/cards.ts +18 -0
- package/src/markdoc/tags/code-group.ts +21 -0
- package/src/markdoc/tags/code-snippet.ts +66 -0
- package/src/markdoc/tags/code-step.ts +24 -0
- package/src/markdoc/tags/code-toggle.ts +37 -0
- package/src/markdoc/tags/code-walkthrough.ts +313 -0
- package/src/markdoc/tags/connect-mcp.ts +42 -0
- package/src/markdoc/tags/debug.ts +17 -0
- package/src/markdoc/tags/diagram.ts +73 -0
- package/src/markdoc/tags/html.ts +23 -0
- package/src/markdoc/tags/icon.ts +14 -0
- package/src/markdoc/tags/img.ts +88 -0
- package/src/markdoc/tags/inline-svg.ts +15 -0
- package/src/markdoc/tags/input.ts +35 -0
- package/src/markdoc/tags/login-button.ts +30 -0
- package/src/markdoc/tags/markdoc-example.ts +88 -0
- package/src/markdoc/tags/numbered-item.ts +46 -0
- package/src/markdoc/tags/numbered-list.ts +34 -0
- package/src/markdoc/tags/partial.ts +47 -0
- package/src/markdoc/tags/prompt.ts +58 -0
- package/src/markdoc/tags/tab.ts +13 -0
- package/src/markdoc/tags/tabs.ts +34 -0
- package/src/markdoc/tags/types.ts +25 -0
- package/src/plugin.js +3 -0
- package/src/settings.yaml +30 -0
- package/README_INTERNAL.md +0 -15
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function parseSrcSet(srcSet: string): Map<string, string> {
|
|
2
|
+
const result = new Map<string, string>();
|
|
3
|
+
const parts = srcSet.split(', ');
|
|
4
|
+
|
|
5
|
+
for (const part of parts) {
|
|
6
|
+
const [url, theme] = part.split(' ');
|
|
7
|
+
result.set(theme, url);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
return result;
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export function buildRevisionUrl(
|
|
2
|
+
basePath: string,
|
|
3
|
+
revisionDate: string | null | undefined,
|
|
4
|
+
version?: string | null,
|
|
5
|
+
): string | undefined {
|
|
6
|
+
if (!revisionDate) {
|
|
7
|
+
return undefined;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const params = new URLSearchParams();
|
|
11
|
+
params.set('revision', revisionDate);
|
|
12
|
+
if (version) {
|
|
13
|
+
params.set('version', version);
|
|
14
|
+
}
|
|
15
|
+
return `${basePath}?${params.toString()}`;
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type Casing = 'original' | 'lowercase' | 'uppercase' | 'sentence';
|
|
2
|
+
|
|
3
|
+
export function changeTextCasing(
|
|
4
|
+
str: string,
|
|
5
|
+
casing: Casing | ((str: string) => string) = 'original',
|
|
6
|
+
) {
|
|
7
|
+
if (casing instanceof Function) {
|
|
8
|
+
return casing(str);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
if (casing === 'original' || !str) return str;
|
|
12
|
+
|
|
13
|
+
if (casing === 'lowercase') {
|
|
14
|
+
return str.toLowerCase();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
if (casing === 'uppercase') {
|
|
18
|
+
return str.toUpperCase();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if (casing === 'sentence') {
|
|
22
|
+
const words = str?.split(/[\s-_]+/);
|
|
23
|
+
return words.map((word) => word[0].toUpperCase() + word.slice(1).toLowerCase()).join(' ');
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const SPACE_DELIMITER = ' ';
|
|
2
|
+
|
|
3
|
+
// EasyList/AdGuard ship generic cosmetic rules that hide these exact class tokens on every
|
|
4
|
+
// site; the trailing underscore keeps the class usable without matching the filter lists.
|
|
5
|
+
const ADBLOCK_HIDDEN_CLASS_NAMES = new Set(['product-ad', 'product-ads', 'product-inlist-ad']);
|
|
6
|
+
|
|
7
|
+
export function getSafeClassName(className: string): string {
|
|
8
|
+
return ADBLOCK_HIDDEN_CLASS_NAMES.has(className) ? `${className}_` : className;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function concatClassNames(...args: Array<string | undefined>): string {
|
|
12
|
+
return args
|
|
13
|
+
.map((className) => (className ? className.trim() : className))
|
|
14
|
+
.filter(Boolean)
|
|
15
|
+
.join(SPACE_DELIMITER);
|
|
16
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import copy from 'copy-to-clipboard';
|
|
2
|
+
export class ClipboardService {
|
|
3
|
+
static copyCustom(text: string): boolean {
|
|
4
|
+
return copy(text);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
static selectElement(element: HTMLDivElement | null): void {
|
|
8
|
+
if (!element) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
let range;
|
|
12
|
+
let selection;
|
|
13
|
+
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
14
|
+
if ((document.body as any).createTextRange) {
|
|
15
|
+
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
16
|
+
range = (document.body as any).createTextRange();
|
|
17
|
+
range.moveToElementText(element);
|
|
18
|
+
range.select();
|
|
19
|
+
} else if (document.createRange && window.getSelection) {
|
|
20
|
+
selection = window.getSelection();
|
|
21
|
+
range = document.createRange();
|
|
22
|
+
range.selectNodeContents(element);
|
|
23
|
+
selection?.removeAllRanges();
|
|
24
|
+
selection?.addRange(range);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export function stringToHslColor(value: string): string {
|
|
2
|
+
const s = 30;
|
|
3
|
+
const l = 80;
|
|
4
|
+
let hash = 0;
|
|
5
|
+
|
|
6
|
+
for (let i = 0; i < value.length; i++) {
|
|
7
|
+
hash = value.charCodeAt(i) + ((hash << 5) - hash);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const h = hash % 360;
|
|
11
|
+
return `hsl(${h}, ${s}%, ${l}%)`;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ConsentConfig, RedoclyConfig } from '@redocly/config';
|
|
2
|
+
|
|
3
|
+
export type SettingsLinkPlacement = 'footer' | 'none';
|
|
4
|
+
|
|
5
|
+
export function resolveSettingsLinkPlacement(
|
|
6
|
+
consent: ConsentConfig | undefined,
|
|
7
|
+
footer: RedoclyConfig['footer'] | undefined,
|
|
8
|
+
): SettingsLinkPlacement {
|
|
9
|
+
const choice = consent?.settingsLink ?? 'auto';
|
|
10
|
+
if (choice !== 'auto') {
|
|
11
|
+
return choice;
|
|
12
|
+
}
|
|
13
|
+
const footerShown =
|
|
14
|
+
Boolean(footer) &&
|
|
15
|
+
!footer?.hide &&
|
|
16
|
+
(Boolean(footer?.copyrightText) || (Array.isArray(footer?.items) && footer.items.length > 0));
|
|
17
|
+
return footerShown ? 'footer' : 'none';
|
|
18
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { ToolCall, ContentSegment, GroupedContentSegment } from '../types/search';
|
|
2
|
+
|
|
3
|
+
const SENTENCE_END_MARKS = '.!?:;';
|
|
4
|
+
const CLOSING_MARKS = `"')]*_\``;
|
|
5
|
+
const CODE_FENCE = /^[ \t]*(```|~~~)/gm;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Splits an answer at its tool calls. A call made in the middle of a sentence or a code block is
|
|
9
|
+
* placed at the end of that paragraph, so the sentence reads as one piece.
|
|
10
|
+
*/
|
|
11
|
+
export function splitContentByToolCalls(
|
|
12
|
+
content: string | undefined,
|
|
13
|
+
toolCalls: ToolCall[] | undefined,
|
|
14
|
+
): ContentSegment[] {
|
|
15
|
+
if (!toolCalls || toolCalls.length === 0) {
|
|
16
|
+
return [{ type: 'text', text: content || '' }];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const text = content ?? '';
|
|
20
|
+
const fences = Array.from(text.matchAll(CODE_FENCE), (match) => match.index);
|
|
21
|
+
const segments: ContentSegment[] = [];
|
|
22
|
+
let lastPos = 0;
|
|
23
|
+
|
|
24
|
+
for (const toolCall of toolCalls) {
|
|
25
|
+
const position = Math.max(lastPos, getBlockBoundary(text, toolCall.position, fences));
|
|
26
|
+
if (position > lastPos) {
|
|
27
|
+
segments.push({ type: 'text', text: text.substring(lastPos, position) });
|
|
28
|
+
}
|
|
29
|
+
segments.push({ type: 'tool', toolCall });
|
|
30
|
+
lastPos = position;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
if (lastPos < text.length) {
|
|
34
|
+
segments.push({ type: 'text', text: text.substring(lastPos) });
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return segments;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function getBlockBoundary(content: string, position: number, fences: number[]): number {
|
|
41
|
+
if (position <= 0 || position >= content.length) {
|
|
42
|
+
return position;
|
|
43
|
+
}
|
|
44
|
+
const isInsideCodeFence = (index: number) => {
|
|
45
|
+
let count = 0;
|
|
46
|
+
while (count < fences.length && fences[count] < index) count++;
|
|
47
|
+
return count % 2 === 1;
|
|
48
|
+
};
|
|
49
|
+
if (!isInsideCodeFence(position) && endsBlockOrSentence(content, position)) {
|
|
50
|
+
return position;
|
|
51
|
+
}
|
|
52
|
+
for (
|
|
53
|
+
let boundary = content.indexOf('\n\n', position);
|
|
54
|
+
boundary !== -1;
|
|
55
|
+
boundary = content.indexOf('\n\n', boundary + 2)
|
|
56
|
+
) {
|
|
57
|
+
if (!isInsideCodeFence(boundary)) {
|
|
58
|
+
return boundary;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return content.length;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function endsBlockOrSentence(content: string, position: number): boolean {
|
|
65
|
+
let index = position - 1;
|
|
66
|
+
while (index >= 0 && /\s/.test(content[index])) {
|
|
67
|
+
if (content[index] === '\n') return true;
|
|
68
|
+
index--;
|
|
69
|
+
}
|
|
70
|
+
while (index >= 0 && CLOSING_MARKS.includes(content[index])) index--;
|
|
71
|
+
return index >= 0 && SENTENCE_END_MARKS.includes(content[index]);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Groups consecutive tool calls and drops text that is only whitespace. While the answer is
|
|
76
|
+
* generated, an answer with nothing to show yet is one empty active group (the thinking status),
|
|
77
|
+
* and the last group is active until text that is not whitespace follows it.
|
|
78
|
+
*/
|
|
79
|
+
export function groupToolCallSegments(
|
|
80
|
+
segments: ContentSegment[],
|
|
81
|
+
isGenerating?: boolean,
|
|
82
|
+
): GroupedContentSegment[] {
|
|
83
|
+
const grouped: GroupedContentSegment[] = [];
|
|
84
|
+
let text = '';
|
|
85
|
+
|
|
86
|
+
for (const segment of segments) {
|
|
87
|
+
if (segment.type === 'text') {
|
|
88
|
+
text += segment.text;
|
|
89
|
+
if (segment.text.trim()) {
|
|
90
|
+
grouped.push(segment);
|
|
91
|
+
}
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
const previous = grouped.at(-1);
|
|
95
|
+
if (previous?.type === 'tools') {
|
|
96
|
+
previous.toolCalls.push(segment.toolCall);
|
|
97
|
+
} else {
|
|
98
|
+
grouped.push({ type: 'tools', toolCalls: [segment.toolCall], isActive: false });
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (!isGenerating) {
|
|
103
|
+
return grouped;
|
|
104
|
+
}
|
|
105
|
+
const last = grouped.at(-1);
|
|
106
|
+
if (last?.type === 'tools') {
|
|
107
|
+
last.isActive = !text.slice(last.toolCalls.at(-1)?.position ?? 0).trim();
|
|
108
|
+
} else if (grouped.length === 0) {
|
|
109
|
+
return [{ type: 'tools', toolCalls: [], isActive: true }];
|
|
110
|
+
}
|
|
111
|
+
return grouped;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function hasToolCallsAndText(segments: ContentSegment[]): boolean {
|
|
115
|
+
return (
|
|
116
|
+
segments.some((segment) => segment.type === 'tool') &&
|
|
117
|
+
segments.some((segment) => segment.type === 'text' && segment.text.trim().length > 0)
|
|
118
|
+
);
|
|
119
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a string to title case for catalog option labels.
|
|
3
|
+
* Splits on whitespace, hyphens, and underscores; capitalizes each word.
|
|
4
|
+
* The first word is rendered as "API" when it is "api" (case-insensitive).
|
|
5
|
+
*
|
|
6
|
+
* @param str - The raw string to format (e.g. from config or entity data).
|
|
7
|
+
* @returns The formatted label with words capitalized and joined by spaces.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* customCatalogOptionsCasing('api_spec') // 'API Spec'
|
|
11
|
+
* customCatalogOptionsCasing('my-custom-option') // 'My Custom Option'
|
|
12
|
+
* customCatalogOptionsCasing('user name') // 'User Name'
|
|
13
|
+
* customCatalogOptionsCasing(' api version ') // 'API Version'
|
|
14
|
+
*/
|
|
15
|
+
export function customCatalogOptionsCasing(str: string): string {
|
|
16
|
+
const trimmedStr = str.trim();
|
|
17
|
+
if (!trimmedStr) return trimmedStr;
|
|
18
|
+
|
|
19
|
+
const words = trimmedStr.split(/[\s-_]+/);
|
|
20
|
+
|
|
21
|
+
return words
|
|
22
|
+
.map((word, index) => {
|
|
23
|
+
if (index === 0 && word.toLowerCase() === 'api') {
|
|
24
|
+
return 'API';
|
|
25
|
+
}
|
|
26
|
+
return word[0].toUpperCase() + word.slice(1);
|
|
27
|
+
})
|
|
28
|
+
.join(' ');
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Formats a date string to localized short date format (e.g., "Dec 12, 2025")
|
|
3
|
+
* @param dateString - ISO date string or null
|
|
4
|
+
* @param locale - Locale string (e.g., "en-US")
|
|
5
|
+
* @returns Formatted date string or empty string if dateString is null
|
|
6
|
+
*/
|
|
7
|
+
export function toLocalizedShortDate(dateString: string | null, locale: string): string {
|
|
8
|
+
if (!dateString) return '';
|
|
9
|
+
const date = new Date(dateString);
|
|
10
|
+
return date.toLocaleDateString(locale, {
|
|
11
|
+
month: 'short',
|
|
12
|
+
day: 'numeric',
|
|
13
|
+
year: 'numeric',
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Formats a date string to localized short date-time format (e.g., "Dec 12, 3:45 PM")
|
|
19
|
+
* @param dateString - ISO date string or null
|
|
20
|
+
* @param locale - Locale string (e.g., "en-US")
|
|
21
|
+
* @returns Formatted date-time string or empty string if dateString is null
|
|
22
|
+
*/
|
|
23
|
+
export function toLocalizedShortDateTime(dateString: string | null, locale: string): string {
|
|
24
|
+
if (!dateString) return '';
|
|
25
|
+
const date = new Date(dateString);
|
|
26
|
+
return date.toLocaleString(locale, {
|
|
27
|
+
month: 'short',
|
|
28
|
+
day: 'numeric',
|
|
29
|
+
hour: 'numeric',
|
|
30
|
+
minute: '2-digit',
|
|
31
|
+
hour12: true,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export function extendDetailsBehaviour() {
|
|
2
|
+
enhanceDetails();
|
|
3
|
+
openDetailsFromHash();
|
|
4
|
+
window.addEventListener('hashchange', openDetailsFromHash);
|
|
5
|
+
|
|
6
|
+
return () => {
|
|
7
|
+
window.removeEventListener('hashchange', openDetailsFromHash);
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function openDetailsAndScroll(detailsElement: Element) {
|
|
12
|
+
detailsElement.setAttribute('open', '');
|
|
13
|
+
setTimeout(() => {
|
|
14
|
+
detailsElement.scrollIntoView({
|
|
15
|
+
block: 'center',
|
|
16
|
+
behavior: 'smooth',
|
|
17
|
+
});
|
|
18
|
+
}, 0);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function enhanceDetails() {
|
|
22
|
+
const existingIds: string[] = [];
|
|
23
|
+
Array.from(document.getElementsByTagName('details')).forEach((detailsElement, index) => {
|
|
24
|
+
if (detailsElement.id) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const generatedId =
|
|
29
|
+
detailsElement.querySelector('summary')?.textContent?.replace(/\s+/g, '-').toLowerCase() ||
|
|
30
|
+
`details-${index}`;
|
|
31
|
+
|
|
32
|
+
detailsElement.id = existingIds.includes(generatedId) ? `${generatedId}-${index}` : generatedId;
|
|
33
|
+
|
|
34
|
+
existingIds.push(detailsElement.id);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function openDetailsFromHash() {
|
|
39
|
+
const hash = window.location.hash;
|
|
40
|
+
if (!hash) return;
|
|
41
|
+
|
|
42
|
+
const detailsElement = document.getElementById(hash.substring(1));
|
|
43
|
+
|
|
44
|
+
if (detailsElement?.tagName === 'DETAILS') {
|
|
45
|
+
openDetailsAndScroll(detailsElement);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const IS_BROWSER = typeof window !== 'undefined' && 'HTMLElement' in window;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { saveAs } from 'file-saver';
|
|
2
|
+
|
|
3
|
+
import type { CodeWalkthroughFile } from '@redocly/theme/core/types';
|
|
4
|
+
|
|
5
|
+
import { removeLeadingSlash } from './urls';
|
|
6
|
+
import { findClosestCommonDirectory } from './find-closest-common-directory';
|
|
7
|
+
import { getCodeWalkthroughFileText } from './get-code-walkthrough-file-text';
|
|
8
|
+
|
|
9
|
+
export async function downloadCodeWalkthrough(
|
|
10
|
+
files: CodeWalkthroughFile[],
|
|
11
|
+
state: Record<string, { value: string | boolean }>,
|
|
12
|
+
inputsState: Record<string, { value: string }>,
|
|
13
|
+
) {
|
|
14
|
+
const JSZip = (await import('jszip')).default;
|
|
15
|
+
|
|
16
|
+
// https://github.com/Stuk/jszip/issues/196#issuecomment-69503828
|
|
17
|
+
JSZip.support.nodebuffer = false;
|
|
18
|
+
|
|
19
|
+
const zip = new JSZip();
|
|
20
|
+
|
|
21
|
+
const filePaths = files.map(({ path }) => path);
|
|
22
|
+
const commonClosestDirectory = findClosestCommonDirectory(filePaths);
|
|
23
|
+
|
|
24
|
+
for (const file of files) {
|
|
25
|
+
const fileContent = getCodeWalkthroughFileText(file, state, inputsState);
|
|
26
|
+
if (commonClosestDirectory === '/') {
|
|
27
|
+
zip.file(file.path, fileContent);
|
|
28
|
+
} else {
|
|
29
|
+
const filePath = file.path.replace(removeLeadingSlash(`${commonClosestDirectory}/`), '');
|
|
30
|
+
zip.file(filePath, fileContent);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const zipContent = await zip.generateAsync({ type: 'blob' });
|
|
35
|
+
saveAs(zipContent, 'sample-code.zip');
|
|
36
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DropdownAlignment } from '../types/dropdown';
|
|
2
|
+
|
|
3
|
+
export function fitDropdownAlignment(
|
|
4
|
+
anchor: DOMRect,
|
|
5
|
+
menuWidth: number,
|
|
6
|
+
alignment: DropdownAlignment = 'start',
|
|
7
|
+
): DropdownAlignment {
|
|
8
|
+
const fits: Record<DropdownAlignment, boolean> = {
|
|
9
|
+
start: anchor.left + menuWidth <= window.innerWidth,
|
|
10
|
+
end: anchor.right - menuWidth >= 0,
|
|
11
|
+
};
|
|
12
|
+
const other: DropdownAlignment = alignment === 'end' ? 'start' : 'end';
|
|
13
|
+
return fits[alignment] || !fits[other] ? alignment : other;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enhanced smoothstep function for smooth interpolation with configurable threshold.
|
|
3
|
+
* Used in active heading detection to create virtual positions for better scroll behavior.
|
|
4
|
+
*/
|
|
5
|
+
export function enhancedSmoothstep(input: number, threshold: number = 0.4): number {
|
|
6
|
+
if (input <= threshold) {
|
|
7
|
+
return 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const normalizedValue = Math.min(Math.max((input - threshold) / (1 - threshold), 0), 1);
|
|
11
|
+
return (
|
|
12
|
+
3 * normalizedValue * normalizedValue - 2 * normalizedValue * normalizedValue * normalizedValue
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Splits a file path into its directory components, removing the file name.
|
|
3
|
+
* @param path - The full file path.
|
|
4
|
+
* @returns An array of directories.
|
|
5
|
+
*/
|
|
6
|
+
function splitPath(path: string): string[] {
|
|
7
|
+
const parts = path.split('/').filter(Boolean);
|
|
8
|
+
parts.pop();
|
|
9
|
+
return parts;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Finds the longest common prefix between two paths.
|
|
14
|
+
* @param path1 - The first path as an array of directories.
|
|
15
|
+
* @param path2 - The second path as an array of directories.
|
|
16
|
+
* @returns An array representing the common prefix.
|
|
17
|
+
*/
|
|
18
|
+
function findCommonPrefix(path1: string[], path2: string[]): string[] {
|
|
19
|
+
const common: string[] = [];
|
|
20
|
+
for (let i = 0; i < Math.min(path1.length, path2.length); i++) {
|
|
21
|
+
if (path1[i] === path2[i]) {
|
|
22
|
+
common.push(path1[i]);
|
|
23
|
+
} else {
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return common;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Finds the closest common directory for a set of file paths.
|
|
32
|
+
* @param paths - An array of absolute file paths.
|
|
33
|
+
* @returns The closest common directory as a string.
|
|
34
|
+
*/
|
|
35
|
+
export function findClosestCommonDirectory(paths: string[]): string {
|
|
36
|
+
if (paths.length === 0) {
|
|
37
|
+
return '/';
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const splitPaths = paths.map(splitPath);
|
|
41
|
+
let commonPrefix = splitPaths[0];
|
|
42
|
+
|
|
43
|
+
for (let i = 1; i < splitPaths.length; i++) {
|
|
44
|
+
commonPrefix = findCommonPrefix(commonPrefix, splitPaths[i]);
|
|
45
|
+
if (commonPrefix.length === 0) {
|
|
46
|
+
return '/';
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
return '/' + commonPrefix.join('/');
|
|
51
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function formatDateWithoutTimeZone(date?: Date | null) {
|
|
2
|
+
if (!date) return date;
|
|
3
|
+
|
|
4
|
+
return `${date.getFullYear()}-${padZero(date.getMonth() + 1)}-${padZero(date.getDate())}`;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function padZero(num: number) {
|
|
8
|
+
return num < 10 ? '0' + num : num;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility function for use in React frontmatter
|
|
3
|
+
* This function creates a string that will be processed by the frontmatter loader
|
|
4
|
+
* to convert it into a translation key object
|
|
5
|
+
*/
|
|
6
|
+
export const frontmatterTranslate = (key: string, defaultValue: string): string => {
|
|
7
|
+
const escapedDefaultValue = defaultValue.replace(/'/g, "\\'");
|
|
8
|
+
return `frontmatterTranslate('${key}', '${escapedDefaultValue}')`;
|
|
9
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { AiPromptTarget } from '../types/prompt';
|
|
2
|
+
|
|
3
|
+
type AiPromptEndpoint = { baseUrl: string; queryParam: string };
|
|
4
|
+
|
|
5
|
+
const AI_PROMPT_ENDPOINTS: Record<AiPromptTarget, AiPromptEndpoint> = {
|
|
6
|
+
chatgpt: { baseUrl: 'https://chat.openai.com', queryParam: 'q' },
|
|
7
|
+
claude: { baseUrl: 'https://claude.ai/new', queryParam: 'q' },
|
|
8
|
+
// Encoding: https://cursor.com/docs/integrations/deeplinks
|
|
9
|
+
cursor: { baseUrl: 'https://cursor.com/link/prompt', queryParam: 'text' },
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Builds a link that opens an AI tool with the prompt prefilled.
|
|
14
|
+
*
|
|
15
|
+
* @param target - The AI tool to open.
|
|
16
|
+
* @param prompt - The plain-text prompt to prefill.
|
|
17
|
+
* @returns The absolute URL with the encoded prompt in the query string.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* getAiPromptLink('claude', 'Summarize this page');
|
|
22
|
+
* // 'https://claude.ai/new?q=Summarize+this+page'
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export function getAiPromptLink(target: AiPromptTarget, prompt: string): string {
|
|
26
|
+
const { baseUrl, queryParam } = AI_PROMPT_ENDPOINTS[target];
|
|
27
|
+
const url = new URL(baseUrl);
|
|
28
|
+
url.searchParams.set(queryParam, prompt);
|
|
29
|
+
return url.toString();
|
|
30
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ToastType } from '../types/toast';
|
|
2
|
+
|
|
3
|
+
const SIMPLE_TOAST_DURATION_MS = 2500;
|
|
4
|
+
const DETAILED_TOAST_DURATION_MS = 4000;
|
|
5
|
+
|
|
6
|
+
export function getAutoDismissDuration(
|
|
7
|
+
hasDetails: boolean,
|
|
8
|
+
type: ToastType,
|
|
9
|
+
duration?: number,
|
|
10
|
+
): number | null {
|
|
11
|
+
if (duration !== undefined) {
|
|
12
|
+
return duration;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (type === 'loading') {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return hasDetails ? DETAILED_TOAST_DURATION_MS : SIMPLE_TOAST_DURATION_MS;
|
|
20
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { CodeWalkthroughFile, CodeWalkthroughNode } from '@redocly/theme/core/types';
|
|
2
|
+
|
|
3
|
+
import { matchCodeWalkthroughConditions } from './match-code-walkthrough-conditions';
|
|
4
|
+
import { replaceInputsWithValue } from './replace-inputs-with-value';
|
|
5
|
+
|
|
6
|
+
export function getCodeWalkthroughFileText(
|
|
7
|
+
file: CodeWalkthroughFile,
|
|
8
|
+
state: Record<string, { value: string | boolean }>,
|
|
9
|
+
inputsState: Record<string, { value: string }>,
|
|
10
|
+
) {
|
|
11
|
+
const contentChunks: string[] =
|
|
12
|
+
file?.content.flatMap((node) => getChunkText(node, state, inputsState)) ?? [];
|
|
13
|
+
|
|
14
|
+
return contentChunks.join('\n');
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function getChunkText(
|
|
18
|
+
node: CodeWalkthroughNode,
|
|
19
|
+
state: Record<string, { value: string | boolean }>,
|
|
20
|
+
inputsState: Record<string, { value: string }>,
|
|
21
|
+
): string[] {
|
|
22
|
+
if (typeof node === 'string') {
|
|
23
|
+
const replacedNode = replaceInputsWithValue(node, inputsState);
|
|
24
|
+
|
|
25
|
+
return [replacedNode];
|
|
26
|
+
} else {
|
|
27
|
+
if (!matchCodeWalkthroughConditions(node.condition || {}, state)) {
|
|
28
|
+
return [];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
return node.children.flatMap((child) => getChunkText(child, state, inputsState));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function getNavbarElement(): HTMLElement | null {
|
|
2
|
+
const navElements = (typeof document !== 'undefined' && document.querySelectorAll('nav')) || [];
|
|
3
|
+
// there can be multiple nav elements (e.g. mobile and non-mobile), let's use the first one with non-zero height
|
|
4
|
+
for (let i = 0; i < navElements.length; i++) {
|
|
5
|
+
if (navElements[i].getBoundingClientRect().height > 1) {
|
|
6
|
+
return navElements[i];
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
return navElements[0] || null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type OperationColorProps = {
|
|
2
|
+
deprecated?: boolean;
|
|
3
|
+
isAdditionalOperation?: boolean;
|
|
4
|
+
httpVerb: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export function getOperationColor({
|
|
8
|
+
deprecated,
|
|
9
|
+
isAdditionalOperation,
|
|
10
|
+
httpVerb,
|
|
11
|
+
}: OperationColorProps): string {
|
|
12
|
+
if (deprecated) {
|
|
13
|
+
return 'http-deprecated';
|
|
14
|
+
} else if (isAdditionalOperation) {
|
|
15
|
+
return 'http-additional-operation';
|
|
16
|
+
}
|
|
17
|
+
return httpVerb;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export const getScorecardColorVariable = (
|
|
2
|
+
levelIndex: number,
|
|
3
|
+
scorecardLevelsLength: number,
|
|
4
|
+
): string => {
|
|
5
|
+
let colorLevels = scorecardLevelsLength;
|
|
6
|
+
|
|
7
|
+
if (colorLevels > 5) {
|
|
8
|
+
colorLevels = 5;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
if (colorLevels < 2) {
|
|
12
|
+
colorLevels = 2;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return `--scorecard-level-color-${colorLevels}-${
|
|
16
|
+
levelIndex + 1 > colorLevels ? colorLevels : levelIndex + 1
|
|
17
|
+
}`;
|
|
18
|
+
};
|