chore: 🤖 consume flight icons from npm package

This commit is contained in:
Randall Morey committed 2021-08-25 10:52:20 -04:00
1 parent bdb38a5324
commit 1165d21ef6
114 files changed
+244 -379

No files matched your search

@@ -4,5 +4,5 @@
target="_blank"
rel="noreferrer noopener"
title={{t "actions.get-topic-help"}}>
<Rose::Icon @name="flight/help-16" @size={{@iconSize}} />
<Rose::Icon @name="flight-icons/help-16" @size={{@iconSize}} />
</a>
@@ -28,11 +28,11 @@ export default class ErrorMessageComponent extends MessageComponent {
get icon() {
switch (this.args.status) {
case '404':
return 'flight/help-16';
return 'flight-icons/help-16';
case '401':
case '403':
default:
return 'flight/alert-circle-16';
return 'flight-icons/alert-circle-16';
}
}
-2
View File
@@ -16,14 +16,12 @@ module.exports = {
*/
includePublic(app) {
const publicPath = path.resolve('public');
const rosePublicPath = path.resolve('../rose/public');
const dummyPublicPath = path.resolve('tests/dummy/public');
app.options.svg = app.options.svg || {};
app.options.svg.paths = app.options.svg.paths || [];
app.options.svg.paths.push(publicPath);
app.options.svg.paths.push(rosePublicPath);
if (this.isDevelopingAddon()) app.options.svg.paths.push(dummyPublicPath);
this.addons.forEach((addon) => {