mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-12-06 17:43:39 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e63653cbe1 | ||
|
|
4ca8139f77 | ||
|
|
24caaad7d9 |
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ionicons",
|
||||
"version": "5.5.1",
|
||||
"version": "5.5.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ionicons",
|
||||
"version": "5.5.1",
|
||||
"version": "5.5.2",
|
||||
"description": "Premium icons for Ionic.",
|
||||
"files": [
|
||||
"components/",
|
||||
|
||||
@@ -26,6 +26,18 @@ async function collectionCopy(rootDir: string) {
|
||||
private: true,
|
||||
};
|
||||
await fs.writeFile(cePackageJsonPath, JSON.stringify(cePackageJson, null, 2));
|
||||
|
||||
/**
|
||||
* TODO: Remove this in Ionicons v6.0
|
||||
* Stencil 2 removed the legacy loader,
|
||||
* but that is what Ionicons users were using
|
||||
* to load Ionicons from a CDN. The lines
|
||||
* below will add in a legacy loader for users
|
||||
* to use so there is no breaking change in usage.
|
||||
*/
|
||||
const installLoaderSrc = join(rootDir, 'scripts', 'install-loader.js');
|
||||
const installLoaderDest = join(rootDir, 'dist', 'ionicons.js');
|
||||
await fs.copyFile(installLoaderSrc, installLoaderDest)
|
||||
|
||||
// this is temporary!!!!
|
||||
// removing the `type` from the d.ts export
|
||||
|
||||
@@ -55,7 +55,7 @@ export class Icon {
|
||||
/**
|
||||
* Specifies which icon to use from the built-in set of icons.
|
||||
*/
|
||||
@Prop() name?: string;
|
||||
@Prop({ reflect: true }) name?: string;
|
||||
|
||||
/**
|
||||
* Specifies the exact `src` of an SVG file to use.
|
||||
|
||||
@@ -2,6 +2,7 @@ import { Config } from '@stencil/core';
|
||||
|
||||
export const config: Config = {
|
||||
namespace: 'ionicons',
|
||||
buildEs5: 'prod',
|
||||
outputTargets: [
|
||||
{
|
||||
type: 'dist',
|
||||
|
||||
Reference in New Issue
Block a user