@golemui/gui-react 0.0.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.
Files changed (56) hide show
  1. package/Accordion-F768Nqhg.js +58 -0
  2. package/Alert-B71lVm89.js +16 -0
  3. package/Button-BctTVpNg.js +20 -0
  4. package/CHANGELOG.md +529 -0
  5. package/Calendar-BtYEcLJH.js +47 -0
  6. package/Checkbox-CezJrTAx.js +30 -0
  7. package/Currency-Bj2yx0JY.js +36 -0
  8. package/DateInput-B4S5ssKR.js +48 -0
  9. package/DatePicker-C1Qiridi.js +130 -0
  10. package/DefaultListItemRenderer-lNc9Kk7x.js +18 -0
  11. package/Dropdown-Dd50Psea.js +196 -0
  12. package/Flex-DPIzOItG.js +11 -0
  13. package/List-CLplkkLa.js +103 -0
  14. package/Number-DsIN4V1r.js +34 -0
  15. package/Password-B_QkZ1WU.js +35 -0
  16. package/README.md +7 -0
  17. package/RadioGroup-BPhyHxKf.js +32 -0
  18. package/RangeCalendar-B-FeEowl.js +47 -0
  19. package/Renderer-CRWbM4oE.js +9 -0
  20. package/Repeater-D1koXq-v.js +46 -0
  21. package/Select-DvFmJB1_.js +54 -0
  22. package/Tabs-CsmJz1Vs.js +115 -0
  23. package/TextArea-z99jVJ4-.js +35 -0
  24. package/TextInput-BTkEyMEv.js +31 -0
  25. package/Toggle-CCzdFjkq.js +30 -0
  26. package/index.d.ts +3 -0
  27. package/index.js +2216 -0
  28. package/index.umd.cjs +3 -0
  29. package/lib/components/Accordion.d.ts +2 -0
  30. package/lib/components/Alert.d.ts +2 -0
  31. package/lib/components/Button.d.ts +2 -0
  32. package/lib/components/Calendar.d.ts +2 -0
  33. package/lib/components/Checkbox.d.ts +2 -0
  34. package/lib/components/Currency.d.ts +2 -0
  35. package/lib/components/DateInput.d.ts +2 -0
  36. package/lib/components/DatePicker.d.ts +2 -0
  37. package/lib/components/Dropdown.d.ts +2 -0
  38. package/lib/components/Flex.d.ts +2 -0
  39. package/lib/components/Form.d.ts +18 -0
  40. package/lib/components/List.d.ts +2 -0
  41. package/lib/components/Number.d.ts +2 -0
  42. package/lib/components/Password.d.ts +2 -0
  43. package/lib/components/RadioGroup.d.ts +2 -0
  44. package/lib/components/RangeCalendar.d.ts +2 -0
  45. package/lib/components/Renderer.d.ts +2 -0
  46. package/lib/components/Repeater.d.ts +2 -0
  47. package/lib/components/Select.d.ts +2 -0
  48. package/lib/components/Tabs.d.ts +2 -0
  49. package/lib/components/TextArea.d.ts +2 -0
  50. package/lib/components/TextInput.d.ts +2 -0
  51. package/lib/components/Toggle.d.ts +2 -0
  52. package/lib/components/item-renderers/DefaultListItemRenderer.d.ts +3 -0
  53. package/lib/components/item-renderers/props.d.ts +8 -0
  54. package/lib/components/shared/Errors.d.ts +4 -0
  55. package/lib/widget.loaders.d.ts +3 -0
  56. package/package.json +32 -0
@@ -0,0 +1,58 @@
1
+ import { jsx as o, jsxs as f } from "react/jsx-runtime";
2
+ import { useLayoutWidget as v, WidgetRenderer as y } from "@golemui/react";
3
+ import { useState as O, useEffect as w, useCallback as r } from "react";
4
+ const g = {};
5
+ function S(m) {
6
+ const p = m.widget, { uid: _, children: a, templateData: n, onChange: d } = v(p), [t, s] = O(g);
7
+ w(() => {
8
+ t === g && n.defaultOpen && s(n.defaultOpen || {});
9
+ }, [t, n]);
10
+ const l = r(
11
+ (i) => {
12
+ const e = { ...t };
13
+ n.singleOpen && Object.keys(e).filter((c) => c !== i).forEach((c) => {
14
+ e[c] = c === i ? !e[c] : !1;
15
+ }), e[i] = !e[i], s(e), d(e);
16
+ },
17
+ [t, n.singleOpen, d]
18
+ ), u = r(
19
+ (i) => {
20
+ const e = a.find(
21
+ (b) => b.uid === i
22
+ ), c = t[i];
23
+ return (c || n.renderMode !== "activeOnly") && e ? /* @__PURE__ */ o(
24
+ "section",
25
+ {
26
+ className: "gui-widget",
27
+ role: "region",
28
+ id: `accordion_section_${i}`,
29
+ hidden: !c && n.renderMode !== "activeOnly",
30
+ "aria-labelledby": `accordion_button_${i}`,
31
+ children: /* @__PURE__ */ o(y, { widget: e })
32
+ }
33
+ ) : null;
34
+ },
35
+ [a, t, n.renderMode]
36
+ ), h = r(() => (n.sections || []).map((e, c) => /* @__PURE__ */ f("div", { className: "gui-accordion__section", children: [
37
+ /* @__PURE__ */ f(
38
+ "button",
39
+ {
40
+ type: "button",
41
+ id: `accordion_button_${e.uid}`,
42
+ "aria-controls": `accordion_section_${e.uid}`,
43
+ "aria-expanded": t[e.uid] ? "true" : "false",
44
+ className: t[e.uid] ? "active" : "",
45
+ onClick: () => l(e.uid),
46
+ children: [
47
+ e.label,
48
+ /* @__PURE__ */ o("span", { className: "gui-accordion__icon" })
49
+ ]
50
+ }
51
+ ),
52
+ u(e.uid)
53
+ ] }, `${"accordion_section_" + e.uid}`)), [n.sections, t, u, l]);
54
+ return /* @__PURE__ */ o("div", { className: "gui-accordion", style: { flex: n.size }, children: /* @__PURE__ */ o("div", { className: "gui-widget", id: _, children: h() }) });
55
+ }
56
+ export {
57
+ S as Accordion
58
+ };
@@ -0,0 +1,16 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { useDisplayWdiget as r } from "@golemui/react";
3
+ function s(t) {
4
+ const l = t.widget, { uid: a, templateData: e } = r(l);
5
+ return /* @__PURE__ */ i("div", { className: "gui-alert", style: { flex: e.size }, children: /* @__PURE__ */ i("div", { className: "gui-widget", id: a, children: /* @__PURE__ */ i(
6
+ "div",
7
+ {
8
+ role: "alert",
9
+ className: `gui-alert-notification gui-alert-notification--${e.level || "default"}`,
10
+ children: e.text
11
+ }
12
+ ) }) });
13
+ }
14
+ export {
15
+ s as Alert
16
+ };
@@ -0,0 +1,20 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { useActionWidget as l } from "@golemui/react";
3
+ /* empty css */
4
+ function u(d) {
5
+ const o = d.widget, { uid: e, templateData: t, onClick: n } = l(o), s = t.disabled;
6
+ return /* @__PURE__ */ i("div", { className: "gui-button", style: { flex: t.size }, children: /* @__PURE__ */ i("div", { className: "gui-widget", children: /* @__PURE__ */ i(
7
+ "button",
8
+ {
9
+ type: "button",
10
+ id: e,
11
+ "data-cy": `${e}_button`,
12
+ onClick: n,
13
+ disabled: s,
14
+ children: t.label
15
+ }
16
+ ) }) });
17
+ }
18
+ export {
19
+ u as Button
20
+ };
package/CHANGELOG.md ADDED
@@ -0,0 +1,529 @@
1
+ ## 0.19.0 (2026-03-02)
2
+
3
+ This was a version bump only for gui-react to align it with other projects, there were no code changes.
4
+
5
+ ## 0.18.0 (2026-01-13)
6
+
7
+ ### 🚀 Features
8
+
9
+ - add currency field ([232ab3a](https://github.com/golemui/formforge/commit/232ab3a))
10
+
11
+ ### 🩹 Fixes
12
+
13
+ - **react:** fix Field Function support ([09f86fa](https://github.com/golemui/formforge/commit/09f86fa))
14
+
15
+ ### ❤️ Thank You
16
+
17
+ - Joan Llenas
18
+ - Raul Jimenez @Elecash
19
+
20
+ ## 0.17.0 (2026-01-11)
21
+
22
+ ### 🚀 Features
23
+
24
+ - add web component number ([e8f91f1](https://github.com/golemui/formforge/commit/e8f91f1))
25
+ - add web component checkbox ([9f391ff](https://github.com/golemui/formforge/commit/9f391ff))
26
+
27
+ ### ❤️ Thank You
28
+
29
+ - Raul Jimenez @Elecash
30
+
31
+ ## 0.16.0 (2026-01-05)
32
+
33
+ ### 🚀 Features
34
+
35
+ - add minimumHeight and autoGrow to textarea ([9bc9c3b](https://github.com/golemui/formforge/commit/9bc9c3b))
36
+ - add textarea component ([bd8499a](https://github.com/golemui/formforge/commit/bd8499a))
37
+
38
+ ### 🩹 Fixes
39
+
40
+ - **react:** update validator handling ([cb875bf](https://github.com/golemui/formforge/commit/cb875bf))
41
+
42
+ ### ❤️ Thank You
43
+
44
+ - Joan Llenas
45
+ - Raul Jimenez @Elecash
46
+
47
+ ## 0.15.2 (2026-01-03)
48
+
49
+ ### 🩹 Fixes
50
+
51
+ - **cypress:** rename formError to formHealth ([0aee3df](https://github.com/golemui/formforge/commit/0aee3df))
52
+ - **react:** rename formError to formHealth ([3eba8ac](https://github.com/golemui/formforge/commit/3eba8ac))
53
+
54
+ ### ❤️ Thank You
55
+
56
+ - Joan Llenas
57
+
58
+ ## 0.15.1 (2025-12-27)
59
+
60
+ ### 🩹 Fixes
61
+
62
+ - scroll to default tab on first render of tabs ([91e6de7](https://github.com/golemui/formforge/commit/91e6de7))
63
+
64
+ ### ❤️ Thank You
65
+
66
+ - Raul Jimenez @Elecash
67
+
68
+ ## 0.15.0 (2025-12-27)
69
+
70
+ ### 🚀 Features
71
+
72
+ - **lit:** add toggle component to react ([bfe61bd](https://github.com/golemui/formforge/commit/bfe61bd))
73
+
74
+ ### 🩹 Fixes
75
+
76
+ - remove unnecessary field flags ([da74dc3](https://github.com/golemui/formforge/commit/da74dc3))
77
+ - **react-vanilla:** adapt components to the updated hooks ([463b7ea](https://github.com/golemui/formforge/commit/463b7ea))
78
+ - **react:** set proper index to tabs and sections ([7bac55c](https://github.com/golemui/formforge/commit/7bac55c))
79
+
80
+ ### ❤️ Thank You
81
+
82
+ - Joan Llenas
83
+ - Raul Jimenez @Elecash
84
+
85
+ ## 0.14.11 (2025-12-21)
86
+
87
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
88
+
89
+ ## 0.14.10 (2025-12-20)
90
+
91
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
92
+
93
+ ## 0.14.9 (2025-12-20)
94
+
95
+ ### 🩹 Fixes
96
+
97
+ - **lit:** Fix validateOn property in lit form ([2fd03f5](https://github.com/golemui/formforge/commit/2fd03f5))
98
+
99
+ ### ❤️ Thank You
100
+
101
+ - Raul Jimenez @Elecash
102
+
103
+ ## 0.14.8 (2025-12-20)
104
+
105
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
106
+
107
+ ## 0.14.7 (2025-12-18)
108
+
109
+ ### 🩹 Fixes
110
+
111
+ - **react:** fix the disabled test ([d8503ba](https://github.com/golemui/formforge/commit/d8503ba))
112
+
113
+ ### ❤️ Thank You
114
+
115
+ - Joan Llenas
116
+
117
+ ## 0.14.6 (2025-12-18)
118
+
119
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
120
+
121
+ ## 0.14.5 (2025-12-17)
122
+
123
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
124
+
125
+ ## 0.14.4 (2025-12-17)
126
+
127
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
128
+
129
+ ## 0.14.3 (2025-12-16)
130
+
131
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
132
+
133
+ ## 0.14.2 (2025-12-16)
134
+
135
+ ### 🩹 Fixes
136
+
137
+ - enhance type safety for vanilla loaders ([879042a](https://github.com/golemui/formforge/commit/879042a))
138
+
139
+ ### ❤️ Thank You
140
+
141
+ - Joan Llenas
142
+
143
+ ## 0.14.1 (2025-12-15)
144
+
145
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
146
+
147
+ ## 0.14.0 (2025-12-14)
148
+
149
+ ### 🚀 Features
150
+
151
+ - **angular:** add vanilla form component ([bdcd364](https://github.com/golemui/formforge/commit/bdcd364))
152
+ - **react:** add vanilla form component ([7e97da7](https://github.com/golemui/formforge/commit/7e97da7))
153
+
154
+ ### 🩹 Fixes
155
+
156
+ - **react:** fix react tabs list layout ([dc8f757](https://github.com/golemui/formforge/commit/dc8f757))
157
+ - add validators-vanilla as a dependency for the component library ([f0ef637](https://github.com/golemui/formforge/commit/f0ef637))
158
+ - unify vanilla apis ([efd0a00](https://github.com/golemui/formforge/commit/efd0a00))
159
+
160
+ ### ❤️ Thank You
161
+
162
+ - Raul Jimenez @Elecash
163
+
164
+ ## 0.13.0 (2025-12-11)
165
+
166
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
167
+
168
+ ## 0.12.0 (2025-12-11)
169
+
170
+ ### 🚀 Features
171
+
172
+ - add scroll to tabs component ([e19d353](https://github.com/golemui/formforge/commit/e19d353))
173
+
174
+ ### ❤️ Thank You
175
+
176
+ - Raul Jimenez @Elecash
177
+
178
+ ## 0.11.0 (2025-12-08)
179
+
180
+ ### 🚀 Features
181
+
182
+ - add disabled styles, simplify styling ([7a72c70](https://github.com/golemui/formforge/commit/7a72c70))
183
+
184
+ ### ❤️ Thank You
185
+
186
+ - Raul Jimenez @Elecash
187
+
188
+ ## 0.10.0 (2025-12-08)
189
+
190
+ ### 🚀 Features
191
+
192
+ - **react:** add RadioGroup component and update Select component to use OptionValue ([dd1689c](https://github.com/golemui/formforge/commit/dd1689c))
193
+
194
+ ### 🩹 Fixes
195
+
196
+ - add required attribute instead of aria-required ([4808e9a](https://github.com/golemui/formforge/commit/4808e9a))
197
+ - remove outdated comment ([da63ca1](https://github.com/golemui/formforge/commit/da63ca1))
198
+
199
+ ### ❤️ Thank You
200
+
201
+ - Joan Llenas
202
+ - Raul Jimenez @Elecash
203
+
204
+ ## 0.9.0 (2025-12-08)
205
+
206
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
207
+
208
+ ## 0.8.0 (2025-12-07)
209
+
210
+ ### 🚀 Features
211
+
212
+ - **react-vanilla:** select component implementation ([f655f96](https://github.com/golemui/formforge/commit/f655f96))
213
+
214
+ ### 🩹 Fixes
215
+
216
+ - **react:** Add errors to the select component ([3b169f2](https://github.com/golemui/formforge/commit/3b169f2))
217
+ - **react:** fix errors key ([2b9610f](https://github.com/golemui/formforge/commit/2b9610f))
218
+ - **react:** fix options state handling ([9580335](https://github.com/golemui/formforge/commit/9580335))
219
+ - **react:** make default selection aware of non matching values ([e533d46](https://github.com/golemui/formforge/commit/e533d46))
220
+
221
+ ### ❤️ Thank You
222
+
223
+ - Joan Llenas
224
+
225
+ ## 0.7.1 (2025-12-07)
226
+
227
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
228
+
229
+ ## 0.7.0 (2025-12-04)
230
+
231
+ ### 🚀 Features
232
+
233
+ - add number control input ([773ac61](https://github.com/golemui/formforge/commit/773ac61))
234
+
235
+ ### 🩹 Fixes
236
+
237
+ - remove min and max properties ([7d61d68](https://github.com/golemui/formforge/commit/7d61d68))
238
+
239
+ ### ❤️ Thank You
240
+
241
+ - Raul Jimenez @Elecash
242
+
243
+ ## 0.6.0 (2025-12-03)
244
+
245
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
246
+
247
+ ## 0.5.0 (2025-11-30)
248
+
249
+ ### 🚀 Features
250
+
251
+ - add aria to validation messages ([e9e1c7a](https://github.com/golemui/formforge/commit/e9e1c7a))
252
+ - add keyboard navigation to tabs component ([ec0ea15](https://github.com/golemui/formforge/commit/ec0ea15))
253
+ - **aria:** add aria to validator messages ([91935a3](https://github.com/golemui/formforge/commit/91935a3))
254
+
255
+ ### 🩹 Fixes
256
+
257
+ - add field uid to tabs ids and aria ([ae4ae07](https://github.com/golemui/formforge/commit/ae4ae07))
258
+
259
+ ### ❤️ Thank You
260
+
261
+ - Raul Jimenez @Elecash
262
+
263
+ ## 0.4.0 (2025-11-30)
264
+
265
+ ### 🚀 Features
266
+
267
+ - unify props in checkbox and textinput ([271b32a](https://github.com/golemui/formforge/commit/271b32a))
268
+
269
+ ### ❤️ Thank You
270
+
271
+ - Raul Jimenez @Elecash
272
+
273
+ ## 0.3.26 (2025-11-29)
274
+
275
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
276
+
277
+ ## 0.3.25 (2025-11-27)
278
+
279
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
280
+
281
+ ## 0.3.24 (2025-11-27)
282
+
283
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
284
+
285
+ ## 0.3.23 (2025-11-27)
286
+
287
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
288
+
289
+ ## 0.3.22 (2025-11-27)
290
+
291
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
292
+
293
+ ## 0.3.21 (2025-11-27)
294
+
295
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
296
+
297
+ ## 0.3.20 (2025-11-26)
298
+
299
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
300
+
301
+ ## 0.3.19 (2025-11-26)
302
+
303
+ ### 🩹 Fixes
304
+
305
+ - add all js files in lit-vanilla and react-vanilla ([3f94cf1](https://github.com/golemui/formforge/commit/3f94cf1))
306
+
307
+ ### ❤️ Thank You
308
+
309
+ - Raul Jimenez @Elecash
310
+
311
+ ## 0.3.18 (2025-11-26)
312
+
313
+ ### 🩹 Fixes
314
+
315
+ - build all libraries with vite ([2880d7f](https://github.com/golemui/formforge/commit/2880d7f))
316
+
317
+ ### ❤️ Thank You
318
+
319
+ - Raul Jimenez @Elecash
320
+
321
+ ## 0.3.17 (2025-11-25)
322
+
323
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
324
+
325
+ ## 0.3.16 (2025-11-25)
326
+
327
+ ### 🩹 Fixes
328
+
329
+ - set external libs in react vite config file ([c2e7c0c](https://github.com/golemui/formforge/commit/c2e7c0c))
330
+
331
+ ### ❤️ Thank You
332
+
333
+ - Raul Jimenez @Elecash
334
+
335
+ ## 0.3.15 (2025-11-25)
336
+
337
+ ### 🩹 Fixes
338
+
339
+ - build with nx ([3f423b4](https://github.com/golemui/formforge/commit/3f423b4))
340
+
341
+ ### ❤️ Thank You
342
+
343
+ - Raul Jimenez @Elecash
344
+
345
+ ## 0.3.14 (2025-11-24)
346
+
347
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
348
+
349
+ ## 0.3.13 (2025-11-24)
350
+
351
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
352
+
353
+ ## 0.3.12 (2025-11-24)
354
+
355
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
356
+
357
+ ## 0.3.11 (2025-11-24)
358
+
359
+ ### 🩹 Fixes
360
+
361
+ - build files to output cjs and js ([20d24ec](https://github.com/golemui/formforge/commit/20d24ec))
362
+
363
+ ### ❤️ Thank You
364
+
365
+ - Raul Jimenez @Elecash
366
+
367
+ ## 0.3.10 (2025-11-24)
368
+
369
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
370
+
371
+ ## 0.3.9 (2025-11-24)
372
+
373
+ ### 🩹 Fixes
374
+
375
+ - react-vanilla should not have type module ([c715ff8](https://github.com/golemui/formforge/commit/c715ff8))
376
+
377
+ ### ❤️ Thank You
378
+
379
+ - Raul Jimenez @Elecash
380
+
381
+ ## 0.3.8 (2025-11-24)
382
+
383
+ ### 🩹 Fixes
384
+
385
+ - build libs for es2022 and commonjs ([7a7c037](https://github.com/golemui/formforge/commit/7a7c037))
386
+
387
+ ### ❤️ Thank You
388
+
389
+ - Raul Jimenez @Elecash
390
+
391
+ ## 0.3.7 (2025-11-23)
392
+
393
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
394
+
395
+ ## 0.3.6 (2025-11-23)
396
+
397
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
398
+
399
+ ## 0.3.5 (2025-11-23)
400
+
401
+ ### 🩹 Fixes
402
+
403
+ - **react:** remove the need to pass formContext to components ([ddce6aa](https://github.com/golemui/formforge/commit/ddce6aa))
404
+
405
+ ### ❤️ Thank You
406
+
407
+ - Joan Llenas
408
+
409
+ ## 0.3.4 (2025-11-23)
410
+
411
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
412
+
413
+ ## 0.3.3 (2025-11-23)
414
+
415
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
416
+
417
+ ## 0.3.2 (2025-11-23)
418
+
419
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
420
+
421
+ ## 0.3.1 (2025-11-23)
422
+
423
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
424
+
425
+ ## 0.3.0 (2025-11-23)
426
+
427
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
428
+
429
+ ## 0.2.4 (2025-11-22)
430
+
431
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
432
+
433
+ ## 0.2.3 (2025-11-22)
434
+
435
+ ### 🩹 Fixes
436
+
437
+ - **react:** fix react package jsons build ([b98d9e2](https://github.com/golemui/formforge/commit/b98d9e2))
438
+
439
+ ### ❤️ Thank You
440
+
441
+ - Raul Jimenez @Elecash
442
+
443
+ ## 0.2.2 (2025-11-22)
444
+
445
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
446
+
447
+ ## 0.2.1 (2025-11-16)
448
+
449
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
450
+
451
+ ## 0.2.0 (2025-11-16)
452
+
453
+ ### 🚀 Features
454
+
455
+ - **react:** integrate touched flag ([a283095](https://github.com/golemui/formforge/commit/a283095))
456
+
457
+ ### ❤️ Thank You
458
+
459
+ - Joan Llenas
460
+
461
+ ## 0.1.5 (2025-11-16)
462
+
463
+ ### 🩹 Fixes
464
+
465
+ - lint errors and peer dependencies ([d0f139d](https://github.com/golemui/formforge/commit/d0f139d))
466
+ - set build paths for release artifacts ([9760118](https://github.com/golemui/formforge/commit/9760118))
467
+
468
+ ### ❤️ Thank You
469
+
470
+ - Raul Jimenez @Elecash
471
+
472
+ ## 0.1.4 (2025-11-16)
473
+
474
+ ### 🩹 Fixes
475
+
476
+ - set correct paths for release artifacts ([8941d2f](https://github.com/golemui/formforge/commit/8941d2f))
477
+ - create release tool ([7cd7845](https://github.com/golemui/formforge/commit/7cd7845))
478
+
479
+ ### ❤️ Thank You
480
+
481
+ - Raul Jimenez @Elecash
482
+
483
+ ## 0.1.3 (2025-11-15)
484
+
485
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
486
+
487
+ ## 0.1.2 (2025-11-15)
488
+
489
+ This was a version bump only for react-vanilla to align it with other projects, there were no code changes.
490
+
491
+ ## 0.1.1 (2025-11-15)
492
+
493
+ ### 🩹 Fixes
494
+
495
+ - update dependencies on libraries ([374b3c9](https://github.com/golemui/formforge/commit/374b3c9))
496
+ - **react:** add css classes for validation errors ([87f422f](https://github.com/golemui/formforge/commit/87f422f))
497
+
498
+ ### ❤️ Thank You
499
+
500
+ - Raul Jimenez @Elecash
501
+
502
+ ## 0.1.0 (2025-11-15)
503
+
504
+ ### 🚀 Features
505
+
506
+ - **react:** Add touched support to React controls ([19c084c](https://github.com/golemui/formforge/commit/19c084c))
507
+ - **react:** Integrate the required validator in controls ([3d244d0](https://github.com/golemui/formforge/commit/3d244d0))
508
+ - **checkbox:** Add props to checkbox component ([c3ac241](https://github.com/golemui/formforge/commit/c3ac241))
509
+ - **react:** Add readonly support to react controls ([318dab7](https://github.com/golemui/formforge/commit/318dab7))
510
+ - **css:** Add custom css ([c4222ee](https://github.com/golemui/formforge/commit/c4222ee))
511
+ - **repeater:** Add buttons to react repeater component ([a51d48a](https://github.com/golemui/formforge/commit/a51d48a))
512
+ - **react:** vanilla alert and useField ([3e511ca](https://github.com/golemui/formforge/commit/3e511ca))
513
+ - **react:** vanilla checkbox ([48ed10c](https://github.com/golemui/formforge/commit/48ed10c))
514
+ - **react:** vanilla textinput and react useControl ([75aa2a8](https://github.com/golemui/formforge/commit/75aa2a8))
515
+ - **react:** Button and Stack rendering ([03a356f](https://github.com/golemui/formforge/commit/03a356f))
516
+
517
+ ### 🩹 Fixes
518
+
519
+ - **core:** Rename Button to Interactive ([25fcea3](https://github.com/golemui/formforge/commit/25fcea3))
520
+ - **react-vanilla:** Fix textinput state props ([c8936d4](https://github.com/golemui/formforge/commit/c8936d4))
521
+ - **react-vanilla:** Fix Checkbox state props ([e3991f9](https://github.com/golemui/formforge/commit/e3991f9))
522
+ - **css:** Use BEM ([a3ac802](https://github.com/golemui/formforge/commit/a3ac802))
523
+ - **react:** Add useExternalProps hook and refactor so all components use props ([c0d2a93](https://github.com/golemui/formforge/commit/c0d2a93))
524
+ - **styles:** Remove pico from dependencies and fix react repeater ([0d9b595](https://github.com/golemui/formforge/commit/0d9b595))
525
+
526
+ ### ❤️ Thank You
527
+
528
+ - Joan Llenas
529
+ - Raul Jimenez @Elecash
@@ -0,0 +1,47 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { useInputWidget as O } from "@golemui/react";
3
+ import { useCallback as H } from "react";
4
+ /* empty css */
5
+ function V(l) {
6
+ const c = l.widget, { uid: m, errors: u, value: h, isTouched: b, templateData: e, onBlur: t, onValueChanged: a } = O(c), g = H(
7
+ (o) => {
8
+ const n = o, r = (d) => a(d.detail.value), s = (d) => {
9
+ t();
10
+ };
11
+ return o && (n.addEventListener("blur", s), n.addEventListener("change", r)), () => {
12
+ n.removeEventListener("blur", s), n.removeEventListener("change", r);
13
+ };
14
+ },
15
+ [a, t]
16
+ ), v = e.label, p = e.hint, M = e.prevMonthIcon, f = e.nextMonthIcon, x = e.prevMonthAriaLabel, L = e.nextMonthAriaLabel, y = e.dayFormat, D = e.weekdayFormat, F = e.monthFormat, I = e.minDate, R = e.maxDate, w = e.disabledRanges, A = e.numberOfMonths, E = e.lang, k = e.disabled, q = e.readonly, C = e.validator?.required;
17
+ return /* @__PURE__ */ i("div", { className: "gui-calendar", children: /* @__PURE__ */ i(
18
+ "gui-calendar",
19
+ {
20
+ ref: g,
21
+ uid: m,
22
+ label: v,
23
+ hint: p,
24
+ errors: u,
25
+ touched: b,
26
+ required: C,
27
+ disabled: k,
28
+ readOnly: q,
29
+ value: h,
30
+ prevMonthIcon: M,
31
+ nextMonthIcon: f,
32
+ prevMonthAriaLabel: x,
33
+ nextMonthAriaLabel: L,
34
+ dayFormat: y,
35
+ weekdayFormat: D,
36
+ monthFormat: F,
37
+ minDate: I,
38
+ maxDate: R,
39
+ disabledRanges: w,
40
+ numberOfMonths: A,
41
+ localeId: E
42
+ }
43
+ ) });
44
+ }
45
+ export {
46
+ V as Calendar
47
+ };
@@ -0,0 +1,30 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { useInputWidget as k } from "@golemui/react";
3
+ import { useCallback as v } from "react";
4
+ /* empty css */
5
+ function w(t) {
6
+ const n = t.widget, { uid: a, errors: s, value: c, onValueChanged: o, onBlur: l, templateData: e, isTouched: d } = k(n), r = v(
7
+ (p) => o(p.nativeEvent.detail.value),
8
+ [o]
9
+ ), u = e.label, h = e.hint, b = e.checkboxPosition, m = e.disabled, g = e.readonly, x = e.validator?.required;
10
+ return /* @__PURE__ */ i("div", { className: "gui-checkbox", style: { flex: e.size }, children: /* @__PURE__ */ i(
11
+ "gui-checkbox",
12
+ {
13
+ uid: a,
14
+ label: u,
15
+ errors: s,
16
+ touched: d,
17
+ required: x,
18
+ disabled: m,
19
+ readOnly: g,
20
+ value: c,
21
+ hint: h,
22
+ checkboxPosition: b,
23
+ onChange: r,
24
+ onBlur: l
25
+ }
26
+ ) });
27
+ }
28
+ export {
29
+ w as Checkbox
30
+ };