Compare commits

...
343 Commits
Author SHA1 Message Date
ionitron 4fcee649df v7.1.0 2023-03-23 15:49:18 +00:00
Sean Perkins e4bf096aaf Merge remote-tracking branch 'origin/feature-7.1' into release-7.1.0 2023-03-23 11:43:25 -04:00
Sean Perkins cdb0d80cde feat: chevron-expand and chevron-collapse icons (#1198) 2023-03-22 16:13:00 -04:00
Liam DeBeasi e358a4f418 merge feature-7.0
Feature 7.0
2023-03-07 13:07:44 -05:00
Liam DeBeasi 0f6c84f976 merge release-7.0.0
Release 7.0.0
2023-03-07 08:52:02 -05:00
Liam DeBeasi 63788874db chore(): add migration note 2023-03-07 08:51:36 -05:00
ionitron ac450cbd28 chore(): update package lock files 2023-03-07 13:49:51 +00:00
ionitron 2ffcb6a012 v7.0.0 2023-03-07 13:49:46 +00:00
Liam DeBeasi 998b9207f3 chore(): sync with main
chore(): sync with main
2023-03-07 08:47:10 -05:00
Liam DeBeasi c290bea476 chore(): sync with main 2023-03-07 08:42:57 -05:00
Brandy Carney f2ed84a256 docs(contributing): include a link to contribute to the ionicons site (#1183) 2023-03-03 11:32:27 -05:00
Liam DeBeasi 7f3f55c94e merge release-6.1.3
Release 6.1.3
2023-02-09 12:39:57 -05:00
Liam DeBeasi ffcf9f9034 chore(): cleanup changelog 2023-02-09 12:35:41 -05:00
ionitron 6116bc2627 chore(): update package lock files 2023-02-09 17:34:58 +00:00
ionitron b7c9bb024a v6.1.3 2023-02-09 17:34:54 +00:00
Sean Perkins 8c412f6748 fix: DomParser usage in SSR (#1180)
Resolves #1179
2023-02-09 12:30:17 -05:00
Liam DeBeasi 53ce49e929 merge release-6.1.2
Release 6.1.2
2023-02-08 09:20:16 -05:00
Liam DeBeasi b27268f7db fix changelog 2023-02-08 09:13:59 -05:00
ionitron 2c1b968bff chore(): update package lock files 2023-02-08 14:05:12 +00:00
ionitron 3342166f7f v6.1.2 2023-02-08 14:05:08 +00:00
Sean Perkins 72f09369de fix(icon): load base64 data urls (#1172) 2023-02-07 16:37:42 -05:00
Liam DeBeasi 6e7ff0defc merge release-6.1.1
Merge Release 6.1.1
2023-02-06 15:08:02 -05:00
Liam DeBeasi 193e7f565a Merge branch 'main' into release-6.1.1 2023-02-06 09:44:14 -05:00
Liam DeBeasi 65bcbb4777 fix(icon): md and ios properties are reactive (#1174)
resolves #802
2023-02-03 09:19:32 -05:00
Amanda Johnston 98975ec0f5 fix(icon): remove auto-generated aria-label (#1170) 2023-01-20 10:18:28 -06:00
ionitron 2e9b493a05 chore(): update package lock files 2023-01-18 13:41:57 +00:00
ionitron 8f1f7fe9f3 v6.1.1 2023-01-18 13:41:52 +00:00
jonz94 93b4fa449b fix(icon): remove <title> during build step (#1169)
resolves #1168
2023-01-18 08:39:28 -05:00
Liam DeBeasi ee16638d07 merge release-6.1.0
Release 6.1.0
2023-01-17 14:32:46 -05:00
ionitron 2e76547a79 chore(): update package lock files 2023-01-17 19:28:11 +00:00
ionitron d7b25e79aa v6.1.0 2023-01-17 19:28:04 +00:00
Liam DeBeasi e0efa5f28d fix(icon): remove default <title> (#1166)
resolves #838, resolves #1049, resolves #1082
2023-01-17 14:12:32 -05:00
Liam DeBeasi 1b98f9d99f chore(ci): add production release script (#1154) 2022-11-18 13:42:30 -05:00
Liam DeBeasi 3bb4ba919f chore(ci): add lerna (#1153) 2022-11-18 13:19:19 -05:00
Liam DeBeasi 9cf31324ff chore(ci): add release CI stub (#1151) 2022-11-18 13:00:46 -05:00
Liam DeBeasi 1af1b48afb chore(ci): do not tag release for dev builds (#1152) 2022-11-18 11:34:00 -05:00
Liam DeBeasi 86ef073aca chore(): add bump version script (#1150) 2022-11-18 10:56:20 -05:00
Liam DeBeasi 33193e3749 chore(ci): add dev build task (#1149) 2022-11-18 10:49:15 -05:00
Liam DeBeasi 9d2dc11e08 merge release-6.0.4
6.0.4
2022-11-08 14:44:07 -05:00
Liam DeBeasi 44da0e40c5 6.0.4 2022-11-08 14:36:33 -05:00
Sean Perkins cafe8e6541 chore: exclude playwright test infra and test svg assets from collection output (#1143) 2022-11-08 14:33:56 -05:00
Sean Perkins 66858926cc fix(icon): icons will load when content security policies are enabled (#1141) 2022-11-08 13:45:01 -05:00
Amanda Johnston c37b691dd5 fix(): flip-rtl works if dir="rtl" is set on icon directly (#1142) 2022-11-08 10:11:26 -06:00
Vinay Harwani 0e3ba9922c chore(readme): update cdn url version in readme (#1112)
resolves #1093
2022-10-14 14:30:02 -04:00
Liam DeBeasi 36992fc01b chore(ci): e2e tests are run on CI (#1126) 2022-10-14 13:50:00 -04:00
Liam DeBeasi 5f2aab6cbe chore(ci): add update screenshots stub (#1125) 2022-09-30 16:38:13 -04:00
Liam DeBeasi fd90487afc test(icon): add playwright (#1124) 2022-09-30 16:36:12 -04:00
Liam DeBeasi 06b9b1fc59 chore(typescript): resolve errors (#1122) 2022-09-30 16:03:11 -04:00
Liam DeBeasi 0dfccdf016 chore(ci): run build on CI (#1121) 2022-09-30 15:23:48 -04:00
Brandy Carney 69e0817503 chore(github): remove duplicate labels key (#1119) 2022-09-29 16:15:04 -04:00
Brandy Carney 19629000ca chore(github): add ionitron issue bot for labeling (#1115) 2022-09-27 11:39:48 -04:00
Liam DeBeasi d13cd3333c chore(github): add issue templates (#1106) 2022-09-21 11:29:16 -04:00
Liam DeBeasi 20c396d8d7 merge release-6.0.3
6.0.3
2022-08-26 08:15:08 -05:00
Liam DeBeasi b6903a0ad8 6.0.3 2022-08-26 09:13:41 -04:00
Marco D'Auria 8d898d7170 fix(icon): sanitizer checks attribute name instead of value (#1087)
resolves #1088
2022-08-26 09:10:58 -04:00
Liam DeBeasi 7dd69094d1 merge release-6.0.2
6.0.2
2022-05-31 17:18:32 -04:00
Liam DeBeasi e79e5cd235 6.0.2 2022-05-31 17:17:27 -04:00
Liam DeBeasi 86a051ca63 merge release-6.0.1 2022-05-31 17:16:42 -04:00
Liam DeBeasi 28d0338ee0 fix(): improve compatibility with vite (#1066) 2022-05-31 17:14:57 -04:00
Liam DeBeasi 3ec9271e83 fix(icon): using icon in ssr environment no longer errors on HTMLElement (#1035) 2022-01-19 14:47:20 -05:00
Liam DeBeasi 19dd66469c merge release-6.0.0
6.0.0
2021-11-11 16:26:58 -05:00
Liam DeBeasi 43d61fe909 6.0.0 2021-11-08 16:29:59 -05:00
Liam DeBeasi 1038a7f682 fix(icon): avoid type collisions with ariaLabel and ariaHidden (#1014) 2021-11-08 16:26:01 -05:00
Liam DeBeasi 947091adf7 chore(): add install loader script 2021-11-02 17:22:18 +00:00
Liam DeBeasi 728aa746a0 merge release-5.5.4
5.5.4
2021-11-02 13:10:35 -04:00
Liam DeBeasi 32da247bc1 5.5.4 2021-11-02 13:08:44 -04:00
Liam DeBeasi f21bb0f097 chore(): update ionicons to stencil 2.10 (#1015) 2021-11-02 12:27:22 -04:00
Liam DeBeasi e6a5af1a96 merge release-5.5.3
5.5.3
2021-08-03 09:21:16 -04:00
Liam DeBeasi 36a0c6b103 5.5.3 2021-08-03 09:18:39 -04:00
Damian Tarnawsky e63653cbe1 fix(): reflect name property as attribute (#981)
resolves #975
2021-08-03 09:13:45 -04:00
Liam DeBeasi 4ca8139f77 5.5.2 (#983) 2021-06-17 10:12:16 -04:00
Liam DeBeasi 24caaad7d9 fix(build): add old ionicons.js file (#982) 2021-06-17 09:51:50 -04:00
Liam DeBeasi 8c2a507fcf 5.5.1 2021-03-22 14:11:16 -04:00
Liam DeBeasi c76f2a2556 fix(): adding aria-hidden no longer disables automatic rtl switching (#954) 2021-03-22 14:09:03 -04:00
Rafael Kraut 0d7f507677 chore: add tag "globe" to earth (#919) 2021-02-09 16:14:09 -06:00
Adam Bradley b3155d9603 5.5.0 2021-02-09 16:04:52 -06:00
Adam Bradley 9139a01e18 5.5.0-1 2021-02-02 09:46:20 -06:00
Adam Bradley 0541db0f28 chore: add "components/" to package json files 2021-02-02 09:45:34 -06:00
Adam Bradley 200678a619 5.5.0-0 2021-02-01 15:36:05 -06:00
Adam Bradley 66556ea45c feat(custom-elements): export ionicons/components
Also provide ionicons as a custom element which can be defined using `customElements.define()`

```
import { IonIcon } from "ionicons/components/ion-icon";
customElements.define("ion-icon", IonIcon);
```

The custom element build works the same as the lazy load build, and is also able to lazy load svgs on demand, either by giving it an exact url in the `src` attribute `<ion-icon src="./path/to/airplane.svg"></ion-icon>`, or by providing the name of the ionicon to load `<ion-icon name="airplane"></ion-icon>`.

If using the `name` attribute, you'll also need to set where to find the svg directory using `setAssetPath()`

```
import { setAssetPath } from "ionicons/components";
setAssetPath(location.href);
```
2021-02-01 15:28:33 -06:00
Adam Bradley b1c23f8dee 5.4.0 2021-01-26 12:18:27 -06:00
Adam Bradley 81f2fc1a84 feat: add new icons 2021-01-26 12:17:36 -06:00
Kevin Ports 1543daa010 5.3.0 2021-01-04 16:11:54 -06:00
Kevin Ports 500d15fec0 Add Microsoft logo 2021-01-04 14:59:33 -06:00
Adam Bradley a30dfb2886 update readme 2020-10-07 16:43:33 -05:00
Adam Bradley f16c5fb13d 5.2.3 2020-10-07 16:19:04 -05:00
Adam Bradley a134c76d50 update scripts 2020-10-07 16:16:53 -05:00
Adam Bradley 6753d715e2 using github releases for changelog instead 2020-10-07 14:38:17 -05:00
Adam Bradley c3722987c5 remove unused packages 2020-10-07 14:29:44 -05:00
Adam Bradley 7f96d8c725 5.2.2 2020-10-07 14:26:08 -05:00
Adam Bradley 7666f2d97a use np for release 2020-10-07 14:25:13 -05:00
Adam Bradley b73bb075fd update property docs 2020-10-07 14:24:56 -05:00
Ben 486ae96765 Fix unlink icons 2020-10-07 10:36:31 -05:00
Adam Bradley eca4c14f05 feat(sanitize): opt-out of sanitizing http fetch svg content 2020-10-07 09:03:20 -05:00
Adam Bradley 3dbc0c8263 5.2.1 2020-10-06 11:31:39 -05:00
Adam Bradley 81edbf2387 fix: remove double ionicon css class on svg 2020-10-06 11:28:47 -05:00
Adam Bradley cb0b2124ec 5.2.0 2020-10-06 11:20:57 -05:00
Adam Bradley eef739789f feat(cheatsheet): link dist/svg to cheatsheet icons 2020-10-06 11:18:24 -05:00
Adam Bradley 98fa89ea57 feat(currentColor): update dist/svg output to use currentColor
Closes #784 #805
2020-10-06 11:11:56 -05:00
Ben 107c075d88 Update color to black 2020-10-06 11:02:47 -05:00
Ben 2f3effb33f Fix outlines 2020-10-06 10:05:33 -05:00
Adam Bradley c580023063 chore: update script target 2020-10-06 09:33:28 -05:00
Adam Bradley 0f77aaf2db fix(src): fixed source svg inlined styles 2020-10-05 23:02:59 -05:00
nothingismagick cc7291248f chore(build): add 'constructor' to reservedKeywords (#760)
See this:
https://github.com/dotboris/vuejs-serverside-template-xss
2020-10-05 18:00:30 -05:00
Brad Mallow 81d9ff1995 docs: multiple people icon update name (#797) 2020-10-05 17:57:35 -05:00
Adam Bradley 71c7d80e54 chore: update dev deps 2020-10-05 16:40:09 -05:00
Tyler Holden 95cd90d790 docs(search): add "arrow" search term for caret icons (#858)
* Update: Add 'arrow' search term to caret icons

* Improve search termns for clipboard

* Added arrow search term to chevron
2020-10-05 16:30:25 -05:00
Simon c0fb92b87f docs: use and refer to stroke-width everywhere (#879) 2020-10-05 16:29:12 -05:00
Ben 9de2a0760e feat(icons): added new icons
New and modified icons update
2020-10-05 15:32:20 -05:00
Ben Sperry 38efaa1e8f Merge pull request #846 from whoacowboy/unlink-icon
Adding unlink icon
2020-09-29 13:13:26 -05:00
David Dal Busco 502d1f7077 fix: ariaHidden documentation source (#871) 2020-08-18 11:27:04 -05:00
David Dal Busco 01b0de6e80 feat: supports aria-hidden (#869) 2020-08-18 10:27:45 -05:00
Sander Muller 7d8e33e12c docs: Update renamed version of contacts to match the actual new icon name (#786) 2020-07-23 10:34:57 -05:00
Ken Sodemann 1069d8b4ab fix(search): add login and logout search terms (#853)
The current terms stop after "log" or you have to type just "in" or "out"
This allows the searcher to narrow to login or logout specifically if
they want to.
2020-06-28 19:26:48 -05:00
Adam Bradley 9992cc07a3 5.1.2 2020-06-25 17:34:04 -05:00
Adam Bradley 3aed6eee31 fix(types): temporary fix for projects using older typescript versions 2020-06-25 17:32:53 -05:00
Adam Bradley c470b85c34 5.1.1 2020-06-25 15:44:51 -05:00
Adam Bradley 3a2ab6ec27 fix(types): add "type" to type exports so it's not added to the transpile js file 2020-06-25 15:41:19 -05:00
Adam Bradley 63eee58f89 chore: update data ordering 2020-06-25 15:40:41 -05:00
Adam Bradley 0642e2112b chore: bump deps 2020-06-25 15:35:40 -05:00
Ben Sperry e6973d0c55 Merge pull request #849 from ionic-team/fix/exerciseIconTags
fix(tags): add exercise tag to icons
2020-06-24 10:08:50 -05:00
Ken Sodemann 7668a3cf62 fix(tags): add exercise tag to icons
While doing this PR, I also found and fixed an inconsistency with the
tags for female and woman. I made those consistent.
2020-06-24 06:31:23 -05:00
Perry Govier cfddc2e642 Update data.json (#847) 2020-06-23 14:51:09 -05:00
Adam Bradley 1cef0acb10 5.1.0 2020-06-23 14:41:54 -05:00
Adam Bradley c5e4047206 chore: update icon data 2020-06-23 14:20:23 -05:00
Adam Bradley 63c9ee02a5 feat: update firebase 2020-06-23 14:20:12 -05:00
Adam Bradley 2e7fe14315 feat: update facebook 2020-06-23 14:20:02 -05:00
Adam Bradley f61e47c698 feat: update edge 2020-06-23 14:19:53 -05:00
Adam Bradley 922f43387b feat: add venmo 2020-06-23 14:19:39 -05:00
Adam Bradley 73526e40b8 feat: add tiktok 2020-06-23 14:19:30 -05:00
Adam Bradley 7ce073d3fe feat: add soundcloud 2020-06-23 14:19:21 -05:00
Adam Bradley 1b07d10212 feat: add paypal 2020-06-23 14:19:12 -05:00
Adam Bradley 8983749600 feat: add medium 2020-06-23 14:19:04 -05:00
Adam Bradley fa8d76e20c feat: add gitlab 2020-06-23 14:18:54 -05:00
Adam Bradley 91fa34ebc7 feat: add docker 2020-06-23 14:18:11 -05:00
Adam Bradley 14fd26b38f feat: add behance 2020-06-23 14:18:01 -05:00
Adam Bradley 2301be8f6c chore: bump deps 2020-06-23 14:14:09 -05:00
Ben Sperry 94cf9b52b6 Merge pull request #845 from thomaschaaf/patch-1
Make it easier to find the empty circle
2020-06-23 11:10:57 -05:00
Thomas Schaaf 00e7012192 Make it easier to find the empty circle 2020-06-19 11:19:31 +02:00
James 2204753a37 Adding unlink icon 2020-06-14 09:13:13 -07:00
Adam Bradley cd791f735c chore: add prettier config 2020-05-18 16:08:09 -05:00
Adam Bradley b9c65a794d chore: bump deps and remove unused deps 2020-05-18 16:07:49 -05:00
Adam Bradley b16eed45a3 5.0.1 2020-03-05 10:38:39 -06:00
Adam Bradley ed44918e29 chore: bump to stencil 1.8.11 2020-03-05 10:36:10 -06:00
Ely Lucas 51a431e6ad fix: fixes for ssr support 2020-02-26 12:11:32 -07:00
Ely Lucas dab04ff606 chore: bump to stencil 1.8.10 2020-02-26 12:11:32 -07:00
Simon Hänisch 1c6540e770 docs: add info about breaking change of alert icon (#783) 2020-02-17 17:36:04 -06:00
Adam Bradley 02eabdf6c5 chore: update release script 2020-02-06 09:47:14 -06:00
Adam Bradley 5a2e8e9bf4 5.0.0 2020-02-06 09:44:26 -06:00
Adam Bradley 5c8f2468be chore: update package.json 2020-02-06 09:38:55 -06:00
Kevin Ports 0d757ad96a Fix changelog typo 2020-01-28 10:24:08 -06:00
Kevin Ports e80b5acb0c 5.0.0-17 2020-01-27 11:23:34 -06:00
Kevin Ports 41bf08cee2 Merge branch 'peterennis-patch-2' 2020-01-22 10:38:22 -06:00
Kevin Ports 3c3ce88192 Fix merge conflict 2020-01-22 10:38:07 -06:00
Kevin Ports 8c0f457f23 Correct the return-left/right changelog entry 2020-01-21 16:33:59 -06:00
Kevin Ports bc14bfea99 fix src svg typo causing incorrect female-outline to be built 2020-01-21 16:04:59 -06:00
peterennis 8af821f5b8 Update CHANGELOG.md
typo
2020-01-16 21:48:30 -08:00
Kevin Ports 32cb024b42 5.0.0-16 2020-01-16 15:32:46 -06:00
peterennis c386872443 Update CHANGELOG.md
typos
2020-01-15 16:43:42 -08:00
Kevin Ports 4c95d03958 Updates (#756)
* Rename mail-notification to mail-unread

* rename radio-on/off to radio-button-on/off

* Add missing checkmark-done svg

* Rebuild svg changes

* Update changelog and readme

* Update changelog
2020-01-15 14:36:49 -06:00
Adam Bradley 8a54bf0a71 chore(build): add package-lock 2020-01-03 12:22:06 -06:00
Kevin Ports 159ceef81e 5.0.0-15 2020-01-03 10:32:54 -06:00
Brandy Carney c9068ed4c0 chore(icon): build with latest stencil 2020-01-03 11:29:20 -05:00
Kevin Ports acab74d2b9 5.0.0-14 2020-01-02 17:10:02 -06:00
Kevin Ports 3d7ed854c7 Correct fill in default vertical and horizontal ellipses svg 2020-01-02 17:07:52 -06:00
Adam Bradley 46afd68218 5.0.0-13 2019-11-21 15:30:26 -06:00
Adam Bradley 6342807b26 refactor(icons): export ionicons/icons package as data urls 2019-11-21 15:25:53 -06:00
Liam DeBeasi 03f5914ecf 5.0.0-12 2019-11-19 15:45:26 -05:00
Liam DeBeasi f97439c703 chore(): fix toggle test (#742) 2019-11-19 15:38:58 -05:00
Liam DeBeasi 352c80b8b6 fix(icon): include chevron icons in flipRtl (#740)
* include new chevron in fliprtl'

* add test
2019-11-19 15:33:59 -05:00
Liam DeBeasi cecdb9c0cd fix(icon): apply correct class to svg (#739)
* fix font size

* fix(icon): apply display to svg instead of ionicon class
2019-11-19 15:23:55 -05:00
Liam DeBeasi 052f07b103 chore(): fix tests, update dependencies, update contributing guide (#741)
* fix outdated info

* update contributing guide

* Fix typo
2019-11-19 15:04:48 -05:00
Adam Bradley 5f31f277db 5.0.0-11 2019-10-18 10:31:27 -05:00
Adam Bradley 793288593c chore(stencil): bump stencil core 2019-10-18 10:24:15 -05:00
Adam Bradley bc637cc951 5.0.0-10 2019-10-17 14:26:26 -05:00
Adam Bradley 993a314eb6 fix(types): update package.json types 2019-10-17 14:24:40 -05:00
Adam Bradley 5b7fc526bc 5.0.0-9 2019-10-17 11:53:59 -05:00
Adam Bradley dfb62b67e0 fix(toggle): rename switch to toggle 2019-10-17 11:52:25 -05:00
Adam Bradley b85a855b7e chore: move validation pass 2019-10-16 09:26:34 -05:00
Adam Bradley 57abf83ec5 chore(validate): add svgo validation step 2019-10-15 15:17:42 -05:00
Adam Bradley a9eba9ddb4 5.0.0-8 2019-10-15 11:18:03 -05:00
Adam Bradley 1286103494 chore(collection): update dist/collection to use optimized svgs 2019-10-15 11:15:22 -05:00
Kevin Ports b9cd35bf20 5.0.0-7 2019-09-26 09:05:04 -05:00
Kevin Ports cc15712e03 Add two pass svg optimization 2019-09-26 08:59:59 -05:00
Kevin Ports 8afeb4c6c9 5.0.0-6 2019-09-25 17:22:11 -05:00
Kevin Ports ccb3e41441 Add descriptive title element to svg build 2019-09-25 17:19:35 -05:00
Kevin Ports b74a92328c Replace src svg with unoptimized exports 2019-09-25 16:12:22 -05:00
Kevin Ports b01be99602 5.0.0-5 2019-09-25 14:09:43 -05:00
Adam Bradley 279de8512c feat(svg): add source svgs to distribution 2019-09-25 13:58:07 -05:00
Kevin Ports 6f1b29a40a 5.0.0-4 2019-09-25 10:18:17 -05:00
Kevin Ports a76a78c568 Add css variable for stroke-width so it can be styled outside of shadow (#728)
* Add css variable for stroke width so it can be styled outside of shadow

* add fallback and default value for css var
2019-09-25 10:04:11 -05:00
Kevin Ports 2207229f25 Update changelog 2019-09-24 12:07:06 -05:00
Kevin Ports eaee160c88 Fix chatbubble ellipses variant naming error 2019-09-24 12:05:40 -05:00
Kevin Ports b4c51b089a Update changelog 2019-09-24 11:57:45 -05:00
Kevin Ports db473aeb45 Add duplicates for missing variants 2019-09-24 11:56:07 -05:00
Kevin Ports ce43527435 5.0.0-1 2019-09-23 13:24:57 -05:00
Kevin Ports 174d2ec88d new build 2019-09-23 13:20:31 -05:00
Kevin Ports 7152cfd6c2 Correct a few src svg filename issues 2019-09-23 13:17:05 -05:00
Adam Bradley 9e254846f5 chore: development readme 2019-09-18 12:54:52 -05:00
Adam Bradley a1142adfe5 5.0.0-0 2019-09-18 12:36:45 -05:00
Adam Bradley 2d0f3aa119 chore: rename data.json to ionicons.json 2019-09-18 12:28:10 -05:00
Adam Bradley 587e450cdf chore: remove unused scripts 2019-09-18 12:27:45 -05:00
Adam Bradley e48b0305d5 refactor(stroke-width): set stroke-width via css 2019-09-18 12:23:30 -05:00
Adam Bradley ecd4406c42 chore(build): update release script 2019-09-18 12:06:55 -05:00
Adam Bradley fa1c145f94 test: remove mode tests tests 2019-09-18 11:00:34 -05:00
Adam Bradley 062ca67692 refactor: port tag data 2019-09-17 14:57:26 -05:00
Adam Bradley 0615f89ef8 chore(cheatsheet): remove style toggle 2019-09-17 14:39:03 -05:00
Adam Bradley 67c8bf0565 refactor(toggle): rename switch to toggle 2019-09-17 14:33:34 -05:00
Adam Bradley f0d22ccc26 fix(color): fix fill and stroke currentColor 2019-09-17 14:19:13 -05:00
Adam Bradley 65e1cfabfe refactor: update build scripts 2019-09-17 12:55:13 -05:00
Adam Bradley ac4fbbf247 refactor: remove scss 2019-09-17 10:16:33 -05:00
Adam Bradley 1be0c8eb21 refactor: update v5 icons 2019-09-17 10:16:05 -05:00
Adam Bradley f57e4988b0 4.6.3 2019-08-20 22:22:30 -05:00
Simon Hänisch 0df64cf8b8 fix: default export a function in global script (#720) 2019-08-20 22:21:15 -05:00
Adam Bradley 444dc18700 4.6.2 2019-07-23 09:54:00 -05:00
Adam Bradley aacebf599d 4.6.2-0 2019-07-11 20:05:17 -05:00
Adam Bradley 8839341860 fix(package): no sideEffect exports 2019-07-11 20:02:48 -05:00
Manu Mtz.-Almeida 1557658d90 4.6.1 2019-06-28 22:57:07 +02:00
Manu Mtz.-Almeida 070faa8453 chore(): update deps 2019-06-28 22:56:40 +02:00
Brandy Carney 020dcf93b7 4.6.0 2019-06-28 10:58:38 -04:00
Manu Mtz.-Almeida 96e62cc26d 4.5.10-2 2019-06-25 20:45:27 +02:00
Manu Mtz.-Almeida c8b64b1e99 chore(): add version 2019-06-25 20:43:59 +02:00
Manu Mtz.-Almeida 0320bf2926 fix(): dont error 2019-06-25 20:43:13 +02:00
Manu Mtz.-Almeida 668aacae7e Merge branch 'remove-site' 2019-06-25 20:42:42 +02:00
Manu MA 8fee03af6d Delete CNAME 2019-06-25 20:35:05 +02:00
Manu Mtz.-Almeida ce43b6c4af refactor(): remove site 2019-06-20 21:34:59 +02:00
Ely Lucas 38c00319ce fix script build order 2019-06-20 11:13:55 -06:00
Manu Mtz.-Almeida c67103ae33 chore(): update site 2019-06-19 22:59:04 +02:00
Manu Mtz.-Almeida 30b2b9cdf5 4.5.10-1 2019-06-19 22:58:04 +02:00
Manu Mtz.-Almeida ced468a360 fix(): types generation 2019-06-19 22:56:56 +02:00
Adam Bradley 354195d163 4.5.10-0 2019-06-13 09:46:20 -05:00
Adam Bradley a3b73a5e3a var 2019-06-13 09:35:12 -05:00
Adam Bradley bb6b8c122e wip 2019-06-13 09:31:10 -05:00
Adam Bradley 3d036a08a3 chore: update stencil devDeps 2019-06-12 16:16:31 -05:00
Manu Mtz.-Almeida 1d5e097556 chore(): website deploy 2019-06-07 14:56:23 +02:00
Manu Mtz.-Almeida 94bc599203 4.5.9-1 2019-06-07 14:55:25 +02:00
Manu Mtz.-Almeida 55fcc4b9f2 fix(): mode support 2019-06-07 14:54:54 +02:00
Adam Bradley 9f77b8c7a2 4.5.9-0 2019-05-28 21:10:04 -05:00
Adam Bradley 6398aa0a11 refactor: stencil one updates 2019-05-28 21:07:42 -05:00
Brandy Carney 1c4399400f 4.5.8 2019-05-10 11:33:46 -04:00
Brandy Carney d1e210990f 4.5.8-0 2019-05-10 11:31:55 -04:00
Brandy Carney 8ac5362c7c 4.5.7 2019-05-10 11:23:55 -04:00
Brandy Carney 2542b5ac73 fix(icon): set fill on host element and remove stroke (#688)
- fixes the border box around custom icons

references ionic-team/ionic#16483
2019-05-10 11:20:31 -04:00
Brandy Carney 510232d6a1 fix(svg): remove hardcoded fills from icons (#689)
fixes #529
2019-05-10 11:06:30 -04:00
Brandy Carney 2466debdaa chore: add prepare script 2019-05-09 14:54:54 -04:00
Brandy Carney c4dd4a24aa chore: add dev release script 2019-05-09 14:41:56 -04:00
Brandy Carney a3ae03e507 4.5.6 2019-04-10 17:26:13 -04:00
Brandy Carney c14a19435c fix(icon): add mode class
references ionic-team/ionic#17608
2019-04-10 17:17:54 -04:00
perry 4c700e2beb fresh build 2019-03-11 11:47:04 -05:00
perry 373aad41d5 fresh docs build 2019-02-18 11:32:10 -06:00
perry 1326c53ae9 Updating stencil router to fix issue with turkish letters 2019-02-18 11:28:38 -06:00
Kevin Ports ce2a55406f Update site 2019-02-08 15:38:49 -06:00
Kevin Ports af5f4019d3 Actually fix link 2019-02-08 15:36:30 -06:00
Kevin Ports 81086f94bb Fix link to docs in v2 2019-02-08 15:34:51 -06:00
Manu Mtz.-Almeida 7baec40185 chore(): update website 2019-01-22 19:19:41 +01:00
Manu Mtz.-Almeida a41f237f74 4.5.5 2019-01-22 19:11:29 +01:00
Manu Mtz.-Almeida 9ca5040457 fix(rlt): use document.dir 2019-01-22 19:06:50 +01:00
Manu Mtz.-Almeida aae7600497 chore(): update website 2019-01-22 18:46:30 +01:00
Manu Mtz.-Almeida b847b3b9c0 4.5.4 2019-01-22 18:42:29 +01:00
Manu Mtz.-Almeida d8a17ea0db 4.5.3 2019-01-22 18:35:19 +01:00
Manu Mtz.-Almeida c9f08cd1c7 fix(aria): adds ariaLabel when using the icon prop 2019-01-22 18:34:38 +01:00
Brandy Carney 5611991490 4.5.2 2019-01-21 15:24:14 -05:00
Brandy Carney 7f24e5ebeb 4.5.2-0 2019-01-21 15:07:10 -05:00
Brandy Carney b4b6b75c0e chore(npm): update stencil 2019-01-21 14:48:34 -05:00
Brandy Carney 5c1c6e195f fix(icon): update to include rtl styles #656
- adds the ability to run npm start and launch the icon component locally
- adds a test for viewing the icon component locally
- updates the component css to include rtl styles
- updates contributing to include steps for this

references ionic-team/ionic#17012
2019-01-18 12:33:57 -05:00
Brandy Carney 12ccf40284 docs(readme): updaet to include more usage examples and remove icon class 2019-01-17 13:43:51 -05:00
Brandy Carney d6757c5228 docs(site): update the docs site 2019-01-17 13:09:57 -05:00
Brandy Carney 367d7f8b30 docs(icon-tags): edit icon tags for better searchability 2019-01-17 13:03:26 -05:00
Brandy Carney 6157a6123d fix(svg): remove st0 class styling
closes #576
2019-01-17 11:23:40 -05:00
Brandy Carney 7b3a8ae0bb docs(readme): move contributing and add code highlighting 2019-01-17 11:19:41 -05:00
Brandy Carney b2cb08e0f1 docs(github): update readme and add contributing and coc 2019-01-16 17:57:23 -05:00
Brandy Carney 50301e6afb fix(svg): remove the st0 classes and styles from the svgs
references #529
2019-01-14 14:43:46 -05:00
Daniel Spindelbauer 266411cdc4 Fixed GitHub spelling in nav bar (#641) 2019-01-11 01:51:38 +01:00
Katherine Yang 7e6c9d2106 docs(): add icon attribute to docs (#631) 2019-01-11 01:51:22 +01:00
Manu Mtz.-Almeida d7b0171f9a 4.5.1 2018-12-17 17:22:56 +01:00
Manu Mtz.-Almeida cef8b5e20e fix(icon): fix webpack import in legacy systems 2018-12-17 17:19:54 +01:00
pwespi 34c7f7c0ad docs(icon-tags): edit bed icon tags 2018-12-16 14:06:42 +01:00
pwespi f293988f4f docs(icon-tags): edit icon tags for better searchability 2018-12-16 14:02:33 +01:00
Manu Mtz.-Almeida 0ad2529e1d chore(): update website 2018-12-13 15:04:03 +01:00
Manu Mtz.-Almeida 437946f7f3 4.5.0 2018-12-13 14:52:53 +01:00
Manu Mtz.-Almeida b5edd7b8b2 chore(): update stencil 2018-12-13 14:52:16 +01:00
Manu Mtz.-Almeida 52ccef83d3 4.5.0-3 2018-12-12 23:15:39 +01:00
Manu Mtz.-Almeida 6b324459ee chore(): fix types 2018-12-12 23:14:35 +01:00
Manu Mtz.-Almeida 33e9d3a125 4.5.0-2 2018-12-12 23:03:24 +01:00
Manu Mtz.-Almeida 6020525ad2 chore(): update definitions 2018-12-12 23:02:15 +01:00
Manu Mtz.-Almeida b3a147bb89 4.5.0-1 2018-12-12 22:28:36 +01:00
Manu Mtz.-Almeida 03bea5cfb4 fix(map): global map 2018-12-12 22:28:01 +01:00
Manu Mtz.-Almeida 3b3e212517 4.5.0-0 2018-12-12 20:58:13 +01:00
Manu Mtz.-Almeida bf2f7059d1 feat(esm): add map loader 2018-12-12 20:56:24 +01:00
Manu Mtz.-Almeida 803641b5ef chore(): update website 2018-11-26 21:59:32 +01:00
Manu Mtz.-Almeida cb0f2b789f 4.4.8 2018-11-26 21:58:47 +01:00
Manu Mtz.-Almeida 696575a925 chore(): update stencil 2018-11-26 21:58:18 +01:00
Manu Mtz.-Almeida c96037ff3f fix(icon): make sure MD is always used by default 2018-11-26 21:58:10 +01:00
Manu Mtz.-Almeida 76f4f6d90b chore(): update website 2018-11-15 18:07:51 +01:00
Manu Mtz.-Almeida 76799e6d2a 4.4.7 2018-11-15 17:37:49 +01:00
Manu Mtz.-Almeida 685c09df15 fix(capacitor): accept 0 as valid status code 2018-11-15 17:37:21 +01:00
Cam Wiegert e8e8216f35 fix: remove unused size custom properties (#635)
This removes the use of two undocumented custom properties from the component styles.

- `--ion-icon-size-large`
- `--ion-icon-size-small`
2018-11-06 10:21:02 -06:00
Neil Kalman 5c9a238abf remove style tag from additional svgs 2018-10-21 14:49:56 +03:00
Neil Kalman 54dde87b47 remove inner style so that --ion-color-base will apply 2018-10-21 14:03:04 +03:00
Kevin Ports 92c579228e Add Ionic referral link to headline 2018-10-19 10:22:41 -05:00
Kevin Ports e080c27251 dev build should look for ts file not js stencil config file 2018-10-18 15:01:43 -05:00
Manu Mtz.-Almeida f3e720c129 chore(): update website 2018-10-14 11:20:19 -05:00
Manu Mtz.-Almeida b9e6dd787e chore(): update website 2018-10-14 11:11:36 -05:00
Manu Mtz.-Almeida d00a1db48e 4.4.6 2018-10-14 11:10:13 -05:00
Manu Mtz.-Almeida 500bd26e56 fix(): remove console log 2018-10-14 11:08:43 -05:00
Manu Mtz.-Almeida 73bc0a596a chore(): update website 2018-10-14 10:59:39 -05:00
Manu Mtz.-Almeida 02e6c71099 4.4.5 2018-10-14 10:58:45 -05:00
Manu Mtz.-Almeida 1445bbd4a9 fix(): scoped css race condition 2018-10-14 10:57:11 -05:00
Adam Bradley c0e2a0498b chore(deps): update node-sass 2018-10-12 13:18:05 -05:00
perry c493761abc docs version bump 2018-10-08 10:07:32 -05:00
perry 4c07e02372 FF bug with this stenicl version 2018-10-05 23:52:52 -05:00
Manu Mtz.-Almeida 354665f069 chore(): update website 2018-09-25 23:41:48 +02:00
Manu Mtz.-Almeida 43b4fff014 4.4.4 2018-09-25 23:36:58 +02:00
Manu Mtz.-Almeida c14505fb28 chore(): update to latest stencil 2018-09-25 23:36:30 +02:00
Manu Mtz.-Almeida 7f4291e460 fix(webpack): fix warning 2018-09-25 22:52:59 +02:00
Manu Mtz.-Almeida f8a367a1c8 4.4.3 2018-08-27 21:08:58 +02:00
Manu Mtz.-Almeida c1bcd61d5a chore(): update stencil 2018-08-27 21:08:27 +02:00
Manu Mtz.-Almeida 9a9aca0ae0 chore(): update website 2018-08-27 19:12:35 +02:00
Manu Mtz.-Almeida fad3fc4580 4.4.2 2018-08-27 19:11:27 +02:00
Manu Mtz.-Almeida 2c36419fd7 chore(): update to latest stencil 2018-08-27 19:10:42 +02:00
Manu Mtz.-Almeida 812b488515 fix(webpack): using file-loader api to bundle svgs in the right place 2018-08-23 19:16:50 +02:00
Manu Mtz.-Almeida bd3a98905f chore(): update website 2018-08-23 17:39:55 +02:00
Manu Mtz.-Almeida 3a226bac77 4.4.1 2018-08-23 17:37:01 +02:00
Manu Mtz.-Almeida 29f812aaaf chore(): update to latest stencil 2018-08-23 17:36:31 +02:00
Manu Mtz.-Almeida 7d3dd41f59 chore(): update website 2018-08-22 22:07:40 +02:00
Manu Mtz.-Almeida 422bda7983 4.4.0 2018-08-22 22:06:49 +02:00
Manu Mtz.-Almeida e7f12e3df4 feat(): generate index.js for webpack 2018-08-22 22:03:19 +02:00
Manu Mtz.-Almeida 28eb1260d5 chore(): update to latest stencil 2018-08-22 22:03:06 +02:00
Manu Mtz.-Almeida 9dc22085ee chore(): updated website 2018-08-02 02:29:17 +02:00
Manu Mtz.-Almeida 3d8457d5df 4.3.0 2018-08-02 02:27:53 +02:00
Manu Mtz.-Almeida c41d08a4fe fix(svg): new scoped css 2018-08-02 02:27:24 +02:00
Manu Mtz.-Almeida 0e737a1aa8 chore(): add tslint rules 2018-07-29 16:27:02 +02:00
Manu Mtz.-Almeida 7bb0d7b232 chore(): update website 2018-07-29 15:24:07 +02:00
Manu Mtz.-Almeida 29a6c8b996 4.2.6 2018-07-29 15:23:07 +02:00
Manu Mtz.-Almeida 0f4438f581 fix(css): fix color conflict 2018-07-29 15:22:31 +02:00
Manu Mtz.-Almeida 1c5211c47c chore(): update website 2018-07-24 01:19:16 +02:00
Manu Mtz.-Almeida b0b67d51dd 4.2.5 2018-07-24 01:17:28 +02:00
Manu Mtz.-Almeida 1c5942ad96 chore(): disable package-lock 2018-07-24 01:14:28 +02:00
Manu Mtz.-Almeida c635b65d75 feat(icon): lazy loading can be disabled 2018-07-24 01:13:44 +02:00
Manu Mtz.-Almeida a15a2f0f89 chore(): update site 2018-06-29 02:30:29 +02:00
Manu Mtz.-Almeida 1a80387c54 4.2.4 2018-06-29 02:25:34 +02:00
Manu Mtz.-Almeida bea74662db fix(icon): always lowercase name 2018-06-29 02:24:25 +02:00
Manu Mtz.-Almeida fcfe309839 chore(): update site 2018-06-29 01:40:26 +02:00
2304 changed files with 39495 additions and 151484 deletions
+11
View File
@@ -0,0 +1,11 @@
# Contributor Code of Conduct
As contributors and maintainers of the Ionicons project, we pledge to respect everyone who contributes by posting issues, updating documentation, submitting pull requests, providing feedback in comments, and any other activities.
Communication through any of Ionic's channels (GitHub, Slack, Forum, IRC, mailing lists, Twitter, etc.) must be constructive and never resort to personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
We promise to extend courtesy and respect to everyone involved in this project regardless of gender, gender identity, sexual orientation, disability, age, race, ethnicity, religion, or level of experience. We expect anyone contributing to the Ionicons project to do the same.
If any member of the community violates this code of conduct, the maintainers of the Ionicons project may take action, removing issues, comments, and PRs or blocking accounts as deemed appropriate.
If you are subject to or witness unacceptable behavior, or have any other concerns, please email us at [hi@ionicframework.com](mailto:hi@ionicframework.com).
+73
View File
@@ -0,0 +1,73 @@
# Contributing
Thanks for your interest in contributing to Ionicons! :tada:
## Contributing Etiquette
Please see our [Contributor Code of Conduct](./CODE_OF_CONDUCT.md) for information on our rules of conduct.
## Creating an Issue
* If you have a question about using Ionicons, please ask on the [Ionic Forum](http://forum.ionicframework.com/) or in the [Ionic Worldwide Slack](http://ionicworldwide.herokuapp.com/) group.
* It is required that you clearly describe the steps necessary to reproduce the issue you are running into. Although we would love to help our users as much as possible, diagnosing issues without clear reproduction steps is extremely time-consuming and simply not sustainable.
* The issue list of this repository is exclusively for bug reports and feature requests. Non-conforming issues will be closed immediately.
* If you think you have found a bug, or have a new feature idea, please start by making sure it hasn't already been [reported](https://github.com/ionic-team/ionicons/issues?utf8=%E2%9C%93&q=is%3Aissue). You can search through existing issues to see if there is a similar one reported. Include closed issues as it may have been closed with a solution.
* Next, [create a new issue](https://github.com/ionic-team/ionicons/issues/new/choose) that thoroughly explains the problem.
## Creating a Pull Request
* We appreciate you taking the time to contribute! Before submitting a pull request, we ask that you please [create an issue](#creating-an-issue) that explains the bug or feature request and let us know that you plan on creating a pull request for it. If an issue already exists, please comment on that issue letting us know you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort.
* Looking for an issue to fix? Make sure to look through our issues with the [help wanted](https://github.com/ionic-team/ionicons/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) label!
### Setup
1. [Download the installer](https://nodejs.org/) for the LTS version of Node.js. This is the best way to also [install npm](https://blog.npmjs.org/post/85484771375/how-to-install-npm#_=_).
2. Fork this repository.
3. Clone your fork.
4. Create a new branch from master for your change.
5. Run `npm install` from the root directory to install dependencies for this package.
6. Run `npm run build` to perform a first time build.
7. [Modify the Icon Component](#modifying-components) if desired.
8. Or, modify and [preview the site](#preview-site).
#### Modifying Components
1. Navigate to the `src/components/` directory and open the `icon` component to modify.
2. Make any changes to the icon component and then [preview the changes](#preview-component-changes).
#### Preview Component Changes
1. Run `npm start` from the root directory to start a local version of the icon test.
2. Modify the icon test as needed in the `index.html` file.
<!-- #### Building Changes
TODO -->
### Submit Pull Request
1. [Create a new pull request](https://github.com/ionic-team/ionicons/compare) with the `master` branch as the `base`. You may need to click on `compare across forks` to find your changes.
2. See the [Creating a pull request from a fork](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) GitHub help article for more information.
3. Please fill out the Pull Request template to the best of your ability and include any issues that are related.
## Updating Documentation
The documentation site for Ionicons is located in the [ionicons-site](https://github.com/ionic-team/ionicons-site) repository.
## License
By contributing your code to the ionic-team/ionicons GitHub Repository, you agree to license your contribution under the MIT license.
+32
View File
@@ -0,0 +1,32 @@
name: 🐛 Bug Report
description: Report a bug in the ion-icon component. Incorrect icons should use the "Incorrect Icon" template instead.
labels: ["triage"]
title: "bug: "
body:
- type: textarea
attributes:
label: Current Behavior
description: A clear description of what the bug is and how it manifests.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: A clear description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Steps to Reproduce
description: Please explain the steps required to duplicate this issue.
validations:
required: true
- type: input
attributes:
label: Code Reproduction URL
description: Please provide an application with the minimum code required to reproduce the issue. This is the best way to ensure this issue is triaged quickly. Issues without a code reproduction may be closed if the Ionic Team cannot reproduce the issue you are reporting.
placeholder: https://github.com/...
- type: textarea
attributes:
label: Additional Information
description: List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc.
@@ -0,0 +1,23 @@
name: 💡 Feature Request
description: Suggest a new feature for the ion-icon component. Icon requests should use the "Icon Request" template instead.
labels: ["triage"]
title: "feat: "
body:
- type: textarea
attributes:
label: Describe Problem
description: A clear and concise description of what the problem is. Ex. I am always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Describe Preferred Solution
description: A clear and concise description of what you want to happen.
- type: textarea
attributes:
label: Describe Alternatives
description: A clear and concise description of any alternative solutions or features you have considered.
- type: textarea
attributes:
label: Additional Information
description: Add any other context or screenshots about the feature request here.
+19
View File
@@ -0,0 +1,19 @@
name: 🚀 Icon Request
description: Request a new icon
labels: ["triage"]
title: "icon request: "
body:
- type: textarea
attributes:
label: Describe the Icon
description: A clear and concise description of the icon you would like added.
validations:
required: true
- type: textarea
attributes:
label: Links to Examples
description: Add links to any examples of the icon in other libraries that you like.
- type: textarea
attributes:
label: Additional Information
description: Add any other context about the icon request here.
+17
View File
@@ -0,0 +1,17 @@
name: 😒 Incorrect Icon
description: Report an incorrect icon
labels: ["triage"]
title: "incorrect icon: "
body:
- type: textarea
attributes:
label: Describe the Issue
description: A clear description of what is wrong with the icon. Please include any relevant screenshots.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: A clear description of what the icon should look like. Please include any relevant screenshots.
validations:
required: true
+93
View File
@@ -0,0 +1,93 @@
triage:
label: triage
dryRun: false
closeAndLock:
labels:
- label: 'ionitron: support'
message: >
Thanks for the issue! This issue appears to be a support request. We use this issue tracker exclusively for
bug reports and feature requests. Please use our [forum](https://forum.ionicframework.com/) for help or
questions about Ionicons.
Thank you for using Ionicons!
- label: 'ionitron: missing template'
message: >
Thanks for the issue! It appears that you have not filled out the provided issue template. We use this issue
template in order to gather more information and further assist you. Please create a new issue and ensure the
template is fully filled out.
Thank you for using Ionicons!
close: true
lock: true
dryRun: false
comment:
labels:
- label: "help wanted"
message: >
This issue has been labeled as `help wanted`. This label is added to issues
that we believe would be good for contributors.
If you'd like to work on this issue, please comment here letting us know that
you would like to submit a pull request for it. This helps us to keep track of
the pull request and make sure there isn't duplicated effort.
For a guide on how to create a pull request and test this project locally to see
your changes, see our [contributing documentation](https://github.com/ionic-team/ionicons/blob/main/.github/CONTRIBUTING.md#creating-a-pull-request).
Thank you!
- label: 'ionitron: needs reproduction'
message: >
Thanks for the issue! This issue has been labeled as `needs reproduction`. This label is added to issues that
need a code reproduction.
Please reproduce this issue and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a
reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.
If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was
not enough for our team to reproduce the issue.
dryRun: false
noReply:
days: 14
maxIssuesPerRun: 100
label: "needs: reply"
responseLabel: triage
exemptProjects: true
exemptMilestones: true
message: >
Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still
an issue with the latest version of Ionicons, please create a new issue and ensure the
template is fully filled out.
Thank you for using Ionicons!
close: true
lock: true
dryRun: false
noReproduction:
days: 14
maxIssuesPerRun: 100
label: "ionitron: needs reproduction"
responseLabel: triage
exemptProjects: true
exemptMilestones: true
message: >
Thanks for the issue! This issue is being closed due to the lack of a code reproduction. If this is still
an issue with the latest version of Ionicons, please create a new issue and ensure the
template is fully filled out.
Thank you for using Ionicons!
close: true
lock: true
dryRun: false
@@ -0,0 +1,34 @@
name: 'Build Ionicons'
description: 'Build Ionicons'
runs:
using: 'composite'
steps:
- uses: actions/checkout@v3
with:
# Checkout the latest commit in this branch
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v3
- name: Cache Node Modules
uses: actions/cache@v3
env:
cache-name: node-modules
with:
path: ./node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./package-lock.json') }}-v1
- name: Install Dependencies
run: npm install
shell: bash
- name: Build
run: npm run build
shell: bash
- uses: ./.github/workflows/actions/upload-archive
with:
name: ionicons-build
output: IoniconsBuild.zip
paths: dist components icons www
- uses: ./.github/workflows/actions/upload-archive
with:
name: ionicons-src
output: IoniconsSrc.zip
paths: src
@@ -0,0 +1,19 @@
name: 'Archive Download'
description: 'Downloads and decompresses an archive from a previous job'
inputs:
path:
description: 'Input archive name'
filename:
description: 'Input file name'
name:
description: 'Archive name'
runs:
using: 'composite'
steps:
- uses: actions/download-artifact@v2
with:
name: ${{ inputs.name }}
path: ${{ inputs.path }}
- name: Exract Archive
run: unzip -q -o ${{ inputs.path }}/${{ inputs.filename }}
shell: bash
@@ -0,0 +1,42 @@
name: 'Release'
description: 'Releases a package'
inputs:
version:
description: 'The type of version to release.'
tag:
description: 'The tag to publish to on NPM.'
working-directory:
description: 'The directory of the package.'
folder:
default: './'
description: 'A folder containing a package.json file.'
token:
description: 'The NPM authentication token required to publish.'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Dependencies
run: npm ci
shell: bash
working-directory: ${{ inputs.working-directory }}
- name: Update Version
run: npm version ${{ inputs.version }} --git-tag-version false
shell: bash
working-directory: ${{ inputs.working-directory }}
- name: Run Build
run: npm run build
shell: bash
working-directory: ${{ inputs.working-directory }}
- name: Prepare NPM Token
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
working-directory: ${{ inputs.working-directory }}
shell: bash
env:
NPM_TOKEN: ${{ inputs.token }}
- name: Publish to NPM
run: npm publish ${{ inputs.folder }} --tag ${{ inputs.tag }}
shell: bash
working-directory: ${{ inputs.working-directory }}
@@ -0,0 +1,86 @@
name: 'Test E2E'
description: 'Test E2E'
inputs:
shard:
description: 'Playwright Test Shard (ex: 2)'
totalShards:
description: 'Playwright total number of test shards (ex: 4)'
update:
description: 'Whether or not to update the reference snapshots'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@v3
- name: Cache Node Modules
uses: actions/cache@v3
env:
cache-name: node-modules
with:
path: ./node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./package-lock.json') }}-v1
- uses: ./.github/workflows/actions/download-archive
with:
name: ionicons-build
path: .
filename: IoniconsBuild.zip
- uses: ./.github/workflows/actions/download-archive
with:
name: ionicons-src
path: .
filename: IoniconsSrc.zip
- name: Install Playwright Dependencies
run: npx playwright install && npx playwright install-deps
shell: bash
- name: Test
if: inputs.update != 'true'
run: npx playwright test --shard=${{ inputs.shard }}/${{ inputs.totalShards }}
shell: bash
- name: Test and Update
id: test-and-update
if: inputs.update == 'true'
# Keep track of the files that were
# changed so they can be correctly restored
# in the combine step.
# To do this, we move only the changed files
# to a separate directory, while preserving the
# directory structure of the source.
# When, we create and archive of these results
# so that the combine step can simply
# unzip and move the changed files into place.
# We have extra logic added so that job runners
# that do not have any new screenshots do not create
# an unnecessary .zip.
run: |
npx playwright test --shard=${{ inputs.shard }}/${{ inputs.totalShards }} --update-snapshots
git add src/\*.png --force
mkdir updated-screenshots
echo 'made dir'
rsync -R --progress $(git diff --name-only --cached) updated-screenshots
echo 'copied images'
if [ -d updated-screenshots ]; then
echo "::set-output name=hasUpdatedScreenshots::$(echo 'true')"
cd updated-screenshots
ls
zip -q -r ../UpdatedScreenshots-${{ inputs.shard }}-${{ inputs.totalShards }}.zip ./
fi
shell: bash
- name: Archive Updated Screenshots
if: inputs.update == 'true' && steps.test-and-update.outputs.hasUpdatedScreenshots == 'true'
uses: actions/upload-artifact@v3
with:
name: updated-screenshots-${{ inputs.shard }}-${{ inputs.totalShards }}
path: UpdatedScreenshots-${{ inputs.shard }}-${{ inputs.totalShards }}.zip
- name: Archive Test Results
# The always() ensures that this step
# runs even if the previous step fails.
# We want the test results to be archived
# even if the test fails in the previous
# step, otherwise there would be no way
# to debug these tests.
if: always()
uses: ./.github/workflows/actions/upload-archive
with:
name: test-results-${{ inputs.shard }}-${{ inputs.totalShards }}
output: TestResults-${{ inputs.shard }}-${{ inputs.totalShards }}.zip
paths: playwright-report
@@ -0,0 +1,22 @@
name: 'Test Spec'
description: 'Test Spec'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@v3
- name: Cache Node Modules
uses: actions/cache@v3
env:
cache-name: node-modules
with:
path: ./node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./package-lock.json') }}-v1
- uses: ./.github/workflows/actions/download-archive
with:
name: ionicons-build
path: .
filename: IoniconsBuild.zip
- name: Test
run: npm run test.spec -- --ci
shell: bash
@@ -0,0 +1,38 @@
name: 'Update Reference Screenshots'
description: 'Update Reference Screenshots'
on:
workflow_dispatch:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@v3
- uses: actions/download-artifact@v3
with:
path: ./artifacts
- name: Extract Archives
# This finds all .zip files in the ./artifacts
# directory, including nested directories.
# It then unzips every .zip to the root directory
run: |
find . -type f -name 'UpdatedScreenshots-*.zip' -exec unzip -q -o -d ../ {} \;
shell: bash
working-directory: ./artifacts
- name: Push Screenshots
# Configure user as Ionitron
# and push only the changed .png snapshots
# to the remote branch.
# Screenshots are in .gitignore
# to prevent local screenshots from getting
# pushed to Git. As a result, we need --force
# here so that CI generated screenshots can
# get added to git. Screenshot ground truths
# should only be added via this CI process.
run: |
git config user.name ionitron
git config user.email hi@ionicframework.com
git add src/\*.png --force
git commit -m "chore(): add updated snapshots"
git push
shell: bash
@@ -0,0 +1,19 @@
name: 'Archive Upload'
description: 'Compresses and uploads an archive to be reused across jobs'
inputs:
paths:
description: 'Paths to files or directories to archive'
output:
description: 'Output file name'
name:
description: 'Archive name'
runs:
using: 'composite'
steps:
- name: Create Archive
run: zip -q -r ${{ inputs.output }} ${{ inputs.paths }}
shell: bash
- uses: actions/upload-artifact@v2
with:
name: ${{ inputs.name }}
path: ${{ inputs.output }}
+71
View File
@@ -0,0 +1,71 @@
name: 'Ionicons Build'
on:
pull_request:
branches: [ '**' ]
# When pushing a new commit we should
# cancel the previous test run to not
# consume more runners than we need to.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# Checkout the latest commit in this branch
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/workflows/actions/build-core
test-spec:
needs: [build-core]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/test-spec
test-e2e:
strategy:
# This ensures that all screenshot shard
# failures are reported so the dev can
# review everything at once.
fail-fast: false
matrix:
# Divide the tests into n buckets
# and run those buckets in parallel.
# To increase the number of shards,
# add new items to the shard array
# and change the value of totalShards
# to be the length of the shard array.
shard: [1, 2, 3]
totalShards: [3]
needs: [build-core]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/test-e2e
with:
shard: ${{ matrix.shard }}
totalShards: ${{ matrix.totalShards }}
# Screenshots are required to pass
# in order for the branch to be merge
# eligible. However, the screenshot tests
# are run on n runners where n can change
# over time. The verify-screenshots step allows
# us to have a required status check for screenshot
# results without having to manually add each
# matrix run in the branch protection rules
# Source: https://github.community/t/status-check-for-a-matrix-jobs/127354
verify-e2e:
if: ${{ always() }}
needs: test-e2e
runs-on: ubuntu-latest
steps:
- name: Check build matrix status
if: ${{ needs.test-e2e.result != 'success' }}
run: exit 1
+36
View File
@@ -0,0 +1,36 @@
name: 'Ionicons Dev Build'
on:
workflow_dispatch:
jobs:
create-dev-hash:
runs-on: ubuntu-latest
outputs:
dev-hash: ${{ steps.create-dev-hash.outputs.DEV_HASH }}
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm ci --no-package-lock
shell: bash
- id: create-dev-hash
name: Create Dev Hash
run: |
echo "DEV_HASH=$(node ./scripts/bump-version.js)-dev.1$(date +%s).1$(git log -1 --format=%H | cut -c 1-7)" >> $GITHUB_OUTPUT
shell: bash
release-ionicons:
needs: [create-dev-hash]
uses: ./.github/workflows/release-ionicons.yml
with:
tag: dev
version: ${{ needs.create-dev-hash.outputs.dev-hash }}
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
get-build:
name: Get your dev build!
runs-on: ubuntu-latest
needs: [create-dev-hash, release-ionicons]
steps:
- run: echo ${{ needs.create-dev-hash.outputs.dev-hash }}
+28
View File
@@ -0,0 +1,28 @@
name: 'Release Ionicons'
on:
workflow_call:
inputs:
version:
description: 'The type of version to release.'
type: string
required: true
tag:
description: 'The tag to publish to on NPM.'
type: string
required: true
secrets:
NPM_TOKEN:
required: true
jobs:
release-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/publish-npm
with:
tag: ${{ inputs.tag }}
version: ${{ inputs.version }}
working-directory: './'
token: ${{ secrets.NPM_TOKEN }}
+62
View File
@@ -0,0 +1,62 @@
name: 'Ionicons Production Release'
on:
workflow_dispatch:
inputs:
version:
required: true
type: choice
description: Which version should be published?
options:
- patch
- minor
- major
tag:
required: true
type: choice
description: Which npm tag should this be published to?
options:
- latest
jobs:
release-ionicons:
uses: ./.github/workflows/release-ionicons.yml
with:
tag: ${{ inputs.tag }}
version: ${{ inputs.version }}
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
finalize-release:
needs: [release-ionicons]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.IONITRON_TOKEN }}
fetch-depth: 0
- name: Configure Identity
# Commits from github-actions do not
# trigger other GitHub Actions. As a result,
# we publish releases from Ionitron instead
# so actions run when merging the release branch
# back into main.
run: |
git config user.name ionitron
git config user.email hi@ionicframework.com
shell: bash
- name: Create GitHub Release
run: lerna version ${{ inputs.version }} --yes --force-publish='*' --conventional-commits --create-release github
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
# Lerna does not automatically bump versions
# of Ionicons dependencies that have changed,
# so we do that here.
- name: Bump Package Lock
run: |
lerna exec "npm install --package-lock-only --legacy-peer-deps"
git add .
git commit -m "chore(): update package lock files"
git push
shell: bash
+52
View File
@@ -0,0 +1,52 @@
name: 'Update Reference Screenshots'
on:
workflow_dispatch:
jobs:
build-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/build-core
test-e2e:
strategy:
# This ensures that all screenshot shard
# failures are reported so the dev can
# review everything at once.
fail-fast: false
matrix:
# Divide the tests into n buckets
# and run those buckets in parallel.
# To increase the number of shards,
# add new items to the shard array
# and change the value of totalShards
# to be the length of the shard array.
shard: [1, 2, 3]
totalShards: [3]
needs: [build-core]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/test-e2e
with:
shard: ${{ matrix.shard }}
totalShards: ${{ matrix.totalShards }}
update: true
update-reference-screenshots:
runs-on: ubuntu-latest
needs: [test-e2e]
steps:
- uses: actions/checkout@v2
# Normally, we could just push with the
# default GITHUB_TOKEN, but that will
# not cause the build workflow
# to re-run. We use Ionitron's
# Personal Access Token instead
# to allow for this build workflow
# to run when the screenshots are pushed.
with:
token: ${{ secrets.IONITRON_TOKEN }}
- uses: ./.github/workflows/actions/update-reference-screenshots
+10 -1
View File
@@ -8,10 +8,19 @@ log.txt
*.sublime-project
*.sublime-workspace
.idea/
.sass-cache/
.versions/
.vscode/
/components/
node_modules/
tmp/
dist/
icons/
.DS_Store
scripts/*.js
!scripts/install-loader.js
www/
/test-results/
/playwright-report/
/playwright/.cache/
/src/**/*-snapshots
+13
View File
@@ -0,0 +1,13 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"quoteProps": "consistent",
"printWidth": 120,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
-5
View File
@@ -1,5 +0,0 @@
plugins:
- removeAttrs:
attrs:
- 'fill'
- 'stroke'
+100
View File
@@ -0,0 +1,100 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [7.1.0](https://github.com/ionic-team/ionicons/compare/v7.0.0...v7.1.0) (2023-03-23)
### Features
* chevron-expand and chevron-collapse icons ([#1198](https://github.com/ionic-team/ionicons/issues/1198)) ([cdb0d80](https://github.com/ionic-team/ionicons/commit/cdb0d80cde1dc5dd90fb2a1c3b4fa31d68294821))
# [7.1.0](https://github.com/ionic-team/ionicons/compare/v7.0.0...v7.1.0) (2023-03-23)
### Features
* chevron-expand and chevron-collapse icons ([#1198](https://github.com/ionic-team/ionicons/issues/1198)) ([cdb0d80](https://github.com/ionic-team/ionicons/commit/cdb0d80cde1dc5dd90fb2a1c3b4fa31d68294821))
# [7.0.0](https://github.com/ionic-team/ionicons/compare/v6.1.3...v7.0.0) (2023-03-07)
**Migration Note:** Developers should ensure that their `<ion-icon>` usages have either `aria-label` or `aria-hidden` to avoid accessibility issues. See https://ionic.io/ionicons/usage for more information.
### Bug Fixes
* **icon:** remove auto-generated aria-label ([#1170](https://github.com/ionic-team/ionicons/issues/1170)) ([98975ec](https://github.com/ionic-team/ionicons/commit/98975ec0f54b825c33f528683834a5e38298d598))
## [6.1.3](https://github.com/ionic-team/ionicons/compare/v6.1.2...v6.1.3) (2023-02-09)
### Bug Fixes
* DomParser usage in SSR ([#1180](https://github.com/ionic-team/ionicons/issues/1180)) ([8c412f6](https://github.com/ionic-team/ionicons/commit/8c412f67486d6cc9725de63f0c15b6c6cd8d47ce)), closes [#1179](https://github.com/ionic-team/ionicons/issues/1179)
## [6.1.2](https://github.com/ionic-team/ionicons/compare/v6.1.1...v6.1.2) (2023-02-08)
### Bug Fixes
* **icon:** load base64 data urls ([#1172](https://github.com/ionic-team/ionicons/issues/1172)) ([72f0936](https://github.com/ionic-team/ionicons/commit/72f09369de76b00697437f54d919782307843a87))
* **icon:** md and ios properties are reactive ([#1174](https://github.com/ionic-team/ionicons/issues/1174)) ([65bcbb4](https://github.com/ionic-team/ionicons/commit/65bcbb477734e33901a6f0c650d3f1f2c3084fca)), closes [#802](https://github.com/ionic-team/ionicons/issues/802)
## [6.1.1](https://github.com/ionic-team/ionicons/compare/v6.1.0...v6.1.1) (2023-01-18)
### Bug Fixes
* **icon:** remove <title> during build step ([#1169](https://github.com/ionic-team/ionicons/issues/1169)) ([93b4fa4](https://github.com/ionic-team/ionicons/commit/93b4fa449b0a072b24ef920fe73e1cb04d6f9b43)), closes [#1168](https://github.com/ionic-team/ionicons/issues/1168)
## [6.1.1](https://github.com/ionic-team/ionicons/compare/v6.1.0...v6.1.1) (2023-01-18)
### Bug Fixes
* **icon:** remove <title> during build step ([#1169](https://github.com/ionic-team/ionicons/issues/1169)) ([93b4fa4](https://github.com/ionic-team/ionicons/commit/93b4fa449b0a072b24ef920fe73e1cb04d6f9b43)), closes [#1168](https://github.com/ionic-team/ionicons/issues/1168)
# [6.1.0](https://github.com/ionic-team/ionicons/compare/v6.0.4...v6.1.0) (2023-01-17)
### Bug Fixes
* **icon:** remove default <title> ([#1166](https://github.com/ionic-team/ionicons/issues/1166)) ([e0efa5f](https://github.com/ionic-team/ionicons/commit/e0efa5f28d61adcaf2e1fa121f7e2f10cfad6d65)), closes [#838](https://github.com/ionic-team/ionicons/issues/838) [#1049](https://github.com/ionic-team/ionicons/issues/1049) [#1082](https://github.com/ionic-team/ionicons/issues/1082)
# [6.1.0](https://github.com/ionic-team/ionicons/compare/v6.0.4...v6.1.0) (2023-01-17)
### Bug Fixes
* **icon:** remove default <title> ([#1166](https://github.com/ionic-team/ionicons/issues/1166)) ([e0efa5f](https://github.com/ionic-team/ionicons/commit/e0efa5f28d61adcaf2e1fa121f7e2f10cfad6d65)), closes [#838](https://github.com/ionic-team/ionicons/issues/838) [#1049](https://github.com/ionic-team/ionicons/issues/1049) [#1082](https://github.com/ionic-team/ionicons/issues/1082)
-1
View File
@@ -1 +0,0 @@
ionicons.com
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

-1
View File
File diff suppressed because one or more lines are too long
-5
View File
@@ -1,5 +0,0 @@
/*!
* Built with http://stenciljs.com
* 2018-05-28T10:27:31
*/
!function(e,t,r,o,s,c,n,i,l,a,u,d,h,p){for((u=e.DocsSite=e.DocsSite||{}).components=l,(h=l.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=h.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var o=e["s-apps"],s=0,c=0;c<o.length;c++)if(e[o[c]].componentOnReady){if(e[o[c]].componentOnReady(t,r))return;s++}if(s<o.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),s=s||u.resourcesUrl,d=(h=t.querySelectorAll("script")).length-1;d>=0&&!(p=h[d]).src&&!p.hasAttribute("data-resources-url");d--);h=p.getAttribute("data-resources-url"),!s&&h&&(s=h),!s&&p.src&&(s=(h=p.src.split("/").slice(0,-1)).join("/")+(h.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,o){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=s+"docssite.xipa2scg.js":(d.src=s+"docssite.rhxn6s8r.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",s),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","js9iloau",1],["header-bar","cezdrpl9",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","bjphfriz",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","j5rbuqbp",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","cezdrpl9",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","bjphfriz",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","cezdrpl9",1,[["component",1,0,1,2],["componentProps",1],["componentUpdated",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupMatch",1],["history",1],["isServer",3,0,0,0,"isServer"],["location",1],["match",5],["queue",3,0,0,0,"queue"],["routeRender",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","ikjvkszj",0,[["activeClass",1,0,"active-class",2],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["el",7],["exact",1,0,1,3],["history",1],["location",1],["match",5],["root",1,0,1,2],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-route-switch","cezdrpl9",0,[["el",7],["group",1,0,1,2],["location",1],["queue",3,0,0,0,"queue"],["scrollTopOffset",1,0,"scroll-top-offset",4]]],["stencil-router","cezdrpl9",0,[["history",5],["historyType",1,0,"history-type",2],["location",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","bjphfriz",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","dnu5bejp",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:e}=window.DocsSite;var n="/",t="./",r=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function o(e){return e.replace(/([=!:$/()])/g,"\\$1")}function a(e){return e&&e.sensitive?"":"i"}function s(e,c,u){return e instanceof RegExp?function(e,n){if(!n)return e;var t=e.source.match(/\((?!\?)/g);if(t)for(var r=0;r<t.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}(e,c):Array.isArray(e)?function(e,n,t){for(var r=[],i=0;i<e.length;i++)r.push(s(e[i],n,t).source);return new RegExp("(?:"+r.join("|")+")",a(t))}(e,c,u):function(e,s,c){return function(e,r,o){for(var s=(o=o||{}).strict,c=!1!==o.end,u=i(o.delimiter||n),l=o.delimiters||t,f=[].concat(o.endsWith||[]).map(i).concat("$").join("|"),d="",p=!1,h=0;h<e.length;h++){var m=e[h];if("string"==typeof m)d+=i(m),p=h===e.length-1&&l.indexOf(m[m.length-1])>-1;else{var g=i(m.prefix),v=m.repeat?"(?:"+m.pattern+")(?:"+g+"(?:"+m.pattern+"))*":m.pattern;r&&r.push(m),m.optional?m.partial?d+=g+"("+v+")?":d+="(?:"+g+"("+v+"))?":d+=g+"("+v+")"}}return c?(s||(d+="(?:"+u+")?"),d+="$"===f?"$":"(?="+f+")"):(s||(d+="(?:"+u+"(?="+f+"))?"),p||(d+="(?="+u+"|"+f+")")),new RegExp("^"+d,a(o))}(function(e,a){for(var s,c=[],u=0,l=0,f="",d=a&&a.delimiter||n,p=a&&a.delimiters||t,h=!1;null!==(s=r.exec(e));){var m=s[0],g=s[1],v=s.index;if(f+=e.slice(l,v),l=v+m.length,g)f+=g[1],h=!0;else{var w="",y=e[l],x=s[2],O=s[3],E=s[4],b=s[5];if(!h&&f.length){var j=f.length-1;p.indexOf(f[j])>-1&&(w=f[j],f=f.slice(0,j))}f&&(c.push(f),f="",h=!1);var A=""!==w&&void 0!==y&&y!==w,$="+"===b||"*"===b,R="?"===b||"*"===b,S=w||d,_=O||E;c.push({name:x||u++,prefix:w,delimiter:S,optional:R,repeat:$,partial:A,pattern:_?o(_):"[^"+i(S)+"]+?"})}}return(f||l<e.length)&&c.push(f+e.substr(l)),c}(e,c),s,c)}(e,c,u)}const c={},u=1e4;let l=0;function f(e,n={}){"string"==typeof n&&(n={path:n});const{path:t="/",exact:r=!1,strict:i=!1}=n,{re:o,keys:a}=function(e,n){const t=`${n.end}${n.strict}`,r=c[t]||(c[t]={}),i=JSON.stringify(e);if(r[i])return r[i];const o=[],a={re:s(e,o,n),keys:o};return l<u&&(r[i]=a,l+=1),a}(t,{end:r,strict:i}),f=o.exec(e);if(!f)return null;const[d,...p]=f,h=e===d;return r&&!h?null:{path:t,url:"/"===t&&""===d?"/":d,isExact:h,params:a.reduce((e,n,t)=>(e[n.name]=p[t],e),{})}}var d=function(n,t=function(n,t){return e("context-consumer",{subscribe:n,renderer:t})}){let r=new Map,i={location:null,titleSuffix:"",root:"/",history:null};function o(e,n){Array.isArray(e)?[...e].forEach(e=>{n[e]=i[e]}):n[e]=Object.assign({},i),n.forceUpdate()}function a(e){return n=>{r.has(n)||(r.set(n,e),o(e,n))}}function s(e,n){return a(n)(e),function(){r.delete(e)}}return{Provider:function({state:e,children:n}){return i=e,r.forEach(o),n},Consumer:function({children:e}){return t(s,e[0])},wrapConsumer:function(n,t){const r=n.is;return n=>{var{children:i}=n,o=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)n.indexOf(r[i])<0&&(t[r[i]]=e[r[i]])}return t}(n,["children"]);return e(r,Object.assign({ref:a(t)},o),i)}},injectProps:function(e,n){let t=null;const r=Object.keys(e.properties).find(n=>1==e.properties[n].elementRef);if(void 0==r)throw new Error(`Please ensure that your Component ${e.is} has an attribtue with "@Element" decorator. `+"This is required to be able to inject properties.");const i=e.prototype.componentWillLoad;e.prototype.componentWillLoad=function(){if(t=s(this[r],n),i)return i.bind(this)()};const o=e.prototype.componentDidUnload;e.prototype.componentDidUnload=function(){if(t(),o)return o.bind(this)()}}}}();const p=!("undefined"==typeof window||!window.document||!window.document.createElement),h=(e,n,t)=>e.addEventListener?e.addEventListener(n,t,!1):e.attachEvent("on"+n,t),m=(e,n,t)=>e.removeEventListener?e.removeEventListener(n,t,!1):e.detachEvent("on"+n,t),g=(e,n)=>n(window.confirm(e)),v=e=>e.metaKey||e.altKey||e.ctrlKey||e.shiftKey,w=()=>{const e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history},y=()=>-1===window.navigator.userAgent.indexOf("Trident"),x=()=>-1===window.navigator.userAgent.indexOf("Firefox"),O=e=>void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS"),E=e=>{try{var n=window[e],t="__storage_test__";return n.setItem(t,t),n.removeItem(t),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==n.length}};export{f as a,d as b,E as c,p as d,h as e,m as f,g,w as h,y as i,O as j,x as k,v as l};
File diff suppressed because one or more lines are too long
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("d83fvjds",["exports"],function(e){var n=window.DocsSite.h,o=function(){function e(){}return e.prototype.render=function(){return n("main",null,n("div",{class:"container"},n("h1",null,"Woops! We can't find the page your looking for."),n("p",null,"Head on back to the ",n("stencil-route-link",{url:"/",class:"block"},"Icons page"),".")),n("footer-bar",null))},Object.defineProperty(e,"is",{get:function(){return"notfound-page"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"notfound-page{text-align:center;height:100%}notfound-page h1{max-width:500px}notfound-page a{font-weight:600}"},enumerable:!0,configurable:!0}),e}();e.NotfoundPage=o,Object.defineProperty(e,"__esModule",{value:!0})});
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:e}=window.DocsSite;class n{render(){return e("main",null,e("div",{class:"container"},e("h1",null,"Woops! We can't find the page your looking for."),e("p",null,"Head on back to the ",e("stencil-route-link",{url:"/",class:"block"},"Icons page"),".")),e("footer-bar",null))}static get is(){return"notfound-page"}static get style(){return"notfound-page{text-align:center;height:100%}notfound-page h1{max-width:500px}notfound-page a{font-weight:600}"}}export{n as NotfoundPage};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-4
View File
@@ -1,4 +0,0 @@
/*! Built with http://stenciljs.com */
(function(namespace,resourcesUrl){"use strict";
})("DocsSite");
-49
View File
@@ -1,49 +0,0 @@
{
"namespace": "DocsSite",
"fsNamespace": "docssite",
"loader": "../docssite.js",
"global": "docssite.global.js",
"core": "docssite.rhxn6s8r.js",
"corePolyfilled": "docssite.xipa2scg.js",
"components": {
"footer-bar": {
"$": "js9iloau"
},
"header-bar": {
"$": "cezdrpl9"
},
"icon-list": {
"$": "bjphfriz"
},
"icon-search": {
"$": "j5rbuqbp"
},
"ionicons-site": {
"$": "cezdrpl9"
},
"landing-page": {
"$": "bjphfriz"
},
"notfound-page": {
"$": "d83fvjds"
},
"stencil-route": {
"$": "cezdrpl9"
},
"stencil-route-link": {
"$": "ikjvkszj"
},
"stencil-route-switch": {
"$": "cezdrpl9"
},
"stencil-router": {
"$": "cezdrpl9"
},
"toast-bar": {
"$": "bjphfriz"
},
"usage-page": {
"$": "dnu5bejp"
}
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("ikjvkszj",["exports","./chunk-bb73ff96.js"],function(t,e){var i=window.DocsSite.h,r=function(){function t(){this.unsubscribe=function(){},this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}return t.prototype.componentWillLoad=function(){this.computeMatch()},t.prototype.computeMatch=function(){this.location&&(this.match=e.matchPath(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))},t.prototype.handleClick=function(t){if(!e.isModifiedEvent(t))return t.preventDefault(),this.history.push(this.getUrl(this.url))},t.prototype.getUrl=function(t){return"/"==t.charAt(0)&&"/"==this.root.charAt(this.root.length-1)?this.root.slice(0,this.root.length-1)+t:this.root+t},t.prototype.render=function(){var t,e={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(e.class[this.anchorClass]=!0),"a"===this.custom&&(e=Object.assign({},e,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),i(this.custom,Object.assign({},e),i("slot",null))},Object.defineProperty(t,"is",{get:function(){return"stencil-route-link"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeClass:{type:String,attr:"active-class"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}},enumerable:!0,configurable:!0}),t}();e.ActiveRouter.injectProps(r,["history","location","root"]),t.StencilRouteLink=r,Object.defineProperty(t,"__esModule",{value:!0})});
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.DocsSite;import{a as s,l as a,b as i}from"./chunk-52f07037.js";class r{constructor(){this.unsubscribe=(()=>{}),this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}componentWillLoad(){this.computeMatch()}computeMatch(){this.location&&(this.match=s(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))}handleClick(t){if(!a(t))return t.preventDefault(),this.history.push(this.getUrl(this.url))}getUrl(t){return"/"==t.charAt(0)&&"/"==this.root.charAt(this.root.length-1)?this.root.slice(0,this.root.length-1)+t:this.root+t}render(){let s={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(s.class[this.anchorClass]=!0),"a"===this.custom&&(s=Object.assign({},s,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),t(this.custom,Object.assign({},s),t("slot",null))}static get is(){return"stencil-route-link"}static get properties(){return{activeClass:{type:String,attr:"active-class"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}}}i.injectProps(r,["history","location","root"]);export{r as StencilRouteLink};
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("j5rbuqbp",["exports"],function(e){var t=window.DocsSite.h,r=function(){function e(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}return e.prototype.watchQuery=function(){this.showClearCtrl=this.query.length>0},e.prototype.searchListener=function(e){if(27!==e.keyCode){var t=e.target.value;this.hasSearched.emit(t)}else this.handleClear()},e.prototype.handleClear=function(){this.hasSearched.emit("")},e.prototype.componentWillLoad=function(){this.watchQuery()},e.prototype.render=function(){return t("div",{class:"search-input search-input--"+this.size},t("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),t("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))},Object.defineProperty(e,"is",{get:function(){return"icon-search"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"keyup",method:"searchListener"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px 30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px 50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"},enumerable:!0,configurable:!0}),e}();e.IconSearch=r,Object.defineProperty(e,"__esModule",{value:!0})});
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:e}=window.DocsSite;class t{constructor(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}watchQuery(){this.showClearCtrl=this.query.length>0}searchListener(e){if(27===e.keyCode)return void this.handleClear();const t=e.target.value;this.hasSearched.emit(t)}handleClear(){this.hasSearched.emit("")}componentWillLoad(){this.watchQuery()}render(){return e("div",{class:`search-input search-input--${this.size}`},e("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),e("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))}static get is(){return"icon-search"}static get properties(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}}static get events(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"keyup",method:"searchListener"}]}static get style(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px 30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px 50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"}}export{t as IconSearch};
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("js9iloau",["exports"],function(e){var o=window.DocsSite.h,r=function(){function e(){}return e.prototype.render=function(){return o("footer",null,o("div",{class:"container"},o("div",{class:"footer__open-source"},o("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},o("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),o("p",null,"Released under ",o("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),o("div",{class:"footer-menu"},o("a",{href:"cheatsheet.html"},"Cheatsheet"),o("a",{href:"/v1"},"v1"),o("a",{href:"/v2"},"v2"),o("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),o("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))},Object.defineProperty(e,"is",{get:function(){return"footer-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"},enumerable:!0,configurable:!0}),e}();e.FooterBar=r,Object.defineProperty(e,"__esModule",{value:!0})});
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:e}=window.DocsSite;class o{render(){return e("footer",null,e("div",{class:"container"},e("div",{class:"footer__open-source"},e("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},e("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),e("p",null,"Released under ",e("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),e("div",{class:"footer-menu"},e("a",{href:"cheatsheet.html"},"Cheatsheet"),e("a",{href:"/v1"},"v1"),e("a",{href:"/v2"},"v2"),e("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),e("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))}static get is(){return"footer-bar"}static get style(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"}}export{o as FooterBar};
-3946
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
File diff suppressed because one or more lines are too long
-1
View File
File diff suppressed because one or more lines are too long
Binary file not shown.
+3 -3
View File
@@ -1,13 +1,13 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2018-6-14: Created with FontForge (http://fontforge.org)
2019-5-24: Created with FontForge (http://fontforge.org)
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20160407 at Thu Jun 14 08:50:34 2018
Created by FontForge 20160407 at Fri May 24 15:45:40 2019
By Adam Bradley
Copyright (c) 2018, Adam Bradley
Copyright (c) 2019, Adam Bradley
</metadata>
<defs>
<font id="Ionicons" horiz-adv-x="416" >

Before

Width:  |  Height:  |  Size: 305 KiB

After

Width:  |  Height:  |  Size: 305 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
-7
View File
@@ -1,7 +0,0 @@
<!DOCTYPE html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <title>Ionicons: The premium icon pack for Ionic Framework</title> <meta name="author" content="Ionic"> <meta name="description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> <meta name="format-detection" content="telephone=no"> <meta name="msapplication-tap-highlight" content="no"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="manifest" href="/manifest.json"> <meta property="og:title" content="Ionicons: The premium icon pack for Ionic Framework"> <meta property="og:description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta property="og:type" content="website"> <meta property="og:url" content="https://ionicons.com/"> <meta property="og:image" content="/assets/img/meta/ionicons-og-image.png"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:creator" content="@ionicframework"> <link rel="apple-touch-icon" sizes="57x57" href="/assets/img/meta/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/assets/img/meta/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/assets/img/meta/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/assets/img/meta/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/assets/img/meta/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/assets/img/meta/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/assets/img/meta/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/assets/img/meta/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/meta/apple-icon-180x180.png"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-16x16.png" sizes="16x16"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-32x32.png" sizes="32x32"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-96x96.png" sizes="96x96"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-70x70.png"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-144x144.png"> <meta name="theme-color" content="#16161d"> <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:500" rel="stylesheet"> <link rel="stylesheet" href="/css/ionicons.min.css"> <link rel="stylesheet" href="/build/docssite.css"> <script data-resources-url="/build/docssite/">/*!
* Built with http://stenciljs.com
* 2018-05-28T10:27:31
*/
!function(e,t,r,o,s,c,n,i,l,a,u,d,h,p){for((u=e.DocsSite=e.DocsSite||{}).components=l,(h=l.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=h.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var o=e["s-apps"],s=0,c=0;c<o.length;c++)if(e[o[c]].componentOnReady){if(e[o[c]].componentOnReady(t,r))return;s++}if(s<o.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),s=s||u.resourcesUrl,d=(h=t.querySelectorAll("script")).length-1;d>=0&&!(p=h[d]).src&&!p.hasAttribute("data-resources-url");d--);h=p.getAttribute("data-resources-url"),!s&&h&&(s=h),!s&&p.src&&(s=(h=p.src.split("/").slice(0,-1)).join("/")+(h.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,o){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=s+"docssite.xipa2scg.js":(d.src=s+"docssite.rhxn6s8r.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",s),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","js9iloau",1],["header-bar","cezdrpl9",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","bjphfriz",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","j5rbuqbp",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","cezdrpl9",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","bjphfriz",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","cezdrpl9",1,[["component",1,0,1,2],["componentProps",1],["componentUpdated",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupMatch",1],["history",1],["isServer",3,0,0,0,"isServer"],["location",1],["match",5],["queue",3,0,0,0,"queue"],["routeRender",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","ikjvkszj",0,[["activeClass",1,0,"active-class",2],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["el",7],["exact",1,0,1,3],["history",1],["location",1],["match",5],["root",1,0,1,2],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-route-switch","cezdrpl9",0,[["el",7],["group",1,0,1,2],["location",1],["queue",3,0,0,0,"queue"],["scrollTopOffset",1,0,"scroll-top-offset",4]]],["stencil-router","cezdrpl9",0,[["history",5],["historyType",1,0,"history-type",2],["location",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","bjphfriz",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","dnu5bejp",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);</script>
</head>
<body> <ionicons-site></ionicons-site> <script>!function(e,a,n,t,c,g,o){e.GoogleAnalyticsObject="ga",e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,g=a.createElement(n),o=a.getElementsByTagName(n)[0],g.async=1,g.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(g,o)}(window,document,"script"),ga("create","UA-44023830-2","ionicons.com"),ga("send","pageview");</script> </body></html>
Binary file not shown.
-5
View File
@@ -1,5 +0,0 @@
/*!
* Built with http://stenciljs.com
* 2018-05-28T10:27:20
*/
!function(e,t,n,r,i,o,s,c,u,a,l,d,p,m){for((l=e.ionicons=e.ionicons||{}).components=u,(p=u.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=p.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,n){(e["s-apps"]=e["s-apps"]||[]).push("ionicons"),n.componentOnReady||(n.componentOnReady=function(){var t=this;function n(n){if(t.nodeName.indexOf("-")>0){for(var r=e["s-apps"],i=0,o=0;o<r.length;o++)if(e[r[o]].componentOnReady){if(e[r[o]].componentOnReady(t,n))return;i++}if(i<r.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,n])}n(null)}return e.Promise?new e.Promise(n):{then:n}})}(e,0,a),i=i||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(m=p[d]).src&&!m.hasAttribute("data-resources-url");d--);p=m.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&m.src&&(i=(p=m.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"ionicons/"),d=t.createElement("script"),function(e,t,n,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in n)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=i+"ionicons.arzdsu2j.js":(d.src=i+"ionicons.oujamam7.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",i),d.setAttribute("data-namespace","ionicons"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["ion-icon","blxj30di",1,[["ariaLabel",2,1,"aria-label",2],["color",1,0,1,2],["doc",3,0,0,0,"document"],["el",7],["icon",1,0,1,2],["ios",1,0,1,2],["isServer",3,0,0,0,"isServer"],["isVisible",5],["md",1,0,1,2],["mode",1,0,1,2],["name",1,0,1,2],["resourcesUrl",3,0,0,0,"resourcesUrl"],["size",1,0,1,2],["src",1,0,1,2],["svgContent",5],["win",3,0,0,0,"window"]],1]],HTMLElement.prototype);
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
ionicons.loadBundle("blxj30di",["exports"],function(e){var t=window.ionicons.h,i=function(){function e(){this.isVisible=!1}return e.prototype.componentWillLoad=function(){var e=this;this.waitUntilVisible(this.el,"50px",function(){e.isVisible=!0,e.loadIcon()})},e.prototype.componentDidUnload=function(){this.io&&(this.io.disconnect(),this.io=void 0)},e.prototype.waitUntilVisible=function(e,t,i){var n=this;if(this.win&&this.win.IntersectionObserver){var r=this.io=new this.win.IntersectionObserver(function(e){e[0].isIntersecting&&(r.disconnect(),n.io=void 0,i())},{rootMargin:t});r.observe(e)}else i()},e.prototype.loadIcon=function(){var e=this;if(!this.isServer&&this.isVisible){var t=this.getUrl();t&&function(e){var t=n.get(e);return t||(t=fetch(e,{cache:"force-cache"}).then(function(e){return e.ok?e.text():Promise.resolve(null)}),n.set(e,t)),t}(t).then(function(t){e.svgContent=function(e,t,i){if(t){var n=e.createDocumentFragment(),r=e.createElement("div");r.innerHTML=t,n.appendChild(r);for(var o=r.childNodes.length-1;o>=0;o--)"svg"!==r.childNodes[o].nodeName.toLowerCase()&&r.removeChild(r.childNodes[o]);var s=r.firstElementChild;if(s&&"svg"===s.nodeName.toLowerCase()&&(i&&s.setAttribute(i,""),function e(t){if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(var i=0;i<t.attributes.length;i++){var n=t.attributes[i].value;if("string"==typeof n&&0===n.toLowerCase().indexOf("on"))return!1}for(i=0;i<t.childNodes.length;i++)if(!e(t.childNodes[i]))return!1}return!0}(s)))return r.innerHTML}return""}(e.doc,t,e.el["s-sc"])})}if(!this.ariaLabel){var i=r(this.name,this.mode,this.ios,this.md);i&&(this.ariaLabel=i.replace("ios-","").replace("md-","").replace(/\-/g," "))}},e.prototype.getUrl=function(){var e=o(this.src);return e||((e=r(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(e):(e=o(this.icon))?e:(e=r(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(e):null)},e.prototype.getNamedUrl=function(e){return this.resourcesUrl+"svg/"+e+".svg"},e.prototype.hostData=function(){var e;return{role:"img",class:Object.assign({},function(e){var t;return e?((t={"ion-color":!0})["ion-color-"+e]=!0,t):null}(this.color),(e={},e["icon-"+this.size]=!!this.size,e))}},e.prototype.render=function(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})},Object.defineProperty(e,"is",{get:function(){return"ion-icon"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important;--ion-color-base:currentColor}:host(.icon-small){font-size:var(--ion-icon-size-small,18px)!important}:host(.icon-large){font-size:var(--ion-icon-size-large,32px)!important}.icon-inner,svg{display:block;height:100%;width:100%}svg{fill:var(--ion-color-base);stroke:var(--ion-color-base)}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"},enumerable:!0,configurable:!0}),e}(),n=new Map;function r(e,t,i,n){return t=(t||"md").toLowerCase(),i&&"ios"===t?e=i.toLowerCase():n&&"md"===t?e=n.toLowerCase():e&&!/^md-|^ios-|^logo-/.test(e)&&(e=t+"-"+e.toLowerCase()),"string"!=typeof e||""===e.trim()?null:""!==e.replace(/[a-z]|-|\d/gi,"")?null:e}function o(e){return"string"==typeof e&&(e=e.trim()).length>0&&/(\/|\.)/.test(e)?e:null}e.IonIcon=i,Object.defineProperty(e,"__esModule",{value:!0})});
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.ionicons;class e{constructor(){this.isVisible=!1}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidUnload(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,i){if(this.win&&this.win.IntersectionObserver){const s=this.io=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),this.io=void 0,i())},{rootMargin:e});s.observe(t)}else i()}loadIcon(){if(!this.isServer&&this.isVisible){const t=this.getUrl();t&&function(t){let e=i.get(t);return e||(e=fetch(t,{cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=function(t,e,i){if(e){const s=t.createDocumentFragment(),n=t.createElement("div");n.innerHTML=e,s.appendChild(n);for(let t=n.childNodes.length-1;t>=0;t--)"svg"!==n.childNodes[t].nodeName.toLowerCase()&&n.removeChild(n.childNodes[t]);const o=n.firstElementChild;if(o&&"svg"===o.nodeName.toLowerCase()&&(i&&o.setAttribute(i,""),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(var i=0;i<e.attributes.length;i++){let t=e.attributes[i].value;if("string"==typeof t&&0===t.toLowerCase().indexOf("on"))return!1}for(i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(o)))return n.innerHTML}return""}(this.doc,t,this.el["s-sc"])})}if(!this.ariaLabel){const t=s(this.name,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace("ios-","").replace("md-","").replace(/\-/g," "))}}getUrl(){let t=n(this.src);return t||((t=s(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=n(this.icon))?t:(t=s(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(t):null)}getNamedUrl(t){return`${this.resourcesUrl}svg/${t}.svg`}hostData(){return{role:"img",class:Object.assign({},(t=this.color,t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null),{[`icon-${this.size}`]:!!this.size})};var t}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})}static get is(){return"ion-icon"}static get encapsulation(){return"shadow"}static get properties(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}}static get style(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important;--ion-color-base:currentColor}:host(.icon-small){font-size:var(--ion-icon-size-small,18px)!important}:host(.icon-large){font-size:var(--ion-icon-size-large,32px)!important}.icon-inner,svg{display:block;height:100%;width:100%}svg{fill:var(--ion-color-base);stroke:var(--ion-color-base)}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"}}const i=new Map;function s(t,e,i,s){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():s&&"md"===e?t=s.toLowerCase():t&&!/^md-|^ios-|^logo-/.test(t)&&(t=e+"-"+t.toLowerCase()),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function n(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon};
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More