fiboui 2.8.4 → 2.9.0

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,10 +2,10 @@ var c = Object.defineProperty;
2
2
  var f = (s, e, t) => e in s ? c(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
3
  var i = (s, e, t) => f(s, typeof e != "symbol" ? e + "" : e, t);
4
4
  import m from "react";
5
- import { aX as d, aY as y, aZ as x, a_ as n, a$ as o, b0 as l, b1 as v, b2 as T } from "./client-DOrZXJAN.js";
5
+ import { b2 as d, b3 as y, b4 as b, b5 as n, b6 as o, b7 as a, b8 as x, b9 as v } from "./client-3NdKI2xE.js";
6
6
  function p(s, e) {
7
7
  if (!(typeof e != "string" || !o(e)))
8
- for (const t of T(e))
8
+ for (const t of v(e))
9
9
  s.bindSignal(t);
10
10
  }
11
11
  function h(s, e) {
@@ -23,8 +23,8 @@ function h(s, e) {
23
23
  if (Array.isArray(e))
24
24
  for (const t of e) h(s, t);
25
25
  }
26
- function b(s) {
27
- return typeof s == "string" && o(s) ? l(s) : s;
26
+ function T(s) {
27
+ return typeof s == "string" && o(s) ? a(s) : s;
28
28
  }
29
29
  class g extends y {
30
30
  constructor(t = "") {
@@ -47,7 +47,7 @@ class g extends y {
47
47
  this.text(t);
48
48
  }
49
49
  text(t) {
50
- return this._text = t, typeof t == "function" ? (this._live = null, this.observer()) : (this._live = x(t), p(this, t)), this;
50
+ return this._text = t, typeof t == "function" ? (this._live = null, this.observer()) : (this._live = b(t), p(this, t)), this;
51
51
  }
52
52
  children(t) {
53
53
  return h(this, t), super.children(t);
@@ -112,8 +112,8 @@ class g extends y {
112
112
  return this._htmlTypeExplicit ? n(this._htmlType) : n(((t = this._props) == null ? void 0 : t.type) ?? this._htmlType);
113
113
  }
114
114
  build() {
115
- const t = this.getClassName(), r = typeof this._text == "function" ? this._text() : this._text, a = {
116
- text: typeof r == "string" && o(r) ? l(r) : r,
115
+ const t = this.getClassName(), r = typeof this._text == "function" ? this._text() : this._text, l = {
116
+ text: typeof r == "string" && o(r) ? a(r) : r,
117
117
  variant: this._variant,
118
118
  size: this._size,
119
119
  onPress: this._onPress,
@@ -127,18 +127,18 @@ class g extends y {
127
127
  expand: this._expand,
128
128
  className: t,
129
129
  style: this.getStyle(),
130
- children: this.processChildren().map(b),
130
+ children: this.processChildren().map(T),
131
131
  ...this._props,
132
132
  type: this.resolvedHtmlType(),
133
133
  bare: this.isReset()
134
134
  };
135
135
  if (this._live) {
136
136
  const _ = this._live;
137
- a.liveRef = (u) => {
137
+ l.liveRef = (u) => {
138
138
  _.node = u;
139
139
  };
140
140
  }
141
- return m.createElement(v, a);
141
+ return m.createElement(x, l);
142
142
  }
143
143
  }
144
144
  const I = d(g);