@nonoun/native-ui 0.2.6 → 0.2.7

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/dist/native-ui.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { n as e, t } from "./uid.js";
2
2
  import { i as n, n as ee, r as te, t as ne } from "./define.js";
3
- import { A as re, B as ie, C as r, D as i, E as a, F as o, G as s, H as c, I as l, L as u, M as d, N as f, O as p, P as m, R as h, S as g, T as _, U as v, V as y, W as b, _ as x, a as S, b as C, c as w, d as T, f as E, g as D, h as O, i as k, j as A, k as j, l as M, m as N, n as P, o as F, p as I, r as L, s as R, t as z, u as B, v as V, w as H, x as U, y as W, z as G } from "./register-all2.js";
4
- import { a as K, i as q, n as J, r as Y, s as ae, t as X } from "./ui-element.js";
5
- import { $ as oe, A as se, B as ce, C as le, Ct as ue, D as de, E as fe, F as pe, G as me, H as he, I as ge, J as _e, K as ve, L as ye, M as be, N as xe, O as Se, P as Ce, Q as we, R as Te, S as Ee, St as De, T as Oe, Tt as ke, U as Ae, V as je, W as Me, X as Z, Y as Ne, Z as Pe, _ as Fe, _t as Ie, a as Le, at as Re, b as ze, bt as Be, c as Ve, ct as He, d as Ue, dt as We, et as Ge, f as Ke, ft as qe, g as Je, gt as Ye, h as Xe, ht as Ze, i as Qe, it as $e, j as et, k as tt, l as nt, lt as rt, m as it, mt as at, n as ot, nt as st, o as ct, ot as lt, p as ut, pt as dt, q as ft, r as pt, rt as mt, s as ht, st as gt, t as _t, tt as vt, u as yt, ut as bt, v as xt, vt as St, w as Ct, wt, x as Tt, xt as Et, y as Dt, yt as Ot, z as kt } from "./ui-icon-element.js";
6
- import { a as At, c as jt, d as Mt, f as Nt, i as Pt, l as Ft, n as It, o as Lt, r as Rt, s as Q, t as zt, u as Bt } from "./dialog-controller.js";
3
+ import { A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, L as f, M as p, N as m, O as h, P as g, R as _, S as v, T as y, U as b, V as x, W as S, _ as C, a as w, b as T, c as E, d as D, f as O, g as k, h as A, i as j, j as M, k as N, l as P, m as F, n as I, o as L, p as R, r as z, s as B, t as V, u as H, v as U, w as W, x as G, y as K, z as q } from "./register-all2.js";
4
+ import { a as J, i as Y, n as X, r as Z, s as re, t as ie } from "./ui-element.js";
5
+ import { $ as ae, A as oe, B as se, C as ce, Ct as le, D as ue, Dt as de, E as fe, Et as pe, F as me, G as he, H as ge, I as _e, J as ve, K as ye, L as be, M as xe, N as Se, O as Ce, P as we, Q as Te, R as Ee, S as De, St as Oe, T as ke, Tt as Ae, U as je, V as Q, W as Me, X as Ne, Y as Pe, Z as Fe, _ as Ie, _t as Le, a as Re, at as ze, b as Be, bt as Ve, c as He, ct as Ue, d as We, dt as Ge, et as Ke, f as qe, ft as Je, g as Ye, gt as Xe, h as Ze, ht as Qe, i as $e, it as et, j as tt, k as nt, l as rt, lt as it, m as at, mt as ot, n as st, nt as ct, o as lt, ot as ut, p as dt, pt as ft, q as pt, r as mt, rt as ht, s as gt, st as _t, t as vt, tt as yt, u as bt, ut as xt, v as St, vt as Ct, w as wt, wt as Tt, x as Et, xt as Dt, y as Ot, yt as kt, z as At } from "./ui-icon-element.js";
6
+ import { a as jt, c as Mt, d as Nt, f as Pt, i as Ft, l as It, n as Lt, o as Rt, r as zt, s as Bt, t as Vt, u as Ht } from "./dialog-controller.js";
7
7
  var $ = class extends Event {
8
8
  context;
9
9
  callback;
@@ -14,7 +14,7 @@ var $ = class extends Event {
14
14
  }), this.context = e, this.callback = t;
15
15
  }
16
16
  };
17
- function Vt(e) {
17
+ function Ut(e) {
18
18
  return class extends e {
19
19
  #e = /* @__PURE__ */ new Map();
20
20
  provideContext(e, t) {
@@ -33,7 +33,7 @@ function Vt(e) {
33
33
  };
34
34
  };
35
35
  }
36
- function Ht(e) {
36
+ function Wt(e) {
37
37
  return class extends e {
38
38
  #e = /* @__PURE__ */ new Map();
39
39
  requestContext(e, t) {
@@ -46,29 +46,4 @@ function Ht(e) {
46
46
  }
47
47
  };
48
48
  }
49
- /** Keyboard shortcut indicator. Pure display no behavior. */
50
- var Ut = class extends X {}, Wt = class extends X {
51
- #e = null;
52
- get open() {
53
- return this.hasAttribute("open");
54
- }
55
- set open(e) {
56
- this.toggleAttribute("open", e);
57
- }
58
- toggle() {
59
- this.open = !this.open;
60
- }
61
- setup() {
62
- super.setup(), this.querySelector(".layout-resize-handle") && (this.#e = new Q(this, {
63
- handleSelector: ".layout-resize-handle",
64
- axis: "horizontal",
65
- min: 280,
66
- max: 480,
67
- reverse: !0
68
- }));
69
- }
70
- teardown() {
71
- this.#e?.destroy(), this.#e = null, super.teardown();
72
- }
73
- };
74
- export { pe as CalendarStore, o as ClipboardController, i as CollapsibleController, Ae as ColumnResizeController, Ht as ContextConsumer, Vt as ContextProvider, $ as ContextRequestEvent, f as CopyController, Be as DataListController, zt as DialogController, Pt as DismissController, Ft as DismissStack, jt as DragController, A as DropZoneController, l as EditController, p as FocusTrapController, De as FormAssociable, Nt as GestureRouter, m as HoverController, d as IntersectController, It as ListNavigateController, Rt as PopoverController, Lt as PressController, y as RangeSelectController, Q as ResizeController, At as RovingFocusController, h as SearchController, xe as SelectController, G as SelectionController, re as SortController, u as SwipeController, Me as TableStore, a as ToastController, Bt as ToastManager, we as UIAccordion, Pe as UIAccordionItem, fe as UIAvatar, Oe as UIBadge, Ct as UIBreadcrumb, le as UIBreadcrumbItem, Ie as UIButton, Ce as UICalendar, yt as UICard, Ue as UIChatInput, Re as UICheckbox, et as UICombobox, We as UICommand, lt as UICommandEmpty, gt as UICommandGroup, bt as UICommandInput, He as UICommandItem, rt as UICommandList, Ke as UIController, Z as UIDialog, Tt as UIDrawer, X as UIElement, se as UIField, _t as UIIcon, Ye as UIInput, de as UIInputOtp, Ut as UIKbd, Le as UILayoutChat, Wt as UILayoutInspector, ht as UILayoutSidebar, ct as UILayoutSidebarItem, Ze as UIListbox, Je as UINav, it as UINavGroup, ut as UINavGroupHeader, Xe as UINavItem, at as UIOption, qe as UIOptionGroup, dt as UIOptionGroupHeader, Ee as UIPagination, mt as UIRadio, st as UIRadioGroup, Se as UIRange, nt as UISection, Ge as UISegment, vt as UISegmentedControl, be as UISelect, Fe as UISlide, xt as UISlideshow, $e as UISwitch, _e as UITab, ft as UITabPanel, ve as UITabPanels, he as UITable, ce as UITableBody, Te as UITableCell, je as UITableHead, ye as UITableHeader, kt as UITableRow, Ne as UITabs, tt as UITextarea, Ve as UIToolbar, oe as UITooltip, ze as UITree, Dt as UITreeItem, j as ValidateController, ie as VirtualScrollController, ee as batch, k as clippableAdapter, x as collapsibleAdapter, J as collectTraitOptions, te as computed, r as copyableAdapter, ge as createCalendarStore, Et as createDataList, ke as createDisabledEffect, me as createTableStore, c as debugReactive, ne as define, T as dialogableAdapter, O as dismissableAdapter, B as draggableAdapter, U as droppableAdapter, P as editableAdapter, e as effect, St as fetchDataOptions, V as focusTrappableAdapter, ot as getIcon, q as getRegisteredTraitNames, K as getTrait, Mt as getTraitRuntime, H as hoverableAdapter, g as intersectableAdapter, v as isComputed, b as isSignal, E as listNavigableAdapter, pt as onIconRegistered, Ot as parseDataOptions, Y as parseTraitAttribute, I as popoverableAdapter, _ as pressableAdapter, ue as prop, M as rangeSelectableAdapter, z as registerAllTraits, Qe as registerIcon, ae as registerTrait, w as resizableAdapter, D as rovingFocusableAdapter, S as searchableAdapter, F as selectableAdapter, n as signal, C as sortableAdapter, L as swipeableAdapter, wt as syncProp, N as toastableAdapter, t as uid, s as untrack, W as validatableAdapter, R as virtualizableAdapter };
49
+ export { be as CalendarStore, c as ClipboardController, o as CollapsibleController, he as ColumnResizeController, Wt as ContextConsumer, Ut as ContextProvider, $ as ContextRequestEvent, m as CopyController, Oe as DataListController, Vt as DialogController, Ft as DismissController, It as DismissStack, Mt as DragController, M as DropZoneController, d as EditController, h as FocusTrapController, Tt as FormAssociable, Pt as GestureRouter, g as HoverController, p as IntersectController, Lt as ListNavigateController, zt as PopoverController, Rt as PressController, x as RangeSelectController, Bt as ResizeController, jt as RovingFocusController, _ as SearchController, me as SelectController, q as SelectionController, r as SortController, f as SwipeController, ye as TableStore, s as ToastController, Ht as ToastManager, Ke as UIAccordion, ae as UIAccordionItem, Ce as UIAvatar, ue as UIBadge, ke as UIBreadcrumb, wt as UIBreadcrumbItem, kt as UIButton, _e as UICalendar, We as UICard, qe as UIChatInput, _t as UICheckbox, Se as UICombobox, ft as UICommand, Ue as UICommandEmpty, it as UICommandGroup, Je as UICommandInput, xt as UICommandItem, Ge as UICommandList, dt as UIController, Te as UIDialog, De as UIDrawer, ie as UIElement, xe as UIField, vt as UIIcon, Ct as UIInput, nt as UIInputOtp, fe as UIKbd, lt as UILayoutChat, Re as UILayoutInspector, He as UILayoutSidebar, gt as UILayoutSidebarItem, Le as UIListbox, Ie as UINav, Ze as UINavGroup, at as UINavGroupHeader, Ye as UINavItem, Xe as UIOption, ot as UIOptionGroup, Qe as UIOptionGroupHeader, ce as UIPagination, ze as UIRadio, et as UIRadioGroup, oe as UIRange, bt as UISection, ct as UISegment, ht as UISegmentedControl, we as UISelect, St as UISlide, Ot as UISlideshow, ut as UISwitch, Ne as UITab, Pe as UITabPanel, ve as UITabPanels, Me as UITable, ge as UITableBody, se as UITableCell, je as UITableHead, At as UITableHeader, Q as UITableRow, Fe as UITabs, tt as UITextarea, rt as UIToolbar, yt as UITooltip, Et as UITree, Be as UITreeItem, N as ValidateController, i as VirtualScrollController, ee as batch, j as clippableAdapter, C as collapsibleAdapter, X as collectTraitOptions, te as computed, a as copyableAdapter, Ee as createCalendarStore, le as createDataList, de as createDisabledEffect, pt as createTableStore, u as debugReactive, ne as define, D as dialogableAdapter, A as dismissableAdapter, H as draggableAdapter, G as droppableAdapter, I as editableAdapter, e as effect, Ve as fetchDataOptions, U as focusTrappableAdapter, st as getIcon, Y as getRegisteredTraitNames, J as getTrait, Nt as getTraitRuntime, W as hoverableAdapter, v as intersectableAdapter, b as isComputed, S as isSignal, O as listNavigableAdapter, mt as onIconRegistered, Dt as parseDataOptions, Z as parseTraitAttribute, R as popoverableAdapter, y as pressableAdapter, Ae as prop, P as rangeSelectableAdapter, V as registerAllTraits, $e as registerIcon, re as registerTrait, E as resizableAdapter, k as rovingFocusableAdapter, w as searchableAdapter, L as selectableAdapter, n as signal, T as sortableAdapter, z as swipeableAdapter, pe as syncProp, F as toastableAdapter, t as uid, l as untrack, K as validatableAdapter, B as virtualizableAdapter };
@@ -1,3 +1,3 @@
1
1
  import { t as e } from "./define.js";
2
- import { $ as t, A as n, B as r, C as i, D as a, E as o, H as s, J as c, K as l, L as u, M as d, O as f, P as p, Q as m, R as h, S as g, T as _, V as v, X as y, Y as b, Z as x, _ as S, _t as C, a as w, at as T, b as E, c as D, ct as O, d as k, dt as A, et as j, f as M, ft as N, g as P, gt as F, h as I, ht as L, it as R, j as z, k as B, l as V, lt as H, m as U, mt as W, nt as G, o as K, ot as q, p as J, pt as Y, q as X, rt as Z, s as Q, st as $, t as ee, tt as te, u as ne, ut as re, v as ie, w as ae, x as oe, y as se, z as ce } from "./ui-icon-element.js";
3
- e("ui-button", C), e("ui-input", F), e("ui-listbox", L), e("ui-option", W), e("ui-option-group", N), e("ui-option-group-header", Y), e("ui-select", d), e("ui-combobox", z), e("ui-command", A), e("ui-command-input", re), e("ui-command-list", H), e("ui-command-group", $), e("ui-command-item", O), e("ui-command-empty", q), e("ui-checkbox", T), e("ui-switch", R), e("ui-radio", Z), e("ui-radio-group", G), e("ui-segmented-control", te), e("ui-segment", j), e("ui-tooltip", t), e("ui-accordion", m), e("ui-accordion-item", x), e("ui-dialog", y), e("ui-tabs", b), e("ui-tab", c), e("ui-tab-panel", X), e("ui-tab-panels", l), e("ui-table", s), e("ui-table-head", v), e("ui-table-body", r), e("ui-table-row", ce), e("ui-table-header", u), e("ui-table-cell", h), e("ui-calendar", p), e("ui-field", n), e("ui-textarea", B), e("ui-range", f), e("ui-input-otp", a), e("ui-avatar", o), e("ui-badge", _), e("ui-breadcrumb", ae), e("ui-breadcrumb-item", i), e("ui-pagination", g), e("ui-drawer", oe), e("ui-tree", E), e("ui-tree-item", se), e("ui-slideshow", ie), e("ui-slide", S), e("ui-nav", P), e("ui-nav-group", U), e("ui-nav-group-header", J), e("ui-nav-item", I), e("ui-chat-input", k), e("ui-controller", M), e("ui-card", ne), e("ui-section", V), e("ui-toolbar", D), e("ui-layout-sidebar", Q), e("ui-layout-sidebar-item", K), e("ui-layout-chat", w), e("ui-icon", ee);
2
+ import { $ as t, A as n, B as r, C as i, D as a, E as o, H as s, I as c, J as l, M as u, N as d, O as f, P as p, Q as m, S as h, T as g, U as _, V as v, W as y, X as b, Y as x, Z as S, _ as C, _t as w, a as T, at as E, b as D, c as O, ct as k, d as A, dt as j, et as M, f as N, ft as P, g as F, gt as I, h as L, ht as R, it as z, j as B, k as V, l as H, lt as U, m as W, mt as G, nt as K, o as q, ot as J, p as Y, pt as X, rt as Z, s as Q, st as $, t as ee, tt as te, u as ne, ut as re, v as ie, vt as ae, w as oe, x as se, y as ce, yt as le, z as ue } from "./ui-icon-element.js";
3
+ e("ui-button", le), e("ui-input", ae), e("ui-listbox", w), e("ui-option", I), e("ui-option-group", G), e("ui-option-group-header", R), e("ui-select", p), e("ui-combobox", d), e("ui-command", X), e("ui-command-input", P), e("ui-command-list", j), e("ui-command-group", U), e("ui-command-item", re), e("ui-command-empty", k), e("ui-checkbox", $), e("ui-switch", J), e("ui-radio", E), e("ui-radio-group", z), e("ui-segmented-control", Z), e("ui-segment", K), e("ui-tooltip", te), e("ui-accordion", M), e("ui-accordion-item", t), e("ui-dialog", m), e("ui-tabs", S), e("ui-tab", b), e("ui-tab-panel", x), e("ui-tab-panels", l), e("ui-table", y), e("ui-table-head", _), e("ui-table-body", s), e("ui-table-row", v), e("ui-table-header", ue), e("ui-table-cell", r), e("ui-calendar", c), e("ui-field", u), e("ui-textarea", B), e("ui-range", n), e("ui-input-otp", V), e("ui-avatar", f), e("ui-badge", a), e("ui-kbd", o), e("ui-breadcrumb", g), e("ui-breadcrumb-item", oe), e("ui-pagination", i), e("ui-drawer", h), e("ui-tree", se), e("ui-tree-item", D), e("ui-slideshow", ce), e("ui-slide", ie), e("ui-nav", C), e("ui-nav-group", L), e("ui-nav-group-header", W), e("ui-nav-item", F), e("ui-chat-input", N), e("ui-controller", Y), e("ui-card", A), e("ui-section", ne), e("ui-toolbar", H), e("ui-layout-sidebar", O), e("ui-layout-sidebar-item", Q), e("ui-layout-chat", q), e("ui-layout-inspector", T), e("ui-icon", ee);
@@ -3387,7 +3387,7 @@ var ve = class extends y(c) {
3387
3387
  let n = parseInt(this.#t, 10);
3388
3388
  isNaN(n) || (n > t ? this.textContent = `${t}+` : this.textContent = this.#t);
3389
3389
  }
3390
- }, De = class extends c {
3390
+ }, De = class extends c {}, Oe = class extends c {
3391
3391
  #e;
3392
3392
  constructor() {
3393
3393
  super(), this.#e = this.attachInternals(), this.#e.role = "navigation";
@@ -3397,7 +3397,7 @@ var ve = class extends y(c) {
3397
3397
  let e = this.getAttribute("aria-label") ?? "Breadcrumb";
3398
3398
  this.#e.ariaLabel = e, this.hasAttribute("aria-label") || this.setAttribute("aria-label", e);
3399
3399
  }
3400
- }, Oe = class extends c {
3400
+ }, ke = class extends c {
3401
3401
  static observedAttributes = ["href", "current"];
3402
3402
  #e;
3403
3403
  constructor() {
@@ -3423,7 +3423,7 @@ var ve = class extends y(c) {
3423
3423
  #r = (e) => {
3424
3424
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), this.#n());
3425
3425
  };
3426
- }, ke = class extends c {
3426
+ }, Ae = class extends c {
3427
3427
  static observedAttributes = [
3428
3428
  "total",
3429
3429
  "value",
@@ -3546,7 +3546,7 @@ var ve = class extends y(c) {
3546
3546
  detail: { value: t }
3547
3547
  })));
3548
3548
  }
3549
- }, Ae = class extends c {
3549
+ }, je = class extends c {
3550
3550
  static observedAttributes = [
3551
3551
  "side",
3552
3552
  "no-close-on-escape",
@@ -3568,7 +3568,7 @@ var ve = class extends y(c) {
3568
3568
  teardown() {
3569
3569
  this.#e.destroy(), super.teardown();
3570
3570
  }
3571
- }, je = class extends c {
3571
+ }, Me = class extends c {
3572
3572
  static observedAttributes = ["disabled"];
3573
3573
  #e;
3574
3574
  #t = t(!1);
@@ -3596,7 +3596,7 @@ var ve = class extends y(c) {
3596
3596
  teardown() {
3597
3597
  this.#n.destroy(), super.teardown();
3598
3598
  }
3599
- }, Me = class extends c {
3599
+ }, Ne = class extends c {
3600
3600
  static observedAttributes = [
3601
3601
  "expanded",
3602
3602
  "selected",
@@ -3678,7 +3678,7 @@ var ve = class extends y(c) {
3678
3678
  break;
3679
3679
  }
3680
3680
  };
3681
- }, Ne = class extends c {
3681
+ }, Pe = class extends c {
3682
3682
  static observedAttributes = [
3683
3683
  "direction",
3684
3684
  "controls",
@@ -3891,11 +3891,11 @@ var ve = class extends y(c) {
3891
3891
  break;
3892
3892
  }
3893
3893
  };
3894
- }, Pe = class extends c {
3894
+ }, Fe = class extends c {
3895
3895
  setup() {
3896
3896
  super.setup(), this.hasAttribute("tabindex") || this.setAttribute("tabindex", "-1");
3897
3897
  }
3898
- }, Fe = class extends c {
3898
+ }, Ie = class extends c {
3899
3899
  static observedAttributes = ["value", "disabled"];
3900
3900
  #e;
3901
3901
  #t;
@@ -3946,7 +3946,7 @@ var ve = class extends y(c) {
3946
3946
  teardown() {
3947
3947
  this.#n.destroy(), super.teardown();
3948
3948
  }
3949
- }, Ie = class extends c {
3949
+ }, Le = class extends c {
3950
3950
  static observedAttributes = [
3951
3951
  "value",
3952
3952
  "disabled",
@@ -4010,7 +4010,7 @@ var ve = class extends y(c) {
4010
4010
  }
4011
4011
  }));
4012
4012
  };
4013
- }, Le = class extends c {
4013
+ }, Re = class extends c {
4014
4014
  static observedAttributes = ["open"];
4015
4015
  #e = t(!0);
4016
4016
  #t = null;
@@ -4097,7 +4097,7 @@ var ve = class extends y(c) {
4097
4097
  #d = (e) => {
4098
4098
  e.stopPropagation();
4099
4099
  };
4100
- }, Re = class extends c {
4100
+ }, ze = class extends c {
4101
4101
  constructor() {
4102
4102
  super();
4103
4103
  let e = this.attachInternals();
@@ -4113,7 +4113,7 @@ var ve = class extends y(c) {
4113
4113
  e.className = "icon-well", this.insertBefore(e, n), e.appendChild(n);
4114
4114
  }
4115
4115
  }
4116
- }, Y = class extends c {
4116
+ }, Be = class extends c {
4117
4117
  static observedAttributes = [
4118
4118
  "traits",
4119
4119
  "for",
@@ -4218,7 +4218,7 @@ var ve = class extends y(c) {
4218
4218
  }
4219
4219
  }), this.#n.observe(this, { attributes: !0 });
4220
4220
  }
4221
- }, ze = class extends c {
4221
+ }, Ve = class extends c {
4222
4222
  static observedAttributes = [
4223
4223
  "disabled",
4224
4224
  "no-enter-submit",
@@ -4298,7 +4298,7 @@ var ve = class extends y(c) {
4298
4298
  detail: { value: e }
4299
4299
  })) && !this.hasAttribute("no-auto-clear") && (this.value = "", this.#r?.setAttribute("disabled", ""));
4300
4300
  }
4301
- }, Be = class extends c {
4301
+ }, He = class extends c {
4302
4302
  static observedAttributes = ["interactive", "href"];
4303
4303
  setup() {
4304
4304
  super.setup(), this.hasAttribute("interactive") && (this.hasAttribute("tabindex") || this.setAttribute("tabindex", "0"), this.addEventListener("click", this.#e), this.addEventListener("keydown", this.#t));
@@ -4313,7 +4313,7 @@ var ve = class extends y(c) {
4313
4313
  #t = (e) => {
4314
4314
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), this.#e());
4315
4315
  };
4316
- }, Ve = class extends c {
4316
+ }, Ue = class extends c {
4317
4317
  static observedAttributes = [
4318
4318
  "collapsible",
4319
4319
  "collapsed",
@@ -4332,7 +4332,7 @@ var ve = class extends y(c) {
4332
4332
  #e = () => {
4333
4333
  this.hasAttribute("collapsible") && this.toggleAttribute("collapsed");
4334
4334
  };
4335
- }, He = class extends c {
4335
+ }, We = class extends c {
4336
4336
  #e;
4337
4337
  #t;
4338
4338
  constructor() {
@@ -4347,7 +4347,7 @@ var ve = class extends y(c) {
4347
4347
  teardown() {
4348
4348
  this.#t.destroy(), super.teardown();
4349
4349
  }
4350
- }, Ue = class extends c {
4350
+ }, Ge = class extends c {
4351
4351
  static observedAttributes = ["collapsed"];
4352
4352
  #e = null;
4353
4353
  #t = null;
@@ -4415,7 +4415,7 @@ var ve = class extends y(c) {
4415
4415
  for (let e of a) this.#t.observe(e);
4416
4416
  }
4417
4417
  }
4418
- }, We = class extends c {
4418
+ }, Y = class extends c {
4419
4419
  #e = null;
4420
4420
  #t = !1;
4421
4421
  setup() {
@@ -4432,7 +4432,30 @@ var ve = class extends y(c) {
4432
4432
  #r = () => {
4433
4433
  this.#t = !1, this.#e?.syncPopover(!1);
4434
4434
  };
4435
- }, Ge = class extends c {
4435
+ }, Ke = class extends c {
4436
+ #e = null;
4437
+ get open() {
4438
+ return this.hasAttribute("open");
4439
+ }
4440
+ set open(e) {
4441
+ this.toggleAttribute("open", e);
4442
+ }
4443
+ toggle() {
4444
+ this.open = !this.open;
4445
+ }
4446
+ setup() {
4447
+ super.setup(), this.querySelector(".layout-resize-handle") && (this.#e = new m(this, {
4448
+ handleSelector: ".layout-resize-handle",
4449
+ axis: "horizontal",
4450
+ min: 280,
4451
+ max: 480,
4452
+ reverse: !0
4453
+ }));
4454
+ }
4455
+ teardown() {
4456
+ this.#e?.destroy(), this.#e = null, super.teardown();
4457
+ }
4458
+ }, qe = class extends c {
4436
4459
  #e = null;
4437
4460
  get open() {
4438
4461
  return this.hasAttribute("open");
@@ -4456,7 +4479,7 @@ var ve = class extends y(c) {
4456
4479
  this.#e?.destroy(), this.#e = null, super.teardown();
4457
4480
  }
4458
4481
  }, X = /* @__PURE__ */ new Map(), Z = /* @__PURE__ */ new Set();
4459
- function Ke(e, t) {
4482
+ function Je(e, t) {
4460
4483
  X.set(e, t), Z.forEach((t) => t(e));
4461
4484
  }
4462
4485
  function Q(e) {
@@ -4471,7 +4494,7 @@ function $(e) {
4471
4494
  * @attr {string} size - Icon size override
4472
4495
  * @attr {string} aria-label - Accessible label (sets role="img" when present)
4473
4496
  */
4474
- var qe = class extends c {
4497
+ var Ye = class extends c {
4475
4498
  static observedAttributes = [
4476
4499
  "name",
4477
4500
  "size",
@@ -4502,4 +4525,4 @@ var qe = class extends c {
4502
4525
  }));
4503
4526
  }
4504
4527
  };
4505
- export { N as $, xe as A, fe as B, Oe as C, _ as Ct, we as D, Te as E, q as F, H as G, ue as H, _e as I, R as J, B as K, he as L, ye as M, J as N, Ce as O, ve as P, P as Q, me as R, ke as S, y as St, Ee as T, g as Tt, U, de as V, V as W, I as X, L as Y, F as Z, Pe as _, ee as _t, Ge as a, D as at, je as b, x as bt, He as c, le as ct, ze as d, oe as dt, M as et, Y as f, ae as ft, Fe as g, te as gt, Ie as h, ne as ht, Ke as i, O as it, be as j, Se as k, Ve as l, ce as lt, Le as m, re as mt, Q as n, A as nt, We as o, E as ot, Re as p, ie as pt, z as q, $ as r, k as rt, Ue as s, T as st, qe as t, j as tt, Be as u, se as ut, Ne as v, w as vt, De as w, v as wt, Ae as x, S as xt, Me as y, C as yt, pe as z };
4528
+ export { F as $, Ce as A, me as B, Ae as C, S as Ct, Ee as D, g as Dt, De as E, v as Et, J as F, U as G, fe as H, ve as I, B as J, V as K, q as L, xe as M, be as N, Te as O, ye as P, I as Q, _e as R, je as S, x as St, Oe as T, _ as Tt, de as U, pe as V, ue as W, R as X, z as Y, L as Z, Ie as _, ne as _t, qe as a, k as at, Ne as b, w as bt, Ge as c, E as ct, He as d, ce as dt, P as et, Ve as f, se as ft, Le as g, re as gt, Re as h, ie as ht, Je as i, A as it, Se as j, we as k, We as l, T as lt, ze as m, ae as mt, Q as n, M as nt, Ke as o, O as ot, Be as p, oe as pt, H as q, $ as r, j as rt, Y as s, D as st, Ye as t, N as tt, Ue as u, le as ut, Fe as v, te as vt, ke as w, y as wt, Me as x, C as xt, Pe as y, ee as yt, he as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nonoun/native-ui",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Zero-dependency web component library with an OKLCH CSS design system, signal-based reactivity, and composable trait controllers",
5
5
  "license": "MIT",
6
6
  "type": "module",