@o-rango/o-alert
Advanced tools
Comparing version 0.0.1-beta.4 to 0.0.1-beta.5
@@ -6,2 +6,15 @@ # Change Log | ||
<a name="0.0.1-beta.5"></a> | ||
## [0.0.1-beta.5](https://github.com/ionic-team/stencil-component-starter/compare/@o-rango/o-alert@0.0.1-beta.4...@o-rango/o-alert@0.0.1-beta.5) (2018-08-01) | ||
### Features | ||
* **o-alert:** docs ([6294947](https://github.com/ionic-team/stencil-component-starter/commit/6294947)) | ||
* **o-alert:** update docs and font-family ([32830db](https://github.com/ionic-team/stencil-component-starter/commit/32830db)) | ||
<a name="0.0.1-beta.4"></a> | ||
@@ -8,0 +21,0 @@ ## [0.0.1-beta.4](https://github.com/ionic-team/stencil-component-starter/compare/@o-rango/o-alert@0.0.1-beta.3...@o-rango/o-alert@0.0.1-beta.4) (2018-08-01) |
// OAlert: Host Data, ES Module/ES5 Target | ||
export var OAlertComponent = ["o-alert",function(o){return(o.scoped?import("./co2iqjyl.sc.js"):import("./co2iqjyl.js")).then(function(m){return m.OAlert})},1,[["align",1,0,1,2],["line",1,0,1,3],["name",1,0,1,2],["type",1,0,1,2]],1]; | ||
export var OAlertComponent = ["o-alert",function(o){return(o.scoped?import("./ywn9khf4.sc.js"):import("./ywn9khf4.js")).then(function(m){return m.OAlert})},1,[["align",1,0,1,2],["line",1,0,1,3],["name",1,0,1,2],["type",1,0,1,2]],1]; |
/*! | ||
* Built with http://stenciljs.com | ||
* 2018-07-01T11:36:35 | ||
* 2018-07-01T12:43:21 | ||
*/ | ||
!function(e,t,r,n,o,i,s,c,l,a,u,p,d,f){for((u=e.OAlert=e.OAlert||{}).components=l,(d=l.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((p=t.createElement("style")).innerHTML=d.join()+"{visibility:hidden}.hydrated{visibility:inherit}",p.setAttribute("data-styles",""),t.head.insertBefore(p,t.head.firstChild)),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("OAlert"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var n=e["s-apps"],o=0,i=0;i<n.length;i++)if(e[n[i]].componentOnReady){if(e[n[i]].componentOnReady(t,r))return;o++}if(o<n.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),o=o||u.resourcesUrl,p=(d=t.querySelectorAll("script")).length-1;p>=0&&!(f=d[p]).src&&!f.hasAttribute("data-resources-url");p--);d=f.getAttribute("data-resources-url"),!o&&d&&(o=d),!o&&f.src&&(o=(d=f.src.split("/").slice(0,-1)).join("/")+(d.length?"/":"")+"o-alert/"),p=t.createElement("script"),function(e,t,r,n){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,p)?p.src=o+"o-alert.g7twxkgo.js":(p.src=o+"o-alert.5bevj7mh.js",p.setAttribute("type","module"),p.setAttribute("crossorigin",!0)),p.setAttribute("data-resources-url",o),p.setAttribute("data-namespace","o-alert"),t.head.appendChild(p)}(window,document,0,0,0,0,0,0,[["o-alert","co2iqjyl",1,[["align",1,0,1,2],["line",1,0,1,3],["name",1,0,1,2],["type",1,0,1,2]],1]],HTMLElement.prototype); | ||
!function(e,t,r,n,o,s,i,c,l,a,u,p,d,f){for((u=e.OAlert=e.OAlert||{}).components=l,(d=l.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((p=t.createElement("style")).innerHTML=d.join()+"{visibility:hidden}.hydrated{visibility:inherit}",p.setAttribute("data-styles",""),t.head.insertBefore(p,t.head.firstChild)),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("OAlert"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var n=e["s-apps"],o=0,s=0;s<n.length;s++)if(e[n[s]].componentOnReady){if(e[n[s]].componentOnReady(t,r))return;o++}if(o<n.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),o=o||u.resourcesUrl,p=(d=t.querySelectorAll("script")).length-1;p>=0&&!(f=d[p]).src&&!f.hasAttribute("data-resources-url");p--);d=f.getAttribute("data-resources-url"),!o&&d&&(o=d),!o&&f.src&&(o=(d=f.src.split("/").slice(0,-1)).join("/")+(d.length?"/":"")+"o-alert/"),p=t.createElement("script"),function(e,t,r,n){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,p)?p.src=o+"o-alert.g7twxkgo.js":(p.src=o+"o-alert.5bevj7mh.js",p.setAttribute("type","module"),p.setAttribute("crossorigin",!0)),p.setAttribute("data-resources-url",o),p.setAttribute("data-namespace","o-alert"),t.head.appendChild(p)}(window,document,0,0,0,0,0,0,[["o-alert","ywn9khf4",1,[["align",1,0,1,2],["line",1,0,1,3],["name",1,0,1,2],["type",1,0,1,2]],1]],HTMLElement.prototype); |
{ | ||
"name": "@o-rango/o-alert", | ||
"version": "0.0.1-beta.4", | ||
"version": "0.0.1-beta.5", | ||
"description": "@o-rango/o-alert", | ||
@@ -47,3 +47,3 @@ "module": "dist/esm/index.js", | ||
}, | ||
"gitHead": "aa6ef159f23da4942f1f90a5ec19483d0ba561c4" | ||
"gitHead": "fffad8084a6577d6f0b10016316c2c1eb19bc5b5" | ||
} |
# o-alert | ||
Provides feedback messages for user actions with alert messages. | ||
[![Edit o-alert codesandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/n7m2y31n44) | ||
@@ -14,5 +15,3 @@ ## Demo | ||
``` | ||
or | ||
```html | ||
@@ -26,3 +25,3 @@ <script src="./node_modules/@o-rango/o-alert/dist/o-alert.js"></script> | ||
Simple | ||
Default Alert | ||
@@ -43,3 +42,3 @@ ```html | ||
With Line | ||
Alert with Line | ||
@@ -57,5 +56,7 @@ ```html | ||
Properties | ||
```html | ||
```js | ||
//o-content-alert | ||
@@ -67,2 +68,24 @@ @Prop() name?: string; | ||
``` | ||
``` | ||
### Customization | ||
```css | ||
/* Generic Colors variables*/ | ||
--o-alert-default: #FAFBFC; | ||
--o-alert-error : #DE350B; | ||
--o-alert-warning:#FFC400; | ||
--o-alert-info: #0065FF; | ||
--o-alert-success:#36B37E; | ||
/* Size Style variables & Font Style variables */ | ||
--o-alert-height : 3.5em; | ||
--o-alert-font-size :14px; | ||
--o-alert-font-weight : 600; | ||
--o-alert-font-family : 'San Francisco', -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', 'Helvetica Neue', Helvetica, sans-serif; | ||
--o-alert-font-color-light : #FFFFFF; | ||
--o-alert-font-color-dark : #091E42; | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
191785
87
933