@backstage/ui 0.13.0 → 0.14.0-next.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/CHANGELOG.md +58 -0
- package/dist/components/ButtonIcon/ButtonIcon.module.css.esm.js +2 -2
- package/dist/components/Header/Header.esm.js +3 -13
- package/dist/components/Header/Header.esm.js.map +1 -1
- package/dist/components/Header/HeaderNav.esm.js +163 -0
- package/dist/components/Header/HeaderNav.esm.js.map +1 -0
- package/dist/components/Header/HeaderNav.module.css.esm.js +8 -0
- package/dist/components/Header/HeaderNav.module.css.esm.js.map +1 -0
- package/dist/components/Header/HeaderNavDefinition.esm.js +47 -0
- package/dist/components/Header/HeaderNavDefinition.esm.js.map +1 -0
- package/dist/components/Header/HeaderNavIndicators.esm.js +92 -0
- package/dist/components/Header/HeaderNavIndicators.esm.js.map +1 -0
- package/dist/components/Header/definition.esm.js +1 -0
- package/dist/components/Header/definition.esm.js.map +1 -1
- package/dist/components/Menu/Menu.esm.js +14 -37
- package/dist/components/Menu/Menu.esm.js.map +1 -1
- package/dist/components/Menu/Menu.module.css.esm.js +2 -2
- package/dist/components/Menu/definition.esm.js +0 -2
- package/dist/components/Menu/definition.esm.js.map +1 -1
- package/dist/components/PluginHeader/PluginHeader.esm.js +22 -15
- package/dist/components/PluginHeader/PluginHeader.esm.js.map +1 -1
- package/dist/components/PluginHeader/PluginHeader.module.css.esm.js +2 -2
- package/dist/components/PluginHeader/definition.esm.js +0 -1
- package/dist/components/PluginHeader/definition.esm.js.map +1 -1
- package/dist/components/SearchAutocomplete/SearchAutocomplete.esm.js +1 -1
- package/dist/components/SearchAutocomplete/SearchAutocomplete.esm.js.map +1 -1
- package/dist/components/SearchAutocomplete/SearchAutocomplete.module.css.esm.js +2 -2
- package/dist/components/SearchAutocomplete/definition.esm.js +1 -0
- package/dist/components/SearchAutocomplete/definition.esm.js.map +1 -1
- package/dist/components/Tabs/Tabs.module.css.esm.js +2 -2
- package/dist/index.d.ts +81 -6
- package/dist/index.esm.js +1 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +11 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styleInject from '../../node_modules_dist/style-inject/dist/style-inject.es.esm.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = "/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@layer tokens, base, components, utilities;\n\n@layer components {\n .Tabs_bui-
|
|
4
|
-
var styles = {"bui-Tabs":"Tabs_bui-
|
|
3
|
+
var css_248z = "/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@layer tokens, base, components, utilities;\n\n@layer components {\n .Tabs_bui-Tabs__6ce63266dd {\n /* Initialize CSS variables */\n --active-tab-left: 0px;\n --active-tab-right: 0px;\n --active-tab-top: 0px;\n --active-tab-bottom: 0px;\n --active-tab-width: 0px;\n --active-tab-height: 0px;\n --active-transition-duration: 0s;\n\n --hovered-tab-left: 0px;\n --hovered-tab-right: 0px;\n --hovered-tab-top: 0px;\n --hovered-tab-bottom: 0px;\n --hovered-tab-width: 0px;\n --hovered-tab-height: 0px;\n --hovered-tab-opacity: 0;\n --hovered-transition-duration: 0s;\n }\n\n .Tabs_bui-TabList__6ce63266dd {\n display: flex;\n flex-direction: row;\n }\n\n .Tabs_bui-TabListWrapper__6ce63266dd {\n position: relative;\n }\n\n .Tabs_bui-Tab__6ce63266dd {\n font-size: var(--bui-font-size-3);\n font-family: var(--bui-font-regular);\n font-weight: var(--bui-font-weight-regular);\n color: var(--bui-fg-secondary);\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n position: relative;\n z-index: 2;\n padding-inline: var(--bui-space-2);\n\n &[data-selected='true'] {\n color: var(--bui-fg-primary);\n }\n }\n\n .Tabs_bui-TabActive__6ce63266dd {\n content: '';\n position: absolute;\n left: calc(var(--active-tab-left) + var(--bui-space-2));\n bottom: -1px;\n width: calc(var(--active-tab-width) - var(--bui-space-4));\n height: 1px;\n background-color: var(--bui-fg-primary);\n border-radius: 4px;\n transition: left var(--active-transition-duration) ease-out,\n opacity 0.15s ease-out, width var(--active-transition-duration) ease-out;\n opacity: 1;\n }\n\n .Tabs_bui-TabHovered__6ce63266dd {\n content: '';\n position: absolute;\n left: var(--hovered-tab-left);\n top: calc(var(--hovered-tab-top) + 4px);\n width: var(--hovered-tab-width);\n height: calc(var(--hovered-tab-height) - 8px);\n background-color: var(--bui-bg-neutral-2);\n border-radius: 4px;\n opacity: var(--hovered-tab-opacity);\n transition: left var(--hovered-transition-duration) ease-out,\n top var(--hovered-transition-duration) ease-out,\n width var(--hovered-transition-duration) ease-out,\n height var(--hovered-transition-duration) ease-out, opacity 0.15s ease-out;\n }\n\n .Tabs_bui-TabPanel__6ce63266dd {\n padding-inline: var(--bui-space-2);\n padding-top: var(--bui-space-4);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .Tabs_bui-TabActive__6ce63266dd,\n .Tabs_bui-TabHovered__6ce63266dd {\n transition: none;\n }\n }\n}\n";
|
|
4
|
+
var styles = {"bui-Tabs":"Tabs_bui-Tabs__6ce63266dd","bui-TabList":"Tabs_bui-TabList__6ce63266dd","bui-TabListWrapper":"Tabs_bui-TabListWrapper__6ce63266dd","bui-Tab":"Tabs_bui-Tab__6ce63266dd","bui-TabActive":"Tabs_bui-TabActive__6ce63266dd","bui-TabHovered":"Tabs_bui-TabHovered__6ce63266dd","bui-TabPanel":"Tabs_bui-TabPanel__6ce63266dd"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
7
7
|
export { styles as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -1288,8 +1288,9 @@ declare module 'react-aria-components' {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
1290
|
/**
|
|
1291
|
-
*
|
|
1292
|
-
*
|
|
1291
|
+
* Renders a plugin header with icon, title, custom actions, and optional tabs.
|
|
1292
|
+
* Always participates in the background context system so descendants (e.g. buttons)
|
|
1293
|
+
* get the correct `data-on-bg` styling inside the toolbar and tabs.
|
|
1293
1294
|
*
|
|
1294
1295
|
* @public
|
|
1295
1296
|
*/
|
|
@@ -1306,7 +1307,6 @@ declare const PluginHeaderDefinition: {
|
|
|
1306
1307
|
readonly classNames: {
|
|
1307
1308
|
readonly root: "bui-PluginHeader";
|
|
1308
1309
|
readonly toolbar: "bui-PluginHeaderToolbar";
|
|
1309
|
-
readonly toolbarWrapper: "bui-PluginHeaderToolbarWrapper";
|
|
1310
1310
|
readonly toolbarContent: "bui-PluginHeaderToolbarContent";
|
|
1311
1311
|
readonly toolbarControls: "bui-PluginHeaderToolbarControls";
|
|
1312
1312
|
readonly toolbarIcon: "bui-PluginHeaderToolbarIcon";
|
|
@@ -1324,6 +1324,32 @@ declare const PluginHeaderDefinition: {
|
|
|
1324
1324
|
};
|
|
1325
1325
|
};
|
|
1326
1326
|
|
|
1327
|
+
/**
|
|
1328
|
+
* Represents a single navigation tab in the header.
|
|
1329
|
+
*
|
|
1330
|
+
* @public
|
|
1331
|
+
*/
|
|
1332
|
+
interface HeaderNavTab {
|
|
1333
|
+
id: string;
|
|
1334
|
+
label: string;
|
|
1335
|
+
href: string;
|
|
1336
|
+
}
|
|
1337
|
+
/**
|
|
1338
|
+
* Represents a group of navigation tabs rendered as a dropdown menu.
|
|
1339
|
+
*
|
|
1340
|
+
* @public
|
|
1341
|
+
*/
|
|
1342
|
+
interface HeaderNavTabGroup {
|
|
1343
|
+
id: string;
|
|
1344
|
+
label: string;
|
|
1345
|
+
items: HeaderNavTab[];
|
|
1346
|
+
}
|
|
1347
|
+
/**
|
|
1348
|
+
* A navigation tab item — either a flat link or a dropdown group.
|
|
1349
|
+
*
|
|
1350
|
+
* @public
|
|
1351
|
+
*/
|
|
1352
|
+
type HeaderNavTabItem = HeaderNavTab | HeaderNavTabGroup;
|
|
1327
1353
|
/**
|
|
1328
1354
|
* Own props for the Header component.
|
|
1329
1355
|
*
|
|
@@ -1332,7 +1358,8 @@ declare const PluginHeaderDefinition: {
|
|
|
1332
1358
|
interface HeaderOwnProps {
|
|
1333
1359
|
title?: string;
|
|
1334
1360
|
customActions?: React.ReactNode;
|
|
1335
|
-
tabs?:
|
|
1361
|
+
tabs?: HeaderNavTabItem[];
|
|
1362
|
+
activeTabId?: string;
|
|
1336
1363
|
breadcrumbs?: HeaderBreadcrumb[];
|
|
1337
1364
|
className?: string;
|
|
1338
1365
|
}
|
|
@@ -1399,6 +1426,7 @@ declare const HeaderDefinition: {
|
|
|
1399
1426
|
readonly title: {};
|
|
1400
1427
|
readonly customActions: {};
|
|
1401
1428
|
readonly tabs: {};
|
|
1429
|
+
readonly activeTabId: {};
|
|
1402
1430
|
readonly breadcrumbs: {};
|
|
1403
1431
|
readonly className: {};
|
|
1404
1432
|
};
|
|
@@ -1422,11 +1450,57 @@ declare const HeaderPageDefinition: {
|
|
|
1422
1450
|
readonly title: {};
|
|
1423
1451
|
readonly customActions: {};
|
|
1424
1452
|
readonly tabs: {};
|
|
1453
|
+
readonly activeTabId: {};
|
|
1425
1454
|
readonly breadcrumbs: {};
|
|
1426
1455
|
readonly className: {};
|
|
1427
1456
|
};
|
|
1428
1457
|
};
|
|
1429
1458
|
|
|
1459
|
+
/** @public */
|
|
1460
|
+
declare const HeaderNavDefinition: {
|
|
1461
|
+
readonly styles: {
|
|
1462
|
+
readonly [key: string]: string;
|
|
1463
|
+
};
|
|
1464
|
+
readonly classNames: {
|
|
1465
|
+
readonly root: "bui-HeaderNav";
|
|
1466
|
+
readonly list: "bui-HeaderNavList";
|
|
1467
|
+
readonly active: "bui-HeaderNavActive";
|
|
1468
|
+
readonly hovered: "bui-HeaderNavHovered";
|
|
1469
|
+
};
|
|
1470
|
+
readonly analytics: true;
|
|
1471
|
+
readonly propDefs: {
|
|
1472
|
+
readonly noTrack: {};
|
|
1473
|
+
readonly tabs: {};
|
|
1474
|
+
readonly activeTabId: {};
|
|
1475
|
+
readonly children: {};
|
|
1476
|
+
readonly className: {};
|
|
1477
|
+
};
|
|
1478
|
+
};
|
|
1479
|
+
/** @public */
|
|
1480
|
+
declare const HeaderNavItemDefinition: {
|
|
1481
|
+
readonly styles: {
|
|
1482
|
+
readonly [key: string]: string;
|
|
1483
|
+
};
|
|
1484
|
+
readonly classNames: {
|
|
1485
|
+
readonly root: "bui-HeaderNavItem";
|
|
1486
|
+
};
|
|
1487
|
+
readonly propDefs: {
|
|
1488
|
+
readonly className: {};
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
/** @public */
|
|
1492
|
+
declare const HeaderNavGroupDefinition: {
|
|
1493
|
+
readonly styles: {
|
|
1494
|
+
readonly [key: string]: string;
|
|
1495
|
+
};
|
|
1496
|
+
readonly classNames: {
|
|
1497
|
+
readonly root: "bui-HeaderNavGroup";
|
|
1498
|
+
};
|
|
1499
|
+
readonly propDefs: {
|
|
1500
|
+
readonly className: {};
|
|
1501
|
+
};
|
|
1502
|
+
};
|
|
1503
|
+
|
|
1430
1504
|
/** @public */
|
|
1431
1505
|
type ButtonIconOwnProps = {
|
|
1432
1506
|
size?: Responsive<'small' | 'medium'>;
|
|
@@ -2627,6 +2701,7 @@ declare const SearchAutocompleteDefinition: {
|
|
|
2627
2701
|
readonly styles: {
|
|
2628
2702
|
readonly [key: string]: string;
|
|
2629
2703
|
};
|
|
2704
|
+
readonly bg: "consumer";
|
|
2630
2705
|
readonly classNames: {
|
|
2631
2706
|
readonly root: "bui-SearchAutocomplete";
|
|
2632
2707
|
readonly searchField: "bui-SearchAutocompleteSearchField";
|
|
@@ -3299,5 +3374,5 @@ declare function useAnalytics(): AnalyticsTracker;
|
|
|
3299
3374
|
*/
|
|
3300
3375
|
declare function getNodeText(node: ReactNode | ((...args: any[]) => ReactNode)): string | undefined;
|
|
3301
3376
|
|
|
3302
|
-
export { Accordion, AccordionDefinition, AccordionGroup, AccordionGroupDefinition, AccordionPanel, AccordionPanelDefinition, AccordionTrigger, AccordionTriggerDefinition, Alert, AlertDefinition, Avatar, AvatarDefinition, BUIProvider, BgProvider, Box, BoxDefinition, Button, ButtonDefinition, ButtonIcon, ButtonIconDefinition, ButtonLink, ButtonLinkDefinition, Card, CardBody, CardBodyDefinition, CardDefinition, CardFooter, CardFooterDefinition, CardHeader, CardHeaderDefinition, Cell, CellProfile, CellText, Checkbox, CheckboxDefinition, Column, Container, ContainerDefinition, Dialog, DialogBody, DialogBodyDefinition, DialogDefinition, DialogFooter, DialogFooterDefinition, DialogHeader, DialogHeaderDefinition, DialogTrigger, FieldLabel, FieldLabelDefinition, Flex, FlexDefinition, FullPage, FullPageDefinition, Grid, GridDefinition, GridItemDefinition, Header, HeaderDefinition, HeaderPage, HeaderPageDefinition, Link, LinkDefinition, List, ListDefinition, ListRow, ListRowDefinition, Menu, MenuAutocomplete, MenuAutocompleteListbox, MenuDefinition, MenuItem, MenuListBox, MenuListBoxItem, MenuSection, MenuSeparator, MenuTrigger, PasswordField, PasswordFieldDefinition, PluginHeader, PluginHeaderDefinition, Popover, PopoverDefinition, Radio, RadioDefinition, RadioGroup, RadioGroupDefinition, Row, SearchAutocomplete, SearchAutocompleteDefinition, SearchAutocompleteItem, SearchField, SearchFieldDefinition, Select, SelectDefinition, Skeleton, SkeletonDefinition, SubmenuTrigger, Switch, SwitchDefinition, Tab, TabList, TabPanel, Table, TableBody, TableDefinition, TableHeader, TablePagination, TablePaginationDefinition, TableRoot, Tabs, TabsDefinition, Tag, TagGroup, TagGroupDefinition, Text, TextDefinition, TextField, TextFieldDefinition, ToggleButton, ToggleButtonDefinition, ToggleButtonGroup, ToggleButtonGroupDefinition, Tooltip, TooltipDefinition, TooltipTrigger, VisuallyHidden, VisuallyHiddenDefinition, getNodeText, useAnalytics, useBgConsumer, useBgProvider, useBreakpoint, useTable };
|
|
3303
|
-
export type { AccordionGroupOwnProps, AccordionGroupProps, AccordionOwnProps, AccordionPanelOwnProps, AccordionPanelProps, AccordionProps, AccordionTriggerOwnProps, AccordionTriggerProps, AlertOwnProps, AlertProps, AlignItems, AnalyticsEventAttributes, AnalyticsTracker, AvatarOwnProps, AvatarProps, BUIProviderProps, BgContextValue, BgProviderProps, Border, BorderRadius, BoxOwnProps, BoxProps, BoxUtilityProps, Breakpoint, ButtonIconOwnProps, ButtonIconProps, ButtonLinkOwnProps, ButtonLinkProps, ButtonOwnProps, ButtonProps, CardBaseProps, CardBodyOwnProps, CardBodyProps, CardButtonVariant, CardFooterOwnProps, CardFooterProps, CardHeaderOwnProps, CardHeaderProps, CardLinkVariant, CardOwnProps, CardProps, CardStaticVariant, CellOwnProps, CellProfileOwnProps, CellProfileProps, CellProps, CellTextOwnProps, CellTextProps, CheckboxOwnProps, CheckboxProps, ColumnConfig, ColumnOwnProps, ColumnProps, Columns, ContainerBg, ContainerOwnProps, ContainerProps, CursorParams, CursorResponse, DialogBodyOwnProps, DialogBodyProps, DialogFooterOwnProps, DialogFooterProps, DialogHeaderOwnProps, DialogHeaderProps, DialogOwnProps, DialogProps, DialogTriggerProps, Display, FieldLabelOwnProps, FieldLabelProps, FilterState, FlexDirection, FlexOwnProps, FlexProps, FlexWrap, FullPageOwnProps, FullPageProps, GridItemOwnProps, GridItemProps, GridOwnProps, GridProps, HeaderBreadcrumb, HeaderOwnProps, HeaderPageBreadcrumb, HeaderPageOwnProps, HeaderPageProps, HeaderProps, HeaderTab, JustifyContent, LinkOwnProps, LinkProps, ListOwnProps, ListProps, ListRowOwnProps, ListRowProps, MarginProps, MenuAutocompleteListBoxOwnProps, MenuAutocompleteListBoxProps, MenuAutocompleteOwnProps, MenuAutocompleteProps, MenuItemOwnProps, MenuItemProps, MenuListBoxItemOwnProps, MenuListBoxItemProps, MenuListBoxOwnProps, MenuListBoxProps, MenuOwnProps, MenuPopoverOwnProps, MenuProps, MenuSectionOwnProps, MenuSectionProps, MenuSeparatorOwnProps, MenuSeparatorProps, MenuTriggerProps, NoPagination, OffsetParams, OffsetResponse, Option, PaddingProps, PagePagination, PageSizeOption, PaginationOptions, PasswordFieldOwnProps, PasswordFieldProps, PluginHeaderOwnProps, PluginHeaderProps, PopoverOwnProps, PopoverProps, ProviderBg, QueryOptions, RadioGroupOwnProps, RadioGroupProps, RadioOwnProps, RadioProps, Responsive, RowConfig, RowOwnProps, RowProps, RowRenderFn, SearchAutocompleteItemOwnProps, SearchAutocompleteItemProps, SearchAutocompleteOwnProps, SearchAutocompleteProps, SearchFieldOwnProps, SearchFieldProps, SearchState, SelectOwnProps, SelectProps, SkeletonOwnProps, SkeletonProps, SortDescriptor, SortState, Space, SpaceProps, SubmenuTriggerProps, SwitchOwnProps, SwitchProps, TabListOwnProps, TabListProps, TabMatchStrategy, TabOwnProps, TabPanelOwnProps, TabPanelProps, TabProps, TableBodyOwnProps, TableBodyProps, TableHeaderOwnProps, TableHeaderProps, TableItem, TablePaginationOwnProps, TablePaginationProps, TablePaginationType, TableProps, TableRootOwnProps, TableRootProps, TableSelection, TabsOwnProps, TabsProps, TagGroupOwnProps, TagGroupProps, TagOwnProps, TagProps, TextColorStatus, TextColors, TextFieldOwnProps, TextFieldProps, TextOwnProps, TextProps, TextVariants, TextWeights, ToggleButtonGroupOwnProps, ToggleButtonGroupProps, ToggleButtonOwnProps, ToggleButtonProps, TooltipOwnProps, TooltipProps, UseAnalyticsFn, UseTableCompleteOptions, UseTableCursorOptions, UseTableOffsetOptions, UseTableOptions, UseTableResult, UtilityProps, VirtualizedProp, VisuallyHiddenOwnProps, VisuallyHiddenProps };
|
|
3377
|
+
export { Accordion, AccordionDefinition, AccordionGroup, AccordionGroupDefinition, AccordionPanel, AccordionPanelDefinition, AccordionTrigger, AccordionTriggerDefinition, Alert, AlertDefinition, Avatar, AvatarDefinition, BUIProvider, BgProvider, Box, BoxDefinition, Button, ButtonDefinition, ButtonIcon, ButtonIconDefinition, ButtonLink, ButtonLinkDefinition, Card, CardBody, CardBodyDefinition, CardDefinition, CardFooter, CardFooterDefinition, CardHeader, CardHeaderDefinition, Cell, CellProfile, CellText, Checkbox, CheckboxDefinition, Column, Container, ContainerDefinition, Dialog, DialogBody, DialogBodyDefinition, DialogDefinition, DialogFooter, DialogFooterDefinition, DialogHeader, DialogHeaderDefinition, DialogTrigger, FieldLabel, FieldLabelDefinition, Flex, FlexDefinition, FullPage, FullPageDefinition, Grid, GridDefinition, GridItemDefinition, Header, HeaderDefinition, HeaderNavDefinition, HeaderNavGroupDefinition, HeaderNavItemDefinition, HeaderPage, HeaderPageDefinition, Link, LinkDefinition, List, ListDefinition, ListRow, ListRowDefinition, Menu, MenuAutocomplete, MenuAutocompleteListbox, MenuDefinition, MenuItem, MenuListBox, MenuListBoxItem, MenuSection, MenuSeparator, MenuTrigger, PasswordField, PasswordFieldDefinition, PluginHeader, PluginHeaderDefinition, Popover, PopoverDefinition, Radio, RadioDefinition, RadioGroup, RadioGroupDefinition, Row, SearchAutocomplete, SearchAutocompleteDefinition, SearchAutocompleteItem, SearchField, SearchFieldDefinition, Select, SelectDefinition, Skeleton, SkeletonDefinition, SubmenuTrigger, Switch, SwitchDefinition, Tab, TabList, TabPanel, Table, TableBody, TableDefinition, TableHeader, TablePagination, TablePaginationDefinition, TableRoot, Tabs, TabsDefinition, Tag, TagGroup, TagGroupDefinition, Text, TextDefinition, TextField, TextFieldDefinition, ToggleButton, ToggleButtonDefinition, ToggleButtonGroup, ToggleButtonGroupDefinition, Tooltip, TooltipDefinition, TooltipTrigger, VisuallyHidden, VisuallyHiddenDefinition, getNodeText, useAnalytics, useBgConsumer, useBgProvider, useBreakpoint, useTable };
|
|
3378
|
+
export type { AccordionGroupOwnProps, AccordionGroupProps, AccordionOwnProps, AccordionPanelOwnProps, AccordionPanelProps, AccordionProps, AccordionTriggerOwnProps, AccordionTriggerProps, AlertOwnProps, AlertProps, AlignItems, AnalyticsEventAttributes, AnalyticsTracker, AvatarOwnProps, AvatarProps, BUIProviderProps, BgContextValue, BgProviderProps, Border, BorderRadius, BoxOwnProps, BoxProps, BoxUtilityProps, Breakpoint, ButtonIconOwnProps, ButtonIconProps, ButtonLinkOwnProps, ButtonLinkProps, ButtonOwnProps, ButtonProps, CardBaseProps, CardBodyOwnProps, CardBodyProps, CardButtonVariant, CardFooterOwnProps, CardFooterProps, CardHeaderOwnProps, CardHeaderProps, CardLinkVariant, CardOwnProps, CardProps, CardStaticVariant, CellOwnProps, CellProfileOwnProps, CellProfileProps, CellProps, CellTextOwnProps, CellTextProps, CheckboxOwnProps, CheckboxProps, ColumnConfig, ColumnOwnProps, ColumnProps, Columns, ContainerBg, ContainerOwnProps, ContainerProps, CursorParams, CursorResponse, DialogBodyOwnProps, DialogBodyProps, DialogFooterOwnProps, DialogFooterProps, DialogHeaderOwnProps, DialogHeaderProps, DialogOwnProps, DialogProps, DialogTriggerProps, Display, FieldLabelOwnProps, FieldLabelProps, FilterState, FlexDirection, FlexOwnProps, FlexProps, FlexWrap, FullPageOwnProps, FullPageProps, GridItemOwnProps, GridItemProps, GridOwnProps, GridProps, HeaderBreadcrumb, HeaderNavTab, HeaderNavTabGroup, HeaderNavTabItem, HeaderOwnProps, HeaderPageBreadcrumb, HeaderPageOwnProps, HeaderPageProps, HeaderProps, HeaderTab, JustifyContent, LinkOwnProps, LinkProps, ListOwnProps, ListProps, ListRowOwnProps, ListRowProps, MarginProps, MenuAutocompleteListBoxOwnProps, MenuAutocompleteListBoxProps, MenuAutocompleteOwnProps, MenuAutocompleteProps, MenuItemOwnProps, MenuItemProps, MenuListBoxItemOwnProps, MenuListBoxItemProps, MenuListBoxOwnProps, MenuListBoxProps, MenuOwnProps, MenuPopoverOwnProps, MenuProps, MenuSectionOwnProps, MenuSectionProps, MenuSeparatorOwnProps, MenuSeparatorProps, MenuTriggerProps, NoPagination, OffsetParams, OffsetResponse, Option, PaddingProps, PagePagination, PageSizeOption, PaginationOptions, PasswordFieldOwnProps, PasswordFieldProps, PluginHeaderOwnProps, PluginHeaderProps, PopoverOwnProps, PopoverProps, ProviderBg, QueryOptions, RadioGroupOwnProps, RadioGroupProps, RadioOwnProps, RadioProps, Responsive, RowConfig, RowOwnProps, RowProps, RowRenderFn, SearchAutocompleteItemOwnProps, SearchAutocompleteItemProps, SearchAutocompleteOwnProps, SearchAutocompleteProps, SearchFieldOwnProps, SearchFieldProps, SearchState, SelectOwnProps, SelectProps, SkeletonOwnProps, SkeletonProps, SortDescriptor, SortState, Space, SpaceProps, SubmenuTriggerProps, SwitchOwnProps, SwitchProps, TabListOwnProps, TabListProps, TabMatchStrategy, TabOwnProps, TabPanelOwnProps, TabPanelProps, TabProps, TableBodyOwnProps, TableBodyProps, TableHeaderOwnProps, TableHeaderProps, TableItem, TablePaginationOwnProps, TablePaginationProps, TablePaginationType, TableProps, TableRootOwnProps, TableRootProps, TableSelection, TabsOwnProps, TabsProps, TagGroupOwnProps, TagGroupProps, TagOwnProps, TagProps, TextColorStatus, TextColors, TextFieldOwnProps, TextFieldProps, TextOwnProps, TextProps, TextVariants, TextWeights, ToggleButtonGroupOwnProps, ToggleButtonGroupProps, ToggleButtonOwnProps, ToggleButtonProps, TooltipOwnProps, TooltipProps, UseAnalyticsFn, UseTableCompleteOptions, UseTableCursorOptions, UseTableOffsetOptions, UseTableOptions, UseTableResult, UtilityProps, VirtualizedProp, VisuallyHiddenOwnProps, VisuallyHiddenProps };
|
package/dist/index.esm.js
CHANGED
|
@@ -26,6 +26,7 @@ export { PluginHeader } from './components/PluginHeader/PluginHeader.esm.js';
|
|
|
26
26
|
export { PluginHeaderDefinition } from './components/PluginHeader/definition.esm.js';
|
|
27
27
|
export { Header, HeaderPage } from './components/Header/Header.esm.js';
|
|
28
28
|
export { HeaderDefinition, HeaderPageDefinition } from './components/Header/definition.esm.js';
|
|
29
|
+
export { HeaderNavDefinition, HeaderNavGroupDefinition, HeaderNavItemDefinition } from './components/Header/HeaderNavDefinition.esm.js';
|
|
29
30
|
export { ButtonIcon } from './components/ButtonIcon/ButtonIcon.esm.js';
|
|
30
31
|
export { ButtonIconDefinition } from './components/ButtonIcon/definition.esm.js';
|
|
31
32
|
export { ButtonLink } from './components/ButtonLink/ButtonLink.esm.js';
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0-next.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "web-library"
|
|
6
6
|
},
|
|
@@ -50,15 +50,20 @@
|
|
|
50
50
|
"test": "backstage-cli package test"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@backstage/version-bridge": "
|
|
53
|
+
"@backstage/version-bridge": "1.0.12",
|
|
54
|
+
"@react-aria/interactions": "^3.27.1",
|
|
55
|
+
"@react-stately/layout": "^4.6.0",
|
|
56
|
+
"@react-stately/overlays": "^3.6.23",
|
|
54
57
|
"@remixicon/react": "^4.6.0",
|
|
55
58
|
"@tanstack/react-table": "^8.21.3",
|
|
56
59
|
"clsx": "^2.1.1",
|
|
60
|
+
"react-aria": "^3.47.0",
|
|
57
61
|
"react-aria-components": "^1.14.0",
|
|
62
|
+
"react-stately": "^3.45.0",
|
|
58
63
|
"use-sync-external-store": "^1.4.0"
|
|
59
64
|
},
|
|
60
65
|
"devDependencies": {
|
|
61
|
-
"@backstage/cli": "
|
|
66
|
+
"@backstage/cli": "0.36.1-next.0",
|
|
62
67
|
"@types/react": "^18.0.0",
|
|
63
68
|
"@types/react-dom": "^18.0.0",
|
|
64
69
|
"@types/use-sync-external-store": "^0.0.6",
|
|
@@ -71,9 +76,9 @@
|
|
|
71
76
|
"storybook": "^10.3.0-alpha.1"
|
|
72
77
|
},
|
|
73
78
|
"peerDependencies": {
|
|
74
|
-
"@types/react": "^
|
|
75
|
-
"react": "^
|
|
76
|
-
"react-dom": "^
|
|
79
|
+
"@types/react": "^18.0.0",
|
|
80
|
+
"react": "^18.0.0",
|
|
81
|
+
"react-dom": "^18.0.0",
|
|
77
82
|
"react-router-dom": "^6.30.2"
|
|
78
83
|
},
|
|
79
84
|
"peerDependenciesMeta": {
|