@backstage/core-components 0.7.2 → 0.7.6
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 +65 -0
- package/dist/index.d.ts +124 -39
- package/dist/index.esm.js +621 -179
- package/dist/index.esm.js.map +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,70 @@
|
|
|
1
1
|
# @backstage/core-components
|
|
2
2
|
|
|
3
|
+
## 0.7.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e34f174fc5: Added `<SidebarSubmenu>` and `<SidebarSubmenuItem>` to enable building better sidebars. You can check out the storybook for more inspiration and how to get started.
|
|
8
|
+
|
|
9
|
+
Added two new theme props for styling the sidebar too, `navItem.hoverBackground` and `submenu.background`.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @backstage/theme@0.2.14
|
|
13
|
+
- @backstage/core-plugin-api@0.2.2
|
|
14
|
+
|
|
15
|
+
## 0.7.5
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 157530187a: Pin sidebar by default for easier navigation
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @backstage/errors@0.1.5
|
|
22
|
+
- @backstage/core-plugin-api@0.2.1
|
|
23
|
+
|
|
24
|
+
## 0.7.4
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- 274a4fc633: Add Props Icon for Sidebar Item SidebarSearchField and Settings
|
|
29
|
+
- 682945e233: Changing the `Header` styles to use more theme variables. With this the title `font-size` will not change on resizing the window.
|
|
30
|
+
- 892c1d9202: Update OAuthAdapter to create identity.token from identity.idToken if it does not exist, and prevent overwrites to identity.toke. Update login page commonProvider to prefer .token over .idToken
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
- @backstage/core-plugin-api@0.2.0
|
|
33
|
+
|
|
34
|
+
## 0.7.3
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- c11a37710a: Added a warning variant to `DismissableBanner` component. If you are using a
|
|
39
|
+
custom theme, you will need to add the optional `palette.banner.warning` color,
|
|
40
|
+
otherwise this variant will fall back to the `palette.banner.error` color.
|
|
41
|
+
- 5826c17b7d: Allow for `cellStyle` property on `TableColumn` to be a function as well as `React.CSSProperties` as per the Material UI Table component
|
|
42
|
+
- e0861b92ff: Add new way to override color selection to progress bar/gauge components.
|
|
43
|
+
|
|
44
|
+
`Gauge`, `LinearGauge` and `GaugeCard` all accept a `getColor` prop,
|
|
45
|
+
which is a function of the type:
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
export type GaugePropsGetColor = (args: {
|
|
49
|
+
palette: Palette;
|
|
50
|
+
value: number;
|
|
51
|
+
inverse?: boolean;
|
|
52
|
+
max?: number;
|
|
53
|
+
}) => string;
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Return a standard CSS color string (e.g. "red", "#f02020"), and the gauge will
|
|
57
|
+
be set to that color.
|
|
58
|
+
|
|
59
|
+
If the prop is omitted, the default implementation is unchanged from previous
|
|
60
|
+
versions.
|
|
61
|
+
|
|
62
|
+
- 021986e8a3: fixed route resolving (issue #7741) when user cannot select a tab in any of the tabbed pages (like the Catalog page) if it shares the same initial letters as a preceding tab. (i.e. where tab with a path of /ci is followed by a path of /ci-2, user cannot select /ci-2 as /ci will always be selected first).
|
|
63
|
+
- a39a2105ef: Add Theme Overrides for Sidebar
|
|
64
|
+
- Updated dependencies
|
|
65
|
+
- @backstage/theme@0.2.13
|
|
66
|
+
- @backstage/core-plugin-api@0.1.13
|
|
67
|
+
|
|
3
68
|
## 0.7.2
|
|
4
69
|
|
|
5
70
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { TooltipProps } from '@material-ui/core/Tooltip';
|
|
|
9
9
|
import { TextTruncateProps } from 'react-text-truncate';
|
|
10
10
|
import { LinearProgressProps } from '@material-ui/core/LinearProgress';
|
|
11
11
|
import { CardHeaderProps } from '@material-ui/core/CardHeader';
|
|
12
|
+
import { BackstagePalette, BackstageTheme } from '@backstage/theme';
|
|
12
13
|
import { TabProps as TabProps$1 } from '@material-ui/core/Tab';
|
|
13
14
|
import { Column, MaterialTableProps } from '@material-table/core';
|
|
14
15
|
import { SparklinesProps, SparklinesLineProps } from 'react-sparklines';
|
|
@@ -16,7 +17,6 @@ import { IconComponent, ApiRef, ProfileInfoApi, BackstageIdentityApi, SessionApi
|
|
|
16
17
|
import * as _material_ui_styles from '@material-ui/styles';
|
|
17
18
|
import * as _material_ui_core_styles from '@material-ui/core/styles';
|
|
18
19
|
import { WithStyles, Theme } from '@material-ui/core/styles';
|
|
19
|
-
import { BackstageTheme } from '@backstage/theme';
|
|
20
20
|
import MaterialBreadcrumbs from '@material-ui/core/Breadcrumbs';
|
|
21
21
|
import { Overrides } from '@material-ui/core/styles/overrides';
|
|
22
22
|
import { StyleRules } from '@material-ui/core/styles/withStyles';
|
|
@@ -507,34 +507,34 @@ declare type DismissableBannerClassKey = 'root' | 'topPosition' | 'icon' | 'cont
|
|
|
507
507
|
* @deprecated This type contained a typo, please use DismissableBannerClassKey instead
|
|
508
508
|
*/
|
|
509
509
|
declare type DismissbleBannerClassKey = DismissableBannerClassKey;
|
|
510
|
-
declare type Props$
|
|
511
|
-
variant: 'info' | 'error';
|
|
510
|
+
declare type Props$j = {
|
|
511
|
+
variant: 'info' | 'error' | 'warning';
|
|
512
512
|
message: ReactNode;
|
|
513
513
|
id: string;
|
|
514
514
|
fixed?: boolean;
|
|
515
515
|
};
|
|
516
516
|
/** @public */
|
|
517
|
-
declare const DismissableBanner: (props: Props$
|
|
517
|
+
declare const DismissableBanner: (props: Props$j) => JSX.Element;
|
|
518
518
|
|
|
519
519
|
/** @public */
|
|
520
520
|
declare type EmptyStateClassKey = 'root' | 'action' | 'imageContainer';
|
|
521
|
-
declare type Props$
|
|
521
|
+
declare type Props$i = {
|
|
522
522
|
title: string;
|
|
523
523
|
description?: string | JSX.Element;
|
|
524
524
|
missing: 'field' | 'info' | 'content' | 'data';
|
|
525
525
|
action?: JSX.Element;
|
|
526
526
|
};
|
|
527
527
|
/** @public */
|
|
528
|
-
declare function EmptyState(props: Props$
|
|
528
|
+
declare function EmptyState(props: Props$i): JSX.Element;
|
|
529
529
|
|
|
530
530
|
/** @public */
|
|
531
531
|
declare type EmptyStateImageClassKey = 'generalImg';
|
|
532
532
|
|
|
533
|
-
declare type Props$
|
|
533
|
+
declare type Props$h = {
|
|
534
534
|
annotation: string;
|
|
535
535
|
};
|
|
536
536
|
declare type MissingAnnotationEmptyStateClassKey = 'code';
|
|
537
|
-
declare function MissingAnnotationEmptyState(props: Props$
|
|
537
|
+
declare function MissingAnnotationEmptyState(props: Props$h): JSX.Element;
|
|
538
538
|
|
|
539
539
|
/** @public */
|
|
540
540
|
declare type ErrorPanelClassKey = 'text' | 'divider';
|
|
@@ -562,13 +562,13 @@ declare function ResponseErrorPanel(props: ErrorPanelProps): JSX.Element;
|
|
|
562
562
|
|
|
563
563
|
/** @public */
|
|
564
564
|
declare type FeatureCalloutCircleClassKey = '@keyframes pulsateSlightly' | '@keyframes pulsateAndFade' | 'featureWrapper' | 'backdrop' | 'dot' | 'pulseCircle' | 'text';
|
|
565
|
-
declare type Props$
|
|
565
|
+
declare type Props$g = {
|
|
566
566
|
featureId: string;
|
|
567
567
|
title: string;
|
|
568
568
|
description: string;
|
|
569
569
|
};
|
|
570
570
|
/** @public */
|
|
571
|
-
declare function FeatureCalloutCircular(props: PropsWithChildren<Props$
|
|
571
|
+
declare function FeatureCalloutCircular(props: PropsWithChildren<Props$g>): JSX.Element;
|
|
572
572
|
|
|
573
573
|
declare type IconLinkVerticalProps = {
|
|
574
574
|
color?: 'primary' | 'secondary';
|
|
@@ -584,13 +584,13 @@ declare type IconLinkVerticalClassKey = 'link' | 'disabled' | 'primary' | 'secon
|
|
|
584
584
|
|
|
585
585
|
/** @public */
|
|
586
586
|
declare type HeaderIconLinkRowClassKey = 'links';
|
|
587
|
-
declare type Props$
|
|
587
|
+
declare type Props$f = {
|
|
588
588
|
links: IconLinkVerticalProps[];
|
|
589
589
|
};
|
|
590
590
|
/** @public */
|
|
591
|
-
declare function HeaderIconLinkRow(props: Props$
|
|
591
|
+
declare function HeaderIconLinkRow(props: Props$f): JSX.Element;
|
|
592
592
|
|
|
593
|
-
declare type Props$
|
|
593
|
+
declare type Props$e = {
|
|
594
594
|
scrollStep?: number;
|
|
595
595
|
scrollSpeed?: number;
|
|
596
596
|
minScrollDistance?: number;
|
|
@@ -598,17 +598,17 @@ declare type Props$f = {
|
|
|
598
598
|
/** @public */
|
|
599
599
|
declare type HorizontalScrollGridClassKey = 'root' | 'container' | 'fade' | 'fadeLeft' | 'fadeRight' | 'fadeHidden' | 'button' | 'buttonLeft' | 'buttonRight';
|
|
600
600
|
/** @public */
|
|
601
|
-
declare function HorizontalScrollGrid(props: PropsWithChildren<Props$
|
|
601
|
+
declare function HorizontalScrollGrid(props: PropsWithChildren<Props$e>): JSX.Element;
|
|
602
602
|
|
|
603
|
-
declare type Props$
|
|
603
|
+
declare type Props$d = CSS.Properties & {
|
|
604
604
|
shorthand?: boolean;
|
|
605
605
|
alpha?: boolean;
|
|
606
606
|
};
|
|
607
607
|
declare type LifecycleClassKey = 'alpha' | 'beta';
|
|
608
|
-
declare function Lifecycle(props: Props$
|
|
608
|
+
declare function Lifecycle(props: Props$d): JSX.Element;
|
|
609
609
|
|
|
610
610
|
declare type MarkdownContentClassKey = 'markdown';
|
|
611
|
-
declare type Props$
|
|
611
|
+
declare type Props$c = {
|
|
612
612
|
content: string;
|
|
613
613
|
dialect?: 'gfm' | 'common-mark';
|
|
614
614
|
};
|
|
@@ -618,14 +618,14 @@ declare type Props$d = {
|
|
|
618
618
|
* Renders markdown with the default dialect [gfm - GitHub flavored Markdown](https://github.github.com/gfm/) to backstage theme styled HTML.
|
|
619
619
|
* If you just want to render to plain [CommonMark](https://commonmark.org/), set the dialect to `'common-mark'`
|
|
620
620
|
*/
|
|
621
|
-
declare function MarkdownContent(props: Props$
|
|
621
|
+
declare function MarkdownContent(props: Props$c): JSX.Element;
|
|
622
622
|
|
|
623
623
|
declare type OAuthRequestDialogClassKey = 'dialog' | 'title' | 'contentList' | 'actionButtons';
|
|
624
624
|
declare function OAuthRequestDialog(_props: {}): JSX.Element;
|
|
625
625
|
|
|
626
626
|
declare type LoginRequestListItemClassKey = 'root';
|
|
627
627
|
|
|
628
|
-
declare type Props$
|
|
628
|
+
declare type Props$b = {
|
|
629
629
|
text: TextTruncateProps['text'];
|
|
630
630
|
line?: TextTruncateProps['line'];
|
|
631
631
|
element?: TextTruncateProps['element'];
|
|
@@ -633,7 +633,7 @@ declare type Props$c = {
|
|
|
633
633
|
placement?: TooltipProps['placement'];
|
|
634
634
|
};
|
|
635
635
|
declare type OverflowTooltipClassKey = 'container';
|
|
636
|
-
declare function OverflowTooltip(props: Props$
|
|
636
|
+
declare function OverflowTooltip(props: Props$b): JSX.Element;
|
|
637
637
|
|
|
638
638
|
declare function Progress(props: PropsWithChildren<LinearProgressProps>): JSX.Element;
|
|
639
639
|
|
|
@@ -688,7 +688,7 @@ declare type InfoCardVariants = 'flex' | 'fullHeight' | 'gridItem';
|
|
|
688
688
|
*
|
|
689
689
|
* `<InfoCard variant="gridItem">...</InfoCard>`
|
|
690
690
|
*/
|
|
691
|
-
declare type Props$
|
|
691
|
+
declare type Props$a = {
|
|
692
692
|
title?: ReactNode;
|
|
693
693
|
subheader?: ReactNode;
|
|
694
694
|
divider?: boolean;
|
|
@@ -710,9 +710,32 @@ declare type Props$b = {
|
|
|
710
710
|
titleTypographyProps?: object;
|
|
711
711
|
};
|
|
712
712
|
/** @public */
|
|
713
|
-
declare function InfoCard(props: Props$
|
|
713
|
+
declare function InfoCard(props: Props$a): JSX.Element;
|
|
714
714
|
|
|
715
|
-
|
|
715
|
+
/** @public */
|
|
716
|
+
declare type GaugeClassKey = 'root' | 'overlay' | 'circle' | 'colorUnknown';
|
|
717
|
+
/** @public */
|
|
718
|
+
declare type GaugeProps = {
|
|
719
|
+
value: number;
|
|
720
|
+
fractional?: boolean;
|
|
721
|
+
inverse?: boolean;
|
|
722
|
+
unit?: string;
|
|
723
|
+
max?: number;
|
|
724
|
+
getColor?: GaugePropsGetColor;
|
|
725
|
+
};
|
|
726
|
+
/** @public */
|
|
727
|
+
declare type GaugePropsGetColorOptions = {
|
|
728
|
+
palette: BackstagePalette;
|
|
729
|
+
value: number;
|
|
730
|
+
inverse?: boolean;
|
|
731
|
+
max?: number;
|
|
732
|
+
};
|
|
733
|
+
/** @public */
|
|
734
|
+
declare type GaugePropsGetColor = (args: GaugePropsGetColorOptions) => string;
|
|
735
|
+
/** @public */
|
|
736
|
+
declare function Gauge(props: GaugeProps): JSX.Element;
|
|
737
|
+
|
|
738
|
+
declare type Props$9 = {
|
|
716
739
|
title: string;
|
|
717
740
|
subheader?: string;
|
|
718
741
|
variant?: InfoCardVariants;
|
|
@@ -720,29 +743,19 @@ declare type Props$a = {
|
|
|
720
743
|
progress: number;
|
|
721
744
|
inverse?: boolean;
|
|
722
745
|
deepLink?: BottomLinkProps;
|
|
746
|
+
getColor?: GaugePropsGetColor;
|
|
723
747
|
};
|
|
724
748
|
/** @public */
|
|
725
749
|
declare type GaugeCardClassKey = 'root';
|
|
726
750
|
/** @public */
|
|
727
|
-
declare function GaugeCard(props: Props$
|
|
728
|
-
|
|
729
|
-
/** @public */
|
|
730
|
-
declare type GaugeClassKey = 'root' | 'overlay' | 'circle' | 'colorUnknown';
|
|
731
|
-
declare type Props$9 = {
|
|
732
|
-
value: number;
|
|
733
|
-
fractional?: boolean;
|
|
734
|
-
inverse?: boolean;
|
|
735
|
-
unit?: string;
|
|
736
|
-
max?: number;
|
|
737
|
-
};
|
|
738
|
-
/** @public */
|
|
739
|
-
declare function Gauge(props: Props$9): JSX.Element;
|
|
751
|
+
declare function GaugeCard(props: Props$9): JSX.Element;
|
|
740
752
|
|
|
741
753
|
declare type Props$8 = {
|
|
742
754
|
/**
|
|
743
755
|
* Progress value between 0.0 - 1.0.
|
|
744
756
|
*/
|
|
745
757
|
value: number;
|
|
758
|
+
getColor?: GaugePropsGetColor;
|
|
746
759
|
};
|
|
747
760
|
declare function LinearGauge(props: Props$8): JSX.Element | null;
|
|
748
761
|
|
|
@@ -1212,8 +1225,67 @@ declare type SidebarClassKey = 'root' | 'drawer' | 'drawerOpen';
|
|
|
1212
1225
|
declare type Props$3 = {
|
|
1213
1226
|
openDelayMs?: number;
|
|
1214
1227
|
closeDelayMs?: number;
|
|
1228
|
+
disableExpandOnHover?: boolean;
|
|
1215
1229
|
};
|
|
1216
1230
|
declare function Sidebar(props: PropsWithChildren<Props$3>): JSX.Element;
|
|
1231
|
+
/**
|
|
1232
|
+
* A button which allows you to expand the sidebar when clicked.
|
|
1233
|
+
* Use optionally to replace sidebar's expand-on-hover feature with expand-on-click.
|
|
1234
|
+
*
|
|
1235
|
+
* @public
|
|
1236
|
+
*/
|
|
1237
|
+
declare const SidebarExpandButton: () => JSX.Element | null;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Clickable item displayed when submenu item is clicked.
|
|
1241
|
+
* title: Text content of item
|
|
1242
|
+
* to: Path to navigate to when item is clicked
|
|
1243
|
+
*
|
|
1244
|
+
* @public
|
|
1245
|
+
*/
|
|
1246
|
+
declare type SidebarSubmenuItemDropdownItem = {
|
|
1247
|
+
title: string;
|
|
1248
|
+
to: string;
|
|
1249
|
+
};
|
|
1250
|
+
/**
|
|
1251
|
+
* Holds submenu item content.
|
|
1252
|
+
*
|
|
1253
|
+
* title: Text content of submenu item
|
|
1254
|
+
* to: Path to navigate to when item is clicked
|
|
1255
|
+
* icon: Icon displayed on the left of text content
|
|
1256
|
+
* dropdownItems: Optional array of dropdown items displayed when submenu item is clicked.
|
|
1257
|
+
*
|
|
1258
|
+
* @public
|
|
1259
|
+
*/
|
|
1260
|
+
declare type SidebarSubmenuItemProps = {
|
|
1261
|
+
title: string;
|
|
1262
|
+
to: string;
|
|
1263
|
+
icon: IconComponent;
|
|
1264
|
+
dropdownItems?: SidebarSubmenuItemDropdownItem[];
|
|
1265
|
+
};
|
|
1266
|
+
/**
|
|
1267
|
+
* Item used inside a submenu within the sidebar.
|
|
1268
|
+
*
|
|
1269
|
+
* @public
|
|
1270
|
+
*/
|
|
1271
|
+
declare const SidebarSubmenuItem: (props: SidebarSubmenuItemProps) => JSX.Element;
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* Holds a title for text Header of a sidebar submenu and children
|
|
1275
|
+
* components to be rendered inside SidebarSubmenu
|
|
1276
|
+
*
|
|
1277
|
+
* @public
|
|
1278
|
+
*/
|
|
1279
|
+
declare type SidebarSubmenuProps = {
|
|
1280
|
+
title?: string;
|
|
1281
|
+
children: ReactNode;
|
|
1282
|
+
};
|
|
1283
|
+
/**
|
|
1284
|
+
* Used inside SidebarItem to display an expandable Submenu
|
|
1285
|
+
*
|
|
1286
|
+
* @public
|
|
1287
|
+
*/
|
|
1288
|
+
declare const SidebarSubmenu: ({ title, children, }: PropsWithChildren<SidebarSubmenuProps>) => JSX.Element;
|
|
1217
1289
|
|
|
1218
1290
|
declare type SidebarPageClassKey = 'root';
|
|
1219
1291
|
declare type SidebarPinStateContextType = {
|
|
@@ -1228,21 +1300,33 @@ declare type SidebarItemBaseProps = {
|
|
|
1228
1300
|
icon: IconComponent;
|
|
1229
1301
|
text?: string;
|
|
1230
1302
|
hasNotifications?: boolean;
|
|
1231
|
-
|
|
1303
|
+
disableHighlight?: boolean;
|
|
1232
1304
|
className?: string;
|
|
1233
1305
|
};
|
|
1234
1306
|
declare type SidebarItemButtonProps = SidebarItemBaseProps & {
|
|
1235
1307
|
onClick: (ev: React__default.MouseEvent) => void;
|
|
1308
|
+
children?: ReactNode;
|
|
1236
1309
|
};
|
|
1237
1310
|
declare type SidebarItemLinkProps = SidebarItemBaseProps & {
|
|
1238
1311
|
to: string;
|
|
1239
1312
|
onClick?: (ev: React__default.MouseEvent) => void;
|
|
1240
1313
|
} & NavLinkProps;
|
|
1241
|
-
declare type
|
|
1314
|
+
declare type SidebarItemWithSubmenuProps = SidebarItemBaseProps & {
|
|
1315
|
+
to?: string;
|
|
1316
|
+
onClick?: (ev: React__default.MouseEvent) => void;
|
|
1317
|
+
children: ReactNode;
|
|
1318
|
+
};
|
|
1319
|
+
/**
|
|
1320
|
+
* SidebarItem with 'to' property will be a clickable link.
|
|
1321
|
+
* SidebarItem with 'onClick' property and without 'to' property will be a clickable button.
|
|
1322
|
+
* SidebarItem which wraps a SidebarSubmenu will be a clickable button which opens a submenu.
|
|
1323
|
+
*/
|
|
1324
|
+
declare type SidebarItemProps = SidebarItemLinkProps | SidebarItemButtonProps | SidebarItemWithSubmenuProps;
|
|
1242
1325
|
declare const SidebarItem: React__default.ForwardRefExoticComponent<SidebarItemProps & React__default.RefAttributes<any>>;
|
|
1243
1326
|
declare type SidebarSearchFieldProps = {
|
|
1244
1327
|
onSearch: (input: string) => void;
|
|
1245
1328
|
to?: string;
|
|
1329
|
+
icon?: IconComponent;
|
|
1246
1330
|
};
|
|
1247
1331
|
declare function SidebarSearchField(props: SidebarSearchFieldProps): JSX.Element;
|
|
1248
1332
|
declare const SidebarSpace: React__default.ComponentType<Pick<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "prefix" | "children" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof React__default.ClassAttributes<HTMLDivElement>> & _material_ui_core_styles.StyledComponentProps<"root"> & {
|
|
@@ -1285,6 +1369,7 @@ declare const sidebarConfig: {
|
|
|
1285
1369
|
declare const SIDEBAR_INTRO_LOCAL_STORAGE = "@backstage/core/sidebar-intro-dismissed";
|
|
1286
1370
|
declare type SidebarContextType = {
|
|
1287
1371
|
isOpen: boolean;
|
|
1372
|
+
setOpen: (open: boolean) => void;
|
|
1288
1373
|
};
|
|
1289
1374
|
declare const SidebarContext: React.Context<SidebarContextType>;
|
|
1290
1375
|
|
|
@@ -1420,4 +1505,4 @@ declare type BackstageOverrides = Overrides & {
|
|
|
1420
1505
|
[Name in keyof BackstageComponentsNameToClassKey]?: Partial<StyleRules<BackstageComponentsNameToClassKey[Name]>>;
|
|
1421
1506
|
};
|
|
1422
1507
|
|
|
1423
|
-
export { AlertDisplay, Avatar, AvatarClassKey, AvatarProps, BackstageContentClassKey, BackstageOverrides, BoldHeaderClassKey, BottomLink, BottomLinkClassKey, BottomLinkProps, Breadcrumbs, BreadcrumbsClickableTextClassKey, BreadcrumbsStyledBoxClassKey, BrokenImageIcon, ActualButton as Button, ButtonProps, CardActionsTopRightClassKey, CardTab, CardTabClassKey, CatalogIcon, ChatIcon, ClosedDropdownClassKey, CodeSnippet, CodeSnippetProps, Content, ContentHeader, ContentHeaderClassKey, CopyTextButton, CopyTextButtonProps, CreateButton, CreateButtonProps, CustomProviderClassKey, DashboardIcon, DependencyGraph, DependencyGraphDefaultLabelClassKey, DependencyGraphDefaultNodeClassKey, DependencyGraphEdgeClassKey, DependencyGraphNodeClassKey, DependencyGraphProps, types_d as DependencyGraphTypes, DismissableBanner, DismissableBannerClassKey, DismissbleBannerClassKey, DocsIcon, EmailIcon, EmptyState, EmptyStateClassKey, EmptyStateImageClassKey, ErrorBoundary, ErrorBoundaryProps, ErrorPage, ErrorPageClassKey, ErrorPanel, ErrorPanelClassKey, ErrorPanelProps, FeatureCalloutCircleClassKey, FeatureCalloutCircular, FiltersContainerClassKey, Gauge, GaugeCard, GaugeCardClassKey, GaugeClassKey, GitHubIcon, GroupIcon, Header, HeaderClassKey, HeaderIconLinkRow, HeaderIconLinkRowClassKey, HeaderLabel, HeaderLabelClassKey, HeaderTabs, HeaderTabsClassKey, HelpIcon, HomepageTimer, HorizontalScrollGrid, HorizontalScrollGridClassKey, IconLinkVerticalClassKey, IconLinkVerticalProps, InfoCard, InfoCardClassKey, InfoCardVariants, IntroCard, ItemCard, ItemCardGrid, ItemCardGridClassKey, ItemCardGridProps, ItemCardHeader, ItemCardHeaderClassKey, ItemCardHeaderProps, Lifecycle, LifecycleClassKey, LinearGauge, ActualLink as Link, LinkProps, LoginRequestListItemClassKey, MarkdownContent, MarkdownContentClassKey, MetadataTableCellClassKey, MetadataTableListClassKey, MetadataTableListItemClassKey, MetadataTableTitleCellClassKey, MicDropClassKey, MissingAnnotationEmptyState, MissingAnnotationEmptyStateClassKey, OAuthRequestDialog, OAuthRequestDialogClassKey, OpenedDropdownClassKey, OverflowTooltip, OverflowTooltipClassKey, Page, PageClassKey, PageWithHeader, Progress, ResponseErrorPanel, ResponseErrorPanelClassKey, RoutedTabs, SIDEBAR_INTRO_LOCAL_STORAGE, SelectComponent as Select, SelectClassKey, SelectInputBaseClassKey, Sidebar, SidebarClassKey, SidebarContext, SidebarContextType, SidebarDivider, SidebarIntro, SidebarIntroClassKey, SidebarItem, SidebarItemClassKey, SidebarPage, SidebarPageClassKey, SidebarPinStateContext, SidebarPinStateContextType, SidebarScrollWrapper, SidebarSearchField, SidebarSpace, SidebarSpacer, SignInPage, SignInPageClassKey, SignInProviderConfig, SimpleStepper, SimpleStepperFooterClassKey, SimpleStepperStep, SimpleStepperStepClassKey, StatusAborted, StatusClassKey, StatusError, StatusOK, StatusPending, StatusRunning, StatusWarning, StructuredMetadataTable, StructuredMetadataTableListClassKey, StructuredMetadataTableNestedListClassKey, SubvalueCell, SubvalueCellClassKey, SupportButton, SupportButtonClassKey, SupportConfig, SupportItem, SupportItemLink, Tab, TabBarClassKey, TabIconClassKey, TabbedCard, TabbedCardClassKey, TabbedLayout, Table, TableClassKey, TableColumn, TableFilter, TableFiltersClassKey, TableHeaderClassKey, TableProps, TableState, TableToolbarClassKey, Tabs, TabsClassKey, TrendLine, UserIcon, WarningIcon, WarningPanel, WarningPanelClassKey, sidebarConfig, useQueryParamState, useSupportConfig };
|
|
1508
|
+
export { AlertDisplay, Avatar, AvatarClassKey, AvatarProps, BackstageContentClassKey, BackstageOverrides, BoldHeaderClassKey, BottomLink, BottomLinkClassKey, BottomLinkProps, Breadcrumbs, BreadcrumbsClickableTextClassKey, BreadcrumbsStyledBoxClassKey, BrokenImageIcon, ActualButton as Button, ButtonProps, CardActionsTopRightClassKey, CardTab, CardTabClassKey, CatalogIcon, ChatIcon, ClosedDropdownClassKey, CodeSnippet, CodeSnippetProps, Content, ContentHeader, ContentHeaderClassKey, CopyTextButton, CopyTextButtonProps, CreateButton, CreateButtonProps, CustomProviderClassKey, DashboardIcon, DependencyGraph, DependencyGraphDefaultLabelClassKey, DependencyGraphDefaultNodeClassKey, DependencyGraphEdgeClassKey, DependencyGraphNodeClassKey, DependencyGraphProps, types_d as DependencyGraphTypes, DismissableBanner, DismissableBannerClassKey, DismissbleBannerClassKey, DocsIcon, EmailIcon, EmptyState, EmptyStateClassKey, EmptyStateImageClassKey, ErrorBoundary, ErrorBoundaryProps, ErrorPage, ErrorPageClassKey, ErrorPanel, ErrorPanelClassKey, ErrorPanelProps, FeatureCalloutCircleClassKey, FeatureCalloutCircular, FiltersContainerClassKey, Gauge, GaugeCard, GaugeCardClassKey, GaugeClassKey, GaugeProps, GaugePropsGetColor, GaugePropsGetColorOptions, GitHubIcon, GroupIcon, Header, HeaderClassKey, HeaderIconLinkRow, HeaderIconLinkRowClassKey, HeaderLabel, HeaderLabelClassKey, HeaderTabs, HeaderTabsClassKey, HelpIcon, HomepageTimer, HorizontalScrollGrid, HorizontalScrollGridClassKey, IconLinkVerticalClassKey, IconLinkVerticalProps, InfoCard, InfoCardClassKey, InfoCardVariants, IntroCard, ItemCard, ItemCardGrid, ItemCardGridClassKey, ItemCardGridProps, ItemCardHeader, ItemCardHeaderClassKey, ItemCardHeaderProps, Lifecycle, LifecycleClassKey, LinearGauge, ActualLink as Link, LinkProps, LoginRequestListItemClassKey, MarkdownContent, MarkdownContentClassKey, MetadataTableCellClassKey, MetadataTableListClassKey, MetadataTableListItemClassKey, MetadataTableTitleCellClassKey, MicDropClassKey, MissingAnnotationEmptyState, MissingAnnotationEmptyStateClassKey, OAuthRequestDialog, OAuthRequestDialogClassKey, OpenedDropdownClassKey, OverflowTooltip, OverflowTooltipClassKey, Page, PageClassKey, PageWithHeader, Progress, ResponseErrorPanel, ResponseErrorPanelClassKey, RoutedTabs, SIDEBAR_INTRO_LOCAL_STORAGE, SelectComponent as Select, SelectClassKey, SelectInputBaseClassKey, Sidebar, SidebarClassKey, SidebarContext, SidebarContextType, SidebarDivider, SidebarExpandButton, SidebarIntro, SidebarIntroClassKey, SidebarItem, SidebarItemClassKey, SidebarPage, SidebarPageClassKey, SidebarPinStateContext, SidebarPinStateContextType, SidebarScrollWrapper, SidebarSearchField, SidebarSpace, SidebarSpacer, SidebarSubmenu, SidebarSubmenuItem, SidebarSubmenuItemDropdownItem, SidebarSubmenuItemProps, SidebarSubmenuProps, SignInPage, SignInPageClassKey, SignInProviderConfig, SimpleStepper, SimpleStepperFooterClassKey, SimpleStepperStep, SimpleStepperStepClassKey, StatusAborted, StatusClassKey, StatusError, StatusOK, StatusPending, StatusRunning, StatusWarning, StructuredMetadataTable, StructuredMetadataTableListClassKey, StructuredMetadataTableNestedListClassKey, SubvalueCell, SubvalueCellClassKey, SupportButton, SupportButtonClassKey, SupportConfig, SupportItem, SupportItemLink, Tab, TabBarClassKey, TabIconClassKey, TabbedCard, TabbedCardClassKey, TabbedLayout, Table, TableClassKey, TableColumn, TableFilter, TableFiltersClassKey, TableHeaderClassKey, TableProps, TableState, TableToolbarClassKey, Tabs, TabsClassKey, TrendLine, UserIcon, WarningIcon, WarningPanel, WarningPanelClassKey, sidebarConfig, useQueryParamState, useSupportConfig };
|