@covalent/components 10.0.3 → 10.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@ import { MDCBannerFoundation } from '@material/banner/foundation';
2
2
  import { MDCBannerAdapter } from '@material/banner/adapter';
3
3
  import { CloseReason } from '@material/banner/constants';
4
4
  import { LitElement, TemplateResult } from 'lit';
5
+ import '../icon/icon';
5
6
  export declare class AlertBase extends LitElement {
6
7
  protected mdcFoundation: MDCBannerFoundation;
7
8
  protected readonly mdcFoundationClass: typeof MDCBannerFoundation;
@@ -1 +1 @@
1
- {"version":3,"file":"alert-base.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/alert/alert-base.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAU,WAAW,EAAU,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvD,qBAAa,SAAU,SAAQ,UAAU;IACvC,SAAS,CAAC,aAAa,EAAG,mBAAmB,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,6BAAuB;IAC5D,OAAO,CAAC,eAAe,CAAkB;IAEnB,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IACvB,SAAS,CAAC,UAAU,EAAG,WAAW,CAAC;IAElE,SAAS,CAAC,qBAAqB,EAAG,WAAW,CAAC;IACrC,SAAS,CAAC,YAAY,SAAK;IAapC,IAAI,UAAQ;IAEgB,SAAS,SAAM;IACf,eAAe,SAAM;IAErB,IAAI,SAAM;IACV,aAAa,SAAM;IAElB,MAAM,UAAS;IAC5C;;OAEG;IAEH,KAAK,SAAM;;IAiBX,oBAAoB;IAKpB,SAAS,CAAC,MAAM,EAAE,WAAW,CAA2B;cAErC,MAAM;IA8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.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("./query-assigned-elements-BQszEgac.js"),p=require("./utils-wMBJ9n_n.js"),l=require("./observer-N9cgkDqh.js"),h=require("./foundation-sIsx2I_x.js"),g=require("./class-map-PsUYVqvf.js"),d=require("./property-BRKnMYJe.js"),u=require("./state-Csv4sdJA.js"),b=require("./query-BvlE-gMJ.js");var f=Object.defineProperty,r=(o,e,a,i)=>{for(var t=void 0,c=o.length-1,s;c>=0;c--)(s=o[c])&&(t=s(e,a,t)||t);return t&&f(e,a,t),t};class n extends m.s{constructor(){super(),this.mdcFoundationClass=h.MDCBannerFoundation,this.currentWidth=0,this.open=!0,this.titleText="",this.descriptionText="",this.icon="",this.iconAriaLabel="",this.inline=!1,this.state="",this.reason=h.CloseReason.UNSPECIFIED,this._resizeObserver=new ResizeObserver(e=>{for(const a of e){const i=a.contentRect.width;i!==this.currentWidth&&(this.currentWidth=i,this.mdcFoundation.layout())}})}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver.disconnect()}render(){const e={"mdc-banner":!0,"cv-banner--inline":this.inline,negative:this.state==="negative",positive:this.state==="positive",caution:this.state==="caution",active:this.state==="active"};return m.x` <div class="${g.o(e)}" role="banner">
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("./query-assigned-elements-BQszEgac.js"),p=require("./utils-wMBJ9n_n.js"),l=require("./observer-N9cgkDqh.js"),h=require("./foundation-sIsx2I_x.js"),g=require("./class-map-PsUYVqvf.js"),d=require("./property-BRKnMYJe.js"),u=require("./state-Csv4sdJA.js"),b=require("./query-BvlE-gMJ.js");require("./icon.js");var f=Object.defineProperty,r=(o,e,a,i)=>{for(var t=void 0,c=o.length-1,s;c>=0;c--)(s=o[c])&&(t=s(e,a,t)||t);return t&&f(e,a,t),t};class n extends m.s{constructor(){super(),this.mdcFoundationClass=h.MDCBannerFoundation,this.currentWidth=0,this.open=!0,this.titleText="",this.descriptionText="",this.icon="",this.iconAriaLabel="",this.inline=!1,this.state="",this.reason=h.CloseReason.UNSPECIFIED,this._resizeObserver=new ResizeObserver(e=>{for(const a of e){const i=a.contentRect.width;i!==this.currentWidth&&(this.currentWidth=i,this.mdcFoundation.layout())}})}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver.disconnect()}render(){const e={"mdc-banner":!0,"cv-banner--inline":this.inline,negative:this.state==="negative",positive:this.state==="positive",caution:this.state==="caution",active:this.state==="active"};return m.x` <div class="${g.o(e)}" role="banner">
2
2
  <div
3
3
  class="mdc-banner__content"
4
4
  role="alertdialog"
package/alert.mjs CHANGED
@@ -6,6 +6,7 @@ import { o as w } from "./class-map-BHl5MHd7.mjs";
6
6
  import { n as d } from "./property-DJzm_oB9.mjs";
7
7
  import { t as k } from "./state-B_tK3mBm.mjs";
8
8
  import { i as b } from "./query-DSO61t36.mjs";
9
+ import "./icon.mjs";
9
10
  var C = Object.defineProperty, r = (o, e, a, i) => {
10
11
  for (var t = void 0, c = o.length - 1, s; c >= 0; c--)
11
12
  (s = o[c]) && (t = s(e, a, t) || t);
@@ -159,8 +160,8 @@ m.styles = [
159
160
  m = $([
160
161
  v("cv-alert")
161
162
  ], m);
162
- const W = m;
163
+ const B = m;
163
164
  export {
164
165
  m as CovalentAlert,
165
- W as default
166
+ B as default
166
167
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@covalent/components",
3
- "version": "10.0.3",
3
+ "version": "10.0.4",
4
4
  "description": "a catalog of material components for covalent",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",