@golemui/gui-lit 0.13.0 → 0.13.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## 0.13.1 (2026-05-18)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - dx layer custom validators ([#95](https://github.com/golemui/golemui/pull/95))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Raúl Jiménez @Elecash
10
+
11
+ ## 0.13.0 (2026-05-18)
12
+
13
+ ### 🚀 Features
14
+
15
+ - make web components tree-shakable ([#94](https://github.com/golemui/golemui/pull/94))
16
+ - **core,gui-shared:** introduce /internals subpath ([#90](https://github.com/golemui/golemui/pull/90))
17
+
18
+ ### ❤️ Thank You
19
+
20
+ - mudscientist
21
+ - Raúl Jiménez @Elecash
22
+
1
23
  ## 0.12.2 (2026-05-16)
2
24
 
3
25
  This was a version bump only for gui-lit to align it with other projects, there were no code changes.
@@ -1,11 +1,11 @@
1
+ import "@golemui/gui-shared";
1
2
  import { LitElement as y, nothing as u, html as d } from "lit";
2
- import { property as l, state as p, customElement as g } from "lit/decorators.js";
3
- import { live as m } from "lit/directives/live.js";
4
- import { repeat as _ } from "lit-html/directives/repeat.js";
5
- import { classMap as f } from "lit/directives/class-map.js";
3
+ import { repeat as g } from "lit-html/directives/repeat.js";
4
+ import { property as l, state as p, customElement as m } from "lit/decorators.js";
5
+ import { classMap as _ } from "lit/directives/class-map.js";
6
+ import { live as f } from "lit/directives/live.js";
6
7
  import { G as v, b as A, c as S } from "./templates-Dk1jxLwS.js";
7
8
  import { t as b } from "./date-CG1562vW.js";
8
- import "@golemui/gui-shared";
9
9
  var w = Object.defineProperty, I = Object.getOwnPropertyDescriptor, h = (t, e, a, i) => {
10
10
  for (var r = i > 1 ? void 0 : i ? I(e, a) : e, n = t.length - 1, s; n >= 0; n--)
11
11
  (s = t[n]) && (r = (i ? s(e, a, r) : s(r)) || r);
@@ -61,7 +61,7 @@ let o = class extends y {
61
61
 
62
62
  <div class="gui-widget">
63
63
  <div class="gui-date-input ${this.icon ? "gui-calendar--icon" : ""}" role="group">
64
- ${_(
64
+ ${g(
65
65
  e,
66
66
  (i) => i.type,
67
67
  (i, r) => {
@@ -81,7 +81,7 @@ let o = class extends y {
81
81
  }
82
82
  )}
83
83
  </div>
84
- ${this.icon ? d`<span class=${f(a)} data-icon=${this.icon}></span>` : u}
84
+ ${this.icon ? d`<span class=${_(a)} data-icon=${this.icon}></span>` : u}
85
85
  </div>
86
86
 
87
87
  ${this.showErrors && this.errors?.length ? S(this.uid, t) : u}
@@ -102,7 +102,7 @@ let o = class extends y {
102
102
  ?disabled=${this.disabled}
103
103
  ?readonly=${this.readOnly}
104
104
  autocomplete="off"
105
- .value=${m(r)}
105
+ .value=${f(r)}
106
106
  @keydown=${this.handleKeyDown}
107
107
  @keyup=${(n) => this.handleKeyUp(n, t)}
108
108
  @focus=${this.handleFocus}
@@ -261,6 +261,6 @@ h([
261
261
  p()
262
262
  ], o.prototype, "_year", 2);
263
263
  o = h([
264
- g("gui-date")
264
+ m("gui-date")
265
265
  ], o);
266
266
  typeof customElements < "u" && !customElements.get("gui-date") && customElements.define("gui-date", o);
@@ -1,7 +1,7 @@
1
1
  import { InputWidgetAdapter as h, formContext as u, inputContext as c } from "@golemui/lit";
2
2
  import { a as m, b as g, c as C } from "./templates-Dk1jxLwS.js";
3
3
  import "@golemui/gui-shared";
4
- import "./date-input-VJG8lMVN.js";
4
+ import "./date-input-e0k3oBof.js";
5
5
  import "./calendar-P9DzVryu.js";
6
6
  import { consume as D, provide as $ } from "@lit/context";
7
7
  import { LitElement as v, html as l, nothing as f } from "lit";
@@ -1,7 +1,7 @@
1
1
  import { InputWidgetAdapter as l, formContext as n, inputContext as u } from "@golemui/lit";
2
2
  import { a as h } from "./templates-Dk1jxLwS.js";
3
3
  import "@golemui/gui-shared";
4
- import "./date-input-VJG8lMVN.js";
4
+ import "./date-input-e0k3oBof.js";
5
5
  import { consume as c, provide as m } from "@lit/context";
6
6
  import { LitElement as f, html as b } from "lit";
7
7
  import { property as g, customElement as D } from "lit/decorators.js";
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './lib/widget.loaders';
2
- export * from './lib/components/form.element';
1
+ export { FormElement } from './lib/components/form.element';
2
+ export { widgetLoaders } from './lib/widget.loaders';