@backstage/core-components 0.16.0 → 0.16.1

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @backstage/core-components
2
2
 
3
+ ## 0.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/theme@0.6.2
9
+ - @backstage/config@1.3.0
10
+ - @backstage/core-plugin-api@1.10.1
11
+ - @backstage/errors@1.2.5
12
+ - @backstage/version-bridge@1.0.10
13
+
3
14
  ## 0.16.0
4
15
 
5
16
  ### Minor Changes
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import * as d3Shape from 'd3-shape';
3
3
  import isFinite from 'lodash/isFinite';
4
4
  import makeStyles from '@material-ui/core/styles/makeStyles';
5
- import { ARROW_MARKER_ID, EDGE_TEST_ID, LABEL_TEST_ID } from './constants.esm.js';
5
+ import { EDGE_TEST_ID, ARROW_MARKER_ID, LABEL_TEST_ID } from './constants.esm.js';
6
6
  import { DefaultLabel } from './DefaultLabel.esm.js';
7
7
 
8
8
  const useStyles = makeStyles(
@@ -1,4 +1,4 @@
1
- import { useState, useCallback } from 'react';
1
+ import { useCallback, useState } from 'react';
2
2
 
3
3
  const STATES_LOCAL_STORAGE_KEY = "core.calloutSeen";
4
4
  function useCalloutStates() {
@@ -1,11 +1,11 @@
1
- import { useAnalytics, useApi, configApiRef, useApp } from '@backstage/core-plugin-api';
1
+ import { useAnalytics, useApp, useApi, configApiRef } from '@backstage/core-plugin-api';
2
2
  import MaterialLink from '@material-ui/core/Link';
3
3
  import { makeStyles } from '@material-ui/core/styles';
4
4
  import Typography from '@material-ui/core/Typography';
5
5
  import classNames from 'classnames';
6
6
  import { trimEnd } from 'lodash';
7
7
  import React__default from 'react';
8
- import { createRoutesFromChildren, Route, Link as Link$1 } from 'react-router-dom';
8
+ import { Link as Link$1, createRoutesFromChildren, Route } from 'react-router-dom';
9
9
  import OpenInNew from '@material-ui/icons/OpenInNew';
10
10
 
11
11
  function isReactRouterBeta() {
@@ -2,7 +2,7 @@ import React__default, { Fragment } from 'react';
2
2
  import { createStyles, withStyles } from '@material-ui/core/styles';
3
3
  import startCase from 'lodash/startCase';
4
4
  import Typography from '@material-ui/core/Typography';
5
- import { MetadataList, MetadataTableItem, MetadataListItem, MetadataTable } from './MetadataTable.esm.js';
5
+ import { MetadataList, MetadataTable, MetadataTableItem, MetadataListItem } from './MetadataTable.esm.js';
6
6
 
7
7
  const listStyle = createStyles({
8
8
  root: {
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ import { LinearProgressProps } from '@material-ui/core/LinearProgress';
12
12
  import { CardHeaderProps } from '@material-ui/core/CardHeader';
13
13
  import { BackstagePalette } from '@backstage/theme';
14
14
  import { TabProps } from '@material-ui/core/Tab';
15
- import { MaterialTableProps, Column, Icons, Options as Options$1 } from '@material-table/core';
15
+ import { Column, MaterialTableProps, Options as Options$1, Icons } from '@material-table/core';
16
16
  import { SparklinesProps, SparklinesLineProps } from 'react-sparklines';
17
17
  import { IconComponent, SignInPageProps, ApiRef, ProfileInfoApi, BackstageIdentityApi, SessionApi, IdentityApi, ProfileInfo, BackstageUserIdentity } from '@backstage/core-plugin-api';
18
18
  import { ListItemTextProps } from '@material-ui/core/ListItemText';
@@ -1,7 +1,7 @@
1
1
  import { useAnalytics, useElementFilter } from '@backstage/core-plugin-api';
2
2
  import Badge from '@material-ui/core/Badge';
3
3
  import Box from '@material-ui/core/Box';
4
- import { makeStyles, styled } from '@material-ui/core/styles';
4
+ import { styled, makeStyles } from '@material-ui/core/styles';
5
5
  import TextField from '@material-ui/core/TextField';
6
6
  import Typography from '@material-ui/core/Typography';
7
7
  import useMediaQuery from '@material-ui/core/useMediaQuery';
@@ -10,7 +10,7 @@ import ArrowDropUpIcon from '@material-ui/icons/ArrowDropUp';
10
10
  import ArrowRightIcon from '@material-ui/icons/ArrowRight';
11
11
  import Search from '@material-ui/icons/Search';
12
12
  import classNames from 'classnames';
13
- import React__default, { forwardRef, useContext, useMemo, useCallback, useState } from 'react';
13
+ import React__default, { forwardRef, useContext, useCallback, useMemo, useState } from 'react';
14
14
  import { useLocation, useResolvedPath, Link, resolvePath } from 'react-router-dom';
15
15
  import { SidebarConfigContext, SidebarItemWithSubmenuContext } from './config.esm.js';
16
16
  import DoubleArrowLeft from './icons/DoubleArrowLeft.esm.js';
@@ -1,7 +1,7 @@
1
1
  import Box from '@material-ui/core/Box';
2
2
  import { makeStyles } from '@material-ui/core/styles';
3
3
  import useMediaQuery from '@material-ui/core/useMediaQuery';
4
- import React__default, { createContext, useContext, useCallback, useState, useRef, useMemo, useEffect } from 'react';
4
+ import React__default, { createContext, useState, useContext, useRef, useMemo, useEffect, useCallback } from 'react';
5
5
  import { SidebarConfigContext } from './config.esm.js';
6
6
  import { LocalStorage } from './localStorage.esm.js';
7
7
  import { SidebarPinStateProvider } from './SidebarPinStateContext.esm.js';
@@ -4,7 +4,7 @@ import Button from '@material-ui/core/Button';
4
4
  import { InfoCard } from '../InfoCard/InfoCard.esm.js';
5
5
  import { GridItem } from './styles.esm.js';
6
6
  import { ProxiedSignInIdentity } from '../ProxiedSignInPage/ProxiedSignInIdentity.esm.js';
7
- import { discoveryApiRef, useApi } from '@backstage/core-plugin-api';
7
+ import { useApi, discoveryApiRef } from '@backstage/core-plugin-api';
8
8
  import { GuestUserIdentity } from './GuestUserIdentity.esm.js';
9
9
  import useLocalStorage from 'react-use/esm/useLocalStorage';
10
10
  import { coreComponentsTranslationRef } from '../../translation.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/core-components",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Core components used by Backstage plugins and apps",
5
5
  "backstage": {
6
6
  "role": "web-library"
@@ -69,7 +69,7 @@
69
69
  "@backstage/config": "^1.3.0",
70
70
  "@backstage/core-plugin-api": "^1.10.1",
71
71
  "@backstage/errors": "^1.2.5",
72
- "@backstage/theme": "^0.6.1",
72
+ "@backstage/theme": "^0.6.2",
73
73
  "@backstage/version-bridge": "^1.0.10",
74
74
  "@date-io/core": "^1.3.13",
75
75
  "@material-table/core": "^3.1.0",
@@ -105,10 +105,10 @@
105
105
  "zod": "^3.22.4"
106
106
  },
107
107
  "devDependencies": {
108
- "@backstage/app-defaults": "^1.5.13",
109
- "@backstage/cli": "^0.29.0",
108
+ "@backstage/app-defaults": "^1.5.14",
109
+ "@backstage/cli": "^0.29.2",
110
110
  "@backstage/core-app-api": "^1.15.2",
111
- "@backstage/test-utils": "^1.7.1",
111
+ "@backstage/test-utils": "^1.7.2",
112
112
  "@testing-library/dom": "^10.0.0",
113
113
  "@testing-library/jest-dom": "^6.0.0",
114
114
  "@testing-library/user-event": "^14.0.0",