@florid-kit/components 3.1.2 → 3.1.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.
@@ -5,7 +5,7 @@ import "../element-internals-Dw7LndlH.mjs";
5
5
  import { O as c, v as e } from "./side-panel.mjs";
6
6
  import "../icons-registry.mjs";
7
7
  import "../svg-utils-DOL__czZ.mjs";
8
- import "../unsafe-svg-C3uTocNg.mjs";
8
+ import "../unsafe-svg-BipL_msF.mjs";
9
9
  export {
10
10
  c as OccitaneButton,
11
11
  e as variants
@@ -3,7 +3,7 @@ import { n as o } from "../property-S_Y9cb04.mjs";
3
3
  import { f as g } from "../css-C8WrrxT-.mjs";
4
4
  import { m as f } from "../element-internals-Dw7LndlH.mjs";
5
5
  import { i as m } from "../icons-registry.mjs";
6
- import { o as y } from "../unsafe-svg-C3uTocNg.mjs";
6
+ import { o as y } from "../unsafe-svg-BipL_msF.mjs";
7
7
  var x = Object.defineProperty, w = Object.getOwnPropertyDescriptor, e = (r, i, n, a) => {
8
8
  for (var s = a > 1 ? void 0 : a ? w(i, n) : i, h = r.length - 1, d; h >= 0; h--)
9
9
  (d = r[h]) && (s = (a ? d(i, n, s) : d(s)) || s);
@@ -2,7 +2,7 @@ import { i as m, m as y, a as w, x as p, t as x } from "../performance-mixin-D7Y
2
2
  import { n as c } from "../property-S_Y9cb04.mjs";
3
3
  import { r as f } from "../state-DjMxXomO.mjs";
4
4
  import { e as _, o as k, a as $ } from "../icons-registry.mjs";
5
- import { o as I } from "../unsafe-svg-C3uTocNg.mjs";
5
+ import { o as I } from "../unsafe-svg-BipL_msF.mjs";
6
6
  import { o as l } from "../if-defined-j0wE2gL4.mjs";
7
7
  var O = Object.defineProperty, C = Object.getOwnPropertyDescriptor, r = (e, i, o, t) => {
8
8
  for (var n = t > 1 ? void 0 : t ? C(i, o) : i, s = e.length - 1, d; s >= 0; s--)
@@ -2,7 +2,7 @@ import { i as u, m as v, a as b, x as s, t as f } from "../performance-mixin-D7Y
2
2
  import { n as l } from "../property-S_Y9cb04.mjs";
3
3
  import { r as h } from "../state-DjMxXomO.mjs";
4
4
  import { e as g, o as y, a as m } from "../icons-registry.mjs";
5
- import { o as p } from "../unsafe-svg-C3uTocNg.mjs";
5
+ import { o as p } from "../unsafe-svg-BipL_msF.mjs";
6
6
  var w = Object.defineProperty, x = Object.getOwnPropertyDescriptor, n = (e, t, r, o) => {
7
7
  for (var i = o > 1 ? void 0 : o ? x(t, r) : t, c = e.length - 1, d; c >= 0; c--)
8
8
  (d = e[c]) && (i = (o ? d(t, r, i) : d(i)) || i);
@@ -3,7 +3,7 @@ import { n as i } from "../property-S_Y9cb04.mjs";
3
3
  import { f as g } from "../css-C8WrrxT-.mjs";
4
4
  import { m as v } from "../element-internals-Dw7LndlH.mjs";
5
5
  import { i as m } from "../icons-registry.mjs";
6
- import { o as y } from "../unsafe-svg-C3uTocNg.mjs";
6
+ import { o as y } from "../unsafe-svg-BipL_msF.mjs";
7
7
  import "./icon-button.mjs";
8
8
  var x = Object.defineProperty, k = Object.getOwnPropertyDescriptor, r = (t, s, a, c) => {
9
9
  for (var n = c > 1 ? void 0 : c ? k(s, a) : s, d = t.length - 1, h; d >= 0; d--)
@@ -3,17 +3,18 @@ import { n as o } from "../property-S_Y9cb04.mjs";
3
3
  import { e as m } from "../query-NJDNu0-P.mjs";
4
4
  import { l as y } from "../live-C_TUoYRm.mjs";
5
5
  import { o as h } from "../if-defined-j0wE2gL4.mjs";
6
+ import { o as w } from "../unsafe-html-DAJ3o0dq.mjs";
6
7
  import "./icon-button.mjs";
7
- import { m as w, i as d } from "../element-internals-Dw7LndlH.mjs";
8
- var x = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, e = (r, i, c, l) => {
9
- for (var a = l > 1 ? void 0 : l ? $(i, c) : i, p = r.length - 1, u; p >= 0; p--)
8
+ import { m as x, i as d } from "../element-internals-Dw7LndlH.mjs";
9
+ var $ = Object.defineProperty, I = Object.getOwnPropertyDescriptor, e = (r, i, c, l) => {
10
+ for (var a = l > 1 ? void 0 : l ? I(i, c) : i, p = r.length - 1, u; p >= 0; p--)
10
11
  (u = r[p]) && (a = (l ? u(i, c, a) : u(a)) || a);
11
- return l && a && x(i, c, a), a;
12
+ return l && a && $(i, c, a), a;
12
13
  };
13
- const I = f(w(b));
14
- let S = 0, t = class extends I {
14
+ const S = f(x(b));
15
+ let E = 0, t = class extends S {
15
16
  constructor() {
16
- super(), this.label = "", this.value = "", this.placeholder = "", this.helperText = "", this.state = "default", this.disabled = !1, this.leadingIcon = "", this.trailingIcon = "", this.name = "", this.required = !1, this.clearLabel = "Clear", this.inputId = "", this.inputId || (this.inputId = `o-input-${++S}`);
17
+ super(), this.label = "", this.value = "", this.placeholder = "", this.helperText = "", this.state = "default", this.disabled = !1, this.leadingIcon = "", this.trailingIcon = "", this.name = "", this.required = !1, this.clearLabel = "Clear", this.inputId = "", this.inputId || (this.inputId = `o-input-${++E}`);
17
18
  }
18
19
  updated(r) {
19
20
  (r.has("value") || r.has("name")) && this[d].setFormValue(this.value);
@@ -86,7 +87,7 @@ let S = 0, t = class extends I {
86
87
  ${this.helperText ? n`
87
88
  <div class="helper-text" id="${this.inputId}-helper">
88
89
  ${this.renderHelperIcon()}
89
- <p>${this.helperText}</p>
90
+ <p>${w(this.helperText)}</p>
90
91
  </div>
91
92
  ` : s}
92
93
  `;
@@ -1,7 +1,7 @@
1
1
  import { m as u, a as g, x as s, i as f } from "../performance-mixin-D7YmSeqN.mjs";
2
2
  import { n } from "../property-S_Y9cb04.mjs";
3
3
  import { r as h } from "../state-DjMxXomO.mjs";
4
- import { o as m } from "../unsafe-svg-C3uTocNg.mjs";
4
+ import { o as m } from "../unsafe-svg-BipL_msF.mjs";
5
5
  import "./icon-button.mjs";
6
6
  const b = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
7
7
  <svg
@@ -1,6 +1,6 @@
1
1
  import { i as f, m as u, a as g, x as c, t as h } from "../performance-mixin-D7YmSeqN.mjs";
2
2
  import { n as p } from "../property-S_Y9cb04.mjs";
3
- import { o as v } from "../unsafe-svg-C3uTocNg.mjs";
3
+ import { o as v } from "../unsafe-svg-BipL_msF.mjs";
4
4
  import { o as m, r as d } from "../icons-registry.mjs";
5
5
  import "./link.mjs";
6
6
  var y = Object.defineProperty, b = Object.getOwnPropertyDescriptor, i = (t, e, r, s) => {
@@ -4,7 +4,7 @@ import { f as w } from "../css-C8WrrxT-.mjs";
4
4
  import { i as E, m as P } from "../element-internals-Dw7LndlH.mjs";
5
5
  import { e as $, o as _, a as I } from "../icons-registry.mjs";
6
6
  import { g as z } from "../svg-utils-DOL__czZ.mjs";
7
- import { o as F } from "../unsafe-svg-C3uTocNg.mjs";
7
+ import { o as F } from "../unsafe-svg-BipL_msF.mjs";
8
8
  import "./icon-button.mjs";
9
9
  import { i as O, t as L, e as R } from "../directive-oAbCiebi.mjs";
10
10
  import { f as q } from "../directive-helpers-BHuwIghp.mjs";
@@ -1,6 +1,6 @@
1
1
  import { i as f, m as p, a as u, x as m, t as d } from "../performance-mixin-D7YmSeqN.mjs";
2
2
  import { n as a } from "../property-S_Y9cb04.mjs";
3
- import { o as v } from "../unsafe-svg-C3uTocNg.mjs";
3
+ import { o as v } from "../unsafe-svg-BipL_msF.mjs";
4
4
  import "./icon-button.mjs";
5
5
  import { t as g } from "../icons-registry.mjs";
6
6
  var y = Object.defineProperty, x = Object.getOwnPropertyDescriptor, o = (t, i, r, s) => {
@@ -1,6 +1,6 @@
1
1
  import { i as d, m as p, a as b, x as h, t as f } from "../performance-mixin-D7YmSeqN.mjs";
2
2
  import { n as r } from "../property-S_Y9cb04.mjs";
3
- import { o as g } from "../unsafe-svg-C3uTocNg.mjs";
3
+ import { o as g } from "../unsafe-svg-BipL_msF.mjs";
4
4
  import { e as u, o as y, a as v } from "../icons-registry.mjs";
5
5
  import { g as w } from "../svg-utils-DOL__czZ.mjs";
6
6
  import { f as m, s as S } from "../css-C8WrrxT-.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",
@@ -0,0 +1,27 @@
1
+ import { E as r, T as s } from "./performance-mixin-D7YmSeqN.mjs";
2
+ import { i as n, t as o, e as c } from "./directive-oAbCiebi.mjs";
3
+ /**
4
+ * @license
5
+ * Copyright 2017 Google LLC
6
+ * SPDX-License-Identifier: BSD-3-Clause
7
+ */
8
+ class e extends n {
9
+ constructor(t) {
10
+ if (super(t), this.it = r, t.type !== o.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
11
+ }
12
+ render(t) {
13
+ if (t === r || t == null) return this._t = void 0, this.it = t;
14
+ if (t === s) return t;
15
+ if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
16
+ if (t === this.it) return this._t;
17
+ this.it = t;
18
+ const i = [t];
19
+ return i.raw = i, this._t = { _$litType$: this.constructor.resultType, strings: i, values: [] };
20
+ }
21
+ }
22
+ e.directiveName = "unsafeHTML", e.resultType = 1;
23
+ const l = c(e);
24
+ export {
25
+ e,
26
+ l as o
27
+ };
@@ -0,0 +1,14 @@
1
+ import { e as t } from "./directive-oAbCiebi.mjs";
2
+ import { e as o } from "./unsafe-html-DAJ3o0dq.mjs";
3
+ /**
4
+ * @license
5
+ * Copyright 2017 Google LLC
6
+ * SPDX-License-Identifier: BSD-3-Clause
7
+ */
8
+ class e extends o {
9
+ }
10
+ e.directiveName = "unsafeSVG", e.resultType = 2;
11
+ const a = t(e);
12
+ export {
13
+ a as o
14
+ };
@@ -1,34 +0,0 @@
1
- import { i as o, t as c, e as u } from "./directive-oAbCiebi.mjs";
2
- import { E as r, T as a } from "./performance-mixin-D7YmSeqN.mjs";
3
- /**
4
- * @license
5
- * Copyright 2017 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- class i extends o {
9
- constructor(t) {
10
- if (super(t), this.it = r, t.type !== c.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
11
- }
12
- render(t) {
13
- if (t === r || t == null) return this._t = void 0, this.it = t;
14
- if (t === a) return t;
15
- if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
16
- if (t === this.it) return this._t;
17
- this.it = t;
18
- const e = [t];
19
- return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
20
- }
21
- }
22
- i.directiveName = "unsafeHTML", i.resultType = 1;
23
- /**
24
- * @license
25
- * Copyright 2017 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */
28
- class s extends i {
29
- }
30
- s.directiveName = "unsafeSVG", s.resultType = 2;
31
- const d = u(s);
32
- export {
33
- d as o
34
- };