Compare commits

...
26 Commits
Author SHA1 Message Date
Manu Mtz.-Almeida cb0f2b789f 4.4.8 2018-11-26 21:58:47 +01:00
Manu Mtz.-Almeida 696575a925 chore(): update stencil 2018-11-26 21:58:18 +01:00
Manu Mtz.-Almeida c96037ff3f fix(icon): make sure MD is always used by default 2018-11-26 21:58:10 +01:00
Manu Mtz.-Almeida 76f4f6d90b chore(): update website 2018-11-15 18:07:51 +01:00
Manu Mtz.-Almeida 76799e6d2a 4.4.7 2018-11-15 17:37:49 +01:00
Manu Mtz.-Almeida 685c09df15 fix(capacitor): accept 0 as valid status code 2018-11-15 17:37:21 +01:00
Cam Wiegert e8e8216f35 fix: remove unused size custom properties (#635)
This removes the use of two undocumented custom properties from the component styles.

- `--ion-icon-size-large`
- `--ion-icon-size-small`
2018-11-06 10:21:02 -06:00
Kevin Ports 92c579228e Add Ionic referral link to headline 2018-10-19 10:22:41 -05:00
Kevin Ports e080c27251 dev build should look for ts file not js stencil config file 2018-10-18 15:01:43 -05:00
Manu Mtz.-Almeida f3e720c129 chore(): update website 2018-10-14 11:20:19 -05:00
Manu Mtz.-Almeida b9e6dd787e chore(): update website 2018-10-14 11:11:36 -05:00
Manu Mtz.-Almeida d00a1db48e 4.4.6 2018-10-14 11:10:13 -05:00
Manu Mtz.-Almeida 500bd26e56 fix(): remove console log 2018-10-14 11:08:43 -05:00
Manu Mtz.-Almeida 73bc0a596a chore(): update website 2018-10-14 10:59:39 -05:00
Manu Mtz.-Almeida 02e6c71099 4.4.5 2018-10-14 10:58:45 -05:00
Manu Mtz.-Almeida 1445bbd4a9 fix(): scoped css race condition 2018-10-14 10:57:11 -05:00
Adam Bradley c0e2a0498b chore(deps): update node-sass 2018-10-12 13:18:05 -05:00
perry c493761abc docs version bump 2018-10-08 10:07:32 -05:00
perry 4c07e02372 FF bug with this stenicl version 2018-10-05 23:52:52 -05:00
Manu Mtz.-Almeida 354665f069 chore(): update website 2018-09-25 23:41:48 +02:00
Manu Mtz.-Almeida 43b4fff014 4.4.4 2018-09-25 23:36:58 +02:00
Manu Mtz.-Almeida c14505fb28 chore(): update to latest stencil 2018-09-25 23:36:30 +02:00
Manu Mtz.-Almeida 7f4291e460 fix(webpack): fix warning 2018-09-25 22:52:59 +02:00
Manu Mtz.-Almeida f8a367a1c8 4.4.3 2018-08-27 21:08:58 +02:00
Manu Mtz.-Almeida c1bcd61d5a chore(): update stencil 2018-08-27 21:08:27 +02:00
Manu Mtz.-Almeida 9a9aca0ae0 chore(): update website 2018-08-27 19:12:35 +02:00
109 changed files with 3492 additions and 6550 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,5 +1,5 @@
/*!
* Built with http://stenciljs.com
* 2018-07-23T15:37:48
* 2018-11-15T17:05:33
*/
!function(e,t,o,r,s,c,n,i,a,l,u,d,h,p){for((u=e.DocsSite=e.DocsSite||{}).components=a,(h=a.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=h.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,o){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),o.componentOnReady||(o.componentOnReady=function(){var t=this;function o(o){if(t.nodeName.indexOf("-")>0){for(var r=e["s-apps"],s=0,c=0;c<r.length;c++)if(e[r[c]].componentOnReady){if(e[r[c]].componentOnReady(t,o))return;s++}if(s<r.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,o])}o(null)}return e.Promise?new e.Promise(o):{then:o}})}(e,0,l),s=s||u.resourcesUrl,d=(h=t.querySelectorAll("script")).length-1;d>=0&&!(p=h[d]).src&&!p.hasAttribute("data-resources-url");d--);h=p.getAttribute("data-resources-url"),!s&&h&&(s=h),!s&&p.src&&(s=(h=p.src.split("/").slice(0,-1)).join("/")+(h.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,o,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in o)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=s+"docssite.p9maaol9.js":(d.src=s+"docssite.1g5w8nag.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",s),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","3vkw131p",1],["header-bar","csexa4ze",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","2osh7cvf",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","ym0h5hh3",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","csexa4ze",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","2osh7cvf",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","fonk1mfi",1],["stencil-route","csexa4ze",1,[["component",1,0,1,2],["componentProps",1],["componentUpdated",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupMatch",1],["history",1],["historyType",1,0,"history-type",2],["location",1],["match",5],["routeRender",1],["routeViewsUpdated",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","9g7fwmr8",0,[["activeClass",1,0,"active-class",2],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["el",7],["exact",1,0,1,3],["history",1],["location",1],["match",5],["root",1,0,1,2],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-route-switch","csexa4ze",0,[["el",7],["group",1,0,1,2],["location",1],["queue",3,0,0,0,"queue"],["routeViewsUpdated",1],["scrollTopOffset",1,0,"scroll-top-offset",4]]],["stencil-router","csexa4ze",0,[["history",5],["historyType",1,0,"history-type",2],["isServer",3,0,0,0,"isServer"],["location",5],["queue",3,0,0,0,"queue"],["root",1,0,1,2],["scrollTopOffset",1,0,"scroll-top-offset",4],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","2osh7cvf",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","ywjkqjtg",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);
!function(e,t,r,s,n,i,o,c,a,u,l,d,p,h){for(l=e.DocsSite=e.DocsSite||{},(d=t.createElement("style")).innerHTML=a+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],n=0,i=0;i<s.length;i++)if(e[s[i]].componentOnReady){if(e[s[i]].componentOnReady(t,r))return;n++}if(n<s.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,u),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,s){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"docssite.fmis9o0d.js":(d.src=n+"docssite.dxmw2dld.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,"footer-bar,header-bar,icon-list,icon-search,ionicons-site,landing-page,notfound-page,stencil-route,stencil-route-link,stencil-route-switch,stencil-router,toast-bar,usage-page",HTMLElement.prototype);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("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("9g7fwmr8",["exports","./chunk-a980fdde.js"],function(t,e){var i=window.DocsSite.h,r=function(){function t(){this.unsubscribe=function(){},this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}return t.prototype.componentWillLoad=function(){this.computeMatch()},t.prototype.computeMatch=function(){this.location&&(this.match=e.matchPath(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))},t.prototype.handleClick=function(t){if(!e.isModifiedEvent(t))return t.preventDefault(),this.history.push(this.getUrl(this.url))},t.prototype.getUrl=function(t){return"/"==t.charAt(0)&&"/"==this.root.charAt(this.root.length-1)?this.root.slice(0,this.root.length-1)+t:this.root+t},t.prototype.render=function(){var t,e={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(e.class[this.anchorClass]=!0),"a"===this.custom&&(e=Object.assign({},e,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),i(this.custom,Object.assign({},e),i("slot",null))},Object.defineProperty(t,"is",{get:function(){return"stencil-route-link"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeClass:{type:String,attr:"active-class"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}},enumerable:!0,configurable:!0}),t}();e.ActiveRouter.injectProps(r,["history","location","root"]),t.StencilRouteLink=r,Object.defineProperty(t,"__esModule",{value:!0})});
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.DocsSite;import{a as s,u as a,c as i}from"./chunk-823bd299.js";class r{constructor(){this.unsubscribe=(()=>{}),this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}componentWillLoad(){this.computeMatch()}computeMatch(){this.location&&(this.match=s(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))}handleClick(t){if(!a(t))return t.preventDefault(),this.history.push(this.getUrl(this.url))}getUrl(t){return"/"==t.charAt(0)&&"/"==this.root.charAt(this.root.length-1)?this.root.slice(0,this.root.length-1)+t:this.root+t}render(){let s={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(s.class[this.anchorClass]=!0),"a"===this.custom&&(s=Object.assign({},s,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),t(this.custom,Object.assign({},s),t("slot",null))}static get is(){return"stencil-route-link"}static get properties(){return{activeClass:{type:String,attr:"active-class"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}}}i.injectProps(r,["history","location","root"]);export{r as StencilRouteLink};
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("array.js",["exports"],function(r){window,r.applyPolyfill=function(r,e){var t,n,o;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{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("function"!=typeof r)throw new TypeError("predicate must be a function");for(var o=0;o<n;){var i=t[o];if(r.call(e,i,o,t))return i;o++}}}),Array.from||(Array.from=(t=Object.prototype.toString,n=function(r){return"function"==typeof r||"[object Function]"===t.call(r)},o=Math.pow(2,53)-1,function(r){var e=Object(r);if(null==r)throw new TypeError("Array.from requires an array-like object - not null or undefined");var t,i=1<arguments.length?arguments[1]:void 0;if(void 0!==i){if(!n(i))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(t=arguments[2])}var a=Number(e.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),o);for(var l,f=n(this)?Object(new this(a)):Array(a),u=0;u<a;)l=e[u],f[u]=i?void 0===t?i(l,u):i.call(t,l,u):l,u+=1;return f.length=a,f})),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;for(var o,i,a=0|e,l=Math.max(0<=a?a:n-Math.abs(a),0);l<n;){if((o=t[l])===(i=r)||"number"==typeof o&&"number"==typeof i&&isNaN(o)&&isNaN(i))return!0;l++}return!1}})},Object.defineProperty(r,"__esModule",{value:!0})});
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:r}=window.DocsSite;function t(r,t){var e,n,o;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{writable:!0,configurable:!0,value:function(r,t){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if("function"!=typeof r)throw new TypeError("predicate must be a function");for(var o=0;o<n;){var i=e[o];if(r.call(t,i,o,e))return i;o++}}}),Array.from||(Array.from=(e=Object.prototype.toString,n=function(r){return"function"==typeof r||"[object Function]"===e.call(r)},o=Math.pow(2,53)-1,function(r){var t=Object(r);if(null==r)throw new TypeError("Array.from requires an array-like object - not null or undefined");var e,i=1<arguments.length?arguments[1]:void 0;if(void 0!==i){if(!n(i))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(e=arguments[2])}var a=Number(t.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),o);for(var f,u=n(this)?Object(new this(a)):Array(a),l=0;l<a;)f=t[l],u[l]=i?void 0===e?i(f,l):i.call(e,f,l):f,l+=1;return u.length=a,u})),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{writable:!0,configurable:!0,value:function(r,t){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if(0===n)return!1;for(var o,i,a=0|t,f=Math.max(0<=a?a:n-Math.abs(a),0);f<n;){if((o=e[f])===(i=r)||"number"==typeof o&&"number"==typeof i&&isNaN(o)&&isNaN(i))return!0;f++}return!1}})}export{t as applyPolyfill};
+2
View File
@@ -0,0 +1,2 @@
/*! 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);-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-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{-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
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("bhfmyfdt",["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);-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-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{-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
@@ -0,0 +1,2 @@
/*! 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);-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-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{-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
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("bhfmyfdt",["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);-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-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{-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
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
-4
View File
@@ -1,4 +0,0 @@
/*! Built with http://stenciljs.com */
(function(namespace,resourcesUrl){"use strict";
})("DocsSite");
File diff suppressed because one or more lines are too long
+14 -15
View File
@@ -2,38 +2,37 @@
"namespace": "DocsSite",
"fsNamespace": "docssite",
"loader": "../docssite.js",
"global": "docssite.global.js",
"core": "docssite.1g5w8nag.js",
"corePolyfilled": "docssite.p9maaol9.js",
"core": "docssite.dxmw2dld.js",
"corePolyfilled": "docssite.fmis9o0d.js",
"components": {
"footer-bar": {
"bundleIds": {
"$": "3vkw131p"
"$": "bhfmyfdt"
}
},
"header-bar": {
"bundleIds": {
"$": "csexa4ze"
"$": "eopjh5l9"
}
},
"icon-list": {
"bundleIds": {
"$": "2osh7cvf"
"$": "xjamghz5"
}
},
"icon-search": {
"bundleIds": {
"$": "ym0h5hh3"
"$": "e6c2o9g1"
}
},
"ionicons-site": {
"bundleIds": {
"$": "csexa4ze"
"$": "eopjh5l9"
}
},
"landing-page": {
"bundleIds": {
"$": "2osh7cvf"
"$": "xjamghz5"
}
},
"notfound-page": {
@@ -43,32 +42,32 @@
},
"stencil-route": {
"bundleIds": {
"$": "csexa4ze"
"$": "eopjh5l9"
}
},
"stencil-route-link": {
"bundleIds": {
"$": "9g7fwmr8"
"$": "zkf4jnqe"
}
},
"stencil-route-switch": {
"bundleIds": {
"$": "csexa4ze"
"$": "eopjh5l9"
}
},
"stencil-router": {
"bundleIds": {
"$": "csexa4ze"
"$": "eopjh5l9"
}
},
"toast-bar": {
"bundleIds": {
"$": "2osh7cvf"
"$": "xjamghz5"
}
},
"usage-page": {
"bundleIds": {
"$": "ywjkqjtg"
"$": "hn2wuddg"
}
}
}
File diff suppressed because one or more lines are too long
+2
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:e}=window.DocsSite;class t{constructor(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}watchQuery(){this.showClearCtrl=this.query.length>0}searchListener(e){27!==e.keyCode?this.hasSearched.emit(e.target.value):this.handleClear()}handleClear(){this.hasSearched.emit("")}componentWillLoad(){this.watchQuery()}render(){return e("div",{class:`search-input search-input--${this.size}`},e("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),e("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))}static get is(){return"icon-search"}static get properties(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}}static get events(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"keyup",method:"searchListener"}]}static get style(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px;padding-left:30px;padding-right:30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px;padding-left:50px;padding-right:50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"}}export{t as IconSearch};
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("e6c2o9g1",["exports"],function(e){var t=window.DocsSite.h,r=function(){function e(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}return e.prototype.watchQuery=function(){this.showClearCtrl=this.query.length>0},e.prototype.searchListener=function(e){27!==e.keyCode?this.hasSearched.emit(e.target.value):this.handleClear()},e.prototype.handleClear=function(){this.hasSearched.emit("")},e.prototype.componentWillLoad=function(){this.watchQuery()},e.prototype.render=function(){return t("div",{class:"search-input search-input--"+this.size},t("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),t("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))},Object.defineProperty(e,"is",{get:function(){return"icon-search"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"keyup",method:"searchListener"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px;padding-left:30px;padding-right:30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px;padding-left:50px;padding-right:50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"},enumerable:!0,configurable:!0}),e}();e.IconSearch=r,Object.defineProperty(e,"__esModule",{value:!0})});
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:e}=window.DocsSite;class t{constructor(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}watchQuery(){this.showClearCtrl=this.query.length>0}searchListener(e){27!==e.keyCode?this.hasSearched.emit(e.target.value):this.handleClear()}handleClear(){this.hasSearched.emit("")}componentWillLoad(){this.watchQuery()}render(){return e("div",{class:`search-input search-input--${this.size}`},e("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),e("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))}static get is(){return"icon-search"}static get properties(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}}static get events(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"keyup",method:"searchListener"}]}static get style(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px;padding-left:30px;padding-right:30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px;padding-left:50px;padding-right:50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"}}export{t as IconSearch};
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("e6c2o9g1",["exports"],function(e){var t=window.DocsSite.h,r=function(){function e(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}return e.prototype.watchQuery=function(){this.showClearCtrl=this.query.length>0},e.prototype.searchListener=function(e){27!==e.keyCode?this.hasSearched.emit(e.target.value):this.handleClear()},e.prototype.handleClear=function(){this.hasSearched.emit("")},e.prototype.componentWillLoad=function(){this.watchQuery()},e.prototype.render=function(){return t("div",{class:"search-input search-input--"+this.size},t("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),t("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))},Object.defineProperty(e,"is",{get:function(){return"icon-search"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"keyup",method:"searchListener"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px;padding-left:30px;padding-right:30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px;padding-left:50px;padding-right:50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"},enumerable:!0,configurable:!0}),e}();e.IconSearch=r,Object.defineProperty(e,"__esModule",{value:!0})});
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
+2
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
/*! 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
@@ -0,0 +1,2 @@
/*! 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})});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("object.js",["exports"],function(e){window,e.applyPolyfill=function(e,n){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,n){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(t[l]=o[l])}return t},writable:!0,configurable:!0}),Object.entries||(Object.entries=function(e){for(var n=Object.keys(e),t=n.length,r=Array(t);t--;)r[t]=[n[t],e[n[t]]];return r})},Object.defineProperty(e,"__esModule",{value:!0})});
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:e}=window.DocsSite;function t(e,t){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(n[c]=o[c])}return n},writable:!0,configurable:!0}),Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=Array(n);n--;)r[n]=[t[n],e[t[n]]];return r})}export{t as applyPolyfill};
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("string.js",["exports"],function(t){window,t.applyPolyfill=function(t,e){String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{writable:!0,configurable:!0,value:function(t,e){return(void 0===e||e>this.length)&&(e=this.length),this.substring(e-t.length,e)===t}}),String.prototype.includes||(String.prototype.includes=function(t,e){return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{writable:!0,configurable:!0,value:function(t,e){return this.substr(!e||0>e?0:+e,t.length)===t}})},Object.defineProperty(t,"__esModule",{value:!0})});
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.DocsSite;function e(t,e){String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{writable:!0,configurable:!0,value:function(t,e){return(void 0===e||e>this.length)&&(e=this.length),this.substring(e-t.length,e)===t}}),String.prototype.includes||(String.prototype.includes=function(t,e){return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{writable:!0,configurable:!0,value:function(t,e){return this.substr(!e||0>e?0:+e,t.length)===t}})}export{e as applyPolyfill};
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("url.js",["exports"],function(e){window,e.applyPolyfill=function(e,t){var n,r,o,i,a,c,h;o="undefined"!=typeof global?global:void 0!==e?e:"undefined"!=typeof self?self:this,i=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),a=function(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t},c=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},h=function(e){return decodeURIComponent(e).replace(/\+/g," ")},"URLSearchParams"in o&&"a=1"===new URLSearchParams("?a=1").toString()||(n=function(e){if(Object.defineProperty(this,"_entries",{value:{}}),"string"==typeof e){if(""!==e)for(var t,r=(e=e.replace(/^\?/,"")).split("&"),o=0;o<r.length;o++)t=r[o].split("="),this.append(h(t[0]),t.length>1?h(t[1]):"")}else if(e instanceof n){var i=this;e.forEach(function(e,t){i.append(e,t)})}},(r=n.prototype).append=function(e,t){e in this._entries?this._entries[e].push(t.toString()):this._entries[e]=[t.toString()]},r.delete=function(e){delete this._entries[e]},r.get=function(e){return e in this._entries?this._entries[e][0]:null},r.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},r.has=function(e){return e in this._entries},r.set=function(e,t){this._entries[e]=[t.toString()]},r.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var o=0;o<n.length;o++)e.call(t,n[o],r,this)}},r.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),a(e)},r.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),a(e)},r.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),a(e)},i&&(r[Symbol.iterator]=r.entries),r.toString=function(){var e=[];return this.forEach(function(t,n){e.push(c(n)+"="+c(t))}),e.join("&")},o.URLSearchParams=n),function(n){if(function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||function(){var r=n.URL,o=function(n,r){"string"!=typeof n&&(n=String(n));var o=t.implementation.createHTMLDocument("");if(e.doc=o,r){var i=o.createElement("base");i.href=r,o.head.appendChild(i)}var a=o.createElement("a");if(a.href=n,o.body.appendChild(a),a.href=a.href,":"===a.protocol||!/:/.test(a.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:a})},i=o.prototype;["hash","host","hostname","port","protocol","search"].forEach(function(e){!function(e){Object.defineProperty(i,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)}),Object.defineProperties(i,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(this._anchorElement.port!={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol]&&""!==this._anchorElement.port?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0},searchParams:{get:function(){var e=new URLSearchParams(this.search),t=this;return["append","delete","set"].forEach(function(n){var r=e[n];e[n]=function(){r.apply(e,arguments),t.search=e.toString()}}),e},enumerable:!0}}),o.createObjectURL=function(e){return r.createObjectURL.apply(r,arguments)},o.revokeObjectURL=function(e){return r.revokeObjectURL.apply(r,arguments)},n.URL=o}(),void 0!==n.location&&!("origin"in n.location)){var r=function(){return n.location.protocol+"//"+n.location.hostname+(n.location.port?":"+n.location.port:"")};try{Object.defineProperty(n.location,"origin",{get:r,enumerable:!0})}catch(e){setInterval(function(){n.location.origin=r()},100)}}}("undefined"!=typeof global?global:void 0!==e?e:"undefined"!=typeof self?self:this)},Object.defineProperty(e,"__esModule",{value:!0})});
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.DocsSite;function e(t,e){var n,r,o,i,a,c,h;o="undefined"!=typeof global?global:void 0!==t?t:"undefined"!=typeof self?self:this,i=function(){try{return!!Symbol.iterator}catch(t){return!1}}(),a=function(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(e[Symbol.iterator]=function(){return e}),e},c=function(t){return encodeURIComponent(t).replace(/%20/g,"+")},h=function(t){return decodeURIComponent(t).replace(/\+/g," ")},"URLSearchParams"in o&&"a=1"===new URLSearchParams("?a=1").toString()||(n=function(t){if(Object.defineProperty(this,"_entries",{value:{}}),"string"==typeof t){if(""!==t)for(var e,r=(t=t.replace(/^\?/,"")).split("&"),o=0;o<r.length;o++)e=r[o].split("="),this.append(h(e[0]),e.length>1?h(e[1]):"")}else if(t instanceof n){var i=this;t.forEach(function(t,e){i.append(t,e)})}},(r=n.prototype).append=function(t,e){t in this._entries?this._entries[t].push(e.toString()):this._entries[t]=[e.toString()]},r.delete=function(t){delete this._entries[t]},r.get=function(t){return t in this._entries?this._entries[t][0]:null},r.getAll=function(t){return t in this._entries?this._entries[t].slice(0):[]},r.has=function(t){return t in this._entries},r.set=function(t,e){this._entries[t]=[e.toString()]},r.forEach=function(t,e){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var o=0;o<n.length;o++)t.call(e,n[o],r,this)}},r.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),a(t)},r.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),a(t)},r.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),a(t)},i&&(r[Symbol.iterator]=r.entries),r.toString=function(){var t=[];return this.forEach(function(e,n){t.push(c(n)+"="+c(e))}),t.join("&")},o.URLSearchParams=n),function(n){if(function(){try{var t=new URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(t){return!1}}()||function(){var r=n.URL,o=function(n,r){"string"!=typeof n&&(n=String(n));var o=e.implementation.createHTMLDocument("");if(t.doc=o,r){var i=o.createElement("base");i.href=r,o.head.appendChild(i)}var a=o.createElement("a");if(a.href=n,o.body.appendChild(a),a.href=a.href,":"===a.protocol||!/:/.test(a.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:a})},i=o.prototype;["hash","host","hostname","port","protocol","search"].forEach(function(t){!function(t){Object.defineProperty(i,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:!0})}(t)}),Object.defineProperties(i,{toString:{get:function(){var t=this;return function(){return t.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(t){this._anchorElement.href=t},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(t){this._anchorElement.pathname=t},enumerable:!0},origin:{get:function(){return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(this._anchorElement.port!={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol]&&""!==this._anchorElement.port?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(t){},enumerable:!0},username:{get:function(){return""},set:function(t){},enumerable:!0},searchParams:{get:function(){var t=new URLSearchParams(this.search),e=this;return["append","delete","set"].forEach(function(n){var r=t[n];t[n]=function(){r.apply(t,arguments),e.search=t.toString()}}),t},enumerable:!0}}),o.createObjectURL=function(t){return r.createObjectURL.apply(r,arguments)},o.revokeObjectURL=function(t){return r.revokeObjectURL.apply(r,arguments)},n.URL=o}(),void 0!==n.location&&!("origin"in n.location)){var r=function(){return n.location.protocol+"//"+n.location.hostname+(n.location.port?":"+n.location.port:"")};try{Object.defineProperty(n.location,"origin",{get:r,enumerable:!0})}catch(t){setInterval(function(){n.location.origin=r()},100)}}}("undefined"!=typeof global?global:void 0!==t?t:"undefined"!=typeof self?self:this)}export{e as applyPolyfill};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("ym0h5hh3",["exports"],function(e){var t=window.DocsSite.h,r=function(){function e(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}return e.prototype.watchQuery=function(){this.showClearCtrl=this.query.length>0},e.prototype.searchListener=function(e){if(27!==e.keyCode){var t=e.target.value;this.hasSearched.emit(t)}else this.handleClear()},e.prototype.handleClear=function(){this.hasSearched.emit("")},e.prototype.componentWillLoad=function(){this.watchQuery()},e.prototype.render=function(){return t("div",{class:"search-input search-input--"+this.size},t("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),t("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))},Object.defineProperty(e,"is",{get:function(){return"icon-search"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"keyup",method:"searchListener"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px 30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px 50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"},enumerable:!0,configurable:!0}),e}();e.IconSearch=r,Object.defineProperty(e,"__esModule",{value:!0})});
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:e}=window.DocsSite;class t{constructor(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}watchQuery(){this.showClearCtrl=this.query.length>0}searchListener(e){if(27===e.keyCode)return void this.handleClear();const t=e.target.value;this.hasSearched.emit(t)}handleClear(){this.hasSearched.emit("")}componentWillLoad(){this.watchQuery()}render(){return e("div",{class:`search-input search-input--${this.size}`},e("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),e("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))}static get is(){return"icon-search"}static get properties(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}}static get events(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"keyup",method:"searchListener"}]}static get style(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px 30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px 50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"}}export{t as IconSearch};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.DocsSite;import{a,v as i,c as s}from"./chunk-1ec105a7.js";class r{constructor(){this.unsubscribe=(()=>{}),this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}componentWillLoad(){this.computeMatch()}computeMatch(){this.location&&(this.match=a(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))}handleClick(t){var a,s;if(!i(t)&&this.history&&this.url&&this.root)return t.preventDefault(),this.history.push((s=this.root,"/"==(a=this.url).charAt(0)&&"/"==s.charAt(s.length-1)?s.slice(0,s.length-1)+a:s+a))}render(){let a={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(a.class[this.anchorClass]=!0),"a"===this.custom&&(a=Object.assign({},a,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})),t(this.custom,Object.assign({},a),t("slot",null))}static get is(){return"stencil-route-link"}static get properties(){return{activeClass:{type:String,attr:"active-class"},anchorClass:{type:String,attr:"anchor-class"},anchorId:{type:String,attr:"anchor-id"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},ariaHaspopup:{type:String,attr:"aria-haspopup"},ariaLabel:{type:String,attr:"aria-label"},ariaPosinset:{type:String,attr:"aria-posinset"},ariaSetsize:{type:Number,attr:"aria-setsize"},custom:{type:String,attr:"custom"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}}}s.injectProps(r,["history","location","root"]);export{r as StencilRouteLink};
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("zkf4jnqe",["exports","./chunk-4e065e0c.js"],function(t,a){var i=window.DocsSite.h,e=function(){function t(){this.unsubscribe=function(){},this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}return t.prototype.componentWillLoad=function(){this.computeMatch()},t.prototype.computeMatch=function(){this.location&&(this.match=a.matchPath(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))},t.prototype.handleClick=function(t){var i,e;if(!a.isModifiedEvent(t)&&this.history&&this.url&&this.root)return t.preventDefault(),this.history.push((e=this.root,"/"==(i=this.url).charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+i:e+i))},t.prototype.render=function(){var t,a={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(a.class[this.anchorClass]=!0),"a"===this.custom&&(a=Object.assign({},a,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})),i(this.custom,Object.assign({},a),i("slot",null))},Object.defineProperty(t,"is",{get:function(){return"stencil-route-link"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeClass:{type:String,attr:"active-class"},anchorClass:{type:String,attr:"anchor-class"},anchorId:{type:String,attr:"anchor-id"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},ariaHaspopup:{type:String,attr:"aria-haspopup"},ariaLabel:{type:String,attr:"aria-label"},ariaPosinset:{type:String,attr:"aria-posinset"},ariaSetsize:{type:Number,attr:"aria-setsize"},custom:{type:String,attr:"custom"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}},enumerable:!0,configurable:!0}),t}();a.ActiveRouter.injectProps(e,["history","location","root"]),t.StencilRouteLink=e,Object.defineProperty(t,"__esModule",{value:!0})});
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.DocsSite;import{a,v as i,c as s}from"./chunk-1ec105a7.js";class r{constructor(){this.unsubscribe=(()=>{}),this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}componentWillLoad(){this.computeMatch()}computeMatch(){this.location&&(this.match=a(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))}handleClick(t){var a,s;if(!i(t)&&this.history&&this.url&&this.root)return t.preventDefault(),this.history.push((s=this.root,"/"==(a=this.url).charAt(0)&&"/"==s.charAt(s.length-1)?s.slice(0,s.length-1)+a:s+a))}render(){let a={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(a.class[this.anchorClass]=!0),"a"===this.custom&&(a=Object.assign({},a,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})),t(this.custom,Object.assign({},a),t("slot",null))}static get is(){return"stencil-route-link"}static get properties(){return{activeClass:{type:String,attr:"active-class"},anchorClass:{type:String,attr:"anchor-class"},anchorId:{type:String,attr:"anchor-id"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},ariaHaspopup:{type:String,attr:"aria-haspopup"},ariaLabel:{type:String,attr:"aria-label"},ariaPosinset:{type:String,attr:"aria-posinset"},ariaSetsize:{type:Number,attr:"aria-setsize"},custom:{type:String,attr:"custom"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}}}s.injectProps(r,["history","location","root"]);export{r as StencilRouteLink};
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
DocsSite.loadBundle("zkf4jnqe",["exports","./chunk-4e065e0c.js"],function(t,a){var i=window.DocsSite.h,e=function(){function t(){this.unsubscribe=function(){},this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}return t.prototype.componentWillLoad=function(){this.computeMatch()},t.prototype.computeMatch=function(){this.location&&(this.match=a.matchPath(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))},t.prototype.handleClick=function(t){var i,e;if(!a.isModifiedEvent(t)&&this.history&&this.url&&this.root)return t.preventDefault(),this.history.push((e=this.root,"/"==(i=this.url).charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+i:e+i))},t.prototype.render=function(){var t,a={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(a.class[this.anchorClass]=!0),"a"===this.custom&&(a=Object.assign({},a,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})),i(this.custom,Object.assign({},a),i("slot",null))},Object.defineProperty(t,"is",{get:function(){return"stencil-route-link"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeClass:{type:String,attr:"active-class"},anchorClass:{type:String,attr:"anchor-class"},anchorId:{type:String,attr:"anchor-id"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},ariaHaspopup:{type:String,attr:"aria-haspopup"},ariaLabel:{type:String,attr:"aria-label"},ariaPosinset:{type:String,attr:"aria-posinset"},ariaSetsize:{type:Number,attr:"aria-setsize"},custom:{type:String,attr:"custom"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}},enumerable:!0,configurable:!0}),t}();a.ActiveRouter.injectProps(e,["history","location","root"]),t.StencilRouteLink=e,Object.defineProperty(t,"__esModule",{value:!0})});
+634 -634
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
Binary file not shown.
+1987 -1987
View File
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 305 KiB

After

Width:  |  Height:  |  Size: 305 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <title>Ionicons: The premium icon pack for Ionic Framework</title> <meta name="author" content="Ionic"> <meta name="description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> <meta name="format-detection" content="telephone=no"> <meta name="msapplication-tap-highlight" content="no"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="manifest" href="/manifest.json"> <meta property="og:title" content="Ionicons: The premium icon pack for Ionic Framework"> <meta property="og:description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta property="og:type" content="website"> <meta property="og:url" content="https://ionicons.com/"> <meta property="og:image" content="/assets/img/meta/ionicons-og-image.png"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:creator" content="@ionicframework"> <link rel="apple-touch-icon" sizes="57x57" href="/assets/img/meta/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/assets/img/meta/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/assets/img/meta/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/assets/img/meta/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/assets/img/meta/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/assets/img/meta/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/assets/img/meta/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/assets/img/meta/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/meta/apple-icon-180x180.png"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-16x16.png" sizes="16x16"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-32x32.png" sizes="32x32"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-96x96.png" sizes="96x96"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-70x70.png"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-144x144.png"> <meta name="theme-color" content="#16161d"> <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:500" rel="stylesheet"> <link rel="stylesheet" href="/css/ionicons.min.css"> <link rel="stylesheet" href="/build/docssite.css"> <script data-resources-url="/build/docssite/">/*!
* Built with http://stenciljs.com
* 2018-07-23T15:37:48
* 2018-11-15T17:05:33
*/
!function(e,t,o,r,s,c,n,i,a,l,u,d,h,p){for((u=e.DocsSite=e.DocsSite||{}).components=a,(h=a.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=h.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,o){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),o.componentOnReady||(o.componentOnReady=function(){var t=this;function o(o){if(t.nodeName.indexOf("-")>0){for(var r=e["s-apps"],s=0,c=0;c<r.length;c++)if(e[r[c]].componentOnReady){if(e[r[c]].componentOnReady(t,o))return;s++}if(s<r.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,o])}o(null)}return e.Promise?new e.Promise(o):{then:o}})}(e,0,l),s=s||u.resourcesUrl,d=(h=t.querySelectorAll("script")).length-1;d>=0&&!(p=h[d]).src&&!p.hasAttribute("data-resources-url");d--);h=p.getAttribute("data-resources-url"),!s&&h&&(s=h),!s&&p.src&&(s=(h=p.src.split("/").slice(0,-1)).join("/")+(h.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,o,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in o)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=s+"docssite.p9maaol9.js":(d.src=s+"docssite.1g5w8nag.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",s),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","3vkw131p",1],["header-bar","csexa4ze",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","2osh7cvf",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","ym0h5hh3",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","csexa4ze",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","2osh7cvf",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","fonk1mfi",1],["stencil-route","csexa4ze",1,[["component",1,0,1,2],["componentProps",1],["componentUpdated",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupMatch",1],["history",1],["historyType",1,0,"history-type",2],["location",1],["match",5],["routeRender",1],["routeViewsUpdated",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","9g7fwmr8",0,[["activeClass",1,0,"active-class",2],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["el",7],["exact",1,0,1,3],["history",1],["location",1],["match",5],["root",1,0,1,2],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-route-switch","csexa4ze",0,[["el",7],["group",1,0,1,2],["location",1],["queue",3,0,0,0,"queue"],["routeViewsUpdated",1],["scrollTopOffset",1,0,"scroll-top-offset",4]]],["stencil-router","csexa4ze",0,[["history",5],["historyType",1,0,"history-type",2],["isServer",3,0,0,0,"isServer"],["location",5],["queue",3,0,0,0,"queue"],["root",1,0,1,2],["scrollTopOffset",1,0,"scroll-top-offset",4],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","2osh7cvf",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","ywjkqjtg",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);</script>
!function(e,t,r,s,n,i,o,c,a,u,l,d,p,h){for(l=e.DocsSite=e.DocsSite||{},(d=t.createElement("style")).innerHTML=a+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],n=0,i=0;i<s.length;i++)if(e[s[i]].componentOnReady){if(e[s[i]].componentOnReady(t,r))return;n++}if(n<s.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,u),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,s){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"docssite.fmis9o0d.js":(d.src=n+"docssite.dxmw2dld.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,"footer-bar,header-bar,icon-list,icon-search,ionicons-site,landing-page,notfound-page,stencil-route,stencil-route-link,stencil-route-switch,stencil-router,toast-bar,usage-page",HTMLElement.prototype);</script>
</head>
<body> <ionicons-site></ionicons-site> <script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-44023830-2', 'ionicons.com');ga('send', 'pageview');</script> </body></html>
+2 -2
View File
@@ -1,5 +1,5 @@
/*!
* Built with http://stenciljs.com
* 2018-07-23T15:37:42
* 2018-11-15T17:05:26
*/
!function(e,t,n,r,i,o,s,c,u,a,l,d,p,m){for((l=e.ionicons=e.ionicons||{}).components=u,(p=u.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=p.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,n){(e["s-apps"]=e["s-apps"]||[]).push("ionicons"),n.componentOnReady||(n.componentOnReady=function(){var t=this;function n(n){if(t.nodeName.indexOf("-")>0){for(var r=e["s-apps"],i=0,o=0;o<r.length;o++)if(e[r[o]].componentOnReady){if(e[r[o]].componentOnReady(t,n))return;i++}if(i<r.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,n])}n(null)}return e.Promise?new e.Promise(n):{then:n}})}(e,0,a),i=i||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(m=p[d]).src&&!m.hasAttribute("data-resources-url");d--);p=m.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&m.src&&(i=(p=m.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"ionicons/"),d=t.createElement("script"),function(e,t,n,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in n)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=i+"ionicons.dtq2s2mu.js":(d.src=i+"ionicons.nh97vtre.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",i),d.setAttribute("data-namespace","ionicons"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["ion-icon","nmlxfavd",1,[["ariaLabel",2,1,"aria-label",2],["color",1,0,1,2],["doc",3,0,0,0,"document"],["el",7],["icon",1,0,1,2],["ios",1,0,1,2],["isServer",3,0,0,0,"isServer"],["isVisible",5],["lazy",1,0,1,3],["md",1,0,1,2],["mode",1,0,1,2],["name",1,0,1,2],["resourcesUrl",3,0,0,0,"resourcesUrl"],["size",1,0,1,2],["src",1,0,1,2],["svgContent",5],["win",3,0,0,0,"window"]],1]],HTMLElement.prototype);
!function(e,t,n,r,i,o,s,c,u,a,l,d,p,h){for(l=e.ionicons=e.ionicons||{},(d=t.createElement("style")).innerHTML="ion-icon{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,n){(e["s-apps"]=e["s-apps"]||[]).push("ionicons"),n.componentOnReady||(n.componentOnReady=function(){var t=this;function n(n){if(t.nodeName.indexOf("-")>0){for(var r=e["s-apps"],i=0,o=0;o<r.length;o++)if(e[r[o]].componentOnReady){if(e[r[o]].componentOnReady(t,n))return;i++}if(i<r.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,n])}n(null)}return e.Promise?new e.Promise(n):{then:n}})}(e,0,a),i=i||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&h.src&&(i=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"ionicons/"),d=t.createElement("script"),function(e,t,n,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in n)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=i+"ionicons.b7r3lkwi.js":(d.src=i+"ionicons.bqmh7x3l.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",i),d.setAttribute("data-namespace","ionicons"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-4
View File
@@ -1,4 +0,0 @@
/*! Built with http://stenciljs.com */
(function(namespace,resourcesUrl){"use strict";
})("ionicons");
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.ionicons;function e(t,e,i,s){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():s&&"md"===e?t=s.toLowerCase():t&&(t=t.toLowerCase(),/^md-|^ios-|^logo-/.test(t)||(t=`${e}-${t}`)),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function i(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}class s{constructor(){this.isVisible=!1,this.lazy=!1}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidUnload(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,i){if(this.lazy&&this.win&&this.win.IntersectionObserver){const s=this.io=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),this.io=void 0,i())},{rootMargin:e});s.observe(t)}else i()}loadIcon(){if(!this.isServer&&this.isVisible){const t=this.getUrl();t&&function(t,e,i){let s=n.get(e);return s||(s=fetch(e,{cache:"force-cache"}).then(t=>!function(e){return t.status<=299}()?Promise.resolve(null):t.text()).then(e=>(function(t,e,i){if(e){const i=t.createDocumentFragment(),s=t.createElement("div");s.innerHTML=e,i.appendChild(s);for(let t=s.childNodes.length-1;t>=0;t--)"svg"!==s.childNodes[t].nodeName.toLowerCase()&&s.removeChild(s.childNodes[t]);const n=s.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()&&(n.setAttribute("class","s-ion-icon"),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;t<e.attributes.length;t++){const i=e.attributes[t].value;if("string"==typeof i&&0===i.toLowerCase().indexOf("on"))return!1}for(let i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(n)))return s.innerHTML}return""})(t,e)),n.set(e,s)),s}(this.doc,t).then(t=>this.svgContent=t)}if(!this.ariaLabel){const t=e(this.name,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace("ios-","").replace("md-","").replace(/\-/g," "))}}getUrl(){let t=i(this.src);return t||((t=e(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=i(this.icon))?t:(t=e(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(t):null)}getNamedUrl(t){return`${this.resourcesUrl}svg/${t}.svg`}hostData(){return{role:"img",class:Object.assign({},(t=this.color,t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null),{[`icon-${this.size}`]:!!this.size})};var t}render(){return t("div",!this.isServer&&this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"})}static get is(){return"ion-icon"}static get encapsulation(){return"shadow"}static get properties(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},lazy:{type:Boolean,attr:"lazy"},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}}static get style(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}:host(.ion-color){color:var(--ion-color-base)!important}:host(.icon-small){font-size:18px!important}:host(.icon-large){font-size:32px!important}.icon-inner,svg{display:block;fill:currentColor;stroke:currentColor;height:100%;width:100%}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary,#3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary,#0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary,#f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success,#10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning,#ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger,#f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light,#f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium,#989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark,#222428)}"}}const n=new Map;export{s as IonIcon};
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
ionicons.loadBundle("jowsvxxs",["exports"],function(t){var e=window.ionicons.h;function i(t,e,i,n){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():n&&"md"===e?t=n.toLowerCase():t&&(t=t.toLowerCase(),/^md-|^ios-|^logo-/.test(t)||(t=e+"-"+t)),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function n(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}var r=function(){function t(){this.isVisible=!1,this.lazy=!1}return t.prototype.componentWillLoad=function(){var t=this;this.waitUntilVisible(this.el,"50px",function(){t.isVisible=!0,t.loadIcon()})},t.prototype.componentDidUnload=function(){this.io&&(this.io.disconnect(),this.io=void 0)},t.prototype.waitUntilVisible=function(t,e,i){var n=this;if(this.lazy&&this.win&&this.win.IntersectionObserver){var r=this.io=new this.win.IntersectionObserver(function(t){t[0].isIntersecting&&(r.disconnect(),n.io=void 0,i())},{rootMargin:e});r.observe(t)}else i()},t.prototype.loadIcon=function(){var t=this;if(!this.isServer&&this.isVisible){var e=this.getUrl();e&&function(t,e,i){var n=o.get(e);return n||(n=fetch(e,{cache:"force-cache"}).then(function(t){return t.status<=299?t.text():Promise.resolve(null)}).then(function(e){return function(t,e,i){if(e){var n=t.createDocumentFragment(),r=t.createElement("div");r.innerHTML=e,n.appendChild(r);for(var o=r.childNodes.length-1;o>=0;o--)"svg"!==r.childNodes[o].nodeName.toLowerCase()&&r.removeChild(r.childNodes[o]);var s=r.firstElementChild;if(s&&"svg"===s.nodeName.toLowerCase()&&(s.setAttribute("class","s-ion-icon"),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(var i=0;i<e.attributes.length;i++){var n=e.attributes[i].value;if("string"==typeof n&&0===n.toLowerCase().indexOf("on"))return!1}for(i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(s)))return r.innerHTML}return""}(t,e)}),o.set(e,n)),n}(this.doc,e).then(function(e){return t.svgContent=e})}if(!this.ariaLabel){var n=i(this.name,this.mode,this.ios,this.md);n&&(this.ariaLabel=n.replace("ios-","").replace("md-","").replace(/\-/g," "))}},t.prototype.getUrl=function(){var t=n(this.src);return t||((t=i(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=n(this.icon))?t:(t=i(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(t):null)},t.prototype.getNamedUrl=function(t){return this.resourcesUrl+"svg/"+t+".svg"},t.prototype.hostData=function(){var t;return{role:"img",class:Object.assign({},function(t){var e;return t?((e={"ion-color":!0})["ion-color-"+t]=!0,e):null}(this.color),(t={},t["icon-"+this.size]=!!this.size,t))}},t.prototype.render=function(){return e("div",!this.isServer&&this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"})},Object.defineProperty(t,"is",{get:function(){return"ion-icon"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},lazy:{type:Boolean,attr:"lazy"},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"style",{get:function(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}:host(.ion-color){color:var(--ion-color-base)!important}:host(.icon-small){font-size:18px!important}:host(.icon-large){font-size:32px!important}.icon-inner,svg{display:block;fill:currentColor;stroke:currentColor;height:100%;width:100%}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary,#3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary,#0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary,#f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success,#10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning,#ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger,#f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light,#f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium,#989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark,#222428)}"},enumerable:!0,configurable:!0}),t}(),o=new Map;t.IonIcon=r,Object.defineProperty(t,"__esModule",{value:!0})});
+2
View File
@@ -0,0 +1,2 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.ionicons;function e(t,e,i,s){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():s&&"md"===e?t=s.toLowerCase():t&&(t=t.toLowerCase(),/^md-|^ios-|^logo-/.test(t)||(t=`${e}-${t}`)),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function i(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}class s{constructor(){this.isVisible=!1,this.lazy=!1}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidUnload(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,i){if(this.lazy&&this.win&&this.win.IntersectionObserver){const s=this.io=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),this.io=void 0,i())},{rootMargin:e});s.observe(t)}else i()}loadIcon(){if(!this.isServer&&this.isVisible){const t=this.getUrl();t&&function(t,e,i){let s=n.get(e);return s||(s=fetch(e,{cache:"force-cache"}).then(t=>!function(e){return t.status<=299}()?Promise.resolve(null):t.text()).then(e=>(function(t,e,i){if(e){const i=t.createDocumentFragment(),s=t.createElement("div");s.innerHTML=e,i.appendChild(s);for(let t=s.childNodes.length-1;t>=0;t--)"svg"!==s.childNodes[t].nodeName.toLowerCase()&&s.removeChild(s.childNodes[t]);const n=s.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()&&(n.setAttribute("class","s-ion-icon"),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;t<e.attributes.length;t++){const i=e.attributes[t].value;if("string"==typeof i&&0===i.toLowerCase().indexOf("on"))return!1}for(let i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(n)))return s.innerHTML}return""})(t,e)),n.set(e,s)),s}(this.doc,t).then(t=>this.svgContent=t)}if(!this.ariaLabel){const t=e(this.name,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace("ios-","").replace("md-","").replace(/\-/g," "))}}getUrl(){let t=i(this.src);return t||((t=e(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=i(this.icon))?t:(t=e(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(t):null)}getNamedUrl(t){return`${this.resourcesUrl}svg/${t}.svg`}hostData(){return{role:"img",class:Object.assign({},(t=this.color,t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null),{[`icon-${this.size}`]:!!this.size})};var t}render(){return t("div",!this.isServer&&this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"})}static get is(){return"ion-icon"}static get encapsulation(){return"shadow"}static get properties(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},lazy:{type:Boolean,attr:"lazy"},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}}static get style(){return".sc-ion-icon-h{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}.ion-color.sc-ion-icon-h{color:var(--ion-color-base)!important}.icon-small.sc-ion-icon-h{font-size:18px!important}.icon-large.sc-ion-icon-h{font-size:32px!important}.icon-inner.sc-ion-icon, svg.sc-ion-icon{display:block;fill:currentColor;stroke:currentColor;height:100%;width:100%}.ion-color-primary.sc-ion-icon-h{--ion-color-base:var(--ion-color-primary,#3880ff)}.ion-color-secondary.sc-ion-icon-h{--ion-color-base:var(--ion-color-secondary,#0cd1e8)}.ion-color-tertiary.sc-ion-icon-h{--ion-color-base:var(--ion-color-tertiary,#f4a942)}.ion-color-success.sc-ion-icon-h{--ion-color-base:var(--ion-color-success,#10dc60)}.ion-color-warning.sc-ion-icon-h{--ion-color-base:var(--ion-color-warning,#ffce00)}.ion-color-danger.sc-ion-icon-h{--ion-color-base:var(--ion-color-danger,#f14141)}.ion-color-light.sc-ion-icon-h{--ion-color-base:var(--ion-color-light,#f4f5f8)}.ion-color-medium.sc-ion-icon-h{--ion-color-base:var(--ion-color-medium,#989aa2)}.ion-color-dark.sc-ion-icon-h{--ion-color-base:var(--ion-color-dark,#222428)}"}}const n=new Map;export{s as IonIcon};
File diff suppressed because one or more lines are too long
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
ionicons.loadBundle("nmlxfavd",["exports"],function(e){var t=window.ionicons.h,i=function(){function e(){this.isVisible=!1,this.lazy=!0}return e.prototype.componentWillLoad=function(){var e=this;this.waitUntilVisible(this.el,"50px",function(){e.isVisible=!0,e.loadIcon()})},e.prototype.componentDidUnload=function(){this.io&&(this.io.disconnect(),this.io=void 0)},e.prototype.waitUntilVisible=function(e,t,i){var n=this;if(this.lazy&&this.win&&this.win.IntersectionObserver){var r=this.io=new this.win.IntersectionObserver(function(e){e[0].isIntersecting&&(r.disconnect(),n.io=void 0,i())},{rootMargin:t});r.observe(e)}else i()},e.prototype.loadIcon=function(){var e=this;if(!this.isServer&&this.isVisible){var t=this.getUrl();t&&function(e){var t=n.get(e);return t||(t=fetch(e,{cache:"force-cache"}).then(function(e){return e.ok?e.text():Promise.resolve(null)}),n.set(e,t)),t}(t).then(function(t){e.svgContent=function(e,t,i){if(t){var n=e.createDocumentFragment(),r=e.createElement("div");r.innerHTML=t,n.appendChild(r);for(var o=r.childNodes.length-1;o>=0;o--)"svg"!==r.childNodes[o].nodeName.toLowerCase()&&r.removeChild(r.childNodes[o]);var s=r.firstElementChild;if(s&&"svg"===s.nodeName.toLowerCase()&&(i&&s.setAttribute("class",i),function e(t){if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(var i=0;i<t.attributes.length;i++){var n=t.attributes[i].value;if("string"==typeof n&&0===n.toLowerCase().indexOf("on"))return!1}for(i=0;i<t.childNodes.length;i++)if(!e(t.childNodes[i]))return!1}return!0}(s)))return r.innerHTML}return""}(e.doc,t,e.el["s-sc"])})}if(!this.ariaLabel){var i=r(this.name,this.mode,this.ios,this.md);i&&(this.ariaLabel=i.replace("ios-","").replace("md-","").replace(/\-/g," "))}},e.prototype.getUrl=function(){var e=o(this.src);return e||((e=r(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(e):(e=o(this.icon))?e:(e=r(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(e):null)},e.prototype.getNamedUrl=function(e){return this.resourcesUrl+"svg/"+e+".svg"},e.prototype.hostData=function(){var e;return{role:"img",class:Object.assign({},function(e){var t;return e?((t={"ion-color":!0})["ion-color-"+e]=!0,t):null}(this.color),(e={},e["icon-"+this.size]=!!this.size,e))}},e.prototype.render=function(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})},Object.defineProperty(e,"is",{get:function(){return"ion-icon"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},lazy:{type:Boolean,attr:"lazy"},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}:host(.ion-color){color:var(--ion-color-base)!important}:host(.icon-small){font-size:var(--ion-icon-size-small,18px)!important}:host(.icon-large){font-size:var(--ion-icon-size-large,32px)!important}.icon-inner,svg{display:block;height:100%;width:100%}svg{fill:currentColor;stroke:currentColor}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"},enumerable:!0,configurable:!0}),e}(),n=new Map;function r(e,t,i,n){return t=(t||"md").toLowerCase(),i&&"ios"===t?e=i.toLowerCase():n&&"md"===t?e=n.toLowerCase():e&&(e=e.toLowerCase(),/^md-|^ios-|^logo-/.test(e)||(e=t+"-"+e)),"string"!=typeof e||""===e.trim()?null:""!==e.replace(/[a-z]|-|\d/gi,"")?null:e}function o(e){return"string"==typeof e&&(e=e.trim()).length>0&&/(\/|\.)/.test(e)?e:null}e.IonIcon=i,Object.defineProperty(e,"__esModule",{value:!0})});
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.ionicons;class e{constructor(){this.isVisible=!1,this.lazy=!0}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidUnload(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,i){if(this.lazy&&this.win&&this.win.IntersectionObserver){const s=this.io=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),this.io=void 0,i())},{rootMargin:e});s.observe(t)}else i()}loadIcon(){if(!this.isServer&&this.isVisible){const t=this.getUrl();t&&function(t){let e=i.get(t);return e||(e=fetch(t,{cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=function(t,e,i){if(e){const s=t.createDocumentFragment(),n=t.createElement("div");n.innerHTML=e,s.appendChild(n);for(let t=n.childNodes.length-1;t>=0;t--)"svg"!==n.childNodes[t].nodeName.toLowerCase()&&n.removeChild(n.childNodes[t]);const o=n.firstElementChild;if(o&&"svg"===o.nodeName.toLowerCase()&&(i&&o.setAttribute("class",i),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;t<e.attributes.length;t++){const i=e.attributes[t].value;if("string"==typeof i&&0===i.toLowerCase().indexOf("on"))return!1}for(let i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(o)))return n.innerHTML}return""}(this.doc,t,this.el["s-sc"])})}if(!this.ariaLabel){const t=s(this.name,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace("ios-","").replace("md-","").replace(/\-/g," "))}}getUrl(){let t=n(this.src);return t||((t=s(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=n(this.icon))?t:(t=s(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(t):null)}getNamedUrl(t){return`${this.resourcesUrl}svg/${t}.svg`}hostData(){return{role:"img",class:Object.assign({},(t=this.color,t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null),{[`icon-${this.size}`]:!!this.size})};var t}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})}static get is(){return"ion-icon"}static get encapsulation(){return"shadow"}static get properties(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},lazy:{type:Boolean,attr:"lazy"},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}}static get style(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}:host(.ion-color){color:var(--ion-color-base)!important}:host(.icon-small){font-size:var(--ion-icon-size-small,18px)!important}:host(.icon-large){font-size:var(--ion-icon-size-large,32px)!important}.icon-inner,svg{display:block;height:100%;width:100%}svg{fill:currentColor;stroke:currentColor}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"}}const i=new Map;function s(t,e,i,s){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():s&&"md"===e?t=s.toLowerCase():t&&(t=t.toLowerCase(),/^md-|^ios-|^logo-/.test(t)||(t=`${e}-${t}`)),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function n(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon};
File diff suppressed because one or more lines are too long
-2
View File
@@ -1,2 +0,0 @@
/*! Built with http://stenciljs.com */
const{h:t}=window.ionicons;class e{constructor(){this.isVisible=!1,this.lazy=!0}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidUnload(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,i){if(this.lazy&&this.win&&this.win.IntersectionObserver){const s=this.io=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),this.io=void 0,i())},{rootMargin:e});s.observe(t)}else i()}loadIcon(){if(!this.isServer&&this.isVisible){const t=this.getUrl();t&&function(t){let e=i.get(t);return e||(e=fetch(t,{cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=function(t,e,i){if(e){const s=t.createDocumentFragment(),n=t.createElement("div");n.innerHTML=e,s.appendChild(n);for(let t=n.childNodes.length-1;t>=0;t--)"svg"!==n.childNodes[t].nodeName.toLowerCase()&&n.removeChild(n.childNodes[t]);const o=n.firstElementChild;if(o&&"svg"===o.nodeName.toLowerCase()&&(i&&o.setAttribute("class",i),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;t<e.attributes.length;t++){const i=e.attributes[t].value;if("string"==typeof i&&0===i.toLowerCase().indexOf("on"))return!1}for(let i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(o)))return n.innerHTML}return""}(this.doc,t,this.el["s-sc"])})}if(!this.ariaLabel){const t=s(this.name,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace("ios-","").replace("md-","").replace(/\-/g," "))}}getUrl(){let t=n(this.src);return t||((t=s(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=n(this.icon))?t:(t=s(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(t):null)}getNamedUrl(t){return`${this.resourcesUrl}svg/${t}.svg`}hostData(){return{role:"img",class:Object.assign({},(t=this.color,t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null),{[`icon-${this.size}`]:!!this.size})};var t}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})}static get is(){return"ion-icon"}static get encapsulation(){return"shadow"}static get properties(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},lazy:{type:Boolean,attr:"lazy"},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}}static get style(){return".sc-ion-icon-h{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}.ion-color.sc-ion-icon-h{color:var(--ion-color-base)!important}.icon-small.sc-ion-icon-h{font-size:var(--ion-icon-size-small,18px)!important}.icon-large.sc-ion-icon-h{font-size:var(--ion-icon-size-large,32px)!important}.icon-inner.sc-ion-icon, svg.sc-ion-icon{display:block;height:100%;width:100%}svg.sc-ion-icon{fill:currentColor;stroke:currentColor}.ion-color-primary.sc-ion-icon-h{--ion-color-base:var(--ion-color-primary, #3880ff)}.ion-color-secondary.sc-ion-icon-h{--ion-color-base:var(--ion-color-secondary, #0cd1e8)}.ion-color-tertiary.sc-ion-icon-h{--ion-color-base:var(--ion-color-tertiary, #f4a942)}.ion-color-success.sc-ion-icon-h{--ion-color-base:var(--ion-color-success, #10dc60)}.ion-color-warning.sc-ion-icon-h{--ion-color-base:var(--ion-color-warning, #ffce00)}.ion-color-danger.sc-ion-icon-h{--ion-color-base:var(--ion-color-danger, #f14141)}.ion-color-light.sc-ion-icon-h{--ion-color-base:var(--ion-color-light, #f4f5f8)}.ion-color-medium.sc-ion-icon-h{--ion-color-base:var(--ion-color-medium, #989aa2)}.ion-color-dark.sc-ion-icon-h{--ion-color-base:var(--ion-color-dark, #222428)}"}}const i=new Map;function s(t,e,i,s){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():s&&"md"===e?t=s.toLowerCase():t&&(t=t.toLowerCase(),/^md-|^ios-|^logo-/.test(t)||(t=`${e}-${t}`)),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function n(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon};
+2 -696
View File
@@ -1,696 +1,2 @@
export * from './ios-add-circle-outline.svg';
export * from './ios-add-circle.svg';
export * from './ios-add.svg';
export * from './ios-airplane.svg';
export * from './ios-alarm.svg';
export * from './ios-albums.svg';
export * from './ios-alert.svg';
export * from './ios-american-football.svg';
export * from './ios-analytics.svg';
export * from './ios-aperture.svg';
export * from './ios-apps.svg';
export * from './ios-appstore.svg';
export * from './ios-archive.svg';
export * from './ios-arrow-back.svg';
export * from './ios-arrow-down.svg';
export * from './ios-arrow-dropdown-circle.svg';
export * from './ios-arrow-dropdown.svg';
export * from './ios-arrow-dropleft-circle.svg';
export * from './ios-arrow-dropleft.svg';
export * from './ios-arrow-dropright-circle.svg';
export * from './ios-arrow-dropright.svg';
export * from './ios-arrow-dropup-circle.svg';
export * from './ios-arrow-dropup.svg';
export * from './ios-arrow-forward.svg';
export * from './ios-arrow-round-back.svg';
export * from './ios-arrow-round-down.svg';
export * from './ios-arrow-round-forward.svg';
export * from './ios-arrow-round-up.svg';
export * from './ios-arrow-up.svg';
export * from './ios-at.svg';
export * from './ios-attach.svg';
export * from './ios-backspace.svg';
export * from './ios-barcode.svg';
export * from './ios-baseball.svg';
export * from './ios-basket.svg';
export * from './ios-basketball.svg';
export * from './ios-battery-charging.svg';
export * from './ios-battery-dead.svg';
export * from './ios-battery-full.svg';
export * from './ios-beaker.svg';
export * from './ios-bed.svg';
export * from './ios-beer.svg';
export * from './ios-bicycle.svg';
export * from './ios-bluetooth.svg';
export * from './ios-boat.svg';
export * from './ios-body.svg';
export * from './ios-bonfire.svg';
export * from './ios-book.svg';
export * from './ios-bookmark.svg';
export * from './ios-bookmarks.svg';
export * from './ios-bowtie.svg';
export * from './ios-briefcase.svg';
export * from './ios-browsers.svg';
export * from './ios-brush.svg';
export * from './ios-bug.svg';
export * from './ios-build.svg';
export * from './ios-bulb.svg';
export * from './ios-bus.svg';
export * from './ios-business.svg';
export * from './ios-cafe.svg';
export * from './ios-calculator.svg';
export * from './ios-calendar.svg';
export * from './ios-call.svg';
export * from './ios-camera.svg';
export * from './ios-car.svg';
export * from './ios-card.svg';
export * from './ios-cart.svg';
export * from './ios-cash.svg';
export * from './ios-cellular.svg';
export * from './ios-chatboxes.svg';
export * from './ios-chatbubbles.svg';
export * from './ios-checkbox-outline.svg';
export * from './ios-checkbox.svg';
export * from './ios-checkmark-circle-outline.svg';
export * from './ios-checkmark-circle.svg';
export * from './ios-checkmark.svg';
export * from './ios-clipboard.svg';
export * from './ios-clock.svg';
export * from './ios-close-circle-outline.svg';
export * from './ios-close-circle.svg';
export * from './ios-close.svg';
export * from './ios-cloud-circle.svg';
export * from './ios-cloud-done.svg';
export * from './ios-cloud-download.svg';
export * from './ios-cloud-outline.svg';
export * from './ios-cloud-upload.svg';
export * from './ios-cloud.svg';
export * from './ios-cloudy-night.svg';
export * from './ios-cloudy.svg';
export * from './ios-code-download.svg';
export * from './ios-code-working.svg';
export * from './ios-code.svg';
export * from './ios-cog.svg';
export * from './ios-color-fill.svg';
export * from './ios-color-filter.svg';
export * from './ios-color-palette.svg';
export * from './ios-color-wand.svg';
export * from './ios-compass.svg';
export * from './ios-construct.svg';
export * from './ios-contact.svg';
export * from './ios-contacts.svg';
export * from './ios-contract.svg';
export * from './ios-contrast.svg';
export * from './ios-copy.svg';
export * from './ios-create.svg';
export * from './ios-crop.svg';
export * from './ios-cube.svg';
export * from './ios-cut.svg';
export * from './ios-desktop.svg';
export * from './ios-disc.svg';
export * from './ios-document.svg';
export * from './ios-done-all.svg';
export * from './ios-download.svg';
export * from './ios-easel.svg';
export * from './ios-egg.svg';
export * from './ios-exit.svg';
export * from './ios-expand.svg';
export * from './ios-eye-off.svg';
export * from './ios-eye.svg';
export * from './ios-fastforward.svg';
export * from './ios-female.svg';
export * from './ios-filing.svg';
export * from './ios-film.svg';
export * from './ios-finger-print.svg';
export * from './ios-fitness.svg';
export * from './ios-flag.svg';
export * from './ios-flame.svg';
export * from './ios-flash-off.svg';
export * from './ios-flash.svg';
export * from './ios-flashlight.svg';
export * from './ios-flask.svg';
export * from './ios-flower.svg';
export * from './ios-folder-open.svg';
export * from './ios-folder.svg';
export * from './ios-football.svg';
export * from './ios-funnel.svg';
export * from './ios-gift.svg';
export * from './ios-git-branch.svg';
export * from './ios-git-commit.svg';
export * from './ios-git-compare.svg';
export * from './ios-git-merge.svg';
export * from './ios-git-network.svg';
export * from './ios-git-pull-request.svg';
export * from './ios-glasses.svg';
export * from './ios-globe.svg';
export * from './ios-grid.svg';
export * from './ios-hammer.svg';
export * from './ios-hand.svg';
export * from './ios-happy.svg';
export * from './ios-headset.svg';
export * from './ios-heart-dislike.svg';
export * from './ios-heart-empty.svg';
export * from './ios-heart-half.svg';
export * from './ios-heart.svg';
export * from './ios-help-buoy.svg';
export * from './ios-help-circle-outline.svg';
export * from './ios-help-circle.svg';
export * from './ios-help.svg';
export * from './ios-home.svg';
export * from './ios-hourglass.svg';
export * from './ios-ice-cream.svg';
export * from './ios-image.svg';
export * from './ios-images.svg';
export * from './ios-infinite.svg';
export * from './ios-information-circle-outline.svg';
export * from './ios-information-circle.svg';
export * from './ios-information.svg';
export * from './ios-jet.svg';
export * from './ios-journal.svg';
export * from './ios-key.svg';
export * from './ios-keypad.svg';
export * from './ios-laptop.svg';
export * from './ios-leaf.svg';
export * from './ios-link.svg';
export * from './ios-list-box.svg';
export * from './ios-list.svg';
export * from './ios-locate.svg';
export * from './ios-lock.svg';
export * from './ios-log-in.svg';
export * from './ios-log-out.svg';
export * from './ios-magnet.svg';
export * from './ios-mail-open.svg';
export * from './ios-mail-unread.svg';
export * from './ios-mail.svg';
export * from './ios-male.svg';
export * from './ios-man.svg';
export * from './ios-map.svg';
export * from './ios-medal.svg';
export * from './ios-medical.svg';
export * from './ios-medkit.svg';
export * from './ios-megaphone.svg';
export * from './ios-menu.svg';
export * from './ios-mic-off.svg';
export * from './ios-mic.svg';
export * from './ios-microphone.svg';
export * from './ios-moon.svg';
export * from './ios-more.svg';
export * from './ios-move.svg';
export * from './ios-musical-note.svg';
export * from './ios-musical-notes.svg';
export * from './ios-navigate.svg';
export * from './ios-notifications-off.svg';
export * from './ios-notifications-outline.svg';
export * from './ios-notifications.svg';
export * from './ios-nuclear.svg';
export * from './ios-nutrition.svg';
export * from './ios-open.svg';
export * from './ios-options.svg';
export * from './ios-outlet.svg';
export * from './ios-paper-plane.svg';
export * from './ios-paper.svg';
export * from './ios-partly-sunny.svg';
export * from './ios-pause.svg';
export * from './ios-paw.svg';
export * from './ios-people.svg';
export * from './ios-person-add.svg';
export * from './ios-person.svg';
export * from './ios-phone-landscape.svg';
export * from './ios-phone-portrait.svg';
export * from './ios-photos.svg';
export * from './ios-pie.svg';
export * from './ios-pin.svg';
export * from './ios-pint.svg';
export * from './ios-pizza.svg';
export * from './ios-planet.svg';
export * from './ios-play-circle.svg';
export * from './ios-play.svg';
export * from './ios-podium.svg';
export * from './ios-power.svg';
export * from './ios-pricetag.svg';
export * from './ios-pricetags.svg';
export * from './ios-print.svg';
export * from './ios-pulse.svg';
export * from './ios-qr-scanner.svg';
export * from './ios-quote.svg';
export * from './ios-radio-button-off.svg';
export * from './ios-radio-button-on.svg';
export * from './ios-radio.svg';
export * from './ios-rainy.svg';
export * from './ios-recording.svg';
export * from './ios-redo.svg';
export * from './ios-refresh-circle.svg';
export * from './ios-refresh.svg';
export * from './ios-remove-circle-outline.svg';
export * from './ios-remove-circle.svg';
export * from './ios-remove.svg';
export * from './ios-reorder.svg';
export * from './ios-repeat.svg';
export * from './ios-resize.svg';
export * from './ios-restaurant.svg';
export * from './ios-return-left.svg';
export * from './ios-return-right.svg';
export * from './ios-reverse-camera.svg';
export * from './ios-rewind.svg';
export * from './ios-ribbon.svg';
export * from './ios-rocket.svg';
export * from './ios-rose.svg';
export * from './ios-sad.svg';
export * from './ios-save.svg';
export * from './ios-school.svg';
export * from './ios-search.svg';
export * from './ios-send.svg';
export * from './ios-settings.svg';
export * from './ios-share-alt.svg';
export * from './ios-share.svg';
export * from './ios-shirt.svg';
export * from './ios-shuffle.svg';
export * from './ios-skip-backward.svg';
export * from './ios-skip-forward.svg';
export * from './ios-snow.svg';
export * from './ios-speedometer.svg';
export * from './ios-square-outline.svg';
export * from './ios-square.svg';
export * from './ios-star-half.svg';
export * from './ios-star-outline.svg';
export * from './ios-star.svg';
export * from './ios-stats.svg';
export * from './ios-stopwatch.svg';
export * from './ios-subway.svg';
export * from './ios-sunny.svg';
export * from './ios-swap.svg';
export * from './ios-switch.svg';
export * from './ios-sync.svg';
export * from './ios-tablet-landscape.svg';
export * from './ios-tablet-portrait.svg';
export * from './ios-tennisball.svg';
export * from './ios-text.svg';
export * from './ios-thermometer.svg';
export * from './ios-thumbs-down.svg';
export * from './ios-thumbs-up.svg';
export * from './ios-thunderstorm.svg';
export * from './ios-time.svg';
export * from './ios-timer.svg';
export * from './ios-today.svg';
export * from './ios-train.svg';
export * from './ios-transgender.svg';
export * from './ios-trash.svg';
export * from './ios-trending-down.svg';
export * from './ios-trending-up.svg';
export * from './ios-trophy.svg';
export * from './ios-tv.svg';
export * from './ios-umbrella.svg';
export * from './ios-undo.svg';
export * from './ios-unlock.svg';
export * from './ios-videocam.svg';
export * from './ios-volume-high.svg';
export * from './ios-volume-low.svg';
export * from './ios-volume-mute.svg';
export * from './ios-volume-off.svg';
export * from './ios-walk.svg';
export * from './ios-wallet.svg';
export * from './ios-warning.svg';
export * from './ios-watch.svg';
export * from './ios-water.svg';
export * from './ios-wifi.svg';
export * from './ios-wine.svg';
export * from './ios-woman.svg';
export * from './logo-android.svg';
export * from './logo-angular.svg';
export * from './logo-apple.svg';
export * from './logo-bitbucket.svg';
export * from './logo-bitcoin.svg';
export * from './logo-buffer.svg';
export * from './logo-chrome.svg';
export * from './logo-closed-captioning.svg';
export * from './logo-codepen.svg';
export * from './logo-css3.svg';
export * from './logo-designernews.svg';
export * from './logo-dribbble.svg';
export * from './logo-dropbox.svg';
export * from './logo-euro.svg';
export * from './logo-facebook.svg';
export * from './logo-flickr.svg';
export * from './logo-foursquare.svg';
export * from './logo-freebsd-devil.svg';
export * from './logo-game-controller-a.svg';
export * from './logo-game-controller-b.svg';
export * from './logo-github.svg';
export * from './logo-google.svg';
export * from './logo-googleplus.svg';
export * from './logo-hackernews.svg';
export * from './logo-html5.svg';
export * from './logo-instagram.svg';
export * from './logo-ionic.svg';
export * from './logo-ionitron.svg';
export * from './logo-javascript.svg';
export * from './logo-linkedin.svg';
export * from './logo-markdown.svg';
export * from './logo-model-s.svg';
export * from './logo-no-smoking.svg';
export * from './logo-nodejs.svg';
export * from './logo-npm.svg';
export * from './logo-octocat.svg';
export * from './logo-pinterest.svg';
export * from './logo-playstation.svg';
export * from './logo-polymer.svg';
export * from './logo-python.svg';
export * from './logo-reddit.svg';
export * from './logo-rss.svg';
export * from './logo-sass.svg';
export * from './logo-skype.svg';
export * from './logo-slack.svg';
export * from './logo-snapchat.svg';
export * from './logo-steam.svg';
export * from './logo-tumblr.svg';
export * from './logo-tux.svg';
export * from './logo-twitch.svg';
export * from './logo-twitter.svg';
export * from './logo-usd.svg';
export * from './logo-vimeo.svg';
export * from './logo-vk.svg';
export * from './logo-whatsapp.svg';
export * from './logo-windows.svg';
export * from './logo-wordpress.svg';
export * from './logo-xbox.svg';
export * from './logo-xing.svg';
export * from './logo-yahoo.svg';
export * from './logo-yen.svg';
export * from './logo-youtube.svg';
export * from './md-add-circle-outline.svg';
export * from './md-add-circle.svg';
export * from './md-add.svg';
export * from './md-airplane.svg';
export * from './md-alarm.svg';
export * from './md-albums.svg';
export * from './md-alert.svg';
export * from './md-american-football.svg';
export * from './md-analytics.svg';
export * from './md-aperture.svg';
export * from './md-apps.svg';
export * from './md-appstore.svg';
export * from './md-archive.svg';
export * from './md-arrow-back.svg';
export * from './md-arrow-down.svg';
export * from './md-arrow-dropdown-circle.svg';
export * from './md-arrow-dropdown.svg';
export * from './md-arrow-dropleft-circle.svg';
export * from './md-arrow-dropleft.svg';
export * from './md-arrow-dropright-circle.svg';
export * from './md-arrow-dropright.svg';
export * from './md-arrow-dropup-circle.svg';
export * from './md-arrow-dropup.svg';
export * from './md-arrow-forward.svg';
export * from './md-arrow-round-back.svg';
export * from './md-arrow-round-down.svg';
export * from './md-arrow-round-forward.svg';
export * from './md-arrow-round-up.svg';
export * from './md-arrow-up.svg';
export * from './md-at.svg';
export * from './md-attach.svg';
export * from './md-backspace.svg';
export * from './md-barcode.svg';
export * from './md-baseball.svg';
export * from './md-basket.svg';
export * from './md-basketball.svg';
export * from './md-battery-charging.svg';
export * from './md-battery-dead.svg';
export * from './md-battery-full.svg';
export * from './md-beaker.svg';
export * from './md-bed.svg';
export * from './md-beer.svg';
export * from './md-bicycle.svg';
export * from './md-bluetooth.svg';
export * from './md-boat.svg';
export * from './md-body.svg';
export * from './md-bonfire.svg';
export * from './md-book.svg';
export * from './md-bookmark.svg';
export * from './md-bookmarks.svg';
export * from './md-bowtie.svg';
export * from './md-briefcase.svg';
export * from './md-browsers.svg';
export * from './md-brush.svg';
export * from './md-bug.svg';
export * from './md-build.svg';
export * from './md-bulb.svg';
export * from './md-bus.svg';
export * from './md-business.svg';
export * from './md-cafe.svg';
export * from './md-calculator.svg';
export * from './md-calendar.svg';
export * from './md-call.svg';
export * from './md-camera.svg';
export * from './md-car.svg';
export * from './md-card.svg';
export * from './md-cart.svg';
export * from './md-cash.svg';
export * from './md-cellular.svg';
export * from './md-chatboxes.svg';
export * from './md-chatbubbles.svg';
export * from './md-checkbox-outline.svg';
export * from './md-checkbox.svg';
export * from './md-checkmark-circle-outline.svg';
export * from './md-checkmark-circle.svg';
export * from './md-checkmark.svg';
export * from './md-clipboard.svg';
export * from './md-clock.svg';
export * from './md-close-circle-outline.svg';
export * from './md-close-circle.svg';
export * from './md-close.svg';
export * from './md-cloud-circle.svg';
export * from './md-cloud-done.svg';
export * from './md-cloud-download.svg';
export * from './md-cloud-outline.svg';
export * from './md-cloud-upload.svg';
export * from './md-cloud.svg';
export * from './md-cloudy-night.svg';
export * from './md-cloudy.svg';
export * from './md-code-download.svg';
export * from './md-code-working.svg';
export * from './md-code.svg';
export * from './md-cog.svg';
export * from './md-color-fill.svg';
export * from './md-color-filter.svg';
export * from './md-color-palette.svg';
export * from './md-color-wand.svg';
export * from './md-compass.svg';
export * from './md-construct.svg';
export * from './md-contact.svg';
export * from './md-contacts.svg';
export * from './md-contract.svg';
export * from './md-contrast.svg';
export * from './md-copy.svg';
export * from './md-create.svg';
export * from './md-crop.svg';
export * from './md-cube.svg';
export * from './md-cut.svg';
export * from './md-desktop.svg';
export * from './md-disc.svg';
export * from './md-document.svg';
export * from './md-done-all.svg';
export * from './md-download.svg';
export * from './md-easel.svg';
export * from './md-egg.svg';
export * from './md-exit.svg';
export * from './md-expand.svg';
export * from './md-eye-off.svg';
export * from './md-eye.svg';
export * from './md-fastforward.svg';
export * from './md-female.svg';
export * from './md-filing.svg';
export * from './md-film.svg';
export * from './md-finger-print.svg';
export * from './md-fitness.svg';
export * from './md-flag.svg';
export * from './md-flame.svg';
export * from './md-flash-off.svg';
export * from './md-flash.svg';
export * from './md-flashlight.svg';
export * from './md-flask.svg';
export * from './md-flower.svg';
export * from './md-folder-open.svg';
export * from './md-folder.svg';
export * from './md-football.svg';
export * from './md-funnel.svg';
export * from './md-gift.svg';
export * from './md-git-branch.svg';
export * from './md-git-commit.svg';
export * from './md-git-compare.svg';
export * from './md-git-merge.svg';
export * from './md-git-network.svg';
export * from './md-git-pull-request.svg';
export * from './md-glasses.svg';
export * from './md-globe.svg';
export * from './md-grid.svg';
export * from './md-hammer.svg';
export * from './md-hand.svg';
export * from './md-happy.svg';
export * from './md-headset.svg';
export * from './md-heart-dislike.svg';
export * from './md-heart-empty.svg';
export * from './md-heart-half.svg';
export * from './md-heart.svg';
export * from './md-help-buoy.svg';
export * from './md-help-circle-outline.svg';
export * from './md-help-circle.svg';
export * from './md-help.svg';
export * from './md-home.svg';
export * from './md-hourglass.svg';
export * from './md-ice-cream.svg';
export * from './md-image.svg';
export * from './md-images.svg';
export * from './md-infinite.svg';
export * from './md-information-circle-outline.svg';
export * from './md-information-circle.svg';
export * from './md-information.svg';
export * from './md-jet.svg';
export * from './md-journal.svg';
export * from './md-key.svg';
export * from './md-keypad.svg';
export * from './md-laptop.svg';
export * from './md-leaf.svg';
export * from './md-link.svg';
export * from './md-list-box.svg';
export * from './md-list.svg';
export * from './md-locate.svg';
export * from './md-lock.svg';
export * from './md-log-in.svg';
export * from './md-log-out.svg';
export * from './md-magnet.svg';
export * from './md-mail-open.svg';
export * from './md-mail-unread.svg';
export * from './md-mail.svg';
export * from './md-male.svg';
export * from './md-man.svg';
export * from './md-map.svg';
export * from './md-medal.svg';
export * from './md-medical.svg';
export * from './md-medkit.svg';
export * from './md-megaphone.svg';
export * from './md-menu.svg';
export * from './md-mic-off.svg';
export * from './md-mic.svg';
export * from './md-microphone.svg';
export * from './md-moon.svg';
export * from './md-more.svg';
export * from './md-move.svg';
export * from './md-musical-note.svg';
export * from './md-musical-notes.svg';
export * from './md-navigate.svg';
export * from './md-notifications-off.svg';
export * from './md-notifications-outline.svg';
export * from './md-notifications.svg';
export * from './md-nuclear.svg';
export * from './md-nutrition.svg';
export * from './md-open.svg';
export * from './md-options.svg';
export * from './md-outlet.svg';
export * from './md-paper-plane.svg';
export * from './md-paper.svg';
export * from './md-partly-sunny.svg';
export * from './md-pause.svg';
export * from './md-paw.svg';
export * from './md-people.svg';
export * from './md-person-add.svg';
export * from './md-person.svg';
export * from './md-phone-landscape.svg';
export * from './md-phone-portrait.svg';
export * from './md-photos.svg';
export * from './md-pie.svg';
export * from './md-pin.svg';
export * from './md-pint.svg';
export * from './md-pizza.svg';
export * from './md-planet.svg';
export * from './md-play-circle.svg';
export * from './md-play.svg';
export * from './md-podium.svg';
export * from './md-power.svg';
export * from './md-pricetag.svg';
export * from './md-pricetags.svg';
export * from './md-print.svg';
export * from './md-pulse.svg';
export * from './md-qr-scanner.svg';
export * from './md-quote.svg';
export * from './md-radio-button-off.svg';
export * from './md-radio-button-on.svg';
export * from './md-radio.svg';
export * from './md-rainy.svg';
export * from './md-recording.svg';
export * from './md-redo.svg';
export * from './md-refresh-circle.svg';
export * from './md-refresh.svg';
export * from './md-remove-circle-outline.svg';
export * from './md-remove-circle.svg';
export * from './md-remove.svg';
export * from './md-reorder.svg';
export * from './md-repeat.svg';
export * from './md-resize.svg';
export * from './md-restaurant.svg';
export * from './md-return-left.svg';
export * from './md-return-right.svg';
export * from './md-reverse-camera.svg';
export * from './md-rewind.svg';
export * from './md-ribbon.svg';
export * from './md-rocket.svg';
export * from './md-rose.svg';
export * from './md-sad.svg';
export * from './md-save.svg';
export * from './md-school.svg';
export * from './md-search.svg';
export * from './md-send.svg';
export * from './md-settings.svg';
export * from './md-share-alt.svg';
export * from './md-share.svg';
export * from './md-shirt.svg';
export * from './md-shuffle.svg';
export * from './md-skip-backward.svg';
export * from './md-skip-forward.svg';
export * from './md-snow.svg';
export * from './md-speedometer.svg';
export * from './md-square-outline.svg';
export * from './md-square.svg';
export * from './md-star-half.svg';
export * from './md-star-outline.svg';
export * from './md-star.svg';
export * from './md-stats.svg';
export * from './md-stopwatch.svg';
export * from './md-subway.svg';
export * from './md-sunny.svg';
export * from './md-swap.svg';
export * from './md-switch.svg';
export * from './md-sync.svg';
export * from './md-tablet-landscape.svg';
export * from './md-tablet-portrait.svg';
export * from './md-tennisball.svg';
export * from './md-text.svg';
export * from './md-thermometer.svg';
export * from './md-thumbs-down.svg';
export * from './md-thumbs-up.svg';
export * from './md-thunderstorm.svg';
export * from './md-time.svg';
export * from './md-timer.svg';
export * from './md-today.svg';
export * from './md-train.svg';
export * from './md-transgender.svg';
export * from './md-trash.svg';
export * from './md-trending-down.svg';
export * from './md-trending-up.svg';
export * from './md-trophy.svg';
export * from './md-tv.svg';
export * from './md-umbrella.svg';
export * from './md-undo.svg';
export * from './md-unlock.svg';
export * from './md-videocam.svg';
export * from './md-volume-high.svg';
export * from './md-volume-low.svg';
export * from './md-volume-mute.svg';
export * from './md-volume-off.svg';
export * from './md-walk.svg';
export * from './md-wallet.svg';
export * from './md-warning.svg';
export * from './md-watch.svg';
export * from './md-water.svg';
export * from './md-wifi.svg';
export * from './md-wine.svg';
export * from './md-woman.svg';
require.context('!!file-loader?name=[name].[ext]&outputPath=svg!./', false, /.svg$/);
+1 -1
View File
@@ -1 +1 @@
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><style>.st0{fill:#010101}</style><path class="st0" d="M227.6 213.1H256v57.1h-28.4z"/><path class="st0" d="M0 156v171.4h142.2V356H256v-28.6h256V156H0zm142.2 142.9h-28.4v-85.7H85.3v85.7H28.4V184.6h113.8v114.3zm142.2 0h-56.9v28.6h-56.9V184.6h113.8v114.3zm199.2 0h-28.4v-85.7h-28.4v85.7h-28.4v-85.7H370v85.7h-56.9V184.6h170.7v114.3z"/></svg>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 512 512" xml:space="preserve"><style>.st0{fill:#010101}</style><path class="st0" d="M227.6 213.1H256v57.1h-28.4z"/><path class="st0" d="M0 156v171.4h142.2V356H256v-28.6h256V156H0zm142.2 142.9h-28.4v-85.7H85.3v85.7H28.4V184.6h113.8v114.3zm142.2 0h-56.9v28.6h-56.9V184.6h113.8v114.3zm199.2 0h-28.4v-85.7h-28.4v85.7h-28.4v-85.7H370v85.7h-56.9V184.6h170.7v114.3z"/></svg>

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 459 B

+1 -1
View File
@@ -1 +1 @@
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><style>.st0{fill:#010101}</style><path class="st0" d="M117.3 42.7c-17.6 0-32 14.4-32 32v362.7c0 17.6 14.4 32 32 32H320V42.7H117.3zM384.7 42.7H368v426.7h16.7c23.1 0 42-18.9 42-42V84.7c0-23.1-18.9-42-42-42z"/></svg>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 512 512" xml:space="preserve"><style>.st0{fill:#010101}</style><path class="st0" d="M117.3 42.7c-17.6 0-32 14.4-32 32v362.7c0 17.6 14.4 32 32 32H320V42.7H117.3zM384.7 42.7H368v426.7h16.7c23.1 0 42-18.9 42-42V84.7c0-23.1-18.9-42-42-42z"/></svg>

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 335 B

+16 -26
View File
@@ -1,6 +1,6 @@
{
"name": "ionicons",
"version": "4.4.2",
"version": "4.4.8",
"description": "Premium icons for Ionic.",
"files": [
"dist/"
@@ -14,34 +14,37 @@
"build": "npm run clean && npm run lint.ts && npm run build.icon && npm run generate && npm run build.data && npm run build.css && npm run build.docs && npm run copy.tasks && npm run test",
"build.css": "node scripts/build-css.js",
"build.data": "node scripts/data.js",
"build.docs": "stencil build --config src/docs/stencil.config.js",
"build.docs": "stencil build --config src/docs/stencil.config.ts",
"build.icon": "stencil build",
"clean": "node scripts/clean.js",
"copy.tasks": "node scripts/copy-tasks.js",
"dev": "npm run build && stencil build --dev --watch --serve --config src/docs/stencil.config.js",
"dev": "stencil build --dev --watch --serve --config src/docs/stencil.config.ts",
"mode.comparison": "node scripts/mode-comparison.js",
"generate": "python scripts/generate.py",
"lint.ts": "tslint --project .",
"lint.ts.fix": "tslint --project . --fix",
"release": "np --any-branch --yolo",
"test": "jest",
"test.watch": "jest --watch"
"test": "stencil test --spec"
},
"devDependencies": {
"@stencil/core": "0.12.0",
"@stencil/router": "~0.2.2",
"@stencil/sass": "0.0.5",
"@stencil/core": "0.16.0-6",
"@stencil/router": "0.3.1",
"@stencil/sass": "0.1.1",
"@types/highlight.js": "^9.12.3",
"@types/jest": "^23.1.3",
"@types/puppeteer": "1.6.4",
"archiver": "^2.1.1",
"fs-extra": "4.0.2",
"highlight.js": "^9.12.0",
"jest": "^23.2.0",
"node-sass": "4.9.0",
"jest": "23.6.0",
"jest-cli": "23.6.0",
"node-sass": "4.9.3",
"np": "3.0.4",
"svgo": "1.0.5",
"pixelmatch": "4.0.2",
"puppeteer": "1.7.0",
"svgo": "1.1.1",
"tslint": "^5.11.0",
"tslint-ionic-rules": "0.0.17"
"tslint-ionic-rules": "0.0.20"
},
"keywords": [
"ionicons",
@@ -72,18 +75,5 @@
"bugs": {
"url": "https://github.com/ionic-team/ionicons/issues"
},
"license": "MIT",
"jest": {
"transform": {
"^.+\\.(js|ts|tsx)$": "<rootDir>/node_modules/@stencil/core/testing/jest.preprocessor.js"
},
"testRegex": "src/.*\\.spec\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"d.ts"
]
}
"license": "MIT"
}
+1 -3
View File
@@ -49,8 +49,6 @@ fs.writeFileSync(DST_JSON, jsonContent);
const jsContent = `
if (require && require.context) {
require.context('!!file-loader?name=[name].[ext]&outputPath=svg!./', false, /\.svg$/);
}
require.context('!!file-loader?name=[name].[ext]&outputPath=svg!./', false, /\.svg$/);
`;
fs.writeFileSync(DST_JS, jsContent)
+1 -2791
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -3,9 +3,9 @@
{{name}}
</td>
<td class="align-center">
<ion-icon name="ios-{{name}}"></ion-icon>
<ion-icon name="ios-{{name}}" lazy></ion-icon>
</div>
<td class="align-center">
<ion-icon name="md-{{name}}"></ion-icon>
<ion-icon name="md-{{name}}" lazy></ion-icon>
</div>
</tr>
+307
View File
@@ -0,0 +1,307 @@
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import '@stencil/core';
import '@stencil/router';
import '@stencil/state-tunnel';
import {
MatchResults,
} from '@stencil/router';
export namespace Components {
interface IonIcon {
/**
* Specifies the label to use for accessibility. Defaults to the icon name.
*/
'ariaLabel'?: string;
/**
* The color to use for the background of the item.
*/
'color'?: string;
/**
* A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property.
*/
'icon'?: string;
/**
* Specifies which icon to use on `ios` mode.
*/
'ios'?: string;
/**
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `false`.
*/
'lazy': boolean;
/**
* Specifies which icon to use on `md` mode.
*/
'md'?: string;
/**
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
*/
'mode'?: 'ios' | 'md';
/**
* Specifies which icon to use from the built-in set of icons.
*/
'name'?: string;
/**
* The size of the icon. Available options are: `"small"` and `"large"`.
*/
'size'?: string;
/**
* Specifies the exact `src` of an SVG file to use.
*/
'src'?: string;
}
interface IonIconAttributes extends StencilHTMLAttributes {
/**
* Specifies the label to use for accessibility. Defaults to the icon name.
*/
'ariaLabel'?: string;
/**
* The color to use for the background of the item.
*/
'color'?: string;
/**
* A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property.
*/
'icon'?: string;
/**
* Specifies which icon to use on `ios` mode.
*/
'ios'?: string;
/**
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `false`.
*/
'lazy'?: boolean;
/**
* Specifies which icon to use on `md` mode.
*/
'md'?: string;
/**
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
*/
'mode'?: 'ios' | 'md';
/**
* Specifies which icon to use from the built-in set of icons.
*/
'name'?: string;
/**
* The size of the icon. Available options are: `"small"` and `"large"`.
*/
'size'?: string;
/**
* Specifies the exact `src` of an SVG file to use.
*/
'src'?: string;
}
interface FooterBar {}
interface FooterBarAttributes extends StencilHTMLAttributes {}
interface HeaderBar {
'isSearchVisible': boolean;
'query': string;
'version': string;
}
interface HeaderBarAttributes extends StencilHTMLAttributes {
'isSearchVisible'?: boolean;
'onToggleHeaderSearch'?: (event: CustomEvent) => void;
'query'?: string;
'version'?: string;
}
interface IconList {
'data': any;
'query': string;
}
interface IconListAttributes extends StencilHTMLAttributes {
'data'?: any;
'query'?: string;
}
interface IconSearch {
'autofocus': string;
'query': string;
'size': string;
}
interface IconSearchAttributes extends StencilHTMLAttributes {
'autofocus'?: string;
'onHasSearched'?: (event: CustomEvent) => void;
'query'?: string;
'size'?: string;
}
interface IoniconsSite {}
interface IoniconsSiteAttributes extends StencilHTMLAttributes {}
interface LandingPage {
'data': any;
'query': string;
}
interface LandingPageAttributes extends StencilHTMLAttributes {
'data'?: any;
'query'?: string;
}
interface NotfoundPage {}
interface NotfoundPageAttributes extends StencilHTMLAttributes {}
interface ToastBar {
'selectedIcon': {
name: string,
icons: string[],
tags: string[]
};
'selectedIconType': string;
}
interface ToastBarAttributes extends StencilHTMLAttributes {
'onClearToast'?: (event: CustomEvent) => void;
'onToggleHeaderSearch'?: (event: CustomEvent) => void;
'selectedIcon'?: {
name: string,
icons: string[],
tags: string[]
};
'selectedIconType'?: string;
}
interface UsagePage {
'data': any;
'match'?: MatchResults;
}
interface UsagePageAttributes extends StencilHTMLAttributes {
'data'?: any;
'match'?: MatchResults;
}
}
declare global {
interface StencilElementInterfaces {
'IonIcon': Components.IonIcon;
'FooterBar': Components.FooterBar;
'HeaderBar': Components.HeaderBar;
'IconList': Components.IconList;
'IconSearch': Components.IconSearch;
'IoniconsSite': Components.IoniconsSite;
'LandingPage': Components.LandingPage;
'NotfoundPage': Components.NotfoundPage;
'ToastBar': Components.ToastBar;
'UsagePage': Components.UsagePage;
}
interface StencilIntrinsicElements {
'ion-icon': Components.IonIconAttributes;
'footer-bar': Components.FooterBarAttributes;
'header-bar': Components.HeaderBarAttributes;
'icon-list': Components.IconListAttributes;
'icon-search': Components.IconSearchAttributes;
'ionicons-site': Components.IoniconsSiteAttributes;
'landing-page': Components.LandingPageAttributes;
'notfound-page': Components.NotfoundPageAttributes;
'toast-bar': Components.ToastBarAttributes;
'usage-page': Components.UsagePageAttributes;
}
interface HTMLIonIconElement extends Components.IonIcon, HTMLStencilElement {}
var HTMLIonIconElement: {
prototype: HTMLIonIconElement;
new (): HTMLIonIconElement;
};
interface HTMLFooterBarElement extends Components.FooterBar, HTMLStencilElement {}
var HTMLFooterBarElement: {
prototype: HTMLFooterBarElement;
new (): HTMLFooterBarElement;
};
interface HTMLHeaderBarElement extends Components.HeaderBar, HTMLStencilElement {}
var HTMLHeaderBarElement: {
prototype: HTMLHeaderBarElement;
new (): HTMLHeaderBarElement;
};
interface HTMLIconListElement extends Components.IconList, HTMLStencilElement {}
var HTMLIconListElement: {
prototype: HTMLIconListElement;
new (): HTMLIconListElement;
};
interface HTMLIconSearchElement extends Components.IconSearch, HTMLStencilElement {}
var HTMLIconSearchElement: {
prototype: HTMLIconSearchElement;
new (): HTMLIconSearchElement;
};
interface HTMLIoniconsSiteElement extends Components.IoniconsSite, HTMLStencilElement {}
var HTMLIoniconsSiteElement: {
prototype: HTMLIoniconsSiteElement;
new (): HTMLIoniconsSiteElement;
};
interface HTMLLandingPageElement extends Components.LandingPage, HTMLStencilElement {}
var HTMLLandingPageElement: {
prototype: HTMLLandingPageElement;
new (): HTMLLandingPageElement;
};
interface HTMLNotfoundPageElement extends Components.NotfoundPage, HTMLStencilElement {}
var HTMLNotfoundPageElement: {
prototype: HTMLNotfoundPageElement;
new (): HTMLNotfoundPageElement;
};
interface HTMLToastBarElement extends Components.ToastBar, HTMLStencilElement {}
var HTMLToastBarElement: {
prototype: HTMLToastBarElement;
new (): HTMLToastBarElement;
};
interface HTMLUsagePageElement extends Components.UsagePage, HTMLStencilElement {}
var HTMLUsagePageElement: {
prototype: HTMLUsagePageElement;
new (): HTMLUsagePageElement;
};
interface HTMLElementTagNameMap {
'ion-icon': HTMLIonIconElement
'footer-bar': HTMLFooterBarElement
'header-bar': HTMLHeaderBarElement
'icon-list': HTMLIconListElement
'icon-search': HTMLIconSearchElement
'ionicons-site': HTMLIoniconsSiteElement
'landing-page': HTMLLandingPageElement
'notfound-page': HTMLNotfoundPageElement
'toast-bar': HTMLToastBarElement
'usage-page': HTMLUsagePageElement
}
interface ElementTagNameMap {
'ion-icon': HTMLIonIconElement;
'footer-bar': HTMLFooterBarElement;
'header-bar': HTMLHeaderBarElement;
'icon-list': HTMLIconListElement;
'icon-search': HTMLIconSearchElement;
'ionicons-site': HTMLIoniconsSiteElement;
'landing-page': HTMLLandingPageElement;
'notfound-page': HTMLNotfoundPageElement;
'toast-bar': HTMLToastBarElement;
'usage-page': HTMLUsagePageElement;
}
export namespace JSX {
export interface Element {}
export interface IntrinsicElements extends StencilIntrinsicElements {
[tagName: string]: any;
}
}
export interface HTMLAttributes extends StencilHTMLAttributes {}
}
+14 -13
View File
@@ -1,8 +1,9 @@
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import '@stencil/core';
@@ -15,19 +16,19 @@ export namespace Components {
/**
* Specifies the label to use for accessibility. Defaults to the icon name.
*/
'ariaLabel': string;
'ariaLabel'?: string;
/**
* The color to use for the background of the item.
*/
'color': string;
'color'?: string;
/**
* A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property.
*/
'icon': string;
'icon'?: string;
/**
* Specifies which icon to use on `ios` mode.
*/
'ios': string;
'ios'?: string;
/**
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `false`.
*/
@@ -35,23 +36,23 @@ export namespace Components {
/**
* Specifies which icon to use on `md` mode.
*/
'md': string;
'md'?: string;
/**
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
*/
'mode': 'ios' | 'md';
'mode'?: 'ios' | 'md';
/**
* Specifies which icon to use from the built-in set of icons.
*/
'name': string;
'name'?: string;
/**
* The size of the icon. Available options are: `"small"` and `"large"`.
*/
'size': string;
'size'?: string;
/**
* Specifies the exact `src` of an SVG file to use.
*/
'src': string;
'src'?: string;
}
interface IonIconAttributes extends StencilHTMLAttributes {
/**
+5 -7
View File
@@ -14,24 +14,22 @@
}
:host(.icon-small) {
font-size: var(--ion-icon-size-small, 18px) !important;
font-size: 18px !important;
}
:host(.icon-large){
font-size: var(--ion-icon-size-large, 32px) !important;
font-size: 32px !important;
}
.icon-inner,
svg {
display: block;
height: 100%;
width: 100%;
}
svg {
fill: currentColor;
stroke: currentColor;
height: 100%;
width: 100%;
}
/* Set iOS Icon Colors */
+40 -27
View File
@@ -1,4 +1,5 @@
import * as icon from './icon';
import { Icon } from './icon';
import { getName, getSrc, isValid } from './utils';
describe('isValid', () => {
@@ -10,7 +11,7 @@ describe('isValid', () => {
attributes: [{ value: 'onload' }],
childNodes: []
} as any;
expect(icon.isValid(el)).toBe(false);
expect(isValid(el)).toBe(false);
});
it('invalid onclick attr', () => {
@@ -20,46 +21,46 @@ describe('isValid', () => {
attributes: [{ value: 'OnClIcK' }],
childNodes: []
} as any;
expect(icon.isValid(el)).toBe(false);
expect(isValid(el)).toBe(false);
});
it('invalid child SCRIPT elm', () => {
const el = { nodeType: 1, nodeName: 'svg', attributes: [], childNodes: [
{ nodeType: 1, nodeName: 'SCRIPT', attributes: [], childNodes: [] }
] } as any;
expect(icon.isValid(el)).toBe(false);
expect(isValid(el)).toBe(false);
});
it('invalid script elm', () => {
const el = { nodeType: 1, nodeName: 'script', attributes: [], childNodes: [] } as any;
expect(icon.isValid(el)).toBe(false);
expect(isValid(el)).toBe(false);
});
it('is valid circle elm', () => {
const el = { nodeType: 1, nodeName: 'circle', attributes: [], childNodes: [] } as any;
expect(icon.isValid(el)).toBe(true);
expect(isValid(el)).toBe(true);
});
it('is valid SVG elm', () => {
const el = { nodeType: 1, nodeName: 'SVG', attributes: [], childNodes: [
{ nodeType: 1, nodeName: 'line', attributes: [], childNodes: [] }
] } as any;
expect(icon.isValid(el)).toBe(true);
expect(isValid(el)).toBe(true);
});
it('is valid text node', () => {
const el = { nodeType: 3, nodeName: '#text' } as any;
expect(icon.isValid(el)).toBe(true);
expect(isValid(el)).toBe(true);
});
});
describe('getUrl', () => {
let i: icon.Icon;
let i: Icon;
beforeEach(() => {
i = new icon.Icon();
i = new Icon();
i.resourcesUrl = '/build/ionicons/';
});
@@ -85,6 +86,18 @@ describe('getUrl', () => {
expect(i.getUrl()).toBe('/build/ionicons/svg/md-some-name.svg');
});
it('use name prop, set undefined mode', () => {
i.name = 'some-name';
i.mode = undefined;
expect(i.getUrl()).toBe('/build/ionicons/svg/md-some-name.svg');
});
it('use name prop, set unknown mode', () => {
i.name = 'some-name';
i.mode = 'somemode' as any;
expect(i.getUrl()).toBe('/build/ionicons/svg/md-some-name.svg');
});
it('use name prop, default md mode', () => {
i.name = 'some-name';
i.icon = 'some-icon';
@@ -104,23 +117,23 @@ describe('getUrl', () => {
describe('getSrc', () => {
it('both . and /', () => {
expect(icon.getSrc('./somefile.svg')).toBe('./somefile.svg');
expect(getSrc('./somefile.svg')).toBe('./somefile.svg');
});
it('url', () => {
expect(icon.getSrc('https://ionicons/somefile.svg')).toBe('https://ionicons/somefile.svg');
expect(getSrc('https://ionicons/somefile.svg')).toBe('https://ionicons/somefile.svg');
});
it('just a .', () => {
expect(icon.getSrc('somefile.svg')).toBe('somefile.svg');
expect(getSrc('somefile.svg')).toBe('somefile.svg');
});
it('just a /', () => {
expect(icon.getSrc('/somesvg')).toBe('/somesvg');
expect(getSrc('/somesvg')).toBe('/somesvg');
});
it('no . or /', () => {
expect(icon.getSrc('some-name')).toBe(null);
expect(getSrc('some-name')).toBe(null);
});
});
@@ -129,39 +142,39 @@ describe('getSrc', () => {
describe('getName', () => {
it('not allow special chars', () => {
expect(icon.getName('some\\name', 'io', '', '')).toBe(null);
expect(icon.getName('some$name', 'io', '', '')).toBe(null);
expect(icon.getName('some:name', 'io', '', '')).toBe(null);
expect(icon.getName('some.name', 'io', '', '')).toBe(null);
expect(icon.getName('some/name', 'io', '', '')).toBe(null);
expect(getName('some\\name', 'io', '', '')).toBe(null);
expect(getName('some$name', 'io', '', '')).toBe(null);
expect(getName('some:name', 'io', '', '')).toBe(null);
expect(getName('some.name', 'io', '', '')).toBe(null);
expect(getName('some/name', 'io', '', '')).toBe(null);
});
it('use ios mode from mode property', () => {
expect(icon.getName('some-name', 'ios', '', '')).toBe('ios-some-name');
expect(getName('some-name', 'ios', '', '')).toBe('ios-some-name');
});
it('use md mode from mode property', () => {
expect(icon.getName('some-name', 'md', '', '')).toBe('md-some-name');
expect(getName('some-name', 'md', '', '')).toBe('md-some-name');
});
it('use ios mode prefixed', () => {
expect(icon.getName('ios-some-name', '', '', '')).toBe('ios-some-name');
expect(getName('ios-some-name', '', '', '')).toBe('ios-some-name');
});
it('use md mode prefixed', () => {
expect(icon.getName('md-some-name', '', '', '')).toBe('md-some-name');
expect(getName('md-some-name', '', '', '')).toBe('md-some-name');
});
it('always lowercase name and mode', () => {
expect(icon.getName('SOME-NAME', 'IOS', '', '')).toBe('ios-some-name');
expect(getName('SOME-NAME', 'IOS', '', '')).toBe('ios-some-name');
});
it('default md name w/out mode, ios or md', () => {
expect(icon.getName('some-name', '', '', '')).toBe('md-some-name');
expect(getName('some-name', '', '', '')).toBe('md-some-name');
});
it('should not use name if no name, ios or md', () => {
expect(icon.getName('', '', '', '')).toBe(null);
expect(getName('', '', '', '')).toBe(null);
});
});
+9 -79
View File
@@ -1,4 +1,5 @@
import { Component, Element, Prop, State, Watch } from '@stencil/core';
import { getName, getSrc, isValid } from './utils';
@Component({
@@ -121,9 +122,8 @@ export class Icon {
const url = this.getUrl();
if (url) {
getSvgContent(url).then(svgContent => {
this.svgContent = validateContent(this.doc, svgContent, (this.el as any)['s-sc']);
});
getSvgContent(this.doc, url, 's-ion-icon')
.then(svgContent => this.svgContent = svgContent);
}
}
@@ -194,20 +194,20 @@ export class Icon {
}
const requests = new Map<string, Promise<string | null>>();
const requests = new Map<string, Promise<string>>();
function getSvgContent(url: string) {
function getSvgContent(doc: Document, url: string, scopedId: string | undefined) {
// see if we already have a request for this url
let req = requests.get(url);
if (!req) {
// we don't already have a request
req = fetch(url, { cache: 'force-cache' }).then(rsp => {
if (rsp.ok) {
if (isStatusValid(rsp.status)) {
return rsp.text();
}
return Promise.resolve(null);
});
}).then(svgContent => validateContent(doc, svgContent, scopedId));
// cache for the same requests
requests.set(url, req);
@@ -217,57 +217,10 @@ function getSvgContent(url: string) {
}
export function getName(
name: string | undefined,
mode: string | undefined,
ios: string | undefined,
md: string | undefined
) {
// default to "md" if somehow the mode wasn't set
mode = (mode || 'md').toLowerCase();
// if an icon was passed in using the ios or md attributes
// set the iconName to whatever was passed in
if (ios && mode === 'ios') {
name = ios.toLowerCase();
} else if (md && mode === 'md') {
name = md.toLowerCase();
} else if (name) {
name = name.toLowerCase();
if (!/^md-|^ios-|^logo-/.test(name)) {
// this does not have one of the defaults
// so lets auto add in the mode prefix for them
name = `${mode}-${name}`;
}
}
if (typeof name !== 'string' || name.trim() === '') {
return null;
}
// only allow alpha characters and dash
const invalidChars = name.replace(/[a-z]|-|\d/gi, '');
if (invalidChars !== '') {
return null;
}
return name;
function isStatusValid(status: number) {
return status <= 299;
}
export function getSrc(src: string | undefined) {
if (typeof src === 'string') {
src = src.trim();
if (src.length > 0 && /(\/|\.)/.test(src)) {
return src;
}
}
return null;
}
function validateContent(
document: Document,
svgContent: string | null,
@@ -303,29 +256,6 @@ function validateContent(
return '';
}
export function isValid(elm: HTMLElement) {
if (elm.nodeType === 1) {
if (elm.nodeName.toLowerCase() === 'script') {
return false;
}
for (let i = 0; i < elm.attributes.length; i++) {
const val = elm.attributes[i].value;
if (typeof val === 'string' && val.toLowerCase().indexOf('on') === 0) {
return false;
}
}
for (let i = 0; i < elm.childNodes.length; i++) {
if (!isValid(elm.childNodes[i] as any)) {
return false;
}
}
}
return true;
}
function createColorClasses(color: string | undefined) {
return (color) ? {
'ion-color': true,

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