redoc 3.0.0-rc.3 → 3.0.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/bundles/redoc.d.ts +328 -31
- package/bundles/redoc.js +1078 -1349
- package/bundles/redoc.standalone.d.ts +327 -31
- package/bundles/redoc.standalone.js +1003 -1087
- package/package.json +42 -36
- package/typings/.tsbuildinfo +0 -1
- package/typings/RedocStandalone.d.ts +0 -43
- package/typings/RedoclyApiDocs.d.ts +0 -22
- package/typings/RedoclyApiDocsStandalone.d.ts +0 -22
- package/typings/adapters/asyncapi/build/context.d.ts +0 -9
- package/typings/adapters/asyncapi/build/navigation.d.ts +0 -2
- package/typings/adapters/asyncapi/build/utils.d.ts +0 -3
- package/typings/adapters/asyncapi/buildContext.d.ts +0 -2
- package/typings/adapters/asyncapi/index.d.ts +0 -13
- package/typings/adapters/asyncapi/items/channel/content.d.ts +0 -5
- package/typings/adapters/asyncapi/items/channel/item.d.ts +0 -13
- package/typings/adapters/asyncapi/items/operation/content.d.ts +0 -4
- package/typings/adapters/asyncapi/items/operation/item.d.ts +0 -15
- package/typings/adapters/asyncapi/items/overview/content.d.ts +0 -10
- package/typings/adapters/asyncapi/items/overview/item.d.ts +0 -16
- package/typings/adapters/asyncapi/panels/brokers.d.ts +0 -7
- package/typings/adapters/asyncapi/panels/download.d.ts +0 -3
- package/typings/adapters/asyncapi/panels/group.d.ts +0 -16
- package/typings/adapters/asyncapi/panels/overview.d.ts +0 -3
- package/typings/adapters/asyncapi/store.d.ts +0 -4
- package/typings/adapters/asyncapi/utils/avro-to-json-schema.d.ts +0 -4
- package/typings/adapters/asyncapi/utils/get-channel-label.d.ts +0 -3
- package/typings/adapters/asyncapi/utils/get-protocol-labels.d.ts +0 -24
- package/typings/adapters/asyncapi/utils/resolve-schema.d.ts +0 -2
- package/typings/adapters/asyncapi/utils/resolve-server-variables.d.ts +0 -3
- package/typings/adapters/asyncapi/utils/resolveInDoc.d.ts +0 -2
- package/typings/adapters/asyncapi/utils/security.d.ts +0 -12
- package/typings/adapters/build.d.ts +0 -15
- package/typings/adapters/graphql/build/context.d.ts +0 -9
- package/typings/adapters/graphql/buildContext.d.ts +0 -2
- package/typings/adapters/graphql/buildStoreFromSdl.d.ts +0 -2
- package/typings/adapters/graphql/group/custom.d.ts +0 -2
- package/typings/adapters/graphql/group/default.d.ts +0 -2
- package/typings/adapters/graphql/group/errors.d.ts +0 -1
- package/typings/adapters/graphql/group/itemBuilders.d.ts +0 -5
- package/typings/adapters/graphql/group/utils.d.ts +0 -8
- package/typings/adapters/graphql/index.d.ts +0 -9
- package/typings/adapters/graphql/items/directive/content.d.ts +0 -4
- package/typings/adapters/graphql/items/directive/item.d.ts +0 -3
- package/typings/adapters/graphql/items/enum/content.d.ts +0 -4
- package/typings/adapters/graphql/items/enum/item.d.ts +0 -3
- package/typings/adapters/graphql/items/input/content.d.ts +0 -4
- package/typings/adapters/graphql/items/input/item.d.ts +0 -3
- package/typings/adapters/graphql/items/interface/content.d.ts +0 -4
- package/typings/adapters/graphql/items/interface/item.d.ts +0 -3
- package/typings/adapters/graphql/items/mutation/content.d.ts +0 -4
- package/typings/adapters/graphql/items/mutation/item.d.ts +0 -3
- package/typings/adapters/graphql/items/object/content.d.ts +0 -4
- package/typings/adapters/graphql/items/object/item.d.ts +0 -3
- package/typings/adapters/graphql/items/operation/content.d.ts +0 -7
- package/typings/adapters/graphql/items/overview/content.d.ts +0 -11
- package/typings/adapters/graphql/items/overview/item.d.ts +0 -4
- package/typings/adapters/graphql/items/query/content.d.ts +0 -4
- package/typings/adapters/graphql/items/query/item.d.ts +0 -3
- package/typings/adapters/graphql/items/scalar/content.d.ts +0 -4
- package/typings/adapters/graphql/items/scalar/item.d.ts +0 -3
- package/typings/adapters/graphql/items/subscription/content.d.ts +0 -4
- package/typings/adapters/graphql/items/subscription/item.d.ts +0 -3
- package/typings/adapters/graphql/items/types.d.ts +0 -7
- package/typings/adapters/graphql/items/union/content.d.ts +0 -4
- package/typings/adapters/graphql/items/union/item.d.ts +0 -3
- package/typings/adapters/graphql/panels/download.d.ts +0 -3
- package/typings/adapters/graphql/panels/group-items.d.ts +0 -4
- package/typings/adapters/graphql/panels/overview.d.ts +0 -3
- package/typings/adapters/graphql/serializeType.d.ts +0 -4
- package/typings/adapters/graphql/store.d.ts +0 -3
- package/typings/adapters/graphql/utils/configMetadataRows.d.ts +0 -3
- package/typings/adapters/graphql/utils/constants.d.ts +0 -24
- package/typings/adapters/graphql/utils/createApiItem.d.ts +0 -15
- package/typings/adapters/graphql/utils/getBadges.d.ts +0 -4
- package/typings/adapters/graphql/utils/ignoreInternalItems.d.ts +0 -3
- package/typings/adapters/graphql/utils/isRootType.d.ts +0 -2
- package/typings/adapters/graphql/utils/menuSlashRegex.d.ts +0 -1
- package/typings/adapters/graphql/utils/normalizeMenu.d.ts +0 -3
- package/typings/adapters/graphql/utils/shouldIncludeItem.d.ts +0 -2
- package/typings/adapters/graphql/utils/summary.d.ts +0 -4
- package/typings/adapters/graphql/utils/validateMenuConfig.d.ts +0 -3
- package/typings/adapters/helpers.d.ts +0 -44
- package/typings/adapters/openapi/build/context.d.ts +0 -13
- package/typings/adapters/openapi/build-code-sample-source.d.ts +0 -4
- package/typings/adapters/openapi/buildContext.d.ts +0 -2
- package/typings/adapters/openapi/constants.d.ts +0 -4
- package/typings/adapters/openapi/group/content.d.ts +0 -25
- package/typings/adapters/openapi/group/item.d.ts +0 -8
- package/typings/adapters/openapi/index.d.ts +0 -11
- package/typings/adapters/openapi/items/mcp/content.d.ts +0 -5
- package/typings/adapters/openapi/items/mcp/item.d.ts +0 -9
- package/typings/adapters/openapi/items/operation/content.d.ts +0 -12
- package/typings/adapters/openapi/items/operation/item.d.ts +0 -9
- package/typings/adapters/openapi/items/overview/content.d.ts +0 -17
- package/typings/adapters/openapi/items/overview/item.d.ts +0 -3
- package/typings/adapters/openapi/items/schema/content.d.ts +0 -3
- package/typings/adapters/openapi/items/schema/item.d.ts +0 -9
- package/typings/adapters/openapi/panels/download.d.ts +0 -3
- package/typings/adapters/openapi/panels/mcp.d.ts +0 -3
- package/typings/adapters/openapi/panels/overview.d.ts +0 -3
- package/typings/adapters/openapi/panels/servers.d.ts +0 -3
- package/typings/adapters/openapi/resolve-openapi-example-value.d.ts +0 -3
- package/typings/adapters/openapi/store.d.ts +0 -4
- package/typings/adapters/openapi/utils/JsonPointer.d.ts +0 -50
- package/typings/adapters/openapi/utils/applyIgnoreNamedSchemasDeep.d.ts +0 -1
- package/typings/adapters/openapi/utils/helpers.d.ts +0 -12
- package/typings/adapters/openapi/utils/operation.d.ts +0 -24
- package/typings/adapters/openapi/utils/resolvePathItemRef.d.ts +0 -2
- package/typings/adapters/openapi/utils/url.d.ts +0 -2
- package/typings/adapters/rbac.d.ts +0 -10
- package/typings/adapters/scopedContext.d.ts +0 -5
- package/typings/adapters/utils/dompurify.d.ts +0 -5
- package/typings/adapters/utils/isPlainText.d.ts +0 -6
- package/typings/adapters/utils/markdoc.d.ts +0 -54
- package/typings/adapters/utils/parseMarkdown.d.ts +0 -8
- package/typings/adapters/utils/simplifyAstStructure.d.ts +0 -2
- package/typings/ajv-stub.d.ts +0 -4
- package/typings/components/AdmonitionItem.d.ts +0 -6
- package/typings/components/ChannelAddressItem.d.ts +0 -7
- package/typings/components/ContainerItem.d.ts +0 -9
- package/typings/components/EmptyMessageItem.d.ts +0 -6
- package/typings/components/ErrorBoundary.d.ts +0 -20
- package/typings/components/ExtensionsItem.d.ts +0 -7
- package/typings/components/ExternalDocsItem.d.ts +0 -8
- package/typings/components/Header/HeaderItem.d.ts +0 -10
- package/typings/components/Header/HeaderPageActions.d.ts +0 -4
- package/typings/components/Header/HeaderResponseCodeTabs.d.ts +0 -8
- package/typings/components/Header/PageActions.d.ts +0 -4
- package/typings/components/Header/ResponseDeepLinkAnchor.d.ts +0 -9
- package/typings/components/Header/hooks.d.ts +0 -5
- package/typings/components/InfoMetadataItem.d.ts +0 -7
- package/typings/components/ItemContent/ItemContentRenderer.d.ts +0 -8
- package/typings/components/ItemContent/SectionHeader.d.ts +0 -8
- package/typings/components/ItemContent/hooks.d.ts +0 -17
- package/typings/components/ItemContent/sections/BodyMimeTypeField.d.ts +0 -12
- package/typings/components/ItemContent/sections/BodySection.d.ts +0 -7
- package/typings/components/ItemContent/sections/CallbacksSection.d.ts +0 -5
- package/typings/components/ItemContent/sections/FieldsSection.d.ts +0 -7
- package/typings/components/ItemContent/sections/MessagesSection.d.ts +0 -5
- package/typings/components/ItemContent/sections/ParametersSection.d.ts +0 -6
- package/typings/components/ItemContent/sections/ResponsesSection.d.ts +0 -5
- package/typings/components/ItemContent/sections/ValuesSection.d.ts +0 -5
- package/typings/components/Mapper.d.ts +0 -22
- package/typings/components/MarkdownItem.d.ts +0 -6
- package/typings/components/Mcp/McpPrompt.d.ts +0 -8
- package/typings/components/Mcp/McpResource.d.ts +0 -8
- package/typings/components/Mcp/McpTool.d.ts +0 -8
- package/typings/components/Mcp/styled.d.ts +0 -22
- package/typings/components/Mcp/utils.d.ts +0 -7
- package/typings/components/MessageLinksItem.d.ts +0 -7
- package/typings/components/PrePaintColorModeScript.d.ts +0 -12
- package/typings/components/Schema/SchemaDescription.d.ts +0 -5
- package/typings/components/Schema/SchemaView.d.ts +0 -20
- package/typings/components/Schema/helpers.d.ts +0 -1
- package/typings/components/Schema/hooks/useSchemaDocument.d.ts +0 -7
- package/typings/components/Schema/hooks/useSchemaFieldDeepLink.d.ts +0 -5
- package/typings/components/Schema/hooks/useVariantIndexFromHash.d.ts +0 -1
- package/typings/components/Schema/styled.d.ts +0 -235
- package/typings/components/Schema/utils.d.ts +0 -15
- package/typings/components/Schema/views/ArrayRenderer.d.ts +0 -12
- package/typings/components/Schema/views/CollapsibleNestedFields.d.ts +0 -24
- package/typings/components/Schema/views/DefaultMappingOptionLabel.d.ts +0 -5
- package/typings/components/Schema/views/DiscriminatorPropertyRow.d.ts +0 -13
- package/typings/components/Schema/views/Examples.d.ts +0 -7
- package/typings/components/Schema/views/ExpandableExample.d.ts +0 -4
- package/typings/components/Schema/views/ObjectRenderer.d.ts +0 -13
- package/typings/components/Schema/views/Pattern.d.ts +0 -6
- package/typings/components/Schema/views/PrimitiveRenderer.d.ts +0 -5
- package/typings/components/Schema/views/PropertyFieldRow.d.ts +0 -15
- package/typings/components/Schema/views/PropertyRenderer.d.ts +0 -14
- package/typings/components/Schema/views/SchemaEnumDescriptions.d.ts +0 -9
- package/typings/components/Schema/views/SchemaEnumValues.d.ts +0 -8
- package/typings/components/Schema/views/SchemaTitleLabel.d.ts +0 -5
- package/typings/components/Schema/views/SchemaVariantSelector.d.ts +0 -11
- package/typings/components/Schema/views/SwitcherRenderer.d.ts +0 -13
- package/typings/components/Schema/views/VariantDropdown.d.ts +0 -14
- package/typings/components/Search/Search.d.ts +0 -10
- package/typings/components/Search/SearchDialog.d.ts +0 -7
- package/typings/components/Search/SearchTrigger.d.ts +0 -9
- package/typings/components/Search/index.d.ts +0 -1
- package/typings/components/Security/Divider.d.ts +0 -4
- package/typings/components/Security/RequiredScopes.d.ts +0 -4
- package/typings/components/Security/ScopeTagWithTooltip.d.ts +0 -11
- package/typings/components/Security/SecurityButtonPanel.d.ts +0 -5
- package/typings/components/Security/SecurityFlowDetail.d.ts +0 -5
- package/typings/components/Security/SecurityModal.d.ts +0 -6
- package/typings/components/Security/SecuritySection.d.ts +0 -3
- package/typings/components/Security/styled.d.ts +0 -127
- package/typings/components/Security/types.d.ts +0 -3
- package/typings/components/SideMenu/SideMenu.d.ts +0 -7
- package/typings/components/SideMenu/buildMenuItems.d.ts +0 -29
- package/typings/components/SideMenu/useMenuItems.d.ts +0 -14
- package/typings/components/StickySidebar/FloatingButton.d.ts +0 -1
- package/typings/components/StickySidebar/RedoclyAttributionLogo.d.ts +0 -5
- package/typings/components/StickySidebar/SidebarActions.d.ts +0 -2
- package/typings/components/StickySidebar/StickySidebar.d.ts +0 -7
- package/typings/components/common/Badge.d.ts +0 -32
- package/typings/components/common/Breadcrumbs.d.ts +0 -11
- package/typings/components/common/ContentWrapper.d.ts +0 -13
- package/typings/components/common/DeepLinkAnchor.d.ts +0 -20
- package/typings/components/common/ExpandAllButton.d.ts +0 -6
- package/typings/components/common/ExternalDocumentation.d.ts +0 -10
- package/typings/components/common/LazyMount.d.ts +0 -9
- package/typings/components/common/LazySection.d.ts +0 -14
- package/typings/components/common/Markdown.d.ts +0 -7
- package/typings/components/common/MoreDetailsButton.d.ts +0 -5
- package/typings/components/common/NestedToggleButton.d.ts +0 -10
- package/typings/components/common/PanelItem.d.ts +0 -27
- package/typings/components/common/ResponseCodeTabs.d.ts +0 -9
- package/typings/components/common/Tag.d.ts +0 -3
- package/typings/components/common/VendorExtensions.d.ts +0 -7
- package/typings/components/common/ViewNested.d.ts +0 -13
- package/typings/components/graphql/ArrowIcon.d.ts +0 -7
- package/typings/components/graphql/GraphQLArgumentsSection.d.ts +0 -10
- package/typings/components/graphql/GraphQLEnumEmbedded.d.ts +0 -5
- package/typings/components/graphql/GraphQLFieldView.d.ts +0 -12
- package/typings/components/graphql/GraphQLFieldsEmbedded.d.ts +0 -9
- package/typings/components/graphql/GraphQLGroupTypeList.d.ts +0 -5
- package/typings/components/graphql/GraphQLHeaderExtras.d.ts +0 -7
- package/typings/components/graphql/GraphQLReturnTypeDetails.d.ts +0 -11
- package/typings/components/graphql/GraphQLTypeView.d.ts +0 -9
- package/typings/components/graphql/GraphQLUnionEmbedded.d.ts +0 -5
- package/typings/components/graphql/RequiresScopesButton.d.ts +0 -9
- package/typings/components/graphql/RequiresScopesModal.d.ts +0 -9
- package/typings/components/graphql/ViewNested.d.ts +0 -14
- package/typings/components/graphql/renderDescription.d.ts +0 -2
- package/typings/components/graphql/sections/GraphQLArgsSection.d.ts +0 -5
- package/typings/components/graphql/sections/GraphQLFieldsSection.d.ts +0 -5
- package/typings/components/graphql/sections/ImplementedBySection.d.ts +0 -5
- package/typings/components/graphql/sections/ImplementsSection.d.ts +0 -5
- package/typings/components/graphql/sections/PossibleTypesSection.d.ts +0 -5
- package/typings/components/graphql/sections/RequiresScopesSection.d.ts +0 -5
- package/typings/components/graphql/sections/ReturnTypeSection.d.ts +0 -5
- package/typings/components/graphql/styled.d.ts +0 -55
- package/typings/components/markdoc/Heading.d.ts +0 -11
- package/typings/components/markdoc/SchemaDefinition.d.ts +0 -11
- package/typings/components/markdoc/apiDocsMarkdocComponents.d.ts +0 -6
- package/typings/components/markdoc/buildMarkdocOptions.d.ts +0 -9
- package/typings/components/markdoc/defaultMarkdocConfig.d.ts +0 -4
- package/typings/components/markdoc/html/html-jsx-attribute-mapping.d.ts +0 -5
- package/typings/components/markdoc/html/process-html-tokens.d.ts +0 -2
- package/typings/components/markdoc/markdocAdapter.d.ts +0 -12
- package/typings/components/markdoc/markdocParser.d.ts +0 -8
- package/typings/components/markdoc/markdocRenderer.d.ts +0 -8
- package/typings/components/markdoc/tags/mcp-tag-schemas.d.ts +0 -2
- package/typings/components/markdoc/tags/schema-definition-tag.d.ts +0 -2
- package/typings/components/panels/ConnectMcpButton.d.ts +0 -5
- package/typings/components/panels/DownloadPanelItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/CallbackPayloadItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/CodeSampleItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/ExamplesPanelItem.d.ts +0 -3
- package/typings/components/panels/ExampleItem/GraphQLQueryItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/GraphQLResponseItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/GraphQLTypeSampleItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/GraphQLVariablesItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/PayloadExampleItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/ResponseExampleItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/ServerDropdown.d.ts +0 -17
- package/typings/components/panels/ExampleItem/hooks.d.ts +0 -28
- package/typings/components/panels/ExampleItem/selectors.d.ts +0 -42
- package/typings/components/panels/ExampleItem/styled.d.ts +0 -98
- package/typings/components/panels/ExampleItem/types.d.ts +0 -6
- package/typings/components/panels/ExampleItem/useCodeSampleLanguages.d.ts +0 -22
- package/typings/components/panels/GroupPanelItem.d.ts +0 -5
- package/typings/components/panels/LanguageItem/LanguageDropdown.d.ts +0 -15
- package/typings/components/panels/LanguageItem/LanguageItem.d.ts +0 -11
- package/typings/components/panels/LanguageItem/styled.d.ts +0 -58
- package/typings/components/panels/LocationsPanelItem.d.ts +0 -5
- package/typings/components/panels/McpExamplePanelItem.d.ts +0 -5
- package/typings/components/panels/McpPanelItem.d.ts +0 -3
- package/typings/components/panels/OverviewPanelItem.d.ts +0 -3
- package/typings/components/panels/PanelMapper.d.ts +0 -5
- package/typings/components/panels/PanelNodeProps.d.ts +0 -4
- package/typings/components/panels/ReferencesPanelItem.d.ts +0 -5
- package/typings/components/panels/ServerItem/ServerDescriptionTooltip.d.ts +0 -4
- package/typings/components/panels/ServerItem/ServerItem.d.ts +0 -5
- package/typings/components/panels/ServerItem/ServerPanelItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/BrokerItem/BrokerBindingsSection.d.ts +0 -7
- package/typings/components/panels/asyncapi/BrokerItem/BrokerModal.d.ts +0 -8
- package/typings/components/panels/asyncapi/BrokerItem/BrokerOverviewSection.d.ts +0 -6
- package/typings/components/panels/asyncapi/BrokerItem/BrokerPanel.styled.d.ts +0 -21
- package/typings/components/panels/asyncapi/BrokerItem/BrokerPanelItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/ChannelBindingItem/ChannelBindingItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/MessageBindingItem/MessageBindingItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/MessageReferencesItem/MessageReferencesItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/OperationBindingItem/OperationBindingItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/common/bindingPanel.d.ts +0 -30
- package/typings/components/panels/shared-panel-styles.d.ts +0 -13
- package/typings/components/panels/styled.d.ts +0 -12
- package/typings/constants/openapi.d.ts +0 -25
- package/typings/constants/rendering.d.ts +0 -8
- package/typings/contexts/markdownAdapter.d.ts +0 -21
- package/typings/contexts/telemetry.d.ts +0 -4
- package/typings/crypto-compat.d.ts +0 -5
- package/typings/crypto-uuid-compat.d.ts +0 -1
- package/typings/empty-linkedom.d.ts +0 -1
- package/typings/empty.d.ts +0 -7
- package/typings/events/codeSampleCopy.d.ts +0 -2
- package/typings/events/creator.d.ts +0 -2
- package/typings/events/languageSwitch.d.ts +0 -2
- package/typings/events/serverSwitch.d.ts +0 -2
- package/typings/events/types.d.ts +0 -6
- package/typings/hoc/withItemId.d.ts +0 -6
- package/typings/hoc/withRouter.d.ts +0 -4
- package/typings/hoc/withStoreProvider.d.ts +0 -24
- package/typings/hooks/code-highlight-languages.d.ts +0 -6
- package/typings/hooks/deepLinkHash.d.ts +0 -7
- package/typings/hooks/useAgentTools.d.ts +0 -6
- package/typings/hooks/useApiDocsRoutes.d.ts +0 -8
- package/typings/hooks/useApiDocsScroll.d.ts +0 -9
- package/typings/hooks/useBodyScrollLock.d.ts +0 -1
- package/typings/hooks/useCodeHighlight.d.ts +0 -15
- package/typings/hooks/useCopyCodeTelemetry.d.ts +0 -14
- package/typings/hooks/useCopySpecSlice.d.ts +0 -9
- package/typings/hooks/useDeepLinkSection.d.ts +0 -16
- package/typings/hooks/useExpandableSection.d.ts +0 -4
- package/typings/hooks/useHashLinkRedirect.d.ts +0 -4
- package/typings/hooks/useInitialTelemetry.d.ts +0 -3
- package/typings/hooks/useIsExpanded.d.ts +0 -1
- package/typings/hooks/useIsHydrated.d.ts +0 -4
- package/typings/hooks/useManualScrollAnchor.d.ts +0 -19
- package/typings/hooks/useModalDismiss.d.ts +0 -2
- package/typings/hooks/useNormalizeUrl.d.ts +0 -2
- package/typings/hooks/usePageTelemetry.d.ts +0 -3
- package/typings/hooks/usePageViewTelemetry.d.ts +0 -2
- package/typings/hooks/usePerformanceMetricsTelemetry.d.ts +0 -5
- package/typings/hooks/useRouterHashBridge.d.ts +0 -24
- package/typings/hooks/useScrollSpyUrlSync.d.ts +0 -3
- package/typings/hooks/useSearchEngine.d.ts +0 -7
- package/typings/hooks/useSessionSummaryTelemetry.d.ts +0 -7
- package/typings/hooks/useTelemetry.d.ts +0 -2
- package/typings/hooks/useTranslate.d.ts +0 -5
- package/typings/hooks/useUrlHash.d.ts +0 -8
- package/typings/hooks/useUrlHashReassert.d.ts +0 -2
- package/typings/hooks/useUserScrollIntent.d.ts +0 -18
- package/typings/hooks/useVisitedChannelsTracker.d.ts +0 -6
- package/typings/icons/CSharpIcon/CSharpIcon.d.ts +0 -3
- package/typings/icons/CurlIcon/CurlIcon.d.ts +0 -13
- package/typings/icons/DefaultMappingIcon/DefaultMappingIcon.d.ts +0 -13
- package/typings/icons/GOIcon/GOIcon.d.ts +0 -3
- package/typings/icons/JavaIcon/JavaIcon.d.ts +0 -3
- package/typings/icons/JavaScriptIcon/JavaScriptIcon.d.ts +0 -3
- package/typings/icons/ListIcon/ListIcon.d.ts +0 -9
- package/typings/icons/NodeJSIcon/NodeJSIcon.d.ts +0 -3
- package/typings/icons/PHPIcon/PHPIcon.d.ts +0 -3
- package/typings/icons/PayloadIcon/PayloadIcon.d.ts +0 -3
- package/typings/icons/PlusCircleIcon/PlusCircleIcon.d.ts +0 -7
- package/typings/icons/PythonIcon/PythonIcon.d.ts +0 -3
- package/typings/icons/RIcon/RIcon.d.ts +0 -3
- package/typings/icons/RubyIcon/RubyIcon.d.ts +0 -3
- package/typings/index.d.ts +0 -9
- package/typings/jotai/app.d.ts +0 -66
- package/typings/jotai/examples.d.ts +0 -5
- package/typings/jotai/graphql.d.ts +0 -10
- package/typings/jotai/itemStore.d.ts +0 -60
- package/typings/jotai/routes.d.ts +0 -4
- package/typings/jotai/schema.d.ts +0 -3
- package/typings/jotai/store.d.ts +0 -22
- package/typings/jotai/telemetry.d.ts +0 -46
- package/typings/options/constants.d.ts +0 -10
- package/typings/options/editionOverrides.d.ts +0 -3
- package/typings/options/helpers.d.ts +0 -19
- package/typings/options/normalizeOptions.d.ts +0 -2
- package/typings/options/standaloneLayoutVars.d.ts +0 -3
- package/typings/otel-semantic-conventions.d.ts +0 -10
- package/typings/pages/EntryPage.d.ts +0 -25
- package/typings/pages/GroupPage.d.ts +0 -1
- package/typings/pages/ItemPage.d.ts +0 -1
- package/typings/pages/NotFoundPage.d.ts +0 -6
- package/typings/pages/OverviewPage.d.ts +0 -1
- package/typings/pages/TopLevelEntryView.d.ts +0 -17
- package/typings/services/agent-tools/index.d.ts +0 -10
- package/typings/services/agent-tools/operations.d.ts +0 -20
- package/typings/services/agent-tools/results.d.ts +0 -6
- package/typings/services/agent-tools/security.d.ts +0 -13
- package/typings/services/agent-tools/spec-slice-detail.d.ts +0 -12
- package/typings/services/agent-tools/types.d.ts +0 -55
- package/typings/services/agent-tools/webmcp.d.ts +0 -14
- package/typings/services/code-samples/convertSampleToString.d.ts +0 -3
- package/typings/services/code-samples/discriminator.d.ts +0 -65
- package/typings/services/code-samples/example-key.d.ts +0 -13
- package/typings/services/code-samples/index.d.ts +0 -2
- package/typings/services/code-samples/language-availability.d.ts +0 -4
- package/typings/services/code-samples/normalize-servers.d.ts +0 -3
- package/typings/services/code-samples/server-env.d.ts +0 -3
- package/typings/services/code-samples/server-variables.d.ts +0 -9
- package/typings/services/code-samples/source.d.ts +0 -81
- package/typings/services/schema/dialects/graphqlSchema.d.ts +0 -1
- package/typings/services/schema/dialects/jsonSchema.d.ts +0 -7
- package/typings/services/schema/index.d.ts +0 -1
- package/typings/services/schema/propertyBuilder.d.ts +0 -31
- package/typings/services/schema/propertyTreeBuilder.d.ts +0 -21
- package/typings/services/schema/schemaProcessor.d.ts +0 -2
- package/typings/services/schema/variant-label.d.ts +0 -6
- package/typings/services/search/engine/collapse.d.ts +0 -5
- package/typings/services/search/engine/constants.d.ts +0 -22
- package/typings/services/search/engine/flexsearch.d.ts +0 -6
- package/typings/services/search/engine/index.d.ts +0 -11
- package/typings/services/search/engine/lowered.d.ts +0 -34
- package/typings/services/search/engine/match.d.ts +0 -12
- package/typings/services/search/engine/present.d.ts +0 -5
- package/typings/services/search/engine/query.d.ts +0 -6
- package/typings/services/search/engine/score.d.ts +0 -7
- package/typings/services/search/engine/text.d.ts +0 -3
- package/typings/services/search/engine/types.d.ts +0 -19
- package/typings/services/search/highlight.d.ts +0 -3
- package/typings/services/search/indexer/context.d.ts +0 -8
- package/typings/services/search/indexer/deep-links.d.ts +0 -12
- package/typings/services/search/indexer/extractors/asyncapi.d.ts +0 -8
- package/typings/services/search/indexer/extractors/body.d.ts +0 -2
- package/typings/services/search/indexer/extractors/callbacks.d.ts +0 -4
- package/typings/services/search/indexer/extractors/context.d.ts +0 -25
- package/typings/services/search/indexer/extractors/examples.d.ts +0 -3
- package/typings/services/search/indexer/extractors/graphql.d.ts +0 -2
- package/typings/services/search/indexer/extractors/heading-sections.d.ts +0 -3
- package/typings/services/search/indexer/extractors/index.d.ts +0 -11
- package/typings/services/search/indexer/extractors/mcp.d.ts +0 -9
- package/typings/services/search/indexer/extractors/named-rows.d.ts +0 -2
- package/typings/services/search/indexer/extractors/panels.d.ts +0 -10
- package/typings/services/search/indexer/extractors/parameters.d.ts +0 -2
- package/typings/services/search/indexer/extractors/responses.d.ts +0 -2
- package/typings/services/search/indexer/extractors/schema-page.d.ts +0 -9
- package/typings/services/search/indexer/extractors/security.d.ts +0 -4
- package/typings/services/search/indexer/index.d.ts +0 -14
- package/typings/services/search/indexer/param.d.ts +0 -7
- package/typings/services/search/indexer/places.d.ts +0 -36
- package/typings/services/search/indexer/schema-walker.d.ts +0 -29
- package/typings/services/search/indexer/text.d.ts +0 -2
- package/typings/services/search/init.d.ts +0 -7
- package/typings/services/search/text-match.d.ts +0 -5
- package/typings/services/search/types.d.ts +0 -31
- package/typings/services/spec-convert/asyncapi.d.ts +0 -11
- package/typings/services/spec-convert/index.d.ts +0 -5
- package/typings/services/spec-convert/swagger/parameters.d.ts +0 -6
- package/typings/services/spec-convert/swagger/refs.d.ts +0 -34
- package/typings/services/spec-convert/swagger/responses.d.ts +0 -2
- package/typings/services/spec-convert/swagger/schema.d.ts +0 -1
- package/typings/services/spec-convert/swagger.d.ts +0 -7
- package/typings/services/spec-slice/assistant-links.d.ts +0 -9
- package/typings/services/spec-slice/asyncapi-slice.d.ts +0 -5
- package/typings/services/spec-slice/clone-strip.d.ts +0 -1
- package/typings/services/spec-slice/component-closure.d.ts +0 -6
- package/typings/services/spec-slice/graphql-slice.d.ts +0 -2
- package/typings/services/spec-slice/index.d.ts +0 -6
- package/typings/services/spec-slice/openapi-slice.d.ts +0 -6
- package/typings/services/spec-slice/resolve-scope.d.ts +0 -4
- package/typings/services/spec-slice/types.d.ts +0 -37
- package/typings/standalone.d.ts +0 -20
- package/typings/standaloneThemeConfig.d.ts +0 -3
- package/typings/telemetry/RedocTelemetry.d.ts +0 -22
- package/typings/telemetry/TypeOfUsageContext.d.ts +0 -3
- package/typings/telemetry/defaults.d.ts +0 -7
- package/typings/telemetry/events.d.ts +0 -41
- package/typings/telemetry/fields.d.ts +0 -7
- package/typings/telemetry/index.d.ts +0 -15
- package/typings/telemetry/initialPayload.d.ts +0 -56
- package/typings/telemetry/page.d.ts +0 -5
- package/typings/telemetry/reportDefinitionLoadFailed.d.ts +0 -9
- package/typings/telemetry/sanitizeError.d.ts +0 -4
- package/typings/telemetry/security.d.ts +0 -14
- package/typings/telemetry/useRedocTelemetryInstance.d.ts +0 -3
- package/typings/telemetry/useSchemaFieldTelemetry.d.ts +0 -4
- package/typings/telemetry/useSidebarItemTelemetry.d.ts +0 -11
- package/typings/types/asyncapi.d.ts +0 -314
- package/typings/types/code-samples-config.d.ts +0 -12
- package/typings/types/common.d.ts +0 -163
- package/typings/types/content.d.ts +0 -479
- package/typings/types/edition-config.d.ts +0 -6
- package/typings/types/events.d.ts +0 -48
- package/typings/types/graphql-store.d.ts +0 -60
- package/typings/types/graphql.d.ts +0 -53
- package/typings/types/openapi.d.ts +0 -515
- package/typings/types/options.d.ts +0 -90
- package/typings/types/schema.d.ts +0 -162
- package/typings/types/store.d.ts +0 -160
- package/typings/utils/calculateMaxLength.d.ts +0 -6
- package/typings/utils/compose.d.ts +0 -7
- package/typings/utils/cookies.d.ts +0 -7
- package/typings/utils/deep-link.d.ts +0 -163
- package/typings/utils/definitionLoadError.d.ts +0 -7
- package/typings/utils/environments.d.ts +0 -6
- package/typings/utils/expansion.d.ts +0 -3
- package/typings/utils/extract-extensions.d.ts +0 -4
- package/typings/utils/form-urlencoded.d.ts +0 -9
- package/typings/utils/graphql-directive-utils.d.ts +0 -6
- package/typings/utils/graphql-parse.d.ts +0 -1
- package/typings/utils/graphql-reference-map.d.ts +0 -3
- package/typings/utils/graphql-samples.d.ts +0 -29
- package/typings/utils/graphql-scopes.d.ts +0 -6
- package/typings/utils/graphql-type-expansion.d.ts +0 -5
- package/typings/utils/http-methods.d.ts +0 -8
- package/typings/utils/is-record.d.ts +0 -1
- package/typings/utils/languages.d.ts +0 -18
- package/typings/utils/loadAndBundleSpec.d.ts +0 -4
- package/typings/utils/logo.d.ts +0 -8
- package/typings/utils/media-type.d.ts +0 -5
- package/typings/utils/refPointer.d.ts +0 -2
- package/typings/utils/resolveSpec.d.ts +0 -20
- package/typings/utils/resolveText.d.ts +0 -2
- package/typings/utils/routeKind.d.ts +0 -6
- package/typings/utils/routing.d.ts +0 -49
- package/typings/utils/scroll-anchoring.d.ts +0 -4
- package/typings/utils/security-scope.d.ts +0 -3
- package/typings/utils/serialize-parameter.d.ts +0 -8
- package/typings/utils/session-storage.d.ts +0 -2
- package/typings/utils/split-badges-by-position.d.ts +0 -5
- package/typings/utils/status-code.d.ts +0 -1
- package/typings/utils/string.d.ts +0 -14
- package/typings/utils/url.d.ts +0 -9
- package/typings/utils/x-logo.d.ts +0 -13
- package/typings/utils/xml.d.ts +0 -1
- package/typings/utils/yaml.d.ts +0 -2
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { OneOfChangeParams, PropertyType } from '../../../types/schema.js';
|
|
3
|
-
type ArrayRendererProps = {
|
|
4
|
-
property: PropertyType;
|
|
5
|
-
level: number;
|
|
6
|
-
fieldParentsName?: string[];
|
|
7
|
-
skipReadOnly?: boolean;
|
|
8
|
-
skipWriteOnly?: boolean;
|
|
9
|
-
onOneOfChange?: (params: OneOfChangeParams) => void;
|
|
10
|
-
};
|
|
11
|
-
export declare function ArrayRenderer({ property, level, fieldParentsName, skipReadOnly, skipWriteOnly, onOneOfChange }: ArrayRendererProps): ReactElement;
|
|
12
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import type { TFunction } from '../../../hooks/useTranslate.js';
|
|
3
|
-
import type { PropertyType } from '../../../types/schema.js';
|
|
4
|
-
export declare function getCollapsibleNestedInitialExpanded(expandByDefault?: boolean, decorationLevel?: number, schemasExpansionLevel?: number, fallback?: number): boolean;
|
|
5
|
-
export declare function useIsDeepLinkTarget(fieldPath: string | undefined): boolean;
|
|
6
|
-
export type CollapsibleNestedFieldsProps = {
|
|
7
|
-
/** Indent / circle color level (same as `PropertyFieldRow` row `level` for nested chrome). */
|
|
8
|
-
level: number;
|
|
9
|
-
skipReadOnly?: boolean;
|
|
10
|
-
skipWriteOnly?: boolean;
|
|
11
|
-
property: Pick<PropertyType, 'properties' | 'items' | 'switcher'>;
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
fieldPath?: string;
|
|
14
|
-
expandByDefault?: boolean;
|
|
15
|
-
required?: boolean;
|
|
16
|
-
};
|
|
17
|
-
type NestedFieldCount = {
|
|
18
|
-
count: number;
|
|
19
|
-
isArray: boolean;
|
|
20
|
-
};
|
|
21
|
-
export declare function countNestedFields(property: Pick<PropertyType, 'properties' | 'items' | 'switcher'>, skipReadOnly?: boolean, skipWriteOnly?: boolean): NestedFieldCount | null;
|
|
22
|
-
export declare function buildNestedFieldsLabel(property: Pick<PropertyType, 'properties' | 'items' | 'switcher'>, skipReadOnly?: boolean, skipWriteOnly?: boolean, translate?: TFunction): string;
|
|
23
|
-
export declare function CollapsibleNestedFields({ level, skipReadOnly, skipWriteOnly, property, children, fieldPath, expandByDefault, required }: CollapsibleNestedFieldsProps): ReactElement;
|
|
24
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { PropertyType, SwitcherOptionType } from '../../../types/schema.js';
|
|
3
|
-
export type DiscriminatorPropertyRowProps = {
|
|
4
|
-
fieldName: string;
|
|
5
|
-
property: PropertyType;
|
|
6
|
-
isFirst: boolean;
|
|
7
|
-
mappingKeys: string[];
|
|
8
|
-
optionEntries: [string, SwitcherOptionType][];
|
|
9
|
-
fieldParentsName: string[];
|
|
10
|
-
activeIdx: number;
|
|
11
|
-
onSelect: (idx: number) => void;
|
|
12
|
-
};
|
|
13
|
-
export declare function DiscriminatorPropertyRow({ fieldName, property: prop, isFirst, mappingKeys, optionEntries, activeIdx, fieldParentsName, onSelect }: DiscriminatorPropertyRowProps): ReactElement;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { ExampleType } from '../../../types/schema.js';
|
|
3
|
-
type ExamplesProps = {
|
|
4
|
-
examples?: Record<string, ExampleType>;
|
|
5
|
-
};
|
|
6
|
-
export declare function Examples({ examples }: ExamplesProps): ReactElement | null;
|
|
7
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { OneOfChangeParams, PropertyType } from '../../../types/schema.js';
|
|
3
|
-
type ObjectRendererProps = {
|
|
4
|
-
property: PropertyType;
|
|
5
|
-
level: number;
|
|
6
|
-
expandByDefault?: boolean;
|
|
7
|
-
fieldParentsName?: string[];
|
|
8
|
-
skipReadOnly?: boolean;
|
|
9
|
-
skipWriteOnly?: boolean;
|
|
10
|
-
onOneOfChange?: (params: OneOfChangeParams) => void;
|
|
11
|
-
};
|
|
12
|
-
export declare function ObjectRenderer({ property, level, expandByDefault, fieldParentsName, skipReadOnly, skipWriteOnly, onOneOfChange }: ObjectRendererProps): ReactElement;
|
|
13
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { OneOfChangeParams, PropertyType } from '../../../types/schema.js';
|
|
3
|
-
type PropertyFieldRowProps = {
|
|
4
|
-
name: string;
|
|
5
|
-
property: PropertyType;
|
|
6
|
-
level: number;
|
|
7
|
-
expandByDefault?: boolean;
|
|
8
|
-
isFirst?: boolean;
|
|
9
|
-
fieldParentsName?: string[];
|
|
10
|
-
skipReadOnly?: boolean;
|
|
11
|
-
skipWriteOnly?: boolean;
|
|
12
|
-
onOneOfChange?: (params: OneOfChangeParams) => void;
|
|
13
|
-
};
|
|
14
|
-
export declare function PropertyFieldRow({ name, property, level, expandByDefault, isFirst, fieldParentsName, skipReadOnly, skipWriteOnly, onOneOfChange }: PropertyFieldRowProps): ReactElement;
|
|
15
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { OneOfChangeParams, PropertyType } from '../../../types/schema.js';
|
|
3
|
-
export type PropertyRendererProps = {
|
|
4
|
-
property: PropertyType;
|
|
5
|
-
level: number;
|
|
6
|
-
expandByDefault?: boolean;
|
|
7
|
-
fieldParentsName?: string[];
|
|
8
|
-
skipReadOnly?: boolean;
|
|
9
|
-
skipWriteOnly?: boolean;
|
|
10
|
-
onOneOfChange?: (params: OneOfChangeParams) => void;
|
|
11
|
-
};
|
|
12
|
-
declare function PropertyRendererComponent({ property, level, expandByDefault, fieldParentsName, skipReadOnly, skipWriteOnly, onOneOfChange }: PropertyRendererProps): ReactElement;
|
|
13
|
-
export declare const PropertyRenderer: import("react").MemoExoticComponent<typeof PropertyRendererComponent>;
|
|
14
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { Node } from '@markdoc/markdoc';
|
|
3
|
-
type SchemaEnumDescriptionValue = string | Node | Node[];
|
|
4
|
-
type SchemaEnumDescriptionsProps = {
|
|
5
|
-
values: Record<string, SchemaEnumDescriptionValue>;
|
|
6
|
-
type?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare function SchemaEnumDescriptions({ values, type }: SchemaEnumDescriptionsProps): ReactElement;
|
|
9
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
type SchemaEnumValuesProps = {
|
|
3
|
-
label: string;
|
|
4
|
-
values: unknown[];
|
|
5
|
-
};
|
|
6
|
-
declare function SchemaEnumValuesComponent({ label, values }: SchemaEnumValuesProps): ReactElement | null;
|
|
7
|
-
export declare const SchemaEnumValues: import("react").MemoExoticComponent<typeof SchemaEnumValuesComponent>;
|
|
8
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type ReactElement } from 'react';
|
|
2
|
-
import type { SwitcherOptionType } from '../../../types/schema.js';
|
|
3
|
-
type SchemaVariantOptionEntry = [string, SwitcherOptionType];
|
|
4
|
-
type SchemaVariantSelectorProps = {
|
|
5
|
-
optionEntries: SchemaVariantOptionEntry[];
|
|
6
|
-
activeIndex: number;
|
|
7
|
-
onChange: (index: number) => void;
|
|
8
|
-
'data-testid'?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function SchemaVariantSelector({ optionEntries, activeIndex, onChange, 'data-testid': dataTestId }: SchemaVariantSelectorProps): ReactElement | null;
|
|
11
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type ReactElement } from 'react';
|
|
2
|
-
import type { OneOfChangeParams, PropertyType } from '../../../types/schema.js';
|
|
3
|
-
type SwitcherRendererProps = {
|
|
4
|
-
property: PropertyType;
|
|
5
|
-
level: number;
|
|
6
|
-
expandByDefault?: boolean;
|
|
7
|
-
fieldParentsName?: string[];
|
|
8
|
-
skipReadOnly?: boolean;
|
|
9
|
-
skipWriteOnly?: boolean;
|
|
10
|
-
onOneOfChange?: (params: OneOfChangeParams) => void;
|
|
11
|
-
};
|
|
12
|
-
export declare function SwitcherRenderer({ property, level, expandByDefault, fieldParentsName, skipReadOnly, skipWriteOnly, onOneOfChange }: SwitcherRendererProps): ReactElement;
|
|
13
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { SegmentedOption } from '@redocly/theme/core/openapi';
|
|
2
|
-
import type { ReactElement } from 'react';
|
|
3
|
-
type VariantDropdownProps<T> = {
|
|
4
|
-
value: T;
|
|
5
|
-
onChange: (option: SegmentedOption<T>) => void;
|
|
6
|
-
options: SegmentedOption<T>[];
|
|
7
|
-
className?: string;
|
|
8
|
-
triggerVariant?: 'ghost' | 'outlined';
|
|
9
|
-
triggerSize?: string;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare function VariantDropdownComponent<T>({ options, value, onChange, className, triggerVariant, triggerSize, fullWidth }: VariantDropdownProps<T>): ReactElement;
|
|
13
|
-
export declare const VariantDropdown: typeof VariantDropdownComponent;
|
|
14
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { JSX } from 'react';
|
|
2
|
-
import type { ApiItem, ApiStore } from '../../types/store.js';
|
|
3
|
-
export type SearchProps = {
|
|
4
|
-
items: ApiItem[];
|
|
5
|
-
store: ApiStore;
|
|
6
|
-
basePath: string;
|
|
7
|
-
/** Bundled definition — enables `$ref` resolution for schema-field results. */
|
|
8
|
-
document?: Record<string, unknown>;
|
|
9
|
-
};
|
|
10
|
-
export declare function Search(props: SearchProps): JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SearchItemData } from '../../services/search/types.js';
|
|
2
|
-
export type SearchDialogProps = {
|
|
3
|
-
onClose: () => void;
|
|
4
|
-
search: (query: string) => SearchItemData[] | Promise<SearchItemData[]>;
|
|
5
|
-
isReady: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare function SearchDialog({ onClose, search, isReady }: SearchDialogProps): import("react").ReactPortal;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { JSX } from 'react';
|
|
2
|
-
export type SearchTriggerProps = {
|
|
3
|
-
onClick: () => void;
|
|
4
|
-
onIntent?: () => void;
|
|
5
|
-
isReady: boolean;
|
|
6
|
-
className?: string;
|
|
7
|
-
variant?: 'button' | 'input';
|
|
8
|
-
};
|
|
9
|
-
export declare function SearchTrigger({ onClick, onIntent, isReady, className, variant }: SearchTriggerProps): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Search } from './Search.js';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
interface ScopeTagWithTooltipProps {
|
|
3
|
-
text: string;
|
|
4
|
-
maxChars?: number;
|
|
5
|
-
tip?: string | ReactNode;
|
|
6
|
-
ariaLabel?: string;
|
|
7
|
-
arrowPosition?: 'left' | 'right' | 'center';
|
|
8
|
-
large?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare function ScopeTagWithTooltip({ text, maxChars, tip, ariaLabel, arrowPosition, large }: ScopeTagWithTooltipProps): ReactElement;
|
|
11
|
-
export {};
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { Panel } from '@redocly/theme/components/Panel/Panel';
|
|
2
|
-
export { DeprecatedBadge } from '../Schema/styled.js';
|
|
3
|
-
export declare const SecurityPanel: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("@redocly/theme").PanelProps & {
|
|
4
|
-
children?: import("react").ReactNode | undefined;
|
|
5
|
-
}> & string & Omit<typeof Panel, keyof import("react").Component<any, {}, any>>;
|
|
6
|
-
export declare const SecurityHeader: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
7
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
8
|
-
}> & string;
|
|
9
|
-
export declare const ViewDetailsButton: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("@redocly/theme").ButtonProps, keyof import("@redocly/theme").ButtonProps> & import("@redocly/theme").ButtonProps, never> & Partial<Pick<import("styled-components").FastOmit<import("@redocly/theme").ButtonProps, keyof import("@redocly/theme").ButtonProps> & import("@redocly/theme").ButtonProps, never>>, "as" | "forwardedAs"> & {
|
|
10
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
11
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
12
|
-
}, "style"> & {
|
|
13
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
14
|
-
}> & string;
|
|
15
|
-
export declare const Title: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
16
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
17
|
-
}> & string;
|
|
18
|
-
export declare const SecurityList: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
19
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
20
|
-
}> & string;
|
|
21
|
-
export declare const SchemeName: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
22
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
23
|
-
}, {
|
|
24
|
-
$deprecated?: boolean;
|
|
25
|
-
}>> & string;
|
|
26
|
-
export declare const Conjunction: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
27
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
28
|
-
}> & string;
|
|
29
|
-
export declare const ScopeInline: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
30
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
31
|
-
}> & string;
|
|
32
|
-
export declare const ModalBackground: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
33
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
34
|
-
}> & string;
|
|
35
|
-
export declare const ModalWrapper: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
36
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
37
|
-
}> & string;
|
|
38
|
-
export declare const CloseButton: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("@redocly/theme").ButtonProps, keyof import("@redocly/theme").ButtonProps> & import("@redocly/theme").ButtonProps, never> & Partial<Pick<import("styled-components").FastOmit<import("@redocly/theme").ButtonProps, keyof import("@redocly/theme").ButtonProps> & import("@redocly/theme").ButtonProps, never>>, "as" | "forwardedAs"> & {
|
|
39
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
40
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
41
|
-
}, "style"> & {
|
|
42
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
43
|
-
}> & string;
|
|
44
|
-
export declare const ModalTitle: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>> & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, "data-component-name"> & {
|
|
45
|
-
'data-component-name': string;
|
|
46
|
-
}, keyof import("@redocly/theme").TypographyProps> & import("@redocly/theme").TypographyProps, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "children" | "className" | "color" | "content" | "contentEditable" | "contextMenu" | "dangerouslySetInnerHTML" | "data-component-name" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "draggable" | "enterKeyHint" | "exportparts" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "part" | "popover" | "popoverTarget" | "popoverTargetAction" | "prefix" | "property" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "role" | "security" | "slot" | "spellCheck" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "title" | "translate" | "typeof" | "unselectable" | "vocab"> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>> & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, "data-component-name"> & {
|
|
47
|
-
'data-component-name': string;
|
|
48
|
-
}, keyof import("@redocly/theme").TypographyProps> & import("@redocly/theme").TypographyProps, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "children" | "className" | "color" | "content" | "contentEditable" | "contextMenu" | "dangerouslySetInnerHTML" | "data-component-name" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "draggable" | "enterKeyHint" | "exportparts" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "part" | "popover" | "popoverTarget" | "popoverTargetAction" | "prefix" | "property" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "role" | "security" | "slot" | "spellCheck" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "title" | "translate" | "typeof" | "unselectable" | "vocab">>, "as" | "forwardedAs"> & {
|
|
49
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
50
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
51
|
-
}, "style"> & {
|
|
52
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
53
|
-
}> & string;
|
|
54
|
-
export declare const FlowWrapper: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
55
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
56
|
-
}> & string;
|
|
57
|
-
export declare const FlowTitleWrapper: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
58
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
59
|
-
}> & string;
|
|
60
|
-
export declare const FlowTitle: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "style"> & {
|
|
61
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
62
|
-
}> & string;
|
|
63
|
-
export declare const FlowDescription: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
64
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
65
|
-
}> & string;
|
|
66
|
-
export declare const FlowProperties: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
67
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
68
|
-
}> & string;
|
|
69
|
-
export declare const FlowTypeSection: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
70
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
71
|
-
}> & string;
|
|
72
|
-
export declare const FlowTypeName: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
73
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
74
|
-
}> & string;
|
|
75
|
-
export declare const FlowTypeBody: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
76
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
77
|
-
}> & string;
|
|
78
|
-
export declare const PropertyRow: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
79
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
80
|
-
}> & string;
|
|
81
|
-
export declare const PropertyLabel: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
82
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
83
|
-
}> & string;
|
|
84
|
-
export declare const PropertyValue: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
85
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
86
|
-
}> & string;
|
|
87
|
-
export declare const SchemeLink: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "style"> & {
|
|
88
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
89
|
-
}> & string;
|
|
90
|
-
export declare const ScopesSection: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
91
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
92
|
-
}> & string;
|
|
93
|
-
export declare const ScopesLabel: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
94
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
95
|
-
}> & string;
|
|
96
|
-
export declare const ScopesList: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
97
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
98
|
-
}> & string;
|
|
99
|
-
export declare const ScopeTag: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
100
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
101
|
-
}> & string;
|
|
102
|
-
export declare const OptionalScopesToggle: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
103
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
104
|
-
}> & string;
|
|
105
|
-
export declare const OptionalScopesList: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
106
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
107
|
-
}, {
|
|
108
|
-
$isOpen: boolean;
|
|
109
|
-
}>> & string;
|
|
110
|
-
export declare const OptionalScopesChevron: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
111
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
112
|
-
}, {
|
|
113
|
-
$isOpen: boolean;
|
|
114
|
-
}>> & string;
|
|
115
|
-
export declare const Tag: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
116
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
117
|
-
}> & string;
|
|
118
|
-
export declare const FlowTypeTag: import("styled-components/dist/types.js").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
119
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | undefined;
|
|
120
|
-
}, "as" | "forwardedAs"> & {
|
|
121
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
122
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
123
|
-
}, "style"> & {
|
|
124
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types.js").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
125
|
-
[key: `--${string}`]: string | number | undefined;
|
|
126
|
-
}) | undefined;
|
|
127
|
-
}> & string;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { ItemBadge } from '@redocly/config';
|
|
2
|
-
import type { ApiItem } from '../../types/store.js';
|
|
3
|
-
import type { TFunction } from '../../hooks/useTranslate.js';
|
|
4
|
-
export type MenuItemState = {
|
|
5
|
-
type?: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
link?: string;
|
|
8
|
-
httpVerb?: string;
|
|
9
|
-
isAdditionalOperation?: boolean;
|
|
10
|
-
badges?: ItemBadge[];
|
|
11
|
-
active: boolean;
|
|
12
|
-
hasActiveSubItem: boolean;
|
|
13
|
-
deprecated?: boolean;
|
|
14
|
-
items: MenuItemState[];
|
|
15
|
-
modified?: boolean;
|
|
16
|
-
variant?: 'primary' | 'secondary';
|
|
17
|
-
separatorLine?: boolean;
|
|
18
|
-
linePosition?: 'top' | 'bottom';
|
|
19
|
-
expanded?: string;
|
|
20
|
-
icon?: string;
|
|
21
|
-
srcSet?: string;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Converts API items into menu item states. The per-item `cache` returns the
|
|
25
|
-
* previous `MenuItemState` reference when nothing changed for that row, so
|
|
26
|
-
* the memoized `MenuItem` in `@redocly/theme` only re-renders rows whose
|
|
27
|
-
* state actually flipped.
|
|
28
|
-
*/
|
|
29
|
-
export declare function buildMenuItems(items: ApiItem[], activePath: string, translate: TFunction, cache: WeakMap<ApiItem, MenuItemState>): MenuItemState[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ApiItem } from '../../types/store.js';
|
|
2
|
-
import type { MenuItemState } from './buildMenuItems.js';
|
|
3
|
-
type UseMenuItemsInput = {
|
|
4
|
-
items: ApiItem[];
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* The active path drives both `active` (highlight) and `hasActiveSubItem`
|
|
8
|
-
* (expansion): `activeScrollSection` (scroll-spy) with a fallback to the route
|
|
9
|
-
* `location.pathname` resolves to. Scroll-spy updates the URL via `history.replaceState`, which
|
|
10
|
-
* react-router doesn't observe — so `pathname` alone would freeze the
|
|
11
|
-
* highlight on the last clicked item while the user scrolls.
|
|
12
|
-
*/
|
|
13
|
-
export declare function useMenuItems({ items }: UseMenuItemsInput): MenuItemState[];
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FloatingButton: () => React.JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
/** Redocly logo for the community edition's sidebar attribution. Hidden until mounted; removed if the CDN image fails to load. */
|
|
3
|
-
export declare function RedoclyAttributionLogo({ full }: {
|
|
4
|
-
full?: boolean;
|
|
5
|
-
}): ReactElement | null;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import { Tag } from '@redocly/theme/components/Tag/Tag';
|
|
3
|
-
export declare const TextBadge: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("@redocly/theme").TagProps, "style"> & {
|
|
4
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
5
|
-
}> & string & Omit<typeof Tag, keyof import("react").Component<any, {}, any>>;
|
|
6
|
-
export declare const StyledBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("@redocly/theme").TagProps, "style"> & {
|
|
7
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
color?: string;
|
|
10
|
-
$deprecated?: boolean;
|
|
11
|
-
$webhook?: boolean;
|
|
12
|
-
}>> & string & Omit<typeof Tag, keyof import("react").Component<any, {}, any>>;
|
|
13
|
-
export declare const NavigationBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("@redocly/theme").TagProps, "style"> & {
|
|
14
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
color?: string;
|
|
17
|
-
$deprecated?: boolean;
|
|
18
|
-
$webhook?: boolean;
|
|
19
|
-
}>, "as" | "forwardedAs"> & {
|
|
20
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
21
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
22
|
-
}, "style"> & {
|
|
23
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
24
|
-
[key: `--${string}`]: string | number | undefined;
|
|
25
|
-
}) | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
$deprecated?: boolean;
|
|
28
|
-
}>> & string;
|
|
29
|
-
export declare function renderPropertyBadge(badge: {
|
|
30
|
-
name: string;
|
|
31
|
-
color?: string;
|
|
32
|
-
}): ReactElement;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
type Breadcrumb = {
|
|
3
|
-
name: string;
|
|
4
|
-
href: string;
|
|
5
|
-
};
|
|
6
|
-
type BreadcrumbsProps = {
|
|
7
|
-
breadcrumbs: Breadcrumb[];
|
|
8
|
-
onClick: (href: string) => void;
|
|
9
|
-
};
|
|
10
|
-
export declare function Breadcrumbs({ breadcrumbs, onClick }: BreadcrumbsProps): ReactElement | null;
|
|
11
|
-
export {};
|