@g4rcez/components 3.0.2 → 4.0.1

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 (151) hide show
  1. package/dist/CaretDown.es-Cj7klWI3.js +33 -0
  2. package/dist/CaretDown.es-Cj7klWI3.js.map +1 -0
  3. package/dist/CaretRight.es-0-M8D9y8.js +33 -0
  4. package/dist/CaretRight.es-0-M8D9y8.js.map +1 -0
  5. package/dist/CheckCircle.es-C6QWLfk_.js +33 -0
  6. package/dist/CheckCircle.es-C6QWLfk_.js.map +1 -0
  7. package/dist/File.es-CA-vuPED.js +33 -0
  8. package/dist/File.es-CA-vuPED.js.map +1 -0
  9. package/dist/IconBase.es-DJ1oCtpo.js +50 -0
  10. package/dist/IconBase.es-DJ1oCtpo.js.map +1 -0
  11. package/dist/Info.es-CrZKs4q4.js +33 -0
  12. package/dist/Info.es-CrZKs4q4.js.map +1 -0
  13. package/dist/MotionConfigContext-C7MqlSdv.js.map +1 -1
  14. package/dist/Warning.es-D_eI6tLe.js +39 -0
  15. package/dist/Warning.es-D_eI6tLe.js.map +1 -0
  16. package/dist/X.es-BJ1O93El.js +39 -0
  17. package/dist/X.es-BJ1O93El.js.map +1 -0
  18. package/dist/ai/docs/Alert.md +1 -1
  19. package/dist/ai/docs/AnimatedList.md +3 -3
  20. package/dist/ai/docs/Button.md +1 -1
  21. package/dist/ai/docs/CommandPalette.md +7 -7
  22. package/dist/ai/docs/Dropdown.md +4 -4
  23. package/dist/ai/docs/Empty.md +9 -9
  24. package/dist/ai/docs/Expand.md +1 -1
  25. package/dist/ai/docs/FileUpload.md +2 -2
  26. package/dist/ai/docs/Input.md +2 -2
  27. package/dist/ai/docs/InputField.md +2 -2
  28. package/dist/ai/docs/List.md +3 -3
  29. package/dist/ai/docs/Menu.md +3 -3
  30. package/dist/ai/docs/MultiSelect.md +1 -1
  31. package/dist/ai/docs/PageCalendar.md +1 -1
  32. package/dist/ai/docs/Select.md +1 -1
  33. package/dist/ai/docs/Slot.md +1 -1
  34. package/dist/ai/docs/Stats.md +11 -11
  35. package/dist/ai/docs/Table.md +1 -1
  36. package/dist/ai/docs/Tag.md +2 -2
  37. package/dist/ai/docs/Timeline.md +5 -5
  38. package/dist/ai/docs/Toolbar.md +2 -2
  39. package/dist/ai/docs/Tooltip.md +3 -3
  40. package/dist/ai/docs/TransferList.md +2 -2
  41. package/dist/{autocomplete-Boida9R7.js → autocomplete-Cn9Z2hLq.js} +48 -48
  42. package/dist/autocomplete-Cn9Z2hLq.js.map +1 -0
  43. package/dist/{calendar-BswV66Nx.js → calendar-B5lSd0ID.js} +599 -571
  44. package/dist/calendar-B5lSd0ID.js.map +1 -0
  45. package/dist/components/display/alert.js +18 -18
  46. package/dist/components/display/alert.js.map +1 -1
  47. package/dist/components/display/calendar.js +4 -4
  48. package/dist/components/display/card.d.ts +2 -2
  49. package/dist/components/display/card.d.ts.map +1 -1
  50. package/dist/components/display/card.js +6 -6
  51. package/dist/components/display/card.js.map +1 -1
  52. package/dist/components/display/empty.d.ts +2 -2
  53. package/dist/components/display/empty.d.ts.map +1 -1
  54. package/dist/components/display/list.js +15 -15
  55. package/dist/components/display/list.js.map +1 -1
  56. package/dist/components/display/notifications.js +5 -5
  57. package/dist/components/display/tabs.js +1 -1
  58. package/dist/components/floating/command-palette.d.ts +3 -3
  59. package/dist/components/floating/command-palette.d.ts.map +1 -1
  60. package/dist/components/floating/dropdown.js +1 -1
  61. package/dist/components/floating/expand.js +1 -1
  62. package/dist/components/floating/menu.d.ts +2 -2
  63. package/dist/components/floating/menu.d.ts.map +1 -1
  64. package/dist/components/floating/menu.js +31 -31
  65. package/dist/components/floating/menu.js.map +1 -1
  66. package/dist/components/floating/modal.js +35 -35
  67. package/dist/components/floating/modal.js.map +1 -1
  68. package/dist/components/floating/tooltip.js +1 -1
  69. package/dist/components/form/autocomplete.js +5 -5
  70. package/dist/components/form/date-picker.js +3 -3
  71. package/dist/components/form/file-upload.d.ts.map +1 -1
  72. package/dist/components/form/file-upload.js +3 -3
  73. package/dist/components/form/input-field.d.ts.map +1 -1
  74. package/dist/components/form/input.js +1 -1
  75. package/dist/components/form/select.js +29 -29
  76. package/dist/components/form/select.js.map +1 -1
  77. package/dist/components/form/task-list.js.map +1 -1
  78. package/dist/components/form/transfer-list.js +15 -15
  79. package/dist/components/form/transfer-list.js.map +1 -1
  80. package/dist/components/page-calendar/calendar-header.d.ts.map +1 -1
  81. package/dist/components/page-calendar/day-view.d.ts.map +1 -1
  82. package/dist/components/page-calendar/month-view.d.ts.map +1 -1
  83. package/dist/components/page-calendar/page-calendar.utils.d.ts +6 -0
  84. package/dist/components/page-calendar/page-calendar.utils.d.ts.map +1 -1
  85. package/dist/components/page-calendar/week-view.d.ts.map +1 -1
  86. package/dist/components/table/table.js +3 -3
  87. package/dist/config/context.d.ts +2 -0
  88. package/dist/config/context.d.ts.map +1 -1
  89. package/dist/context-BFXNJVn2.js.map +1 -1
  90. package/dist/{date-picker-BxPTdZPy.js → date-picker-DwNo22lx.js} +316 -288
  91. package/dist/date-picker-DwNo22lx.js.map +1 -0
  92. package/dist/{file-upload-BB6BdGcE.js → file-upload-Brf2NkLr.js} +1103 -976
  93. package/dist/file-upload-Brf2NkLr.js.map +1 -0
  94. package/dist/{floating-ui.react-DycKASR0.js → floating-ui.react-QNHG9W4N.js} +205 -205
  95. package/dist/{floating-ui.react-DycKASR0.js.map → floating-ui.react-QNHG9W4N.js.map} +1 -1
  96. package/dist/hooks/use-components-provider.d.ts.map +1 -1
  97. package/dist/index-0YMC-_Lt.js.map +1 -1
  98. package/dist/index-BelDtX5M.js +1821 -0
  99. package/dist/index-BelDtX5M.js.map +1 -0
  100. package/dist/{index-BtlhELJ3.js → index-C-PuFUZi.js} +136 -136
  101. package/dist/index-C-PuFUZi.js.map +1 -0
  102. package/dist/index-Z-fZHxfJ.js +335 -0
  103. package/dist/index-Z-fZHxfJ.js.map +1 -0
  104. package/dist/index-t1qLJTt5.js.map +1 -1
  105. package/dist/index.css +1 -1
  106. package/dist/index.js +2583 -2463
  107. package/dist/index.js.map +1 -1
  108. package/dist/{input-CoJoHIhd.js → input-CrGrSnUt.js} +2 -2
  109. package/dist/{input-CoJoHIhd.js.map → input-CrGrSnUt.js.map} +1 -1
  110. package/dist/input-field-5vYcz5tT.js +166 -0
  111. package/dist/input-field-5vYcz5tT.js.map +1 -0
  112. package/dist/notifications-cUdVPs-B.js +2786 -0
  113. package/dist/notifications-cUdVPs-B.js.map +1 -0
  114. package/dist/proxy-BZcQiBrp.js.map +1 -1
  115. package/dist/{slot-CQW8ZzBb.js → slot-CRyweuj0.js} +5 -5
  116. package/dist/{slot-CQW8ZzBb.js.map → slot-CRyweuj0.js.map} +1 -1
  117. package/dist/{tabs-ccIA7vMo.js → tabs-S00a8qq8.js} +5 -5
  118. package/dist/{tabs-ccIA7vMo.js.map → tabs-S00a8qq8.js.map} +1 -1
  119. package/dist/use-motion-value-eGwNuWuw.js.map +1 -1
  120. package/package.json +2 -2
  121. package/dist/autocomplete-Boida9R7.js.map +0 -1
  122. package/dist/calendar-BswV66Nx.js.map +0 -1
  123. package/dist/chevron-down-BBFYYzZq.js +0 -6
  124. package/dist/chevron-down-BBFYYzZq.js.map +0 -1
  125. package/dist/chevron-right-DvXGOiS_.js +0 -6
  126. package/dist/chevron-right-DvXGOiS_.js.map +0 -1
  127. package/dist/circle-check-big-3M5lhTxx.js +0 -9
  128. package/dist/circle-check-big-3M5lhTxx.js.map +0 -1
  129. package/dist/createLucideIcon-CP-mMPfa.js +0 -76
  130. package/dist/createLucideIcon-CP-mMPfa.js.map +0 -1
  131. package/dist/date-picker-BxPTdZPy.js.map +0 -1
  132. package/dist/file-CBCP85VI.js +0 -15
  133. package/dist/file-CBCP85VI.js.map +0 -1
  134. package/dist/file-upload-BB6BdGcE.js.map +0 -1
  135. package/dist/index-BJ1ayTam.js +0 -126
  136. package/dist/index-BJ1ayTam.js.map +0 -1
  137. package/dist/index-BtlhELJ3.js.map +0 -1
  138. package/dist/index-ChfR6F8d.js +0 -1590
  139. package/dist/index-ChfR6F8d.js.map +0 -1
  140. package/dist/index-DE4shK8D.js +0 -215
  141. package/dist/index-DE4shK8D.js.map +0 -1
  142. package/dist/info-N5jWZg2A.js +0 -10
  143. package/dist/info-N5jWZg2A.js.map +0 -1
  144. package/dist/input-field-DTeIrwpK.js +0 -146
  145. package/dist/input-field-DTeIrwpK.js.map +0 -1
  146. package/dist/notifications-NPuFDsBp.js +0 -2550
  147. package/dist/notifications-NPuFDsBp.js.map +0 -1
  148. package/dist/triangle-alert-CHMhQ6yd.js +0 -16
  149. package/dist/triangle-alert-CHMhQ6yd.js.map +0 -1
  150. package/dist/x-B9bYxG31.js +0 -9
  151. package/dist/x-B9bYxG31.js.map +0 -1
@@ -1,215 +0,0 @@
1
- import D from "react";
2
- var V = { exports: {} }, w = {}, A = { exports: {} }, b = {};
3
- var I;
4
- function W() {
5
- if (I) return b;
6
- I = 1;
7
- var c = D;
8
- function d(n, u) {
9
- return n === u && (n !== 0 || 1 / n === 1 / u) || n !== n && u !== u;
10
- }
11
- var v = typeof Object.is == "function" ? Object.is : d, L = c.useState, l = c.useEffect, m = c.useLayoutEffect, h = c.useDebugValue;
12
- function y(n, u) {
13
- var e = u(), r = L({ inst: { value: e, getSnapshot: u } }), t = r[0].inst, a = r[1];
14
- return m(
15
- function() {
16
- t.value = e, t.getSnapshot = u, O(t) && a({ inst: t });
17
- },
18
- [n, e, u]
19
- ), l(
20
- function() {
21
- return O(t) && a({ inst: t }), n(function() {
22
- O(t) && a({ inst: t });
23
- });
24
- },
25
- [n]
26
- ), h(e), e;
27
- }
28
- function O(n) {
29
- var u = n.getSnapshot;
30
- n = n.value;
31
- try {
32
- var e = u();
33
- return !v(n, e);
34
- } catch {
35
- return !0;
36
- }
37
- }
38
- function i(n, u) {
39
- return u();
40
- }
41
- var o = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : y;
42
- return b.useSyncExternalStore = c.useSyncExternalStore !== void 0 ? c.useSyncExternalStore : o, b;
43
- }
44
- var G = {};
45
- var M;
46
- function N() {
47
- return M || (M = 1, process.env.NODE_ENV !== "production" && (function() {
48
- function c(e, r) {
49
- return e === r && (e !== 0 || 1 / e === 1 / r) || e !== e && r !== r;
50
- }
51
- function d(e, r) {
52
- o || l.startTransition === void 0 || (o = !0, console.error(
53
- "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
54
- ));
55
- var t = r();
56
- if (!n) {
57
- var a = r();
58
- m(t, a) || (console.error(
59
- "The result of getSnapshot should be cached to avoid an infinite loop"
60
- ), n = !0);
61
- }
62
- a = h({
63
- inst: { value: t, getSnapshot: r }
64
- });
65
- var s = a[0].inst, S = a[1];
66
- return O(
67
- function() {
68
- s.value = t, s.getSnapshot = r, v(s) && S({ inst: s });
69
- },
70
- [e, t, r]
71
- ), y(
72
- function() {
73
- return v(s) && S({ inst: s }), e(function() {
74
- v(s) && S({ inst: s });
75
- });
76
- },
77
- [e]
78
- ), i(t), t;
79
- }
80
- function v(e) {
81
- var r = e.getSnapshot;
82
- e = e.value;
83
- try {
84
- var t = r();
85
- return !m(e, t);
86
- } catch {
87
- return !0;
88
- }
89
- }
90
- function L(e, r) {
91
- return r();
92
- }
93
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
94
- var l = D, m = typeof Object.is == "function" ? Object.is : c, h = l.useState, y = l.useEffect, O = l.useLayoutEffect, i = l.useDebugValue, o = !1, n = !1, u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? L : d;
95
- G.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
96
- })()), G;
97
- }
98
- var j;
99
- function C() {
100
- return j || (j = 1, process.env.NODE_ENV === "production" ? A.exports = W() : A.exports = N()), A.exports;
101
- }
102
- var B;
103
- function U() {
104
- if (B) return w;
105
- B = 1;
106
- var c = D, d = C();
107
- function v(i, o) {
108
- return i === o && (i !== 0 || 1 / i === 1 / o) || i !== i && o !== o;
109
- }
110
- var L = typeof Object.is == "function" ? Object.is : v, l = d.useSyncExternalStore, m = c.useRef, h = c.useEffect, y = c.useMemo, O = c.useDebugValue;
111
- return w.useSyncExternalStoreWithSelector = function(i, o, n, u, e) {
112
- var r = m(null);
113
- if (r.current === null) {
114
- var t = { hasValue: !1, value: null };
115
- r.current = t;
116
- } else t = r.current;
117
- r = y(
118
- function() {
119
- function s(f) {
120
- if (!S) {
121
- if (S = !0, E = f, f = u(f), e !== void 0 && t.hasValue) {
122
- var _ = t.value;
123
- if (e(_, f))
124
- return p = _;
125
- }
126
- return p = f;
127
- }
128
- if (_ = p, L(E, f)) return _;
129
- var T = u(f);
130
- return e !== void 0 && e(_, T) ? (E = f, _) : (E = f, p = T);
131
- }
132
- var S = !1, E, p, R = n === void 0 ? null : n;
133
- return [
134
- function() {
135
- return s(o());
136
- },
137
- R === null ? void 0 : function() {
138
- return s(R());
139
- }
140
- ];
141
- },
142
- [o, n, u, e]
143
- );
144
- var a = l(i, r[0], r[1]);
145
- return h(
146
- function() {
147
- t.hasValue = !0, t.value = a;
148
- },
149
- [a]
150
- ), O(a), a;
151
- }, w;
152
- }
153
- var g = {};
154
- var H;
155
- function x() {
156
- return H || (H = 1, process.env.NODE_ENV !== "production" && (function() {
157
- function c(i, o) {
158
- return i === o && (i !== 0 || 1 / i === 1 / o) || i !== i && o !== o;
159
- }
160
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
161
- var d = D, v = C(), L = typeof Object.is == "function" ? Object.is : c, l = v.useSyncExternalStore, m = d.useRef, h = d.useEffect, y = d.useMemo, O = d.useDebugValue;
162
- g.useSyncExternalStoreWithSelector = function(i, o, n, u, e) {
163
- var r = m(null);
164
- if (r.current === null) {
165
- var t = { hasValue: !1, value: null };
166
- r.current = t;
167
- } else t = r.current;
168
- r = y(
169
- function() {
170
- function s(f) {
171
- if (!S) {
172
- if (S = !0, E = f, f = u(f), e !== void 0 && t.hasValue) {
173
- var _ = t.value;
174
- if (e(_, f))
175
- return p = _;
176
- }
177
- return p = f;
178
- }
179
- if (_ = p, L(E, f))
180
- return _;
181
- var T = u(f);
182
- return e !== void 0 && e(_, T) ? (E = f, _) : (E = f, p = T);
183
- }
184
- var S = !1, E, p, R = n === void 0 ? null : n;
185
- return [
186
- function() {
187
- return s(o());
188
- },
189
- R === null ? void 0 : function() {
190
- return s(R());
191
- }
192
- ];
193
- },
194
- [o, n, u, e]
195
- );
196
- var a = l(i, r[0], r[1]);
197
- return h(
198
- function() {
199
- t.hasValue = !0, t.value = a;
200
- },
201
- [a]
202
- ), O(a), a;
203
- }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
204
- })()), g;
205
- }
206
- var K;
207
- function z() {
208
- return K || (K = 1, process.env.NODE_ENV === "production" ? V.exports = U() : V.exports = x()), V.exports;
209
- }
210
- var $ = z(), k = C();
211
- export {
212
- k as s,
213
- $ as w
214
- };
215
- //# sourceMappingURL=index-DE4shK8D.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-DE4shK8D.js","sources":["../../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","../../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js","../../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/shim/index.js","../../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js","../../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js","../../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n","/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n","/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n};\n","/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\n exports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n ) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot))\n return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"names":["React","require$$0","is","x","y","objectIs","useState","useEffect","useLayoutEffect","useDebugValue","useSyncExternalStore$2","subscribe","getSnapshot","value","_useState","inst","forceUpdate","checkIfSnapshotChanged","latestGetSnapshot","nextValue","useSyncExternalStore$1","shim","useSyncExternalStoreShim_production","didWarnOld18Alpha","didWarnUncachedGetSnapshot","cachedValue","useSyncExternalStoreShim_development","shimModule","require$$1","useSyncExternalStore","useRef","useMemo","withSelector_production","getServerSnapshot","selector","isEqual","instRef","memoizedSelector","nextSnapshot","hasMemo","memoizedSnapshot","currentSelection","memoizedSelection","nextSelection","maybeGetServerSnapshot","withSelector_development","withSelectorModule"],"mappings":";;;;;;AAWA,MAAIA,IAAQC;AACZ,WAASC,EAAGC,GAAGC,GAAG;AAChB,WAAQD,MAAMC,MAAYD,MAAN,KAAW,IAAIA,MAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;AAAA,EACxE;AACA,MAAIC,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAKH,GAC3DI,IAAWN,EAAM,UACjBO,IAAYP,EAAM,WAClBQ,IAAkBR,EAAM,iBACxB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AAChC,GAAaqB,GAAmBC,GAAUC,CAAO;AAAA;AAEpD,UAAItB,IAAQgB,EAAqBlB,GAAWyB,EAAQ,CAAC,GAAGA,EAAQ,CAAC,CAAC;AAClE,aAAA7B;AAAA,QACE,WAAY;AACV,UAAAQ,EAAK,WAAW,IAChBA,EAAK,QAAQF;AAAA;QAEf,CAACA,CAAK;AAAA,SAERJ,EAAcI,CAAK,GACZA;AAAA,OAEO,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,8BADxC,cAEA,+BAA+B,2BAA2B,OAAO;AAAA,EACvE,GAAG;;;;sBC9FC,QAAQ,IAAI,aAAa,eAC3BiC,EAAA,UAAiB7C,EAAA,IAEjB6C,EAAA,UAAiBlB,EAAA;;;","x_google_ignoreList":[0,1,2,3,4,5]}
@@ -1,10 +0,0 @@
1
- import { c } from "./createLucideIcon-CP-mMPfa.js";
2
- const o = [
3
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
4
- ["path", { d: "M12 16v-4", key: "1dtifu" }],
5
- ["path", { d: "M12 8h.01", key: "e9boi3" }]
6
- ], t = c("info", o);
7
- export {
8
- t as I
9
- };
10
- //# sourceMappingURL=info-N5jWZg2A.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"info-N5jWZg2A.js","sources":["../../../node_modules/.pnpm/lucide-react@0.575.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/info.js"],"sourcesContent":["/**\n * @license lucide-react v0.575.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }],\n [\"path\", { d: \"M12 16v-4\", key: \"1dtifu\" }],\n [\"path\", { d: \"M12 8h.01\", key: \"e9boi3\" }]\n];\nconst Info = createLucideIcon(\"info\", __iconNode);\n\nexport { __iconNode, Info as default };\n//# sourceMappingURL=info.js.map\n"],"names":["__iconNode","Info","createLucideIcon"],"mappings":";AASA,MAAMA,IAAa;AAAA,EACjB,CAAC,UAAU,EAAE,IAAI,MAAM,IAAI,MAAM,GAAG,MAAM,KAAK,UAAU;AAAA,EACzD,CAAC,QAAQ,EAAE,GAAG,aAAa,KAAK,SAAQ,CAAE;AAAA,EAC1C,CAAC,QAAQ,EAAE,GAAG,aAAa,KAAK,SAAQ,CAAE;AAC5C,GACMC,IAAOC,EAAiB,QAAQF,CAAU;","x_google_ignoreList":[0]}
@@ -1,146 +0,0 @@
1
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { useContext as S, forwardRef as $, Fragment as x } from "react";
3
- import { u as D } from "./use-translations-BwLKTrZv.js";
4
- import { C as _, a as B } from "./context-BFXNJVn2.js";
5
- import { c as h } from "./dom-Dl8XH0CK.js";
6
- import { Tooltip as O } from "./components/floating/tooltip.js";
7
- import { I as R } from "./info-N5jWZg2A.js";
8
- import { C as X } from "./circle-check-big-3M5lhTxx.js";
9
- import { c as A } from "./createLucideIcon-CP-mMPfa.js";
10
- const E = [
11
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
12
- ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
13
- ["path", { d: "m9 9 6 6", key: "z0biqf" }]
14
- ], G = A("circle-x", E), H = () => {
15
- const a = S(_);
16
- return a ? a.tweaks : B;
17
- }, J = ({ reportStatus: a, id: s, hideLeft: o = !1, className: n, info: r, children: i, title: l }) => /* @__PURE__ */ t("span", { className: h("w-full justify-between", o && i === null ? "hidden" : "flex", n), children: [
18
- o ? null : /* @__PURE__ */ t("span", { className: "flex items-center gap-1 transition-colors group-focus-within:text-primary group-hover:text-primary group-disabled:text-disabled group-error:text-danger", children: [
19
- l,
20
- a || r ? /* @__PURE__ */ t("span", { className: "flex items-center justify-center gap-1", children: [
21
- r ? /* @__PURE__ */ e(
22
- O,
23
- {
24
- as: "button",
25
- type: "button",
26
- "aria-label": typeof r == "string" ? r : void 0,
27
- "aria-describedby": typeof r == "string" ? void 0 : s ? `tooltip-info-content-${s}` : void 0,
28
- title: /* @__PURE__ */ e("span", { className: "cursor-help", children: /* @__PURE__ */ e(R, { className: "aspect-square size-3", "aria-hidden": "true", size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }) }),
29
- children: /* @__PURE__ */ e(
30
- "div",
31
- {
32
- id: s ? `tooltip-info-content-${s}` : void 0,
33
- className: "w-full max-w-48 whitespace-break-spaces break-words",
34
- children: r
35
- }
36
- )
37
- }
38
- ) : null,
39
- a ? /* @__PURE__ */ t("span", { className: "flex h-3 min-w-6 items-center", children: [
40
- /* @__PURE__ */ e(
41
- X,
42
- {
43
- className: "hidden aspect-square size-3 opacity-0 transition-opacity group-assert:block group-assert:text-success group-assert:opacity-100",
44
- "aria-hidden": "true",
45
- size: 16,
46
- strokeWidth: 1,
47
- absoluteStrokeWidth: !0
48
- }
49
- ),
50
- /* @__PURE__ */ e(
51
- G,
52
- {
53
- className: "hidden aspect-square size-3 opacity-0 transition-opacity group-error:block group-error:opacity-100",
54
- "aria-hidden": "true",
55
- size: 16,
56
- strokeWidth: 1,
57
- absoluteStrokeWidth: !0
58
- }
59
- )
60
- ] }) : null
61
- ] }) : null
62
- ] }),
63
- i
64
- ] }), ee = $(
65
- ({
66
- optionalText: a,
67
- left: s,
68
- rightLabel: o,
69
- container: n,
70
- feedback: r,
71
- interactive: i,
72
- right: l,
73
- info: f,
74
- children: g,
75
- error: c,
76
- form: d,
77
- id: b,
78
- labelClassName: w = "",
79
- name: y,
80
- title: k,
81
- componentName: N,
82
- placeholder: v,
83
- hideLeft: z = !1,
84
- required: C,
85
- disabled: p,
86
- reportStatus: u,
87
- hiddenLabel: I
88
- }, T) => {
89
- const W = H(), j = u !== void 0 ? u : W.input.iconFeedback, F = b ?? y, q = D(), m = a ?? q.inputOptionalLabel;
90
- return /* @__PURE__ */ t(
91
- "fieldset",
92
- {
93
- ref: T,
94
- form: d,
95
- disabled: p,
96
- "data-error": !!c,
97
- "aria-disabled": p,
98
- "data-component": N,
99
- "data-interactive": !!i,
100
- className: h("group flex min-h-0 min-w-0 max-w-full flex-col items-start", n),
101
- children: [
102
- /* @__PURE__ */ t(
103
- "label",
104
- {
105
- form: d,
106
- htmlFor: F,
107
- className: "relative inline-flex w-full max-w-full cursor-text flex-row flex-wrap justify-between gap-1 text-field-label text-sm transition-colors empty:hidden group-disabled:cursor-not-allowed group-error:text-danger",
108
- children: [
109
- I ? null : /* @__PURE__ */ e(J, { info: f, hideLeft: z, reportStatus: j, title: k, placeholder: v, children: m || o ? /* @__PURE__ */ t(x, { children: [
110
- C ? null : /* @__PURE__ */ e(
111
- "span",
112
- {
113
- "aria-disabled": p,
114
- className: "text-opacity-70 transition-colors group-focus-within:text-primary group-hover:text-primary aria-disabled:text-disabled",
115
- children: m
116
- }
117
- ),
118
- o ? /* @__PURE__ */ e(x, { children: o }) : null
119
- ] }) : null }),
120
- /* @__PURE__ */ t(
121
- "div",
122
- {
123
- className: `group relative flex w-full flex-row flex-nowrap items-center gap-x-2 gap-y-1 rounded-md border border-input-border bg-transparent transition-colors group-hover:border-primary group-disabled:border-disabled group-error:border-danger ${w}`,
124
- children: [
125
- s ? /* @__PURE__ */ e("span", { className: "flex flex-nowrap gap-1 whitespace-nowrap pl-2", children: s }) : null,
126
- g,
127
- l ? /* @__PURE__ */ e("span", { className: "flex flex-nowrap gap-2 whitespace-nowrap pr-2", children: l }) : null
128
- ]
129
- }
130
- )
131
- ]
132
- }
133
- ),
134
- /* @__PURE__ */ e("p", { className: "mt-input-gap hidden whitespace-pre-wrap text-wrap text-xs empty:mt-0 empty:hidden group-has-[input:not(:focus):invalid[data-initialized=true]]:flex group-error:flex group-error:text-danger", children: c }),
135
- /* @__PURE__ */ e("p", { className: "mt-input-gap text-xs empty:mt-0 empty:hidden group-has-[input:not(:focus):valid[data-initialized=true]]:block group-assert:block group-error:hidden", children: r })
136
- ]
137
- }
138
- );
139
- }
140
- );
141
- export {
142
- ee as I,
143
- J as a,
144
- H as u
145
- };
146
- //# sourceMappingURL=input-field-DTeIrwpK.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-field-DTeIrwpK.js","sources":["../../../node_modules/.pnpm/lucide-react@0.575.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/circle-x.js","../src/hooks/use-tweaks.ts","../src/components/form/input-field.tsx"],"sourcesContent":["/**\n * @license lucide-react v0.575.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }],\n [\"path\", { d: \"m15 9-6 6\", key: \"1uzhvr\" }],\n [\"path\", { d: \"m9 9 6 6\", key: \"z0biqf\" }]\n];\nconst CircleX = createLucideIcon(\"circle-x\", __iconNode);\n\nexport { __iconNode, CircleX as default };\n//# sourceMappingURL=circle-x.js.map\n","import { useContext } from \"react\";\nimport { Context } from \"../config/context\";\nimport { defaultTweaks, Tweaks } from \"../config/default-tweaks\";\n\nexport const useTweaks = (): Tweaks => {\n const ctx = useContext(Context);\n if (!ctx) return defaultTweaks;\n return ctx.tweaks!;\n};\n","\"use client\";\nimport { CheckCircle, InfoIcon, XCircle } from \"lucide-react\";\nimport React, { forwardRef, Fragment, type PropsWithChildren } from \"react\";\nimport { useTranslations } from \"../../hooks/use-translations\";\nimport { useTweaks } from \"../../hooks/use-tweaks\";\nimport { css } from \"../../lib/dom\";\nimport { type Label, Override } from \"../../types\";\nimport { type PolymorphicProps } from \"../core/polymorph\";\nimport { Tooltip } from \"../floating/tooltip\";\n\nexport type FeedbackProps = React.PropsWithChildren<\n Partial<{\n id: string;\n info: Label;\n title: Label;\n hideLeft: boolean;\n className: string;\n placeholder: string;\n reportStatus: boolean;\n hiddenLabel: boolean;\n }>\n>;\n\nexport const InputFeedback = ({ reportStatus, id, hideLeft = false, className, info, children, title }: FeedbackProps) => (\n <span className={css(\"w-full justify-between\", hideLeft && children === null ? \"hidden\" : \"flex\", className)}>\n {hideLeft ? null : (\n <span className=\"flex items-center gap-1 transition-colors group-focus-within:text-primary group-hover:text-primary group-disabled:text-disabled group-error:text-danger\">\n {title}\n {reportStatus || info ? (\n <span className=\"flex items-center justify-center gap-1\">\n {info ? (\n <Tooltip\n as=\"button\"\n type=\"button\"\n aria-label={typeof info === \"string\" ? info : undefined}\n aria-describedby={typeof info === \"string\" ? undefined : id ? `tooltip-info-content-${id}` : undefined}\n title={\n <span className=\"cursor-help\">\n <InfoIcon className=\"aspect-square size-3\" aria-hidden=\"true\" size={16} strokeWidth={1} absoluteStrokeWidth />\n </span>\n }\n >\n <div\n id={id ? `tooltip-info-content-${id}` : undefined}\n className=\"w-full max-w-48 whitespace-break-spaces break-words\"\n >\n {info}\n </div>\n </Tooltip>\n ) : null}\n {reportStatus ? (\n <span className=\"flex h-3 min-w-6 items-center\">\n <CheckCircle\n className=\"hidden aspect-square size-3 opacity-0 transition-opacity group-assert:block group-assert:text-success group-assert:opacity-100\"\n aria-hidden=\"true\"\n size={16}\n strokeWidth={1}\n absoluteStrokeWidth\n />\n <XCircle\n className=\"hidden aspect-square size-3 opacity-0 transition-opacity group-error:block group-error:opacity-100\"\n aria-hidden=\"true\"\n size={16}\n strokeWidth={1}\n absoluteStrokeWidth\n />\n </span>\n ) : null}\n </span>\n ) : null}\n </span>\n )}\n {children}\n </span>\n);\n\nexport type InputFieldProps<T extends \"input\" | \"select\" | \"textarea\"> = PolymorphicProps<\n Partial<\n Override<\n FeedbackProps,\n {\n loading: boolean;\n componentName: string;\n info: Label;\n labelClassName: string;\n error: string;\n hideLeft: boolean;\n interactive: boolean;\n container: string;\n left: Label;\n feedback: Label;\n optionalText: string;\n right: Label;\n rightLabel: Label;\n id: string;\n name: string;\n placeholder: string;\n }\n >\n >,\n T\n>;\n\nexport const InputField: <T extends \"input\" | \"select\" | \"textarea\">(props: PropsWithChildren<InputFieldProps<T>>) => React.ReactElement = forwardRef(\n <T extends \"input\" | \"select\" | \"textarea\">(\n {\n optionalText: _optionalText,\n left,\n rightLabel,\n container,\n feedback,\n interactive,\n right,\n info,\n children,\n error,\n form,\n id,\n labelClassName = \"\",\n name,\n title,\n componentName,\n placeholder,\n hideLeft = false,\n required,\n disabled,\n reportStatus,\n hiddenLabel,\n }: PropsWithChildren<InputFieldProps<T>>,\n ref: any\n ) => {\n const tweaks = useTweaks();\n const reportStatusDefault = reportStatus !== undefined ? reportStatus : tweaks.input.iconFeedback;\n const ID = id ?? name;\n const translation = useTranslations();\n const optionalText = _optionalText ?? translation.inputOptionalLabel;\n return (\n <fieldset\n ref={ref}\n form={form}\n disabled={disabled}\n data-error={!!error}\n aria-disabled={disabled}\n data-component={componentName}\n data-interactive={!!interactive}\n className={css(\"group flex min-h-0 min-w-0 max-w-full flex-col items-start\", container)}\n >\n <label\n form={form}\n htmlFor={ID}\n className=\"relative inline-flex w-full max-w-full cursor-text flex-row flex-wrap justify-between gap-1 text-field-label text-sm transition-colors empty:hidden group-disabled:cursor-not-allowed group-error:text-danger\"\n >\n {hiddenLabel ? null : (\n <InputFeedback info={info} hideLeft={hideLeft} reportStatus={reportStatusDefault} title={title} placeholder={placeholder}>\n {optionalText || rightLabel ? (\n <Fragment>\n {!required ? (\n <span\n aria-disabled={disabled}\n className=\"text-opacity-70 transition-colors group-focus-within:text-primary group-hover:text-primary aria-disabled:text-disabled\"\n >\n {optionalText}\n </span>\n ) : null}\n {rightLabel ? <Fragment>{rightLabel}</Fragment> : null}\n </Fragment>\n ) : null}\n </InputFeedback>\n )}\n <div\n className={`group relative flex w-full flex-row flex-nowrap items-center gap-x-2 gap-y-1 rounded-md border border-input-border bg-transparent transition-colors group-hover:border-primary group-disabled:border-disabled group-error:border-danger ${labelClassName}`}\n >\n {left ? <span className=\"flex flex-nowrap gap-1 whitespace-nowrap pl-2\">{left}</span> : null}\n {children}\n {right ? <span className=\"flex flex-nowrap gap-2 whitespace-nowrap pr-2\">{right}</span> : null}\n </div>\n </label>\n <p className=\"mt-input-gap hidden whitespace-pre-wrap text-wrap text-xs empty:mt-0 empty:hidden group-has-[input:not(:focus):invalid[data-initialized=true]]:flex group-error:flex group-error:text-danger\">\n {error}\n </p>\n <p className=\"mt-input-gap text-xs empty:mt-0 empty:hidden group-has-[input:not(:focus):valid[data-initialized=true]]:block group-assert:block group-error:hidden\">\n {feedback}\n </p>\n </fieldset>\n );\n }\n) as any;\n"],"names":["__iconNode","CircleX","createLucideIcon","useTweaks","ctx","useContext","Context","defaultTweaks","InputFeedback","reportStatus","id","hideLeft","className","info","children","title","jsxs","css","jsx","Tooltip","InfoIcon","CheckCircle","XCircle","InputField","forwardRef","_optionalText","left","rightLabel","container","feedback","interactive","right","error","form","labelClassName","name","componentName","placeholder","required","disabled","hiddenLabel","ref","tweaks","reportStatusDefault","ID","translation","useTranslations","optionalText","Fragment"],"mappings":";;;;;;;;;AASA,MAAMA,IAAa;AAAA,EACjB,CAAC,UAAU,EAAE,IAAI,MAAM,IAAI,MAAM,GAAG,MAAM,KAAK,UAAU;AAAA,EACzD,CAAC,QAAQ,EAAE,GAAG,aAAa,KAAK,SAAQ,CAAE;AAAA,EAC1C,CAAC,QAAQ,EAAE,GAAG,YAAY,KAAK,SAAQ,CAAE;AAC3C,GACMC,IAAUC,EAAiB,YAAYF,CAAU,GCV1CG,IAAY,MAAc;AACnC,QAAMC,IAAMC,EAAWC,CAAO;AAC9B,SAAKF,IACEA,EAAI,SADMG;AAErB,GCeaC,IAAgB,CAAC,EAAE,cAAAC,GAAc,IAAAC,GAAI,UAAAC,IAAW,IAAO,WAAAC,GAAW,MAAAC,GAAM,UAAAC,GAAU,OAAAC,EAAA,MAC3F,gBAAAC,EAAC,QAAA,EAAK,WAAWC,EAAI,0BAA0BN,KAAYG,MAAa,OAAO,WAAW,QAAQF,CAAS,GACtG,UAAA;AAAA,EAAAD,IAAW,OACR,gBAAAK,EAAC,QAAA,EAAK,WAAU,2JACX,UAAA;AAAA,IAAAD;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