Icons: unfork react-inlinesvg (#33607)

This commit is contained in:
Leon Sorokin 2021-05-02 13:43:18 -05:00 committed by GitHub
parent 5bf76ce881
commit 1e0c6040c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View File

@ -212,7 +212,6 @@
"@emotion/react": "11.1.5",
"@grafana/aws-sdk": "0.0.3",
"@grafana/slate-react": "0.22.9-grafana",
"@leeoniya/react-inlinesvg": "2.2.4",
"@popperjs/core": "2.5.4",
"@reduxjs/toolkit": "1.5.0",
"@sentry/browser": "5.25.0",
@ -279,6 +278,7 @@
"react-dom": "17.0.1",
"react-grid-layout": "1.2.0",
"react-highlight-words": "0.16.0",
"react-inlinesvg": "2.3.0",
"react-loadable": "5.5.0",
"react-popper": "2.2.4",
"react-redux": "7.2.0",

View File

@ -4,7 +4,7 @@ import { GrafanaTheme } from '@grafana/data';
import { stylesFactory } from '../../themes/stylesFactory';
import { useTheme } from '../../themes/ThemeContext';
import { IconName, IconType, IconSize } from '../../types/icon';
import SVG from '@leeoniya/react-inlinesvg';
import SVG from 'react-inlinesvg';
import { cacheInitialized, initIconCache, iconRoot } from './iconBundle';
const alwaysMonoIcons: IconName[] = ['grafana', 'favorite', 'heart-break', 'heart', 'panel-add', 'reusable-panel'];

View File

@ -1,7 +1,7 @@
// This file was autogenerated from
// https://github.com/grafana/icons
import { cacheStore } from '@leeoniya/react-inlinesvg';
import { cacheStore } from 'react-inlinesvg';
export let cacheInitialized = false;
export let iconRoot = 'public/img/icons';

View File

@ -2893,14 +2893,6 @@
"@types/yargs" "^15.0.0"
chalk "^4.0.0"
"@leeoniya/react-inlinesvg@2.2.4":
version "2.2.4"
resolved "https://registry.yarnpkg.com/@leeoniya/react-inlinesvg/-/react-inlinesvg-2.2.4.tgz#b1f226136945fc692ea37f5a889e6545c9334336"
integrity sha512-6zaOOjYjrTC/D6tQKIPmoh+T+8d7h2kCZYbbSjEYt2Sz0OtPZw44v+MKVXiRHVYrlODgT1viJbrUmrSH0k7wOA==
dependencies:
exenv "^1.2.2"
react-from-dom "^0.6.0"
"@lerna/add@3.21.0":
version "3.21.0"
resolved "https://registry.yarnpkg.com/@lerna/add/-/add-3.21.0.tgz#27007bde71cc7b0a2969ab3c2f0ae41578b4577b"
@ -20792,6 +20784,14 @@ react-immutable-proptypes@^2.1.0:
resolved "https://registry.yarnpkg.com/react-immutable-proptypes/-/react-immutable-proptypes-2.1.0.tgz#023d6f39bb15c97c071e9e60d00d136eac5fa0b4"
integrity sha1-Aj1vObsVyXwHHp5g0A0TbqxfoLQ=
react-inlinesvg@2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/react-inlinesvg/-/react-inlinesvg-2.3.0.tgz#62283c0ce7e9d11d8190ec3e89589102288830fd"
integrity sha512-fEGOdDf4k4bcveArbEpj01pJcH8pOCKLxmSj2POFdGvEk5YK0NZVnH6BXpW/PzACHPRsuh1YKAhNZyFnD28oxg==
dependencies:
exenv "^1.2.2"
react-from-dom "^0.6.0"
react-input-autosize@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/react-input-autosize/-/react-input-autosize-3.0.0.tgz#6b5898c790d4478d69420b55441fcc31d5c50a85"