Commit Graph
222 Commits
Author SHA1 Message Date
Liam DeBeasi c7f561ce41 test: refactor to use toHaveScreenshot (#1314) 2023-12-14 12:52:50 -08:00
Liam DeBeasi d582e6208e fix(icon): add better warning when loading icons (#1297) 2023-11-06 16:28:38 -05:00
Sean Perkins 875bfd8300 fix(icon): font scales without host style (#1289) 2023-10-10 13:06:38 -04:00
Liam DeBeasi 8297018cb5 fix(icon): mapping same icon does not warn (#1279) 2023-09-13 09:26:56 -04:00
Maria Hutt 7f7f346af4 fix(icon): verify the icon loads in the lifecycle (#1278)
Co-authored-by: sean-perkins <13732623+sean-perkins@users.noreply.github.com
>
2023-09-12 11:50:52 -07:00
Maria Hutt 2e5b6e0d31 Merge remote-tracking branch 'origin/main' into feature-7.2-sync 2023-09-08 11:55:52 -07:00
Maria Hutt 2752ad19b2 chore(print): add fax to tags (#1272) 2023-09-07 09:39:22 -07:00
Liam DeBeasi 1e33313473 feat: allow passing in only icon SVG data to addIcons (#1256) 2023-08-22 09:46:13 -04:00
Sean Perkins 45c04dda6c feat(icon): support for dynamic type (#1246) 2023-08-09 10:57:03 -04:00
André e2fbb3e5fb Edit open icon tags for better searchability (#716) 2023-06-02 12:00:26 -05:00
Liam DeBeasi 06fa4a528d fix(icon): add :dir fallback (#1223) 2023-05-30 15:17:36 -04:00
Shawn Taylorandionitron e70bf214b8 fix(icon): respond to changes of document dir (#1210)
* fix(icon): respond to changes of document dir

* Add snapshot for rtl

* Remove unused function

* Add tests

* CSS-only solution

* chore(): add updated snapshots

---------

Co-authored-by: ionitron <hi@ionicframework.com>
2023-05-19 10:17:26 -04:00
Sean Perkins cdb0d80cde feat: chevron-expand and chevron-collapse icons (#1198) 2023-03-22 16:13:00 -04:00
Liam DeBeasi c290bea476 chore(): sync with main 2023-03-07 08:42:57 -05:00
Sean Perkins 8c412f6748 fix: DomParser usage in SSR (#1180)
Resolves #1179
2023-02-09 12:30:17 -05:00
Sean Perkins 72f09369de fix(icon): load base64 data urls (#1172) 2023-02-07 16:37:42 -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
Liam DeBeasi e0efa5f28d fix(icon): remove default <title> (#1166)
resolves #838, resolves #1049, resolves #1082
2023-01-17 14:12:32 -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
Liam DeBeasi 36992fc01b chore(ci): e2e tests are run on CI (#1126) 2022-10-14 13:50:00 -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
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 1038a7f682 fix(icon): avoid type collisions with ariaLabel and ariaHidden (#1014) 2021-11-08 16:26:01 -05:00
Damian Tarnawsky e63653cbe1 fix(): reflect name property as attribute (#981)
resolves #975
2021-08-03 09:13:45 -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 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 81f2fc1a84 feat: add new icons 2021-01-26 12:17:36 -06:00
Kevin Ports 500d15fec0 Add Microsoft logo 2021-01-04 14:59:33 -06: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
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 0f77aaf2db fix(src): fixed source svg inlined styles 2020-10-05 23:02:59 -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
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
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 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
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 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