@covalent/components 11.6.1 → 11.6.3

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.
package/icon/icon.d.ts CHANGED
@@ -5,6 +5,7 @@ declare global {
5
5
  }
6
6
  }
7
7
  export declare class CovalentIcon extends Icon {
8
+ filled: boolean;
8
9
  static styles: import("lit").CSSResult[];
9
10
  }
10
11
  export default CovalentIcon;
package/icon.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./mwc-icon-BUzuM0iB.js"),a=require("./query-assigned-elements-8EurZY45.js");var v=Object.getOwnPropertyDescriptor,u=(n,t,r,s)=>{for(var e=s>1?void 0:s?v(t,r):t,o=n.length-1,c;o>=0;o--)(c=n[o])&&(e=c(e)||e);return e};exports.CovalentIcon=class extends l.Icon{};exports.CovalentIcon.styles=[l.styles];exports.CovalentIcon=u([a.e("cv-icon")],exports.CovalentIcon);const I=exports.CovalentIcon;exports.default=I;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./mwc-icon-BUzuM0iB.js"),a=require("./query-assigned-elements-8EurZY45.js"),u=require("./property-DYTC_2-m.js"),i=':host([filled]){font-variation-settings:"FILL" 1}';var f=Object.defineProperty,p=Object.getOwnPropertyDescriptor,v=(n,t,s,o)=>{for(var e=o>1?void 0:o?p(t,s):t,r=n.length-1,l;r>=0;r--)(l=n[r])&&(e=(o?l(t,s,e):l(e))||e);return o&&e&&f(t,s,e),e};exports.CovalentIcon=class extends c.Icon{constructor(){super(...arguments),this.filled=!1}};exports.CovalentIcon.styles=[c.styles,a.r(i)];v([u.n({type:Boolean,reflect:!0})],exports.CovalentIcon.prototype,"filled",2);exports.CovalentIcon=v([a.e("cv-icon")],exports.CovalentIcon);const I=exports.CovalentIcon;exports.default=I;
package/icon.mjs CHANGED
@@ -1,18 +1,26 @@
1
- import { s as c, I as v } from "./mwc-icon-CU54ISyR.mjs";
2
- import { e as p } from "./query-assigned-elements-D930kELM.mjs";
3
- var f = Object.getOwnPropertyDescriptor, m = (o, r, l, n) => {
4
- for (var e = n > 1 ? void 0 : n ? f(r, l) : r, t = o.length - 1, a; t >= 0; t--)
5
- (a = o[t]) && (e = a(e) || e);
6
- return e;
1
+ import { s as c, I as p } from "./mwc-icon-CU54ISyR.mjs";
2
+ import { r as i, e as v } from "./query-assigned-elements-D930kELM.mjs";
3
+ import { n as m } from "./property-DJzm_oB9.mjs";
4
+ const u = ':host([filled]){font-variation-settings:"FILL" 1}';
5
+ var _ = Object.defineProperty, y = Object.getOwnPropertyDescriptor, a = (f, s, r, o) => {
6
+ for (var e = o > 1 ? void 0 : o ? y(s, r) : s, l = f.length - 1, n; l >= 0; l--)
7
+ (n = f[l]) && (e = (o ? n(s, r, e) : n(e)) || e);
8
+ return o && e && _(s, r, e), e;
7
9
  };
8
- let s = class extends v {
10
+ let t = class extends p {
11
+ constructor() {
12
+ super(...arguments), this.filled = !1;
13
+ }
9
14
  };
10
- s.styles = [c];
11
- s = m([
12
- p("cv-icon")
13
- ], s);
14
- const i = s;
15
+ t.styles = [c, i(u)];
16
+ a([
17
+ m({ type: Boolean, reflect: !0 })
18
+ ], t.prototype, "filled", 2);
19
+ t = a([
20
+ v("cv-icon")
21
+ ], t);
22
+ const d = t;
15
23
  export {
16
- s as CovalentIcon,
17
- i as default
24
+ t as CovalentIcon,
25
+ d as default
18
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@covalent/components",
3
- "version": "11.6.1",
3
+ "version": "11.6.3",
4
4
  "description": "a catalog of material components for covalent",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",
package/radio/radio.d.ts CHANGED
@@ -6,5 +6,6 @@ declare global {
6
6
  }
7
7
  export declare class CovalentRadio extends RadioBase {
8
8
  static styles: import("lit").CSSResult[];
9
+ protected useStateLayerCustomProperties: boolean;
9
10
  }
10
11
  export default CovalentRadio;
package/radio.js CHANGED
@@ -1 +1,3 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./query-assigned-elements-8EurZY45.js"),s=require("./mwc-radio.css-BWiWreTh.js"),v=":host{--mdc-radio-unchecked-color: var(--cv-theme-on-surface-variant);--mdc-theme-secondary: var(--cv-theme-primary);--mdc-radio-disabled-color: var(--cv-theme-on-surface-38);--mdc-radio-unchecked-hover-ripple-color: var(--cv-theme-on-surface-8);--mdc-radio-unchecked-focus-color: var(--cv-theme-on-surface);--mdc-radio-unchecked-focus-ripple-color: var(--cv-theme-on-surface-12);--mdc-radio-checked-hover-ripple-color: var(--cv-theme-primary-8);--mdc-radio-checked-focus-ripple-color: var(--cv-theme-primary-12)}";var l=Object.getOwnPropertyDescriptor,n=(r,a,i,t)=>{for(var e=t>1?void 0:t?l(a,i):a,o=r.length-1,d;o>=0;o--)(d=r[o])&&(e=d(e)||e);return e};exports.CovalentRadio=class extends s.RadioBase{};exports.CovalentRadio.styles=[s.styles,c.i`${c.r(v)}`];exports.CovalentRadio=n([c.e("cv-radio")],exports.CovalentRadio);const u=exports.CovalentRadio;exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-8EurZY45.js"),i=require("./mwc-radio.css-BWiWreTh.js"),d=":host{--mdc-radio-unchecked-color: var(--cv-theme-on-surface-variant);--mdc-theme-secondary: var(--cv-theme-primary);--mdc-radio-disabled-color: var(--cv-theme-on-surface-38);--mdc-ripple-hover-state-layer-color: var(--cv-theme-on-surface);--mdc-ripple-hover-state-layer-opacity: .08;--mdc-ripple-focus-state-layer-opacity: .12;--mdc-ripple-pressed-state-layer-opacity: .12}:host([checked]){--mdc-ripple-hover-state-layer-color: var(--cv-theme-primary);--mdc-ripple-hover-state-layer-opacity: .08;--mdc-ripple-focus-state-layer-opacity: .12;--mdc-ripple-pressed-state-layer-opacity: .12}:host(:focus-within:not([checked])){--mdc-radio-unchecked-color: var(--cv-theme-on-surface)}";var p=Object.getOwnPropertyDescriptor,v=(r,o,l,c)=>{for(var e=c>1?void 0:c?p(o,l):o,t=r.length-1,s;t>=0;t--)(s=r[t])&&(e=s(e)||e);return e};exports.CovalentRadio=class extends i.RadioBase{constructor(){super(...arguments),this.useStateLayerCustomProperties=!0}};exports.CovalentRadio.styles=[i.styles,a.i`
2
+ ${a.r(d)}
3
+ `];exports.CovalentRadio=v([a.e("cv-radio")],exports.CovalentRadio);const n=exports.CovalentRadio;exports.default=n;
package/radio.mjs CHANGED
@@ -1,19 +1,27 @@
1
- import { r as v, i as m, e as i } from "./query-assigned-elements-D930kELM.mjs";
2
- import { s as l, R as h } from "./mwc-radio.css-6ufegTtG.mjs";
3
- const n = ":host{--mdc-radio-unchecked-color: var(--cv-theme-on-surface-variant);--mdc-theme-secondary: var(--cv-theme-primary);--mdc-radio-disabled-color: var(--cv-theme-on-surface-38);--mdc-radio-unchecked-hover-ripple-color: var(--cv-theme-on-surface-8);--mdc-radio-unchecked-focus-color: var(--cv-theme-on-surface);--mdc-radio-unchecked-focus-ripple-color: var(--cv-theme-on-surface-12);--mdc-radio-checked-hover-ripple-color: var(--cv-theme-primary-8);--mdc-radio-checked-focus-ripple-color: var(--cv-theme-primary-12)}";
4
- var p = Object.getOwnPropertyDescriptor, u = (o, a, t, s) => {
5
- for (var e = s > 1 ? void 0 : s ? p(a, t) : a, c = o.length - 1, d; c >= 0; c--)
6
- (d = o[c]) && (e = d(e) || e);
1
+ import { r as l, i, e as d } from "./query-assigned-elements-D930kELM.mjs";
2
+ import { s as m, R as v } from "./mwc-radio.css-6ufegTtG.mjs";
3
+ const y = ":host{--mdc-radio-unchecked-color: var(--cv-theme-on-surface-variant);--mdc-theme-secondary: var(--cv-theme-primary);--mdc-radio-disabled-color: var(--cv-theme-on-surface-38);--mdc-ripple-hover-state-layer-color: var(--cv-theme-on-surface);--mdc-ripple-hover-state-layer-opacity: .08;--mdc-ripple-focus-state-layer-opacity: .12;--mdc-ripple-pressed-state-layer-opacity: .12}:host([checked]){--mdc-ripple-hover-state-layer-color: var(--cv-theme-primary);--mdc-ripple-hover-state-layer-opacity: .08;--mdc-ripple-focus-state-layer-opacity: .12;--mdc-ripple-pressed-state-layer-opacity: .12}:host(:focus-within:not([checked])){--mdc-radio-unchecked-color: var(--cv-theme-on-surface)}";
4
+ var h = Object.getOwnPropertyDescriptor, n = (a, o, p, c) => {
5
+ for (var e = c > 1 ? void 0 : c ? h(o, p) : o, t = a.length - 1, s; t >= 0; t--)
6
+ (s = a[t]) && (e = s(e) || e);
7
7
  return e;
8
8
  };
9
- let r = class extends h {
9
+ let r = class extends v {
10
+ constructor() {
11
+ super(...arguments), this.useStateLayerCustomProperties = !0;
12
+ }
10
13
  };
11
- r.styles = [l, m`${v(n)}`];
12
- r = u([
13
- i("cv-radio")
14
+ r.styles = [
15
+ m,
16
+ i`
17
+ ${l(y)}
18
+ `
19
+ ];
20
+ r = n([
21
+ d("cv-radio")
14
22
  ], r);
15
- const k = r;
23
+ const C = r;
16
24
  export {
17
25
  r as CovalentRadio,
18
- k as default
26
+ C as default
19
27
  };