@backstage/plugin-home 0.8.6-next.1 → 0.8.6-next.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/CHANGELOG.md +17 -0
- package/dist/alpha.d.ts +1 -1
- package/dist/index.d.ts +34 -33
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @backstage/plugin-home
|
|
2
2
|
|
|
3
|
+
## 0.8.6-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/frontend-plugin-api@0.10.0-next.2
|
|
9
|
+
- @backstage/core-app-api@1.16.0-next.0
|
|
10
|
+
- @backstage/plugin-catalog-react@1.16.0-next.2
|
|
11
|
+
- @backstage/core-compat-api@0.4.0-next.2
|
|
12
|
+
- @backstage/core-components@0.16.5-next.1
|
|
13
|
+
- @backstage/catalog-client@1.9.1
|
|
14
|
+
- @backstage/catalog-model@1.7.3
|
|
15
|
+
- @backstage/config@1.3.2
|
|
16
|
+
- @backstage/core-plugin-api@1.10.4
|
|
17
|
+
- @backstage/theme@0.6.4
|
|
18
|
+
- @backstage/plugin-home-react@0.1.24-next.1
|
|
19
|
+
|
|
3
20
|
## 0.8.6-next.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
34
34
|
params: {
|
|
35
35
|
defaultPath: string;
|
|
36
36
|
loader: () => Promise<JSX.Element>;
|
|
37
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef
|
|
37
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
38
38
|
};
|
|
39
39
|
}>;
|
|
40
40
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import * as _backstage_plugin_home_react from '@backstage/plugin-home-react';
|
|
3
2
|
import { createCardExtension as createCardExtension$1, CardExtensionProps as CardExtensionProps$1, CardLayout as CardLayout$1, CardSettings as CardSettings$1, CardConfig as CardConfig$1, ComponentParts as ComponentParts$1, ComponentRenderer as ComponentRenderer$1, RendererProps as RendererProps$1 } from '@backstage/plugin-home-react';
|
|
4
|
-
import * as React from 'react';
|
|
3
|
+
import * as React$1 from 'react';
|
|
5
4
|
import React__default, { ReactNode, ReactElement } from 'react';
|
|
6
5
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
7
6
|
import { StorageApi, IdentityApi, ErrorApi } from '@backstage/core-plugin-api';
|
|
@@ -255,18 +254,20 @@ declare const homePlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
255
254
|
}, {}>;
|
|
256
255
|
/** @public */
|
|
257
256
|
declare const HomepageCompositionRoot: (props: {
|
|
258
|
-
title?: string
|
|
259
|
-
children?: React.ReactNode;
|
|
260
|
-
}) => React.JSX.Element;
|
|
257
|
+
title?: string;
|
|
258
|
+
children?: React$1.ReactNode;
|
|
259
|
+
}) => React$1.JSX.Element;
|
|
261
260
|
/** @public */
|
|
262
261
|
declare const ComponentAccordion: (props: {
|
|
263
|
-
title?: string
|
|
264
|
-
expanded?: boolean
|
|
262
|
+
title?: string;
|
|
263
|
+
expanded?: boolean;
|
|
265
264
|
Content: () => JSX.Element;
|
|
266
|
-
Actions?: (
|
|
267
|
-
Settings?: (
|
|
268
|
-
|
|
269
|
-
|
|
265
|
+
Actions?: () => JSX.Element;
|
|
266
|
+
Settings?: () => JSX.
|
|
267
|
+
/** @public */
|
|
268
|
+
Element;
|
|
269
|
+
ContextProvider?: (props: any) => JSX.Element;
|
|
270
|
+
}) => React$1.JSX.Element;
|
|
270
271
|
/** @public */
|
|
271
272
|
declare const ComponentTabs: (props: {
|
|
272
273
|
title: string;
|
|
@@ -274,19 +275,19 @@ declare const ComponentTabs: (props: {
|
|
|
274
275
|
label: string;
|
|
275
276
|
Component: () => JSX.Element;
|
|
276
277
|
}[];
|
|
277
|
-
}) => React.JSX.Element;
|
|
278
|
+
}) => React$1.JSX.Element;
|
|
278
279
|
/** @public */
|
|
279
280
|
declare const ComponentTab: (props: {
|
|
280
281
|
title: string;
|
|
281
282
|
Content: () => JSX.Element;
|
|
282
|
-
ContextProvider?: (
|
|
283
|
-
}) => React.JSX.Element;
|
|
283
|
+
ContextProvider?: (props: any) => JSX.Element;
|
|
284
|
+
}) => React$1.JSX.Element;
|
|
284
285
|
/**
|
|
285
286
|
* A component to display a playful greeting for the user.
|
|
286
287
|
*
|
|
287
288
|
* @public
|
|
288
289
|
*/
|
|
289
|
-
declare const WelcomeTitle: ({ language }: WelcomeTitleLanguageProps) => React.JSX.Element;
|
|
290
|
+
declare const WelcomeTitle: ({ language }: WelcomeTitleLanguageProps) => React$1.JSX.Element;
|
|
290
291
|
/**
|
|
291
292
|
* A component to display a company logo for the user.
|
|
292
293
|
*
|
|
@@ -294,24 +295,24 @@ declare const WelcomeTitle: ({ language }: WelcomeTitleLanguageProps) => React.J
|
|
|
294
295
|
*/
|
|
295
296
|
declare const HomePageCompanyLogo: (props: {
|
|
296
297
|
logo?: React.ReactNode;
|
|
297
|
-
className?: string
|
|
298
|
-
}) => React.JSX.Element;
|
|
298
|
+
className?: string;
|
|
299
|
+
}) => React$1.JSX.Element;
|
|
299
300
|
/** @public */
|
|
300
301
|
declare const HomePageRandomJoke: (props: _backstage_plugin_home_react.CardExtensionProps<{
|
|
301
|
-
defaultCategory?: "any" | "programming"
|
|
302
|
-
}>) => React.JSX.Element;
|
|
302
|
+
defaultCategory?: "any" | "programming";
|
|
303
|
+
}>) => React$1.JSX.Element;
|
|
303
304
|
/**
|
|
304
305
|
* A component to display a list of tools for the user.
|
|
305
306
|
*
|
|
306
307
|
* @public
|
|
307
308
|
*/
|
|
308
|
-
declare const HomePageToolkit: (props: _backstage_plugin_home_react.CardExtensionProps<ToolkitContentProps>) => React.JSX.Element;
|
|
309
|
+
declare const HomePageToolkit: (props: _backstage_plugin_home_react.CardExtensionProps<ToolkitContentProps>) => React$1.JSX.Element;
|
|
309
310
|
/**
|
|
310
311
|
* A component to display a list of starred entities for the user.
|
|
311
312
|
*
|
|
312
313
|
* @public
|
|
313
314
|
*/
|
|
314
|
-
declare const HomePageStarredEntities: (props: _backstage_plugin_home_react.CardExtensionProps<Partial<StarredEntitiesProps>>) => React.JSX.Element;
|
|
315
|
+
declare const HomePageStarredEntities: (props: _backstage_plugin_home_react.CardExtensionProps<Partial<StarredEntitiesProps>>) => React$1.JSX.Element;
|
|
315
316
|
/**
|
|
316
317
|
* A component to display a configurable list of clocks for various time zones.
|
|
317
318
|
*
|
|
@@ -319,30 +320,30 @@ declare const HomePageStarredEntities: (props: _backstage_plugin_home_react.Card
|
|
|
319
320
|
*/
|
|
320
321
|
declare const HeaderWorldClock: (props: {
|
|
321
322
|
clockConfigs: ClockConfig[];
|
|
322
|
-
customTimeFormat?: Intl.DateTimeFormatOptions
|
|
323
|
-
}) => React.JSX.Element | null;
|
|
323
|
+
customTimeFormat?: Intl.DateTimeFormatOptions;
|
|
324
|
+
}) => React$1.JSX.Element | null;
|
|
324
325
|
/**
|
|
325
326
|
* Display top visited pages for the homepage
|
|
326
327
|
* @public
|
|
327
328
|
*/
|
|
328
|
-
declare const HomePageTopVisited: (props: _backstage_plugin_home_react.CardExtensionProps<Partial<VisitedByTypeProps>>) => React.JSX.Element;
|
|
329
|
+
declare const HomePageTopVisited: (props: _backstage_plugin_home_react.CardExtensionProps<Partial<VisitedByTypeProps>>) => React$1.JSX.Element;
|
|
329
330
|
/**
|
|
330
331
|
* Display recently visited pages for the homepage
|
|
331
332
|
* @public
|
|
332
333
|
*/
|
|
333
|
-
declare const HomePageRecentlyVisited: (props: _backstage_plugin_home_react.CardExtensionProps<Partial<VisitedByTypeProps>>) => React.JSX.Element;
|
|
334
|
+
declare const HomePageRecentlyVisited: (props: _backstage_plugin_home_react.CardExtensionProps<Partial<VisitedByTypeProps>>) => React$1.JSX.Element;
|
|
334
335
|
/**
|
|
335
336
|
* A component to display specific Featured Docs.
|
|
336
337
|
*
|
|
337
338
|
* @public
|
|
338
339
|
*/
|
|
339
|
-
declare const FeaturedDocsCard: (props: _backstage_plugin_home_react.CardExtensionProps<FeaturedDocsCardProps>) => React.JSX.Element;
|
|
340
|
+
declare const FeaturedDocsCard: (props: _backstage_plugin_home_react.CardExtensionProps<FeaturedDocsCardProps>) => React$1.JSX.Element;
|
|
340
341
|
/**
|
|
341
342
|
* A component to display Quick Start information.
|
|
342
343
|
*
|
|
343
344
|
* @public
|
|
344
345
|
*/
|
|
345
|
-
declare const QuickStartCard: (props: _backstage_plugin_home_react.CardExtensionProps<QuickStartCardProps>) => React.JSX.Element;
|
|
346
|
+
declare const QuickStartCard: (props: _backstage_plugin_home_react.CardExtensionProps<QuickStartCardProps>) => React$1.JSX.Element;
|
|
346
347
|
|
|
347
348
|
/**
|
|
348
349
|
* Breakpoint options for <CustomHomepageGridProps/>
|
|
@@ -448,12 +449,12 @@ declare const CustomHomepageGrid: (props: CustomHomepageGridProps) => React__def
|
|
|
448
449
|
*/
|
|
449
450
|
declare const VisitListener: ({ children, toEntityRef, visitName, }: {
|
|
450
451
|
children?: React__default.ReactNode;
|
|
451
|
-
toEntityRef?: (
|
|
452
|
+
toEntityRef?: ({ pathname }: {
|
|
452
453
|
pathname: string;
|
|
453
|
-
}) => string | undefined
|
|
454
|
-
visitName?: (
|
|
454
|
+
}) => string | undefined;
|
|
455
|
+
visitName?: ({ pathname }: {
|
|
455
456
|
pathname: string;
|
|
456
|
-
}) => string
|
|
457
|
+
}) => string;
|
|
457
458
|
}) => JSX.Element;
|
|
458
459
|
|
|
459
460
|
/** @public */
|
|
@@ -514,8 +515,8 @@ type RendererProps = RendererProps$1;
|
|
|
514
515
|
declare const SettingsModal: (props: {
|
|
515
516
|
open: boolean;
|
|
516
517
|
close: Function;
|
|
517
|
-
componentName?: string
|
|
518
|
+
componentName?: string;
|
|
518
519
|
children: JSX.Element;
|
|
519
|
-
}) => React.JSX.Element;
|
|
520
|
+
}) => React$1.JSX.Element;
|
|
520
521
|
|
|
521
522
|
export { type Breakpoint, type CardConfig, type CardExtensionProps, type CardLayout, type CardSettings, type ClockConfig, ComponentAccordion, type ComponentParts, type ComponentRenderer, ComponentTab, ComponentTabs, CustomHomepageGrid, type CustomHomepageGridProps, FeaturedDocsCard, type FeaturedDocsCardProps, HeaderWorldClock, HomePageCompanyLogo, HomePageRandomJoke, HomePageRecentlyVisited, HomePageStarredEntities, HomePageToolkit, HomePageTopVisited, HomepageCompositionRoot, type LayoutConfiguration, type Operators, QuickStartCard, type QuickStartCardProps, type RendererProps, SettingsModal, type StarredEntitiesProps, TemplateBackstageLogo, TemplateBackstageLogoIcon, type Tool, type ToolkitContentProps, type Visit, VisitListener, type VisitedByTypeKind, type VisitedByTypeProps, type VisitsApi, type VisitsApiQueryParams, type VisitsApiSaveParams, VisitsStorageApi, type VisitsStorageApiOptions, VisitsWebStorageApi, type VisitsWebStorageApiOptions, WelcomeTitle, type WelcomeTitleLanguageProps, createCardExtension, homePlugin, isOperator, visitsApiRef };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-home",
|
|
3
|
-
"version": "0.8.6-next.
|
|
3
|
+
"version": "0.8.6-next.2",
|
|
4
4
|
"description": "A Backstage plugin that helps you build a home page",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"types": "./dist/index.d.ts",
|
|
47
47
|
"typesVersions": {
|
|
48
48
|
"*": {
|
|
49
|
-
"
|
|
49
|
+
"*": [
|
|
50
50
|
"dist/index.d.ts"
|
|
51
51
|
],
|
|
52
52
|
"alpha": [
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"@backstage/catalog-client": "1.9.1",
|
|
72
72
|
"@backstage/catalog-model": "1.7.3",
|
|
73
73
|
"@backstage/config": "1.3.2",
|
|
74
|
-
"@backstage/core-app-api": "1.
|
|
75
|
-
"@backstage/core-compat-api": "0.
|
|
76
|
-
"@backstage/core-components": "0.16.5-next.
|
|
74
|
+
"@backstage/core-app-api": "1.16.0-next.0",
|
|
75
|
+
"@backstage/core-compat-api": "0.4.0-next.2",
|
|
76
|
+
"@backstage/core-components": "0.16.5-next.1",
|
|
77
77
|
"@backstage/core-plugin-api": "1.10.4",
|
|
78
|
-
"@backstage/frontend-plugin-api": "0.
|
|
79
|
-
"@backstage/plugin-catalog-react": "1.16.0-next.
|
|
80
|
-
"@backstage/plugin-home-react": "0.1.24-next.
|
|
78
|
+
"@backstage/frontend-plugin-api": "0.10.0-next.2",
|
|
79
|
+
"@backstage/plugin-catalog-react": "1.16.0-next.2",
|
|
80
|
+
"@backstage/plugin-home-react": "0.1.24-next.1",
|
|
81
81
|
"@backstage/theme": "0.6.4",
|
|
82
82
|
"@material-ui/core": "^4.12.2",
|
|
83
83
|
"@material-ui/icons": "^4.9.1",
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
"zod": "^3.22.4"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@backstage/cli": "0.
|
|
98
|
-
"@backstage/dev-utils": "1.1.8-next.
|
|
99
|
-
"@backstage/test-utils": "1.7.
|
|
97
|
+
"@backstage/cli": "0.31.0-next.1",
|
|
98
|
+
"@backstage/dev-utils": "1.1.8-next.2",
|
|
99
|
+
"@backstage/test-utils": "1.7.6-next.0",
|
|
100
100
|
"@testing-library/dom": "^10.0.0",
|
|
101
101
|
"@testing-library/jest-dom": "^6.0.0",
|
|
102
102
|
"@testing-library/react": "^16.0.0",
|