mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
253 lines
No EOL
8.1 KiB
JSON
253 lines
No EOL
8.1 KiB
JSON
{
|
|
"id": "@kbn/react-kibana-context-theme",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.KibanaThemeProvider",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "KibanaThemeProvider",
|
|
"description": [
|
|
"\nA Kibana-specific theme provider that uses the Kibana theme service to customize the EUI theme.\n\nIf the theme provider is missing a parent EuiProvider, one will automatically be rendered instead."
|
|
],
|
|
"signature": [
|
|
"({ theme, children, ...props }: ",
|
|
{
|
|
"pluginId": "@kbn/react-kibana-context-theme",
|
|
"scope": "common",
|
|
"docId": "kibKbnReactKibanaContextThemePluginApi",
|
|
"section": "def-common.KibanaThemeProviderProps",
|
|
"text": "KibanaThemeProviderProps"
|
|
},
|
|
") => JSX.Element"
|
|
],
|
|
"path": "packages/react/kibana_context/theme/theme_provider.tsx",
|
|
"deprecated": false,
|
|
"trackAdoption": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.KibanaThemeProvider.$1",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "__0",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "@kbn/react-kibana-context-theme",
|
|
"scope": "common",
|
|
"docId": "kibKbnReactKibanaContextThemePluginApi",
|
|
"section": "def-common.KibanaThemeProviderProps",
|
|
"text": "KibanaThemeProviderProps"
|
|
}
|
|
],
|
|
"path": "packages/react/kibana_context/theme/theme_provider.tsx",
|
|
"deprecated": false,
|
|
"trackAdoption": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.wrapWithTheme",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "wrapWithTheme",
|
|
"description": [
|
|
"\nA React HOC that wraps a component with the `KibanaThemeProvider`."
|
|
],
|
|
"signature": [
|
|
"(node: React.ReactNode, theme: ",
|
|
{
|
|
"pluginId": "@kbn/react-kibana-context-common",
|
|
"scope": "common",
|
|
"docId": "kibKbnReactKibanaContextCommonPluginApi",
|
|
"section": "def-common.ThemeServiceStart",
|
|
"text": "ThemeServiceStart"
|
|
},
|
|
") => JSX.Element"
|
|
],
|
|
"path": "packages/react/kibana_context/theme/with_theme.tsx",
|
|
"deprecated": false,
|
|
"trackAdoption": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.wrapWithTheme.$1",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "node",
|
|
"description": [
|
|
"The node to wrap."
|
|
],
|
|
"signature": [
|
|
"React.ReactNode"
|
|
],
|
|
"path": "packages/react/kibana_context/theme/with_theme.tsx",
|
|
"deprecated": false,
|
|
"trackAdoption": false,
|
|
"isRequired": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.wrapWithTheme.$2",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "theme",
|
|
"description": [
|
|
"The `ThemeServiceStart` API."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "@kbn/react-kibana-context-common",
|
|
"scope": "common",
|
|
"docId": "kibKbnReactKibanaContextCommonPluginApi",
|
|
"section": "def-common.ThemeServiceStart",
|
|
"text": "ThemeServiceStart"
|
|
}
|
|
],
|
|
"path": "packages/react/kibana_context/theme/with_theme.tsx",
|
|
"deprecated": false,
|
|
"trackAdoption": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": [],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.KibanaTheme",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "KibanaTheme",
|
|
"description": [
|
|
"\nThe representation of the Kibana theme, (not to be confused with the EUI theme)."
|
|
],
|
|
"path": "packages/react/kibana_context/common/types.ts",
|
|
"deprecated": false,
|
|
"trackAdoption": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.KibanaTheme.darkMode",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "darkMode",
|
|
"description": [
|
|
"is dark mode enabled or not"
|
|
],
|
|
"path": "packages/react/kibana_context/common/types.ts",
|
|
"deprecated": false,
|
|
"trackAdoption": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.KibanaThemeProviderProps",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "KibanaThemeProviderProps",
|
|
"description": [
|
|
"\nProps for the `KibanaThemeProvider`."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "@kbn/react-kibana-context-theme",
|
|
"scope": "common",
|
|
"docId": "kibKbnReactKibanaContextThemePluginApi",
|
|
"section": "def-common.KibanaThemeProviderProps",
|
|
"text": "KibanaThemeProviderProps"
|
|
},
|
|
" extends EuiProps<{}>"
|
|
],
|
|
"path": "packages/react/kibana_context/theme/theme_provider.tsx",
|
|
"deprecated": false,
|
|
"trackAdoption": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.KibanaThemeProviderProps.theme",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "theme",
|
|
"description": [
|
|
"The `ThemeServiceStart` API."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "@kbn/react-kibana-context-common",
|
|
"scope": "common",
|
|
"docId": "kibKbnReactKibanaContextCommonPluginApi",
|
|
"section": "def-common.ThemeServiceStart",
|
|
"text": "ThemeServiceStart"
|
|
}
|
|
],
|
|
"path": "packages/react/kibana_context/theme/theme_provider.tsx",
|
|
"deprecated": false,
|
|
"trackAdoption": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": [
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.defaultTheme",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "defaultTheme",
|
|
"description": [
|
|
"\nThe default `KibanaTheme` for use in Storybook, Jest, or initialization. At\nruntime, the theme should always be provided by the `ThemeService`."
|
|
],
|
|
"path": "packages/react/kibana_context/common/index.ts",
|
|
"deprecated": false,
|
|
"trackAdoption": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/react-kibana-context-theme",
|
|
"id": "def-common.defaultTheme.darkMode",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "darkMode",
|
|
"description": [],
|
|
"signature": [
|
|
"false"
|
|
],
|
|
"path": "packages/react/kibana_context/common/index.ts",
|
|
"deprecated": false,
|
|
"trackAdoption": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
]
|
|
}
|
|
} |