Compare commits

...
211 Commits
Author SHA1 Message Date
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
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
2287 changed files with 23792 additions and 227205 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).
+69
View File
@@ -0,0 +1,69 @@
# 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-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.
## License
By contributing your code to the ionic-team/ionicons GitHub Repository, you agree to license your contribution under the MIT license.
+4 -1
View File
@@ -8,10 +8,13 @@ log.txt
*.sublime-project
*.sublime-workspace
.idea/
.sass-cache/
.versions/
.vscode/
node_modules/
tmp/
dist/
icons/
.DS_Store
scripts/*.js
www/
-1
View File
@@ -1 +0,0 @@
package-lock=false
+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'
-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

-435
View File
@@ -1,435 +0,0 @@
:root {
--color-mirage: #171c24;
--color-shark: #272a2f;
--color-oslo-gray: #868b95;
--color-pale-sky: #697384;
--color-melrose: #AEC6FF;
--color-melrose-dark: #4c5873;
--color-gull-gray: #a1aab8;
--color-bright-gray: #363e49;
--color-bright-gray-light: #3d4650;
--color-heather: #bec7d5;
--color-catskill-white: #ecf0f6;
--color-dodger-blue: #3880ff;
--color-dodger-blue-light: #5A96FF;
--color-periwinkle: #c6dbff;
--color-cadet-blue: #abb2bf;
--color-white-lilac: #f8f8fc;
--easeOutExpo: cubic-bezier(0.19, 1, 0.22, 1);
}
/* Eina Bold */
@font-face {
font-family: 'Eina';
src: url('/assets/fonts/34E6DB_F_0.eot');
src: url('/assets/fonts/34E6DB_F_0.eot?#iefix') format('embedded-opentype'),
url('/assets/fonts/34E6DB_F_0.woff2') format('woff2'),
url('/assets/fonts/34E6DB_F_0.woff') format('woff'),
url('/assets/fonts/34E6DB_F_0.ttf') format('truetype');
font-weight: 700;
unicode-range: U+000-5FF;
}
/* Eina Semibold */
@font-face {
font-family: 'Eina';
src: url('/assets/fonts/34E6DB_C_0.eot');
src: url('/assets/fonts/34E6DB_C_0.eot?#iefix') format('embedded-opentype'),
url('/assets/fonts/34E6DB_C_0.woff2') format('woff2'),
url('/assets/fonts/34E6DB_C_0.woff') format('woff'),
url('/assets/fonts/34E6DB_C_0.ttf') format('truetype');
font-weight: 600;
unicode-range: U+000-5FF;
}
/* Eina Regular */
@font-face {
font-family: 'Eina';
src: url('/assets/fonts/34E6DB_D_0.eot');
src: url('/assets/fonts/34E6DB_D_0.eot?#iefix') format('embedded-opentype'),
url('/assets/fonts/34E6DB_D_0.woff2') format('woff2'),
url('/assets/fonts/34E6DB_D_0.woff') format('woff'),
url('/assets/fonts/34E6DB_D_0.ttf') format('truetype');
font-weight: 400;
unicode-range: U+000-5FF;
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
font-family: 'Eina';
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
letter-spacing: -0.015em;
color: var(--color-shark);
}
body.no-scroll {
overflow: hidden;
}
main {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
min-height: 100%;
padding-top: 110px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
main > .wrapper {
-webkit-box-flex: 1;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
}
stencil-router-scroll-top > div {
height: 100%;
}
@media screen and (max-width: 460px) {
main {
padding-top: 95px;
}
}
.content {
max-width: 650px;
margin: 0 auto;
}
.container,
.container--small {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0 auto;
padding-left: 30px;
padding-right: 30px;
}
.container {
max-width: 1140px;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
.container--small {
max-width: 650px;
}
h1 {
font-size: 36px;
line-height: 44px;
font-weight: 700;
letter-spacing: -0.03em;
color: var(--color-mirage);
}
h2 {
font-size: 24px;
margin-top: 60px;
margin-bottom: 0;
letter-spacing: -0.03em;
color: var(--color-shark);
}
h3 {
font-size: 18px;
line-height: 28px;
margin-top: 40px;
margin-bottom: 0;
letter-spacing: -0.03em;
color: var(--color-shark);
}
h4 {
font-size: 16px;
line-height: 16px;
font-weight: 600;
color: var(--color-gull-gray);
}
h6 {
font-size: 10px;
line-height: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--color-heather);
margin: 0;
}
p {
color: #3c4b62;
font-size: 14px;
line-height: 28px;
margin-top: 10px;
letter-spacing: 0;
}
p a {
-webkit-transition: border-color 0.3s;
transition: border-color 0.3s;
text-decoration: none;
color: var(--color-dodger-blue);
border-bottom: 1px solid transparent;
}
p a:hover {
border-bottom-color: var(--color-dodger-blue-light);
}
p.lead {
font-size: 18px;
line-height: 32px;
font-weight: 400;
}
.btn {
-webkit-transition: .3s box-shadow,.3s background;
transition: .3s box-shadow,.3s background;
background-color: var(--color-catskill-white);
color: var(--color-pale-sky);
font-size: 13px;
line-height: 13px;
font-weight: 600;
padding: 9px 10px;
border-radius: 4px;
text-decoration: none;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
cursor: pointer;
}
.btn:hover {
background-color: #e3e9f3;
}
.btn--gray {
background: var(--color-bright-gray);
color: var(--color-melrose);
}
.btn--gray:hover {
background-color: var(--color-bright-gray-light);
}
.btn--large {
font-size: 14px;
padding: 13px 15px;
}
.btn--small {
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.btn--small .ion {
font-size: 14px;
margin-right: 4px;
}
.btn--icon {
width: 36px;
height: 32px;
padding: 0;
pointer-events: none;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
color: #fff;
}
.btn--icon .ion {
font-size: 26px;
margin: 0;
}
.btn-group {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.btn-group .btn + .btn {
margin-left: 1px;
}
.btn-group .btn:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.btn-group .btn:last-child {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
@media screen and (max-width: 460px) {
h3 {
font-size: 16px;
line-height: 28px;
}
.container {
padding-left: 15px;
padding-right: 15px;
}
}
@media screen and (max-width: 768px) {
.container {
padding-left: 15px;
padding-right: 15px;
}
}
.hljs-comment,
.hljs-quote {
color: #998;
font-style: italic;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
color: #333;
}
.hljs-number,
.hljs-literal,
.hljs-variable,
.hljs-template-variable,
.hljs-tag .hljs-attr {
color: #008080;
}
.hljs-string,
.hljs-doctag {
color: #d14;
}
.hljs-title,
.hljs-section,
.hljs-selector-id {
color: #900;
}
.hljs-subst {
font-weight: normal;
}
.hljs-type,
.hljs-class .hljs-title {
color: #458;
}
.hljs-tag,
.hljs-name,
.hljs-attribute {
color: #000080;
font-weight: normal;
}
.hljs-regexp,
.hljs-link {
color: #009926;
}
.hljs-symbol,
.hljs-bullet {
color: #990073;
}
.hljs-built_in,
.hljs-builtin-name {
color: #0086b3;
}
.hljs-meta {
color: #999;
}
.hljs-deletion {
background: #fdd;
}
.hljs-addition {
background: #dfd;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
code,
pre {
font-family: 'Roboto Mono', monospace;
}
code {
background-color: var(--color-bright-gray);
color: #97a1b6;
padding: 8px 12px;
border-radius: 5px;
}
code .yellow {
color: #ffc866;
}
code .orange {
color: #e48d26;
}
code .green {
color: #a4dd5b;
}
p code {
font-size: 13px;
font-weight: 500;
padding: 2px 5px;
color: #f06332;
background-color: #f5f7fa;
}
.styled-code {
-webkit-box-sizing: border-box;
box-sizing: border-box;
background-color: #f5f7fa;
padding: 16px 14px;
width: 100%;
border-radius: 5px;
display: block;
overflow-x: auto;
margin: 18px 0px;
}
.styled-code + .styled-code {
margin-top: 12px;
}
pre {
margin: 0;
font-size: 14px;
line-height: 20px;
color: var(--color-pale-sky);
}
-139
View File
@@ -1,139 +0,0 @@
/*!
* Built with http://stenciljs.com
* 2018-09-18T20:02:31
*/
(function(win, doc, namespace, fsNamespace, resourcesUrl, appCore, appCoreSsr, appCorePolyfilled, hydratedCssClass, components) {
function init(win, doc, namespace, fsNamespace, resourcesUrl, appCore, appCorePolyfilled, hydratedCssClass, components, HTMLElementPrototype, App, x, y, scriptElm) {
// create global namespace if it doesn't already exist
App = win[namespace] = win[namespace] || {};
App.components = components;
y = components.map(function (c) { return c[0]; });
if (y.length) {
// auto hide components until they been fully hydrated
// reusing the "x" and "i" variables from the args for funzies
x = doc.createElement('style');
x.innerHTML = y.join() + '{visibility:hidden}.' + hydratedCssClass + '{visibility:inherit}';
x.setAttribute('data-styles', '');
y = doc.head.querySelector('meta[charset]');
doc.head.insertBefore(x, y ? y.nextSibling : doc.head.firstChild);
}
createComponentOnReadyPrototype(win, namespace, HTMLElementPrototype);
resourcesUrl = resourcesUrl || App.resourcesUrl;
// figure out the script element for this current script
y = doc.querySelectorAll('script');
for (x = y.length - 1; x >= 0; x--) {
scriptElm = y[x];
if (scriptElm.src || scriptElm.hasAttribute('data-resources-url')) {
break;
}
}
// get the resource path attribute on this script element
y = scriptElm.getAttribute('data-resources-url');
if (!resourcesUrl && y) {
// the script element has a data-resources-url attribute, always use that
resourcesUrl = y;
}
if (!resourcesUrl && scriptElm.src) {
// we don't have an exact resourcesUrl, so let's
// figure it out relative to this script's src and app's filesystem namespace
y = scriptElm.src.split('/').slice(0, -1);
resourcesUrl = (y.join('/')) + (y.length ? '/' : '') + fsNamespace + '/';
}
// request the core this browser needs
// test for native support of custom elements and fetch
// if either of those are not supported, then use the core w/ polyfills
// also check if the page was build with ssr or not
x = doc.createElement('script');
if (usePolyfills(win, win.location, x, 'import("")')) {
// requires the es5/polyfilled core
x.src = resourcesUrl + appCorePolyfilled;
}
else {
// let's do this!
x.src = resourcesUrl + appCore;
x.setAttribute('type', 'module');
x.setAttribute('crossorigin', true);
}
x.setAttribute('data-resources-url', resourcesUrl);
x.setAttribute('data-namespace', fsNamespace);
doc.head.appendChild(x);
}
function usePolyfills(win, location, scriptElm, dynamicImportTest) {
// fyi, dev mode has verbose if/return statements
// but it minifies to a nice 'lil one-liner ;)
if (location.search.indexOf('core=esm') > 0) {
// force esm build
return false;
}
if ((location.search.indexOf('core=es5') > 0) ||
(location.protocol === 'file:') ||
(!(win.customElements && win.customElements.define)) ||
(!win.fetch) ||
(!(win.CSS && win.CSS.supports && win.CSS.supports('color', 'var(--c)'))) ||
(!('noModule' in scriptElm))) {
// es5 build w/ polyfills
return true;
}
// final test to see if this browser support dynamic imports
return doesNotSupportsDynamicImports(dynamicImportTest);
}
function doesNotSupportsDynamicImports(dynamicImportTest) {
try {
new Function(dynamicImportTest);
return false;
}
catch (e) { }
return true;
}
function createComponentOnReadyPrototype(win, namespace, HTMLElementPrototype) {
(win['s-apps'] = win['s-apps'] || []).push(namespace);
if (!HTMLElementPrototype.componentOnReady) {
HTMLElementPrototype.componentOnReady = function componentOnReady() {
/*tslint:disable*/
var elm = this;
function executor(resolve) {
if (elm.nodeName.indexOf('-') > 0) {
// window hasn't loaded yet and there's a
// good chance this is a custom element
var apps = win['s-apps'];
var appsReady = 0;
// loop through all the app namespaces
for (var i = 0; i < apps.length; i++) {
// see if this app has "componentOnReady" setup
if (win[apps[i]].componentOnReady) {
// this app's core has loaded call its "componentOnReady"
if (win[apps[i]].componentOnReady(elm, resolve)) {
// this component does belong to this app and would
// have fired off the resolve fn
// let's stop here, we're good
return;
}
appsReady++;
}
}
if (appsReady < apps.length) {
// not all apps are ready yet
// add it to the queue to be figured out when they are
(win['s-cr'] = win['s-cr'] || []).push([elm, resolve]);
return;
}
}
// not a recognized app component
resolve(null);
}
// callback wasn't provided, let's return a promise
if (win.Promise) {
// use native/polyfilled promise
return new win.Promise(executor);
}
// promise may not have been polyfilled yet
return { then: executor };
};
}
}
init(win, doc, namespace, fsNamespace, resourcesUrl, appCore, appCoreSsr, appCorePolyfilled, hydratedCssClass, components);
})(window, document, "DocsSite","docssite",0,"docssite.core.js","docssite.core.pf.js","hydrated",[["footer-bar","footer-bar",1],["header-bar","header-bar",1,[["el",64],["isMobileMenuShown",16],["isSearchVisible",1,0,"is-search-visible",4],["isSticky",16],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","icon-list",1,[["data",1,0,1,1],["el",64],["isHeaderSearchVisible",16],["query",1,0,1,2],["selectedIcon",16],["selectedIconType",16]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","icon-search",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",16],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","header-bar",1,[["data",16],["isHeaderSearchVisible",16],["query",16]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","icon-list",1,[["data",1,0,1,1],["el",64],["query",1,0,1,2]]],["notfound-page","notfound-page",1],["stencil-route","header-bar",1,[["component",1,0,1,2],["componentProps",1],["componentUpdated",1],["el",64],["exact",1,0,1,4],["group",1,0,1,2],["history",1],["historyType",1,0,"history-type",2],["location",1],["match",2],["routeRender",1],["routeViewsUpdated",1],["scrollTopOffset",1,0,"scroll-top-offset",8],["url",1,0,1,2]]],["stencil-route-link","stencil-route-link",0,[["activeClass",1,0,"active-class",2],["anchorClass",1,0,"anchor-class",2],["anchorId",1,0,"anchor-id",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["ariaHaspopup",1,0,"aria-haspopup",2],["ariaLabel",1,0,"aria-label",2],["ariaPosinset",1,0,"aria-posinset",2],["ariaSetsize",1,0,"aria-setsize",8],["custom",1,0,1,2],["el",64],["exact",1,0,1,4],["history",1],["location",1],["match",16],["root",1,0,1,2],["strict",1,0,1,4],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-route-switch","header-bar",0,[["el",64],["group",1,0,1,2],["location",1],["queue",4,0,0,0,"queue"],["routeViewsUpdated",1],["scrollTopOffset",1,0,"scroll-top-offset",8]]],["stencil-router","header-bar",0,[["history",16],["historyType",1,0,"history-type",2],["isServer",4,0,0,0,"isServer"],["location",16],["queue",4,0,0,0,"queue"],["root",1,0,1,2],["scrollTopOffset",1,0,"scroll-top-offset",8],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","icon-list",1,[["el",64],["hadIconOnce",16],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",16],["touchEndY",16],["touchStartY",16]]],["usage-page","usage-page",1,[["data",1,0,1,1],["exampleIcon",16],["exampleType",16],["match",1],["queue",4,0,0,0,"queue"]]]],HTMLElement.prototype);
-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};
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("3vkw131p",["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};
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("3vkw131p",["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})});
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
-50
View File
@@ -1,50 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('array.js', ['exports'], function (exports) {
var h = window.DocsSite.h;
function applyPolyfill(window, document) {
Array.prototype.find || Object.defineProperty(Array.prototype, "find", { writable: !0, configurable: !0, value: function (c, e) { if (null == this)
throw new TypeError('"this" is null or not defined'); var b = Object(this), f = b.length >>> 0; if ("function" !== typeof c)
throw new TypeError("predicate must be a function"); for (var a = 0; a < f;) {
var d = b[a];
if (c.call(e, d, a, b))
return d;
a++;
} } });
/*!
Array.from
*/
Array.from || (Array.from = function () {
var l = Object.prototype.toString, h = function (c) { return "function" === typeof c || "[object Function]" === l.call(c); }, m = Math.pow(2, 53) - 1;
return function (c) {
var k = Object(c);
if (null == c)
throw new TypeError("Array.from requires an array-like object - not null or undefined");
var d = 1 < arguments.length ? arguments[1] : void 0, f;
if ("undefined" !== typeof d) {
if (!h(d))
throw new TypeError("Array.from: when provided, the second argument must be a function");
2 < arguments.length && (f = arguments[2]);
}
var a = Number(k.length);
a = isNaN(a) ? 0 : 0 !== a && isFinite(a) ? (0 < a ? 1 : -1) * Math.floor(Math.abs(a)) : a;
a = Math.min(Math.max(a, 0), m);
for (var g = h(this) ? Object(new this(a)) : Array(a), b = 0, e; b < a;)
e = k[b], g[b] = d ? "undefined" === typeof f ? d(e, b) : d.call(f, e, b) : e, b += 1;
g.length = a;
return g;
};
}());
/*!
Array.prototype.includes
*/
Array.prototype.includes || Object.defineProperty(Array.prototype, "includes", { writable: !0, configurable: !0, value: function (r, e) { if (null == this)
throw new TypeError('"this" is null or not defined'); var t = Object(this), n = t.length >>> 0; if (0 === n)
return !1; var i, o, a = 0 | e, u = Math.max(0 <= a ? a : n - Math.abs(a), 0); for (; u < n;) {
if ((i = t[u]) === (o = r) || "number" == typeof i && "number" == typeof o && isNaN(i) && isNaN(o))
return !0;
u++;
} return !1; } });
}
exports.applyPolyfill = applyPolyfill;
Object.defineProperty(exports, '__esModule', { value: true });
});
-18
View File
@@ -1,18 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
function applyPolyfill(window, document) {/*!
Array.prototype.find
*/
Array.prototype.find||Object.defineProperty(Array.prototype,"find",{writable:!0,configurable:!0,value:function(c,e){if(null==this)throw new TypeError('"this" is null or not defined');var b=Object(this),f=b.length>>>0;if("function"!==typeof c)throw new TypeError("predicate must be a function");for(var a=0;a<f;){var d=b[a];if(c.call(e,d,a,b))return d;a++;}}});
/*!
Array.from
*/
Array.from||(Array.from=function(){var l=Object.prototype.toString,h=function(c){return "function"===typeof c||"[object Function]"===l.call(c)},m=Math.pow(2,53)-1;return function(c){var k=Object(c);if(null==c)throw new TypeError("Array.from requires an array-like object - not null or undefined");var d=1<arguments.length?arguments[1]:void 0,f;if("undefined"!==typeof d){if(!h(d))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(f=arguments[2]);}var a=
Number(k.length);a=isNaN(a)?0:0!==a&&isFinite(a)?(0<a?1:-1)*Math.floor(Math.abs(a)):a;a=Math.min(Math.max(a,0),m);for(var g=h(this)?Object(new this(a)):Array(a),b=0,e;b<a;)e=k[b],g[b]=d?"undefined"===typeof f?d(e,b):d.call(f,e,b):e,b+=1;g.length=a;return g}}());
/*!
Array.prototype.includes
*/
Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{writable:!0,configurable:!0,value:function(r,e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if(0===n)return !1;var i,o,a=0|e,u=Math.max(0<=a?a:n-Math.abs(a),0);for(;u<n;){if((i=t[u])===(o=r)||"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))return !0;u++;}return !1}});}
export { applyPolyfill };
-593
View File
@@ -1,593 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
var DEFAULT_DELIMITER = '/';
var DEFAULT_DELIMITERS = './';
var PATH_REGEXP = new RegExp([
'(\\\\.)',
'(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?'
].join('|'), 'g');
function parse(str, options) {
var tokens = [];
var key = 0;
var index = 0;
var path = '';
var defaultDelimiter = (options && options.delimiter) || DEFAULT_DELIMITER;
var delimiters = (options && options.delimiters) || DEFAULT_DELIMITERS;
var pathEscaped = false;
var res;
while ((res = PATH_REGEXP.exec(str)) !== null) {
var m = res[0];
var escaped = res[1];
var offset = res.index;
path += str.slice(index, offset);
index = offset + m.length;
if (escaped) {
path += escaped[1];
pathEscaped = true;
continue;
}
var prev = '';
var next = str[index];
var name = res[2];
var capture = res[3];
var group = res[4];
var modifier = res[5];
if (!pathEscaped && path.length) {
var k = path.length - 1;
if (delimiters.indexOf(path[k]) > -1) {
prev = path[k];
path = path.slice(0, k);
}
}
if (path) {
tokens.push(path);
path = '';
pathEscaped = false;
}
var partial = prev !== '' && next !== undefined && next !== prev;
var repeat = modifier === '+' || modifier === '*';
var optional = modifier === '?' || modifier === '*';
var delimiter = prev || defaultDelimiter;
var pattern = capture || group;
tokens.push({
name: name || key++,
prefix: prev,
delimiter: delimiter,
optional: optional,
repeat: repeat,
partial: partial,
pattern: pattern ? escapeGroup(pattern) : '[^' + escapeString(delimiter) + ']+?'
});
}
if (path || index < str.length) {
tokens.push(path + str.substr(index));
}
return tokens;
}
function escapeString(str) {
return str.replace(/([.+*?=^!:${}()[\]|/\\])/g, '\\$1');
}
function escapeGroup(group) {
return group.replace(/([=!:$/()])/g, '\\$1');
}
function flags(options) {
return options && options.sensitive ? '' : 'i';
}
function regexpToRegexp(path, keys) {
if (!keys)
return path;
var groups = path.source.match(/\((?!\?)/g);
if (groups) {
for (var i = 0; i < groups.length; i++) {
keys.push({
name: i,
prefix: null,
delimiter: null,
optional: false,
repeat: false,
partial: false,
pattern: null
});
}
}
return path;
}
function arrayToRegexp(path, keys, options) {
var parts = [];
for (var i = 0; i < path.length; i++) {
parts.push(pathToRegexp(path[i], keys, options).source);
}
return new RegExp('(?:' + parts.join('|') + ')', flags(options));
}
function stringToRegexp(path, keys, options) {
return tokensToRegExp(parse(path, options), keys, options);
}
function tokensToRegExp(tokens, keys, options) {
options = options || {};
var strict = options.strict;
var end = options.end !== false;
var delimiter = escapeString(options.delimiter || DEFAULT_DELIMITER);
var delimiters = options.delimiters || DEFAULT_DELIMITERS;
var endsWith = [].concat(options.endsWith || []).map(escapeString).concat('$').join('|');
var route = '';
var isEndDelimited = false;
for (var i = 0; i < tokens.length; i++) {
var token = tokens[i];
if (typeof token === 'string') {
route += escapeString(token);
isEndDelimited = i === tokens.length - 1 && delimiters.indexOf(token[token.length - 1]) > -1;
}
else {
var prefix = escapeString(token.prefix || '');
var capture = token.repeat
? '(?:' + token.pattern + ')(?:' + prefix + '(?:' + token.pattern + '))*'
: token.pattern;
if (keys)
keys.push(token);
if (token.optional) {
if (token.partial) {
route += prefix + '(' + capture + ')?';
}
else {
route += '(?:' + prefix + '(' + capture + '))?';
}
}
else {
route += prefix + '(' + capture + ')';
}
}
}
if (end) {
if (!strict)
route += '(?:' + delimiter + ')?';
route += endsWith === '$' ? '$' : '(?=' + endsWith + ')';
}
else {
if (!strict)
route += '(?:' + delimiter + '(?=' + endsWith + '))?';
if (!isEndDelimited)
route += '(?=' + delimiter + '|' + endsWith + ')';
}
return new RegExp('^' + route, flags(options));
}
function pathToRegexp(path, keys, options) {
if (path instanceof RegExp) {
return regexpToRegexp(path, keys);
}
if (Array.isArray(path)) {
return arrayToRegexp(path, keys, options);
}
return stringToRegexp(path, keys, options);
}
function hasBasename(path, prefix) {
return (new RegExp('^' + prefix + '(\\/|\\?|#|$)', 'i')).test(path);
}
function stripBasename(path, prefix) {
return hasBasename(path, prefix) ? path.substr(prefix.length) : path;
}
function stripTrailingSlash(path) {
return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;
}
function addLeadingSlash(path) {
return path.charAt(0) === '/' ? path : '/' + path;
}
function stripLeadingSlash(path) {
return path.charAt(0) === '/' ? path.substr(1) : path;
}
function parsePath(path) {
let pathname = path || '/';
let search = '';
let hash = '';
const hashIndex = pathname.indexOf('#');
if (hashIndex !== -1) {
hash = pathname.substr(hashIndex);
pathname = pathname.substr(0, hashIndex);
}
const searchIndex = pathname.indexOf('?');
if (searchIndex !== -1) {
search = pathname.substr(searchIndex);
pathname = pathname.substr(0, searchIndex);
}
return {
pathname,
search: search === '?' ? '' : search,
hash: hash === '#' ? '' : hash,
query: {},
key: ''
};
}
function createPath(location) {
const { pathname, search, hash } = location;
let path = pathname || '/';
if (search && search !== '?') {
path += (search.charAt(0) === '?' ? search : `?${search}`);
}
if (hash && hash !== '#') {
path += (hash.charAt(0) === '#' ? hash : `#${hash}`);
}
return path;
}
function parseQueryString(query) {
if (!query) {
return {};
}
return (/^[?#]/.test(query) ? query.slice(1) : query)
.split('&')
.reduce((params, param) => {
let [key, value] = param.split('=');
params[key] = value ? decodeURIComponent(value.replace(/\+/g, ' ')) : '';
return params;
}, {});
}
function isAbsolute(pathname) {
return pathname.charAt(0) === '/';
}
function createKey(keyLength) {
return Math.random().toString(36).substr(2, keyLength);
}
function spliceOne(list, index) {
for (let i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {
list[i] = list[k];
}
list.pop();
}
function resolvePathname(to, from = '') {
const toParts = to && to.split('/') || [];
let fromParts = from && from.split('/') || [];
const isToAbs = to && isAbsolute(to);
const isFromAbs = from && isAbsolute(from);
const mustEndAbs = isToAbs || isFromAbs;
if (to && isAbsolute(to)) {
fromParts = toParts;
}
else if (toParts.length) {
fromParts.pop();
fromParts = fromParts.concat(toParts);
}
if (!fromParts.length) {
return '/';
}
let hasTrailingSlash;
if (fromParts.length) {
const last = fromParts[fromParts.length - 1];
hasTrailingSlash = (last === '.' || last === '..' || last === '');
}
else {
hasTrailingSlash = false;
}
let up = 0;
for (let i = fromParts.length; i >= 0; i--) {
const part = fromParts[i];
if (part === '.') {
spliceOne(fromParts, i);
}
else if (part === '..') {
spliceOne(fromParts, i);
up++;
}
else if (up) {
spliceOne(fromParts, i);
up--;
}
}
if (!mustEndAbs) {
for (; up--; up) {
fromParts.unshift('..');
}
}
if (mustEndAbs && fromParts[0] !== '' && (!fromParts[0] || !isAbsolute(fromParts[0]))) {
fromParts.unshift('');
}
let result = fromParts.join('/');
if (hasTrailingSlash && result.substr(-1) !== '/') {
result += '/';
}
return result;
}
function valueEqual(a, b) {
if (a === b) {
return true;
}
if (a == null || b == null) {
return false;
}
if (Array.isArray(a)) {
return Array.isArray(b) && a.length === b.length && a.every(function (item, index) {
return valueEqual(item, b[index]);
});
}
const aType = typeof a;
const bType = typeof b;
if (aType !== bType) {
return false;
}
if (aType === 'object') {
const aValue = a.valueOf();
const bValue = b.valueOf();
if (aValue !== a || bValue !== b) {
return valueEqual(aValue, bValue);
}
const aKeys = Object.keys(a);
const bKeys = Object.keys(b);
if (aKeys.length !== bKeys.length) {
return false;
}
return aKeys.every(function (key) {
return valueEqual(a[key], b[key]);
});
}
return false;
}
function locationsAreEqual(a, b) {
return a.pathname === b.pathname &&
a.search === b.search &&
a.hash === b.hash &&
a.key === b.key &&
valueEqual(a.state, b.state);
}
function createLocation(path, state, key, currentLocation) {
let location;
if (typeof path === 'string') {
location = parsePath(path);
if (location.state !== undefined) {
location.state = state;
}
}
else {
location = Object.assign({ pathname: '' }, path);
if (location.search && location.search.charAt(0) !== '?') {
location.search = '?' + location.search;
}
if (location.hash && location.hash.charAt(0) !== '#') {
location.hash = '#' + location.hash;
}
if (state !== undefined && location.state === undefined) {
location.state = state;
}
}
try {
location.pathname = decodeURI(location.pathname);
}
catch (e) {
if (e instanceof URIError) {
throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' +
'This is likely caused by an invalid percent-encoding.');
}
else {
throw e;
}
}
location.key = key;
if (currentLocation) {
if (!location.pathname) {
location.pathname = currentLocation.pathname;
}
else if (location.pathname.charAt(0) !== '/') {
location.pathname = resolvePathname(location.pathname, currentLocation.pathname);
}
}
else {
if (!location.pathname) {
location.pathname = '/';
}
}
location.query = parseQueryString(location.search || '');
return location;
}
const patternCache = {};
const cacheLimit = 10000;
let cacheCount = 0;
function compilePath(pattern, options) {
const cacheKey = `${options.end}${options.strict}`;
const cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
const cachePattern = JSON.stringify(pattern);
if (cache[cachePattern]) {
return cache[cachePattern];
}
const keys = [];
const re = pathToRegexp(pattern, keys, options);
const compiledPattern = { re, keys };
if (cacheCount < cacheLimit) {
cache[cachePattern] = compiledPattern;
cacheCount += 1;
}
return compiledPattern;
}
function matchPath(pathname, options = {}) {
if (typeof options === 'string') {
options = { path: options };
}
const { path = '/', exact = false, strict = false } = options;
const { re, keys } = compilePath(path, { end: exact, strict });
const match = re.exec(pathname);
if (!match) {
return null;
}
const [url, ...values] = match;
const isExact = pathname === url;
if (exact && !isExact) {
return null;
}
return {
path,
url: path === '/' && url === '' ? '/' : url,
isExact,
params: keys.reduce((memo, key, index) => {
memo[key.name] = values[index];
return memo;
}, {})
};
}
function matchesAreEqual(a, b) {
if (a == null && b == null) {
return true;
}
if (b == null) {
return false;
}
return a && b &&
a.path === b.path &&
a.url === b.url &&
valueEqual(a.params, b.params);
}
/*!
* StencilStateTunnel: Core, es5
* Built with http://stenciljs.com
*/
function u(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)T.push(arguments[f]);for(;T.length>0;){var c=T.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)T.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u;}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&T.push(f);t.class=T.join(" "),T.length=0;}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name);}return "function"==typeof n?n(t,i||[],W):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,w:void 0,g:!1}}function f(n){return {vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}undefined&&undefined.Dn||(Object.setPrototypeOf||Array);var T=[],W={forEach:function(n,t){n.forEach(function(n,e,r){return t(f(n),e,r)});},map:function(n,t){return n.map(function(n,e,r){return function i(n){return {vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}(t(f(n),e,r))})}};
/*! Built with http://stenciljs.com */
var __rest = function (s, e) {
var t = {};
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
return t;
};
function defaultConsumerRender(subscribe, renderer) {
return u("context-consumer", { subscribe: subscribe, renderer: renderer });
}
function createProviderConsumer(defaultState, consumerRender) {
if (consumerRender === void 0) { consumerRender = defaultConsumerRender; }
var listeners = new Map();
var currentState = defaultState;
function notifyConsumers() {
listeners.forEach(updateListener);
}
function updateListener(fields, listener) {
if (Array.isArray(fields)) {
fields.slice().forEach(function (fieldName) {
listener[fieldName] = currentState[fieldName];
});
}
else {
listener[fields] = Object.assign({}, currentState);
}
listener.forceUpdate();
}
function attachListener(propList) {
return function (el) {
if (listeners.has(el)) {
return;
}
listeners.set(el, propList);
updateListener(propList, el);
};
}
function subscribe(el, propList) {
attachListener(propList)(el);
return function () {
listeners.delete(el);
};
}
var Provider = function (_b, children) {
var state = _b.state;
currentState = state;
notifyConsumers();
return children;
};
var Consumer = function (props, children) {
return consumerRender(subscribe, children[0]);
};
function wrapConsumer(childComponent, fieldList) {
var Child = childComponent.is;
return function (_a) {
var children = _a.children, props = __rest(_a, ["children"]);
return (u(Child, Object.assign({ ref: attachListener(fieldList) }, props), children));
};
}
function injectProps(childComponent, fieldList) {
var unsubscribe = null;
var elementRefName = Object.keys(childComponent.properties).find(function (propName) {
return childComponent.properties[propName].elementRef == true;
});
if (elementRefName == undefined) {
throw new Error("Please ensure that your Component " + childComponent.is + " has an attribute with an \"@Element\" decorator. " +
"This is required to be able to inject properties.");
}
var prevComponentWillLoad = childComponent.prototype.componentWillLoad;
childComponent.prototype.componentWillLoad = function () {
unsubscribe = subscribe(this[elementRefName], fieldList);
if (prevComponentWillLoad) {
return prevComponentWillLoad.bind(this)();
}
};
var prevComponentDidUnload = childComponent.prototype.componentDidUnload;
childComponent.prototype.componentDidUnload = function () {
unsubscribe();
if (prevComponentDidUnload) {
return prevComponentDidUnload.bind(this)();
}
};
}
return {
Provider: Provider,
Consumer: Consumer,
wrapConsumer: wrapConsumer,
injectProps: injectProps
};
}
// StencilStateTunnel: ES Module
var ActiveRouter = createProviderConsumer({
historyType: 'browser',
location: {
pathname: '',
query: {},
key: ''
},
titleSuffix: '',
root: '/',
routeViewsUpdated: () => { }
});
const canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
const addEventListener$1 = (node, event, listener) => (node.addEventListener
? node.addEventListener(event, listener, false)
: node.attachEvent('on' + event, listener));
const removeEventListener = (node, event, listener) => (node.removeEventListener
? node.removeEventListener(event, listener, false)
: node.detachEvent('on' + event, listener));
const getConfirmation = (message, callback) => (callback(window.confirm(message)));
const isModifiedEvent = (event) => (event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
const supportsHistory = () => {
const ua = window.navigator.userAgent;
if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) &&
ua.indexOf('Mobile Safari') !== -1 &&
ua.indexOf('Chrome') === -1 &&
ua.indexOf('Windows Phone') === -1) {
return false;
}
return window.history && 'pushState' in window.history;
};
const supportsPopStateOnHashChange = () => (window.navigator.userAgent.indexOf('Trident') === -1);
const supportsGoWithoutReloadUsingHash = () => (window.navigator.userAgent.indexOf('Firefox') === -1);
const isExtraneousPopstateEvent = (event) => (event.state === undefined &&
navigator.userAgent.indexOf('CriOS') === -1);
const storageAvailable = (type) => {
var storage = window[type], x = '__storage_test__';
try {
storage.setItem(x, x);
storage.removeItem(x);
return true;
}
catch (e) {
return e instanceof DOMException && (e.code === 22 ||
e.code === 1014 ||
e.name === 'QuotaExceededError' ||
e.name === 'NS_ERROR_DOM_QUOTA_REACHED') &&
storage.length !== 0;
}
};
export { matchPath as a, matchesAreEqual as b, ActiveRouter as c, storageAvailable as d, createLocation as e, createKey as f, addLeadingSlash as g, stripTrailingSlash as h, hasBasename as i, stripBasename as j, createPath as k, canUseDOM as l, addEventListener$1 as m, removeEventListener as n, getConfirmation as o, supportsHistory as p, supportsPopStateOnHashChange as q, isExtraneousPopstateEvent as r, locationsAreEqual as s, stripLeadingSlash as t, supportsGoWithoutReloadUsingHash as u, isModifiedEvent as v };
-628
View File
@@ -1,628 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('chunk-4e065e0c.js', ['require', 'exports'], function (require, exports) {
var h = window.DocsSite.h;
var DEFAULT_DELIMITER = '/';
var DEFAULT_DELIMITERS = './';
var PATH_REGEXP = new RegExp([
'(\\\\.)',
'(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?'
].join('|'), 'g');
function parse(str, options) {
var tokens = [];
var key = 0;
var index = 0;
var path = '';
var defaultDelimiter = (options && options.delimiter) || DEFAULT_DELIMITER;
var delimiters = (options && options.delimiters) || DEFAULT_DELIMITERS;
var pathEscaped = false;
var res;
while ((res = PATH_REGEXP.exec(str)) !== null) {
var m = res[0];
var escaped = res[1];
var offset = res.index;
path += str.slice(index, offset);
index = offset + m.length;
if (escaped) {
path += escaped[1];
pathEscaped = true;
continue;
}
var prev = '';
var next = str[index];
var name = res[2];
var capture = res[3];
var group = res[4];
var modifier = res[5];
if (!pathEscaped && path.length) {
var k = path.length - 1;
if (delimiters.indexOf(path[k]) > -1) {
prev = path[k];
path = path.slice(0, k);
}
}
if (path) {
tokens.push(path);
path = '';
pathEscaped = false;
}
var partial = prev !== '' && next !== undefined && next !== prev;
var repeat = modifier === '+' || modifier === '*';
var optional = modifier === '?' || modifier === '*';
var delimiter = prev || defaultDelimiter;
var pattern = capture || group;
tokens.push({
name: name || key++,
prefix: prev,
delimiter: delimiter,
optional: optional,
repeat: repeat,
partial: partial,
pattern: pattern ? escapeGroup(pattern) : '[^' + escapeString(delimiter) + ']+?'
});
}
if (path || index < str.length) {
tokens.push(path + str.substr(index));
}
return tokens;
}
function escapeString(str) {
return str.replace(/([.+*?=^!:${}()[\]|/\\])/g, '\\$1');
}
function escapeGroup(group) {
return group.replace(/([=!:$/()])/g, '\\$1');
}
function flags(options) {
return options && options.sensitive ? '' : 'i';
}
function regexpToRegexp(path, keys) {
if (!keys)
return path;
var groups = path.source.match(/\((?!\?)/g);
if (groups) {
for (var i = 0; i < groups.length; i++) {
keys.push({
name: i,
prefix: null,
delimiter: null,
optional: false,
repeat: false,
partial: false,
pattern: null
});
}
}
return path;
}
function arrayToRegexp(path, keys, options) {
var parts = [];
for (var i = 0; i < path.length; i++) {
parts.push(pathToRegexp(path[i], keys, options).source);
}
return new RegExp('(?:' + parts.join('|') + ')', flags(options));
}
function stringToRegexp(path, keys, options) {
return tokensToRegExp(parse(path, options), keys, options);
}
function tokensToRegExp(tokens, keys, options) {
options = options || {};
var strict = options.strict;
var end = options.end !== false;
var delimiter = escapeString(options.delimiter || DEFAULT_DELIMITER);
var delimiters = options.delimiters || DEFAULT_DELIMITERS;
var endsWith = [].concat(options.endsWith || []).map(escapeString).concat('$').join('|');
var route = '';
var isEndDelimited = false;
for (var i = 0; i < tokens.length; i++) {
var token = tokens[i];
if (typeof token === 'string') {
route += escapeString(token);
isEndDelimited = i === tokens.length - 1 && delimiters.indexOf(token[token.length - 1]) > -1;
}
else {
var prefix = escapeString(token.prefix || '');
var capture = token.repeat
? '(?:' + token.pattern + ')(?:' + prefix + '(?:' + token.pattern + '))*'
: token.pattern;
if (keys)
keys.push(token);
if (token.optional) {
if (token.partial) {
route += prefix + '(' + capture + ')?';
}
else {
route += '(?:' + prefix + '(' + capture + '))?';
}
}
else {
route += prefix + '(' + capture + ')';
}
}
}
if (end) {
if (!strict)
route += '(?:' + delimiter + ')?';
route += endsWith === '$' ? '$' : '(?=' + endsWith + ')';
}
else {
if (!strict)
route += '(?:' + delimiter + '(?=' + endsWith + '))?';
if (!isEndDelimited)
route += '(?=' + delimiter + '|' + endsWith + ')';
}
return new RegExp('^' + route, flags(options));
}
function pathToRegexp(path, keys, options) {
if (path instanceof RegExp) {
return regexpToRegexp(path, keys);
}
if (Array.isArray(path)) {
return arrayToRegexp(path, keys, options);
}
return stringToRegexp(path, keys, options);
}
function hasBasename(path, prefix) {
return (new RegExp('^' + prefix + '(\\/|\\?|#|$)', 'i')).test(path);
}
function stripBasename(path, prefix) {
return hasBasename(path, prefix) ? path.substr(prefix.length) : path;
}
function stripTrailingSlash(path) {
return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;
}
function addLeadingSlash(path) {
return path.charAt(0) === '/' ? path : '/' + path;
}
function stripLeadingSlash(path) {
return path.charAt(0) === '/' ? path.substr(1) : path;
}
function parsePath(path) {
var pathname = path || '/';
var search = '';
var hash = '';
var hashIndex = pathname.indexOf('#');
if (hashIndex !== -1) {
hash = pathname.substr(hashIndex);
pathname = pathname.substr(0, hashIndex);
}
var searchIndex = pathname.indexOf('?');
if (searchIndex !== -1) {
search = pathname.substr(searchIndex);
pathname = pathname.substr(0, searchIndex);
}
return {
pathname: pathname,
search: search === '?' ? '' : search,
hash: hash === '#' ? '' : hash,
query: {},
key: ''
};
}
function createPath(location) {
var pathname = location.pathname, search = location.search, hash = location.hash;
var path = pathname || '/';
if (search && search !== '?') {
path += (search.charAt(0) === '?' ? search : "?" + search);
}
if (hash && hash !== '#') {
path += (hash.charAt(0) === '#' ? hash : "#" + hash);
}
return path;
}
function parseQueryString(query) {
if (!query) {
return {};
}
return (/^[?#]/.test(query) ? query.slice(1) : query)
.split('&')
.reduce(function (params, param) {
var _c = param.split('='), key = _c[0], value = _c[1];
params[key] = value ? decodeURIComponent(value.replace(/\+/g, ' ')) : '';
return params;
}, {});
}
function isAbsolute(pathname) {
return pathname.charAt(0) === '/';
}
function createKey(keyLength) {
return Math.random().toString(36).substr(2, keyLength);
}
function spliceOne(list, index) {
for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {
list[i] = list[k];
}
list.pop();
}
function resolvePathname(to, from) {
if (from === void 0) { from = ''; }
var toParts = to && to.split('/') || [];
var fromParts = from && from.split('/') || [];
var isToAbs = to && isAbsolute(to);
var isFromAbs = from && isAbsolute(from);
var mustEndAbs = isToAbs || isFromAbs;
if (to && isAbsolute(to)) {
fromParts = toParts;
}
else if (toParts.length) {
fromParts.pop();
fromParts = fromParts.concat(toParts);
}
if (!fromParts.length) {
return '/';
}
var hasTrailingSlash;
if (fromParts.length) {
var last = fromParts[fromParts.length - 1];
hasTrailingSlash = (last === '.' || last === '..' || last === '');
}
else {
hasTrailingSlash = false;
}
var up = 0;
for (var i = fromParts.length; i >= 0; i--) {
var part = fromParts[i];
if (part === '.') {
spliceOne(fromParts, i);
}
else if (part === '..') {
spliceOne(fromParts, i);
up++;
}
else if (up) {
spliceOne(fromParts, i);
up--;
}
}
if (!mustEndAbs) {
for (; up--; up) {
fromParts.unshift('..');
}
}
if (mustEndAbs && fromParts[0] !== '' && (!fromParts[0] || !isAbsolute(fromParts[0]))) {
fromParts.unshift('');
}
var result = fromParts.join('/');
if (hasTrailingSlash && result.substr(-1) !== '/') {
result += '/';
}
return result;
}
function valueEqual(a, b) {
if (a === b) {
return true;
}
if (a == null || b == null) {
return false;
}
if (Array.isArray(a)) {
return Array.isArray(b) && a.length === b.length && a.every(function (item, index) {
return valueEqual(item, b[index]);
});
}
var aType = typeof a;
var bType = typeof b;
if (aType !== bType) {
return false;
}
if (aType === 'object') {
var aValue = a.valueOf();
var bValue = b.valueOf();
if (aValue !== a || bValue !== b) {
return valueEqual(aValue, bValue);
}
var aKeys = Object.keys(a);
var bKeys = Object.keys(b);
if (aKeys.length !== bKeys.length) {
return false;
}
return aKeys.every(function (key) {
return valueEqual(a[key], b[key]);
});
}
return false;
}
function locationsAreEqual(a, b) {
return a.pathname === b.pathname &&
a.search === b.search &&
a.hash === b.hash &&
a.key === b.key &&
valueEqual(a.state, b.state);
}
function createLocation(path, state, key, currentLocation) {
var location;
if (typeof path === 'string') {
location = parsePath(path);
if (location.state !== undefined) {
location.state = state;
}
}
else {
location = Object.assign({ pathname: '' }, path);
if (location.search && location.search.charAt(0) !== '?') {
location.search = '?' + location.search;
}
if (location.hash && location.hash.charAt(0) !== '#') {
location.hash = '#' + location.hash;
}
if (state !== undefined && location.state === undefined) {
location.state = state;
}
}
try {
location.pathname = decodeURI(location.pathname);
}
catch (e) {
if (e instanceof URIError) {
throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' +
'This is likely caused by an invalid percent-encoding.');
}
else {
throw e;
}
}
location.key = key;
if (currentLocation) {
if (!location.pathname) {
location.pathname = currentLocation.pathname;
}
else if (location.pathname.charAt(0) !== '/') {
location.pathname = resolvePathname(location.pathname, currentLocation.pathname);
}
}
else {
if (!location.pathname) {
location.pathname = '/';
}
}
location.query = parseQueryString(location.search || '');
return location;
}
var patternCache = {};
var cacheLimit = 10000;
var cacheCount = 0;
function compilePath(pattern, options) {
var cacheKey = "" + options.end + options.strict;
var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
var cachePattern = JSON.stringify(pattern);
if (cache[cachePattern]) {
return cache[cachePattern];
}
var keys = [];
var re = pathToRegexp(pattern, keys, options);
var compiledPattern = { re: re, keys: keys };
if (cacheCount < cacheLimit) {
cache[cachePattern] = compiledPattern;
cacheCount += 1;
}
return compiledPattern;
}
function matchPath(pathname, options) {
if (options === void 0) { options = {}; }
if (typeof options === 'string') {
options = { path: options };
}
var _c = options.path, path = _c === void 0 ? '/' : _c, _d = options.exact, exact = _d === void 0 ? false : _d, _e = options.strict, strict = _e === void 0 ? false : _e;
var _f = compilePath(path, { end: exact, strict: strict }), re = _f.re, keys = _f.keys;
var match = re.exec(pathname);
if (!match) {
return null;
}
var url = match[0], values = match.slice(1);
var isExact = pathname === url;
if (exact && !isExact) {
return null;
}
return {
path: path,
url: path === '/' && url === '' ? '/' : url,
isExact: isExact,
params: keys.reduce(function (memo, key, index) {
memo[key.name] = values[index];
return memo;
}, {})
};
}
function matchesAreEqual(a, b) {
if (a == null && b == null) {
return true;
}
if (b == null) {
return false;
}
return a && b &&
a.path === b.path &&
a.url === b.url &&
valueEqual(a.params, b.params);
}
/*!
* StencilStateTunnel: Core, es5
* Built with http://stenciljs.com
*/
function u(n, t) { for (var e, r, i = null, o = !1, u = !1, f = arguments.length; f-- > 2;)
T.push(arguments[f]); for (; T.length > 0;) {
var c = T.pop();
if (c && void 0 !== c.pop)
for (f = c.length; f--;)
T.push(c[f]);
else
"boolean" == typeof c && (c = null), (u = "function" != typeof n) && (null == c ? c = "" : "number" == typeof c ? c = String(c) : "string" != typeof c && (u = !1)), u && o ? i[i.length - 1].vtext += c : null === i ? i = [u ? { vtext: c } : c] : i.push(u ? { vtext: c } : c), o = u;
} if (null != t) {
if (t.className && (t.class = t.className), "object" == typeof t.class) {
for (f in t.class)
t.class[f] && T.push(f);
t.class = T.join(" "), T.length = 0;
}
null != t.key && (e = t.key), null != t.name && (r = t.name);
} return "function" == typeof n ? n(t, i || [], W) : { vtag: n, vchildren: i, vtext: void 0, vattrs: t, vkey: e, vname: r, w: void 0, g: !1 }; }
function f(n) { return { vtag: n.vtag, vchildren: n.vchildren, vtext: n.vtext, vattrs: n.vattrs, vkey: n.vkey, vname: n.vname }; }
undefined && undefined.Dn || (Object.setPrototypeOf || Array);
var T = [], W = { forEach: function (n, t) { n.forEach(function (n, e, r) { return t(f(n), e, r); }); }, map: function (n, t) { return n.map(function (n, e, r) { return function i(n) { return { vtag: n.vtag, vchildren: n.vchildren, vtext: n.vtext, vattrs: n.vattrs, vkey: n.vkey, vname: n.vname }; }(t(f(n), e, r)); }); } };
/*! Built with http://stenciljs.com */
var __rest = function (s, e) {
var t = {};
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
return t;
};
function defaultConsumerRender(subscribe, renderer) {
return u("context-consumer", { subscribe: subscribe, renderer: renderer });
}
function createProviderConsumer(defaultState, consumerRender) {
if (consumerRender === void 0) {
consumerRender = defaultConsumerRender;
}
var listeners = new Map();
var currentState = defaultState;
function notifyConsumers() {
listeners.forEach(updateListener);
}
function updateListener(fields, listener) {
if (Array.isArray(fields)) {
fields.slice().forEach(function (fieldName) {
listener[fieldName] = currentState[fieldName];
});
}
else {
listener[fields] = Object.assign({}, currentState);
}
listener.forceUpdate();
}
function attachListener(propList) {
return function (el) {
if (listeners.has(el)) {
return;
}
listeners.set(el, propList);
updateListener(propList, el);
};
}
function subscribe(el, propList) {
attachListener(propList)(el);
return function () {
listeners.delete(el);
};
}
var Provider = function (_b, children) {
var state = _b.state;
currentState = state;
notifyConsumers();
return children;
};
var Consumer = function (props, children) {
return consumerRender(subscribe, children[0]);
};
function wrapConsumer(childComponent, fieldList) {
var Child = childComponent.is;
return function (_a) {
var children = _a.children, props = __rest(_a, ["children"]);
return (u(Child, Object.assign({ ref: attachListener(fieldList) }, props), children));
};
}
function injectProps(childComponent, fieldList) {
var unsubscribe = null;
var elementRefName = Object.keys(childComponent.properties).find(function (propName) {
return childComponent.properties[propName].elementRef == true;
});
if (elementRefName == undefined) {
throw new Error("Please ensure that your Component " + childComponent.is + " has an attribute with an \"@Element\" decorator. " +
"This is required to be able to inject properties.");
}
var prevComponentWillLoad = childComponent.prototype.componentWillLoad;
childComponent.prototype.componentWillLoad = function () {
unsubscribe = subscribe(this[elementRefName], fieldList);
if (prevComponentWillLoad) {
return prevComponentWillLoad.bind(this)();
}
};
var prevComponentDidUnload = childComponent.prototype.componentDidUnload;
childComponent.prototype.componentDidUnload = function () {
unsubscribe();
if (prevComponentDidUnload) {
return prevComponentDidUnload.bind(this)();
}
};
}
return {
Provider: Provider,
Consumer: Consumer,
wrapConsumer: wrapConsumer,
injectProps: injectProps
};
}
// StencilStateTunnel: ES Module
var ActiveRouter = createProviderConsumer({
historyType: 'browser',
location: {
pathname: '',
query: {},
key: ''
},
titleSuffix: '',
root: '/',
routeViewsUpdated: function () { }
});
var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
var addEventListener$1 = function (node, event, listener) { return (node.addEventListener
? node.addEventListener(event, listener, false)
: node.attachEvent('on' + event, listener)); };
var removeEventListener = function (node, event, listener) { return (node.removeEventListener
? node.removeEventListener(event, listener, false)
: node.detachEvent('on' + event, listener)); };
var getConfirmation = function (message, callback) { return (callback(window.confirm(message))); };
var isModifiedEvent = function (event) { return (event.metaKey || event.altKey || event.ctrlKey || event.shiftKey); };
var supportsHistory = function () {
var ua = window.navigator.userAgent;
if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) &&
ua.indexOf('Mobile Safari') !== -1 &&
ua.indexOf('Chrome') === -1 &&
ua.indexOf('Windows Phone') === -1) {
return false;
}
return window.history && 'pushState' in window.history;
};
var supportsPopStateOnHashChange = function () { return (window.navigator.userAgent.indexOf('Trident') === -1); };
var supportsGoWithoutReloadUsingHash = function () { return (window.navigator.userAgent.indexOf('Firefox') === -1); };
var isExtraneousPopstateEvent = function (event) { return (event.state === undefined &&
navigator.userAgent.indexOf('CriOS') === -1); };
var storageAvailable = function (type) {
var storage = window[type], x = '__storage_test__';
try {
storage.setItem(x, x);
storage.removeItem(x);
return true;
}
catch (e) {
return e instanceof DOMException && (e.code === 22 ||
e.code === 1014 ||
e.name === 'QuotaExceededError' ||
e.name === 'NS_ERROR_DOM_QUOTA_REACHED') &&
storage.length !== 0;
}
};
exports.matchPath = matchPath;
exports.matchesAreEqual = matchesAreEqual;
exports.ActiveRouter = ActiveRouter;
exports.storageAvailable = storageAvailable;
exports.createLocation = createLocation;
exports.createKey = createKey;
exports.addLeadingSlash = addLeadingSlash;
exports.stripTrailingSlash = stripTrailingSlash;
exports.hasBasename = hasBasename;
exports.stripBasename = stripBasename;
exports.createPath = createPath;
exports.canUseDOM = canUseDOM;
exports.addEventListener = addEventListener$1;
exports.removeEventListener = removeEventListener;
exports.getConfirmation = getConfirmation;
exports.supportsHistory = supportsHistory;
exports.supportsPopStateOnHashChange = supportsPopStateOnHashChange;
exports.isExtraneousPopstateEvent = isExtraneousPopstateEvent;
exports.locationsAreEqual = locationsAreEqual;
exports.stripLeadingSlash = stripLeadingSlash;
exports.supportsGoWithoutReloadUsingHash = supportsGoWithoutReloadUsingHash;
exports.isModifiedEvent = isModifiedEvent;
});
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-74
View File
@@ -1,74 +0,0 @@
{
"namespace": "DocsSite",
"fsNamespace": "docssite",
"loader": "../docssite.js",
"core": "docssite.core.js",
"corePolyfilled": "docssite.core.pf.js",
"components": {
"footer-bar": {
"bundleIds": {
"$": "footer-bar"
}
},
"header-bar": {
"bundleIds": {
"$": "header-bar"
}
},
"icon-list": {
"bundleIds": {
"$": "icon-list"
}
},
"icon-search": {
"bundleIds": {
"$": "icon-search"
}
},
"ionicons-site": {
"bundleIds": {
"$": "header-bar"
}
},
"landing-page": {
"bundleIds": {
"$": "icon-list"
}
},
"notfound-page": {
"bundleIds": {
"$": "notfound-page"
}
},
"stencil-route": {
"bundleIds": {
"$": "header-bar"
}
},
"stencil-route-link": {
"bundleIds": {
"$": "stencil-route-link"
}
},
"stencil-route-switch": {
"bundleIds": {
"$": "header-bar"
}
},
"stencil-router": {
"bundleIds": {
"$": "header-bar"
}
},
"toast-bar": {
"bundleIds": {
"$": "icon-list"
}
},
"usage-page": {
"bundleIds": {
"$": "usage-page"
}
}
}
}
-96
View File
@@ -1,96 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('dom.js', ['exports'], function (exports) {
var h = window.DocsSite.h;
function applyPolyfill(window, document) {
if (!window['s-ce1']) {
window['s-ce1'] = true;
(function (e, t) { function Ht() { var e = wt.splice(0, wt.length); Et = 0; while (e.length)
e.shift().call(null, e.shift()); } function Bt(e, t) { for (var n = 0, r = e.length; n < r; n++)
Jt(e[n], t); } function jt(e) { for (var t = 0, n = e.length, r; t < n; t++)
r = e[t], Pt(r, A[It(r)]); } function Ft(e) { return function (t) { ut(t) && (Jt(t, e), O.length && Bt(t.querySelectorAll(O), e)); }; } function It(e) { var t = ht.call(e, "is"), n = e.nodeName.toUpperCase(), r = _.call(L, t ? N + t.toUpperCase() : T + n); return t && -1 < r && !qt(n, t) ? -1 : r; } function qt(e, t) { return -1 < O.indexOf(e + '[is="' + t + '"]'); } function Rt(e) { var t = e.currentTarget, n = e.attrChange, r = e.attrName, i = e.target, s = e[y] || 2, o = e[w] || 3; kt && (!i || i === t) && t[h] && r !== "style" && (e.prevValue !== e.newValue || e.newValue === "" && (n === s || n === o)) && t[h](r, n === s ? null : e.prevValue, n === o ? null : e.newValue); } function Ut(e) { var t = Ft(e); return function (e) { wt.push(t, e.target), Et && clearTimeout(Et), Et = setTimeout(Ht, 1); }; } function zt(e) { Ct && (Ct = !1, e.currentTarget.removeEventListener(S, zt)), O.length && Bt((e.target || n).querySelectorAll(O), e.detail === l ? l : a), st && Vt(); } function Wt(e, t) { var n = this; vt.call(n, e, t), Lt.call(n, { target: n }); } function Xt(e, t) { nt(e, t), Mt ? Mt.observe(e, yt) : (Nt && (e.setAttribute = Wt, e[o] = Ot(e), e[u](x, Lt)), e[u](E, Rt)), e[m] && kt && (e.created = !0, e[m](), e.created = !1); } function Vt() { for (var e, t = 0, n = at.length; t < n; t++)
e = at[t], M.contains(e) || (n--, at.splice(t--, 1), Jt(e, l)); } function $t(e) { throw new Error("A " + e + " type is already registered"); } function Jt(e, t) { var n, r = It(e), i; -1 < r && (Dt(e, A[r]), r = 0, t === a && !e[a] ? (e[l] = !1, e[a] = !0, i = "connected", r = 1, st && _.call(at, e) < 0 && at.push(e)) : t === l && !e[l] && (e[a] = !1, e[l] = !0, i = "disconnected", r = 1), r && (n = e[t + f] || e[i + f]) && n.call(e)); } function Kt() { } function Qt(e, t, r) { var i = r && r[c] || "", o = t.prototype, u = tt(o), a = t.observedAttributes || j, f = { prototype: u }; ot(u, m, { value: function () { if (Q)
Q = !1;
else if (!this[W]) {
this[W] = !0, new t(this), o[m] && o[m].call(this);
var e = G[Z.get(t)];
(!V || e.create.length > 1) && Zt(this);
} } }), ot(u, h, { value: function (e) { -1 < _.call(a, e) && o[h].apply(this, arguments); } }), o[d] && ot(u, p, { value: o[d] }), o[v] && ot(u, g, { value: o[v] }), i && (f[c] = i), e = e.toUpperCase(), G[e] = { constructor: t, create: i ? [i, et(e)] : [e] }, Z.set(t, e), n[s](e.toLowerCase(), f), en(e), Y[e].r(); } function Gt(e) { var t = G[e.toUpperCase()]; return t && t.constructor; } function Yt(e) { return typeof e == "string" ? e : e && e.is || ""; } function Zt(e) { var t = e[h], n = t ? e.attributes : j, r = n.length, i; while (r--)
i = n[r], t.call(e, i.name || i.nodeName, null, i.value || i.nodeValue); } function en(e) { return e = e.toUpperCase(), e in Y || (Y[e] = {}, Y[e].p = new K(function (t) { Y[e].r = t; })), Y[e].p; } function tn() { X && delete e.customElements, B(e, "customElements", { configurable: !0, value: new Kt }), B(e, "CustomElementRegistry", { configurable: !0, value: Kt }); for (var t = function (t) { var r = e[t]; if (r) {
e[t] = function (t) { var i, s; return t || (t = this), t[W] || (Q = !0, i = G[Z.get(t.constructor)], s = V && i.create.length === 1, t = s ? Reflect.construct(r, j, i.constructor) : n.createElement.apply(n, i.create), t[W] = !0, Q = !1, s || Zt(t)), t; }, e[t].prototype = r.prototype;
try {
r.prototype.constructor = e[t];
}
catch (i) {
B(r, W, { value: e[t] });
}
} }, r = i.get(/^HTML[A-Z]*[a-z]/), o = r.length; o--; t(r[o]))
; n.createElement = function (e, t) { var n = Yt(t); return n ? gt.call(this, e, et(n)) : gt.call(this, e); }, St || (Tt = !0, n[s]("")); } var n = e.document, r = e.Object, i = function (e) { var t = /^[A-Z]+[a-z]/, n = function (e) { var t = [], n; for (n in s)
e.test(n) && t.push(n); return t; }, i = function (e, t) { t = t.toLowerCase(), t in s || (s[e] = (s[e] || []).concat(t), s[t] = s[t.toUpperCase()] = e); }, s = (r.create || r)(null), o = {}, u, a, f, l; for (a in e)
for (l in e[a]) {
f = e[a][l], s[l] = f;
for (u = 0; u < f.length; u++)
s[f[u].toLowerCase()] = s[f[u].toUpperCase()] = l;
} return o.get = function (r) { return typeof r == "string" ? s[r] || (t.test(r) ? [] : "") : n(r); }, o.set = function (n, r) { return t.test(n) ? i(n, r) : i(r, n), o; }, o; }({ collections: { HTMLAllCollection: ["all"], HTMLCollection: ["forms"], HTMLFormControlsCollection: ["elements"], HTMLOptionsCollection: ["options"] }, elements: { Element: ["element"], HTMLAnchorElement: ["a"], HTMLAppletElement: ["applet"], HTMLAreaElement: ["area"], HTMLAttachmentElement: ["attachment"], HTMLAudioElement: ["audio"], HTMLBRElement: ["br"], HTMLBaseElement: ["base"], HTMLBodyElement: ["body"], HTMLButtonElement: ["button"], HTMLCanvasElement: ["canvas"], HTMLContentElement: ["content"], HTMLDListElement: ["dl"], HTMLDataElement: ["data"], HTMLDataListElement: ["datalist"], HTMLDetailsElement: ["details"], HTMLDialogElement: ["dialog"], HTMLDirectoryElement: ["dir"], HTMLDivElement: ["div"], HTMLDocument: ["document"], HTMLElement: ["element", "abbr", "address", "article", "aside", "b", "bdi", "bdo", "cite", "code", "command", "dd", "dfn", "dt", "em", "figcaption", "figure", "footer", "header", "i", "kbd", "mark", "nav", "noscript", "rp", "rt", "ruby", "s", "samp", "section", "small", "strong", "sub", "summary", "sup", "u", "var", "wbr"], HTMLEmbedElement: ["embed"], HTMLFieldSetElement: ["fieldset"], HTMLFontElement: ["font"], HTMLFormElement: ["form"], HTMLFrameElement: ["frame"], HTMLFrameSetElement: ["frameset"], HTMLHRElement: ["hr"], HTMLHeadElement: ["head"], HTMLHeadingElement: ["h1", "h2", "h3", "h4", "h5", "h6"], HTMLHtmlElement: ["html"], HTMLIFrameElement: ["iframe"], HTMLImageElement: ["img"], HTMLInputElement: ["input"], HTMLKeygenElement: ["keygen"], HTMLLIElement: ["li"], HTMLLabelElement: ["label"], HTMLLegendElement: ["legend"], HTMLLinkElement: ["link"], HTMLMapElement: ["map"], HTMLMarqueeElement: ["marquee"], HTMLMediaElement: ["media"], HTMLMenuElement: ["menu"], HTMLMenuItemElement: ["menuitem"], HTMLMetaElement: ["meta"], HTMLMeterElement: ["meter"], HTMLModElement: ["del", "ins"], HTMLOListElement: ["ol"], HTMLObjectElement: ["object"], HTMLOptGroupElement: ["optgroup"], HTMLOptionElement: ["option"], HTMLOutputElement: ["output"], HTMLParagraphElement: ["p"], HTMLParamElement: ["param"], HTMLPictureElement: ["picture"], HTMLPreElement: ["pre"], HTMLProgressElement: ["progress"], HTMLQuoteElement: ["blockquote", "q", "quote"], HTMLScriptElement: ["script"], HTMLSelectElement: ["select"], HTMLShadowElement: ["shadow"], HTMLSlotElement: ["slot"], HTMLSourceElement: ["source"], HTMLSpanElement: ["span"], HTMLStyleElement: ["style"], HTMLTableCaptionElement: ["caption"], HTMLTableCellElement: ["td", "th"], HTMLTableColElement: ["col", "colgroup"], HTMLTableElement: ["table"], HTMLTableRowElement: ["tr"], HTMLTableSectionElement: ["thead", "tbody", "tfoot"], HTMLTemplateElement: ["template"], HTMLTextAreaElement: ["textarea"], HTMLTimeElement: ["time"], HTMLTitleElement: ["title"], HTMLTrackElement: ["track"], HTMLUListElement: ["ul"], HTMLUnknownElement: ["unknown", "vhgroupv", "vkeygen"], HTMLVideoElement: ["video"] }, nodes: { Attr: ["node"], Audio: ["audio"], CDATASection: ["node"], CharacterData: ["node"], Comment: ["#comment"], Document: ["#document"], DocumentFragment: ["#document-fragment"], DocumentType: ["node"], HTMLDocument: ["#document"], Image: ["img"], Option: ["option"], ProcessingInstruction: ["node"], ShadowRoot: ["#shadow-root"], Text: ["#text"], XMLDocument: ["xml"] } }); typeof t != "object" && (t = { type: t || "auto" }); var s = "registerElement", o = "__" + s + (e.Math.random() * 1e5 >> 0), u = "addEventListener", a = "attached", f = "Callback", l = "detached", c = "extends", h = "attributeChanged" + f, p = a + f, d = "connected" + f, v = "disconnected" + f, m = "created" + f, g = l + f, y = "ADDITION", b = "MODIFICATION", w = "REMOVAL", E = "DOMAttrModified", S = "DOMContentLoaded", x = "DOMSubtreeModified", T = "<", N = "=", C = /^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/, k = ["ANNOTATION-XML", "COLOR-PROFILE", "FONT-FACE", "FONT-FACE-SRC", "FONT-FACE-URI", "FONT-FACE-FORMAT", "FONT-FACE-NAME", "MISSING-GLYPH"], L = [], A = [], O = "", M = n.documentElement, _ = L.indexOf || function (e) { for (var t = this.length; t-- && this[t] !== e;)
; return t; }, D = r.prototype, P = D.hasOwnProperty, H = D.isPrototypeOf, B = r.defineProperty, j = [], F = r.getOwnPropertyDescriptor, I = r.getOwnPropertyNames, q = r.getPrototypeOf, R = r.setPrototypeOf, U = !!r.__proto__, W = "__dreCEv1", X = e.customElements, V = !/^force/.test(t.type) && !!(X && X.define && X.get && X.whenDefined), $ = r.create || r, J = e.Map || function () { var t = [], n = [], r; return { get: function (e) { return n[_.call(t, e)]; }, set: function (e, i) { r = _.call(t, e), r < 0 ? n[t.push(e) - 1] = i : n[r] = i; } }; }, K = e.Promise || function (e) { function i(e) { n = !0; while (t.length)
t.shift()(e); } var t = [], n = !1, r = { "catch": function () { return r; }, then: function (e) { return t.push(e), n && setTimeout(i, 1), r; } }; return e(i), r; }, Q = !1, G = $(null), Y = $(null), Z = new J, et = function (e) { return e.toLowerCase(); }, tt = r.create || function sn(e) { return e ? (sn.prototype = e, new sn) : this; }, nt = R || (U ? function (e, t) { return e.__proto__ = t, e; } : I && F ? function () { function e(e, t) { for (var n, r = I(t), i = 0, s = r.length; i < s; i++)
n = r[i], P.call(e, n) || B(e, n, F(t, n)); } return function (t, n) { do
e(t, n);
while ((n = q(n)) && !H.call(n, t)); return t; }; }() : function (e, t) { for (var n in t)
e[n] = t[n]; return e; }), rt = e.MutationObserver || e.WebKitMutationObserver, it = (e.HTMLElement || e.Element || e.Node).prototype, st = !H.call(it, M), ot = st ? function (e, t, n) { return e[t] = n.value, e; } : B, ut = st ? function (e) { return e.nodeType === 1; } : function (e) { return H.call(it, e); }, at = st && [], ft = it.attachShadow, lt = it.cloneNode, ct = it.dispatchEvent, ht = it.getAttribute, pt = it.hasAttribute, dt = it.removeAttribute, vt = it.setAttribute, mt = n.createElement, gt = mt, yt = rt && { attributes: !0, characterData: !0, attributeOldValue: !0 }, bt = rt || function (e) { Nt = !1, M.removeEventListener(E, bt); }, wt, Et = 0, St = s in n && !/^force-all/.test(t.type), xt = !0, Tt = !1, Nt = !0, Ct = !0, kt = !0, Lt, At, Ot, Mt, _t, Dt, Pt; St || (R || U ? (Dt = function (e, t) { H.call(t, e) || Xt(e, t); }, Pt = Xt) : (Dt = function (e, t) { e[o] || (e[o] = r(!0), Xt(e, t)); }, Pt = Dt), st ? (Nt = !1, function () { var e = F(it, u), t = e.value, n = function (e) { var t = new CustomEvent(E, { bubbles: !0 }); t.attrName = e, t.prevValue = ht.call(this, e), t.newValue = null, t[w] = t.attrChange = 2, dt.call(this, e), ct.call(this, t); }, r = function (e, t) { var n = pt.call(this, e), r = n && ht.call(this, e), i = new CustomEvent(E, { bubbles: !0 }); vt.call(this, e, t), i.attrName = e, i.prevValue = n ? r : null, i.newValue = t, n ? i[b] = i.attrChange = 1 : i[y] = i.attrChange = 0, ct.call(this, i); }, i = function (e) { var t = e.currentTarget, n = t[o], r = e.propertyName, i; n.hasOwnProperty(r) && (n = n[r], i = new CustomEvent(E, { bubbles: !0 }), i.attrName = n.name, i.prevValue = n.value || null, i.newValue = n.value = t[r] || null, i.prevValue == null ? i[y] = i.attrChange = 0 : i[b] = i.attrChange = 1, ct.call(t, i)); }; e.value = function (e, s, u) { e === E && this[h] && this.setAttribute !== r && (this[o] = { className: { name: "class", value: this.className } }, this.setAttribute = r, this.removeAttribute = n, t.call(this, "propertychange", i)), t.call(this, e, s, u); }, B(it, u, e); }()) : rt || (M[u](E, bt), M.setAttribute(o, 1), M.removeAttribute(o), Nt && (Lt = function (e) { var t = this, n, r, i; if (t === e.target) {
n = t[o], t[o] = r = Ot(t);
for (i in r) {
if (!(i in n))
return At(0, t, i, n[i], r[i], y);
if (r[i] !== n[i])
return At(1, t, i, n[i], r[i], b);
}
for (i in n)
if (!(i in r))
return At(2, t, i, n[i], r[i], w);
} }, At = function (e, t, n, r, i, s) { var o = { attrChange: e, currentTarget: t, attrName: n, prevValue: r, newValue: i }; o[s] = e, Rt(o); }, Ot = function (e) { for (var t, n, r = {}, i = e.attributes, s = 0, o = i.length; s < o; s++)
t = i[s], n = t.name, n !== "setAttribute" && (r[n] = t.value); return r; })), n[s] = function (t, r) { p = t.toUpperCase(), xt && (xt = !1, rt ? (Mt = function (e, t) { function n(e, t) { for (var n = 0, r = e.length; n < r; t(e[n++]))
; } return new rt(function (r) { for (var i, s, o, u = 0, a = r.length; u < a; u++)
i = r[u], i.type === "childList" ? (n(i.addedNodes, e), n(i.removedNodes, t)) : (s = i.target, kt && s[h] && i.attributeName !== "style" && (o = ht.call(s, i.attributeName), o !== i.oldValue && s[h](i.attributeName, i.oldValue, o))); }); }(Ft(a), Ft(l)), _t = function (e) { return Mt.observe(e, { childList: !0, subtree: !0 }), e; }, _t(n), ft && (it.attachShadow = function () { return _t(ft.apply(this, arguments)); })) : (wt = [], n[u]("DOMNodeInserted", Ut(a)), n[u]("DOMNodeRemoved", Ut(l))), n[u](S, zt), n[u]("readystatechange", zt), it.cloneNode = function (e) { var t = lt.call(this, !!e), n = It(t); return -1 < n && Pt(t, A[n]), e && O.length && jt(t.querySelectorAll(O)), t; }); if (Tt)
return Tt = !1; -2 < _.call(L, N + p) + _.call(L, T + p) && $t(t); if (!C.test(p) || -1 < _.call(k, p))
throw new Error("The type " + t + " is invalid"); var i = function () { return o ? n.createElement(f, p) : n.createElement(f); }, s = r || D, o = P.call(s, c), f = o ? r[c].toUpperCase() : p, p, d; return o && -1 < _.call(L, T + f) && $t(f), d = L.push((o ? N : T) + p) - 1, O = O.concat(O.length ? "," : "", o ? f + '[is="' + t.toLowerCase() + '"]' : f), i.prototype = A[d] = P.call(s, "prototype") ? s.prototype : tt(it), O.length && Bt(n.querySelectorAll(O), a), i; }, n.createElement = gt = function (e, t) { var r = Yt(t), i = r ? mt.call(n, e, et(r)) : mt.call(n, e), s = "" + e, o = _.call(L, (r ? N : T) + (r || s).toUpperCase()), u = -1 < o; return r && (i.setAttribute("is", r = r.toLowerCase()), u && (u = qt(s.toUpperCase(), r))), kt = !n.createElement.innerHTMLHelper, u && Pt(i, A[o]), i; }), Kt.prototype = { constructor: Kt, define: V ? function (e, t, n) { if (n)
Qt(e, t, n);
else {
var r = e.toUpperCase();
G[r] = { constructor: t, create: [r] }, Z.set(t, r), X.define(e, t);
} } : Qt, get: V ? function (e) { return X.get(e) || Gt(e); } : Gt, whenDefined: V ? function (e) { return K.race([X.whenDefined(e), en(e)]); } : en }; if (!X || /^force/.test(t.type))
tn();
else if (!t.noBuiltIn)
try {
(function (t, r, i) { r[c] = "a", t.prototype = tt(HTMLAnchorElement.prototype), t.prototype.constructor = t, e.customElements.define(i, t, r); if (ht.call(n.createElement("a", { is: i }), "is") !== i || V && ht.call(new t, "is") !== i)
throw r; })(function on() { return Reflect.construct(HTMLAnchorElement, [], on); }, {}, "document-register-element-a");
}
catch (nn) {
tn();
} if (!t.noBuiltIn)
try {
mt.call(n, "a", "a");
}
catch (rn) {
et = function (e) { return { is: e.toLowerCase() }; };
} })(window);
}
/*!
Element.closest and Element.matches
https://github.com/jonathantneal/closest
Creative Commons Zero v1.0 Universal
*/
(function (a) { "function" !== typeof a.matches && (a.matches = a.msMatchesSelector || a.mozMatchesSelector || a.webkitMatchesSelector || function (a) { a = (this.document || this.ownerDocument).querySelectorAll(a); for (var b = 0; a[b] && a[b] !== this;)
++b; return !!a[b]; }); "function" !== typeof a.closest && (a.closest = function (a) { for (var b = this; b && 1 === b.nodeType;) {
if (b.matches(a))
return b;
b = b.parentNode;
} return null; }); })(window.Element.prototype);
/*!
Element.remove()
https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove
*/
(function (b) { b.forEach(function (a) { a.hasOwnProperty("remove") || Object.defineProperty(a, "remove", { configurable: !0, enumerable: !0, writable: !0, value: function () { null !== this.parentNode && this.parentNode.removeChild(this); } }); }); })([Element.prototype, CharacterData.prototype, DocumentType.prototype]);
}
exports.applyPolyfill = applyPolyfill;
Object.defineProperty(exports, '__esModule', { value: true });
});
-24
View File
File diff suppressed because one or more lines are too long
-189
View File
@@ -1,189 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('fetch.js', ['exports'], function (exports) {
var h = window.DocsSite.h;
function applyPolyfill(window, document) {
(function (e) {
function l(a) { "string" !== typeof a && (a = String(a)); if (/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(a))
throw new TypeError("Invalid character in header field name"); return a.toLowerCase(); }
function q(a) { "string" !== typeof a && (a = String(a)); return a; }
function n(a) { var b = { next: function () { var b = a.shift(); return { done: void 0 === b, value: b }; } }; g.iterable && (b[Symbol.iterator] = function () { return b; }); return b; }
function d(a) {
this.map = {};
a instanceof d ? a.forEach(function (a, c) { this.append(c, a); }, this) : Array.isArray(a) ?
a.forEach(function (a) { this.append(a[0], a[1]); }, this) : a && Object.getOwnPropertyNames(a).forEach(function (b) { this.append(b, a[b]); }, this);
}
function p(a) { if (a.bodyUsed)
return Promise.reject(new TypeError("Already read")); a.bodyUsed = !0; }
function r(a) { return new Promise(function (b, c) { a.onload = function () { b(a.result); }; a.onerror = function () { c(a.error); }; }); }
function w(a) { var b = new FileReader, c = r(b); b.readAsArrayBuffer(a); return c; }
function x(a) {
a = new Uint8Array(a);
for (var b = Array(a.length), c = 0; c < a.length; c++)
b[c] = String.fromCharCode(a[c]);
return b.join("");
}
function t(a) { if (a.slice)
return a.slice(0); var b = new Uint8Array(a.byteLength); b.set(new Uint8Array(a)); return b.buffer; }
function u() {
this.bodyUsed = !1;
this._initBody = function (a) {
if (this._bodyInit = a)
if ("string" === typeof a)
this._bodyText = a;
else if (g.blob && Blob.prototype.isPrototypeOf(a))
this._bodyBlob = a;
else if (g.formData && FormData.prototype.isPrototypeOf(a))
this._bodyFormData = a;
else if (g.searchParams && URLSearchParams.prototype.isPrototypeOf(a))
this._bodyText = a.toString();
else if (g.arrayBuffer &&
g.blob && y(a))
this._bodyArrayBuffer = t(a.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer]);
else if (g.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(a) || z(a)))
this._bodyArrayBuffer = t(a);
else
throw Error("unsupported BodyInit type");
else
this._bodyText = "";
this.headers.get("content-type") || ("string" === typeof a ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : g.searchParams && URLSearchParams.prototype.isPrototypeOf(a) &&
this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
};
g.blob && (this.blob = function () { var a = p(this); if (a)
return a; if (this._bodyBlob)
return Promise.resolve(this._bodyBlob); if (this._bodyArrayBuffer)
return Promise.resolve(new Blob([this._bodyArrayBuffer])); if (this._bodyFormData)
throw Error("could not read FormData body as blob"); return Promise.resolve(new Blob([this._bodyText])); }, this.arrayBuffer = function () {
return this._bodyArrayBuffer ? p(this) || Promise.resolve(this._bodyArrayBuffer) :
this.blob().then(w);
});
this.text = function () { var a = p(this); if (a)
return a; if (this._bodyBlob) {
a = this._bodyBlob;
var b = new FileReader, c = r(b);
b.readAsText(a);
return c;
} if (this._bodyArrayBuffer)
return Promise.resolve(x(this._bodyArrayBuffer)); if (this._bodyFormData)
throw Error("could not read FormData body as text"); return Promise.resolve(this._bodyText); };
g.formData && (this.formData = function () { return this.text().then(A); });
this.json = function () { return this.text().then(JSON.parse); };
return this;
}
function k(a, b) {
b =
b || {};
var c = b.body;
if (a instanceof k) {
if (a.bodyUsed)
throw new TypeError("Already read");
this.url = a.url;
this.credentials = a.credentials;
b.headers || (this.headers = new d(a.headers));
this.method = a.method;
this.mode = a.mode;
c || null == a._bodyInit || (c = a._bodyInit, a.bodyUsed = !0);
}
else
this.url = String(a);
this.credentials = b.credentials || this.credentials || "omit";
if (b.headers || !this.headers)
this.headers = new d(b.headers);
var v = b.method || this.method || "GET", g = v.toUpperCase();
this.method = -1 < B.indexOf(g) ? g : v;
this.mode =
b.mode || this.mode || null;
this.referrer = null;
if (("GET" === this.method || "HEAD" === this.method) && c)
throw new TypeError("Body not allowed for GET or HEAD requests");
this._initBody(c);
}
function A(a) { var b = new FormData; a.trim().split("&").forEach(function (a) { if (a) {
var c = a.split("=");
a = c.shift().replace(/\+/g, " ");
c = c.join("=").replace(/\+/g, " ");
b.append(decodeURIComponent(a), decodeURIComponent(c));
} }); return b; }
function C(a) {
var b = new d;
a.replace(/\r?\n[\t ]+/g, " ").split(/\r?\n/).forEach(function (a) {
var c = a.split(":");
if (a = c.shift().trim())
c = c.join(":").trim(), b.append(a, c);
});
return b;
}
function h(a, b) { b || (b = {}); this.type = "default"; this.status = void 0 === b.status ? 200 : b.status; this.ok = 200 <= this.status && 300 > this.status; this.statusText = "statusText" in b ? b.statusText : "OK"; this.headers = new d(b.headers); this.url = b.url || ""; this._initBody(a); }
if (!e.fetch) {
var D = "Symbol" in e && "iterator" in Symbol, m;
if (m = "FileReader" in e && "Blob" in e)
try {
new Blob, m = !0;
}
catch (a) {
m = !1;
}
var g = { searchParams: "URLSearchParams" in e, iterable: D,
blob: m, formData: "FormData" in e, arrayBuffer: "ArrayBuffer" in e };
if (g.arrayBuffer) {
var E = "[object Int8Array];[object Uint8Array];[object Uint8ClampedArray];[object Int16Array];[object Uint16Array];[object Int32Array];[object Uint32Array];[object Float32Array];[object Float64Array]".split(";");
var y = function (a) { return a && DataView.prototype.isPrototypeOf(a); };
var z = ArrayBuffer.isView || function (a) { return a && -1 < E.indexOf(Object.prototype.toString.call(a)); };
}
d.prototype.append = function (a, b) {
a = l(a);
b = q(b);
var c = this.map[a];
this.map[a] = c ? c + "," + b : b;
};
d.prototype["delete"] = function (a) { delete this.map[l(a)]; };
d.prototype.get = function (a) { a = l(a); return this.has(a) ? this.map[a] : null; };
d.prototype.has = function (a) { return this.map.hasOwnProperty(l(a)); };
d.prototype.set = function (a, b) { this.map[l(a)] = q(b); };
d.prototype.forEach = function (a, b) { for (var c in this.map)
this.map.hasOwnProperty(c) && a.call(b, this.map[c], c, this); };
d.prototype.keys = function () { var a = []; this.forEach(function (b, c) { a.push(c); }); return n(a); };
d.prototype.values =
function () { var a = []; this.forEach(function (b) { a.push(b); }); return n(a); };
d.prototype.entries = function () { var a = []; this.forEach(function (b, c) { a.push([c, b]); }); return n(a); };
g.iterable && (d.prototype[Symbol.iterator] = d.prototype.entries);
var B = "DELETE GET HEAD OPTIONS POST PUT".split(" ");
k.prototype.clone = function () { return new k(this, { body: this._bodyInit }); };
u.call(k.prototype);
u.call(h.prototype);
h.prototype.clone = function () {
return new h(this._bodyInit, { status: this.status, statusText: this.statusText, headers: new d(this.headers),
url: this.url });
};
h.error = function () { var a = new h(null, { status: 0, statusText: "" }); a.type = "error"; return a; };
var F = [301, 302, 303, 307, 308];
h.redirect = function (a, b) { if (-1 === F.indexOf(b))
throw new RangeError("Invalid status code"); return new h(null, { status: b, headers: { location: a } }); };
e.Headers = d;
e.Request = k;
e.Response = h;
e.fetch = function (a, b) {
return new Promise(function (c, d) {
var e = new k(a, b), f = new XMLHttpRequest;
f.onload = function () {
var a = { status: f.status, statusText: f.statusText, headers: C(f.getAllResponseHeaders() ||
"") };
a.url = "responseURL" in f ? f.responseURL : a.headers.get("X-Request-URL");
c(new h("response" in f ? f.response : f.responseText, a));
};
f.onerror = function () { d(new TypeError("Network request failed")); };
f.ontimeout = function () { d(new TypeError("Network request failed")); };
f.open(e.method, e.url, !0);
"include" === e.credentials ? f.withCredentials = !0 : "omit" === e.credentials && (f.withCredentials = !1);
"responseType" in f && g.blob && (f.responseType = "blob");
e.headers.forEach(function (a, b) { f.setRequestHeader(b, a); });
f.send("undefined" ===
typeof e._bodyInit ? null : e._bodyInit);
});
};
e.fetch.polyfill = !0;
}
})("undefined" !== typeof self ? self : window);
}
exports.applyPolyfill = applyPolyfill;
Object.defineProperty(exports, '__esModule', { value: true });
});
-25
View File
@@ -1,25 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
function applyPolyfill(window, document) {/*!
whatwg-fetch, 2.0.3
https://github.com/github/fetch
Copyright (c) 2014-2016 GitHub, Inc. - MIT License
*/
(function(e){function l(a){"string"!==typeof a&&(a=String(a));if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(a))throw new TypeError("Invalid character in header field name");return a.toLowerCase()}function q(a){"string"!==typeof a&&(a=String(a));return a}function n(a){var b={next:function(){var b=a.shift();return {done:void 0===b,value:b}}};g.iterable&&(b[Symbol.iterator]=function(){return b});return b}function d(a){this.map={};a instanceof d?a.forEach(function(a,c){this.append(c,a);},this):Array.isArray(a)?
a.forEach(function(a){this.append(a[0],a[1]);},this):a&&Object.getOwnPropertyNames(a).forEach(function(b){this.append(b,a[b]);},this);}function p(a){if(a.bodyUsed)return Promise.reject(new TypeError("Already read"));a.bodyUsed=!0;}function r(a){return new Promise(function(b,c){a.onload=function(){b(a.result);};a.onerror=function(){c(a.error);};})}function w(a){var b=new FileReader,c=r(b);b.readAsArrayBuffer(a);return c}function x(a){a=new Uint8Array(a);for(var b=Array(a.length),c=0;c<a.length;c++)b[c]=String.fromCharCode(a[c]);
return b.join("")}function t(a){if(a.slice)return a.slice(0);var b=new Uint8Array(a.byteLength);b.set(new Uint8Array(a));return b.buffer}function u(){this.bodyUsed=!1;this._initBody=function(a){if(this._bodyInit=a)if("string"===typeof a)this._bodyText=a;else if(g.blob&&Blob.prototype.isPrototypeOf(a))this._bodyBlob=a;else if(g.formData&&FormData.prototype.isPrototypeOf(a))this._bodyFormData=a;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(a))this._bodyText=a.toString();else if(g.arrayBuffer&&
g.blob&&y(a))this._bodyArrayBuffer=t(a.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else if(g.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(a)||z(a)))this._bodyArrayBuffer=t(a);else throw Error("unsupported BodyInit type");else this._bodyText="";this.headers.get("content-type")||("string"===typeof a?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(a)&&
this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"));};g.blob&&(this.blob=function(){var a=p(this);if(a)return a;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):
this.blob().then(w)});this.text=function(){var a=p(this);if(a)return a;if(this._bodyBlob){a=this._bodyBlob;var b=new FileReader,c=r(b);b.readAsText(a);return c}if(this._bodyArrayBuffer)return Promise.resolve(x(this._bodyArrayBuffer));if(this._bodyFormData)throw Error("could not read FormData body as text");return Promise.resolve(this._bodyText)};g.formData&&(this.formData=function(){return this.text().then(A)});this.json=function(){return this.text().then(JSON.parse)};return this}function k(a,b){b=
b||{};var c=b.body;if(a instanceof k){if(a.bodyUsed)throw new TypeError("Already read");this.url=a.url;this.credentials=a.credentials;b.headers||(this.headers=new d(a.headers));this.method=a.method;this.mode=a.mode;c||null==a._bodyInit||(c=a._bodyInit,a.bodyUsed=!0);}else this.url=String(a);this.credentials=b.credentials||this.credentials||"omit";if(b.headers||!this.headers)this.headers=new d(b.headers);var v=b.method||this.method||"GET",g=v.toUpperCase();this.method=-1<B.indexOf(g)?g:v;this.mode=
b.mode||this.mode||null;this.referrer=null;if(("GET"===this.method||"HEAD"===this.method)&&c)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(c);}function A(a){var b=new FormData;a.trim().split("&").forEach(function(a){if(a){var c=a.split("=");a=c.shift().replace(/\+/g," ");c=c.join("=").replace(/\+/g," ");b.append(decodeURIComponent(a),decodeURIComponent(c));}});return b}function C(a){var b=new d;a.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(a){var c=
a.split(":");if(a=c.shift().trim())c=c.join(":").trim(),b.append(a,c);});return b}function h(a,b){b||(b={});this.type="default";this.status=void 0===b.status?200:b.status;this.ok=200<=this.status&&300>this.status;this.statusText="statusText"in b?b.statusText:"OK";this.headers=new d(b.headers);this.url=b.url||"";this._initBody(a);}if(!e.fetch){var D="Symbol"in e&&"iterator"in Symbol,m;if(m="FileReader"in e&&"Blob"in e)try{new Blob,m=!0;}catch(a){m=!1;}var g={searchParams:"URLSearchParams"in e,iterable:D,
blob:m,formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer){var E="[object Int8Array];[object Uint8Array];[object Uint8ClampedArray];[object Int16Array];[object Uint16Array];[object Int32Array];[object Uint32Array];[object Float32Array];[object Float64Array]".split(";");var y=function(a){return a&&DataView.prototype.isPrototypeOf(a)};var z=ArrayBuffer.isView||function(a){return a&&-1<E.indexOf(Object.prototype.toString.call(a))};}d.prototype.append=function(a,b){a=l(a);b=q(b);var c=
this.map[a];this.map[a]=c?c+","+b:b;};d.prototype["delete"]=function(a){delete this.map[l(a)];};d.prototype.get=function(a){a=l(a);return this.has(a)?this.map[a]:null};d.prototype.has=function(a){return this.map.hasOwnProperty(l(a))};d.prototype.set=function(a,b){this.map[l(a)]=q(b);};d.prototype.forEach=function(a,b){for(var c in this.map)this.map.hasOwnProperty(c)&&a.call(b,this.map[c],c,this);};d.prototype.keys=function(){var a=[];this.forEach(function(b,c){a.push(c);});return n(a)};d.prototype.values=
function(){var a=[];this.forEach(function(b){a.push(b);});return n(a)};d.prototype.entries=function(){var a=[];this.forEach(function(b,c){a.push([c,b]);});return n(a)};g.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);var B="DELETE GET HEAD OPTIONS POST PUT".split(" ");k.prototype.clone=function(){return new k(this,{body:this._bodyInit})};u.call(k.prototype);u.call(h.prototype);h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),
url:this.url})};h.error=function(){var a=new h(null,{status:0,statusText:""});a.type="error";return a};var F=[301,302,303,307,308];h.redirect=function(a,b){if(-1===F.indexOf(b))throw new RangeError("Invalid status code");return new h(null,{status:b,headers:{location:a}})};e.Headers=d;e.Request=k;e.Response=h;e.fetch=function(a,b){return new Promise(function(c,d){var e=new k(a,b),f=new XMLHttpRequest;f.onload=function(){var a={status:f.status,statusText:f.statusText,headers:C(f.getAllResponseHeaders()||
"")};a.url="responseURL"in f?f.responseURL:a.headers.get("X-Request-URL");c(new h("response"in f?f.response:f.responseText,a));};f.onerror=function(){d(new TypeError("Network request failed"));};f.ontimeout=function(){d(new TypeError("Network request failed"));};f.open(e.method,e.url,!0);"include"===e.credentials?f.withCredentials=!0:"omit"===e.credentials&&(f.withCredentials=!1);"responseType"in f&&g.blob&&(f.responseType="blob");e.headers.forEach(function(a,b){f.setRequestHeader(b,a);});f.send("undefined"===
typeof e._bodyInit?null:e._bodyInit);})};e.fetch.polyfill=!0;}})("undefined"!==typeof self?self:window);}
export { applyPolyfill };
-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};
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("fonk1mfi",["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};
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("fonk1mfi",["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})});
-27
View File
@@ -1,27 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
class FooterBar {
render() {
return (h("footer", null,
h("div", { class: "container" },
h("div", { class: "footer__open-source" },
h("a", { href: "http://ionicframework.com/", title: "IonicFramework.com", rel: "noopener" },
h("img", { src: "/assets/img/ionic-os-logo.png", alt: "Ionic Open Source Logo" })),
h("p", null,
"Released under ",
h("span", { id: "mit" }, "MIT License"),
" | Copyright @ ",
(new Date()).getFullYear())),
h("div", { class: "footer-menu" },
h("a", { href: "cheatsheet.html" }, "Cheatsheet"),
h("a", { href: "/v1" }, "v1"),
h("a", { href: "/v2" }, "v2"),
h("a", { href: "https://ionicframework.com/docs/ionicons/" }, "v3"),
h("a", { href: "https://ionicframework.com/" }, "Ionic Framework")))));
}
static get is() { return "footer-bar"; }
static get style() { return "footer-bar footer {\n width: 100%;\n background: var(--color-white-lilac);\n -webkit-box-flex: 0;\n -ms-flex: 0 0 8em;\n flex: 0 0 8em;\n /* margin-top: 100px; */ }\n\nfooter-bar .container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n padding-top: 40px;\n padding-bottom: 40px; }\n\nfooter-bar img {\n width: 50%; }\n\nfooter-bar p {\n margin-top: 0;\n margin-bottom: 0;\n color: var(--color-cadet-blue);\n font-size: 10px;\n letter-spacing: 0; }\n\nfooter-bar .footer-menu a {\n -webkit-transition: color 0.3s;\n transition: color 0.3s;\n font-size: 11px;\n font-weight: 600;\n text-decoration: none;\n color: var(--color-gull-gray); }\n\nfooter-bar .footer-menu a:hover {\n color: var(--color-shark); }\n\nfooter-bar .footer-menu a + a {\n margin-left: 18px; }\n\n\@media screen and (max-width: 768px) {\n footer-bar .container {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n text-align: center; }\n footer-bar .footer-menu {\n margin-bottom: 36px; } }"; }
}
export { FooterBar };
-24
View File
@@ -1,24 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('footer-bar', ['exports'], function (exports) {
var h = window.DocsSite.h;
var FooterBar = /** @class */ (function () {
function FooterBar() {
}
FooterBar.prototype.render = function () {
return (h("footer", null, h("div", { class: "container" }, h("div", { class: "footer__open-source" }, h("a", { href: "http://ionicframework.com/", title: "IonicFramework.com", rel: "noopener" }, h("img", { src: "/assets/img/ionic-os-logo.png", alt: "Ionic Open Source Logo" })), h("p", null, "Released under ", h("span", { id: "mit" }, "MIT License"), " | Copyright @ ", (new Date()).getFullYear())), h("div", { class: "footer-menu" }, h("a", { href: "cheatsheet.html" }, "Cheatsheet"), h("a", { href: "/v1" }, "v1"), h("a", { href: "/v2" }, "v2"), h("a", { href: "https://ionicframework.com/docs/ionicons/" }, "v3"), h("a", { href: "https://ionicframework.com/" }, "Ionic Framework")))));
};
Object.defineProperty(FooterBar, "is", {
get: function () { return "footer-bar"; },
enumerable: true,
configurable: true
});
Object.defineProperty(FooterBar, "style", {
get: function () { return "footer-bar footer {\n width: 100%;\n background: var(--color-white-lilac);\n -webkit-box-flex: 0;\n -ms-flex: 0 0 8em;\n flex: 0 0 8em;\n /* margin-top: 100px; */ }\n\nfooter-bar .container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n padding-top: 40px;\n padding-bottom: 40px; }\n\nfooter-bar img {\n width: 50%; }\n\nfooter-bar p {\n margin-top: 0;\n margin-bottom: 0;\n color: var(--color-cadet-blue);\n font-size: 10px;\n letter-spacing: 0; }\n\nfooter-bar .footer-menu a {\n -webkit-transition: color 0.3s;\n transition: color 0.3s;\n font-size: 11px;\n font-weight: 600;\n text-decoration: none;\n color: var(--color-gull-gray); }\n\nfooter-bar .footer-menu a:hover {\n color: var(--color-shark); }\n\nfooter-bar .footer-menu a + a {\n margin-left: 18px; }\n\n\@media screen and (max-width: 768px) {\n footer-bar .container {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n text-align: center; }\n footer-bar .footer-menu {\n margin-bottom: 36px; } }"; },
enumerable: true,
configurable: true
});
return FooterBar;
}());
exports.FooterBar = FooterBar;
Object.defineProperty(exports, '__esModule', { value: true });
});
-27
View File
@@ -1,27 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
class FooterBar {
render() {
return (h("footer", null,
h("div", { class: "container" },
h("div", { class: "footer__open-source" },
h("a", { href: "http://ionicframework.com/", title: "IonicFramework.com", rel: "noopener" },
h("img", { src: "/assets/img/ionic-os-logo.png", alt: "Ionic Open Source Logo" })),
h("p", null,
"Released under ",
h("span", { id: "mit" }, "MIT License"),
" | Copyright @ ",
(new Date()).getFullYear())),
h("div", { class: "footer-menu" },
h("a", { href: "cheatsheet.html" }, "Cheatsheet"),
h("a", { href: "/v1" }, "v1"),
h("a", { href: "/v2" }, "v2"),
h("a", { href: "https://ionicframework.com/docs/ionicons/" }, "v3"),
h("a", { href: "https://ionicframework.com/" }, "Ionic Framework")))));
}
static get is() { return "footer-bar"; }
static get style() { return "footer-bar footer {\n width: 100%;\n background: var(--color-white-lilac);\n -webkit-box-flex: 0;\n -ms-flex: 0 0 8em;\n flex: 0 0 8em;\n /* margin-top: 100px; */ }\n\nfooter-bar .container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n padding-top: 40px;\n padding-bottom: 40px; }\n\nfooter-bar img {\n width: 50%; }\n\nfooter-bar p {\n margin-top: 0;\n margin-bottom: 0;\n color: var(--color-cadet-blue);\n font-size: 10px;\n letter-spacing: 0; }\n\nfooter-bar .footer-menu a {\n -webkit-transition: color 0.3s;\n transition: color 0.3s;\n font-size: 11px;\n font-weight: 600;\n text-decoration: none;\n color: var(--color-gull-gray); }\n\nfooter-bar .footer-menu a:hover {\n color: var(--color-shark); }\n\nfooter-bar .footer-menu a + a {\n margin-left: 18px; }\n\n\@media screen and (max-width: 768px) {\n footer-bar .container {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n text-align: center; }\n footer-bar .footer-menu {\n margin-bottom: 36px; } }"; }
}
export { FooterBar };
-24
View File
@@ -1,24 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('footer-bar', ['exports'], function (exports) {
var h = window.DocsSite.h;
var FooterBar = /** @class */ (function () {
function FooterBar() {
}
FooterBar.prototype.render = function () {
return (h("footer", null, h("div", { class: "container" }, h("div", { class: "footer__open-source" }, h("a", { href: "http://ionicframework.com/", title: "IonicFramework.com", rel: "noopener" }, h("img", { src: "/assets/img/ionic-os-logo.png", alt: "Ionic Open Source Logo" })), h("p", null, "Released under ", h("span", { id: "mit" }, "MIT License"), " | Copyright @ ", (new Date()).getFullYear())), h("div", { class: "footer-menu" }, h("a", { href: "cheatsheet.html" }, "Cheatsheet"), h("a", { href: "/v1" }, "v1"), h("a", { href: "/v2" }, "v2"), h("a", { href: "https://ionicframework.com/docs/ionicons/" }, "v3"), h("a", { href: "https://ionicframework.com/" }, "Ionic Framework")))));
};
Object.defineProperty(FooterBar, "is", {
get: function () { return "footer-bar"; },
enumerable: true,
configurable: true
});
Object.defineProperty(FooterBar, "style", {
get: function () { return "footer-bar footer {\n width: 100%;\n background: var(--color-white-lilac);\n -webkit-box-flex: 0;\n -ms-flex: 0 0 8em;\n flex: 0 0 8em;\n /* margin-top: 100px; */ }\n\nfooter-bar .container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n padding-top: 40px;\n padding-bottom: 40px; }\n\nfooter-bar img {\n width: 50%; }\n\nfooter-bar p {\n margin-top: 0;\n margin-bottom: 0;\n color: var(--color-cadet-blue);\n font-size: 10px;\n letter-spacing: 0; }\n\nfooter-bar .footer-menu a {\n -webkit-transition: color 0.3s;\n transition: color 0.3s;\n font-size: 11px;\n font-weight: 600;\n text-decoration: none;\n color: var(--color-gull-gray); }\n\nfooter-bar .footer-menu a:hover {\n color: var(--color-shark); }\n\nfooter-bar .footer-menu a + a {\n margin-left: 18px; }\n\n\@media screen and (max-width: 768px) {\n footer-bar .container {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n text-align: center; }\n footer-bar .footer-menu {\n margin-bottom: 36px; } }"; },
enumerable: true,
configurable: true
});
return FooterBar;
}());
exports.FooterBar = FooterBar;
Object.defineProperty(exports, '__esModule', { value: true });
});
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
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
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
-71
View File
@@ -1,71 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
class IconSearch {
constructor() {
this.query = '';
this.size = 'small';
this.autofocus = 'none';
this.showClearCtrl = false;
}
watchQuery() {
this.showClearCtrl = (this.query.length > 0) ? true : false;
}
searchListener(ev) {
if (ev.keyCode === 27) {
this.handleClear();
return;
}
const value = ev.target.value;
this.hasSearched.emit(value);
}
handleClear() {
this.hasSearched.emit('');
}
componentWillLoad() {
this.watchQuery();
}
render() {
return (h("div", { class: `search-input search-input--${this.size}` },
h("input", { type: "text", placeholder: "Search icons...", value: this.query, autofocus: this.autofocus === 'autofocus' ? 'autofocus' : '' }),
h("i", { class: {
'search-input__clear': true,
'search-input__clear--active': this.showClearCtrl,
'ion': true,
'ion-md-close': true
}, 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": true
},
"size": {
"type": String,
"attr": "size"
}
}; }
static get events() { return [{
"name": "hasSearched",
"method": "hasSearched",
"bubbles": true,
"cancelable": true,
"composed": true
}]; }
static get listeners() { return [{
"name": "keyup",
"method": "searchListener"
}]; }
static get style() { return "icon-search .search-input {\n position: relative; }\n\nicon-search .search-input input {\n width: 100%;\n font-weight: 400;\n font-family: 'Eina';\n font-size: 16px;\n border: 0;\n outline: 0;\n border-radius: 6px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n -webkit-appearance: none;\n vertical-align: middle; }\n\nicon-search .search-input__clear {\n -webkit-transition: background 0.3s, opacity 0.3s;\n transition: background 0.3s, opacity 0.3s;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n right: 16px;\n font-size: 14px;\n width: 22px;\n height: 22px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n color: var(--color-pale-sky);\n opacity: 0;\n background-color: var(--color-catskill-white);\n border-radius: 100px; }\n icon-search .search-input__clear--active {\n opacity: 0.8; }\n icon-search .search-input__clear--active:hover {\n opacity: 1;\n background-color: #e3e9f3; }\n\nicon-search .search-input--small .search-input__clear {\n font-size: 12px;\n width: 18px;\n height: 18px;\n background-color: #e3e9f3;\n right: 12px; }\n icon-search .search-input--small .search-input__clear--active:hover {\n background-color: #dce3f0; }\n\nicon-search .search-input:before {\n font-family: \"Ionicons\";\n content: \"\\f4a5\";\n color: var(--color-heather);\n position: absolute;\n height: 24px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n\nicon-search .search-input--small input {\n font-size: 13px;\n line-height: 18px;\n padding: 10px;\n padding-left: 30px;\n padding-right: 30px;\n background-color: #f6f7f9;\n height: 39px;\n text-indent: 0; }\n\nicon-search .search-input--small:before {\n font-size: 18px;\n left: 10px; }\n\nicon-search .search-input--large input {\n -webkit-transition: -webkit-box-shadow 0.3s;\n transition: -webkit-box-shadow 0.3s;\n transition: box-shadow 0.3s;\n transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;\n font-size: 16px;\n line-height: 22px;\n padding: 20px;\n padding-left: 50px;\n padding-right: 50px;\n background-color: white;\n -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large input:focus {\n -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large:before {\n font-size: 22px;\n left: 20px; }\n\nicon-search .search-input input::-webkit-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::-ms-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::placeholder {\n color: var(--color-heather); }"; }
}
export { IconSearch };
-97
View File
@@ -1,97 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('icon-search', ['exports'], function (exports) {
var h = window.DocsSite.h;
var IconSearch = /** @class */ (function () {
function IconSearch() {
this.query = '';
this.size = 'small';
this.autofocus = 'none';
this.showClearCtrl = false;
}
IconSearch.prototype.watchQuery = function () {
this.showClearCtrl = (this.query.length > 0) ? true : false;
};
IconSearch.prototype.searchListener = function (ev) {
if (ev.keyCode === 27) {
this.handleClear();
return;
}
var value = ev.target.value;
this.hasSearched.emit(value);
};
IconSearch.prototype.handleClear = function () {
this.hasSearched.emit('');
};
IconSearch.prototype.componentWillLoad = function () {
this.watchQuery();
};
IconSearch.prototype.render = function () {
return (h("div", { class: "search-input search-input--" + this.size }, h("input", { type: "text", placeholder: "Search icons...", value: this.query, autofocus: this.autofocus === 'autofocus' ? 'autofocus' : '' }), h("i", { class: {
'search-input__clear': true,
'search-input__clear--active': this.showClearCtrl,
'ion': true,
'ion-md-close': true
}, onClick: this.handleClear.bind(this) })));
};
Object.defineProperty(IconSearch, "is", {
get: function () { return "icon-search"; },
enumerable: true,
configurable: true
});
Object.defineProperty(IconSearch, "properties", {
get: function () {
return {
"autofocus": {
"type": String,
"attr": "autofocus"
},
"query": {
"type": String,
"attr": "query",
"watchCallbacks": ["watchQuery"]
},
"showClearCtrl": {
"state": true
},
"size": {
"type": String,
"attr": "size"
}
};
},
enumerable: true,
configurable: true
});
Object.defineProperty(IconSearch, "events", {
get: function () {
return [{
"name": "hasSearched",
"method": "hasSearched",
"bubbles": true,
"cancelable": true,
"composed": true
}];
},
enumerable: true,
configurable: true
});
Object.defineProperty(IconSearch, "listeners", {
get: function () {
return [{
"name": "keyup",
"method": "searchListener"
}];
},
enumerable: true,
configurable: true
});
Object.defineProperty(IconSearch, "style", {
get: function () { return "icon-search .search-input {\n position: relative; }\n\nicon-search .search-input input {\n width: 100%;\n font-weight: 400;\n font-family: 'Eina';\n font-size: 16px;\n border: 0;\n outline: 0;\n border-radius: 6px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n -webkit-appearance: none;\n vertical-align: middle; }\n\nicon-search .search-input__clear {\n -webkit-transition: background 0.3s, opacity 0.3s;\n transition: background 0.3s, opacity 0.3s;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n right: 16px;\n font-size: 14px;\n width: 22px;\n height: 22px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n color: var(--color-pale-sky);\n opacity: 0;\n background-color: var(--color-catskill-white);\n border-radius: 100px; }\n icon-search .search-input__clear--active {\n opacity: 0.8; }\n icon-search .search-input__clear--active:hover {\n opacity: 1;\n background-color: #e3e9f3; }\n\nicon-search .search-input--small .search-input__clear {\n font-size: 12px;\n width: 18px;\n height: 18px;\n background-color: #e3e9f3;\n right: 12px; }\n icon-search .search-input--small .search-input__clear--active:hover {\n background-color: #dce3f0; }\n\nicon-search .search-input:before {\n font-family: \"Ionicons\";\n content: \"\\f4a5\";\n color: var(--color-heather);\n position: absolute;\n height: 24px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n\nicon-search .search-input--small input {\n font-size: 13px;\n line-height: 18px;\n padding: 10px;\n padding-left: 30px;\n padding-right: 30px;\n background-color: #f6f7f9;\n height: 39px;\n text-indent: 0; }\n\nicon-search .search-input--small:before {\n font-size: 18px;\n left: 10px; }\n\nicon-search .search-input--large input {\n -webkit-transition: -webkit-box-shadow 0.3s;\n transition: -webkit-box-shadow 0.3s;\n transition: box-shadow 0.3s;\n transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;\n font-size: 16px;\n line-height: 22px;\n padding: 20px;\n padding-left: 50px;\n padding-right: 50px;\n background-color: white;\n -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large input:focus {\n -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large:before {\n font-size: 22px;\n left: 20px; }\n\nicon-search .search-input input::-webkit-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::-ms-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::placeholder {\n color: var(--color-heather); }"; },
enumerable: true,
configurable: true
});
return IconSearch;
}());
exports.IconSearch = IconSearch;
Object.defineProperty(exports, '__esModule', { value: true });
});
-71
View File
@@ -1,71 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
class IconSearch {
constructor() {
this.query = '';
this.size = 'small';
this.autofocus = 'none';
this.showClearCtrl = false;
}
watchQuery() {
this.showClearCtrl = (this.query.length > 0) ? true : false;
}
searchListener(ev) {
if (ev.keyCode === 27) {
this.handleClear();
return;
}
const value = ev.target.value;
this.hasSearched.emit(value);
}
handleClear() {
this.hasSearched.emit('');
}
componentWillLoad() {
this.watchQuery();
}
render() {
return (h("div", { class: `search-input search-input--${this.size}` },
h("input", { type: "text", placeholder: "Search icons...", value: this.query, autofocus: this.autofocus === 'autofocus' ? 'autofocus' : '' }),
h("i", { class: {
'search-input__clear': true,
'search-input__clear--active': this.showClearCtrl,
'ion': true,
'ion-md-close': true
}, 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": true
},
"size": {
"type": String,
"attr": "size"
}
}; }
static get events() { return [{
"name": "hasSearched",
"method": "hasSearched",
"bubbles": true,
"cancelable": true,
"composed": true
}]; }
static get listeners() { return [{
"name": "keyup",
"method": "searchListener"
}]; }
static get style() { return "icon-search .search-input {\n position: relative; }\n\nicon-search .search-input input {\n width: 100%;\n font-weight: 400;\n font-family: 'Eina';\n font-size: 16px;\n border: 0;\n outline: 0;\n border-radius: 6px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n -webkit-appearance: none;\n vertical-align: middle; }\n\nicon-search .search-input__clear {\n -webkit-transition: background 0.3s, opacity 0.3s;\n transition: background 0.3s, opacity 0.3s;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n right: 16px;\n font-size: 14px;\n width: 22px;\n height: 22px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n color: var(--color-pale-sky);\n opacity: 0;\n background-color: var(--color-catskill-white);\n border-radius: 100px; }\n icon-search .search-input__clear--active {\n opacity: 0.8; }\n icon-search .search-input__clear--active:hover {\n opacity: 1;\n background-color: #e3e9f3; }\n\nicon-search .search-input--small .search-input__clear {\n font-size: 12px;\n width: 18px;\n height: 18px;\n background-color: #e3e9f3;\n right: 12px; }\n icon-search .search-input--small .search-input__clear--active:hover {\n background-color: #dce3f0; }\n\nicon-search .search-input:before {\n font-family: \"Ionicons\";\n content: \"\\f4a5\";\n color: var(--color-heather);\n position: absolute;\n height: 24px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n\nicon-search .search-input--small input {\n font-size: 13px;\n line-height: 18px;\n padding: 10px;\n padding-left: 30px;\n padding-right: 30px;\n background-color: #f6f7f9;\n height: 39px;\n text-indent: 0; }\n\nicon-search .search-input--small:before {\n font-size: 18px;\n left: 10px; }\n\nicon-search .search-input--large input {\n -webkit-transition: -webkit-box-shadow 0.3s;\n transition: -webkit-box-shadow 0.3s;\n transition: box-shadow 0.3s;\n transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;\n font-size: 16px;\n line-height: 22px;\n padding: 20px;\n padding-left: 50px;\n padding-right: 50px;\n background-color: white;\n -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large input:focus {\n -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large:before {\n font-size: 22px;\n left: 20px; }\n\nicon-search .search-input input::-webkit-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::-ms-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::placeholder {\n color: var(--color-heather); }"; }
}
export { IconSearch };
-97
View File
@@ -1,97 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('icon-search', ['exports'], function (exports) {
var h = window.DocsSite.h;
var IconSearch = /** @class */ (function () {
function IconSearch() {
this.query = '';
this.size = 'small';
this.autofocus = 'none';
this.showClearCtrl = false;
}
IconSearch.prototype.watchQuery = function () {
this.showClearCtrl = (this.query.length > 0) ? true : false;
};
IconSearch.prototype.searchListener = function (ev) {
if (ev.keyCode === 27) {
this.handleClear();
return;
}
var value = ev.target.value;
this.hasSearched.emit(value);
};
IconSearch.prototype.handleClear = function () {
this.hasSearched.emit('');
};
IconSearch.prototype.componentWillLoad = function () {
this.watchQuery();
};
IconSearch.prototype.render = function () {
return (h("div", { class: "search-input search-input--" + this.size }, h("input", { type: "text", placeholder: "Search icons...", value: this.query, autofocus: this.autofocus === 'autofocus' ? 'autofocus' : '' }), h("i", { class: {
'search-input__clear': true,
'search-input__clear--active': this.showClearCtrl,
'ion': true,
'ion-md-close': true
}, onClick: this.handleClear.bind(this) })));
};
Object.defineProperty(IconSearch, "is", {
get: function () { return "icon-search"; },
enumerable: true,
configurable: true
});
Object.defineProperty(IconSearch, "properties", {
get: function () {
return {
"autofocus": {
"type": String,
"attr": "autofocus"
},
"query": {
"type": String,
"attr": "query",
"watchCallbacks": ["watchQuery"]
},
"showClearCtrl": {
"state": true
},
"size": {
"type": String,
"attr": "size"
}
};
},
enumerable: true,
configurable: true
});
Object.defineProperty(IconSearch, "events", {
get: function () {
return [{
"name": "hasSearched",
"method": "hasSearched",
"bubbles": true,
"cancelable": true,
"composed": true
}];
},
enumerable: true,
configurable: true
});
Object.defineProperty(IconSearch, "listeners", {
get: function () {
return [{
"name": "keyup",
"method": "searchListener"
}];
},
enumerable: true,
configurable: true
});
Object.defineProperty(IconSearch, "style", {
get: function () { return "icon-search .search-input {\n position: relative; }\n\nicon-search .search-input input {\n width: 100%;\n font-weight: 400;\n font-family: 'Eina';\n font-size: 16px;\n border: 0;\n outline: 0;\n border-radius: 6px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n -webkit-appearance: none;\n vertical-align: middle; }\n\nicon-search .search-input__clear {\n -webkit-transition: background 0.3s, opacity 0.3s;\n transition: background 0.3s, opacity 0.3s;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n right: 16px;\n font-size: 14px;\n width: 22px;\n height: 22px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n color: var(--color-pale-sky);\n opacity: 0;\n background-color: var(--color-catskill-white);\n border-radius: 100px; }\n icon-search .search-input__clear--active {\n opacity: 0.8; }\n icon-search .search-input__clear--active:hover {\n opacity: 1;\n background-color: #e3e9f3; }\n\nicon-search .search-input--small .search-input__clear {\n font-size: 12px;\n width: 18px;\n height: 18px;\n background-color: #e3e9f3;\n right: 12px; }\n icon-search .search-input--small .search-input__clear--active:hover {\n background-color: #dce3f0; }\n\nicon-search .search-input:before {\n font-family: \"Ionicons\";\n content: \"\\f4a5\";\n color: var(--color-heather);\n position: absolute;\n height: 24px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n\nicon-search .search-input--small input {\n font-size: 13px;\n line-height: 18px;\n padding: 10px;\n padding-left: 30px;\n padding-right: 30px;\n background-color: #f6f7f9;\n height: 39px;\n text-indent: 0; }\n\nicon-search .search-input--small:before {\n font-size: 18px;\n left: 10px; }\n\nicon-search .search-input--large input {\n -webkit-transition: -webkit-box-shadow 0.3s;\n transition: -webkit-box-shadow 0.3s;\n transition: box-shadow 0.3s;\n transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;\n font-size: 16px;\n line-height: 22px;\n padding: 20px;\n padding-left: 50px;\n padding-right: 50px;\n background-color: white;\n -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large input:focus {\n -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large:before {\n font-size: 22px;\n left: 20px; }\n\nicon-search .search-input input::-webkit-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::-ms-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::placeholder {\n color: var(--color-heather); }"; },
enumerable: true,
configurable: true
});
return IconSearch;
}());
exports.IconSearch = IconSearch;
Object.defineProperty(exports, '__esModule', { value: true });
});
-19
View File
@@ -1,19 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
class NotFoundPage {
render() {
return (h("main", null,
h("div", { class: "container" },
h("h1", null, "Woops! We can't find the page your looking for."),
h("p", null,
"Head on back to the ",
h("stencil-route-link", { url: "/", class: "block" }, "Icons page"),
".")),
h("footer-bar", null)));
}
static get is() { return "notfound-page"; }
static get style() { return "notfound-page {\n text-align: center;\n height: 100%; }\n notfound-page h1 {\n max-width: 500px; }\n notfound-page a {\n font-weight: 600; }"; }
}
export { NotFoundPage as NotfoundPage };
-24
View File
@@ -1,24 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('notfound-page', ['exports'], function (exports) {
var h = window.DocsSite.h;
var NotFoundPage = /** @class */ (function () {
function NotFoundPage() {
}
NotFoundPage.prototype.render = function () {
return (h("main", null, h("div", { class: "container" }, h("h1", null, "Woops! We can't find the page your looking for."), h("p", null, "Head on back to the ", h("stencil-route-link", { url: "/", class: "block" }, "Icons page"), ".")), h("footer-bar", null)));
};
Object.defineProperty(NotFoundPage, "is", {
get: function () { return "notfound-page"; },
enumerable: true,
configurable: true
});
Object.defineProperty(NotFoundPage, "style", {
get: function () { return "notfound-page {\n text-align: center;\n height: 100%; }\n notfound-page h1 {\n max-width: 500px; }\n notfound-page a {\n font-weight: 600; }"; },
enumerable: true,
configurable: true
});
return NotFoundPage;
}());
exports.NotfoundPage = NotFoundPage;
Object.defineProperty(exports, '__esModule', { value: true });
});
-19
View File
@@ -1,19 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
class NotFoundPage {
render() {
return (h("main", null,
h("div", { class: "container" },
h("h1", null, "Woops! We can't find the page your looking for."),
h("p", null,
"Head on back to the ",
h("stencil-route-link", { url: "/", class: "block" }, "Icons page"),
".")),
h("footer-bar", null)));
}
static get is() { return "notfound-page"; }
static get style() { return "notfound-page {\n text-align: center;\n height: 100%; }\n notfound-page h1 {\n max-width: 500px; }\n notfound-page a {\n font-weight: 600; }"; }
}
export { NotFoundPage as NotfoundPage };
-24
View File
@@ -1,24 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('notfound-page', ['exports'], function (exports) {
var h = window.DocsSite.h;
var NotFoundPage = /** @class */ (function () {
function NotFoundPage() {
}
NotFoundPage.prototype.render = function () {
return (h("main", null, h("div", { class: "container" }, h("h1", null, "Woops! We can't find the page your looking for."), h("p", null, "Head on back to the ", h("stencil-route-link", { url: "/", class: "block" }, "Icons page"), ".")), h("footer-bar", null)));
};
Object.defineProperty(NotFoundPage, "is", {
get: function () { return "notfound-page"; },
enumerable: true,
configurable: true
});
Object.defineProperty(NotFoundPage, "style", {
get: function () { return "notfound-page {\n text-align: center;\n height: 100%; }\n notfound-page h1 {\n max-width: 500px; }\n notfound-page a {\n font-weight: 600; }"; },
enumerable: true,
configurable: true
});
return NotFoundPage;
}());
exports.NotfoundPage = NotFoundPage;
Object.defineProperty(exports, '__esModule', { value: true });
});
-20
View File
@@ -1,20 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle('object.js', ['exports'], function (exports) {
var h = window.DocsSite.h;
function applyPolyfill(window, document) {
"function" != typeof Object.assign && Object.defineProperty(Object, "assign", { value: function (d, f) { if (null == d)
throw new TypeError("Cannot convert undefined or null to object"); for (var e = Object(d), b = 1; b < arguments.length; b++) {
var a = arguments[b];
if (null != a)
for (var c in a)
Object.prototype.hasOwnProperty.call(a, c) && (e[c] = a[c]);
} return e; }, writable: !0, configurable: !0 });
/*!
Object.entries
*/
Object.entries || (Object.entries = function (c) { for (var b = Object.keys(c), a = b.length, d = Array(a); a--;)
d[a] = [b[a], c[b[a]]]; return d; });
}
exports.applyPolyfill = applyPolyfill;
Object.defineProperty(exports, '__esModule', { value: true });
});
-13
View File
@@ -1,13 +0,0 @@
/*! Built with http://stenciljs.com */
const { h } = window.DocsSite;
function applyPolyfill(window, document) {/*!
Object.assign
*/
"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(d,f){if(null==d)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(d),b=1;b<arguments.length;b++){var a=arguments[b];if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(e[c]=a[c]);}return e},writable:!0,configurable:!0});
/*!
Object.entries
*/
Object.entries||(Object.entries=function(c){for(var b=Object.keys(c),a=b.length,d=Array(a);a--;)d[a]=[b[a],c[b[a]]];return d});}
export { applyPolyfill };

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