@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,504 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SearchDialog = SearchDialog;
|
|
40
|
+
const react_1 = __importStar(require("react"));
|
|
41
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
42
|
+
const SearchInput_1 = require("../../components/Search/SearchInput");
|
|
43
|
+
const SearchShortcut_1 = require("../../components/Search/SearchShortcut");
|
|
44
|
+
const should_show_load_more_1 = require("../../components/Search/should-show-load-more");
|
|
45
|
+
const Button_1 = require("../../components/Button/Button");
|
|
46
|
+
const utils_1 = require("../../core/utils");
|
|
47
|
+
const Portal_1 = require("../../components/Portal/Portal");
|
|
48
|
+
const SearchItem_1 = require("../../components/Search/SearchItem");
|
|
49
|
+
const SearchRecent_1 = require("../../components/Search/SearchRecent");
|
|
50
|
+
const SearchSuggestedPages_1 = require("../../components/Search/SearchSuggestedPages");
|
|
51
|
+
const hooks_1 = require("../../core/hooks");
|
|
52
|
+
const Tag_1 = require("../../components/Tag/Tag");
|
|
53
|
+
const CloseIcon_1 = require("../../icons/CloseIcon/CloseIcon");
|
|
54
|
+
const SearchFilter_1 = require("../../components/Search/SearchFilter");
|
|
55
|
+
const SearchGroups_1 = require("../../components/Search/SearchGroups");
|
|
56
|
+
const Typography_1 = require("../../components/Typography/Typography");
|
|
57
|
+
const SpinnerLoader_1 = require("../../components/Loaders/SpinnerLoader");
|
|
58
|
+
const SearchAiDialog_1 = require("../../components/Search/SearchAiDialog");
|
|
59
|
+
const contexts_1 = require("../../core/contexts");
|
|
60
|
+
const SettingsIcon_1 = require("../../icons/SettingsIcon/SettingsIcon");
|
|
61
|
+
const AiStarsIcon_1 = require("../../icons/AiStarsIcon/AiStarsIcon");
|
|
62
|
+
const ReturnKeyIcon_1 = require("../../icons/ReturnKeyIcon/ReturnKeyIcon");
|
|
63
|
+
const ChevronLeftIcon_1 = require("../../icons/ChevronLeftIcon/ChevronLeftIcon");
|
|
64
|
+
const EditIcon_1 = require("../../icons/EditIcon/EditIcon");
|
|
65
|
+
const AiStarsGradientIcon_1 = require("../../icons/AiStarsGradientIcon/AiStarsGradientIcon");
|
|
66
|
+
const ResetIcon_1 = require("../../icons/ResetIcon/ResetIcon");
|
|
67
|
+
const CloseFilledIcon_1 = require("../../icons/CloseFilledIcon/CloseFilledIcon");
|
|
68
|
+
function SearchDialog({ onClose, className, initialMode = 'search', }) {
|
|
69
|
+
const { useTranslate, useCurrentProduct, useSearch, useProducts, useAiSearch, useTelemetry } = (0, hooks_1.useThemeHooks)();
|
|
70
|
+
const telemetry = useTelemetry();
|
|
71
|
+
const { searchSessionId, refreshSearchSessionId } = (0, contexts_1.useSearchSession)();
|
|
72
|
+
const products = useProducts();
|
|
73
|
+
const currentProduct = useCurrentProduct();
|
|
74
|
+
const [product, setProduct] = (0, react_1.useState)(currentProduct);
|
|
75
|
+
const [mode, setMode] = (0, react_1.useState)(initialMode);
|
|
76
|
+
const autoSearchDisabled = mode !== 'search';
|
|
77
|
+
const { query, setQuery, filter, setFilter, items, isSearchLoading, facets, groupCounts, setLoadMore, advancedSearch, askAi, groupField, searchError, retrySearch, } = useSearch(product === null || product === void 0 ? void 0 : product.name, autoSearchDisabled);
|
|
78
|
+
const { isFilterOpen, onFilterToggle, onFilterChange, onFilterReset, onFacetReset, onQuickFilterReset, } = (0, hooks_1.useSearchFilter)(filter, setFilter);
|
|
79
|
+
(0, hooks_1.usePersistedQuickFilter)({
|
|
80
|
+
filter,
|
|
81
|
+
setFilter,
|
|
82
|
+
facets,
|
|
83
|
+
groupField,
|
|
84
|
+
query,
|
|
85
|
+
isSearchLoading,
|
|
86
|
+
searchError,
|
|
87
|
+
enabled: initialMode === 'search',
|
|
88
|
+
});
|
|
89
|
+
const { addSearchHistoryItem } = (0, hooks_1.useRecentSearches)();
|
|
90
|
+
const aiSearch = useAiSearch({ filter: filter, product: product === null || product === void 0 ? void 0 : product.name });
|
|
91
|
+
(0, hooks_1.useModalScrollLock)(true);
|
|
92
|
+
const searchInputRef = (0, react_1.useRef)(null);
|
|
93
|
+
const modalRef = (0, react_1.useRef)(null);
|
|
94
|
+
const [isMobile, setIsMobile] = (0, react_1.useState)(false);
|
|
95
|
+
(0, react_1.useEffect)(() => {
|
|
96
|
+
const mediaQuery = window.matchMedia(`(max-width: ${utils_1.breakpoints.small})`);
|
|
97
|
+
setIsMobile(mediaQuery.matches);
|
|
98
|
+
const handleChange = (e) => {
|
|
99
|
+
setIsMobile(e.matches);
|
|
100
|
+
};
|
|
101
|
+
mediaQuery.addEventListener('change', handleChange);
|
|
102
|
+
return () => mediaQuery.removeEventListener('change', handleChange);
|
|
103
|
+
}, []);
|
|
104
|
+
const aiQueryRef = (0, react_1.useRef)(null);
|
|
105
|
+
const firstSearchResultRef = (0, react_1.useRef)(null);
|
|
106
|
+
const searchKeysWithResults = items ? Object.keys(items).filter((key) => { var _a; return (_a = items[key]) === null || _a === void 0 ? void 0 : _a.length; }) : [];
|
|
107
|
+
const { translate } = useTranslate();
|
|
108
|
+
const handleClose = (0, react_1.useCallback)(() => {
|
|
109
|
+
var _a;
|
|
110
|
+
const value = (_a = searchInputRef === null || searchInputRef === void 0 ? void 0 : searchInputRef.current) === null || _a === void 0 ? void 0 : _a.value;
|
|
111
|
+
if (value) {
|
|
112
|
+
addSearchHistoryItem(value);
|
|
113
|
+
}
|
|
114
|
+
// Refresh the search session id so a new session starts on next open
|
|
115
|
+
refreshSearchSessionId();
|
|
116
|
+
onClose();
|
|
117
|
+
}, [addSearchHistoryItem, onClose, refreshSearchSessionId]);
|
|
118
|
+
(0, hooks_1.useDialogHotKeys)(modalRef, handleClose);
|
|
119
|
+
const focusSearchInput = () => {
|
|
120
|
+
requestAnimationFrame(() => {
|
|
121
|
+
var _a;
|
|
122
|
+
(_a = searchInputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
(0, react_1.useEffect)(() => {
|
|
126
|
+
if (mode === 'ai-dialog' && aiSearch.isGeneratingResponse) {
|
|
127
|
+
setQuery('');
|
|
128
|
+
}
|
|
129
|
+
}, [mode, aiSearch.isGeneratingResponse, setQuery]);
|
|
130
|
+
(0, react_1.useEffect)(focusSearchInput, []);
|
|
131
|
+
const handleOverlayClick = (0, react_1.useCallback)((event) => {
|
|
132
|
+
var _a;
|
|
133
|
+
if (event.button !== 0)
|
|
134
|
+
return;
|
|
135
|
+
const target = event.target;
|
|
136
|
+
if (typeof target.className !== 'string')
|
|
137
|
+
return;
|
|
138
|
+
if ((_a = target.className) === null || _a === void 0 ? void 0 : _a.includes(' overlay')) {
|
|
139
|
+
handleClose();
|
|
140
|
+
}
|
|
141
|
+
}, [handleClose]);
|
|
142
|
+
const mapItem = (0, react_1.useCallback)((item, index, results, innerRef) => {
|
|
143
|
+
var _a;
|
|
144
|
+
let itemProduct;
|
|
145
|
+
if (!product && item.document.product) {
|
|
146
|
+
const folder = (_a = item.document.product) === null || _a === void 0 ? void 0 : _a.folder;
|
|
147
|
+
const resolvedProduct = products.find((product) => product.slug.match(`/${folder.startsWith('./') ? folder.slice(2) : folder}/`));
|
|
148
|
+
itemProduct = resolvedProduct
|
|
149
|
+
? { name: resolvedProduct.name, icon: resolvedProduct.icon }
|
|
150
|
+
: undefined;
|
|
151
|
+
}
|
|
152
|
+
return (react_1.default.createElement(SearchItem_1.SearchItem, { key: `${index}-${item.document.id}`, item: item, product: itemProduct, innerRef: innerRef, onClick: () => {
|
|
153
|
+
addSearchHistoryItem(query);
|
|
154
|
+
telemetry.sendSearchResultClickedMessage([
|
|
155
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('searchResultItem', 'search', item.document.url)), { query: query, totalResults: results.length.toString(), index: index.toString(), searchEngine: mode, searchSessionId }),
|
|
156
|
+
]);
|
|
157
|
+
onClose();
|
|
158
|
+
} }));
|
|
159
|
+
}, [onClose, product, products, addSearchHistoryItem, query, telemetry, mode, searchSessionId]);
|
|
160
|
+
const showLoadMore = (0, react_1.useCallback)((groupKey, currentCount = 0) => (0, should_show_load_more_1.shouldShowLoadMore)({ groupKey, currentCount, groupCounts, facets, groupField }), [groupCounts, facets, groupField]);
|
|
161
|
+
const showResults = !!((filter && filter.length) || query);
|
|
162
|
+
const showSearchFilterButton = advancedSearch && mode === 'search';
|
|
163
|
+
const showAiSearchButton = askAi && mode === 'search';
|
|
164
|
+
const showAiSearchItem = showAiSearchButton && query;
|
|
165
|
+
const showHeaderButtons = showSearchFilterButton || showAiSearchButton;
|
|
166
|
+
return (react_1.default.createElement(Portal_1.Portal, null,
|
|
167
|
+
react_1.default.createElement(SearchOverlay, { "data-component-name": "Search/SearchDialog", ref: modalRef, onPointerDown: handleOverlayClick, className: (0, utils_1.concatClassNames)('overlay', className) },
|
|
168
|
+
react_1.default.createElement(SearchDialogWrapper, { className: "scroll-lock", role: "dialog" },
|
|
169
|
+
react_1.default.createElement(SearchDialogHeader, null,
|
|
170
|
+
product && (react_1.default.createElement(SearchProductTag, { color: "product" },
|
|
171
|
+
product.name,
|
|
172
|
+
react_1.default.createElement(CloseIcon_1.CloseIcon, { onClick: () => setProduct(undefined), color: "--icon-color-additional" }))),
|
|
173
|
+
mode === 'search' ? (react_1.default.createElement(react_1.default.Fragment, null,
|
|
174
|
+
react_1.default.createElement(SearchInput_1.SearchInput, { value: query, onChange: setQuery, placeholder: translate('search.label', 'Search docs...'), isLoading: isSearchLoading, inputRef: searchInputRef, onSubmit: () => {
|
|
175
|
+
var _a;
|
|
176
|
+
if (isSearchLoading)
|
|
177
|
+
return;
|
|
178
|
+
if (showAiSearchButton && aiQueryRef.current) {
|
|
179
|
+
aiQueryRef.current.focus();
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
(_a = firstSearchResultRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
183
|
+
}
|
|
184
|
+
}, "data-translation-key": "search.label" }),
|
|
185
|
+
showHeaderButtons && (react_1.default.createElement(SearchHeaderButtons, null,
|
|
186
|
+
showAiSearchButton ? (react_1.default.createElement(SearchAiButton, { icon: react_1.default.createElement(AiStarsGradientIcon_1.AiStarsGradientIcon, { color: "var(--search-ai-button-icon-color)" }), onClick: () => {
|
|
187
|
+
setMode('ai-dialog');
|
|
188
|
+
if (query.trim()) {
|
|
189
|
+
aiSearch.askQuestion(query);
|
|
190
|
+
}
|
|
191
|
+
telemetry.sendSearchAiOpenedMessage([
|
|
192
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('searchAiButton', 'search')), { method: 'ai_search_button' }),
|
|
193
|
+
]);
|
|
194
|
+
} }, translate('search.ai.button', 'Search with AI'))) : null,
|
|
195
|
+
showSearchFilterButton && (react_1.default.createElement(SearchFilterToggleButton, { icon: react_1.default.createElement(SettingsIcon_1.SettingsIcon, null), onClick: onFilterToggle })))))) : (react_1.default.createElement(AiDialogHeaderWrapper, null,
|
|
196
|
+
initialMode === 'ai-dialog' ? (react_1.default.createElement(AiDialogHeaderTitle, null,
|
|
197
|
+
react_1.default.createElement(AiStarsGradientIcon_1.AiStarsGradientIcon, { color: "var(--search-ai-button-icon-color)", size: "1.25rem" }),
|
|
198
|
+
translate('search.ai.assistant', 'Assistant'))) : (react_1.default.createElement(Button_1.Button, { variant: "secondary", onClick: () => {
|
|
199
|
+
setMode('search');
|
|
200
|
+
aiSearch.clearConversation();
|
|
201
|
+
focusSearchInput();
|
|
202
|
+
}, tabIndex: 0, icon: react_1.default.createElement(ChevronLeftIcon_1.ChevronLeftIcon, null) }, isMobile
|
|
203
|
+
? translate('search.ai.back', 'Back')
|
|
204
|
+
: translate('search.ai.backToSearch', 'Back to search'))),
|
|
205
|
+
react_1.default.createElement(AiDialogHeaderActionsWrapper, null,
|
|
206
|
+
react_1.default.createElement(Button_1.Button, { variant: "secondary", disabled: !aiSearch.conversation.length, onClick: () => {
|
|
207
|
+
refreshSearchSessionId();
|
|
208
|
+
aiSearch.clearConversation();
|
|
209
|
+
}, tabIndex: 0, icon: react_1.default.createElement(EditIcon_1.EditIcon, null) }, translate('search.ai.newConversation', 'New conversation')),
|
|
210
|
+
isMobile && react_1.default.createElement(Button_1.Button, { variant: "text", icon: react_1.default.createElement(CloseIcon_1.CloseIcon, null), onClick: handleClose }))))),
|
|
211
|
+
react_1.default.createElement(SearchDialogBody, null, mode === 'search' ? (react_1.default.createElement(react_1.default.Fragment, null,
|
|
212
|
+
advancedSearch && isFilterOpen && (react_1.default.createElement(SearchDialogBodyFilterView, null,
|
|
213
|
+
react_1.default.createElement(SearchFilter_1.SearchFilter, { facets: facets, filter: filter, query: query, quickFilterFields: [groupField], onFilterChange: onFilterChange, onFilterReset: onFilterReset, onFacetReset: onFacetReset }))),
|
|
214
|
+
react_1.default.createElement(SearchDialogBodyMainView, null,
|
|
215
|
+
react_1.default.createElement(SearchGroups_1.SearchGroups, { facets: facets, searchFilter: filter, onFilterChange: onFilterChange, onQuickFilterReset: onQuickFilterReset, groupField: groupField }),
|
|
216
|
+
showAiSearchItem && (react_1.default.createElement(SearchWithAI, { onClick: () => {
|
|
217
|
+
setMode('ai-dialog');
|
|
218
|
+
if (query.trim()) {
|
|
219
|
+
aiSearch.askQuestion(query);
|
|
220
|
+
}
|
|
221
|
+
telemetry.sendSearchAiOpenedMessage([
|
|
222
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('searchAiInput', 'search')), { method: 'ai_search_input' }),
|
|
223
|
+
]);
|
|
224
|
+
}, onKeyDown: (e) => {
|
|
225
|
+
if (e.key === 'Enter') {
|
|
226
|
+
setMode('ai-dialog');
|
|
227
|
+
if (query.trim()) {
|
|
228
|
+
aiSearch.askQuestion(query);
|
|
229
|
+
}
|
|
230
|
+
telemetry.sendSearchAiOpenedMessage([
|
|
231
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('searchAiInput', 'search')), { method: 'ai_search_input' }),
|
|
232
|
+
]);
|
|
233
|
+
}
|
|
234
|
+
}, ref: aiQueryRef, tabIndex: 0, role: "option", "aria-selected": "true" },
|
|
235
|
+
react_1.default.createElement(AiStarsIcon_1.AiStarsIcon, { style: { flexShrink: 0 }, color: "var(--search-ai-icon-color)", size: "36px", background: "var(--search-ai-icon-bg-color)", margin: "0 var(--spacing-md) 0 0", borderRadius: "var(--border-radius-lg)" }),
|
|
236
|
+
react_1.default.createElement(QueryWrapper, null,
|
|
237
|
+
react_1.default.createElement(Typography_1.Typography, { fontWeight: "var(--font-weight-semibold)" }, query)),
|
|
238
|
+
react_1.default.createElement(Typography_1.Typography, null,
|
|
239
|
+
"- ",
|
|
240
|
+
translate('search.ai.label', 'Ask AI assistant')),
|
|
241
|
+
react_1.default.createElement(ReturnKeyIcon_1.ReturnKeyIcon, { color: "var(--search-item-text-color)" }))),
|
|
242
|
+
showResults ? (searchKeysWithResults.length ? (searchKeysWithResults.map((key, searchGroupKeyIdx) => {
|
|
243
|
+
const searchResultItems = items[key];
|
|
244
|
+
if (searchResultItems === null || searchResultItems === void 0 ? void 0 : searchResultItems.length) {
|
|
245
|
+
return (react_1.default.createElement(react_1.Fragment, { key: key },
|
|
246
|
+
react_1.default.createElement(SearchGroupTitle, { "data-testid": "search-group-title" }, key),
|
|
247
|
+
searchResultItems.map((item, idx, resultsArr) => mapItem(item, idx, resultsArr, searchGroupKeyIdx === 0 ? firstSearchResultRef : undefined)),
|
|
248
|
+
showLoadMore(key, searchResultItems.length || 0) && (react_1.default.createElement(SearchGroupFooter, { tabIndex: 0, "data-translation-key": "search.showMore", onKeyDown: (e) => {
|
|
249
|
+
if (e.key === 'Enter') {
|
|
250
|
+
setLoadMore({
|
|
251
|
+
groupKey: key,
|
|
252
|
+
offset: searchResultItems.length || 0,
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
}, onClick: () => setLoadMore({
|
|
256
|
+
groupKey: key,
|
|
257
|
+
offset: searchResultItems.length || 0,
|
|
258
|
+
}) }, translate('search.showMore', 'Show more')))));
|
|
259
|
+
}
|
|
260
|
+
return null;
|
|
261
|
+
})) : isSearchLoading ? (react_1.default.createElement(SearchMessage, { "data-translation-key": "search.loading" },
|
|
262
|
+
react_1.default.createElement(SpinnerLoader_1.SpinnerLoader, { size: "26px", color: "var(--search-input-icon-color)" }),
|
|
263
|
+
translate('search.loading', 'Loading...'))) : searchError ? (react_1.default.createElement(SearchMessage, { "data-translation-key": "search.error" },
|
|
264
|
+
react_1.default.createElement(CloseFilledIcon_1.CloseFilledIcon, { size: "21px", color: "var(--color-error-base)" }),
|
|
265
|
+
translate('search.error.title', 'Oops! Something went wrong.'),
|
|
266
|
+
react_1.default.createElement(Button_1.Button, { variant: "secondary", size: "small", onClick: retrySearch, icon: react_1.default.createElement(ResetIcon_1.ResetIcon, null) }, translate('search.error.button', 'Try again')))) : (react_1.default.createElement(SearchMessage, { "data-translation-key": "search.noResults" },
|
|
267
|
+
react_1.default.createElement("b", null, translate('search.noResults.title', 'No results'))))) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
268
|
+
react_1.default.createElement(SearchRecent_1.SearchRecent, { onSelect: (query, index) => {
|
|
269
|
+
telemetry.sendSearchRecentClickedMessage([
|
|
270
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('searchRecentItem', 'search')), { query, index: index.toString(), searchSessionId }),
|
|
271
|
+
]);
|
|
272
|
+
setQuery(query);
|
|
273
|
+
focusSearchInput();
|
|
274
|
+
} }),
|
|
275
|
+
react_1.default.createElement(SearchSuggestedPages_1.SearchSuggestedPages, null)))))) : (react_1.default.createElement(SearchAiDialog_1.SearchAiDialog, { initialMessage: query, response: aiSearch.response, isGeneratingResponse: aiSearch.isGeneratingResponse, error: aiSearch.error, resources: aiSearch.resources, conversation: aiSearch.conversation, setConversation: aiSearch.setConversation, onMessageSent: aiSearch.askQuestion, toolCalls: aiSearch.toolCalls, contentSegments: aiSearch.contentSegments }))),
|
|
276
|
+
react_1.default.createElement(SearchDialogFooter, null, mode === 'ai-dialog' ? (react_1.default.createElement(AiDisclaimer, null, translate('search.ai.disclaimer', 'AI assistant might provide incomplete or incorrect results. Verify important information.'))) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
277
|
+
react_1.default.createElement(SearchShortcuts, null,
|
|
278
|
+
react_1.default.createElement(SearchShortcut_1.SearchShortcut, { "data-translation-key": "search.keys.navigate", combination: "Tab", text: translate('search.keys.navigate', 'to navigate') }),
|
|
279
|
+
react_1.default.createElement(SearchShortcut_1.SearchShortcut, { "data-translation-key": "search.keys.select", combination: "\u23CE", text: translate('search.keys.select', 'to select') }),
|
|
280
|
+
react_1.default.createElement(SearchShortcut_1.SearchShortcut, { "data-translation-key": "search.keys.exit", combination: "Esc", text: translate('search.keys.exit', 'to exit') })),
|
|
281
|
+
isSearchLoading && (react_1.default.createElement(SearchLoading, null,
|
|
282
|
+
react_1.default.createElement(SpinnerLoader_1.SpinnerLoader, { size: "16px", color: "var(--search-input-icon-color)" }),
|
|
283
|
+
translate('search.loading', 'Loading...'))),
|
|
284
|
+
react_1.default.createElement(SearchCancelButton, { "data-translation-key": "search.cancel", variant: "secondary", size: "small", onClick: handleClose }, translate('search.cancel', 'Cancel')))))))));
|
|
285
|
+
}
|
|
286
|
+
const SearchOverlay = styled_components_1.default.div `
|
|
287
|
+
position: fixed;
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
justify-content: center;
|
|
291
|
+
top: 0;
|
|
292
|
+
left: 0;
|
|
293
|
+
width: 100vw;
|
|
294
|
+
height: 100vh;
|
|
295
|
+
background: var(--bg-color-modal-overlay);
|
|
296
|
+
z-index: var(--z-index-overlay);
|
|
297
|
+
|
|
298
|
+
@media screen and (max-width: ${utils_1.breakpoints.small}) {
|
|
299
|
+
align-items: start;
|
|
300
|
+
position: fixed;
|
|
301
|
+
overflow: hidden;
|
|
302
|
+
overscroll-behavior: none;
|
|
303
|
+
}
|
|
304
|
+
`;
|
|
305
|
+
const SearchDialogWrapper = styled_components_1.default.div `
|
|
306
|
+
display: flex;
|
|
307
|
+
flex-direction: column;
|
|
308
|
+
overflow: auto;
|
|
309
|
+
width: 100vw;
|
|
310
|
+
height: 100vh;
|
|
311
|
+
background: var(--search-modal-bg-color);
|
|
312
|
+
box-shadow: var(--search-modal-box-shadow);
|
|
313
|
+
border-radius: 0;
|
|
314
|
+
|
|
315
|
+
@media screen and (max-width: ${utils_1.breakpoints.small}) {
|
|
316
|
+
min-height: -webkit-fill-available;
|
|
317
|
+
min-height: 100dvh;
|
|
318
|
+
height: 100dvh;
|
|
319
|
+
width: 100vw;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
@media screen and (min-width: ${utils_1.breakpoints.small}) {
|
|
323
|
+
border-radius: var(--search-modal-border-radius);
|
|
324
|
+
width: min(var(--search-modal-width), 95vw);
|
|
325
|
+
min-height: min(var(--search-modal-min-height), 95vh);
|
|
326
|
+
min-width: min(var(--search-modal-min-width), 95vw);
|
|
327
|
+
max-width: 95vw;
|
|
328
|
+
max-height: 95vh;
|
|
329
|
+
height: min(var(--search-modal-min-height), 95vh);
|
|
330
|
+
resize: both;
|
|
331
|
+
}
|
|
332
|
+
`;
|
|
333
|
+
const SearchDialogHeader = styled_components_1.default.header `
|
|
334
|
+
display: flex;
|
|
335
|
+
align-items: center;
|
|
336
|
+
border-bottom: var(--search-modal-border);
|
|
337
|
+
background-color: var(--search-modal-header-bg-color);
|
|
338
|
+
padding: var(--search-modal-header-padding);
|
|
339
|
+
`;
|
|
340
|
+
const AiDialogHeaderWrapper = styled_components_1.default.div `
|
|
341
|
+
display: flex;
|
|
342
|
+
justify-content: space-between;
|
|
343
|
+
align-items: center;
|
|
344
|
+
width: 100%;
|
|
345
|
+
`;
|
|
346
|
+
const AiDialogHeaderActionsWrapper = styled_components_1.default.div `
|
|
347
|
+
display: flex;
|
|
348
|
+
gap: var(--spacing-xxs);
|
|
349
|
+
`;
|
|
350
|
+
const AiDialogHeaderTitle = styled_components_1.default.span `
|
|
351
|
+
display: flex;
|
|
352
|
+
align-items: center;
|
|
353
|
+
gap: var(--spacing-xs);
|
|
354
|
+
font-weight: var(--font-weight-semibold);
|
|
355
|
+
font-size: var(--font-size-lg);
|
|
356
|
+
`;
|
|
357
|
+
const SearchDialogBody = styled_components_1.default.div `
|
|
358
|
+
display: flex;
|
|
359
|
+
flex-direction: row-reverse;
|
|
360
|
+
flex: 1;
|
|
361
|
+
min-height: 0;
|
|
362
|
+
overflow: hidden;
|
|
363
|
+
|
|
364
|
+
@media screen and (max-width: ${utils_1.breakpoints.small}) {
|
|
365
|
+
min-height: 0;
|
|
366
|
+
}
|
|
367
|
+
`;
|
|
368
|
+
const SearchDialogBodyMainView = styled_components_1.default.div `
|
|
369
|
+
flex: 2;
|
|
370
|
+
flex-grow: 2;
|
|
371
|
+
overflow-y: scroll;
|
|
372
|
+
overscroll-behavior: contain;
|
|
373
|
+
border-right: var(--search-modal-border);
|
|
374
|
+
`;
|
|
375
|
+
const SearchDialogBodyFilterView = styled_components_1.default.div `
|
|
376
|
+
overflow: scroll;
|
|
377
|
+
max-width: var(--search-filter-width);
|
|
378
|
+
width: 100%;
|
|
379
|
+
`;
|
|
380
|
+
const SearchDialogFooter = styled_components_1.default.footer `
|
|
381
|
+
display: flex;
|
|
382
|
+
gap: var(--search-modal-footer-gap);
|
|
383
|
+
padding: var(--search-modal-footer-padding);
|
|
384
|
+
border-top: var(--search-modal-border);
|
|
385
|
+
`;
|
|
386
|
+
const SearchShortcuts = styled_components_1.default.div `
|
|
387
|
+
display: none;
|
|
388
|
+
justify-content: flex-start;
|
|
389
|
+
align-items: center;
|
|
390
|
+
gap: var(--search-shortcuts-gap);
|
|
391
|
+
|
|
392
|
+
@media screen and (min-width: ${utils_1.breakpoints.small}) {
|
|
393
|
+
display: flex;
|
|
394
|
+
}
|
|
395
|
+
`;
|
|
396
|
+
const SearchMessage = styled_components_1.default.div `
|
|
397
|
+
display: flex;
|
|
398
|
+
height: 40%;
|
|
399
|
+
justify-content: center;
|
|
400
|
+
align-items: center;
|
|
401
|
+
flex-direction: column;
|
|
402
|
+
font-size: var(--search-message-font-size);
|
|
403
|
+
font-weight: var(--search-message-font-weight);
|
|
404
|
+
line-height: var(--search-message-line-height);
|
|
405
|
+
color: var(--search-message-text-color);
|
|
406
|
+
gap: var(--search-message-gap);
|
|
407
|
+
`;
|
|
408
|
+
const SearchProductTag = (0, styled_components_1.default)(Tag_1.Tag) `
|
|
409
|
+
border: none;
|
|
410
|
+
margin: var(--spacing-xs) var(--spacing-sm) !important;
|
|
411
|
+
`;
|
|
412
|
+
const SearchFilterToggleButton = (0, styled_components_1.default)(Button_1.Button) `
|
|
413
|
+
margin-left: 0;
|
|
414
|
+
`;
|
|
415
|
+
const SearchAiButton = (0, styled_components_1.default)(Button_1.Button) `
|
|
416
|
+
margin-left: 0;
|
|
417
|
+
`;
|
|
418
|
+
const SearchCancelButton = (0, styled_components_1.default)(Button_1.Button) `
|
|
419
|
+
width: 100%;
|
|
420
|
+
|
|
421
|
+
@media screen and (min-width: ${utils_1.breakpoints.small}) {
|
|
422
|
+
display: none;
|
|
423
|
+
}
|
|
424
|
+
`;
|
|
425
|
+
const SearchGroupTitle = styled_components_1.default.div `
|
|
426
|
+
border-bottom: var(--search-modal-border);
|
|
427
|
+
padding: var(--search-group-title-padding);
|
|
428
|
+
background-color: var(--search-group-title-bg-color);
|
|
429
|
+
`;
|
|
430
|
+
const SearchGroupFooter = styled_components_1.default.div `
|
|
431
|
+
display: flex;
|
|
432
|
+
justify-content: center;
|
|
433
|
+
padding: var(--search-group-footer-padding);
|
|
434
|
+
color: var(--search-group-footer-text-color);
|
|
435
|
+
cursor: pointer;
|
|
436
|
+
`;
|
|
437
|
+
const SearchLoading = styled_components_1.default.div `
|
|
438
|
+
display: none;
|
|
439
|
+
align-items: center;
|
|
440
|
+
gap: var(--spacing-xs);
|
|
441
|
+
|
|
442
|
+
@media screen and (min-width: ${utils_1.breakpoints.small}) {
|
|
443
|
+
display: flex;
|
|
444
|
+
}
|
|
445
|
+
`;
|
|
446
|
+
const SearchHeaderButtons = styled_components_1.default.div `
|
|
447
|
+
display: flex;
|
|
448
|
+
gap: var(--search-header-buttons-gap);
|
|
449
|
+
padding-left: var(--search-header-buttons-padding-left);
|
|
450
|
+
border-left: var(--search-header-buttons-border-left);
|
|
451
|
+
`;
|
|
452
|
+
const AiDisclaimer = styled_components_1.default.div `
|
|
453
|
+
font-size: var(--search-ai-disclaimer-font-size);
|
|
454
|
+
line-height: var(--search-ai-disclaimer-line-height);
|
|
455
|
+
color: var(--search-ai-disclaimer-text-color);
|
|
456
|
+
margin: 0 auto;
|
|
457
|
+
text-align: center;
|
|
458
|
+
`;
|
|
459
|
+
const SearchWithAI = styled_components_1.default.div `
|
|
460
|
+
display: flex;
|
|
461
|
+
justify-content: flex-start;
|
|
462
|
+
align-items: center;
|
|
463
|
+
cursor: pointer;
|
|
464
|
+
gap: var(--spacing-unit);
|
|
465
|
+
padding: var(--spacing-md);
|
|
466
|
+
|
|
467
|
+
color: var(--search-item-text-color);
|
|
468
|
+
background-color: var(--search-item-bg-color);
|
|
469
|
+
text-decoration: none;
|
|
470
|
+
white-space: normal;
|
|
471
|
+
outline: none;
|
|
472
|
+
border-top: 1px solid var(--search-item-border-color);
|
|
473
|
+
border-bottom: 1px solid var(--search-item-border-color);
|
|
474
|
+
border-radius: var(--search-item-border-radius);
|
|
475
|
+
|
|
476
|
+
transition: all 0.3s ease;
|
|
477
|
+
|
|
478
|
+
${ReturnKeyIcon_1.ReturnKeyIcon} {
|
|
479
|
+
opacity: 0;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
&:focus,
|
|
483
|
+
&:hover {
|
|
484
|
+
color: var(--search-item-text-color-hover);
|
|
485
|
+
background-color: var(--search-item-bg-color-hover);
|
|
486
|
+
|
|
487
|
+
${ReturnKeyIcon_1.ReturnKeyIcon} {
|
|
488
|
+
opacity: 1;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
&:focus {
|
|
493
|
+
border-top: 1px solid var(--search-item-border-color-focused);
|
|
494
|
+
border-bottom: 1px solid var(--search-item-border-color-focused);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
& > :first-child {
|
|
498
|
+
margin-right: var(--spacing-xs);
|
|
499
|
+
}
|
|
500
|
+
`;
|
|
501
|
+
const QueryWrapper = styled_components_1.default.div `
|
|
502
|
+
word-break: break-word;
|
|
503
|
+
`;
|
|
504
|
+
//# sourceMappingURL=SearchDialog.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import type { SearchFilterItem, SearchFacet } from '../../core/types';
|
|
3
|
+
export type SearchFilterProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
facets: SearchFacet[];
|
|
6
|
+
filter: SearchFilterItem[];
|
|
7
|
+
query: string;
|
|
8
|
+
quickFilterFields: string[];
|
|
9
|
+
onFilterChange: (field: string, value: string | string[], isQuickFilter?: boolean) => void;
|
|
10
|
+
onFilterReset: () => void;
|
|
11
|
+
onFacetReset: (field: string) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare function SearchFilter({ className, facets, filter, query, quickFilterFields, onFilterChange, onFilterReset, onFacetReset, }: SearchFilterProps): JSX.Element;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SearchFilter = SearchFilter;
|
|
40
|
+
const React = __importStar(require("react"));
|
|
41
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
42
|
+
const Button_1 = require("../../components/Button/Button");
|
|
43
|
+
const CleanIcon_1 = require("../../icons/CleanIcon/CleanIcon");
|
|
44
|
+
const SearchFilterField_1 = require("../../components/Search/SearchFilterField");
|
|
45
|
+
const hooks_1 = require("../../core/hooks");
|
|
46
|
+
function SearchFilter({ className, facets, filter, query, quickFilterFields, onFilterChange, onFilterReset, onFacetReset, }) {
|
|
47
|
+
const { useTranslate } = (0, hooks_1.useThemeHooks)();
|
|
48
|
+
const { translate } = useTranslate();
|
|
49
|
+
return (React.createElement(SearchFilterWrapper, { "data-component-name": "Search/SearchFilter", className: className },
|
|
50
|
+
React.createElement(SearchFilterHeader, null,
|
|
51
|
+
React.createElement("span", { "data-translation-key": "search.filter.title" }, translate('search.filter.title', 'Advanced filter')),
|
|
52
|
+
React.createElement(Button_1.Button, { "data-translation-key": "search.filter.reset", onClick: onFilterReset, variant: "ghost", icon: React.createElement(CleanIcon_1.CleanIcon, null) }, translate('search.filter.reset', 'Reset filters'))),
|
|
53
|
+
React.createElement(SearchFilterFields, null, facets.map((facet, index) => (React.createElement(SearchFilterField_1.SearchFilterField, { key: `${facet.field}-${index}`, facet: facet, filter: filter, query: query, quickFilterFields: quickFilterFields, onFilterChange: onFilterChange, onFacetReset: onFacetReset }))))));
|
|
54
|
+
}
|
|
55
|
+
const SearchFilterWrapper = styled_components_1.default.div `
|
|
56
|
+
width: 100%;
|
|
57
|
+
max-width: var(--search-filter-width);
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
padding: var(--search-filter-padding);
|
|
61
|
+
font-size: var(--search-filter-font-size);
|
|
62
|
+
font-weight: var(--search-filter-font-weight);
|
|
63
|
+
line-height: var(--search-filter-line-height);
|
|
64
|
+
`;
|
|
65
|
+
const SearchFilterHeader = styled_components_1.default.div `
|
|
66
|
+
position: sticky;
|
|
67
|
+
top: 0px;
|
|
68
|
+
display: flex;
|
|
69
|
+
justify-content: space-between;
|
|
70
|
+
align-items: center;
|
|
71
|
+
padding: var(--search-filter-header-padding);
|
|
72
|
+
color: var(--search-filter-header-text-color);
|
|
73
|
+
background-color: var(--search-filter-bg-color);
|
|
74
|
+
z-index: var(--search-filter-header-z-index);
|
|
75
|
+
`;
|
|
76
|
+
const SearchFilterFields = styled_components_1.default.div `
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
gap: var(--search-filter-fields-gap);
|
|
80
|
+
`;
|
|
81
|
+
//# sourceMappingURL=SearchFilter.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import type { SearchFacet, SearchFilterItem } from '../../core/types';
|
|
3
|
+
type SearchFilterFieldProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
facet: SearchFacet;
|
|
6
|
+
filter: SearchFilterItem[];
|
|
7
|
+
query: string;
|
|
8
|
+
quickFilterFields: string[];
|
|
9
|
+
onFilterChange: (field: string, value: string | string[], isQuickFilter?: boolean) => void;
|
|
10
|
+
onFacetReset: (filed: string) => void;
|
|
11
|
+
};
|
|
12
|
+
export declare function SearchFilterField({ className, facet, filter, query, quickFilterFields, onFilterChange, onFacetReset, }: SearchFilterFieldProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SearchFilterField = SearchFilterField;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const Button_1 = require("../../components/Button/Button");
|
|
10
|
+
const ResetIcon_1 = require("../../icons/ResetIcon/ResetIcon");
|
|
11
|
+
const hooks_1 = require("../../core/hooks");
|
|
12
|
+
const SearchFilterFieldSelect_1 = require("../../components/Search/FilterFields/SearchFilterFieldSelect");
|
|
13
|
+
const SearchFilterFieldTags_1 = require("../../components/Search/FilterFields/SearchFilterFieldTags");
|
|
14
|
+
function SearchFilterField({ className, facet, filter, query, quickFilterFields, onFilterChange, onFacetReset, }) {
|
|
15
|
+
var _a;
|
|
16
|
+
const { useTranslate } = (0, hooks_1.useThemeHooks)();
|
|
17
|
+
const { translate } = useTranslate();
|
|
18
|
+
const selectedValues = ((_a = filter.find((item) => item.field === facet.field)) === null || _a === void 0 ? void 0 : _a.values) || [];
|
|
19
|
+
const onChange = (value) => {
|
|
20
|
+
onFilterChange(facet.field, value, facet.field in quickFilterFields);
|
|
21
|
+
};
|
|
22
|
+
const onReset = () => {
|
|
23
|
+
onFacetReset(facet.field);
|
|
24
|
+
};
|
|
25
|
+
return (react_1.default.createElement(FilterFieldWrapper, { "data-component-name": "Search/SearchFilterField", className: className },
|
|
26
|
+
react_1.default.createElement(FilterFieldLabel, null,
|
|
27
|
+
facet.name,
|
|
28
|
+
selectedValues.length > 0 && (react_1.default.createElement(Button_1.Button, { "data-translation-key": "search.filter.field.reset", icon: react_1.default.createElement(ResetIcon_1.ResetIcon, null), variant: "ghost", size: "small", onClick: onReset }, translate('search.filter.field.reset', 'Reset')))),
|
|
29
|
+
['select', 'multi-select'].includes(facet.type) && (react_1.default.createElement(SearchFilterFieldSelect_1.SearchFilterFieldSelect, { facet: facet, filter: filter, query: query, selectedValues: selectedValues, onChange: onChange })),
|
|
30
|
+
facet.type === 'tags' && (react_1.default.createElement(SearchFilterFieldTags_1.SearchFilterFieldTags, { facet: facet, selectedValues: selectedValues, onChange: onChange }))));
|
|
31
|
+
}
|
|
32
|
+
const FilterFieldWrapper = styled_components_1.default.div `
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
gap: 4px;
|
|
36
|
+
`;
|
|
37
|
+
const FilterFieldLabel = styled_components_1.default.div `
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
align-items: center;
|
|
41
|
+
`;
|
|
42
|
+
//# sourceMappingURL=SearchFilterField.js.map
|