Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d898d7170 | ||
|
|
7dd69094d1 | ||
|
|
e79e5cd235 | ||
|
|
86a051ca63 | ||
|
|
28d0338ee0 | ||
|
|
3ec9271e83 | ||
|
|
19dd66469c | ||
|
|
43d61fe909 | ||
|
|
1038a7f682 | ||
|
|
947091adf7 | ||
|
|
728aa746a0 | ||
|
|
32da247bc1 | ||
|
|
f21bb0f097 | ||
|
|
e6a5af1a96 | ||
|
|
36a0c6b103 | ||
|
|
e63653cbe1 | ||
|
|
4ca8139f77 | ||
|
|
24caaad7d9 | ||
|
|
8c2a507fcf | ||
|
|
c76f2a2556 | ||
|
|
0d7f507677 | ||
|
|
b3155d9603 | ||
|
|
9139a01e18 | ||
|
|
0541db0f28 | ||
|
|
200678a619 | ||
|
|
66556ea45c | ||
|
|
b1c23f8dee | ||
|
|
81f2fc1a84 | ||
|
|
1543daa010 | ||
|
|
500d15fec0 | ||
|
|
a30dfb2886 |
@@ -10,11 +10,13 @@ log.txt
|
||||
.idea/
|
||||
.versions/
|
||||
.vscode/
|
||||
components/
|
||||
node_modules/
|
||||
tmp/
|
||||
dist/
|
||||
icons/
|
||||
.DS_Store
|
||||
scripts/*.js
|
||||
!scripts/install-loader.js
|
||||
|
||||
www/
|
||||
@@ -1,13 +1,14 @@
|
||||
{
|
||||
"name": "ionicons",
|
||||
"version": "5.2.3",
|
||||
"version": "6.0.2",
|
||||
"description": "Premium icons for Ionic.",
|
||||
"files": [
|
||||
"components/",
|
||||
"dist/",
|
||||
"icons/"
|
||||
],
|
||||
"module": "dist/index.mjs",
|
||||
"main": "dist/index.js",
|
||||
"main": "./dist/index.cjs.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "dist/types/index.d.ts",
|
||||
"unpkg": "dist/ionicons.js",
|
||||
"collection": "dist/collection/collection-manifest.json",
|
||||
@@ -22,17 +23,20 @@
|
||||
"release": "np --no-2fa",
|
||||
"version": "npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@stencil/core": "~2.16.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@stencil/core": "^1.15.0",
|
||||
"@types/fs-extra": "^9.0.1",
|
||||
"@types/jest": "^26.0.14",
|
||||
"@types/node": "^14.11.5",
|
||||
"@types/fs-extra": "^9.0.6",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/node": "^14.14.22",
|
||||
"@types/svgo": "^1.3.3",
|
||||
"fs-extra": "9.0.1",
|
||||
"jest": "^26.5.2",
|
||||
"jest-cli": "^26.5.2",
|
||||
"np": "^6.5.0",
|
||||
"svgo": "1.3.2"
|
||||
"fs-extra": "^9.1.0",
|
||||
"jest": "^26.6.3",
|
||||
"jest-cli": "^26.6.3",
|
||||
"np": "^7.2.0",
|
||||
"svgo": "1.3.2",
|
||||
"typescript": "^4.1.3"
|
||||
},
|
||||
"keywords": [
|
||||
"icon pack",
|
||||
@@ -67,6 +71,5 @@
|
||||
"license": "MIT",
|
||||
"sideEffects": [
|
||||
"icons/imports/"
|
||||
],
|
||||
"dependencies": {}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Ionicons
|
||||
|
||||
[Ionicons](http://ionicons.com/) is a completely open-source icon set with 1,100+ icons crafted for web, iOS, Android, and desktop apps. Ionicons was built for [Ionic Framework](https://ionicframework.com/), so icons have both Material Design and iOS versions.
|
||||
[Ionicons](http://ionicons.com/) is a completely open-source icon set with 1,300 icons crafted for web, iOS, Android, and desktop apps. Ionicons was built for [Ionic Framework](https://ionicframework.com/), so icons have both Material Design and iOS versions.
|
||||
|
||||
Note: All brand icons are trademarks of their respective owners. The use of these trademarks does not indicate endorsement of the trademark holder by Ionic, nor vice versa.
|
||||
|
||||
@@ -103,7 +103,7 @@ ion-icon {
|
||||
|
||||
## Migrating from v4
|
||||
|
||||
See the [changelog](https://github.com/ionic-team/ionicons/blob/master/CHANGELOG.md#500-2020-01-15) for a list of icon deletions/renames.
|
||||
See the [5.0 release notes](https://github.com/ionic-team/ionicons/releases/tag/5.0.0) for a list of icon deletions/renames.
|
||||
|
||||
## License
|
||||
|
||||
@@ -118,3 +118,4 @@ Ionicons is licensed under the [MIT license](http://opensource.org/licenses/MIT)
|
||||
* [Ionic Forum](https://forum.ionicframework.com/)
|
||||
* [Stencil](https://stenciljs.com/)
|
||||
* [Stencil Worldwide Slack](https://stencil-worldwide.slack.com)
|
||||
* [Capacitor](https://capacitorjs.com/)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import fs from 'fs-extra';
|
||||
import { join, basename } from 'path';
|
||||
import { join } from 'path';
|
||||
import Svgo from 'svgo';
|
||||
|
||||
async function build(rootDir: string) {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import fs from 'fs-extra';
|
||||
import { join } from 'path';
|
||||
|
||||
|
||||
async function collectionCopy(rootDir: string) {
|
||||
// move optimized svgs to correct collection location
|
||||
const optimizedSrc = join(rootDir, 'dist', 'ionicons', 'svg');
|
||||
@@ -11,6 +10,35 @@ async function collectionCopy(rootDir: string) {
|
||||
// we don't to copy the src svgs to collection
|
||||
await fs.remove(join(rootDir, 'dist', 'collection', 'svg'));
|
||||
|
||||
const cePackageDir = join(rootDir, 'components');
|
||||
const cePackageJsonPath = join(cePackageDir, 'package.json');
|
||||
const ceCjsPath = join(cePackageDir, 'index.cjs.js');
|
||||
|
||||
const emptyCjs = `/*empty cjs*/`;
|
||||
await fs.writeFile(ceCjsPath, emptyCjs);
|
||||
|
||||
const cePackageJson = {
|
||||
name: 'ionicons/components',
|
||||
description: 'Ionicons custom element.',
|
||||
main: './index.cjs.js',
|
||||
module: './index.js',
|
||||
types: './index.d.ts',
|
||||
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
|
||||
// to make it easier for users migrating between
|
||||
@@ -23,4 +51,4 @@ async function collectionCopy(rootDir: string) {
|
||||
await fs.writeFile(typesDist, types);
|
||||
}
|
||||
|
||||
collectionCopy(join(__dirname, '..'));
|
||||
collectionCopy(join(__dirname, '..'));
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
|
||||
(function(doc){
|
||||
var scriptElm = doc.scripts[doc.scripts.length - 1];
|
||||
var warn = ['[ionicons] Deprecated script, please remove: ' + scriptElm.outerHTML];
|
||||
|
||||
warn.push('To improve performance it is recommended to set the differential scripts in the head as follows:')
|
||||
|
||||
var parts = scriptElm.src.split('/');
|
||||
parts.pop();
|
||||
parts.push('ionicons');
|
||||
var url = parts.join('/');
|
||||
|
||||
var scriptElm = doc.createElement('script');
|
||||
scriptElm.setAttribute('type', 'module');
|
||||
scriptElm.src = url + '/ionicons.esm.js';
|
||||
warn.push(scriptElm.outerHTML);
|
||||
scriptElm.setAttribute('data-stencil-namespace', 'ionicons');
|
||||
doc.head.appendChild(scriptElm);
|
||||
|
||||
|
||||
scriptElm = doc.createElement('script');
|
||||
scriptElm.setAttribute('nomodule', '');
|
||||
scriptElm.src = url + '/ionicons.js';
|
||||
warn.push(scriptElm.outerHTML);
|
||||
scriptElm.setAttribute('data-stencil-namespace', 'ionicons');
|
||||
doc.head.appendChild(scriptElm)
|
||||
|
||||
console.warn(warn.join('\n'));
|
||||
|
||||
})(document);
|
||||
@@ -7,14 +7,6 @@
|
||||
import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
|
||||
export namespace Components {
|
||||
interface IonIcon {
|
||||
/**
|
||||
* Set the icon to hidden, respectively `true`, to remove it from the accessibility tree.
|
||||
*/
|
||||
"ariaHidden"?: string;
|
||||
/**
|
||||
* Specifies the label to use for accessibility. Defaults to the icon name.
|
||||
*/
|
||||
"ariaLabel"?: string;
|
||||
/**
|
||||
* The color to use for the background of the item.
|
||||
*/
|
||||
@@ -75,14 +67,6 @@ declare global {
|
||||
}
|
||||
declare namespace LocalJSX {
|
||||
interface IonIcon {
|
||||
/**
|
||||
* Set the icon to hidden, respectively `true`, to remove it from the accessibility tree.
|
||||
*/
|
||||
"ariaHidden"?: string;
|
||||
/**
|
||||
* Specifies the label to use for accessibility. Defaults to the icon name.
|
||||
*/
|
||||
"ariaLabel"?: string;
|
||||
/**
|
||||
* The color to use for the background of the item.
|
||||
*/
|
||||
|
||||
@@ -1,20 +1,23 @@
|
||||
import { Build, Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';
|
||||
import { getSvgContent, ioniconContent } from './request';
|
||||
import { getName, getUrl } from './utils';
|
||||
import { getName, getUrl, inheritAttributes } from './utils';
|
||||
|
||||
@Component({
|
||||
tag: 'ion-icon',
|
||||
assetsDir: 'svg',
|
||||
assetsDirs: ['svg'],
|
||||
styleUrl: 'icon.css',
|
||||
shadow: true,
|
||||
})
|
||||
export class Icon {
|
||||
private io?: IntersectionObserver;
|
||||
private iconName: string | null = null;
|
||||
private inheritedAttributes: { [k: string]: any } = {};
|
||||
|
||||
@Element() el!: HTMLElement;
|
||||
|
||||
@State() private svgContent?: string;
|
||||
@State() private isVisible = false;
|
||||
@State() private ariaLabel?: string;
|
||||
|
||||
/**
|
||||
* The mode determines which platform styles to use.
|
||||
@@ -26,16 +29,6 @@ export class Icon {
|
||||
*/
|
||||
@Prop() color?: string;
|
||||
|
||||
/**
|
||||
* Specifies the label to use for accessibility. Defaults to the icon name.
|
||||
*/
|
||||
@Prop({ mutable: true, reflectToAttr: true }) ariaLabel?: string;
|
||||
|
||||
/**
|
||||
* Set the icon to hidden, respectively `true`, to remove it from the accessibility tree.
|
||||
*/
|
||||
@Prop({ reflect: true }) ariaHidden?: string;
|
||||
|
||||
/**
|
||||
* Specifies which icon to use on `ios` mode.
|
||||
*/
|
||||
@@ -54,7 +47,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.
|
||||
@@ -87,6 +80,10 @@ export class Icon {
|
||||
* @default true
|
||||
*/
|
||||
@Prop() sanitize = true;
|
||||
|
||||
componentWillLoad() {
|
||||
this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
// purposely do not return the promise here because loading
|
||||
@@ -125,6 +122,12 @@ export class Icon {
|
||||
cb();
|
||||
}
|
||||
}
|
||||
|
||||
private hasAriaHidden = () => {
|
||||
const { el } = this;
|
||||
|
||||
return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';
|
||||
}
|
||||
|
||||
@Watch('name')
|
||||
@Watch('src')
|
||||
@@ -143,26 +146,36 @@ export class Icon {
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.ariaLabel && this.ariaHidden !== 'true') {
|
||||
const label = getName(this.name, this.icon, this.mode, this.ios, this.md);
|
||||
// user did not provide a label
|
||||
// come up with the label based on the icon name
|
||||
if (label) {
|
||||
this.ariaLabel = label.replace(/\-/g, ' ');
|
||||
}
|
||||
const label = this.iconName = getName(this.name, this.icon, this.mode, this.ios, this.md);
|
||||
|
||||
/**
|
||||
* Come up with a default label
|
||||
* in case user does not provide their own.
|
||||
*/
|
||||
if (label) {
|
||||
this.ariaLabel = label.replace(/\-/g, ' ');
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
const { iconName, ariaLabel, inheritedAttributes } = this;
|
||||
const mode = this.mode || 'md';
|
||||
const flipRtl =
|
||||
this.flipRtl ||
|
||||
(this.ariaLabel &&
|
||||
(this.ariaLabel.indexOf('arrow') > -1 || this.ariaLabel.indexOf('chevron') > -1) &&
|
||||
(iconName &&
|
||||
(iconName.indexOf('arrow') > -1 || iconName.indexOf('chevron') > -1) &&
|
||||
this.flipRtl !== false);
|
||||
|
||||
/**
|
||||
* Only set the aria-label if a) we have generated
|
||||
* one for the icon and if aria-hidden is not set to "true".
|
||||
* If developer wants to set their own aria-label, then
|
||||
* inheritedAttributes down below will override whatever
|
||||
* default label we have set.
|
||||
*/
|
||||
return (
|
||||
<Host
|
||||
aria-label={ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null}
|
||||
role="img"
|
||||
class={{
|
||||
[mode]: true,
|
||||
@@ -170,6 +183,7 @@ export class Icon {
|
||||
[`icon-${this.size}`]: !!this.size,
|
||||
'flip-rtl': !!flipRtl && (this.el.ownerDocument as Document).dir === 'rtl',
|
||||
}}
|
||||
{...inheritedAttributes}
|
||||
>
|
||||
{Build.isBrowser && this.svgContent ? (
|
||||
<div class="icon-inner" innerHTML={this.svgContent}></div>
|
||||
|
||||
@@ -7,21 +7,19 @@
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Attribute | Description | Type | Default |
|
||||
| ------------ | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | -------------- |
|
||||
| `ariaHidden` | `aria-hidden` | Set the icon to hidden, respectively `true`, to remove it from the accessibility tree. | `string \| undefined` | `undefined` |
|
||||
| `ariaLabel` | `aria-label` | Specifies the label to use for accessibility. Defaults to the icon name. | `string \| undefined` | `undefined` |
|
||||
| `color` | `color` | The color to use for the background of the item. | `string \| undefined` | `undefined` |
|
||||
| `flipRtl` | `flip-rtl` | Specifies whether the icon should horizontally flip when `dir` is `"rtl"`. | `boolean \| undefined` | `undefined` |
|
||||
| `icon` | `icon` | A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property. | `any` | `undefined` |
|
||||
| `ios` | `ios` | Specifies which icon to use on `ios` mode. | `string \| undefined` | `undefined` |
|
||||
| `lazy` | `lazy` | If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `false`. | `boolean` | `false` |
|
||||
| `md` | `md` | Specifies which icon to use on `md` mode. | `string \| undefined` | `undefined` |
|
||||
| `mode` | `mode` | The mode determines which platform styles to use. | `string` | `getIonMode()` |
|
||||
| `name` | `name` | Specifies which icon to use from the built-in set of icons. | `string \| undefined` | `undefined` |
|
||||
| `sanitize` | `sanitize` | When set to `false`, SVG content that is HTTP fetched will not be checked if the response SVG content has any `<script>` elements, or any attributes that start with `on`, such as `onclick`. | `boolean` | `true` |
|
||||
| `size` | `size` | The size of the icon. Available options are: `"small"` and `"large"`. | `string \| undefined` | `undefined` |
|
||||
| `src` | `src` | Specifies the exact `src` of an SVG file to use. | `string \| undefined` | `undefined` |
|
||||
| Property | Attribute | Description | Type | Default |
|
||||
| ---------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | -------------- |
|
||||
| `color` | `color` | The color to use for the background of the item. | `string \| undefined` | `undefined` |
|
||||
| `flipRtl` | `flip-rtl` | Specifies whether the icon should horizontally flip when `dir` is `"rtl"`. | `boolean \| undefined` | `undefined` |
|
||||
| `icon` | `icon` | A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property. | `any` | `undefined` |
|
||||
| `ios` | `ios` | Specifies which icon to use on `ios` mode. | `string \| undefined` | `undefined` |
|
||||
| `lazy` | `lazy` | If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `false`. | `boolean` | `false` |
|
||||
| `md` | `md` | Specifies which icon to use on `md` mode. | `string \| undefined` | `undefined` |
|
||||
| `mode` | `mode` | The mode determines which platform styles to use. | `string` | `getIonMode()` |
|
||||
| `name` | `name` | Specifies which icon to use from the built-in set of icons. | `string \| undefined` | `undefined` |
|
||||
| `sanitize` | `sanitize` | When set to `false`, SVG content that is HTTP fetched will not be checked if the response SVG content has any `<script>` elements, or any attributes that start with `on`, such as `onclick`. | `boolean` | `true` |
|
||||
| `size` | `size` | The size of the icon. Available options are: `"small"` and `"large"`. | `string \| undefined` | `undefined` |
|
||||
| `src` | `src` | Specifies the exact `src` of an SVG file to use. | `string \| undefined` | `undefined` |
|
||||
|
||||
|
||||
----------------------------------------------
|
||||
|
||||
@@ -29,4 +29,106 @@ describe('icon', () => {
|
||||
</ion-icon>
|
||||
`);
|
||||
});
|
||||
|
||||
it('renders rtl with aria-hidden', async () => {
|
||||
const { root } = await newSpecPage({
|
||||
components: [Icon],
|
||||
direction: 'rtl',
|
||||
html: `<ion-icon name="chevron-forward" aria-hidden="true"></ion-icon>`,
|
||||
});
|
||||
|
||||
expect(root).toEqualHtml(`
|
||||
<ion-icon class="md flip-rtl" name="chevron-forward" role="img" aria-hidden="true">
|
||||
<mock:shadow-root>
|
||||
<div class="icon-inner"></div>
|
||||
</mock:shadow-root>
|
||||
</ion-icon>
|
||||
`);
|
||||
});
|
||||
|
||||
it('renders default aria-label', async () => {
|
||||
const { root } = await newSpecPage({
|
||||
components: [Icon],
|
||||
html: `<ion-icon name="chevron-forward"></ion-icon>`,
|
||||
});
|
||||
|
||||
expect(root).toEqualHtml(`
|
||||
<ion-icon class="md" name="chevron-forward" role="img" aria-label="chevron forward">
|
||||
<mock:shadow-root>
|
||||
<div class="icon-inner"></div>
|
||||
</mock:shadow-root>
|
||||
</ion-icon>
|
||||
`);
|
||||
});
|
||||
|
||||
it('renders custom aria-label', async () => {
|
||||
const { root } = await newSpecPage({
|
||||
components: [Icon],
|
||||
html: `<ion-icon name="chevron-forward" aria-label="custom label"></ion-icon>`,
|
||||
});
|
||||
|
||||
expect(root).toEqualHtml(`
|
||||
<ion-icon class="md" name="chevron-forward" role="img" aria-label="custom label">
|
||||
<mock:shadow-root>
|
||||
<div class="icon-inner"></div>
|
||||
</mock:shadow-root>
|
||||
</ion-icon>
|
||||
`);
|
||||
});
|
||||
|
||||
it('renders custom label after changing source', async () => {
|
||||
const page = await newSpecPage({
|
||||
components: [Icon],
|
||||
html: `<ion-icon name="chevron-forward" aria-label="custom label"></ion-icon>`,
|
||||
});
|
||||
|
||||
const icon = page.root;
|
||||
|
||||
expect(icon).toEqualHtml(`
|
||||
<ion-icon class="md" name="chevron-forward" role="img" aria-label="custom label">
|
||||
<mock:shadow-root>
|
||||
<div class="icon-inner"></div>
|
||||
</mock:shadow-root>
|
||||
</ion-icon>
|
||||
`);
|
||||
|
||||
icon.name = 'trash';
|
||||
await page.waitForChanges();
|
||||
|
||||
expect(icon).toEqualHtml(`
|
||||
<ion-icon class="md" name="trash" role="img" aria-label="custom label">
|
||||
<mock:shadow-root>
|
||||
<div class="icon-inner"></div>
|
||||
</mock:shadow-root>
|
||||
</ion-icon>
|
||||
`);
|
||||
});
|
||||
|
||||
it('renders default label after changing source', async () => {
|
||||
const page = await newSpecPage({
|
||||
components: [Icon],
|
||||
html: `<ion-icon name="chevron-forward"></ion-icon>`,
|
||||
});
|
||||
|
||||
const icon = page.root;
|
||||
|
||||
expect(icon).toEqualHtml(`
|
||||
<ion-icon class="md" name="chevron-forward" role="img" aria-label="chevron forward">
|
||||
<mock:shadow-root>
|
||||
<div class="icon-inner"></div>
|
||||
</mock:shadow-root>
|
||||
</ion-icon>
|
||||
`);
|
||||
|
||||
icon.name = 'trash';
|
||||
await page.waitForChanges();
|
||||
|
||||
expect(icon).toEqualHtml(`
|
||||
<ion-icon class="md" name="trash" role="img" aria-label="trash">
|
||||
<mock:shadow-root>
|
||||
<div class="icon-inner"></div>
|
||||
</mock:shadow-root>
|
||||
</ion-icon>
|
||||
`);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -7,7 +7,7 @@ describe('isValid', () => {
|
||||
const el = {
|
||||
nodeType: 1,
|
||||
nodeName: 'svg',
|
||||
attributes: [{ value: 'onload' }],
|
||||
attributes: [{ name: 'onload' }],
|
||||
childNodes: []
|
||||
} as any;
|
||||
expect(isValid(el)).toBe(false);
|
||||
@@ -17,7 +17,7 @@ describe('isValid', () => {
|
||||
const el = {
|
||||
nodeType: 1,
|
||||
nodeName: 'svg',
|
||||
attributes: [{ value: 'OnClIcK' }],
|
||||
attributes: [{ name: 'OnClIcK' }],
|
||||
childNodes: []
|
||||
} as any;
|
||||
expect(isValid(el)).toBe(false);
|
||||
|
||||
@@ -113,4 +113,30 @@ export const isSrc = (str: string) => str.length > 0 && /(\/|\.)/.test(str);
|
||||
|
||||
export const isStr = (val: any): val is string => typeof val === 'string';
|
||||
|
||||
export const toLower = (val: string) => val.toLowerCase();
|
||||
export const toLower = (val: string) => val.toLowerCase();
|
||||
|
||||
/**
|
||||
* Elements inside of web components sometimes need to inherit global attributes
|
||||
* set on the host. For example, the inner input in `ion-input` should inherit
|
||||
* the `title` attribute that developers set directly on `ion-input`. This
|
||||
* helper function should be called in componentWillLoad and assigned to a variable
|
||||
* that is later used in the render function.
|
||||
*
|
||||
* This does not need to be reactive as changing attributes on the host element
|
||||
* does not trigger a re-render.
|
||||
*/
|
||||
export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {
|
||||
const attributeObject: { [k: string]: any } = {};
|
||||
|
||||
attributes.forEach(attr => {
|
||||
if (el.hasAttribute(attr)) {
|
||||
const value = el.getAttribute(attr);
|
||||
if (value !== null) {
|
||||
attributeObject[attr] = el.getAttribute(attr);
|
||||
}
|
||||
el.removeAttribute(attr);
|
||||
}
|
||||
});
|
||||
|
||||
return attributeObject;
|
||||
}
|
||||
@@ -34,8 +34,8 @@ export const isValid = (elm: HTMLElement) => {
|
||||
}
|
||||
|
||||
for (let i = 0; i < elm.attributes.length; i++) {
|
||||
const val = elm.attributes[i].value;
|
||||
if (isStr(val) && val.toLowerCase().indexOf('on') === 0) {
|
||||
const name = elm.attributes[i].name;
|
||||
if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -894,6 +894,26 @@
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "balloon",
|
||||
"tags": [
|
||||
"balloon"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "balloon-outline",
|
||||
"tags": [
|
||||
"balloon",
|
||||
"outline"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "balloon-sharp",
|
||||
"tags": [
|
||||
"balloon",
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ban",
|
||||
"tags": [
|
||||
@@ -1441,6 +1461,29 @@
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "bowling-ball",
|
||||
"tags": [
|
||||
"ball",
|
||||
"bowling"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "bowling-ball-outline",
|
||||
"tags": [
|
||||
"ball",
|
||||
"bowling",
|
||||
"outline"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "bowling-ball-sharp",
|
||||
"tags": [
|
||||
"ball",
|
||||
"bowling",
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "briefcase",
|
||||
"tags": [
|
||||
@@ -1706,6 +1749,29 @@
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "calendar-number",
|
||||
"tags": [
|
||||
"calendar",
|
||||
"number"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "calendar-number-outline",
|
||||
"tags": [
|
||||
"calendar",
|
||||
"number",
|
||||
"outline"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "calendar-number-sharp",
|
||||
"tags": [
|
||||
"calendar",
|
||||
"number",
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "calendar-outline",
|
||||
"tags": [
|
||||
@@ -3439,6 +3505,26 @@
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "diamond",
|
||||
"tags": [
|
||||
"diamond"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "diamond-outline",
|
||||
"tags": [
|
||||
"diamond",
|
||||
"outline"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "diamond-sharp",
|
||||
"tags": [
|
||||
"diamond",
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dice",
|
||||
"tags": [
|
||||
@@ -3666,13 +3752,15 @@
|
||||
{
|
||||
"name": "earth",
|
||||
"tags": [
|
||||
"earth"
|
||||
"earth",
|
||||
"globe"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "earth-outline",
|
||||
"tags": [
|
||||
"earth",
|
||||
"globe",
|
||||
"outline"
|
||||
]
|
||||
},
|
||||
@@ -3680,6 +3768,7 @@
|
||||
"name": "earth-sharp",
|
||||
"tags": [
|
||||
"earth",
|
||||
"globe",
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
@@ -4517,6 +4606,26 @@
|
||||
"soccer"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "footsteps",
|
||||
"tags": [
|
||||
"footsteps"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "footsteps-outline",
|
||||
"tags": [
|
||||
"footsteps",
|
||||
"outline"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "footsteps-sharp",
|
||||
"tags": [
|
||||
"footsteps",
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "funnel",
|
||||
"tags": [
|
||||
@@ -5265,6 +5374,29 @@
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "id-card",
|
||||
"tags": [
|
||||
"card",
|
||||
"id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "id-card-outline",
|
||||
"tags": [
|
||||
"card",
|
||||
"id",
|
||||
"outline"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "id-card-sharp",
|
||||
"tags": [
|
||||
"card",
|
||||
"id",
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "image",
|
||||
"tags": [
|
||||
@@ -5871,6 +6003,14 @@
|
||||
"logo"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "logo-apple-ar",
|
||||
"tags": [
|
||||
"apple",
|
||||
"ar",
|
||||
"logo"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "logo-behance",
|
||||
"tags": [
|
||||
@@ -6146,6 +6286,13 @@
|
||||
"medium"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "logo-microsoft",
|
||||
"tags": [
|
||||
"logo",
|
||||
"microsoft"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "logo-no-smoking",
|
||||
"tags": [
|
||||
@@ -8277,6 +8424,26 @@
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "prism",
|
||||
"tags": [
|
||||
"prism"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "prism-outline",
|
||||
"tags": [
|
||||
"outline",
|
||||
"prism"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "prism-sharp",
|
||||
"tags": [
|
||||
"prism",
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pulse",
|
||||
"tags": [
|
||||
@@ -9043,6 +9210,26 @@
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "scale",
|
||||
"tags": [
|
||||
"scale"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "scale-outline",
|
||||
"tags": [
|
||||
"outline",
|
||||
"scale"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "scale-sharp",
|
||||
"tags": [
|
||||
"scale",
|
||||
"sharp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "scan",
|
||||
"tags": [
|
||||
@@ -9322,6 +9509,29 @@
|
||||
"shield"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "shield-half",
|
||||
"tags": [
|
||||
"half",
|
||||
"shield"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "shield-half-outline",
|
||||
"tags": [
|
||||
"half",
|
||||
"outline",
|
||||
"shield"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "shield-half-sharp",
|
||||
"tags": [
|
||||
"half",
|
||||
"sharp",
|
||||
"shield"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "shield-outline",
|
||||
"tags": [
|
||||
@@ -9421,6 +9631,26 @@
|
||||
"snow"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "sparkles",
|
||||
"tags": [
|
||||
"sparkles"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "sparkles-outline",
|
||||
"tags": [
|
||||
"outline",
|
||||
"sparkles"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "sparkles-sharp",
|
||||
"tags": [
|
||||
"sharp",
|
||||
"sparkles"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "speedometer",
|
||||
"tags": [
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M414.11,153.82C429.66,264.4,345.85,357.09,282.54,366s-169.48-57.5-185-167.68a159.82,159.82,0,1,1,316.53-44.49Z" fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="32"/><path d="M236.06,308.05c-32.83-13-67.08-43.1-82.27-85.46" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/><path d="M367.7,495.78c-32.83-13-63.31-40.06-78.5-82.41" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/><polygon points="266.71 368.21 257.54 417.82 320.85 408.92 298.36 363.76 266.71 368.21" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg>
|
||||
|
After Width: | Height: | Size: 745 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M391,307.27c32.75-46.35,46.59-101.63,39-155.68h0C416.47,55.59,327.38-11.54,231.38,2S68.24,104.53,81.73,200.53c7.57,53.89,36.12,103.16,80.37,138.74,26.91,21.64,57.59,36.1,86.05,41.33l-8.36,45.23a8,8,0,0,0,9,9.38L279,431c15.9,35.87,41.65,60.48,78.41,75l14.88,5.88,11.77-29.75-14.88-5.89c-26.35-10.42-44.48-26.16-57-49.92l21.84-3.07a8,8,0,0,0,6.05-11.49l-20.49-41.16C345.56,357.73,371.07,335.42,391,307.27ZM230.18,322.93c-41.26-16.32-76.3-52.7-91.45-94.94l-5.4-15.06,30.12-10.8,5.4,15.06c14.5,40.44,47.27,65.77,73.1,76l14.88,5.88-11.77,29.76Z"/></svg>
|
||||
|
After Width: | Height: | Size: 630 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M391,307.27c32.75-46.35,46.59-101.63,39-155.68A175.82,175.82,0,0,0,231.38,2c-96,13.49-163.14,102.58-149.65,198.58,7.57,53.89,36.12,103.16,80.37,138.74C186.68,359,214.41,372.82,240.72,379a8,8,0,0,1,6,9.22l-4.87,26.38a16.29,16.29,0,0,0,1.48,10.57,16,16,0,0,0,14.2,8.61,15.21,15.21,0,0,0,2.23-.16l17.81-2.5a2,2,0,0,1,2.09,1.14c16.72,36.31,45.46,63.85,82.15,78.36a16,16,0,0,0,21-9.65c2.83-8.18-1.64-17.07-9.68-20.28a118.57,118.57,0,0,1-59.3-51.88,2,2,0,0,1,1.45-3l7.4-1a16.54,16.54,0,0,0,10.08-5.23,16,16,0,0,0,2.39-17.8l-12.06-24.23A8,8,0,0,1,326.35,367C349.94,353.83,372.8,333,391,307.27Zm-154.9,16.78a16,16,0,0,1-5.88-1.12c-41.26-16.32-76.3-52.7-91.45-94.94a16,16,0,1,1,30.12-10.8c14.5,40.44,47.27,65.77,73.1,76a16,16,0,0,1-5.89,30.88Z"/></svg>
|
||||
|
After Width: | Height: | Size: 825 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="208" fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="32"/><circle cx="288" cy="200" r="24"/><circle cx="296" cy="128" r="24"/><circle cx="360" cy="168" r="24"/></svg>
|
||||
|
After Width: | Height: | Size: 283 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M414.39,97.61A224,224,0,1,0,97.61,414.39,224,224,0,1,0,414.39,97.61ZM286,230a28,28,0,1,1,28-28A28,28,0,0,1,286,230Zm8-76a28,28,0,1,1,28-28A28,28,0,0,1,294,154Zm68,44a28,28,0,1,1,28-28A28,28,0,0,1,362,198Z"/></svg>
|
||||
|
After Width: | Height: | Size: 295 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M414.39,97.61A224,224,0,1,0,97.61,414.39,224,224,0,1,0,414.39,97.61ZM288,224a24,24,0,1,1,24-24A24,24,0,0,1,288,224Zm8-72a24,24,0,1,1,24-24A24,24,0,0,1,296,152Zm64,40a24,24,0,1,1,24-24A24,24,0,0,1,360,192Z"/></svg>
|
||||
|
After Width: | Height: | Size: 295 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><rect x="48" y="80" width="416" height="384" rx="48" fill="none" stroke="#000" stroke-linejoin="round" stroke-width="32"/><line x1="128" y1="48" x2="128" y2="80" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="384" y1="48" x2="384" y2="80" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="464" y1="160" x2="48" y2="160" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><polyline points="304 260 347.42 228 352 228 352 396" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path d="M191.87,306.63c9.11,0,25.79-4.28,36.72-15.47a37.9,37.9,0,0,0,11.13-27.26c0-26.12-22.59-39.9-47.89-39.9-21.4,0-33.52,11.61-37.85,18.93" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path d="M149,374.16c4.88,8.27,19.71,25.84,43.88,25.84,28.59,0,52.12-15.94,52.12-43.82,0-12.62-3.66-24-11.58-32.07-12.36-12.64-31.25-17.48-41.55-17.48" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M32,456a24,24,0,0,0,24,24H456a24,24,0,0,0,24-24V176H32ZM342.17,212H368V412H336V256.29l-35.39,26.08-19-25.76ZM222,335.3c-8.54-8.74-22.75-12.67-30.11-12.67h-16v-32h16c4.85,0,17.41-2.6,25.28-10.65a22,22,0,0,0,6.57-16.08c0-23.23-28.63-23.9-31.89-23.9-17.34,0-23.8,10.61-24.07,11.06l-8.13,13.78-27.56-16.27,8.14-13.77c7.64-13,25.22-26.8,51.62-26.8,16.44,0,31.76,4.77,43.13,13.42,13.39,10.2,20.76,25.28,20.76,42.48A54,54,0,0,1,240,302.35c-1.15,1.18-2.36,2.28-3.59,3.35a66.18,66.18,0,0,1,8.42,7.23c10.56,10.8,16.14,25.75,16.14,43.25,0,18.06-7.61,34-21.42,44.92-12.17,9.61-28.75,14.9-46.7,14.9-27.87,0-48.48-18.16-57.66-33.7l-8.13-13.78,27.56-16.27L162.78,366c1.08,1.84,11.15,18,30.1,18,16.66,0,36.12-7.29,36.12-27.82C229,349.93,227.78,341.23,222,335.3Z"/><path d="M456,64H400.08V32h-48V64H159.92V32h-48V64H56A23.8,23.8,0,0,0,32,87.77V144H480V87.77A23.8,23.8,0,0,0,456,64Z"/></svg>
|
||||
|
After Width: | Height: | Size: 955 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M416,64H400V48.45c0-8.61-6.62-16-15.23-16.43A16,16,0,0,0,368,48V64H144V48.45c0-8.61-6.62-16-15.23-16.43A16,16,0,0,0,112,48V64H96a64,64,0,0,0-64,64v12a4,4,0,0,0,4,4H476a4,4,0,0,0,4-4V128A64,64,0,0,0,416,64Z"/><path d="M476,176H36a4,4,0,0,0-4,4V416a64,64,0,0,0,64,64H416a64,64,0,0,0,64-64V180A4,4,0,0,0,476,176ZM239.58,401.1c-12.17,9.61-28.75,14.9-46.7,14.9-27.87,0-48.48-18.16-57.66-33.7A16,16,0,0,1,162.78,366c1.08,1.84,11.15,18,30.1,18,16.66,0,36.12-7.29,36.12-27.82,0-6.25-1.22-14.95-7-20.88-8.54-8.74-22.75-12.67-30.11-12.67a16,16,0,0,1,0-32c4.85,0,17.41-2.6,25.28-10.65a22,22,0,0,0,6.57-16.08c0-23.23-28.63-23.9-31.89-23.9-17.34,0-23.8,10.61-24.07,11.06a16,16,0,1,1-27.55-16.26c7.64-13,25.22-26.8,51.62-26.8,16.44,0,31.76,4.77,43.13,13.42,13.39,10.2,20.76,25.28,20.76,42.48A54,54,0,0,1,240,302.35c-1.15,1.18-2.36,2.28-3.59,3.35a66.18,66.18,0,0,1,8.42,7.23c10.56,10.8,16.14,25.75,16.14,43.25C261,374.24,253.39,390.19,239.58,401.1ZM368,396a16,16,0,0,1-32,0V256.29l-22.51,16.59a16,16,0,1,1-19-25.76l43.42-32a16,16,0,0,1,9.49-3.12H352a16,16,0,0,1,16,16Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M35.42,188.21,243.17,457.67a16.17,16.17,0,0,0,25.66,0L476.58,188.21a16.52,16.52,0,0,0,.95-18.75L407.06,55.71A16.22,16.22,0,0,0,393.27,48H118.73a16.22,16.22,0,0,0-13.79,7.71L34.47,169.46A16.52,16.52,0,0,0,35.42,188.21Z" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="48" y1="176" x2="464" y2="176" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><polyline points="400 64 352 176 256 48" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><polyline points="112 64 160 176 256 48" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="256" y1="448" x2="160" y2="176" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="256" y1="448" x2="352" y2="176" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><polygon points="396.31 32 264 32 348.19 144.26 396.31 32"/><polygon points="115.69 32 163.81 144.26 248 32 115.69 32"/><polygon points="256 74.67 192 160 320 160 256 74.67"/><polygon points="422.95 51.06 376.26 160 488 160 422.95 51.06"/><polygon points="89.05 51.06 23 160 135.74 160 89.05 51.06"/><polygon points="146.68 192 24 192 246.8 480 247.33 480 146.68 192"/><polygon points="365.32 192 264.67 480 265.2 480 488 192 365.32 192"/><polygon points="329.39 192 182.61 192 256 400 329.39 192"/></svg>
|
||||
|
After Width: | Height: | Size: 578 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M121.72,32A4,4,0,0,0,118,37.56l2.3,5.43L161,137.89a4,4,0,0,0,6.88.82L243,38.4a4,4,0,0,0-3.2-6.4Z"/><path d="M419.93,58.06l-41.28,96.37a4,4,0,0,0,3.68,5.57h101a4,4,0,0,0,3.4-6.11L427,57.53A4,4,0,0,0,419.93,58.06Z"/><path d="M85,57.57,25.29,153.89a4,4,0,0,0,3.4,6.11h101a4,4,0,0,0,3.67-5.58L92,58.1A4,4,0,0,0,85,57.57Z"/><path d="M393.27,32H267.82a1.94,1.94,0,0,0-1.56,3.11l79.92,106.46a1.94,1.94,0,0,0,3.34-.4L391.6,43,395,34.66A1.92,1.92,0,0,0,393.3,32Z"/><path d="M239,448,149.57,194.51A3.78,3.78,0,0,0,146,192H25.7a3.72,3.72,0,0,0-2.95,6l216,279.81a5.06,5.06,0,0,0,6.39,1.37h0a5,5,0,0,0,2.39-6.08Z"/><path d="M486.3,192H366a3.75,3.75,0,0,0-3.54,2.51L264.26,472.67a5.21,5.21,0,0,0,2.42,6.31h0a5.22,5.22,0,0,0,6.61-1.39L489.25,198h0A3.72,3.72,0,0,0,486.3,192Z"/><path d="M259.2,78.93l56,74.67A4,4,0,0,1,312,160H200a4,4,0,0,1-3.2-6.4l56-74.67A4,4,0,0,1,259.2,78.93Zm-7,310.31L184.5,197.33a4,4,0,0,1,3.77-5.33H323.73a4,4,0,0,1,3.77,5.33L259.77,389.24A4,4,0,0,1,252.23,389.24Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M200,246.84c8.81,58.62-7.33,90.67-52.91,97.41-50.65,7.49-71.52-26.44-80.33-85.06-11.85-78.88,16-127.94,55.71-131.1C158.61,125.22,191.18,188.23,200,246.84Z" fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="32"/><path d="M223.65,409.53c3.13,33.28-14.86,64.34-42,69.66-27.4,5.36-58.71-16.37-65.09-49.19s17.75-34.56,47.32-40.21S219.87,369.39,223.65,409.53Z" fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="32"/><path d="M312,150.83c-8.81,58.62,7.33,90.67,52.9,97.41,50.66,7.49,71.52-26.44,80.33-85.06,11.86-78.89-16-128.22-55.7-131.1C353.13,29.44,320.82,92.21,312,150.83Z" fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="32"/><path d="M288.35,313.53c-3.13,33.27,14.86,64.34,42,69.66,27.4,5.36,58.71-16.37,65.09-49.19s-17.75-34.56-47.32-40.22S292.13,273.38,288.35,313.53Z" fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="32"/></svg>
|
||||
|
After Width: | Height: | Size: 968 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M130.54,358.31c-12.83,1.88-33.95,5.38-48-10.56S56.34,293.32,51,258.92c-7.88-50.7-.06-93.43,22-120.31,13-15.83,30.06-25,49.34-26.46,16.51-1.27,41.18,5.19,65,43.19,14.92,23.81,26.27,55.44,31.14,86.77h0c5.88,37.82,11.61,78.18-8.44,92.65-11.31,8.17-19.43,11-38.62,15.57C155.64,354.08,143.38,356.42,130.54,358.31Z"/><path d="M107.72,390.84l108.89-22.46c9.2-1.9,16.58,3.16,20,18.32,11.22,49.76-4.86,109.3-55.22,109.3-47.69,0-79.47-54.36-84.66-83.58C94.36,399.17,97.74,392.89,107.72,390.84Z"/><path d="M340.59,254.34c-19.19-4.55-27.31-7.4-38.62-15.57-20.05-14.47-14.32-54.83-8.44-92.65h0c4.87-31.33,16.22-63,31.14-86.77,23.8-38,48.47-44.46,65-43.19C408.93,17.63,426,26.78,439,42.61c22.08,26.88,29.9,69.61,22,120.31-5.35,34.4-17.46,72.76-31.59,88.83s-35.13,12.44-48,10.56S356.36,258.08,340.59,254.34Z"/><path d="M404.28,294.84,295.39,272.38c-9.2-1.9-16.58,3.16-20,18.32C264.18,340.46,280.26,400,330.62,400c47.69,0,79.47-54.36,84.66-83.58C417.64,303.17,414.26,296.89,404.28,294.84Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M133.83,361.27c-22.61,0-41-8.17-54.79-24.39S56.2,296.59,50.93,261.57c-7.76-51.61-.06-95.11,21.68-122.48,12.8-16.12,29.6-25.44,48.58-26.94,16.25-1.3,40.54,5.29,64,44,14.69,24.24,25.86,56.44,30.65,88.34h0c5.79,38.51,1.48,66.86-13.18,86.65-11.64,15.72-29.54,25.46-53.21,29A106.46,106.46,0,0,1,133.83,361.27Z"/><path d="M173,496c-13.21,0-26.6-4.23-38.66-12.36a79.79,79.79,0,0,1-33.52-50.6c-2.85-14.66-1.14-26.31,5.22-35.64,10.33-15.15,28.87-18.56,48.49-22.18,2.07-.38,4.17-.76,6.3-1.17,4.52-.86,9.14-2,13.62-3.11,16.78-4.14,34.14-8.43,48.47,1.75,9.59,6.8,15,18.36,16.62,35.32h0c1.84,19.57-2.36,39.1-11.83,55-10.19,17.11-25.47,28.42-43,31.86A61,61,0,0,1,173,496Z"/><path d="M378.17,265.27a106.69,106.69,0,0,1-15.6-1.2c-23.66-3.5-41.56-13.25-53.2-29-14.66-19.79-19-48.13-13.18-86.65,4.79-31.93,15.93-64.1,30.55-88.25,23.34-38.57,47.66-45.26,64-44.08,18.92,1.38,35.69,10.57,48.51,26.6,21.89,27.37,29.65,71,21.86,122.84-5.27,35-14.2,58.95-28.11,75.31S400.78,265.27,378.17,265.27Z"/><path d="M339,400a61,61,0,0,1-11.68-1.13c-17.56-3.44-32.84-14.75-43-31.86-9.47-15.9-13.67-35.43-11.83-55h0c1.6-17,7-28.52,16.62-35.33,14.33-10.17,31.69-5.89,48.47-1.74,4.48,1.1,9.1,2.24,13.62,3.11l6.29,1.17c19.63,3.61,38.17,7,48.5,22.17,6.36,9.33,8.07,21,5.22,35.64a79.78,79.78,0,0,1-33.52,50.61C365.56,395.78,352.17,400,339,400Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><rect x="96" y="32" width="320" height="448" rx="48" fill="none" stroke="#000" stroke-linejoin="round" stroke-width="32"/><line x1="208" y1="80" x2="304" y2="80" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path d="M333.48,284.51A39.65,39.65,0,0,0,304,272c-11.6,0-22.09,4.41-29.54,12.43s-11.2,19.12-10.34,31C265.83,338.91,283.72,358,304,358s38.14-19.09,39.87-42.55C344.75,303.67,341.05,292.68,333.48,284.51Z"/><path d="M371.69,448H236.31a12.05,12.05,0,0,1-9.31-4.17,13,13,0,0,1-2.76-10.92c3.25-17.56,13.38-32.31,29.3-42.66C267.68,381.06,285.6,376,304,376s36.32,5.06,50.46,14.25c15.92,10.35,26.05,25.1,29.3,42.66A13,13,0,0,1,381,443.83,12.05,12.05,0,0,1,371.69,448Z"/></svg>
|
||||
|
After Width: | Height: | Size: 794 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M408,16H104A24,24,0,0,0,80,40V472a24,24,0,0,0,24,24H408a24,24,0,0,0,24-24V40A24,24,0,0,0,408,16ZM346.9,312.77a43,43,0,1,1-40.71-40.71A43,43,0,0,1,346.9,312.77ZM192,64H320V96H192ZM384,448H224V423.4c0-32.72,53.27-49.21,80-49.21s80,16.49,80,49.21Z"/></svg>
|
||||
|
After Width: | Height: | Size: 335 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M368,16H144A64.07,64.07,0,0,0,80,80V432a64.07,64.07,0,0,0,64,64H368a64.07,64.07,0,0,0,64-64V80A64.07,64.07,0,0,0,368,16ZM333.48,284.51c7.57,8.17,11.27,19.16,10.39,30.94C342.14,338.91,324.25,358,304,358s-38.17-19.09-39.88-42.55c-.86-11.9,2.81-22.91,10.34-31S292.4,272,304,272A39.65,39.65,0,0,1,333.48,284.51ZM192,80a16,16,0,0,1,16-16h96a16,16,0,0,1,0,32H208A16,16,0,0,1,192,80ZM381,443.83a12.05,12.05,0,0,1-9.31,4.17H236.31a12.05,12.05,0,0,1-9.31-4.17,13,13,0,0,1-2.76-10.92c3.25-17.56,13.38-32.31,29.3-42.66C267.68,381.06,285.6,376,304,376s36.32,5.06,50.46,14.25c15.92,10.35,26.05,25.1,29.3,42.66A13,13,0,0,1,381,443.83Z"/></svg>
|
||||
|
After Width: | Height: | Size: 711 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><polyline points="201.14 64 256 32 310.86 64" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="256" y1="32" x2="256" y2="112" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/><polyline points="310.86 448 256 480 201.14 448" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="256" y1="480" x2="256" y2="400" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/><polyline points="64 207.51 64 144 117.15 112.49" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="64" y1="144" x2="131.29" y2="184" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/><polyline points="448 304.49 448 368 394.85 399.51" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="448" y1="368" x2="380.71" y2="328" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/><polyline points="117.15 400 64 368 64 304.49" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="64" y1="368" x2="130.64" y2="328" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/><polyline points="394.85 112.49 448 144 448 207.51" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="448" y1="144" x2="380.71" y2="184" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/><polyline points="256 320 256 256 310.86 224" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/><line x1="256" y1="256" x2="201.14" y2="224" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/></svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M31.87,30.58H244.7V243.39H31.87Z"/><path d="M266.89,30.58H479.7V243.39H266.89Z"/><path d="M31.87,265.61H244.7v212.8H31.87Z"/><path d="M266.89,265.61H479.7v212.8H266.89Z"/></svg>
|
||||
|
After Width: | Height: | Size: 259 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M229.73,45.88,37.53,327.79a31.79,31.79,0,0,0,11.31,46L241,476.26a31.77,31.77,0,0,0,29.92,0l192.2-102.51a31.79,31.79,0,0,0,11.31-46L282.27,45.88A31.8,31.8,0,0,0,229.73,45.88Z" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><line x1="256" y1="32" x2="256" y2="480" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg>
|
||||
|
After Width: | Height: | Size: 488 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256,16,16,352,256,496,496,352Zm-20,96.82V437.35L73.73,340Z"/></svg>
|
||||
|
After Width: | Height: | Size: 150 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M487.83,319.44,295.63,36.88a48,48,0,0,0-79.26,0L24.17,319.44A47.1,47.1,0,0,0,41.1,387.57L233.3,490.32a48.05,48.05,0,0,0,45.4,0L470.9,387.57a47.1,47.1,0,0,0,16.93-68.13Zm-431.26,41a16.12,16.12,0,0,1-8-10.38,16.8,16.8,0,0,1,2.37-13.62L232.66,69.26c2.18-3.21,7.34-1.72,7.34,2.13v374c0,5.9-6.54,9.63-11.87,6.78Z"/></svg>
|
||||
|
After Width: | Height: | Size: 398 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><rect x="48" y="48" width="416" height="416" rx="96" fill="none" stroke="#000" stroke-linejoin="round" stroke-width="32"/><path d="M388.94,151.56c-24.46-22.28-68.72-51.4-132.94-51.4s-108.48,29.12-132.94,51.4A34.66,34.66,0,0,0,120,199.64l33.32,39.21a26.07,26.07,0,0,0,33.6,5.21c15.92-9.83,40.91-21.64,69.1-21.64s53.18,11.81,69.1,21.64a26.07,26.07,0,0,0,33.6-5.21L392,199.64A34.66,34.66,0,0,0,388.94,151.56Z" fill="none" stroke="#000" stroke-linejoin="round" stroke-width="32"/></svg>
|
||||
|
After Width: | Height: | Size: 555 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M432,32H80A48.05,48.05,0,0,0,32,80V432a48.05,48.05,0,0,0,48,48H432a48.05,48.05,0,0,0,48-48V80A48.05,48.05,0,0,0,432,32ZM415.29,197l-52.46,61.73a27.83,27.83,0,0,1-37.65,4.62c-13-9.29-39.27-24.89-69.18-24.89s-56.18,15.6-69.18,24.89a27.84,27.84,0,0,1-37.65-4.62L96.71,197A32.12,32.12,0,0,1,97.13,155c18.93-21.31,72.3-70.87,158.87-70.87S395.94,133.72,414.87,155h0A32.12,32.12,0,0,1,415.29,197Z"/></svg>
|
||||
|
After Width: | Height: | Size: 480 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M368,32H144A112.12,112.12,0,0,0,32,144V368A112.12,112.12,0,0,0,144,480H368A112.12,112.12,0,0,0,480,368V144A112.12,112.12,0,0,0,368,32Zm36.21,178-33.32,39.21A41.76,41.76,0,0,1,339,264.05a42.32,42.32,0,0,1-22.29-6.38c-14.22-8.78-36.3-19.25-60.69-19.25s-46.47,10.47-60.69,19.25a41.86,41.86,0,0,1-54.2-8.46L107.79,210a50.48,50.48,0,0,1,4.49-70.27C140.12,114.38,187.65,84.16,256,84.16s115.88,30.22,143.72,55.57A50.48,50.48,0,0,1,404.21,210Z"/></svg>
|
||||
|
After Width: | Height: | Size: 526 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M463.1,112.37C373.68,96.33,336.71,84.45,256,48,175.29,84.45,138.32,96.33,48.9,112.37,32.7,369.13,240.58,457.79,256,464,271.42,457.79,479.3,369.13,463.1,112.37Z" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path d="M256,48C175.29,84.45,138.32,96.33,48.9,112.37,32.7,369.13,240.58,457.79,256,464Z"/></svg>
|
||||
|
After Width: | Height: | Size: 433 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256,32C174,69.06,121.38,86.46,32,96c0,77.59,5.27,133.36,25.29,184.51a348.86,348.86,0,0,0,71.43,112.41C178.32,445.58,232.89,473.32,256,480c23.11-6.68,77.68-34.42,127.28-87.08a348.86,348.86,0,0,0,71.43-112.41C474.73,229.36,480,173.59,480,96,390.62,86.46,338,69.06,256,32ZM417.47,265.93a309.18,309.18,0,0,1-63.31,99.56C316,406,276.65,428.31,256,437.36V75.8c38.75,17,68.73,28.3,97.93,36.89a613.12,613.12,0,0,0,85.6,18.52C437.81,191.43,431.17,230.9,417.47,265.93Z"/></svg>
|
||||
|
After Width: | Height: | Size: 550 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M48.9,112.37C138.32,96.33,175.29,84.45,256,48c80.71,36.45,117.68,48.33,207.1,64.37C479.3,369.13,271.42,457.79,256,464,240.58,457.79,32.7,369.13,48.9,112.37Z" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path d="M256,48c80.71,36.45,117.68,48.33,207.1,64.37C479.3,369.13,271.42,457.79,256,464Z"/></svg>
|
||||
|
After Width: | Height: | Size: 430 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M259.92,262.91,216.4,149.77a9,9,0,0,0-16.8,0L156.08,262.91a9,9,0,0,1-5.17,5.17L37.77,311.6a9,9,0,0,0,0,16.8l113.14,43.52a9,9,0,0,1,5.17,5.17L199.6,490.23a9,9,0,0,0,16.8,0l43.52-113.14a9,9,0,0,1,5.17-5.17L378.23,328.4a9,9,0,0,0,0-16.8L265.09,268.08A9,9,0,0,1,259.92,262.91Z" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><polygon points="108 68 88 16 68 68 16 88 68 108 88 160 108 108 160 88 108 68" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><polygon points="426.67 117.33 400 48 373.33 117.33 304 144 373.33 170.67 400 240 426.67 170.67 496 144 426.67 117.33" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg>
|
||||
|
After Width: | Height: | Size: 836 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M208,512,155.62,372.38,16,320l139.62-52.38L208,128l52.38,139.62L400,320,260.38,372.38Z"/><path d="M88,176,64.43,111.57,0,88,64.43,64.43,88,0l23.57,64.43L176,88l-64.43,23.57Z"/><path d="M400,256l-31.11-80.89L288,144l80.89-31.11L400,32l31.11,80.89L512,144l-80.89,31.11Z"/></svg>
|
||||
|
After Width: | Height: | Size: 358 B |
@@ -0,0 +1 @@
|
||||
<svg id="icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M208,512a24.84,24.84,0,0,1-23.34-16l-39.84-103.6a16.06,16.06,0,0,0-9.19-9.19L32,343.34a25,25,0,0,1,0-46.68l103.6-39.84a16.06,16.06,0,0,0,9.19-9.19L184.66,144a25,25,0,0,1,46.68,0l39.84,103.6a16.06,16.06,0,0,0,9.19,9.19l103,39.63A25.49,25.49,0,0,1,400,320.52a24.82,24.82,0,0,1-16,22.82l-103.6,39.84a16.06,16.06,0,0,0-9.19,9.19L231.34,496A24.84,24.84,0,0,1,208,512Zm66.85-254.84h0Z"/><path d="M88,176a14.67,14.67,0,0,1-13.69-9.4L57.45,122.76a7.28,7.28,0,0,0-4.21-4.21L9.4,101.69a14.67,14.67,0,0,1,0-27.38L53.24,57.45a7.31,7.31,0,0,0,4.21-4.21L74.16,9.79A15,15,0,0,1,86.23.11,14.67,14.67,0,0,1,101.69,9.4l16.86,43.84a7.31,7.31,0,0,0,4.21,4.21L166.6,74.31a14.67,14.67,0,0,1,0,27.38l-43.84,16.86a7.28,7.28,0,0,0-4.21,4.21L101.69,166.6A14.67,14.67,0,0,1,88,176Z"/><path d="M400,256a16,16,0,0,1-14.93-10.26l-22.84-59.37a8,8,0,0,0-4.6-4.6l-59.37-22.84a16,16,0,0,1,0-29.86l59.37-22.84a8,8,0,0,0,4.6-4.6L384.9,42.68a16.45,16.45,0,0,1,13.17-10.57,16,16,0,0,1,16.86,10.15l22.84,59.37a8,8,0,0,0,4.6,4.6l59.37,22.84a16,16,0,0,1,0,29.86l-59.37,22.84a8,8,0,0,0-4.6,4.6l-22.84,59.37A16,16,0,0,1,400,256Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -2,11 +2,16 @@ import { Config } from '@stencil/core';
|
||||
|
||||
export const config: Config = {
|
||||
namespace: 'ionicons',
|
||||
buildEs5: 'prod',
|
||||
outputTargets: [
|
||||
{
|
||||
type: 'dist',
|
||||
empty: false,
|
||||
},
|
||||
{
|
||||
type: 'dist-custom-elements',
|
||||
dir: './components',
|
||||
},
|
||||
{
|
||||
type: 'docs-readme',
|
||||
},
|
||||
|
||||