build: use stable octicons

This commit is contained in:
EnixCoda 2020-06-21 10:55:30 +08:00
parent ef5ce21820
commit a6a4acb792
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD
5 changed files with 11 additions and 6 deletions

View file

@ -18,7 +18,7 @@
"dependencies": {
"@primer/components": "^16.0.0",
"@primer/css": "^14.2.0",
"@primer/octicons-v2-react": "^0.0.0-53e900d",
"@primer/octicons-react": "^10.0.0",
"@sentry/browser": "^5.12.1",
"@types/firefox-webext-browser": "^70.0.1",
"@types/history": "^4.7.5",

View file

@ -15,7 +15,7 @@ import {
OctofaceIcon as Octoface,
ReplyIcon as Reply,
XIcon as X,
} from '@primer/octicons-v2-react'
} from '@primer/octicons-react'
import * as React from 'react'
import { cx } from 'utils/cx'

View file

@ -1,5 +1,5 @@
import { TextInput } from '@primer/components'
import { SearchIcon } from '@primer/octicons-v2-react'
import { SearchIcon } from '@primer/octicons-react'
import * as React from 'react'
import { cx } from 'utils/cx'
import { isValidRegexpSource } from 'utils/general'

View file

@ -103,14 +103,14 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
width: 100%;
height: 100%;
display: block;
background-image: url('~@primer/octicons-v2-react/build/svg/clippy-16.svg?inline');
background-image: url('~@primer/octicons-react/build/svg/clippy-16.svg?inline');
background-position: center;
background-repeat: no-repeat;
&.success {
background-image: url('~@primer/octicons-v2-react/build/svg/check-16.svg?inline');
background-image: url('~@primer/octicons-react/build/svg/check-16.svg?inline');
}
&.fail {
background-image: url('~@primer/octicons-v2-react/build/svg/x-16.svg?inline');
background-image: url('~@primer/octicons-react/build/svg/x-16.svg?inline');
}
}
}

View file

@ -1006,6 +1006,11 @@
dependencies:
"@primer/octicons" "^9.1.1"
"@primer/octicons-react@^10.0.0":
version "10.0.0"
resolved "https://registry.yarnpkg.com/@primer/octicons-react/-/octicons-react-10.0.0.tgz#82f0d64b4276778fb51468afac00aa0c420ad230"
integrity sha512-I+m7Srg/Ivo5VuXoKwKCJ6YJya+lr6EVzp/WGnDlwBSpy0m4WfYAmZigt3A0i4JMqgLRFDlK+8AgqT66E9bOOw==
"@primer/octicons-react@^9.2.0":
version "9.2.0"
resolved "https://registry.yarnpkg.com/@primer/octicons-react/-/octicons-react-9.2.0.tgz#76446c36346fef67cbf91c78bd329c8f860c35d5"