@redocly/theme 0.70.0-next.9 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Accordion/Accordion.d.ts +12 -0
- package/lib/components/Accordion/Accordion.js +89 -0
- package/lib/components/Accordion/AccordionBody.d.ts +8 -0
- package/lib/components/Accordion/AccordionBody.js +73 -0
- package/lib/components/Accordion/AccordionHeader.d.ts +10 -0
- package/lib/components/Accordion/AccordionHeader.js +37 -0
- package/lib/components/Accordion/AccordionTitle.d.ts +6 -0
- package/lib/components/Accordion/AccordionTitle.js +20 -0
- package/lib/components/Accordion/variables.d.ts +1 -0
- package/lib/components/Accordion/variables.js +59 -0
- package/lib/components/Admonition/Admonition.d.ts +13 -0
- package/lib/components/Admonition/Admonition.js +130 -0
- package/lib/components/Admonition/variables.d.ts +1 -0
- package/lib/components/Admonition/variables.dark.d.ts +1 -0
- package/lib/components/Admonition/variables.dark.js +21 -0
- package/lib/components/Admonition/variables.js +109 -0
- package/lib/components/ApiOnboarding/AppCustomAttributes.d.ts +5 -0
- package/lib/components/ApiOnboarding/AppCustomAttributes.js +9 -0
- package/lib/components/Badge/Badge.d.ts +11 -0
- package/lib/components/Badge/Badge.js +91 -0
- package/lib/components/Banner/Banner.d.ts +11 -0
- package/lib/components/Banner/Banner.js +215 -0
- package/lib/components/Banner/variables.d.ts +1 -0
- package/lib/components/Banner/variables.dark.d.ts +1 -0
- package/lib/components/Banner/variables.dark.js +14 -0
- package/lib/components/Banner/variables.js +55 -0
- package/lib/components/Breadcrumbs/Breadcrumb.d.ts +10 -0
- package/lib/components/Breadcrumbs/Breadcrumb.js +97 -0
- package/lib/components/Breadcrumbs/BreadcrumbDropdown.d.ts +15 -0
- package/lib/components/Breadcrumbs/BreadcrumbDropdown.js +150 -0
- package/lib/components/Breadcrumbs/BreadcrumbIcon.d.ts +7 -0
- package/lib/components/Breadcrumbs/BreadcrumbIcon.js +23 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +6 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.js +87 -0
- package/lib/components/Breadcrumbs/variables.d.ts +1 -0
- package/lib/components/Breadcrumbs/variables.js +32 -0
- package/lib/components/Button/Button.d.ts +27 -0
- package/lib/components/Button/Button.js +196 -0
- package/lib/components/Button/ButtonGroup.d.ts +10 -0
- package/lib/components/Button/ButtonGroup.js +58 -0
- package/lib/components/Button/ShowMoreToggleButton.d.ts +11 -0
- package/lib/components/Button/ShowMoreToggleButton.js +21 -0
- package/lib/components/Button/variables.d.ts +1 -0
- package/lib/components/Button/variables.dark.d.ts +1 -0
- package/lib/components/Button/variables.dark.js +30 -0
- package/lib/components/Button/variables.js +280 -0
- package/lib/components/Buttons/AIAssistantButton.d.ts +2 -0
- package/lib/components/Buttons/AIAssistantButton.js +142 -0
- package/lib/components/Buttons/ConnectMCPButton.d.ts +8 -0
- package/lib/components/Buttons/ConnectMCPButton.js +99 -0
- package/lib/components/Buttons/CopyButton.d.ts +22 -0
- package/lib/components/Buttons/CopyButton.js +74 -0
- package/lib/components/Buttons/DownloadButton.d.ts +6 -0
- package/lib/components/Buttons/DownloadButton.js +30 -0
- package/lib/components/Buttons/EditPageButton.d.ts +5 -0
- package/lib/components/Buttons/EditPageButton.js +23 -0
- package/lib/components/Buttons/EmailButton.d.ts +6 -0
- package/lib/components/Buttons/EmailButton.js +22 -0
- package/lib/components/Buttons/NewTabButton.d.ts +6 -0
- package/lib/components/Buttons/NewTabButton.js +22 -0
- package/lib/components/Buttons/variables.d.ts +2 -0
- package/lib/components/Buttons/variables.dark.d.ts +1 -0
- package/lib/components/Buttons/variables.dark.js +10 -0
- package/lib/components/Buttons/variables.js +58 -0
- package/lib/components/Catalog/Catalog.d.ts +17 -0
- package/lib/components/Catalog/Catalog.js +198 -0
- package/lib/components/Catalog/CatalogActionsRow.d.ts +20 -0
- package/lib/components/Catalog/CatalogActionsRow.js +80 -0
- package/lib/components/Catalog/CatalogAvatar.d.ts +7 -0
- package/lib/components/Catalog/CatalogAvatar.js +92 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCard.d.ts +8 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCard.js +205 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCardView.d.ts +8 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCardView.js +28 -0
- package/lib/components/Catalog/CatalogEntities.d.ts +17 -0
- package/lib/components/Catalog/CatalogEntities.js +83 -0
- package/lib/components/Catalog/CatalogEntitiesEmptyState.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntitiesEmptyState.js +80 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.d.ts +3 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.js +132 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsEdge.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsEdge.js +38 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.js +101 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.lazy.d.ts +2 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.lazy.js +39 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.js +17 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.d.ts +16 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.js +24 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.js +53 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.js +16 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.js +187 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.js +210 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.d.ts +10 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.js +79 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.d.ts +11 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.js +202 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityInfoBar.d.ts +9 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityInfoBar.js +58 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityLinks.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityLinks.js +50 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.js +115 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.js +52 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.js +78 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.js +56 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.js +22 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.js +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.js +28 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.js +22 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.js +26 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.js +31 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.js +28 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.js +24 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.d.ts +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.js +28 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.d.ts +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.js +58 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.d.ts +13 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.js +88 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts +25 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js +37 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.d.ts +22 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.js +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.js +65 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.d.ts +15 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.js +105 -0
- package/lib/components/Catalog/CatalogEntity/ShowMoreButton.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/ShowMoreButton.js +35 -0
- package/lib/components/Catalog/CatalogEntityIcon.d.ts +9 -0
- package/lib/components/Catalog/CatalogEntityIcon.js +53 -0
- package/lib/components/Catalog/CatalogEntityTypeIcon.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntityTypeIcon.js +47 -0
- package/lib/components/Catalog/CatalogEntityTypeTag.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntityTypeTag.js +46 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilter.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilter.js +39 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.js +173 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterContent.d.ts +14 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterContent.js +79 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.js +122 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterSelect.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterSelect.js +127 -0
- package/lib/components/Catalog/CatalogHighlight.d.ts +5 -0
- package/lib/components/Catalog/CatalogHighlight.js +48 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.d.ts +8 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.js +24 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.d.ts +6 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.js +26 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.d.ts +8 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.js +30 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.d.ts +12 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.js +30 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.d.ts +10 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.js +21 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.d.ts +7 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.js +25 -0
- package/lib/components/Catalog/CatalogPageDescription.d.ts +9 -0
- package/lib/components/Catalog/CatalogPageDescription.js +46 -0
- package/lib/components/Catalog/CatalogSelector.d.ts +11 -0
- package/lib/components/Catalog/CatalogSelector.js +81 -0
- package/lib/components/Catalog/CatalogSortButton.d.ts +9 -0
- package/lib/components/Catalog/CatalogSortButton.js +84 -0
- package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.js +23 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.d.ts +8 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.js +51 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.d.ts +3 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.js +11 -0
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.js +45 -0
- package/lib/components/Catalog/CatalogTableView/CatalogOwnersCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogOwnersCell.js +22 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.d.ts +9 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.js +107 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.d.ts +32 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.js +104 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.d.ts +29 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.js +101 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.d.ts +6 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.js +22 -0
- package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.d.ts +7 -0
- package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.js +49 -0
- package/lib/components/Catalog/CatalogTags.d.ts +11 -0
- package/lib/components/Catalog/CatalogTags.js +63 -0
- package/lib/components/Catalog/CatalogViewModeToggle.d.ts +7 -0
- package/lib/components/Catalog/CatalogViewModeToggle.js +36 -0
- package/lib/components/Catalog/variables.d.ts +1 -0
- package/lib/components/Catalog/variables.dark.d.ts +1 -0
- package/lib/components/Catalog/variables.dark.js +8 -0
- package/lib/components/Catalog/variables.js +588 -0
- package/lib/components/CatalogClassic/CatalogClassic.d.ts +35 -0
- package/lib/components/CatalogClassic/CatalogClassic.js +122 -0
- package/lib/components/CatalogClassic/CatalogClassicActions.d.ts +8 -0
- package/lib/components/CatalogClassic/CatalogClassicActions.js +83 -0
- package/lib/components/CatalogClassic/CatalogClassicCard.d.ts +6 -0
- package/lib/components/CatalogClassic/CatalogClassicCard.js +162 -0
- package/lib/components/CatalogClassic/CatalogClassicHighlight.d.ts +5 -0
- package/lib/components/CatalogClassic/CatalogClassicHighlight.js +81 -0
- package/lib/components/CatalogClassic/CatalogClassicInfoBlock.d.ts +11 -0
- package/lib/components/CatalogClassic/CatalogClassicInfoBlock.js +47 -0
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.d.ts +25 -0
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.js +192 -0
- package/lib/components/CatalogClassic/variables.d.ts +1 -0
- package/lib/components/CatalogClassic/variables.js +109 -0
- package/lib/components/CodeBlock/CodeBlock.d.ts +51 -0
- package/lib/components/CodeBlock/CodeBlock.js +138 -0
- package/lib/components/CodeBlock/CodeBlockContainer.d.ts +15 -0
- package/lib/components/CodeBlock/CodeBlockContainer.js +363 -0
- package/lib/components/CodeBlock/CodeBlockControls.d.ts +39 -0
- package/lib/components/CodeBlock/CodeBlockControls.js +120 -0
- package/lib/components/CodeBlock/CodeBlockDropdown.d.ts +3 -0
- package/lib/components/CodeBlock/CodeBlockDropdown.js +26 -0
- package/lib/components/CodeBlock/CodeBlockTabs.d.ts +6 -0
- package/lib/components/CodeBlock/CodeBlockTabs.js +143 -0
- package/lib/components/CodeBlock/variables.d.ts +1 -0
- package/lib/components/CodeBlock/variables.dark.d.ts +1 -0
- package/lib/components/CodeBlock/variables.dark.js +8 -0
- package/lib/components/CodeBlock/variables.js +141 -0
- package/lib/components/ColorModeSwitcher/ColorModeIcon.d.ts +7 -0
- package/lib/components/ColorModeSwitcher/ColorModeIcon.js +29 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.d.ts +5 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +18 -0
- package/lib/components/Consent/Consent.d.ts +2 -0
- package/lib/components/Consent/Consent.js +17 -0
- package/lib/components/Consent/ConsentBanner.d.ts +2 -0
- package/lib/components/Consent/ConsentBanner.js +120 -0
- package/lib/components/Consent/ConsentDialog.d.ts +2 -0
- package/lib/components/Consent/ConsentDialog.js +128 -0
- package/lib/components/Consent/ConsentSettingsLink.d.ts +2 -0
- package/lib/components/Consent/ConsentSettingsLink.js +35 -0
- package/lib/components/Consent/variables.d.ts +1 -0
- package/lib/components/Consent/variables.js +31 -0
- package/lib/components/DatePicker/DatePicker.d.ts +4 -0
- package/lib/components/DatePicker/DatePicker.js +75 -0
- package/lib/components/DatePicker/variables.d.ts +1 -0
- package/lib/components/DatePicker/variables.js +26 -0
- package/lib/components/Dropdown/Dropdown.d.ts +26 -0
- package/lib/components/Dropdown/Dropdown.js +185 -0
- package/lib/components/Dropdown/DropdownMenu.d.ts +14 -0
- package/lib/components/Dropdown/DropdownMenu.js +51 -0
- package/lib/components/Dropdown/DropdownMenuItem.d.ts +18 -0
- package/lib/components/Dropdown/DropdownMenuItem.js +178 -0
- package/lib/components/Dropdown/DropdownMenuItemContent.d.ts +9 -0
- package/lib/components/Dropdown/DropdownMenuItemContent.js +56 -0
- package/lib/components/Dropdown/variables.d.ts +1 -0
- package/lib/components/Dropdown/variables.js +69 -0
- package/lib/components/Feedback/Comment.d.ts +15 -0
- package/lib/components/Feedback/Comment.js +152 -0
- package/lib/components/Feedback/Feedback.d.ts +5 -0
- package/lib/components/Feedback/Feedback.js +96 -0
- package/lib/components/Feedback/Mood.d.ts +33 -0
- package/lib/components/Feedback/Mood.js +270 -0
- package/lib/components/Feedback/Rating.d.ts +29 -0
- package/lib/components/Feedback/Rating.js +190 -0
- package/lib/components/Feedback/Reasons.d.ts +11 -0
- package/lib/components/Feedback/Reasons.js +91 -0
- package/lib/components/Feedback/ReportDialog.d.ts +14 -0
- package/lib/components/Feedback/ReportDialog.js +67 -0
- package/lib/components/Feedback/Scale.d.ts +31 -0
- package/lib/components/Feedback/Scale.js +227 -0
- package/lib/components/Feedback/Sentiment.d.ts +26 -0
- package/lib/components/Feedback/Sentiment.js +238 -0
- package/lib/components/Feedback/Stars.d.ts +8 -0
- package/lib/components/Feedback/Stars.js +68 -0
- package/lib/components/Feedback/variables.d.ts +1 -0
- package/lib/components/Feedback/variables.js +34 -0
- package/lib/components/Filter/Filter.d.ts +3 -0
- package/lib/components/Filter/Filter.js +30 -0
- package/lib/components/Filter/FilterCheckboxes.d.ts +3 -0
- package/lib/components/Filter/FilterCheckboxes.js +66 -0
- package/lib/components/Filter/FilterContent.d.ts +12 -0
- package/lib/components/Filter/FilterContent.js +105 -0
- package/lib/components/Filter/FilterDateRange.d.ts +3 -0
- package/lib/components/Filter/FilterDateRange.js +95 -0
- package/lib/components/Filter/FilterInput.d.ts +7 -0
- package/lib/components/Filter/FilterInput.js +105 -0
- package/lib/components/Filter/FilterOption.d.ts +8 -0
- package/lib/components/Filter/FilterOption.js +24 -0
- package/lib/components/Filter/FilterOptionLabel.d.ts +5 -0
- package/lib/components/Filter/FilterOptionLabel.js +20 -0
- package/lib/components/Filter/FilterOptions.d.ts +5 -0
- package/lib/components/Filter/FilterOptions.js +20 -0
- package/lib/components/Filter/FilterPopover.d.ts +11 -0
- package/lib/components/Filter/FilterPopover.js +62 -0
- package/lib/components/Filter/FilterSelect.d.ts +3 -0
- package/lib/components/Filter/FilterSelect.js +64 -0
- package/lib/components/Filter/FilterTitle.d.ts +5 -0
- package/lib/components/Filter/FilterTitle.js +17 -0
- package/lib/components/Filter/variables.d.ts +1 -0
- package/lib/components/Filter/variables.js +102 -0
- package/lib/components/Footer/Footer.d.ts +5 -0
- package/lib/components/Footer/Footer.js +88 -0
- package/lib/components/Footer/FooterColumn.d.ts +7 -0
- package/lib/components/Footer/FooterColumn.js +79 -0
- package/lib/components/Footer/FooterCopyright.d.ts +6 -0
- package/lib/components/Footer/FooterCopyright.js +36 -0
- package/lib/components/Footer/FooterItem.d.ts +8 -0
- package/lib/components/Footer/FooterItem.js +64 -0
- package/lib/components/Footer/variables.d.ts +1 -0
- package/lib/components/Footer/variables.js +62 -0
- package/lib/components/Image/Image.d.ts +18 -0
- package/lib/components/Image/Image.js +228 -0
- package/lib/components/Image/variables.d.ts +1 -0
- package/lib/components/Image/variables.js +61 -0
- package/lib/components/JsonViewer/Helpers.d.ts +17 -0
- package/lib/components/JsonViewer/Helpers.js +119 -0
- package/lib/components/JsonViewer/JsonViewer.d.ts +17 -0
- package/lib/components/JsonViewer/JsonViewer.js +99 -0
- package/lib/components/LanguagePicker/LanguagePicker.d.ts +8 -0
- package/lib/components/LanguagePicker/LanguagePicker.js +85 -0
- package/lib/components/LanguagePicker/variables.d.ts +1 -0
- package/lib/components/LanguagePicker/variables.js +40 -0
- package/lib/components/LastUpdated/LastUpdated.d.ts +10 -0
- package/lib/components/LastUpdated/LastUpdated.js +93 -0
- package/lib/components/LastUpdated/variables.d.ts +1 -0
- package/lib/components/LastUpdated/variables.js +11 -0
- package/lib/components/Link/Link.d.ts +5 -0
- package/lib/components/Link/Link.js +61 -0
- package/lib/components/LoadMore/LoadMore.d.ts +8 -0
- package/lib/components/LoadMore/LoadMore.js +19 -0
- package/lib/components/LoadProgressBar/LoadProgressBar.d.ts +8 -0
- package/lib/components/LoadProgressBar/LoadProgressBar.js +122 -0
- package/lib/components/Loaders/Loading.d.ts +5 -0
- package/lib/components/Loaders/Loading.js +27 -0
- package/lib/components/Loaders/SpinnerLoader.d.ts +6 -0
- package/lib/components/Loaders/SpinnerLoader.js +31 -0
- package/lib/components/Logo/Logo.d.ts +7 -0
- package/lib/components/Logo/Logo.js +46 -0
- package/lib/components/Logo/variables.d.ts +1 -0
- package/lib/components/Logo/variables.js +17 -0
- package/lib/components/MCP/McpConnectionTabs.d.ts +7 -0
- package/lib/components/MCP/McpConnectionTabs.js +168 -0
- package/lib/components/Markdown/Markdown.d.ts +26 -0
- package/lib/components/Markdown/Markdown.js +390 -0
- package/lib/components/Markdown/styles/base-table.d.ts +1 -0
- package/lib/components/Markdown/styles/base-table.js +90 -0
- package/lib/components/Markdown/styles/heading-anchor.d.ts +2 -0
- package/lib/components/Markdown/styles/heading-anchor.js +35 -0
- package/lib/components/Markdown/styles/links.d.ts +2 -0
- package/lib/components/Markdown/styles/links.js +27 -0
- package/lib/components/Markdown/variables.d.ts +1 -0
- package/lib/components/Markdown/variables.js +104 -0
- package/lib/components/Marker/Marker.d.ts +10 -0
- package/lib/components/Marker/Marker.js +72 -0
- package/lib/components/Menu/Menu.d.ts +10 -0
- package/lib/components/Menu/Menu.js +34 -0
- package/lib/components/Menu/MenuContainer.d.ts +9 -0
- package/lib/components/Menu/MenuContainer.js +80 -0
- package/lib/components/Menu/MenuItem.d.ts +10 -0
- package/lib/components/Menu/MenuItem.js +367 -0
- package/lib/components/Menu/MenuMobile.d.ts +6 -0
- package/lib/components/Menu/MenuMobile.js +166 -0
- package/lib/components/Menu/MenuSelect.d.ts +7 -0
- package/lib/components/Menu/MenuSelect.js +129 -0
- package/lib/components/Menu/variables.d.ts +2 -0
- package/lib/components/Menu/variables.dark.d.ts +1 -0
- package/lib/components/Menu/variables.dark.js +15 -0
- package/lib/components/Menu/variables.js +226 -0
- package/lib/components/Navbar/Navbar.d.ts +5 -0
- package/lib/components/Navbar/Navbar.js +157 -0
- package/lib/components/Navbar/NavbarItem.d.ts +7 -0
- package/lib/components/Navbar/NavbarItem.js +96 -0
- package/lib/components/Navbar/NavbarLogo.d.ts +3 -0
- package/lib/components/Navbar/NavbarLogo.js +20 -0
- package/lib/components/Navbar/NavbarMenu.d.ts +7 -0
- package/lib/components/Navbar/NavbarMenu.js +33 -0
- package/lib/components/Navbar/variables.d.ts +1 -0
- package/lib/components/Navbar/variables.js +57 -0
- package/lib/components/NavigationTabs/NavigationTab.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTab.js +93 -0
- package/lib/components/NavigationTabs/NavigationTabContent.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTabContent.js +50 -0
- package/lib/components/NavigationTabs/NavigationTabMenu.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTabMenu.js +18 -0
- package/lib/components/NavigationTabs/NavigationTabs.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTabs.js +97 -0
- package/lib/components/NavigationTabs/variables.d.ts +1 -0
- package/lib/components/NavigationTabs/variables.js +37 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperation.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperation.js +12 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiTitle.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiTitle.js +12 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperation.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperation.js +12 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiFooter.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiFooter.js +9 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiHeader.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiHeader.js +9 -0
- package/lib/components/PageActions/PageActions.d.ts +9 -0
- package/lib/components/PageActions/PageActions.js +129 -0
- package/lib/components/PageActions/PageActionsMenuItem.d.ts +7 -0
- package/lib/components/PageActions/PageActionsMenuItem.js +42 -0
- package/lib/components/PageActions/variables.d.ts +1 -0
- package/lib/components/PageActions/variables.dark.d.ts +1 -0
- package/lib/components/PageActions/variables.dark.js +9 -0
- package/lib/components/PageActions/variables.js +39 -0
- package/lib/components/PageNavigation/NavigationButton.d.ts +13 -0
- package/lib/components/PageNavigation/NavigationButton.js +48 -0
- package/lib/components/PageNavigation/NextButton.d.ts +7 -0
- package/lib/components/PageNavigation/NextButton.js +56 -0
- package/lib/components/PageNavigation/PageNavigation.d.ts +8 -0
- package/lib/components/PageNavigation/PageNavigation.js +38 -0
- package/lib/components/PageNavigation/PreviousButton.d.ts +7 -0
- package/lib/components/PageNavigation/PreviousButton.js +27 -0
- package/lib/components/PageNavigation/variables.d.ts +1 -0
- package/lib/components/PageNavigation/variables.js +27 -0
- package/lib/components/Panel/Panel.d.ts +14 -0
- package/lib/components/Panel/Panel.js +95 -0
- package/lib/components/Panel/PanelBody.d.ts +9 -0
- package/lib/components/Panel/PanelBody.js +73 -0
- package/lib/components/Panel/PanelHeader.d.ts +9 -0
- package/lib/components/Panel/PanelHeader.js +42 -0
- package/lib/components/Panel/PanelHeaderTitle.d.ts +5 -0
- package/lib/components/Panel/PanelHeaderTitle.js +19 -0
- package/lib/components/Panel/variables.d.ts +2 -0
- package/lib/components/Panel/variables.js +413 -0
- package/lib/components/Portal/Portal.d.ts +6 -0
- package/lib/components/Portal/Portal.js +49 -0
- package/lib/components/Product/Product.d.ts +7 -0
- package/lib/components/Product/Product.js +22 -0
- package/lib/components/Product/ProductPicker.d.ts +2 -0
- package/lib/components/Product/ProductPicker.js +78 -0
- package/lib/components/Product/utils.d.ts +1 -0
- package/lib/components/Product/utils.js +10 -0
- package/lib/components/Product/variables.d.ts +1 -0
- package/lib/components/Product/variables.js +43 -0
- package/lib/components/ReplayGate/ReplayGate.d.ts +13 -0
- package/lib/components/ReplayGate/ReplayGate.js +11 -0
- package/lib/components/ReplaySecuritySchemeActions/ReplaySecuritySchemeActions.d.ts +11 -0
- package/lib/components/ReplaySecuritySchemeActions/ReplaySecuritySchemeActions.js +7 -0
- package/lib/components/ReplayTopBarActions/ReplayTopBarActions.d.ts +13 -0
- package/lib/components/ReplayTopBarActions/ReplayTopBarActions.js +7 -0
- package/lib/components/Scorecard/variables.d.ts +1 -0
- package/lib/components/Scorecard/variables.dark.d.ts +1 -0
- package/lib/components/Scorecard/variables.dark.js +20 -0
- package/lib/components/Scorecard/variables.js +24 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.d.ts +12 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.js +113 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.d.ts +10 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.js +48 -0
- package/lib/components/Search/Search.d.ts +5 -0
- package/lib/components/Search/Search.js +26 -0
- package/lib/components/Search/SearchAiActionButtons.d.ts +10 -0
- package/lib/components/Search/SearchAiActionButtons.js +48 -0
- package/lib/components/Search/SearchAiActivity.d.ts +10 -0
- package/lib/components/Search/SearchAiActivity.js +278 -0
- package/lib/components/Search/SearchAiConversationInput.d.ts +11 -0
- package/lib/components/Search/SearchAiConversationInput.js +167 -0
- package/lib/components/Search/SearchAiDialog.d.ts +18 -0
- package/lib/components/Search/SearchAiDialog.js +219 -0
- package/lib/components/Search/SearchAiMessage.d.ts +19 -0
- package/lib/components/Search/SearchAiMessage.js +265 -0
- package/lib/components/Search/SearchAiNegativeFeedbackForm.d.ts +10 -0
- package/lib/components/Search/SearchAiNegativeFeedbackForm.js +170 -0
- package/lib/components/Search/SearchAiResponse.d.ts +14 -0
- package/lib/components/Search/SearchAiResponse.js +174 -0
- package/lib/components/Search/SearchDialog.d.ts +7 -0
- package/lib/components/Search/SearchDialog.js +504 -0
- package/lib/components/Search/SearchFilter.d.ts +13 -0
- package/lib/components/Search/SearchFilter.js +81 -0
- package/lib/components/Search/SearchFilterField.d.ts +13 -0
- package/lib/components/Search/SearchFilterField.js +42 -0
- package/lib/components/Search/SearchGroups.d.ts +11 -0
- package/lib/components/Search/SearchGroups.js +81 -0
- package/lib/components/Search/SearchHighlight.d.ts +2 -0
- package/lib/components/Search/SearchHighlight.js +79 -0
- package/lib/components/Search/SearchInput.d.ts +14 -0
- package/lib/components/Search/SearchInput.js +72 -0
- package/lib/components/Search/SearchItem.d.ts +18 -0
- package/lib/components/Search/SearchItem.js +225 -0
- package/lib/components/Search/SearchRecent.d.ts +6 -0
- package/lib/components/Search/SearchRecent.js +134 -0
- package/lib/components/Search/SearchShortcut.d.ts +7 -0
- package/lib/components/Search/SearchShortcut.js +60 -0
- package/lib/components/Search/SearchSuggestedPages.d.ts +5 -0
- package/lib/components/Search/SearchSuggestedPages.js +101 -0
- package/lib/components/Search/SearchTrigger.d.ts +6 -0
- package/lib/components/Search/SearchTrigger.js +138 -0
- package/lib/components/Search/should-show-load-more.d.ts +9 -0
- package/lib/components/Search/should-show-load-more.js +15 -0
- package/lib/components/Search/variables.d.ts +1 -0
- package/lib/components/Search/variables.js +285 -0
- package/lib/components/Segmented/Segmented.d.ts +5 -0
- package/lib/components/Segmented/Segmented.js +104 -0
- package/lib/components/Segmented/variables.d.ts +1 -0
- package/lib/components/Segmented/variables.dark.d.ts +1 -0
- package/lib/components/Segmented/variables.dark.js +9 -0
- package/lib/components/Segmented/variables.js +26 -0
- package/lib/components/Select/Select.d.ts +9 -0
- package/lib/components/Select/Select.js +239 -0
- package/lib/components/Select/SelectInput.d.ts +27 -0
- package/lib/components/Select/SelectInput.js +150 -0
- package/lib/components/Select/variables.d.ts +1 -0
- package/lib/components/Select/variables.js +48 -0
- package/lib/components/Sidebar/Sidebar.d.ts +27 -0
- package/lib/components/Sidebar/Sidebar.js +105 -0
- package/lib/components/Sidebar/variables.d.ts +1 -0
- package/lib/components/Sidebar/variables.js +60 -0
- package/lib/components/SidebarActions/ChangeViewButton.d.ts +8 -0
- package/lib/components/SidebarActions/ChangeViewButton.js +29 -0
- package/lib/components/SidebarActions/SidebarActions.d.ts +14 -0
- package/lib/components/SidebarActions/SidebarActions.js +48 -0
- package/lib/components/SidebarActions/styled.d.ts +23 -0
- package/lib/components/SidebarActions/styled.js +108 -0
- package/lib/components/SidebarLogo/SidebarLogo.d.ts +10 -0
- package/lib/components/SidebarLogo/SidebarLogo.js +30 -0
- package/lib/components/SkipContent/SkipContent.d.ts +2 -0
- package/lib/components/SkipContent/SkipContent.js +78 -0
- package/lib/components/SkipContent/variables.d.ts +1 -0
- package/lib/components/SkipContent/variables.js +23 -0
- package/lib/components/SplitButton/SplitButton.d.ts +22 -0
- package/lib/components/SplitButton/SplitButton.js +71 -0
- package/lib/components/StatusCode/StatusCode.d.ts +9 -0
- package/lib/components/StatusCode/StatusCode.js +43 -0
- package/lib/components/StatusCode/variables.d.ts +1 -0
- package/lib/components/StatusCode/variables.dark.d.ts +1 -0
- package/lib/components/StatusCode/variables.dark.js +8 -0
- package/lib/components/StatusCode/variables.js +16 -0
- package/lib/components/SvgViewer/SvgViewer.d.ts +15 -0
- package/lib/components/SvgViewer/SvgViewer.js +309 -0
- package/lib/components/SvgViewer/variables.d.ts +1 -0
- package/lib/components/SvgViewer/variables.js +17 -0
- package/lib/components/Switch/Switch.d.ts +10 -0
- package/lib/components/Switch/Switch.js +108 -0
- package/lib/components/Switch/variables.d.ts +1 -0
- package/lib/components/Switch/variables.dark.d.ts +1 -0
- package/lib/components/Switch/variables.dark.js +37 -0
- package/lib/components/Switch/variables.js +37 -0
- package/lib/components/TableOfContent/TableOfContent.d.ts +8 -0
- package/lib/components/TableOfContent/TableOfContent.js +132 -0
- package/lib/components/TableOfContent/variables.d.ts +1 -0
- package/lib/components/TableOfContent/variables.js +50 -0
- package/lib/components/Tag/Tag.d.ts +35 -0
- package/lib/components/Tag/Tag.js +220 -0
- package/lib/components/Tag/variables.d.ts +1 -0
- package/lib/components/Tag/variables.dark.d.ts +1 -0
- package/lib/components/Tag/variables.dark.js +295 -0
- package/lib/components/Tag/variables.js +412 -0
- package/lib/components/Tags/CounterTag.d.ts +6 -0
- package/lib/components/Tags/CounterTag.js +18 -0
- package/lib/components/Tags/HttpTag.d.ts +6 -0
- package/lib/components/Tags/HttpTag.js +29 -0
- package/lib/components/Tags/variables.d.ts +1 -0
- package/lib/components/Tags/variables.js +21 -0
- package/lib/components/Toast/Toast.d.ts +14 -0
- package/lib/components/Toast/Toast.js +239 -0
- package/lib/components/Toast/variables.d.ts +1 -0
- package/lib/components/Toast/variables.js +64 -0
- package/lib/components/Tooltip/AnchorTooltip.d.ts +8 -0
- package/lib/components/Tooltip/AnchorTooltip.js +233 -0
- package/lib/components/Tooltip/JsTooltip.d.ts +4 -0
- package/lib/components/Tooltip/JsTooltip.js +247 -0
- package/lib/components/Tooltip/Tooltip.d.ts +3 -0
- package/lib/components/Tooltip/Tooltip.js +58 -0
- package/lib/components/Tooltip/variables.d.ts +1 -0
- package/lib/components/Tooltip/variables.dark.d.ts +1 -0
- package/lib/components/Tooltip/variables.dark.js +13 -0
- package/lib/components/Tooltip/variables.js +42 -0
- package/lib/components/Typography/CompactTypography.d.ts +37 -0
- package/lib/components/Typography/CompactTypography.js +14 -0
- package/lib/components/Typography/Emphasis.d.ts +5 -0
- package/lib/components/Typography/Emphasis.js +14 -0
- package/lib/components/Typography/H1.d.ts +5 -0
- package/lib/components/Typography/H1.js +18 -0
- package/lib/components/Typography/H2.d.ts +5 -0
- package/lib/components/Typography/H2.js +18 -0
- package/lib/components/Typography/H3.d.ts +5 -0
- package/lib/components/Typography/H3.js +18 -0
- package/lib/components/Typography/H4.d.ts +5 -0
- package/lib/components/Typography/H4.js +18 -0
- package/lib/components/Typography/SectionHeader.d.ts +5 -0
- package/lib/components/Typography/SectionHeader.js +20 -0
- package/lib/components/Typography/Typography.d.ts +18 -0
- package/lib/components/Typography/Typography.js +38 -0
- package/lib/components/UserMenu/LoginButton.d.ts +12 -0
- package/lib/components/UserMenu/LoginButton.js +19 -0
- package/lib/components/UserMenu/LogoutMenuItem.d.ts +6 -0
- package/lib/components/UserMenu/LogoutMenuItem.js +23 -0
- package/lib/components/UserMenu/UserAvatar.d.ts +8 -0
- package/lib/components/UserMenu/UserAvatar.js +46 -0
- package/lib/components/UserMenu/UserInfoMenuItem.d.ts +8 -0
- package/lib/components/UserMenu/UserInfoMenuItem.js +53 -0
- package/lib/components/UserMenu/UserMenu.d.ts +5 -0
- package/lib/components/UserMenu/UserMenu.js +94 -0
- package/lib/components/UserMenu/UserMenuMobile.d.ts +5 -0
- package/lib/components/UserMenu/UserMenuMobile.js +54 -0
- package/lib/components/UserMenu/variables.d.ts +1 -0
- package/lib/components/UserMenu/variables.js +67 -0
- package/lib/components/VersionPicker/VersionPicker.d.ts +9 -0
- package/lib/components/VersionPicker/VersionPicker.js +122 -0
- package/lib/components/VersionPicker/variables.d.ts +1 -0
- package/lib/components/VersionPicker/variables.js +43 -0
- package/lib/config.d.ts +2 -0
- package/lib/config.js +3 -0
- package/lib/core/constants/accordion.d.ts +3 -0
- package/lib/core/constants/accordion.js +7 -0
- package/lib/core/constants/breadcrumb.d.ts +1 -0
- package/lib/core/constants/breadcrumb.js +5 -0
- package/lib/core/constants/catalog.d.ts +16 -0
- package/lib/core/constants/catalog.js +86 -0
- package/lib/core/constants/code-walkthrough.d.ts +1 -0
- package/lib/core/constants/code-walkthrough.js +5 -0
- package/lib/core/constants/common.d.ts +34 -0
- package/lib/core/constants/common.js +42 -0
- package/lib/core/constants/consent.d.ts +2 -0
- package/lib/core/constants/consent.js +30 -0
- package/lib/core/constants/environments.d.ts +10 -0
- package/lib/core/constants/environments.js +18 -0
- package/lib/core/constants/feedback.d.ts +2 -0
- package/lib/core/constants/feedback.js +6 -0
- package/lib/core/constants/heading.d.ts +9 -0
- package/lib/core/constants/heading.js +13 -0
- package/lib/core/constants/index.d.ts +14 -0
- package/lib/core/constants/index.js +31 -0
- package/lib/core/constants/markdown.d.ts +3 -0
- package/lib/core/constants/markdown.js +7 -0
- package/lib/core/constants/mcp.d.ts +5 -0
- package/lib/core/constants/mcp.js +9 -0
- package/lib/core/constants/prompt.d.ts +9 -0
- package/lib/core/constants/prompt.js +33 -0
- package/lib/core/constants/request-methods.d.ts +1 -0
- package/lib/core/constants/request-methods.js +14 -0
- package/lib/core/constants/search.d.ts +21 -0
- package/lib/core/constants/search.js +81 -0
- package/lib/core/constants/toast.d.ts +1 -0
- package/lib/core/constants/toast.js +5 -0
- package/lib/core/contexts/AccordionGroupContext.d.ts +1 -0
- package/lib/core/contexts/AccordionGroupContext.js +6 -0
- package/lib/core/contexts/CodeSnippetContext.d.ts +15 -0
- package/lib/core/contexts/CodeSnippetContext.js +76 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.d.ts +2 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.js +14 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.d.ts +2 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.js +14 -0
- package/lib/core/contexts/MarkdownLinkContext.d.ts +5 -0
- package/lib/core/contexts/MarkdownLinkContext.js +6 -0
- package/lib/core/contexts/PageActionsContext.d.ts +5 -0
- package/lib/core/contexts/PageActionsContext.js +10 -0
- package/lib/core/contexts/PortalContainerContext.d.ts +2 -0
- package/lib/core/contexts/PortalContainerContext.js +7 -0
- package/lib/core/contexts/SearchContext.d.ts +10 -0
- package/lib/core/contexts/SearchContext.js +56 -0
- package/lib/core/contexts/ThemeDataContext.d.ts +12 -0
- package/lib/core/contexts/ThemeDataContext.js +6 -0
- package/lib/core/contexts/Toast/ToastContext.d.ts +2 -0
- package/lib/core/contexts/Toast/ToastContext.js +6 -0
- package/lib/core/contexts/Toast/ToastProvider.d.ts +3 -0
- package/lib/core/contexts/Toast/ToastProvider.js +153 -0
- package/lib/core/contexts/index.d.ts +10 -0
- package/lib/core/contexts/index.js +27 -0
- package/lib/core/hoc/index.d.ts +1 -0
- package/lib/core/hoc/index.js +18 -0
- package/lib/core/hoc/typed-memo.d.ts +1 -0
- package/lib/core/hoc/typed-memo.js +6 -0
- package/lib/core/hooks/__tests__/mocks/mock-intersection-observer.d.ts +16 -0
- package/lib/core/hooks/__tests__/mocks/mock-intersection-observer.js +84 -0
- package/lib/core/hooks/catalog/use-catalog-entities.d.ts +4 -0
- package/lib/core/hooks/catalog/use-catalog-entities.js +19 -0
- package/lib/core/hooks/catalog/use-catalog-entity-details.d.ts +13 -0
- package/lib/core/hooks/catalog/use-catalog-entity-details.js +33 -0
- package/lib/core/hooks/catalog/use-catalog-entity-link.d.ts +8 -0
- package/lib/core/hooks/catalog/use-catalog-entity-link.js +43 -0
- package/lib/core/hooks/catalog/use-catalog-entity-schema.d.ts +11 -0
- package/lib/core/hooks/catalog/use-catalog-entity-schema.js +39 -0
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.d.ts +14 -0
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.js +22 -0
- package/lib/core/hooks/catalog/use-graph.d.ts +15 -0
- package/lib/core/hooks/catalog/use-graph.js +165 -0
- package/lib/core/hooks/code-walkthrough/use-code-panel.d.ts +6 -0
- package/lib/core/hooks/code-walkthrough/use-code-panel.js +95 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-controls.d.ts +19 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-controls.js +176 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.d.ts +13 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.js +328 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough.d.ts +15 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough.js +30 -0
- package/lib/core/hooks/code-walkthrough/use-renderable-files.d.ts +8 -0
- package/lib/core/hooks/code-walkthrough/use-renderable-files.js +30 -0
- package/lib/core/hooks/feedback/use-report-dialog.d.ts +16 -0
- package/lib/core/hooks/feedback/use-report-dialog.js +44 -0
- package/lib/core/hooks/index.d.ts +67 -0
- package/lib/core/hooks/index.js +84 -0
- package/lib/core/hooks/menu/use-collapse.d.ts +32 -0
- package/lib/core/hooks/menu/use-collapse.js +174 -0
- package/lib/core/hooks/menu/use-menu-item-expanded.d.ts +3 -0
- package/lib/core/hooks/menu/use-menu-item-expanded.js +26 -0
- package/lib/core/hooks/menu/use-mobile-menu-items.d.ts +10 -0
- package/lib/core/hooks/menu/use-mobile-menu-items.js +110 -0
- package/lib/core/hooks/menu/use-mobile-menu-levels.d.ts +5 -0
- package/lib/core/hooks/menu/use-mobile-menu-levels.js +51 -0
- package/lib/core/hooks/menu/use-nested-menu.d.ts +20 -0
- package/lib/core/hooks/menu/use-nested-menu.js +85 -0
- package/lib/core/hooks/prompt/use-prompt-actions.d.ts +7 -0
- package/lib/core/hooks/prompt/use-prompt-actions.js +19 -0
- package/lib/core/hooks/prompt/use-prompt-text-limit.d.ts +19 -0
- package/lib/core/hooks/prompt/use-prompt-text-limit.js +35 -0
- package/lib/core/hooks/search/use-feedback-tooltip.d.ts +6 -0
- package/lib/core/hooks/search/use-feedback-tooltip.js +26 -0
- package/lib/core/hooks/search/use-persisted-quick-filter.d.ts +21 -0
- package/lib/core/hooks/search/use-persisted-quick-filter.js +92 -0
- package/lib/core/hooks/search/use-recent-searches.d.ts +5 -0
- package/lib/core/hooks/search/use-recent-searches.js +37 -0
- package/lib/core/hooks/search/use-search-ai-activity.d.ts +11 -0
- package/lib/core/hooks/search/use-search-ai-activity.js +15 -0
- package/lib/core/hooks/search/use-search-dialog.d.ts +5 -0
- package/lib/core/hooks/search/use-search-dialog.js +54 -0
- package/lib/core/hooks/search/use-search-filter.d.ts +9 -0
- package/lib/core/hooks/search/use-search-filter.js +49 -0
- package/lib/core/hooks/search/use-suggested-pages.d.ts +6 -0
- package/lib/core/hooks/search/use-suggested-pages.js +12 -0
- package/lib/core/hooks/use-active-heading.d.ts +7 -0
- package/lib/core/hooks/use-active-heading.js +268 -0
- package/lib/core/hooks/use-active-page-version.d.ts +1 -0
- package/lib/core/hooks/use-active-page-version.js +11 -0
- package/lib/core/hooks/use-active-section-id.d.ts +5 -0
- package/lib/core/hooks/use-active-section-id.js +65 -0
- package/lib/core/hooks/use-anchor-positioning.d.ts +3 -0
- package/lib/core/hooks/use-anchor-positioning.js +21 -0
- package/lib/core/hooks/use-banner-telemetry.d.ts +7 -0
- package/lib/core/hooks/use-banner-telemetry.js +46 -0
- package/lib/core/hooks/use-codeblock-tabs-controls.d.ts +12 -0
- package/lib/core/hooks/use-codeblock-tabs-controls.js +51 -0
- package/lib/core/hooks/use-color-switcher.d.ts +6 -0
- package/lib/core/hooks/use-color-switcher.js +56 -0
- package/lib/core/hooks/use-connect-mcp-button.d.ts +13 -0
- package/lib/core/hooks/use-connect-mcp-button.js +60 -0
- package/lib/core/hooks/use-consent-dialog.d.ts +12 -0
- package/lib/core/hooks/use-consent-dialog.js +36 -0
- package/lib/core/hooks/use-consent-telemetry.d.ts +1 -0
- package/lib/core/hooks/use-consent-telemetry.js +42 -0
- package/lib/core/hooks/use-control.d.ts +6 -0
- package/lib/core/hooks/use-control.js +34 -0
- package/lib/core/hooks/use-controlled-state.d.ts +1 -0
- package/lib/core/hooks/use-controlled-state.js +16 -0
- package/lib/core/hooks/use-dialog-hotkeys.d.ts +2 -0
- package/lib/core/hooks/use-dialog-hotkeys.js +45 -0
- package/lib/core/hooks/use-element-size.d.ts +13 -0
- package/lib/core/hooks/use-element-size.js +75 -0
- package/lib/core/hooks/use-focus-trap.d.ts +2 -0
- package/lib/core/hooks/use-focus-trap.js +34 -0
- package/lib/core/hooks/use-full-height.d.ts +2 -0
- package/lib/core/hooks/use-full-height.js +47 -0
- package/lib/core/hooks/use-input-key-commands.d.ts +8 -0
- package/lib/core/hooks/use-input-key-commands.js +73 -0
- package/lib/core/hooks/use-is-truncated.d.ts +1 -0
- package/lib/core/hooks/use-is-truncated.js +19 -0
- package/lib/core/hooks/use-language-picker.d.ts +11 -0
- package/lib/core/hooks/use-language-picker.js +32 -0
- package/lib/core/hooks/use-local-state.d.ts +1 -0
- package/lib/core/hooks/use-local-state.js +37 -0
- package/lib/core/hooks/use-mcp-config.d.ts +11 -0
- package/lib/core/hooks/use-mcp-config.js +41 -0
- package/lib/core/hooks/use-mobile-menu.d.ts +5 -0
- package/lib/core/hooks/use-mobile-menu.js +24 -0
- package/lib/core/hooks/use-modal-scroll-lock.d.ts +1 -0
- package/lib/core/hooks/use-modal-scroll-lock.js +48 -0
- package/lib/core/hooks/use-mount.d.ts +1 -0
- package/lib/core/hooks/use-mount.js +12 -0
- package/lib/core/hooks/use-navbar-height.d.ts +3 -0
- package/lib/core/hooks/use-navbar-height.js +20 -0
- package/lib/core/hooks/use-outside-click.d.ts +4 -0
- package/lib/core/hooks/use-outside-click.js +25 -0
- package/lib/core/hooks/use-page-actions.d.ts +3 -0
- package/lib/core/hooks/use-page-actions.js +239 -0
- package/lib/core/hooks/use-page-versions.d.ts +7 -0
- package/lib/core/hooks/use-page-versions.js +15 -0
- package/lib/core/hooks/use-pointer-border-highlight.d.ts +7 -0
- package/lib/core/hooks/use-pointer-border-highlight.js +29 -0
- package/lib/core/hooks/use-product-picker.d.ts +5 -0
- package/lib/core/hooks/use-product-picker.js +46 -0
- package/lib/core/hooks/use-scroll-item-into-view.d.ts +2 -0
- package/lib/core/hooks/use-scroll-item-into-view.js +16 -0
- package/lib/core/hooks/use-store.d.ts +17 -0
- package/lib/core/hooks/use-store.js +64 -0
- package/lib/core/hooks/use-tab-list.d.ts +31 -0
- package/lib/core/hooks/use-tab-list.js +49 -0
- package/lib/core/hooks/use-tabs.d.ts +24 -0
- package/lib/core/hooks/use-tabs.js +264 -0
- package/lib/core/hooks/use-telemetry-fallback.d.ts +86 -0
- package/lib/core/hooks/use-telemetry-fallback.js +93 -0
- package/lib/core/hooks/use-theme-config.d.ts +2 -0
- package/lib/core/hooks/use-theme-config.js +23 -0
- package/lib/core/hooks/use-theme-hooks.d.ts +2 -0
- package/lib/core/hooks/use-theme-hooks.js +60 -0
- package/lib/core/hooks/use-time-ago.d.ts +3 -0
- package/lib/core/hooks/use-time-ago.js +39 -0
- package/lib/core/hooks/use-toast-logic.d.ts +18 -0
- package/lib/core/hooks/use-toast-logic.js +141 -0
- package/lib/core/hooks/use-toast.d.ts +11 -0
- package/lib/core/hooks/use-toast.js +17 -0
- package/lib/core/hooks/use-tooltip-fallback-placement.d.ts +15 -0
- package/lib/core/hooks/use-tooltip-fallback-placement.js +46 -0
- package/lib/core/hooks/use-unique-svg-ids.d.ts +6 -0
- package/lib/core/hooks/use-unique-svg-ids.js +15 -0
- package/lib/core/hooks/use-unmount.d.ts +1 -0
- package/lib/core/hooks/use-unmount.js +14 -0
- package/lib/core/hooks/use-user-teams.d.ts +1 -0
- package/lib/core/hooks/use-user-teams.js +10 -0
- package/lib/core/index.d.ts +7 -0
- package/lib/core/index.js +24 -0
- package/lib/core/openapi/index.d.ts +29 -0
- package/lib/core/openapi/index.js +62 -0
- package/lib/core/styles/dark.d.ts +1 -0
- package/lib/core/styles/dark.js +379 -0
- package/lib/core/styles/global.d.ts +8 -0
- package/lib/core/styles/global.js +1379 -0
- package/lib/core/styles/index.d.ts +4 -0
- package/lib/core/styles/index.js +24 -0
- package/lib/core/styles/palette.d.ts +7 -0
- package/lib/core/styles/palette.dark.d.ts +4 -0
- package/lib/core/styles/palette.dark.js +236 -0
- package/lib/core/styles/palette.js +251 -0
- package/lib/core/styles/search-ai-appear.d.ts +1 -0
- package/lib/core/styles/search-ai-appear.js +18 -0
- package/lib/core/styles/xyflow.d.ts +1 -0
- package/lib/core/styles/xyflow.js +623 -0
- package/lib/core/templates/Markdown.d.ts +21 -0
- package/lib/core/templates/Markdown.js +84 -0
- package/lib/core/types/breadcrumb.d.ts +1 -0
- package/lib/core/types/breadcrumb.js +3 -0
- package/lib/core/types/button-group.d.ts +2 -0
- package/lib/core/types/button-group.js +3 -0
- package/lib/core/types/catalog.d.ts +235 -0
- package/lib/core/types/catalog.js +3 -0
- package/lib/core/types/code-walkthrough.d.ts +97 -0
- package/lib/core/types/code-walkthrough.js +3 -0
- package/lib/core/types/common.d.ts +5 -0
- package/lib/core/types/common.js +3 -0
- package/lib/core/types/consent.d.ts +54 -0
- package/lib/core/types/consent.js +3 -0
- package/lib/core/types/dropdown.d.ts +1 -0
- package/lib/core/types/dropdown.js +3 -0
- package/lib/core/types/feedback.d.ts +19 -0
- package/lib/core/types/feedback.js +3 -0
- package/lib/core/types/filter.d.ts +10 -0
- package/lib/core/types/filter.js +3 -0
- package/lib/core/types/hooks.d.ts +192 -0
- package/lib/core/types/hooks.js +3 -0
- package/lib/core/types/index.d.ts +29 -0
- package/lib/core/types/index.js +18 -0
- package/lib/core/types/l10n.d.ts +10 -0
- package/lib/core/types/l10n.js +3 -0
- package/lib/core/types/link.d.ts +19 -0
- package/lib/core/types/link.js +3 -0
- package/lib/core/types/markdown.d.ts +5 -0
- package/lib/core/types/markdown.js +3 -0
- package/lib/core/types/marker.d.ts +4 -0
- package/lib/core/types/marker.js +3 -0
- package/lib/core/types/mcp.d.ts +7 -0
- package/lib/core/types/mcp.js +3 -0
- package/lib/core/types/navbar.d.ts +7 -0
- package/lib/core/types/navbar.js +3 -0
- package/lib/core/types/navigation-tabs.d.ts +49 -0
- package/lib/core/types/navigation-tabs.js +3 -0
- package/lib/core/types/open-api-info.d.ts +34 -0
- package/lib/core/types/open-api-info.js +3 -0
- package/lib/core/types/open-api-server.d.ts +10 -0
- package/lib/core/types/open-api-server.js +3 -0
- package/lib/core/types/page-actions.d.ts +15 -0
- package/lib/core/types/page-actions.js +3 -0
- package/lib/core/types/prompt.d.ts +9 -0
- package/lib/core/types/prompt.js +3 -0
- package/lib/core/types/search.d.ts +157 -0
- package/lib/core/types/search.js +21 -0
- package/lib/core/types/segmented.d.ts +12 -0
- package/lib/core/types/segmented.js +3 -0
- package/lib/core/types/select.d.ts +32 -0
- package/lib/core/types/select.js +3 -0
- package/lib/core/types/sidebar.d.ts +63 -0
- package/lib/core/types/sidebar.js +3 -0
- package/lib/core/types/toast.d.ts +23 -0
- package/lib/core/types/toast.js +3 -0
- package/lib/core/types/tooltip.d.ts +16 -0
- package/lib/core/types/tooltip.js +3 -0
- package/lib/core/types/user-claims.d.ts +6 -0
- package/lib/core/types/user-claims.js +3 -0
- package/lib/core/types/user-menu.d.ts +12 -0
- package/lib/core/types/user-menu.js +3 -0
- package/lib/core/utils/Dynamic.d.ts +16 -0
- package/lib/core/utils/Dynamic.js +90 -0
- package/lib/core/utils/GetFileIcon.d.ts +3 -0
- package/lib/core/utils/GetFileIcon.js +127 -0
- package/lib/core/utils/RenderWithLink.d.ts +2 -0
- package/lib/core/utils/RenderWithLink.js +20 -0
- package/lib/core/utils/add-line-numbers.d.ts +6 -0
- package/lib/core/utils/add-line-numbers.js +18 -0
- package/lib/core/utils/args-typecheck.d.ts +2 -0
- package/lib/core/utils/args-typecheck.js +11 -0
- package/lib/core/utils/assign-ref.d.ts +2 -0
- package/lib/core/utils/assign-ref.js +12 -0
- package/lib/core/utils/attribute-parser.d.ts +1 -0
- package/lib/core/utils/attribute-parser.js +13 -0
- package/lib/core/utils/build-revision-url.d.ts +1 -0
- package/lib/core/utils/build-revision-url.js +15 -0
- package/lib/core/utils/change-text-casing.d.ts +3 -0
- package/lib/core/utils/change-text-casing.js +21 -0
- package/lib/core/utils/class-names.d.ts +2 -0
- package/lib/core/utils/class-names.js +18 -0
- package/lib/core/utils/clipboard-service.d.ts +4 -0
- package/lib/core/utils/clipboard-service.js +35 -0
- package/lib/core/utils/color.d.ts +1 -0
- package/lib/core/utils/color.js +14 -0
- package/lib/core/utils/consent-settings-link-placement.d.ts +3 -0
- package/lib/core/utils/consent-settings-link-placement.js +15 -0
- package/lib/core/utils/content-segments.d.ts +13 -0
- package/lib/core/utils/content-segments.js +107 -0
- package/lib/core/utils/css-variables.d.ts +1 -0
- package/lib/core/utils/css-variables.js +6 -0
- package/lib/core/utils/custom-catalog-options-casing.d.ts +15 -0
- package/lib/core/utils/custom-catalog-options-casing.js +32 -0
- package/lib/core/utils/date.d.ts +14 -0
- package/lib/core/utils/date.js +39 -0
- package/lib/core/utils/details.d.ts +1 -0
- package/lib/core/utils/details.js +43 -0
- package/lib/core/utils/dom.d.ts +1 -0
- package/lib/core/utils/dom.js +5 -0
- package/lib/core/utils/download-code-walkthrough.d.ts +6 -0
- package/lib/core/utils/download-code-walkthrough.js +72 -0
- package/lib/core/utils/dropdown.d.ts +2 -0
- package/lib/core/utils/dropdown.js +12 -0
- package/lib/core/utils/enhanced-smoothstep.d.ts +5 -0
- package/lib/core/utils/enhanced-smoothstep.js +15 -0
- package/lib/core/utils/find-closest-common-directory.d.ts +6 -0
- package/lib/core/utils/find-closest-common-directory.js +51 -0
- package/lib/core/utils/format-date-without-timezone.d.ts +1 -0
- package/lib/core/utils/format-date-without-timezone.js +12 -0
- package/lib/core/utils/frontmatter-translate.d.ts +6 -0
- package/lib/core/utils/frontmatter-translate.js +14 -0
- package/lib/core/utils/get-ai-prompt-link.d.ts +15 -0
- package/lib/core/utils/get-ai-prompt-link.js +29 -0
- package/lib/core/utils/get-auto-dismiss-duration.d.ts +2 -0
- package/lib/core/utils/get-auto-dismiss-duration.js +15 -0
- package/lib/core/utils/get-code-walkthrough-file-text.d.ts +6 -0
- package/lib/core/utils/get-code-walkthrough-file-text.js +23 -0
- package/lib/core/utils/get-navbar-element.d.ts +1 -0
- package/lib/core/utils/get-navbar-element.js +14 -0
- package/lib/core/utils/get-operation-color.d.ts +7 -0
- package/lib/core/utils/get-operation-color.js +13 -0
- package/lib/core/utils/get-scorecard-color-variable.d.ts +1 -0
- package/lib/core/utils/get-scorecard-color-variable.js +15 -0
- package/lib/core/utils/get-user-agent.d.ts +4 -0
- package/lib/core/utils/get-user-agent.js +16 -0
- package/lib/core/utils/icon-resolver.d.ts +28 -0
- package/lib/core/utils/icon-resolver.js +52 -0
- package/lib/core/utils/index.d.ts +56 -0
- package/lib/core/utils/index.js +73 -0
- package/lib/core/utils/is-url.d.ts +12 -0
- package/lib/core/utils/is-url.js +36 -0
- package/lib/core/utils/js-utils.d.ts +56 -0
- package/lib/core/utils/js-utils.js +99 -0
- package/lib/core/utils/lang-to-name.d.ts +1 -0
- package/lib/core/utils/lang-to-name.js +37 -0
- package/lib/core/utils/load-and-navigate.d.ts +8 -0
- package/lib/core/utils/load-and-navigate.js +56 -0
- package/lib/core/utils/markdoc.d.ts +2 -0
- package/lib/core/utils/markdoc.js +8 -0
- package/lib/core/utils/match-code-walkthrough-conditions.d.ts +4 -0
- package/lib/core/utils/match-code-walkthrough-conditions.js +23 -0
- package/lib/core/utils/mcp.d.ts +7 -0
- package/lib/core/utils/mcp.js +63 -0
- package/lib/core/utils/media-css.d.ts +7 -0
- package/lib/core/utils/media-css.js +10 -0
- package/lib/core/utils/menu.d.ts +14 -0
- package/lib/core/utils/menu.js +131 -0
- package/lib/core/utils/navigation-tabs.d.ts +8 -0
- package/lib/core/utils/navigation-tabs.js +71 -0
- package/lib/core/utils/parse-style-string.d.ts +1 -0
- package/lib/core/utils/parse-style-string.js +24 -0
- package/lib/core/utils/replace-hash-in-color.d.ts +1 -0
- package/lib/core/utils/replace-hash-in-color.js +7 -0
- package/lib/core/utils/replace-inputs-with-value.d.ts +3 -0
- package/lib/core/utils/replace-inputs-with-value.js +15 -0
- package/lib/core/utils/search-ai-activity.d.ts +4 -0
- package/lib/core/utils/search-ai-activity.js +83 -0
- package/lib/core/utils/string.d.ts +1 -0
- package/lib/core/utils/string.js +7 -0
- package/lib/core/utils/tabs.d.ts +1 -0
- package/lib/core/utils/tabs.js +8 -0
- package/lib/core/utils/tags-parser.d.ts +1 -0
- package/lib/core/utils/tags-parser.js +10 -0
- package/lib/core/utils/telemetry/generate-before-after-context.d.ts +37 -0
- package/lib/core/utils/telemetry/generate-before-after-context.js +32 -0
- package/lib/core/utils/telemetry/generate-resource-urn.d.ts +7 -0
- package/lib/core/utils/telemetry/generate-resource-urn.js +13 -0
- package/lib/core/utils/telemetry/get-base-data-attributes.d.ts +14 -0
- package/lib/core/utils/telemetry/get-base-data-attributes.js +17 -0
- package/lib/core/utils/text-trimmer.d.ts +1 -0
- package/lib/core/utils/text-trimmer.js +15 -0
- package/lib/core/utils/theme-helpers.d.ts +4 -0
- package/lib/core/utils/theme-helpers.js +76 -0
- package/lib/core/utils/toc.d.ts +4 -0
- package/lib/core/utils/toc.js +40 -0
- package/lib/core/utils/tooltip-placement.d.ts +32 -0
- package/lib/core/utils/tooltip-placement.js +92 -0
- package/lib/core/utils/transform-revisions-to-version-history.d.ts +8 -0
- package/lib/core/utils/transform-revisions-to-version-history.js +61 -0
- package/lib/core/utils/type-guards.d.ts +11 -0
- package/lib/core/utils/type-guards.js +32 -0
- package/lib/core/utils/urls.d.ts +41 -0
- package/lib/core/utils/urls.js +119 -0
- package/lib/core/utils/with-load-progress.d.ts +4 -0
- package/lib/core/utils/with-load-progress.js +43 -0
- package/lib/ext/configure-helpers.d.ts +35 -0
- package/lib/ext/configure-helpers.js +3 -0
- package/lib/ext/configure.d.ts +19 -0
- package/lib/ext/configure.js +86 -0
- package/lib/ext/helpers/is-direct-configure-request-values.d.ts +15 -0
- package/lib/ext/helpers/is-direct-configure-request-values.js +42 -0
- package/lib/ext/use-configure-replay.d.ts +19 -0
- package/lib/ext/use-configure-replay.js +66 -0
- package/lib/icons/AddIcon/AddIcon.d.ts +25 -0
- package/lib/icons/AddIcon/AddIcon.js +22 -0
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.d.ts +11 -0
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.js +103 -0
- package/lib/icons/AiStarsIcon/AiStarsIcon.d.ts +11 -0
- package/lib/icons/AiStarsIcon/AiStarsIcon.js +63 -0
- package/lib/icons/AnthropicIcon/AnthropicIcon.d.ts +25 -0
- package/lib/icons/AnthropicIcon/AnthropicIcon.js +20 -0
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.d.ts +25 -0
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.js +22 -0
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.d.ts +25 -0
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.js +22 -0
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.d.ts +25 -0
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.js +22 -0
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.d.ts +25 -0
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.js +22 -0
- package/lib/icons/AscSortIcon/AscSortIcon.d.ts +25 -0
- package/lib/icons/AscSortIcon/AscSortIcon.js +25 -0
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.d.ts +25 -0
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.js +27 -0
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.d.ts +25 -0
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.js +22 -0
- package/lib/icons/BotIcon/BotIcon.d.ts +25 -0
- package/lib/icons/BotIcon/BotIcon.js +21 -0
- package/lib/icons/CDNIcon/CDNIcon.d.ts +45 -0
- package/lib/icons/CDNIcon/CDNIcon.js +48 -0
- package/lib/icons/CardsIcon/CardsIcon.d.ts +25 -0
- package/lib/icons/CardsIcon/CardsIcon.js +25 -0
- package/lib/icons/CaretDownIcon/CaretDownIcon.d.ts +25 -0
- package/lib/icons/CaretDownIcon/CaretDownIcon.js +22 -0
- package/lib/icons/CaretUpIcon/CaretUpIcon.d.ts +25 -0
- package/lib/icons/CaretUpIcon/CaretUpIcon.js +22 -0
- package/lib/icons/CertificateIcon/CertificateIcon.d.ts +25 -0
- package/lib/icons/CertificateIcon/CertificateIcon.js +26 -0
- package/lib/icons/CharacterIcon/CharacterIcon.d.ts +25 -0
- package/lib/icons/CharacterIcon/CharacterIcon.js +24 -0
- package/lib/icons/ChatGptIcon/ChatGptIcon.d.ts +25 -0
- package/lib/icons/ChatGptIcon/ChatGptIcon.js +22 -0
- package/lib/icons/ChatIcon/ChatIcon.d.ts +25 -0
- package/lib/icons/ChatIcon/ChatIcon.js +24 -0
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.d.ts +25 -0
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.js +22 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +40 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +24 -0
- package/lib/icons/CheckboxIcon/variables.d.ts +1 -0
- package/lib/icons/CheckboxIcon/variables.dark.d.ts +1 -0
- package/lib/icons/CheckboxIcon/variables.dark.js +11 -0
- package/lib/icons/CheckboxIcon/variables.js +22 -0
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.d.ts +25 -0
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.js +22 -0
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.d.ts +25 -0
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.js +22 -0
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.d.ts +25 -0
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.js +23 -0
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.d.ts +25 -0
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.js +23 -0
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.d.ts +25 -0
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.js +22 -0
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.d.ts +25 -0
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.js +22 -0
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.d.ts +35 -0
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.js +22 -0
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.d.ts +25 -0
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.js +23 -0
- package/lib/icons/CircleDashIcon/CircleDashIcon.d.ts +25 -0
- package/lib/icons/CircleDashIcon/CircleDashIcon.js +31 -0
- package/lib/icons/ClaudeIcon/ClaudeIcon.d.ts +25 -0
- package/lib/icons/ClaudeIcon/ClaudeIcon.js +22 -0
- package/lib/icons/CleanIcon/CleanIcon.d.ts +25 -0
- package/lib/icons/CleanIcon/CleanIcon.js +25 -0
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.d.ts +25 -0
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.js +21 -0
- package/lib/icons/CloseIcon/CloseIcon.d.ts +25 -0
- package/lib/icons/CloseIcon/CloseIcon.js +23 -0
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.d.ts +25 -0
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.js +24 -0
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.d.ts +25 -0
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.js +23 -0
- package/lib/icons/CodeIcon/CodeIcon.d.ts +25 -0
- package/lib/icons/CodeIcon/CodeIcon.js +24 -0
- package/lib/icons/CodexIcon/CodexIcon.d.ts +25 -0
- package/lib/icons/CodexIcon/CodexIcon.js +22 -0
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.d.ts +25 -0
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.js +27 -0
- package/lib/icons/ConnectIcon/ConnectIcon.d.ts +25 -0
- package/lib/icons/ConnectIcon/ConnectIcon.js +17 -0
- package/lib/icons/ContrastIcon/ContrastIcon.d.ts +25 -0
- package/lib/icons/ContrastIcon/ContrastIcon.js +22 -0
- package/lib/icons/CookieIcon/CookieIcon.d.ts +25 -0
- package/lib/icons/CookieIcon/CookieIcon.js +29 -0
- package/lib/icons/CopyIcon/CopyIcon.d.ts +25 -0
- package/lib/icons/CopyIcon/CopyIcon.js +22 -0
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.d.ts +25 -0
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.js +24 -0
- package/lib/icons/CubeIcon/CubeIcon.d.ts +25 -0
- package/lib/icons/CubeIcon/CubeIcon.js +17 -0
- package/lib/icons/CursorIcon/CursorIcon.d.ts +25 -0
- package/lib/icons/CursorIcon/CursorIcon.js +22 -0
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.d.ts +25 -0
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.js +22 -0
- package/lib/icons/DataFormatIcon/DataFormatIcon.d.ts +25 -0
- package/lib/icons/DataFormatIcon/DataFormatIcon.js +26 -0
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.d.ts +25 -0
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.js +24 -0
- package/lib/icons/DatabaseIcon/DatabaseIcon.d.ts +25 -0
- package/lib/icons/DatabaseIcon/DatabaseIcon.js +22 -0
- package/lib/icons/DescSortIcon/DescSortIcon.d.ts +25 -0
- package/lib/icons/DescSortIcon/DescSortIcon.js +25 -0
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +25 -0
- package/lib/icons/DeselectIcon/DeselectIcon.js +26 -0
- package/lib/icons/DirectionRightIcon/DirectionRightIcon.d.ts +25 -0
- package/lib/icons/DirectionRightIcon/DirectionRightIcon.js +24 -0
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.d.ts +25 -0
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.js +23 -0
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.d.ts +25 -0
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.js +22 -0
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.d.ts +25 -0
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.js +23 -0
- package/lib/icons/DocumentCssIcon/index.d.ts +1 -0
- package/lib/icons/DocumentCssIcon/index.js +6 -0
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.d.ts +25 -0
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.js +31 -0
- package/lib/icons/DocumentGraphqlIcon/index.d.ts +1 -0
- package/lib/icons/DocumentGraphqlIcon/index.js +6 -0
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.d.ts +25 -0
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.js +23 -0
- package/lib/icons/DocumentHtmlIcon/index.d.ts +1 -0
- package/lib/icons/DocumentHtmlIcon/index.js +6 -0
- package/lib/icons/DocumentIcon/DocumentIcon.d.ts +25 -0
- package/lib/icons/DocumentIcon/DocumentIcon.js +24 -0
- package/lib/icons/DocumentIcon/index.d.ts +1 -0
- package/lib/icons/DocumentIcon/index.js +6 -0
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.d.ts +25 -0
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.js +22 -0
- package/lib/icons/DocumentJavaIcon/index.d.ts +1 -0
- package/lib/icons/DocumentJavaIcon/index.js +6 -0
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.d.ts +25 -0
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.js +23 -0
- package/lib/icons/DocumentJsIcon/index.d.ts +1 -0
- package/lib/icons/DocumentJsIcon/index.js +6 -0
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.d.ts +25 -0
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.js +23 -0
- package/lib/icons/DocumentJsonIcon/index.d.ts +1 -0
- package/lib/icons/DocumentJsonIcon/index.js +6 -0
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.d.ts +25 -0
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.js +23 -0
- package/lib/icons/DocumentMarkdownIcon/index.d.ts +1 -0
- package/lib/icons/DocumentMarkdownIcon/index.js +6 -0
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.d.ts +25 -0
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.js +23 -0
- package/lib/icons/DocumentPythonIcon/index.d.ts +1 -0
- package/lib/icons/DocumentPythonIcon/index.js +6 -0
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.d.ts +25 -0
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.js +23 -0
- package/lib/icons/DocumentReactIcon/index.d.ts +1 -0
- package/lib/icons/DocumentReactIcon/index.js +6 -0
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.d.ts +25 -0
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.js +22 -0
- package/lib/icons/DocumentShellIcon/index.d.ts +1 -0
- package/lib/icons/DocumentShellIcon/index.js +6 -0
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.d.ts +25 -0
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.js +23 -0
- package/lib/icons/DocumentTsIcon/index.d.ts +1 -0
- package/lib/icons/DocumentTsIcon/index.js +6 -0
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.d.ts +25 -0
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.js +23 -0
- package/lib/icons/DocumentYamlIcon/index.d.ts +1 -0
- package/lib/icons/DocumentYamlIcon/index.js +6 -0
- package/lib/icons/DownloadIcon/DownloadIcon.d.ts +25 -0
- package/lib/icons/DownloadIcon/DownloadIcon.js +23 -0
- package/lib/icons/DraggableIcon/DraggableIcon.d.ts +25 -0
- package/lib/icons/DraggableIcon/DraggableIcon.js +27 -0
- package/lib/icons/EditIcon/EditIcon.d.ts +25 -0
- package/lib/icons/EditIcon/EditIcon.js +23 -0
- package/lib/icons/EmailIcon/EmailIcon.d.ts +25 -0
- package/lib/icons/EmailIcon/EmailIcon.js +22 -0
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.d.ts +25 -0
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.js +26 -0
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.d.ts +25 -0
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.js +22 -0
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +25 -0
- package/lib/icons/ErrorIcon/ErrorIcon.js +22 -0
- package/lib/icons/ExpandCollapseIcon/ExpandCollapseIcon.d.ts +29 -0
- package/lib/icons/ExpandCollapseIcon/ExpandCollapseIcon.js +81 -0
- package/lib/icons/ExportIcon/ExportIcon.d.ts +25 -0
- package/lib/icons/ExportIcon/ExportIcon.js +23 -0
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.d.ts +25 -0
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.js +25 -0
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.d.ts +25 -0
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.js +25 -0
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.d.ts +25 -0
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.js +25 -0
- package/lib/icons/FileIcon/FileIcon.d.ts +25 -0
- package/lib/icons/FileIcon/FileIcon.js +22 -0
- package/lib/icons/FileStorageIcon/FileStorageIcon.d.ts +25 -0
- package/lib/icons/FileStorageIcon/FileStorageIcon.js +24 -0
- package/lib/icons/FilterIcon/FilterIcon.d.ts +25 -0
- package/lib/icons/FilterIcon/FilterIcon.js +22 -0
- package/lib/icons/FitToViewIcon/FitToViewIcon.d.ts +25 -0
- package/lib/icons/FitToViewIcon/FitToViewIcon.js +25 -0
- package/lib/icons/FlowIcon/FlowIcon.d.ts +25 -0
- package/lib/icons/FlowIcon/FlowIcon.js +22 -0
- package/lib/icons/FolderAddIcon/FolderAddIcon.d.ts +25 -0
- package/lib/icons/FolderAddIcon/FolderAddIcon.js +23 -0
- package/lib/icons/FolderIcon/FolderIcon.d.ts +25 -0
- package/lib/icons/FolderIcon/FolderIcon.js +22 -0
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.d.ts +25 -0
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.js +23 -0
- package/lib/icons/GeminiIcon/GeminiIcon.d.ts +25 -0
- package/lib/icons/GeminiIcon/GeminiIcon.js +95 -0
- package/lib/icons/GenericIcon/GenericIcon.d.ts +11 -0
- package/lib/icons/GenericIcon/GenericIcon.js +76 -0
- package/lib/icons/GithubIcon/GithubIcon.d.ts +25 -0
- package/lib/icons/GithubIcon/GithubIcon.js +22 -0
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.d.ts +25 -0
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.js +22 -0
- package/lib/icons/GraphIcon/GraphIcon.d.ts +25 -0
- package/lib/icons/GraphIcon/GraphIcon.js +22 -0
- package/lib/icons/GraphqlIcon/GraphqlIcon.d.ts +25 -0
- package/lib/icons/GraphqlIcon/GraphqlIcon.js +36 -0
- package/lib/icons/GraphqlIcon/index.d.ts +1 -0
- package/lib/icons/GraphqlIcon/index.js +6 -0
- package/lib/icons/GridIcon/GridIcon.d.ts +25 -0
- package/lib/icons/GridIcon/GridIcon.js +25 -0
- package/lib/icons/HashtagIcon/HashtagIcon.d.ts +25 -0
- package/lib/icons/HashtagIcon/HashtagIcon.js +22 -0
- package/lib/icons/HexagonIcon/HexagonIcon.d.ts +25 -0
- package/lib/icons/HexagonIcon/HexagonIcon.js +22 -0
- package/lib/icons/HierarchyIcon/HierarchyIcon.d.ts +25 -0
- package/lib/icons/HierarchyIcon/HierarchyIcon.js +23 -0
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.d.ts +25 -0
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.js +23 -0
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.d.ts +25 -0
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.js +24 -0
- package/lib/icons/IdeaIcon/IdeaIcon.d.ts +25 -0
- package/lib/icons/IdeaIcon/IdeaIcon.js +24 -0
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.d.ts +25 -0
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.js +22 -0
- package/lib/icons/InformationIcon/InformationIcon.d.ts +25 -0
- package/lib/icons/InformationIcon/InformationIcon.js +24 -0
- package/lib/icons/JsonIcon/JsonIcon.d.ts +25 -0
- package/lib/icons/JsonIcon/JsonIcon.js +25 -0
- package/lib/icons/KafkaIcon/KafkaIcon.d.ts +25 -0
- package/lib/icons/KafkaIcon/KafkaIcon.js +26 -0
- package/lib/icons/LaunchIcon/LaunchIcon.d.ts +25 -0
- package/lib/icons/LaunchIcon/LaunchIcon.js +23 -0
- package/lib/icons/LinkIcon/LinkIcon.d.ts +25 -0
- package/lib/icons/LinkIcon/LinkIcon.js +23 -0
- package/lib/icons/LinkIcon/LinkIconSymbol.d.ts +12 -0
- package/lib/icons/LinkIcon/LinkIconSymbol.js +41 -0
- package/lib/icons/LogoutIcon/LogoutIcon.d.ts +25 -0
- package/lib/icons/LogoutIcon/LogoutIcon.js +23 -0
- package/lib/icons/MagicWandIcon/MagicWandIcon.d.ts +25 -0
- package/lib/icons/MagicWandIcon/MagicWandIcon.js +25 -0
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.d.ts +25 -0
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.js +23 -0
- package/lib/icons/MaximizeIcon/MaximizeIcon.d.ts +25 -0
- package/lib/icons/MaximizeIcon/MaximizeIcon.js +23 -0
- package/lib/icons/MenuIcon/MenuIcon.d.ts +25 -0
- package/lib/icons/MenuIcon/MenuIcon.js +22 -0
- package/lib/icons/MinimizeIcon/MinimizeIcon.d.ts +25 -0
- package/lib/icons/MinimizeIcon/MinimizeIcon.js +23 -0
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.d.ts +26 -0
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.js +27 -0
- package/lib/icons/MoleculesIcon/MoleculesIcon.d.ts +25 -0
- package/lib/icons/MoleculesIcon/MoleculesIcon.js +22 -0
- package/lib/icons/MoonIcon/MoonIcon.d.ts +25 -0
- package/lib/icons/MoonIcon/MoonIcon.js +22 -0
- package/lib/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.d.ts +25 -0
- package/lib/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.js +26 -0
- package/lib/icons/NetworkIcon/NetworkIcon.d.ts +25 -0
- package/lib/icons/NetworkIcon/NetworkIcon.js +23 -0
- package/lib/icons/NewChatIcon/NewChatIcon.d.ts +25 -0
- package/lib/icons/NewChatIcon/NewChatIcon.js +25 -0
- package/lib/icons/NoneIcon/NoneIcon.d.ts +25 -0
- package/lib/icons/NoneIcon/NoneIcon.js +17 -0
- package/lib/icons/NoteIcon/NoteIcon.d.ts +25 -0
- package/lib/icons/NoteIcon/NoteIcon.js +24 -0
- package/lib/icons/NotesIcon/NotesIcon.d.ts +25 -0
- package/lib/icons/NotesIcon/NotesIcon.js +26 -0
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.d.ts +25 -0
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.js +24 -0
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.d.ts +25 -0
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.js +24 -0
- package/lib/icons/PeopleIcon/PeopleIcon.d.ts +25 -0
- package/lib/icons/PeopleIcon/PeopleIcon.js +27 -0
- package/lib/icons/PlayIcon/PlayIcon.d.ts +25 -0
- package/lib/icons/PlayIcon/PlayIcon.js +21 -0
- package/lib/icons/PlaylistIcon/PlaylistIcon.d.ts +25 -0
- package/lib/icons/PlaylistIcon/PlaylistIcon.js +24 -0
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.d.ts +25 -0
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.js +23 -0
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.d.ts +25 -0
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.js +26 -0
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.d.ts +25 -0
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.js +16 -0
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.d.ts +25 -0
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.js +23 -0
- package/lib/icons/RedoclyIcon/RedoclyIcon.d.ts +25 -0
- package/lib/icons/RedoclyIcon/RedoclyIcon.js +24 -0
- package/lib/icons/RenewIcon/RenewIcon.d.ts +25 -0
- package/lib/icons/RenewIcon/RenewIcon.js +23 -0
- package/lib/icons/ResetIcon/ResetIcon.d.ts +25 -0
- package/lib/icons/ResetIcon/ResetIcon.js +22 -0
- package/lib/icons/RestartIcon/RestartIcon.d.ts +25 -0
- package/lib/icons/RestartIcon/RestartIcon.js +22 -0
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.d.ts +33 -0
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.js +18 -0
- package/lib/icons/RocketIcon/RocketIcon.d.ts +25 -0
- package/lib/icons/RocketIcon/RocketIcon.js +23 -0
- package/lib/icons/SaveIcon/SaveIcon.d.ts +25 -0
- package/lib/icons/SaveIcon/SaveIcon.js +22 -0
- package/lib/icons/SearchIcon/SearchIcon.d.ts +25 -0
- package/lib/icons/SearchIcon/SearchIcon.js +22 -0
- package/lib/icons/SecurityIcon/SecurityIcon.d.ts +25 -0
- package/lib/icons/SecurityIcon/SecurityIcon.js +23 -0
- package/lib/icons/SelectIcon/SelectIcon.d.ts +25 -0
- package/lib/icons/SelectIcon/SelectIcon.js +26 -0
- package/lib/icons/SendIcon/SendIcon.d.ts +25 -0
- package/lib/icons/SendIcon/SendIcon.js +22 -0
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.d.ts +25 -0
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.js +25 -0
- package/lib/icons/SettingsIcon/SettingsIcon.d.ts +35 -0
- package/lib/icons/SettingsIcon/SettingsIcon.js +39 -0
- package/lib/icons/ShareIcon/ShareIcon.d.ts +25 -0
- package/lib/icons/ShareIcon/ShareIcon.js +22 -0
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.d.ts +25 -0
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.js +22 -0
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.d.ts +25 -0
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.js +22 -0
- package/lib/icons/SlackIcon/SlackIcon.d.ts +25 -0
- package/lib/icons/SlackIcon/SlackIcon.js +29 -0
- package/lib/icons/SortIcon/SortIcon.d.ts +25 -0
- package/lib/icons/SortIcon/SortIcon.js +25 -0
- package/lib/icons/Spinner/Spinner.d.ts +93 -0
- package/lib/icons/Spinner/Spinner.js +51 -0
- package/lib/icons/SpinnerIcon/SpinnerIcon.d.ts +25 -0
- package/lib/icons/SpinnerIcon/SpinnerIcon.js +34 -0
- package/lib/icons/StarFilledIcon/StarFilledIcon.d.ts +25 -0
- package/lib/icons/StarFilledIcon/StarFilledIcon.js +22 -0
- package/lib/icons/StarIcon/StarIcon.d.ts +25 -0
- package/lib/icons/StarIcon/StarIcon.js +22 -0
- package/lib/icons/StopIcon/StopIcon.d.ts +25 -0
- package/lib/icons/StopIcon/StopIcon.js +22 -0
- package/lib/icons/SubtractIcon/SubtractIcon.d.ts +25 -0
- package/lib/icons/SubtractIcon/SubtractIcon.js +22 -0
- package/lib/icons/SunIcon/SunIcon.d.ts +25 -0
- package/lib/icons/SunIcon/SunIcon.js +30 -0
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.d.ts +25 -0
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.js +22 -0
- package/lib/icons/TableIcon/TableIcon.d.ts +25 -0
- package/lib/icons/TableIcon/TableIcon.js +22 -0
- package/lib/icons/TagsIcon/TagsIcon.d.ts +25 -0
- package/lib/icons/TagsIcon/TagsIcon.js +24 -0
- package/lib/icons/TaskViewIcon/TaskViewIcon.d.ts +25 -0
- package/lib/icons/TaskViewIcon/TaskViewIcon.js +24 -0
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.d.ts +25 -0
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.js +34 -0
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.d.ts +25 -0
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.js +14 -0
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.d.ts +25 -0
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.js +34 -0
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.d.ts +25 -0
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.js +14 -0
- package/lib/icons/TimeIcon/TimeIcon.d.ts +25 -0
- package/lib/icons/TimeIcon/TimeIcon.js +23 -0
- package/lib/icons/TrashCanIcon/TrashCanIcon.d.ts +25 -0
- package/lib/icons/TrashCanIcon/TrashCanIcon.js +26 -0
- package/lib/icons/UserIcon/UserIcon.d.ts +25 -0
- package/lib/icons/UserIcon/UserIcon.js +23 -0
- package/lib/icons/VSCodeIcon/VSCodeIcon.d.ts +25 -0
- package/lib/icons/VSCodeIcon/VSCodeIcon.js +17 -0
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.d.ts +25 -0
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.js +23 -0
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.d.ts +25 -0
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.js +23 -0
- package/lib/icons/ViewIcon/ViewIcon.d.ts +25 -0
- package/lib/icons/ViewIcon/ViewIcon.js +23 -0
- package/lib/icons/ViewOffIcon/ViewOffIcon.d.ts +25 -0
- package/lib/icons/ViewOffIcon/ViewOffIcon.js +24 -0
- package/lib/icons/WarningAltFilled/WarningAltFilled.d.ts +25 -0
- package/lib/icons/WarningAltFilled/WarningAltFilled.js +23 -0
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.d.ts +25 -0
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.js +23 -0
- package/lib/icons/WarningAltIcon/WarningAltIcon.d.ts +25 -0
- package/lib/icons/WarningAltIcon/WarningAltIcon.js +24 -0
- package/lib/icons/WarningCycleIcon/WarningCycleIcon.d.ts +25 -0
- package/lib/icons/WarningCycleIcon/WarningCycleIcon.js +24 -0
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.d.ts +25 -0
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.js +22 -0
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.d.ts +25 -0
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.js +24 -0
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.d.ts +25 -0
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.js +24 -0
- package/lib/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.d.ts +25 -0
- package/lib/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.js +23 -0
- package/lib/icons/__tests__/IconTestUtils.d.ts +6 -0
- package/lib/icons/__tests__/IconTestUtils.js +49 -0
- package/lib/icons/types.d.ts +13 -0
- package/lib/icons/types.js +3 -0
- package/lib/index.d.ts +303 -0
- package/lib/layouts/CodeWalkthroughLayout.d.ts +6 -0
- package/lib/layouts/CodeWalkthroughLayout.js +77 -0
- package/lib/layouts/DocumentationLayout.d.ts +18 -0
- package/lib/layouts/DocumentationLayout.js +55 -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 +83 -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,127 @@
|
|
|
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.CatalogFilterSelect = CatalogFilterSelect;
|
|
40
|
+
const react_1 = __importStar(require("react"));
|
|
41
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
42
|
+
const FilterOption_1 = require("../../../components/Filter/FilterOption");
|
|
43
|
+
const FilterOptionLabel_1 = require("../../../components/Filter/FilterOptionLabel");
|
|
44
|
+
const Select_1 = require("../../../components/Select/Select");
|
|
45
|
+
const CounterTag_1 = require("../../../components/Tags/CounterTag");
|
|
46
|
+
const utils_1 = require("../../../core/utils");
|
|
47
|
+
const hooks_1 = require("../../../core/hooks");
|
|
48
|
+
const Accordion_1 = require("../../../components/Accordion/Accordion");
|
|
49
|
+
function CatalogFilterSelect({ filter, filterValuesCasing, showCounter = true, className, }) {
|
|
50
|
+
var _a;
|
|
51
|
+
const { useTranslate } = (0, hooks_1.useThemeHooks)();
|
|
52
|
+
const { translate } = useTranslate();
|
|
53
|
+
const [isExpanded, setIsExpanded] = (0, react_1.useState)(false);
|
|
54
|
+
const selectedCount = (0, react_1.useMemo)(() => {
|
|
55
|
+
var _a;
|
|
56
|
+
if (filter.selectedOptions instanceof Set) {
|
|
57
|
+
const firstValue = (_a = filter.selectedOptions.values().next()) === null || _a === void 0 ? void 0 : _a.value;
|
|
58
|
+
return firstValue && firstValue !== '' ? 1 : 0;
|
|
59
|
+
}
|
|
60
|
+
return 0;
|
|
61
|
+
}, [filter.selectedOptions]);
|
|
62
|
+
let selectOptions = [];
|
|
63
|
+
const defaultOptionCount = filter.options.reduce((acc, option) => acc + option.count, 0);
|
|
64
|
+
selectOptions = [
|
|
65
|
+
{
|
|
66
|
+
value: '',
|
|
67
|
+
element: (react_1.default.createElement(FilterOption_1.FilterOption, { key: "all", onClick: () => filter.selectOption('') },
|
|
68
|
+
react_1.default.createElement(FilterOptionLabel_1.FilterOptionLabel, { "data-translation-key": "catalog.filters.select.all" }, translate('catalog.filters.select.all', 'All')),
|
|
69
|
+
react_1.default.createElement(CounterTag_1.CounterTag, { borderless: true }, defaultOptionCount))),
|
|
70
|
+
},
|
|
71
|
+
...filter.options.map((option) => ({
|
|
72
|
+
value: option.value,
|
|
73
|
+
element: (react_1.default.createElement(FilterOption_1.FilterOption, { key: option.value },
|
|
74
|
+
react_1.default.createElement(FilterOptionLabel_1.FilterOptionLabel, { "data-translation-key": option.value }, (0, utils_1.changeTextCasing)(translate(option.value), filterValuesCasing)),
|
|
75
|
+
showCounter && react_1.default.createElement(CounterTag_1.CounterTag, { borderless: true }, option.count))),
|
|
76
|
+
})),
|
|
77
|
+
];
|
|
78
|
+
const headerContent = (react_1.default.createElement(AccordionHeaderContent, null,
|
|
79
|
+
react_1.default.createElement("span", null, translate(filter.titleTranslationKey, filter.title)),
|
|
80
|
+
selectedCount > 0 && react_1.default.createElement(CounterTag_1.CounterTag, { borderless: true }, selectedCount)));
|
|
81
|
+
return (react_1.default.createElement(AccordionWrapper, { className: className, $hasSelection: selectedCount > 0 && !isExpanded, "data-component-name": "Catalog/CatalogFilterSelect" },
|
|
82
|
+
react_1.default.createElement(Accordion_1.Accordion, { expanded: isExpanded, header: headerContent, onToggle: setIsExpanded },
|
|
83
|
+
react_1.default.createElement(StyledSelect, { value: ((_a = (filter.selectedOptions instanceof Set ? filter.selectedOptions : new Set())
|
|
84
|
+
.values()
|
|
85
|
+
.next()) === null || _a === void 0 ? void 0 : _a.value) || '', onChange: (value) => filter.selectOption(value), options: selectOptions }))));
|
|
86
|
+
}
|
|
87
|
+
const AccordionWrapper = styled_components_1.default.div `
|
|
88
|
+
position: relative;
|
|
89
|
+
border-right: 4px solid transparent;
|
|
90
|
+
|
|
91
|
+
${({ $hasSelection }) => $hasSelection &&
|
|
92
|
+
`border-right-color: var(--color-blueberry-6);
|
|
93
|
+
|
|
94
|
+
&::after {
|
|
95
|
+
content: '';
|
|
96
|
+
position: absolute;
|
|
97
|
+
bottom: -1px;
|
|
98
|
+
right: -4px;
|
|
99
|
+
width: 4px;
|
|
100
|
+
height: 1px;
|
|
101
|
+
background-color: var(--color-blueberry-6);
|
|
102
|
+
z-index: 1;
|
|
103
|
+
}
|
|
104
|
+
`}
|
|
105
|
+
`;
|
|
106
|
+
const AccordionHeaderContent = styled_components_1.default.div `
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
gap: var(--spacing-xs);
|
|
110
|
+
width: 100%;
|
|
111
|
+
`;
|
|
112
|
+
const StyledSelect = (0, styled_components_1.default)(Select_1.Select) `
|
|
113
|
+
--select-list-max-width: var(--filter-select-max-width);
|
|
114
|
+
|
|
115
|
+
min-height: var(--filter-select-min-height);
|
|
116
|
+
--select-text-color: var(--filter-select-color);
|
|
117
|
+
border: 1px solid var(--filter-select-border-color);
|
|
118
|
+
--select-border-radius: var(--filter-select-border-radius);
|
|
119
|
+
--select-input-border-radius: var(--filter-select-border-radius);
|
|
120
|
+
padding: var(--filter-select-padding);
|
|
121
|
+
|
|
122
|
+
&:hover {
|
|
123
|
+
border-color: var(--filter-select-border-color-hover);
|
|
124
|
+
}
|
|
125
|
+
--filter-option-margin: var(--filter-select-option-margin);
|
|
126
|
+
`;
|
|
127
|
+
//# sourceMappingURL=CatalogFilterSelect.js.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare const HighlightContext: React.Context<string[]>;
|
|
4
|
+
export type CatalogHighlightProps = React.PropsWithChildren;
|
|
5
|
+
export declare function CatalogHighlight(props: CatalogHighlightProps): JSX.Element | null;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.HighlightContext = void 0;
|
|
7
|
+
exports.CatalogHighlight = CatalogHighlight;
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const highlight_words_core_1 = require("highlight-words-core");
|
|
10
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
11
|
+
exports.HighlightContext = react_1.default.createContext([]);
|
|
12
|
+
function CatalogHighlight(props) {
|
|
13
|
+
const { children } = props;
|
|
14
|
+
const searchWords = react_1.default.useContext(exports.HighlightContext);
|
|
15
|
+
if (!searchWords.length) {
|
|
16
|
+
return children ? react_1.default.createElement(react_1.default.Fragment, null, children) : null;
|
|
17
|
+
}
|
|
18
|
+
function highlight(str, childIdx = 0) {
|
|
19
|
+
const chunks = (0, highlight_words_core_1.findAll)({
|
|
20
|
+
searchWords,
|
|
21
|
+
textToHighlight: str,
|
|
22
|
+
});
|
|
23
|
+
return (react_1.default.createElement("span", { "data-component-name": "Catalog/CatalogHighlight", key: childIdx }, chunks.map((chunk, idx) => {
|
|
24
|
+
const { end, highlight, start } = chunk;
|
|
25
|
+
const text = str.substr(start, end - start);
|
|
26
|
+
if (highlight) {
|
|
27
|
+
return react_1.default.createElement(HighlightedText, { key: idx }, text);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
return text;
|
|
31
|
+
}
|
|
32
|
+
})));
|
|
33
|
+
}
|
|
34
|
+
if (typeof children === 'string') {
|
|
35
|
+
return highlight(children);
|
|
36
|
+
}
|
|
37
|
+
else if (Array.isArray(children)) {
|
|
38
|
+
return (react_1.default.createElement(react_1.default.Fragment, null, children.map((child, idx) => typeof children === 'string' ? highlight(child, idx) : child || null)));
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
return react_1.default.createElement(react_1.default.Fragment, null, children);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const HighlightedText = styled_components_1.default.span `
|
|
45
|
+
background-color: var(--catalog-highlight-bg-color);
|
|
46
|
+
color: var(--catalog-highlight-text-color);
|
|
47
|
+
`;
|
|
48
|
+
//# sourceMappingURL=CatalogHighlight.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type CatalogMobileFiltersPanelProps = {
|
|
4
|
+
setMobileFiltersPanelOpen: (open: boolean) => void;
|
|
5
|
+
filterContent: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare function CatalogMobileFiltersPanel({ setMobileFiltersPanelOpen, filterContent, }: CatalogMobileFiltersPanelProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
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.CatalogMobileFiltersPanel = CatalogMobileFiltersPanel;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const CatalogMobileFiltersPanelHeader_1 = require("../../../components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader");
|
|
10
|
+
function CatalogMobileFiltersPanel({ setMobileFiltersPanelOpen, filterContent, }) {
|
|
11
|
+
return (react_1.default.createElement(CatalogMobileFiltersPanelWrapper, null,
|
|
12
|
+
react_1.default.createElement(CatalogMobileFiltersPanelHeader_1.CatalogMobileFiltersPanelHeader, { setMobileFiltersPanelOpen: setMobileFiltersPanelOpen }),
|
|
13
|
+
filterContent));
|
|
14
|
+
}
|
|
15
|
+
const CatalogMobileFiltersPanelWrapper = styled_components_1.default.div `
|
|
16
|
+
width: 100%;
|
|
17
|
+
max-height: calc(100vh - var(--navbar-offset));
|
|
18
|
+
overflow-y: auto;
|
|
19
|
+
background: var(--sidebar-bg-color);
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
height: 100%;
|
|
23
|
+
`;
|
|
24
|
+
//# sourceMappingURL=CatalogMobileFiltersPanel.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
type CatalogMobileFiltersPanelHeaderProps = {
|
|
3
|
+
setMobileFiltersPanelOpen: (open: boolean) => void;
|
|
4
|
+
};
|
|
5
|
+
export declare function CatalogMobileFiltersPanelHeader({ setMobileFiltersPanelOpen, }: CatalogMobileFiltersPanelHeaderProps): JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
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.CatalogMobileFiltersPanelHeader = CatalogMobileFiltersPanelHeader;
|
|
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 core_1 = require("../../../core");
|
|
11
|
+
function CatalogMobileFiltersPanelHeader({ setMobileFiltersPanelOpen, }) {
|
|
12
|
+
const { useTranslate } = (0, core_1.useThemeHooks)();
|
|
13
|
+
const { translate } = useTranslate();
|
|
14
|
+
return (react_1.default.createElement(CatalogMobileFiltersPanelHeaderWrapper, null,
|
|
15
|
+
react_1.default.createElement("span", null),
|
|
16
|
+
react_1.default.createElement(Button_1.Button, { variant: "ghost", size: "medium", onClick: () => setMobileFiltersPanelOpen(false) }, translate('catalog.filters.close', 'Close'))));
|
|
17
|
+
}
|
|
18
|
+
const CatalogMobileFiltersPanelHeaderWrapper = styled_components_1.default.div `
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
padding: var(--catalog-filter-content-header-padding);
|
|
23
|
+
border-bottom: 1px solid var(--border-color-secondary);
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
`;
|
|
26
|
+
//# sourceMappingURL=CatalogMobileFiltersPanelHeader.js.map
|
package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type CatalogMobileFiltersPanelOverlayProps = {
|
|
4
|
+
setMobileFiltersPanelOpen: (open: boolean) => void;
|
|
5
|
+
filterContent: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare function CatalogMobileFiltersPanelOverlay({ setMobileFiltersPanelOpen, filterContent, }: CatalogMobileFiltersPanelOverlayProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
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.CatalogMobileFiltersPanelOverlay = CatalogMobileFiltersPanelOverlay;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const core_1 = require("../../../core");
|
|
10
|
+
const CatalogMobileFiltersPanel_1 = require("../../../components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel");
|
|
11
|
+
function CatalogMobileFiltersPanelOverlay({ setMobileFiltersPanelOpen, filterContent, }) {
|
|
12
|
+
return (react_1.default.createElement(CatalogMobileFiltersPanelOverlayWrapper, null,
|
|
13
|
+
react_1.default.createElement(CatalogMobileFiltersPanel_1.CatalogMobileFiltersPanel, { setMobileFiltersPanelOpen: setMobileFiltersPanelOpen, filterContent: filterContent })));
|
|
14
|
+
}
|
|
15
|
+
const CatalogMobileFiltersPanelOverlayWrapper = styled_components_1.default.div `
|
|
16
|
+
display: none;
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: var(--navbar-offset);
|
|
19
|
+
left: 0;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: calc(100vh - var(--navbar-offset));
|
|
22
|
+
z-index: 3;
|
|
23
|
+
background: var(--bg-color);
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
|
|
26
|
+
@media screen and (max-width: ${core_1.breakpoints.medium}) {
|
|
27
|
+
display: flex;
|
|
28
|
+
}
|
|
29
|
+
`;
|
|
30
|
+
//# sourceMappingURL=CatalogMobileFiltersPanelOverlay.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import type { CatalogViewMode } from '../../../core';
|
|
3
|
+
type CatalogMobileTopBarProps = {
|
|
4
|
+
setMobileFiltersPanelOpen: (open: boolean) => void;
|
|
5
|
+
activeFiltersCount: number;
|
|
6
|
+
setSortOption: (sortOption: string | null) => void;
|
|
7
|
+
sortOption: string | null;
|
|
8
|
+
viewMode: CatalogViewMode;
|
|
9
|
+
setViewMode: (viewMode: CatalogViewMode) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare function CatalogMobileTopBar({ setMobileFiltersPanelOpen, activeFiltersCount, setSortOption, sortOption, viewMode, setViewMode, }: CatalogMobileTopBarProps): JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
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.CatalogMobileTopBar = CatalogMobileTopBar;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const CatalogMobileTopBarFiltersButton_1 = require("../../../components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton");
|
|
10
|
+
const CatalogMobileTopBarControls_1 = require("../../../components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls");
|
|
11
|
+
const core_1 = require("../../../core");
|
|
12
|
+
function CatalogMobileTopBar({ setMobileFiltersPanelOpen, activeFiltersCount, setSortOption, sortOption, viewMode, setViewMode, }) {
|
|
13
|
+
return (react_1.default.createElement(CatalogMobileTopBarWrapper, null,
|
|
14
|
+
react_1.default.createElement(CatalogMobileTopBarFiltersButton_1.CatalogMobileTopBarFiltersButton, { setMobileFiltersPanelOpen: setMobileFiltersPanelOpen, activeFiltersCount: activeFiltersCount }),
|
|
15
|
+
react_1.default.createElement(CatalogMobileTopBarControls_1.CatalogMobileTopBarControls, { setSortOption: setSortOption, sortOption: sortOption, viewMode: viewMode, setViewMode: setViewMode })));
|
|
16
|
+
}
|
|
17
|
+
const CatalogMobileTopBarWrapper = styled_components_1.default.div `
|
|
18
|
+
display: none;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
padding: var(--spacing-sm) var(--catalog-page-padding-horizontal);
|
|
22
|
+
border-bottom: 1px solid var(--border-color-secondary);
|
|
23
|
+
background: var(--bg-color);
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
|
|
26
|
+
@media screen and (max-width: ${core_1.breakpoints.medium}) {
|
|
27
|
+
display: flex;
|
|
28
|
+
}
|
|
29
|
+
`;
|
|
30
|
+
//# sourceMappingURL=CatalogMobileTopBar.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import type { CatalogViewMode } from '../../../core';
|
|
3
|
+
type CatalogMobileTopBarControlsProps = {
|
|
4
|
+
setSortOption: (sortOption: string | null) => void;
|
|
5
|
+
sortOption: string | null;
|
|
6
|
+
viewMode: CatalogViewMode;
|
|
7
|
+
setViewMode: (viewMode: CatalogViewMode) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare function CatalogMobileTopBarControls({ setSortOption, sortOption, viewMode, setViewMode, }: CatalogMobileTopBarControlsProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
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.CatalogMobileTopBarControls = CatalogMobileTopBarControls;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const CatalogSortButton_1 = require("../../../components/Catalog/CatalogSortButton");
|
|
10
|
+
const CatalogViewModeToggle_1 = require("../../../components/Catalog/CatalogViewModeToggle");
|
|
11
|
+
function CatalogMobileTopBarControls({ setSortOption, sortOption, viewMode, setViewMode, }) {
|
|
12
|
+
return (react_1.default.createElement(CatalogMobileTopBarControlsWrapper, null,
|
|
13
|
+
react_1.default.createElement(CatalogSortButton_1.CatalogSortButton, { onSortChange: setSortOption, currentSort: sortOption }),
|
|
14
|
+
react_1.default.createElement(CatalogViewModeToggle_1.CatalogViewModeToggle, { viewMode: viewMode, onViewModeChange: setViewMode })));
|
|
15
|
+
}
|
|
16
|
+
const CatalogMobileTopBarControlsWrapper = styled_components_1.default.div `
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: var(--catalog-controls-wrapper-gap);
|
|
20
|
+
`;
|
|
21
|
+
//# sourceMappingURL=CatalogMobileTopBarControls.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
type CatalogMobileTopBarFiltersButtonProps = {
|
|
3
|
+
setMobileFiltersPanelOpen: (open: boolean) => void;
|
|
4
|
+
activeFiltersCount: number;
|
|
5
|
+
};
|
|
6
|
+
export declare function CatalogMobileTopBarFiltersButton({ setMobileFiltersPanelOpen, activeFiltersCount, }: CatalogMobileTopBarFiltersButtonProps): JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
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.CatalogMobileTopBarFiltersButton = CatalogMobileTopBarFiltersButton;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const FilterIcon_1 = require("../../../icons/FilterIcon/FilterIcon");
|
|
10
|
+
const CounterTag_1 = require("../../../components/Tags/CounterTag");
|
|
11
|
+
const core_1 = require("../../../core");
|
|
12
|
+
const Button_1 = require("../../../components/Button/Button");
|
|
13
|
+
function CatalogMobileTopBarFiltersButton({ setMobileFiltersPanelOpen, activeFiltersCount, }) {
|
|
14
|
+
const { useTranslate } = (0, core_1.useThemeHooks)();
|
|
15
|
+
const { translate } = useTranslate();
|
|
16
|
+
return (react_1.default.createElement(CatalogMobileTopBarFiltersButtonWrapper, { icon: react_1.default.createElement(FilterIcon_1.FilterIcon, { size: "16px" }), variant: "ghost", iconPosition: "left", size: "medium", onClick: () => setMobileFiltersPanelOpen(true) },
|
|
17
|
+
translate('catalog.filters.title', 'Filters'),
|
|
18
|
+
activeFiltersCount > 0 ? react_1.default.createElement(CounterTag_1.CounterTag, { borderless: true }, activeFiltersCount) : null));
|
|
19
|
+
}
|
|
20
|
+
const CatalogMobileTopBarFiltersButtonWrapper = (0, styled_components_1.default)(Button_1.Button) `
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
gap: var(--spacing-xs);
|
|
24
|
+
`;
|
|
25
|
+
//# sourceMappingURL=CatalogMobileTopBarFiltersButton.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CatalogPageDescriptionProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
titleTranslationKey?: string;
|
|
5
|
+
description: string;
|
|
6
|
+
descriptionTranslationKey?: string;
|
|
7
|
+
tag: number | string;
|
|
8
|
+
};
|
|
9
|
+
export declare function CatalogPageDescription({ title, titleTranslationKey, description, descriptionTranslationKey, tag, }: CatalogPageDescriptionProps): React.JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
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.CatalogPageDescription = CatalogPageDescription;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const H3_1 = require("../../components/Typography/H3");
|
|
10
|
+
const Tag_1 = require("../../components/Tag/Tag");
|
|
11
|
+
function CatalogPageDescription({ title, titleTranslationKey, description, descriptionTranslationKey, tag, }) {
|
|
12
|
+
return (react_1.default.createElement(CatalogPageDescriptionWrapper, null,
|
|
13
|
+
react_1.default.createElement(CatalogTitleWrapper, { "data-component-name": "Catalog/CatalogEntityTitle" },
|
|
14
|
+
react_1.default.createElement(CatalogTitle, { "data-translation-key": titleTranslationKey }, title),
|
|
15
|
+
react_1.default.createElement(Tag_1.Tag, { borderless: true, textTransform: "none" }, tag)),
|
|
16
|
+
react_1.default.createElement(CatalogDescription, { "data-translation-key": descriptionTranslationKey }, description)));
|
|
17
|
+
}
|
|
18
|
+
const CatalogPageDescriptionWrapper = styled_components_1.default.div `
|
|
19
|
+
margin: var(--catalog-heading-margin);
|
|
20
|
+
`;
|
|
21
|
+
const CatalogTitleWrapper = styled_components_1.default.div `
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
color: var(--catalog-title-text-color);
|
|
25
|
+
font-weight: var(--catalog-title-font-weight) !important;
|
|
26
|
+
font-size: var(--catalog-title-font-size);
|
|
27
|
+
`;
|
|
28
|
+
const CatalogTitle = (0, styled_components_1.default)(H3_1.H3) `
|
|
29
|
+
color: var(--catalog-title-text-color);
|
|
30
|
+
font-weight: var(--catalog-title-font-weight) !important;
|
|
31
|
+
font-size: var(--catalog-title-font-size);
|
|
32
|
+
margin: var(--catalog-title-margin);
|
|
33
|
+
margin-right: var(--catalog-title-spacing-right);
|
|
34
|
+
`;
|
|
35
|
+
const CatalogDescription = styled_components_1.default.p `
|
|
36
|
+
color: var(--catalog-description-text-color);
|
|
37
|
+
font-weight: var(--catalog-description-font-weight);
|
|
38
|
+
font-size: var(--catalog-description-font-size);
|
|
39
|
+
margin: 0;
|
|
40
|
+
line-height: var(--catalog-description-line-height);
|
|
41
|
+
display: -webkit-box;
|
|
42
|
+
-webkit-line-clamp: 3;
|
|
43
|
+
-webkit-box-orient: vertical;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
`;
|
|
46
|
+
//# sourceMappingURL=CatalogPageDescription.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Select } from '../../components/Select/Select';
|
|
4
|
+
import type { CatalogSwitcherItem } from '../../core/types';
|
|
5
|
+
export type CatalogSelectorProps = {
|
|
6
|
+
catalogSwitcherItems: CatalogSwitcherItem[];
|
|
7
|
+
onChange: () => void;
|
|
8
|
+
};
|
|
9
|
+
export declare function CatalogSelector({ catalogSwitcherItems, onChange, }: CatalogSelectorProps): JSX.Element;
|
|
10
|
+
export declare const CatalogSelectWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
11
|
+
export declare const CatalogSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../core/types").SelectProps<unknown>, never> & Partial<Pick<import("../../core/types").SelectProps<unknown>, never>>> & string & Omit<typeof Select, keyof React.Component<any, {}, any>>;
|
|
@@ -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.CatalogSelect = exports.CatalogSelectWrapper = void 0;
|
|
40
|
+
exports.CatalogSelector = CatalogSelector;
|
|
41
|
+
const react_1 = __importStar(require("react"));
|
|
42
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
43
|
+
const react_router_1 = require("react-router");
|
|
44
|
+
const Accordion_1 = require("../../components/Accordion/Accordion");
|
|
45
|
+
const Select_1 = require("../../components/Select/Select");
|
|
46
|
+
const utils_1 = require("../../core/utils");
|
|
47
|
+
const hooks_1 = require("../../core/hooks");
|
|
48
|
+
const ChevronDownIcon_1 = require("../../icons/ChevronDownIcon/ChevronDownIcon");
|
|
49
|
+
function CatalogSelector({ catalogSwitcherItems, onChange, }) {
|
|
50
|
+
const { useTranslate } = (0, hooks_1.useThemeHooks)();
|
|
51
|
+
const { translate } = useTranslate();
|
|
52
|
+
const [isExpanded, setIsExpanded] = (0, react_1.useState)(true);
|
|
53
|
+
const navigate = (0, react_router_1.useNavigate)();
|
|
54
|
+
const pathPrefix = (0, utils_1.getPathPrefix)();
|
|
55
|
+
const options = catalogSwitcherItems.map((item) => ({
|
|
56
|
+
value: item.slug,
|
|
57
|
+
element: translate(item.labelTranslationKey),
|
|
58
|
+
label: translate(item.labelTranslationKey),
|
|
59
|
+
}));
|
|
60
|
+
const selectedCatalogItem = catalogSwitcherItems.find((item) => item.selected);
|
|
61
|
+
const headerLabel = translate('catalog.catalogs.label', 'Catalogs');
|
|
62
|
+
return (react_1.default.createElement(exports.CatalogSelectWrapper, { "data-component-name": "Catalog/CatalogSelector" },
|
|
63
|
+
react_1.default.createElement(Accordion_1.Accordion, { expanded: isExpanded, header: headerLabel, onToggle: setIsExpanded },
|
|
64
|
+
react_1.default.createElement(exports.CatalogSelect, { value: selectedCatalogItem === null || selectedCatalogItem === void 0 ? void 0 : selectedCatalogItem.slug, options: options, onChange: (value) => {
|
|
65
|
+
navigate(`${pathPrefix}/catalogs/${value}`);
|
|
66
|
+
onChange();
|
|
67
|
+
}, icon: react_1.default.createElement(ChevronDownIcon_1.ChevronDownIcon, { color: "var(--catalog-select-icon-color)" }) }))));
|
|
68
|
+
}
|
|
69
|
+
exports.CatalogSelectWrapper = styled_components_1.default.div `
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
gap: var(--filter-group-gap);
|
|
73
|
+
--accordion-body-padding: var(--catalog-select-accordion-body-padding);
|
|
74
|
+
--accordion-header-padding: var(--catalog-select-accordion-header-padding);
|
|
75
|
+
--select-line-height: var(--catalog-select-select-line-height);
|
|
76
|
+
--select-input-padding: var(--catalog-select-select-input-padding);
|
|
77
|
+
`;
|
|
78
|
+
exports.CatalogSelect = (0, styled_components_1.default)(Select_1.Select) `
|
|
79
|
+
border-radius: var(--catalog-select-border-radius);
|
|
80
|
+
`;
|
|
81
|
+
//# sourceMappingURL=CatalogSelector.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CatalogSortButtonProps = {
|
|
3
|
+
onSortChange: (sortOption: string | null) => void;
|
|
4
|
+
currentSort?: string | null;
|
|
5
|
+
};
|
|
6
|
+
export declare function CatalogSortButton({ onSortChange, currentSort, }: {
|
|
7
|
+
onSortChange: (sortOption: string | null) => void;
|
|
8
|
+
currentSort?: string | null;
|
|
9
|
+
}): React.JSX.Element;
|