Browse Source

change flag-icon-css to flag-icons

pull/15664/head
Barış Can Yılmaz 4 years ago
parent
commit
1fd915b34b
  1. 2
      docs/en/UI/Blazor/Overall.md
  2. 2
      docs/en/UI/Blazor/Theming.md
  3. 2
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/FlagIconCss/FlagIconCssStyleContributor.cs
  4. 6
      npm/packs/flag-icon-css/abp.resourcemapping.js
  5. 6
      npm/packs/flag-icons/abp.resourcemapping.js
  6. 11
      npm/packs/flag-icons/package.json

2
docs/en/UI/Blazor/Overall.md

@ -88,7 +88,7 @@ There are a set of standard libraries that comes pre-installed and supported by
* [Twitter Bootstrap](https://getbootstrap.com/) as the fundamental HTML/CSS framework.
* [Blazorise](https://github.com/stsrki/Blazorise) as a component library that supports the Bootstrap and adds extra components like Data Grid and Tree.
* [FontAwesome](https://fontawesome.com/) as the fundamental CSS font library.
* [Flag Icon](https://github.com/lipis/flag-icon-css) as a library to show flags of countries.
* [Flag Icon](https://github.com/lipis/flag-icons) as a library to show flags of countries.
These libraries are selected as the base libraries and available to the applications and modules.

2
docs/en/UI/Blazor/Theming.md

@ -48,7 +48,7 @@ All the themes must depend on the [Volo.Abp.AspNetCore.Components.Server.Theming
* [Twitter Bootstrap](https://getbootstrap.com/) as the fundamental HTML/CSS framework.
* [Blazorise](https://github.com/stsrki/Blazorise) as a component library that supports the Bootstrap and adds extra components like Data Grid and Tree.
* [FontAwesome](https://fontawesome.com/) as the fundamental CSS font library.
* [Flag Icon](https://github.com/lipis/flag-icon-css) as a library to show flags of countries.
* [Flag Icon](https://github.com/lipis/flag-icons) as a library to show flags of countries.
These libraries are selected as the base libraries and available to the applications and modules.

2
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/FlagIconCss/FlagIconCssStyleContributor.cs

@ -7,6 +7,6 @@ public class FlagIconCssStyleContributor : BundleContributor
{
public override void ConfigureBundle(BundleConfigurationContext context)
{
context.Files.AddIfNotContains("/libs/flag-icon-css/css/flag-icons.min.css");
context.Files.AddIfNotContains("/libs/flag-icons/css/flag-icons.min.css");
}
}

6
npm/packs/flag-icon-css/abp.resourcemapping.js

@ -1,6 +0,0 @@
module.exports = {
mappings: {
"@node_modules/flag-icon-css/css/*": "@libs/flag-icon-css/css",
"@node_modules/flag-icon-css/flags/1x1/*": "@libs/flag-icon-css/flags/1x1"
}
}

6
npm/packs/flag-icons/abp.resourcemapping.js

@ -0,0 +1,6 @@
module.exports = {
mappings: {
"@node_modules/flag-icons/css/*": "@libs/flag-icons/css",
"@node_modules/flag-icons/flags/1x1/*": "@libs/flag-icons/flags/1x1"
}
}

11
npm/packs/flag-icons/package.json

@ -0,0 +1,11 @@
{
"version": "7.0.1",
"name": "@abp/flag-icons",
"publishConfig": {
"access": "public"
},
"dependencies": {
"flag-icons": "6.6.6"
},
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431"
}
Loading…
Cancel
Save