@redocly/theme 0.59.0-rc.3 → 0.60.0-custom.2
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/LICENSE +7 -1
- package/lib/components/AsyncApiDocs/hooks/AfterAsyncApiChannelDescription.js +1 -0
- package/lib/components/Buttons/AIAssistantButton.js +6 -2
- package/lib/components/Buttons/ConnectMCPButton.d.ts +8 -0
- package/lib/components/Buttons/ConnectMCPButton.js +145 -0
- package/lib/components/Buttons/variables.d.ts +1 -0
- package/lib/components/Buttons/variables.js +44 -2
- package/lib/components/Catalog/CatalogCardView/CatalogCard.js +4 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.js +5 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.js +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityInfoBar.js +1 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityLinks.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.js +1 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.js +2 -2
- package/lib/components/Catalog/CatalogEntityIcon.js +2 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilter.js +4 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.js +2 -2
- package/lib/components/Catalog/CatalogSelector.js +1 -1
- package/lib/components/Catalog/CatalogSortButton.js +4 -1
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.js +2 -2
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.js +2 -2
- package/lib/components/Catalog/CatalogTagsWithTooltip.js +5 -1
- package/lib/components/Catalog/variables.dark.js +1 -1
- package/lib/components/Catalog/variables.js +6 -4
- package/lib/components/CatalogClassic/variables.js +1 -1
- package/lib/components/CodeBlock/CodeBlock.js +3 -1
- package/lib/components/CodeBlock/CodeBlockTabs.js +3 -3
- package/lib/components/DatePicker/variables.js +2 -0
- package/lib/components/Dropdown/Dropdown.d.ts +16 -2
- package/lib/components/Dropdown/Dropdown.js +5 -5
- package/lib/components/Feedback/Mood.js +2 -2
- package/lib/components/Feedback/Rating.js +2 -2
- package/lib/components/Filter/FilterDateRange.js +2 -2
- package/lib/components/Filter/FilterSelect.js +5 -1
- package/lib/components/Link/Link.d.ts +1 -0
- package/lib/components/Loaders/Loading.js +4 -1
- package/lib/components/Markdown/Markdown.js +9 -9
- package/lib/components/Markdown/styles/{baseTable.js → base-table.js} +1 -1
- package/lib/components/Markdown/styles/{headingAnchor.js → heading-anchor.js} +1 -1
- package/lib/components/Menu/MenuItem.js +6 -2
- package/lib/components/Navbar/NavbarItem.js +3 -3
- package/lib/components/OpenApiDocs/hooks/AdditionalOverviewInfo.js +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiDescription.js +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperation.js +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiTitle.js +1 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperation.js +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiFooter.js +3 -2
- package/lib/components/OpenApiDocs/hooks/OpenApiHeader.js +3 -2
- package/lib/components/PageActions/PageActions.js +4 -1
- package/lib/components/PageActions/variables.js +2 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.js +2 -1
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.js +8 -3
- package/lib/components/Search/SearchAiActionButtons.d.ts +10 -0
- package/lib/components/Search/SearchAiActionButtons.js +43 -0
- package/lib/components/Search/SearchAiConversationInput.d.ts +3 -1
- package/lib/components/Search/SearchAiConversationInput.js +39 -7
- package/lib/components/Search/SearchAiDialog.d.ts +3 -6
- package/lib/components/Search/SearchAiDialog.js +20 -9
- package/lib/components/Search/SearchAiMessage.d.ts +9 -5
- package/lib/components/Search/SearchAiMessage.js +147 -21
- package/lib/components/Search/SearchAiNegativeFeedbackForm.d.ts +10 -0
- package/lib/components/Search/SearchAiNegativeFeedbackForm.js +170 -0
- package/lib/components/Search/SearchDialog.js +36 -5
- package/lib/components/Search/SearchGroups.js +5 -2
- package/lib/components/Search/SearchHighlight.js +1 -0
- package/lib/components/Search/SearchItem.js +9 -2
- package/lib/components/Search/variables.js +38 -64
- package/lib/components/Segmented/Segmented.d.ts +1 -8
- package/lib/components/Segmented/Segmented.js +5 -3
- package/lib/components/Select/Select.d.ts +1 -1
- package/lib/components/Select/Select.js +4 -2
- package/lib/components/Select/SelectInput.d.ts +1 -1
- package/lib/components/Select/SelectInput.js +3 -1
- package/lib/components/SidebarActions/styled.d.ts +5 -4
- package/lib/components/SidebarActions/styled.js +9 -5
- package/lib/components/Tag/Tag.d.ts +3 -2
- package/lib/components/Tag/Tag.js +65 -16
- package/lib/components/Tag/variables.dark.js +143 -36
- package/lib/components/Tag/variables.js +85 -60
- package/lib/components/Tooltip/Tooltip.js +2 -0
- package/lib/components/VersionPicker/VersionPicker.d.ts +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/core/constants/index.d.ts +2 -0
- package/lib/core/constants/index.js +2 -0
- package/lib/core/constants/mcp.d.ts +1 -0
- package/lib/core/constants/mcp.js +5 -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 +5 -4
- package/lib/core/constants/search.js +4 -5
- package/lib/core/hoc/index.d.ts +1 -1
- package/lib/core/hoc/index.js +1 -1
- package/lib/core/hoc/{typedMemo.js → typed-memo.js} +1 -1
- package/lib/core/hooks/__tests__/mocks/mock-intersection-observer.d.ts +1 -1
- package/lib/core/hooks/__tests__/mocks/mock-intersection-observer.js +1 -3
- package/lib/core/hooks/catalog/{useCatalogEntities.js → use-catalog-entities.js} +1 -1
- package/lib/core/hooks/catalog/{useCatalogEntitySchema.d.ts → use-catalog-entity-schema.d.ts} +1 -1
- package/lib/core/hooks/catalog/{useCatalogEntitySchema.js → use-catalog-entity-schema.js} +1 -1
- package/lib/core/hooks/catalog/{useCatalogTableHeaderCellActions.js → use-catalog-table-header-cell-actions.js} +1 -1
- package/lib/core/hooks/catalog/{useCatalogTableViewRow.js → use-catalog-table-view-row.js} +1 -1
- package/lib/core/hooks/catalog/{useGraph.js → use-graph.js} +2 -2
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-controls.js +1 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.d.ts +1 -0
- package/lib/core/hooks/code-walkthrough/use-renderable-files.js +2 -2
- package/lib/core/hooks/index.d.ts +8 -2
- package/lib/core/hooks/index.js +8 -2
- package/lib/core/hooks/menu/use-collapse.js +1 -0
- package/lib/core/hooks/menu/use-mobile-menu-items.js +1 -0
- package/lib/core/hooks/menu/use-nested-menu.js +1 -1
- 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/use-connect-mcp-button.d.ts +13 -0
- package/lib/core/hooks/use-connect-mcp-button.js +50 -0
- package/lib/core/hooks/use-mcp-config.d.ts +9 -0
- package/lib/core/hooks/use-mcp-config.js +30 -0
- package/lib/core/hooks/use-page-actions.d.ts +1 -1
- package/lib/core/hooks/use-page-actions.js +120 -120
- package/lib/core/hooks/use-product-picker.js +2 -1
- package/lib/core/hooks/use-tabs.d.ts +3 -2
- package/lib/core/hooks/use-tabs.js +115 -57
- package/lib/core/hooks/use-telemetry-fallback.d.ts +10 -8
- package/lib/core/hooks/use-telemetry-fallback.js +11 -8
- package/lib/core/hooks/use-theme-config.js +1 -0
- package/lib/core/hooks/use-theme-hooks.js +1 -0
- package/lib/core/openapi/index.d.ts +3 -1
- package/lib/core/openapi/index.js +5 -3
- package/lib/core/styles/dark.js +4 -0
- package/lib/core/styles/global.js +5 -0
- package/lib/core/templates/Markdown.js +1 -0
- package/lib/core/types/hooks.d.ts +8 -2
- package/lib/core/types/index.d.ts +20 -18
- package/lib/core/types/index.js +0 -18
- package/lib/core/types/l10n.d.ts +1 -1
- package/lib/core/types/mcp.d.ts +6 -0
- package/lib/core/types/mcp.js +3 -0
- package/lib/core/types/search.d.ts +12 -4
- package/lib/core/types/search.js +6 -0
- package/lib/core/types/segmented.d.ts +12 -0
- package/lib/core/types/segmented.js +3 -0
- package/lib/core/types/sidebar.d.ts +1 -0
- package/lib/core/utils/{dynamic.js → Dynamic.js} +1 -1
- package/lib/core/utils/{get-file-icon.js → GetFileIcon.js} +1 -1
- package/lib/core/utils/args-typecheck.d.ts +2 -2
- package/lib/core/utils/clipboard-service.js +2 -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-operation-color.d.ts +7 -0
- package/lib/core/utils/get-operation-color.js +13 -0
- package/lib/core/utils/get-user-agent.js +1 -0
- package/lib/core/utils/index.d.ts +5 -2
- package/lib/core/utils/index.js +5 -2
- package/lib/core/utils/js-utils.d.ts +1 -1
- package/lib/core/utils/load-and-navigate.js +1 -0
- package/lib/core/utils/markdoc.js +1 -0
- package/lib/core/utils/mcp.d.ts +2 -0
- package/lib/core/utils/mcp.js +31 -0
- package/lib/core/utils/parse-style-string.js +1 -0
- package/lib/ext/configure.d.ts +2 -2
- package/lib/ext/configure.js +12 -6
- package/lib/ext/{useConfigureReplay.js → use-configure-replay.js} +5 -4
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.js +44 -4
- package/lib/icons/AiStarsIcon/AiStarsIcon.js +11 -2
- package/lib/icons/ConnectIcon/ConnectIcon.d.ts +9 -0
- package/lib/icons/ConnectIcon/ConnectIcon.js +17 -0
- package/lib/icons/CubeIcon/CubeIcon.d.ts +9 -0
- package/lib/icons/CubeIcon/CubeIcon.js +17 -0
- package/lib/icons/HashtagIcon/HashtagIcon.d.ts +9 -0
- package/lib/icons/HashtagIcon/HashtagIcon.js +22 -0
- package/lib/icons/RedoclyIcon/RedoclyIcon.js +4 -7
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.d.ts +9 -0
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.js +34 -0
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.d.ts +9 -0
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.js +34 -0
- package/lib/icons/VSCodeIcon/VSCodeIcon.d.ts +9 -0
- package/lib/icons/VSCodeIcon/VSCodeIcon.js +17 -0
- package/lib/index.d.ts +4 -3
- package/lib/index.js +3 -3
- package/lib/layouts/ThreePanelLayout.js +4 -4
- package/lib/markdoc/components/Cards/Card.js +1 -28
- package/lib/markdoc/components/Cards/variables.dark.js +2 -0
- package/lib/markdoc/components/Cards/variables.js +2 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelHeader.js +1 -0
- package/lib/markdoc/components/ConnectMCP/ConnectMCP.d.ts +8 -0
- package/lib/markdoc/components/ConnectMCP/ConnectMCP.js +19 -0
- package/lib/markdoc/components/Tabs/TabList.d.ts +3 -1
- package/lib/markdoc/components/Tabs/TabList.js +197 -47
- package/lib/markdoc/components/Tabs/Tabs.d.ts +2 -1
- package/lib/markdoc/components/Tabs/Tabs.js +57 -12
- package/lib/markdoc/components/default.d.ts +1 -0
- package/lib/markdoc/components/default.js +1 -0
- package/lib/markdoc/default.d.ts +6 -0
- package/lib/markdoc/default.js +2 -0
- package/lib/markdoc/tags/card.js +0 -1
- package/lib/markdoc/tags/code-walkthrough.js +1 -0
- package/lib/markdoc/tags/connect-mcp.d.ts +2 -0
- package/lib/markdoc/tags/connect-mcp.js +27 -0
- package/lib/markdoc/tags/html.js +1 -0
- package/package.json +6 -6
- package/src/components/AsyncApiDocs/hooks/AfterAsyncApiChannelDescription.tsx +1 -0
- package/src/components/Button/Button.tsx +1 -0
- package/src/components/Buttons/AIAssistantButton.tsx +6 -2
- package/src/components/Buttons/ConnectMCPButton.tsx +180 -0
- package/src/components/Buttons/variables.ts +44 -1
- package/src/components/Catalog/CatalogCardView/CatalogCard.tsx +4 -3
- package/src/components/Catalog/CatalogEntity/CatalogEntity.tsx +4 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.tsx +1 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityInfoBar.tsx +1 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityLinks.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityMetadata.tsx +1 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.tsx +5 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.tsx +1 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.tsx +1 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntitySchema.tsx +3 -1
- package/src/components/Catalog/CatalogEntityIcon.tsx +2 -1
- package/src/components/Catalog/CatalogFilter/CatalogFilter.tsx +5 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilterDateRange.tsx +2 -2
- package/src/components/Catalog/CatalogSelector.tsx +2 -2
- package/src/components/Catalog/CatalogSortButton.tsx +5 -1
- package/src/components/Catalog/CatalogTableView/CatalogTableHeaderCell.tsx +1 -1
- package/src/components/Catalog/CatalogTableView/CatalogTableViewRow.tsx +1 -1
- package/src/components/Catalog/CatalogTagsWithTooltip.tsx +8 -1
- package/src/components/Catalog/variables.dark.ts +1 -1
- package/src/components/Catalog/variables.ts +6 -4
- package/src/components/CatalogClassic/CatalogClassicInfoBlock.tsx +1 -0
- package/src/components/CatalogClassic/variables.ts +1 -1
- package/src/components/CodeBlock/CodeBlock.tsx +4 -0
- package/src/components/CodeBlock/CodeBlockControls.tsx +1 -0
- package/src/components/CodeBlock/CodeBlockTabs.tsx +1 -1
- package/src/components/DatePicker/variables.ts +3 -1
- package/src/components/Dropdown/Dropdown.tsx +84 -79
- package/src/components/Feedback/Mood.tsx +2 -2
- package/src/components/Feedback/Rating.tsx +2 -2
- package/src/components/Filter/FilterDateRange.tsx +2 -2
- package/src/components/Filter/FilterSelect.tsx +1 -0
- package/src/components/JsonViewer/JsonViewer.tsx +1 -0
- package/src/components/JsonViewer/helpers.tsx +3 -0
- package/src/components/LastUpdated/LastUpdated.tsx +1 -0
- package/src/components/Link/Link.tsx +1 -0
- package/src/components/Loaders/Loading.tsx +5 -1
- package/src/components/Markdown/Markdown.tsx +2 -2
- package/src/components/Menu/MenuItem.tsx +7 -2
- package/src/components/Navbar/NavbarItem.tsx +6 -5
- package/src/components/OpenApiDocs/hooks/AdditionalOverviewInfo.tsx +1 -0
- package/src/components/OpenApiDocs/hooks/AfterOpenApiDescription.tsx +1 -0
- package/src/components/OpenApiDocs/hooks/AfterOpenApiOperation.tsx +1 -1
- package/src/components/OpenApiDocs/hooks/AfterOpenApiTitle.tsx +1 -1
- package/src/components/OpenApiDocs/hooks/BeforeOpenApiOperation.tsx +1 -1
- package/src/components/OpenApiDocs/hooks/OpenApiFooter.tsx +1 -1
- package/src/components/OpenApiDocs/hooks/OpenApiHeader.tsx +1 -1
- package/src/components/PageActions/PageActions.tsx +5 -1
- package/src/components/PageActions/variables.ts +2 -0
- package/src/components/Search/FilterFields/SearchFilterFieldSelect.tsx +4 -1
- package/src/components/Search/FilterFields/SearchFilterFieldTags.tsx +10 -4
- package/src/components/Search/SearchAiActionButtons.tsx +76 -0
- package/src/components/Search/SearchAiConversationInput.tsx +61 -18
- package/src/components/Search/SearchAiDialog.tsx +52 -23
- package/src/components/Search/SearchAiMessage.tsx +173 -39
- package/src/components/Search/SearchAiNegativeFeedbackForm.tsx +212 -0
- package/src/components/Search/SearchDialog.tsx +49 -13
- package/src/components/Search/SearchGroups.tsx +6 -1
- package/src/components/Search/SearchHighlight.tsx +1 -0
- package/src/components/Search/SearchItem.tsx +15 -3
- package/src/components/Search/variables.ts +38 -64
- package/src/components/Segmented/Segmented.tsx +16 -21
- package/src/components/Select/Select.tsx +8 -4
- package/src/components/Select/SelectInput.tsx +11 -1
- package/src/components/SidebarActions/{styled.tsx → styled.ts} +11 -4
- package/src/components/Tag/Tag.tsx +36 -18
- package/src/components/Tag/variables.dark.ts +143 -36
- package/src/components/Tag/variables.ts +85 -60
- package/src/components/Tooltip/Tooltip.tsx +2 -1
- package/src/components/VersionPicker/VersionPicker.tsx +2 -1
- package/src/config.ts +2 -0
- package/src/core/constants/index.ts +2 -0
- package/src/core/constants/mcp.ts +1 -0
- package/src/core/constants/request-methods.ts +10 -0
- package/src/core/constants/search.ts +8 -4
- package/src/core/hoc/index.ts +1 -1
- package/src/core/hooks/__mocks__/use-theme-hooks.ts +2 -2
- package/src/core/hooks/__tests__/mocks/mock-intersection-observer.ts +9 -8
- package/src/core/hooks/catalog/{useCatalogEntitySchema.ts → use-catalog-entity-schema.ts} +3 -3
- package/src/core/hooks/catalog/{useGraph.ts → use-graph.ts} +1 -1
- package/src/core/hooks/code-walkthrough/__mocks__/MockIntersectionObserver.ts +1 -1
- package/src/core/hooks/code-walkthrough/__mocks__/mock-intersection-observer.ts +24 -0
- package/src/core/hooks/code-walkthrough/use-code-walkthrough-controls.ts +1 -0
- package/src/core/hooks/code-walkthrough/use-code-walkthrough-steps.ts +2 -2
- package/src/core/hooks/code-walkthrough/use-renderable-files.ts +1 -1
- package/src/core/hooks/index.ts +8 -2
- package/src/core/hooks/menu/use-collapse.ts +3 -3
- package/src/core/hooks/menu/use-mobile-menu-items.ts +1 -0
- package/src/core/hooks/menu/use-nested-menu.ts +2 -2
- package/src/core/hooks/search/use-feedback-tooltip.ts +32 -0
- package/src/core/hooks/use-connect-mcp-button.ts +79 -0
- package/src/core/hooks/use-mcp-config.ts +49 -0
- package/src/core/hooks/use-page-actions.ts +164 -146
- package/src/core/hooks/use-product-picker.ts +2 -1
- package/src/core/hooks/use-tabs.ts +168 -86
- package/src/core/hooks/use-telemetry-fallback.ts +11 -8
- package/src/core/hooks/use-theme-config.ts +1 -0
- package/src/core/hooks/use-theme-hooks.ts +2 -1
- package/src/core/openapi/index.ts +3 -1
- package/src/core/styles/dark.ts +4 -0
- package/src/core/styles/global.ts +6 -1
- package/src/core/templates/Markdown.tsx +1 -0
- package/src/core/types/catalog.ts +3 -1
- package/src/core/types/filter.ts +1 -0
- package/src/core/types/hooks.ts +11 -1
- package/src/core/types/index.ts +20 -18
- package/src/core/types/l10n.ts +37 -1
- package/src/core/types/mcp.ts +8 -0
- package/src/core/types/search.ts +15 -5
- package/src/core/types/segmented.ts +15 -0
- package/src/core/types/select.ts +1 -0
- package/src/core/types/sidebar.ts +1 -0
- package/src/core/utils/args-typecheck.ts +2 -2
- package/src/core/utils/clipboard-service.ts +2 -0
- package/src/core/utils/frontmatter-translate.ts +9 -0
- package/src/core/utils/get-operation-color.ts +18 -0
- package/src/core/utils/get-user-agent.ts +1 -0
- package/src/core/utils/index.ts +5 -2
- package/src/core/utils/js-utils.ts +1 -1
- package/src/core/utils/load-and-navigate.ts +1 -0
- package/src/core/utils/markdoc.ts +1 -0
- package/src/core/utils/mcp.ts +34 -0
- package/src/core/utils/parse-style-string.ts +1 -0
- package/src/ext/configure.ts +15 -8
- package/src/ext/process-scorecard.ts +1 -0
- package/src/ext/{useConfigureReplay.ts → use-configure-replay.ts} +5 -3
- package/src/icons/AiStarsGradientIcon/AiStarsGradientIcon.tsx +13 -4
- package/src/icons/AiStarsIcon/AiStarsIcon.tsx +11 -2
- package/src/icons/ConnectIcon/ConnectIcon.tsx +27 -0
- package/src/icons/CubeIcon/CubeIcon.tsx +27 -0
- package/src/icons/HashtagIcon/HashtagIcon.tsx +23 -0
- package/src/icons/RedoclyIcon/RedoclyIcon.tsx +4 -22
- package/src/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.tsx +38 -0
- package/src/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.tsx +35 -0
- package/src/icons/VSCodeIcon/VSCodeIcon.tsx +29 -0
- package/src/index.ts +4 -3
- package/src/layouts/ThreePanelLayout.tsx +1 -1
- package/src/markdoc/components/Cards/Card.tsx +1 -28
- package/src/markdoc/components/Cards/variables.dark.ts +2 -0
- package/src/markdoc/components/Cards/variables.ts +3 -1
- package/src/markdoc/components/CodeWalkthrough/CodePanelHeader.tsx +1 -1
- package/src/markdoc/components/ConnectMCP/ConnectMCP.tsx +28 -0
- package/src/markdoc/components/Tabs/TabList.tsx +312 -105
- package/src/markdoc/components/Tabs/Tabs.tsx +136 -11
- package/src/markdoc/components/default.ts +1 -0
- package/src/markdoc/default.ts +2 -0
- package/src/markdoc/tags/card.ts +0 -1
- package/src/markdoc/tags/code-walkthrough.ts +2 -0
- package/src/markdoc/tags/connect-mcp.ts +25 -0
- package/src/markdoc/tags/html.ts +1 -0
- package/lib/core/hooks/__mocks__/index.d.ts +0 -28
- package/lib/core/hooks/__mocks__/index.js +0 -45
- package/lib/core/hooks/__mocks__/search/use-recent-searches.d.ts +0 -5
- package/lib/core/hooks/__mocks__/search/use-recent-searches.js +0 -13
- package/lib/core/hooks/__mocks__/search/use-search-filter.d.ts +0 -8
- package/lib/core/hooks/__mocks__/search/use-search-filter.js +0 -15
- package/lib/core/hooks/__mocks__/search/use-suggested-pages.d.ts +0 -4
- package/lib/core/hooks/__mocks__/search/use-suggested-pages.js +0 -13
- package/lib/core/hooks/__mocks__/use-controlled-state.d.ts +0 -1
- package/lib/core/hooks/__mocks__/use-controlled-state.js +0 -7
- package/lib/core/hooks/__mocks__/use-element-size.d.ts +0 -4
- package/lib/core/hooks/__mocks__/use-element-size.js +0 -9
- package/lib/core/hooks/__mocks__/use-input-key-commands.d.ts +0 -3
- package/lib/core/hooks/__mocks__/use-input-key-commands.js +0 -8
- package/lib/core/hooks/__mocks__/use-mobile-menu.d.ts +0 -1
- package/lib/core/hooks/__mocks__/use-mobile-menu.js +0 -7
- package/lib/core/hooks/__mocks__/use-theme-config.d.ts +0 -8
- package/lib/core/hooks/__mocks__/use-theme-config.js +0 -13
- package/lib/core/hooks/__mocks__/use-theme-hooks.d.ts +0 -69
- package/lib/core/hooks/__mocks__/use-theme-hooks.js +0 -94
- package/lib/core/hooks/__mocks__/use-time-ago.d.ts +0 -3
- package/lib/core/hooks/__mocks__/use-time-ago.js +0 -8
- package/lib/core/hooks/code-walkthrough/__mocks__/MockIntersectionObserver.d.ts +0 -10
- package/lib/core/hooks/code-walkthrough/__mocks__/MockIntersectionObserver.js +0 -56
- package/lib/core/hooks/menu/__mocks__/use-mobile-menu-items.d.ts +0 -1
- package/lib/core/hooks/menu/__mocks__/use-mobile-menu-items.js +0 -35
- /package/lib/components/Markdown/styles/{baseTable.d.ts → base-table.d.ts} +0 -0
- /package/lib/components/Markdown/styles/{headingAnchor.d.ts → heading-anchor.d.ts} +0 -0
- /package/lib/core/hoc/{typedMemo.d.ts → typed-memo.d.ts} +0 -0
- /package/lib/core/hooks/catalog/{useCatalogEntities.d.ts → use-catalog-entities.d.ts} +0 -0
- /package/lib/core/hooks/catalog/{useCatalogTableHeaderCellActions.d.ts → use-catalog-table-header-cell-actions.d.ts} +0 -0
- /package/lib/core/hooks/catalog/{useCatalogTableViewRow.d.ts → use-catalog-table-view-row.d.ts} +0 -0
- /package/lib/core/hooks/catalog/{useGraph.d.ts → use-graph.d.ts} +0 -0
- /package/lib/core/utils/{dynamic.d.ts → Dynamic.d.ts} +0 -0
- /package/lib/core/utils/{get-file-icon.d.ts → GetFileIcon.d.ts} +0 -0
- /package/lib/ext/{useConfigureReplay.d.ts → use-configure-replay.d.ts} +0 -0
- /package/src/components/Markdown/styles/{baseTable.ts → base-table.ts} +0 -0
- /package/src/components/Markdown/styles/{headingAnchor.ts → heading-anchor.ts} +0 -0
- /package/src/components/Panel/{PanelBody.ts → PanelBody.tsx} +0 -0
- /package/src/components/Panel/{PanelHeader.ts → PanelHeader.tsx} +0 -0
- /package/src/components/Panel/{PanelHeaderTitle.ts → PanelHeaderTitle.tsx} +0 -0
- /package/src/components/StatusCode/{StatusCode.ts → StatusCode.tsx} +0 -0
- /package/src/components/Typography/{CompactTypography.ts → CompactTypography.tsx} +0 -0
- /package/src/components/Typography/{Emphasis.ts → Emphasis.tsx} +0 -0
- /package/src/components/Typography/{H1.ts → H1.tsx} +0 -0
- /package/src/components/Typography/{H2.ts → H2.tsx} +0 -0
- /package/src/components/Typography/{H3.ts → H3.tsx} +0 -0
- /package/src/components/Typography/{H4.ts → H4.tsx} +0 -0
- /package/src/components/Typography/{SectionHeader.ts → SectionHeader.tsx} +0 -0
- /package/src/components/Typography/{Typography.ts → Typography.tsx} +0 -0
- /package/src/core/hoc/{typedMemo.ts → typed-memo.ts} +0 -0
- /package/src/core/hooks/catalog/{useCatalogEntities.ts → use-catalog-entities.ts} +0 -0
- /package/src/core/hooks/catalog/{useCatalogTableHeaderCellActions.ts → use-catalog-table-header-cell-actions.ts} +0 -0
- /package/src/core/hooks/catalog/{useCatalogTableViewRow.ts → use-catalog-table-view-row.ts} +0 -0
- /package/src/core/utils/{dynamic.tsx → Dynamic.tsx} +0 -0
- /package/src/core/utils/{get-file-icon.tsx → GetFileIcon.tsx} +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
declare const StyledChangeViewButton: import("styled-components").StyledComponent<"span", any, {
|
|
2
2
|
collapsedSidebar?: boolean;
|
|
3
3
|
}, never>;
|
|
4
|
-
|
|
4
|
+
declare const StyledChangeViewButtonWrap: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("react").PropsWithChildren<import("../../components/Tooltip/Tooltip").TooltipProps>>, any, {
|
|
5
5
|
active?: boolean;
|
|
6
6
|
}, never>;
|
|
7
|
-
|
|
7
|
+
declare const ControlsWrap: import("styled-components").StyledComponent<"span", any, {
|
|
8
8
|
iconCount?: number;
|
|
9
9
|
isCollapsed?: boolean;
|
|
10
10
|
}, never>;
|
|
11
|
-
|
|
11
|
+
declare const ControlsWrapChangeLayoutButtons: import("styled-components").StyledComponent<"span", any, {
|
|
12
12
|
isCollapsed?: boolean;
|
|
13
13
|
}, never>;
|
|
14
|
+
export { StyledChangeViewButton, StyledChangeViewButtonWrap, ControlsWrapChangeLayoutButtons, ControlsWrap, };
|
|
@@ -33,11 +33,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.ControlsWrap = exports.ControlsWrapChangeLayoutButtons = exports.StyledChangeViewButtonWrap = exports.StyledChangeViewButton = void 0;
|
|
37
37
|
const styled_components_1 = __importStar(require("styled-components"));
|
|
38
38
|
const utils_1 = require("../../core/utils");
|
|
39
39
|
const Tooltip_1 = require("../../components/Tooltip/Tooltip");
|
|
40
|
-
|
|
40
|
+
const StyledChangeViewButton = styled_components_1.default.span `
|
|
41
41
|
display: flex;
|
|
42
42
|
position: relative;
|
|
43
43
|
flex-direction: ${({ collapsedSidebar }) => (collapsedSidebar ? 'column' : 'row')};
|
|
@@ -49,7 +49,8 @@ exports.StyledChangeViewButton = styled_components_1.default.span `
|
|
|
49
49
|
z-index: 1;
|
|
50
50
|
padding: calc(var(--spacing-unit) / 2);
|
|
51
51
|
`;
|
|
52
|
-
exports.
|
|
52
|
+
exports.StyledChangeViewButton = StyledChangeViewButton;
|
|
53
|
+
const StyledChangeViewButtonWrap = (0, styled_components_1.default)(Tooltip_1.Tooltip) `
|
|
53
54
|
width: 20px;
|
|
54
55
|
height: 20px;
|
|
55
56
|
border-radius: var(--border-radius);
|
|
@@ -58,7 +59,8 @@ exports.StyledChangeViewButtonWrap = (0, styled_components_1.default)(Tooltip_1.
|
|
|
58
59
|
justify-content: center;
|
|
59
60
|
background-color: ${({ active }) => active && 'var(--segmented-buttons-bg-color-inner)'};
|
|
60
61
|
`;
|
|
61
|
-
exports.
|
|
62
|
+
exports.StyledChangeViewButtonWrap = StyledChangeViewButtonWrap;
|
|
63
|
+
const ControlsWrap = styled_components_1.default.span `
|
|
62
64
|
display: none;
|
|
63
65
|
justify-content: flex-end;
|
|
64
66
|
bottom: 0;
|
|
@@ -86,11 +88,13 @@ exports.ControlsWrap = styled_components_1.default.span `
|
|
|
86
88
|
display: none;
|
|
87
89
|
}
|
|
88
90
|
`;
|
|
89
|
-
exports.
|
|
91
|
+
exports.ControlsWrap = ControlsWrap;
|
|
92
|
+
const ControlsWrapChangeLayoutButtons = styled_components_1.default.span `
|
|
90
93
|
display: flex;
|
|
91
94
|
bottom: 0;
|
|
92
95
|
flex-direction: ${({ isCollapsed }) => (isCollapsed ? 'column-reverse' : 'row')};
|
|
93
96
|
gap: ${({ isCollapsed }) => (isCollapsed ? '10px' : 'var(--spacing-xs)')};
|
|
94
97
|
align-items: center;
|
|
95
98
|
`;
|
|
99
|
+
exports.ControlsWrapChangeLayoutButtons = ControlsWrapChangeLayoutButtons;
|
|
96
100
|
//# sourceMappingURL=styled.js.map
|
|
@@ -6,7 +6,7 @@ type SubjectStatusColor = 'active' | 'draft' | 'deprecated' | 'product';
|
|
|
6
6
|
type HttpColor = 'get' | 'post' | 'put' | 'delete' | 'option' | 'patch' | 'head' | 'hook' | 'link';
|
|
7
7
|
type ActionColor = 'receive' | 'send';
|
|
8
8
|
type ChannelColor = 'channel';
|
|
9
|
-
type HttpStatusColor = 'http-deprecated';
|
|
9
|
+
type HttpStatusColor = 'http-deprecated' | 'http-additional-operation';
|
|
10
10
|
type StatusColor = DefaultStatusColor | ActionStatusColor | SubjectStatusColor | HttpColor | ActionColor | ChannelColor | HttpStatusColor;
|
|
11
11
|
type Color = 'red' | 'green' | 'blue' | 'grey' | 'turquoise' | 'magenta' | 'purple' | 'carrot' | 'raspberry' | 'orange' | 'grass' | 'persian-green' | 'sky' | 'blueberry';
|
|
12
12
|
export type TagProps = {
|
|
@@ -28,7 +28,8 @@ export type TagProps = {
|
|
|
28
28
|
maxLength?: number;
|
|
29
29
|
textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';
|
|
30
30
|
variant?: 'outline' | 'filled';
|
|
31
|
+
selectable?: boolean;
|
|
31
32
|
};
|
|
32
|
-
export declare function Tag({ children, color, icon, active, closable, tabIndex, onClick, onKeyDown, onClose, size, borderless, withStatusDot, statusDotColor, maxLength, textTransform, variant, ...otherProps }: TagProps): JSX.Element;
|
|
33
|
+
export declare function Tag({ children, color, icon, active, closable, tabIndex, onClick, onKeyDown, onClose, size, borderless, withStatusDot, statusDotColor, maxLength, textTransform, variant, selectable, ...otherProps }: TagProps): JSX.Element;
|
|
33
34
|
export declare const ContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
34
35
|
export {};
|
|
@@ -1,4 +1,37 @@
|
|
|
1
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
|
+
})();
|
|
2
35
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
36
|
var t = {};
|
|
4
37
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -17,11 +50,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
50
|
exports.ContentWrapper = void 0;
|
|
18
51
|
exports.Tag = Tag;
|
|
19
52
|
const react_1 = __importDefault(require("react"));
|
|
20
|
-
const styled_components_1 =
|
|
53
|
+
const styled_components_1 = __importStar(require("styled-components"));
|
|
21
54
|
const CloseIcon_1 = require("../../icons/CloseIcon/CloseIcon");
|
|
22
55
|
const CheckmarkFilledIcon_1 = require("../../icons/CheckmarkFilledIcon/CheckmarkFilledIcon");
|
|
23
56
|
function Tag(_a) {
|
|
24
|
-
var { children, color, icon, active, closable, tabIndex, onClick, onKeyDown, onClose, size, borderless, withStatusDot, statusDotColor = 'var(--tag-status-dot-color-default)', maxLength, textTransform, variant = 'filled' } = _a, otherProps = __rest(_a, ["children", "color", "icon", "active", "closable", "tabIndex", "onClick", "onKeyDown", "onClose", "size", "borderless", "withStatusDot", "statusDotColor", "maxLength", "textTransform", "variant"]);
|
|
57
|
+
var { children, color, icon, active, closable, tabIndex, onClick, onKeyDown, onClose, size, borderless, withStatusDot, statusDotColor = 'var(--tag-status-dot-color-default)', maxLength, textTransform, variant = 'filled', selectable } = _a, otherProps = __rest(_a, ["children", "color", "icon", "active", "closable", "tabIndex", "onClick", "onKeyDown", "onClose", "size", "borderless", "withStatusDot", "statusDotColor", "maxLength", "textTransform", "variant", "selectable"]);
|
|
25
58
|
const truncateText = (text, maxLen) => {
|
|
26
59
|
if (text.length <= maxLen)
|
|
27
60
|
return text;
|
|
@@ -74,7 +107,7 @@ function Tag(_a) {
|
|
|
74
107
|
}
|
|
75
108
|
return children;
|
|
76
109
|
};
|
|
77
|
-
return (react_1.default.createElement(TagWrapper, Object.assign({ tabIndex: tabIndex, "data-component-name": "Tag/Tag", borderless: borderless, color: color, size: size, onClick: onClick, onKeyDown: onKeyDown, hasCloseButton: closable, textTransform: textTransform, variant: variant }, otherProps),
|
|
110
|
+
return (react_1.default.createElement(TagWrapper, Object.assign({ tabIndex: tabIndex, "data-component-name": "Tag/Tag", borderless: borderless, color: color, size: size, onClick: onClick, onKeyDown: onKeyDown, hasCloseButton: closable, textTransform: textTransform, variant: variant, selectable: selectable }, otherProps),
|
|
78
111
|
withStatusDot ? react_1.default.createElement(StatusDot, { color: statusDotColor }) : icon ? icon : null,
|
|
79
112
|
react_1.default.createElement(exports.ContentWrapper, null, renderChildren()),
|
|
80
113
|
closable && (react_1.default.createElement(CloseButton, { onClick: (event) => {
|
|
@@ -98,14 +131,27 @@ const CloseButton = styled_components_1.default.div `
|
|
|
98
131
|
justify-content: center;
|
|
99
132
|
align-self: stretch;
|
|
100
133
|
border-radius: 0 var(--tag-border-radius) var(--tag-border-radius) 0;
|
|
134
|
+
margin: calc(-1 * var(--tag-border-width));
|
|
135
|
+
padding: var(--tag-border-width);
|
|
101
136
|
|
|
102
137
|
&:hover {
|
|
103
138
|
background: var(--tag-close-button-bg-color-hover);
|
|
104
139
|
}
|
|
140
|
+
|
|
141
|
+
&:focus-visible {
|
|
142
|
+
background: var(--tag-close-button-bg-color-focus);
|
|
143
|
+
}
|
|
105
144
|
`;
|
|
106
|
-
const TagWrapper = styled_components_1.default.div.attrs(({ className, color, size }) => ({
|
|
107
|
-
className:
|
|
108
|
-
|
|
145
|
+
const TagWrapper = styled_components_1.default.div.attrs(({ className, color, size, variant }) => ({
|
|
146
|
+
className: [
|
|
147
|
+
className,
|
|
148
|
+
'tag-default',
|
|
149
|
+
color && `tag-${color}`,
|
|
150
|
+
size && `tag-size-${size}`,
|
|
151
|
+
`tag-variant-${variant || 'filled'}`,
|
|
152
|
+
]
|
|
153
|
+
.filter(Boolean)
|
|
154
|
+
.join(' '),
|
|
109
155
|
})) `
|
|
110
156
|
display: inline-flex;
|
|
111
157
|
align-items: center;
|
|
@@ -141,17 +187,20 @@ const TagWrapper = styled_components_1.default.div.attrs(({ className, color, si
|
|
|
141
187
|
width: var(--tag-icon-width);
|
|
142
188
|
height: var(--tag-icon-height);
|
|
143
189
|
}
|
|
144
|
-
/*
|
|
145
|
-
&:hover {
|
|
146
|
-
background-color: ${({ variant }) => variant === 'filled' ? 'var(--tag-bg-color-hover)' : 'transparent'};
|
|
147
|
-
border-color: ${({ variant }) => variant === 'outline' ? 'var(--tag-border-color-hover)' : 'transparent'};
|
|
148
|
-
} */
|
|
149
190
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
191
|
+
${({ selectable }) => selectable &&
|
|
192
|
+
(0, styled_components_1.css) `
|
|
193
|
+
&:hover {
|
|
194
|
+
background-color: var(--tag-bg-color-hover);
|
|
195
|
+
border-color: var(--tag-border-color-hover);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&:focus-visible {
|
|
199
|
+
outline: 1px solid var(--tag-border-color-focused);
|
|
200
|
+
outline-offset: 2px;
|
|
201
|
+
border-radius: var(--tag-border-radius-focused);
|
|
202
|
+
}
|
|
203
|
+
`};
|
|
155
204
|
`;
|
|
156
205
|
const StatusDot = styled_components_1.default.div `
|
|
157
206
|
display: inline-block;
|
|
@@ -2,44 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tagDarkMode = void 0;
|
|
4
4
|
const styled_components_1 = require("styled-components");
|
|
5
|
+
/* eslint-disable theme/no-raw-colors-in-styles */
|
|
5
6
|
exports.tagDarkMode = (0, styled_components_1.css) `
|
|
7
|
+
--tag-close-button-bg-color-focus: var(--color-warm-grey-6); // @presenter Color
|
|
8
|
+
|
|
6
9
|
--tag-border-color-focused: var(--color-blue-8); // @presenter Color
|
|
7
10
|
--tag-badge-border-color: var(--border-color-secondary);
|
|
8
11
|
|
|
9
|
-
--tag-operation-color-delete: #fa82a2; // @presenter Color
|
|
10
|
-
--tag-operation-bg-color-delete: #77214C; // @presenter Color
|
|
11
|
-
|
|
12
|
-
--tag-operation-color-get: #68cc97; // @presenter Color
|
|
13
|
-
--tag-operation-bg-color-get: #1F4D2D; // @presenter Color
|
|
14
|
-
|
|
15
|
-
--tag-operation-color-post: #90b0f0; // @presenter Color
|
|
16
|
-
--tag-operation-bg-color-post: #233061; // @presenter Color
|
|
17
|
-
|
|
18
|
-
--tag-operation-color-put: #e0a663; // @presenter Color
|
|
19
|
-
--tag-operation-bg-color-put: #612729; // @presenter Color
|
|
20
|
-
|
|
21
|
-
--tag-operation-color-patch: #e0c363; // @presenter Color
|
|
22
|
-
--tag-operation-bg-color-patch: #5C3721; // @presenter Color
|
|
23
|
-
|
|
24
|
-
--tag-operation-color-head: #e6e1fe; // @presenter Color
|
|
25
|
-
--tag-operation-bg-color-head: #5b4ccc; // @presenter Color
|
|
26
|
-
|
|
27
|
-
--tag-operation-color-options: #1a1c21; // @presenter Color
|
|
28
|
-
--tag-operation-bg-color-options: #2a2b33; // @presenter Color
|
|
29
|
-
|
|
30
|
-
--tag-action-color-receive: #88CF82; // @presenter Color
|
|
31
|
-
--tag-action-color-sub: #88CF82; // @presenter Color
|
|
32
|
-
--tag-action-color-cons: #88CF82; // @presenter Color
|
|
33
|
-
|
|
34
|
-
--tag-action-color-send: #7779F8; // @presenter Color
|
|
35
|
-
--tag-action-color-pub: #7779F8; // @presenter Color
|
|
36
|
-
--tag-action-color-publish: #7779F8; // @presenter Color
|
|
37
|
-
|
|
38
|
-
--tag-action-color-channel: #F5AD5B; // @presenter Color
|
|
39
|
-
--tag-action-color-topic: #F5AD5B; // @presenter Color
|
|
40
|
-
--tag-action-color-queue: #F7A7CF; // @presenter Color
|
|
41
|
-
--tag-action-color-exchange: #C79CF2; // @presenter Color
|
|
42
|
-
|
|
43
12
|
.tag-grey,
|
|
44
13
|
.tag-draft,
|
|
45
14
|
.tag-schema,
|
|
@@ -47,6 +16,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
47
16
|
--tag-color: var(--color-warm-grey-8); // @presenter Color
|
|
48
17
|
--tag-bg-color: var(--color-warm-grey-4); // @presenter Color
|
|
49
18
|
--tag-bg-color-hover: var(--color-warm-grey-5); // @presenter Color
|
|
19
|
+
--tag-close-button-bg-color-hover: var(--color-warm-grey-5); // @presenter Color
|
|
50
20
|
}
|
|
51
21
|
|
|
52
22
|
.tag-red {
|
|
@@ -54,6 +24,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
54
24
|
--tag-bg-color: var(--color-red-1); // @presenter Color
|
|
55
25
|
--tag-border-color: var(--color-red-8); // @presenter Color
|
|
56
26
|
--tag-border-color-hover: var(--color-red-6); // @presenter Color
|
|
27
|
+
--tag-close-button-bg-color-hover: var(--color-red-2); // @presenter Color
|
|
57
28
|
}
|
|
58
29
|
|
|
59
30
|
.tag-green {
|
|
@@ -62,6 +33,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
62
33
|
--tag-border-color: var(--color-green-3); // @presenter Color
|
|
63
34
|
--tag-border-color-hover: var(--color-green-5); // @presenter Color
|
|
64
35
|
--tag-bg-color-hover: var(--color-green-2); // @presenter Color
|
|
36
|
+
--tag-close-button-bg-color-hover: var(--color-green-2); // @presenter Color
|
|
65
37
|
}
|
|
66
38
|
|
|
67
39
|
.tag-blue {
|
|
@@ -69,6 +41,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
69
41
|
--tag-bg-color: var(--color-blue-1); // @presenter Color
|
|
70
42
|
--tag-border-color-hover: var(--color-blue-5); // @presenter Color
|
|
71
43
|
--tag-bg-color-hover: var(--color-blue-2); // @presenter Color
|
|
44
|
+
--tag-close-button-bg-color-hover: var(--color-blue-2); // @presenter Color
|
|
72
45
|
}
|
|
73
46
|
|
|
74
47
|
.tag-magenta,
|
|
@@ -76,14 +49,15 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
76
49
|
--tag-color: var(--color-magenta-4); // @presenter Color
|
|
77
50
|
--tag-bg-color: var(--color-magenta-1); // @presenter Color
|
|
78
51
|
--tag-bg-color-hover: var(--color-magenta-2); // @presenter Color
|
|
52
|
+
--tag-close-button-bg-color-hover: var(--color-magenta-2); // @presenter Color
|
|
79
53
|
}
|
|
80
54
|
|
|
81
|
-
.tag-purple
|
|
82
|
-
.tag-head {
|
|
55
|
+
.tag-purple {
|
|
83
56
|
--tag-color: var(--color-purple-7); // @presenter Color
|
|
84
57
|
--tag-bg-color: var(--color-purple-1); // @presenter Color
|
|
85
58
|
--tag-bg-color-hover: var(--color-purple-2); // @presenter Color
|
|
86
59
|
--tag-border-color-hover: var(--color-purple-5); // @presenter Color
|
|
60
|
+
--tag-close-button-bg-color-hover: var(--color-purple-2); // @presenter Color
|
|
87
61
|
}
|
|
88
62
|
|
|
89
63
|
.tag-carrot {
|
|
@@ -91,12 +65,14 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
91
65
|
--tag-bg-color: var(--color-carrot-1); // @presenter Color
|
|
92
66
|
--tag-bg-color-hover: var(--color-carrot-2); // @presenter Color
|
|
93
67
|
--tag-border-color: var(--color-carrot-4); // @presenter Color
|
|
68
|
+
--tag-close-button-bg-color-hover: var(--color-carrot-2); // @presenter Color
|
|
94
69
|
}
|
|
95
70
|
|
|
96
71
|
.tag-raspberry {
|
|
97
72
|
--tag-color: var(--color-raspberry-7); // @presenter Color
|
|
98
73
|
--tag-bg-color: var(--color-raspberry-1); // @presenter Color
|
|
99
74
|
--tag-bg-color-hover: var(--color-raspberry-2); // @presenter Color
|
|
75
|
+
--tag-close-button-bg-color-hover: var(--color-raspberry-2); // @presenter Color
|
|
100
76
|
}
|
|
101
77
|
|
|
102
78
|
.tag-orange {
|
|
@@ -105,6 +81,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
105
81
|
--tag-bg-color-hover: var(--color-orange-2); // @presenter Color
|
|
106
82
|
--tag-border-color: var(--color-orange-3); // @presenter Color
|
|
107
83
|
--tag-border-color-hover: var(--color-orange-5); // @presenter Color
|
|
84
|
+
--tag-close-button-bg-color-hover: var(--color-orange-2); // @presenter Color
|
|
108
85
|
}
|
|
109
86
|
|
|
110
87
|
.tag-grass {
|
|
@@ -113,6 +90,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
113
90
|
--tag-color: var(--color-grass-7); // @presenter Color
|
|
114
91
|
--tag-border-color: var(--color-grass-3); // @presenter Color
|
|
115
92
|
--tag-border-color-hover: var(--color-grass-5); // @presenter Color
|
|
93
|
+
--tag-close-button-bg-color-hover: var(--color-grass-2); // @presenter Color
|
|
116
94
|
}
|
|
117
95
|
|
|
118
96
|
.tag-persian-green {
|
|
@@ -121,6 +99,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
121
99
|
--tag-bg-color-hover: var(--color-persian-green-2); // @presenter Color
|
|
122
100
|
--tag-border-color: var(--color-persian-green-3); // @presenter Color
|
|
123
101
|
--tag-border-color-hover: var(--color-persian-green-5); // @presenter Color
|
|
102
|
+
--tag-close-button-bg-color-hover: var(--color-persian-green-2); // @presenter Color
|
|
124
103
|
}
|
|
125
104
|
|
|
126
105
|
.tag-turquoise,
|
|
@@ -129,6 +108,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
129
108
|
--tag-bg-color: var(--color-turquoise-1); // @presenter Color
|
|
130
109
|
--tag-bg-color-hover: var(--color-turquoise-2); // @presenter Color
|
|
131
110
|
--tag-border-color: var(--color-turquoise-4); // @presenter Color
|
|
111
|
+
--tag-close-button-bg-color-hover: var(--color-turquoise-2); // @presenter Color
|
|
132
112
|
}
|
|
133
113
|
|
|
134
114
|
.tag-sky {
|
|
@@ -136,6 +116,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
136
116
|
--tag-bg-color: var(--color-sky-1); // @presenter Color
|
|
137
117
|
--tag-border-color: var(--color-sky-4); // @presenter Color
|
|
138
118
|
--tag-bg-color-hover: var(--color-sky-2); // @presenter Color
|
|
119
|
+
--tag-close-button-bg-color-hover: var(--color-sky-2); // @presenter Color
|
|
139
120
|
}
|
|
140
121
|
|
|
141
122
|
.tag-blueberry {
|
|
@@ -143,6 +124,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
143
124
|
--tag-bg-color: var(--color-blueberry-1); // @presenter Color
|
|
144
125
|
--tag-border-color-hover: var(--color-blueberry-5); // @presenter Color
|
|
145
126
|
--tag-bg-color-hover: var(--color-blueberry-2); // @presenter Color
|
|
127
|
+
--tag-close-button-bg-color-hover: var(--color-blueberry-2); // @presenter Color
|
|
146
128
|
}
|
|
147
129
|
|
|
148
130
|
.tag-warning,
|
|
@@ -150,6 +132,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
150
132
|
--tag-color: var(--color-warning-active); // @presenter Color
|
|
151
133
|
--tag-bg-color: var(--color-warning-bg); // @presenter Color
|
|
152
134
|
--tag-bg-color-hover: var(--color-warning-bg-hover); // @presenter Color
|
|
135
|
+
--tag-close-button-bg-color-hover: var(--color-warning-hover); // @presenter Color
|
|
153
136
|
}
|
|
154
137
|
|
|
155
138
|
.tag-processing,
|
|
@@ -157,6 +140,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
157
140
|
--tag-color: var(--color-info-active); // @presenter Color
|
|
158
141
|
--tag-bg-color: var(--color-info-bg); // @presenter Color
|
|
159
142
|
--tag-bg-color-hover: var(--color-info-bg-hover); // @presenter Color
|
|
143
|
+
--tag-close-button-bg-color-hover: var(--color-info-hover); // @presenter Color
|
|
160
144
|
}
|
|
161
145
|
|
|
162
146
|
.tag-error,
|
|
@@ -164,6 +148,7 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
164
148
|
--tag-color: var(--color-error-active); // @presenter Color
|
|
165
149
|
--tag-bg-color: var(--color-error-bg); // @presenter Color
|
|
166
150
|
--tag-bg-color-hover: var(--color-error-bg-hover); // @presenter Color
|
|
151
|
+
--tag-close-button-bg-color-hover: var(--color-error-hover); // @presenter Color
|
|
167
152
|
}
|
|
168
153
|
|
|
169
154
|
.tag-success,
|
|
@@ -171,12 +156,134 @@ exports.tagDarkMode = (0, styled_components_1.css) `
|
|
|
171
156
|
--tag-color: var(--color-success-active); // @presenter Color
|
|
172
157
|
--tag-bg-color: var(--color-success-bg); // @presenter Color
|
|
173
158
|
--tag-bg-color-hover: var(--color-success-bg-hover); // @presenter Color
|
|
159
|
+
--tag-close-button-bg-color-hover: var(--color-success-bg-hover); // @presenter Color
|
|
174
160
|
}
|
|
175
161
|
|
|
176
162
|
.tag-link {
|
|
177
163
|
--tag-color: var(--color-info-active); // @presenter Color
|
|
178
164
|
--tag-bg-color: var(--color-info-bg); // @presenter Color
|
|
179
165
|
--tag-bg-color-hover: var(--color-info-bg-hover); // @presenter Color
|
|
166
|
+
--tag-close-button-bg-color-hover: var(--color-info-hover); // @presenter Color
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.tag-delete {
|
|
170
|
+
--tag-color: #fa82a2; // @presenter Color
|
|
171
|
+
--tag-bg-color: #47252E; // @presenter Color
|
|
172
|
+
--tag-bg-color-hover: #653441; // @presenter Color
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.tag-get {
|
|
176
|
+
--tag-color: #68cc97; // @presenter Color
|
|
177
|
+
--tag-bg-color: #1F3D2D; // @presenter Color
|
|
178
|
+
--tag-bg-color-hover: #34654B; // @presenter Color
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.tag-post {
|
|
182
|
+
--tag-color: #90b0f0; // @presenter Color
|
|
183
|
+
--tag-bg-color: #2B3447; // @presenter Color
|
|
184
|
+
--tag-bg-color-hover: #3A465F; // @presenter Color
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.tag-put {
|
|
188
|
+
--tag-color: #e0a663; // @presenter Color
|
|
189
|
+
--tag-bg-color: #3D2D1B; // @presenter Color
|
|
190
|
+
--tag-bg-color-hover: #674C2D; // @presenter Color
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.tag-patch {
|
|
194
|
+
--tag-color: #e0c363; // @presenter Color
|
|
195
|
+
--tag-bg-color: #3D351B; // @presenter Color
|
|
196
|
+
--tag-bg-color-hover: #67592D; // @presenter Color
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.tag-head {
|
|
200
|
+
--tag-color: var(--color-purple-7); // @presenter Color
|
|
201
|
+
--tag-bg-color: #312B5A; // @presenter Color
|
|
202
|
+
--tag-bg-color-hover: #413875; // @presenter Color
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.tag-channel {
|
|
206
|
+
--tag-color: #F5AD5B; // @presenter Color
|
|
207
|
+
--tag-bg-color: #4A3721; // @presenter Color
|
|
208
|
+
--tag-bg-color-hover: #64492B; // @presenter Color
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.tag-topic {
|
|
212
|
+
--tag-color: #F5AD5B; // @presenter Color
|
|
213
|
+
--tag-bg-color: #4A3721; // @presenter Color
|
|
214
|
+
--tag-bg-color-hover: #64492B; // @presenter Color
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.tag-send {
|
|
218
|
+
--tag-color: #7779F8; // @presenter Color
|
|
219
|
+
--tag-bg-color: #272754; // @presenter Color
|
|
220
|
+
--tag-bg-color-hover: #373776; // @presenter Color
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.tag-pub {
|
|
224
|
+
--tag-color: #7779F8; // @presenter Color
|
|
225
|
+
--tag-bg-color: #272754; // @presenter Color
|
|
226
|
+
--tag-bg-color-hover: #373776; // @presenter Color
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.tag-publish {
|
|
230
|
+
--tag-color: #7779F8; // @presenter Color
|
|
231
|
+
--tag-bg-color: #272754; // @presenter Color
|
|
232
|
+
--tag-bg-color-hover: #373776; // @presenter Color
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.tag-http-additional-operation {
|
|
236
|
+
--tag-color: #FCAB69; // @presenter Color
|
|
237
|
+
--tag-bg-color: #523926; // @presenter Color
|
|
238
|
+
--tag-bg-color-hover: #694830; // @presenter Color
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.tag-receive {
|
|
242
|
+
--tag-color: #88CF82; // @presenter Color
|
|
243
|
+
--tag-bg-color: #23421F; // @presenter Color
|
|
244
|
+
--tag-bg-color-hover: #305A2A; // @presenter Color
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.tag-sub {
|
|
248
|
+
--tag-color: #88CF82; // @presenter Color
|
|
249
|
+
--tag-bg-color: #23421F; // @presenter Color
|
|
250
|
+
--tag-bg-color-hover: #305A2A; // @presenter Color
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.tag-cons {
|
|
254
|
+
--tag-color: #88CF82; // @presenter Color
|
|
255
|
+
--tag-bg-color: #23421F; // @presenter Color
|
|
256
|
+
--tag-bg-color-hover: #305A2A; // @presenter Color
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.tag-exchange {
|
|
260
|
+
--tag-color: #C79CF2; // @presenter Color
|
|
261
|
+
--tag-bg-color: #472669; // @presenter Color
|
|
262
|
+
--tag-bg-color-hover: #5C3187; // @presenter Color
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// shorten alias for exchange tag:
|
|
266
|
+
.tag-exch {
|
|
267
|
+
--tag-color: #C79CF2; // @presenter Color
|
|
268
|
+
--tag-bg-color: #472669; // @presenter Color
|
|
269
|
+
--tag-bg-color-hover: #5C3187; // @presenter Color
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.tag-queue {
|
|
273
|
+
--tag-color: #F7A7CF; // @presenter Color
|
|
274
|
+
--tag-bg-color: #622242; // @presenter Color
|
|
275
|
+
--tag-bg-color-hover: #882F5C; // @presenter Color
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.tag-variant-filled {
|
|
279
|
+
--tag-border-color: transparent;
|
|
280
|
+
--tag-border-color-hover: transparent;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.tag-variant-outline {
|
|
284
|
+
--tag-bg-color: transparent;
|
|
285
|
+
--tag-bg-color-hover: transparent;
|
|
180
286
|
}
|
|
181
287
|
`;
|
|
288
|
+
/* eslint-enable theme/no-raw-colors-in-styles */
|
|
182
289
|
//# sourceMappingURL=variables.dark.js.map
|