@sudobility/monitoring-components 1.0.8

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 (41) hide show
  1. package/dist/break-timer.d.ts +33 -0
  2. package/dist/break-timer.d.ts.map +1 -0
  3. package/dist/copy-button.d.ts +52 -0
  4. package/dist/copy-button.d.ts.map +1 -0
  5. package/dist/cursor-tracker.d.ts +33 -0
  6. package/dist/cursor-tracker.d.ts.map +1 -0
  7. package/dist/gas-tracker.d.ts +33 -0
  8. package/dist/gas-tracker.d.ts.map +1 -0
  9. package/dist/index.d.ts +19 -0
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.esm.js +586 -0
  12. package/dist/index.esm.js.map +1 -0
  13. package/dist/index.umd.js +7 -0
  14. package/dist/index.umd.js.map +1 -0
  15. package/dist/overtime-tracker.d.ts +33 -0
  16. package/dist/overtime-tracker.d.ts.map +1 -0
  17. package/dist/portal.d.ts +29 -0
  18. package/dist/portal.d.ts.map +1 -0
  19. package/dist/recycling-tracker.d.ts +18 -0
  20. package/dist/recycling-tracker.d.ts.map +1 -0
  21. package/dist/show.d.ts +31 -0
  22. package/dist/show.d.ts.map +1 -0
  23. package/dist/sleep-tracker.d.ts +33 -0
  24. package/dist/sleep-tracker.d.ts.map +1 -0
  25. package/dist/time-tracker.d.ts +33 -0
  26. package/dist/time-tracker.d.ts.map +1 -0
  27. package/dist/water-intake.d.ts +33 -0
  28. package/dist/water-intake.d.ts.map +1 -0
  29. package/package.json +53 -0
  30. package/src/break-timer.tsx +60 -0
  31. package/src/copy-button.tsx +156 -0
  32. package/src/cursor-tracker.tsx +60 -0
  33. package/src/gas-tracker.tsx +60 -0
  34. package/src/index.ts +19 -0
  35. package/src/overtime-tracker.tsx +60 -0
  36. package/src/portal.tsx +44 -0
  37. package/src/recycling-tracker.tsx +41 -0
  38. package/src/show.tsx +38 -0
  39. package/src/sleep-tracker.tsx +60 -0
  40. package/src/time-tracker.tsx +60 -0
  41. package/src/water-intake.tsx +60 -0
@@ -0,0 +1,586 @@
1
+ import * as k from "react";
2
+ import te, { useState as oe, useEffect as ae } from "react";
3
+ import { cn as f, useCopyToClipboard as ne } from "@sudobility/components";
4
+ import { createPortal as se } from "react-dom";
5
+ var T = { exports: {} }, x = {};
6
+ var z;
7
+ function le() {
8
+ if (z) return x;
9
+ z = 1;
10
+ var o = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
11
+ function r(n, u, d) {
12
+ var b = null;
13
+ if (d !== void 0 && (b = "" + d), u.key !== void 0 && (b = "" + u.key), "key" in u) {
14
+ d = {};
15
+ for (var m in u)
16
+ m !== "key" && (d[m] = u[m]);
17
+ } else d = u;
18
+ return u = d.ref, {
19
+ $$typeof: o,
20
+ type: n,
21
+ key: b,
22
+ ref: u !== void 0 ? u : null,
23
+ props: d
24
+ };
25
+ }
26
+ return x.Fragment = a, x.jsx = r, x.jsxs = r, x;
27
+ }
28
+ var E = {};
29
+ var J;
30
+ function ce() {
31
+ return J || (J = 1, process.env.NODE_ENV !== "production" && (function() {
32
+ function o(e) {
33
+ if (e == null) return null;
34
+ if (typeof e == "function")
35
+ return e.$$typeof === K ? null : e.displayName || e.name || null;
36
+ if (typeof e == "string") return e;
37
+ switch (e) {
38
+ case v:
39
+ return "Fragment";
40
+ case A:
41
+ return "Profiler";
42
+ case O:
43
+ return "StrictMode";
44
+ case H:
45
+ return "Suspense";
46
+ case X:
47
+ return "SuspenseList";
48
+ case Q:
49
+ return "Activity";
50
+ }
51
+ if (typeof e == "object")
52
+ switch (typeof e.tag == "number" && console.error(
53
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
54
+ ), e.$$typeof) {
55
+ case y:
56
+ return "Portal";
57
+ case G:
58
+ return e.displayName || "Context";
59
+ case S:
60
+ return (e._context.displayName || "Context") + ".Consumer";
61
+ case B:
62
+ var t = e.render;
63
+ return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
64
+ case Z:
65
+ return t = e.displayName || null, t !== null ? t : o(e.type) || "Memo";
66
+ case N:
67
+ t = e._payload, e = e._init;
68
+ try {
69
+ return o(e(t));
70
+ } catch {
71
+ }
72
+ }
73
+ return null;
74
+ }
75
+ function a(e) {
76
+ return "" + e;
77
+ }
78
+ function r(e) {
79
+ try {
80
+ a(e);
81
+ var t = !1;
82
+ } catch {
83
+ t = !0;
84
+ }
85
+ if (t) {
86
+ t = console;
87
+ var s = t.error, l = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
88
+ return s.call(
89
+ t,
90
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
91
+ l
92
+ ), a(e);
93
+ }
94
+ }
95
+ function n(e) {
96
+ if (e === v) return "<>";
97
+ if (typeof e == "object" && e !== null && e.$$typeof === N)
98
+ return "<...>";
99
+ try {
100
+ var t = o(e);
101
+ return t ? "<" + t + ">" : "<...>";
102
+ } catch {
103
+ return "<...>";
104
+ }
105
+ }
106
+ function u() {
107
+ var e = P.A;
108
+ return e === null ? null : e.getOwner();
109
+ }
110
+ function d() {
111
+ return Error("react-stack-top-frame");
112
+ }
113
+ function b(e) {
114
+ if (L.call(e, "key")) {
115
+ var t = Object.getOwnPropertyDescriptor(e, "key").get;
116
+ if (t && t.isReactWarning) return !1;
117
+ }
118
+ return e.key !== void 0;
119
+ }
120
+ function m(e, t) {
121
+ function s() {
122
+ M || (M = !0, console.error(
123
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
124
+ t
125
+ ));
126
+ }
127
+ s.isReactWarning = !0, Object.defineProperty(e, "key", {
128
+ get: s,
129
+ configurable: !0
130
+ });
131
+ }
132
+ function C() {
133
+ var e = o(this.type);
134
+ return $[e] || ($[e] = !0, console.error(
135
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
136
+ )), e = this.props.ref, e !== void 0 ? e : null;
137
+ }
138
+ function j(e, t, s, l, R, F) {
139
+ var c = s.ref;
140
+ return e = {
141
+ $$typeof: U,
142
+ type: e,
143
+ key: t,
144
+ props: s,
145
+ _owner: l
146
+ }, (c !== void 0 ? c : null) !== null ? Object.defineProperty(e, "ref", {
147
+ enumerable: !1,
148
+ get: C
149
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
150
+ configurable: !1,
151
+ enumerable: !1,
152
+ writable: !0,
153
+ value: 0
154
+ }), Object.defineProperty(e, "_debugInfo", {
155
+ configurable: !1,
156
+ enumerable: !1,
157
+ writable: !0,
158
+ value: null
159
+ }), Object.defineProperty(e, "_debugStack", {
160
+ configurable: !1,
161
+ enumerable: !1,
162
+ writable: !0,
163
+ value: R
164
+ }), Object.defineProperty(e, "_debugTask", {
165
+ configurable: !1,
166
+ enumerable: !1,
167
+ writable: !0,
168
+ value: F
169
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
170
+ }
171
+ function w(e, t, s, l, R, F) {
172
+ var c = t.children;
173
+ if (c !== void 0)
174
+ if (l)
175
+ if (ee(c)) {
176
+ for (l = 0; l < c.length; l++)
177
+ _(c[l]);
178
+ Object.freeze && Object.freeze(c);
179
+ } else
180
+ console.error(
181
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
182
+ );
183
+ else _(c);
184
+ if (L.call(t, "key")) {
185
+ c = o(e);
186
+ var h = Object.keys(t).filter(function(re) {
187
+ return re !== "key";
188
+ });
189
+ l = 0 < h.length ? "{key: someKey, " + h.join(": ..., ") + ": ...}" : "{key: someKey}", V[c + l] || (h = 0 < h.length ? "{" + h.join(": ..., ") + ": ...}" : "{}", console.error(
190
+ `A props object containing a "key" prop is being spread into JSX:
191
+ let props = %s;
192
+ <%s {...props} />
193
+ React keys must be passed directly to JSX without using spread:
194
+ let props = %s;
195
+ <%s key={someKey} {...props} />`,
196
+ l,
197
+ c,
198
+ h,
199
+ c
200
+ ), V[c + l] = !0);
201
+ }
202
+ if (c = null, s !== void 0 && (r(s), c = "" + s), b(t) && (r(t.key), c = "" + t.key), "key" in t) {
203
+ s = {};
204
+ for (var I in t)
205
+ I !== "key" && (s[I] = t[I]);
206
+ } else s = t;
207
+ return c && m(
208
+ s,
209
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
210
+ ), j(
211
+ e,
212
+ c,
213
+ s,
214
+ u(),
215
+ R,
216
+ F
217
+ );
218
+ }
219
+ function _(e) {
220
+ g(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === N && (e._payload.status === "fulfilled" ? g(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
221
+ }
222
+ function g(e) {
223
+ return typeof e == "object" && e !== null && e.$$typeof === U;
224
+ }
225
+ var p = te, U = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), O = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), S = Symbol.for("react.consumer"), G = Symbol.for("react.context"), B = Symbol.for("react.forward_ref"), H = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), Z = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), Q = Symbol.for("react.activity"), K = Symbol.for("react.client.reference"), P = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, ee = Array.isArray, Y = console.createTask ? console.createTask : function() {
226
+ return null;
227
+ };
228
+ p = {
229
+ react_stack_bottom_frame: function(e) {
230
+ return e();
231
+ }
232
+ };
233
+ var M, $ = {}, D = p.react_stack_bottom_frame.bind(
234
+ p,
235
+ d
236
+ )(), W = Y(n(d)), V = {};
237
+ E.Fragment = v, E.jsx = function(e, t, s) {
238
+ var l = 1e4 > P.recentlyCreatedOwnerStacks++;
239
+ return w(
240
+ e,
241
+ t,
242
+ s,
243
+ !1,
244
+ l ? Error("react-stack-top-frame") : D,
245
+ l ? Y(n(e)) : W
246
+ );
247
+ }, E.jsxs = function(e, t, s) {
248
+ var l = 1e4 > P.recentlyCreatedOwnerStacks++;
249
+ return w(
250
+ e,
251
+ t,
252
+ s,
253
+ !0,
254
+ l ? Error("react-stack-top-frame") : D,
255
+ l ? Y(n(e)) : W
256
+ );
257
+ };
258
+ })()), E;
259
+ }
260
+ var q;
261
+ function ie() {
262
+ return q || (q = 1, process.env.NODE_ENV === "production" ? T.exports = le() : T.exports = ce()), T.exports;
263
+ }
264
+ var i = ie();
265
+ const pe = ({
266
+ className: o,
267
+ children: a,
268
+ disabled: r = !1,
269
+ onClick: n
270
+ }) => /* @__PURE__ */ i.jsx(
271
+ "div",
272
+ {
273
+ className: f(
274
+ "p-4 rounded-lg border transition-colors",
275
+ "bg-white dark:bg-gray-900",
276
+ "border-gray-200 dark:border-gray-700",
277
+ "text-gray-900 dark:text-white",
278
+ r && "opacity-50 cursor-not-allowed",
279
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
280
+ o
281
+ ),
282
+ onClick: r ? void 0 : n,
283
+ role: "region",
284
+ "aria-label": "UbreakUtimer",
285
+ children: a || "UbreakUtimer Component"
286
+ }
287
+ );
288
+ function ue({
289
+ title: o,
290
+ titleId: a,
291
+ ...r
292
+ }, n) {
293
+ return /* @__PURE__ */ k.createElement("svg", Object.assign({
294
+ xmlns: "http://www.w3.org/2000/svg",
295
+ fill: "none",
296
+ viewBox: "0 0 24 24",
297
+ strokeWidth: 1.5,
298
+ stroke: "currentColor",
299
+ "aria-hidden": "true",
300
+ "data-slot": "icon",
301
+ ref: n,
302
+ "aria-labelledby": a
303
+ }, r), o ? /* @__PURE__ */ k.createElement("title", {
304
+ id: a
305
+ }, o) : null, /* @__PURE__ */ k.createElement("path", {
306
+ strokeLinecap: "round",
307
+ strokeLinejoin: "round",
308
+ d: "m4.5 12.75 6 6 9-13.5"
309
+ }));
310
+ }
311
+ const de = /* @__PURE__ */ k.forwardRef(ue);
312
+ function fe({
313
+ title: o,
314
+ titleId: a,
315
+ ...r
316
+ }, n) {
317
+ return /* @__PURE__ */ k.createElement("svg", Object.assign({
318
+ xmlns: "http://www.w3.org/2000/svg",
319
+ fill: "none",
320
+ viewBox: "0 0 24 24",
321
+ strokeWidth: 1.5,
322
+ stroke: "currentColor",
323
+ "aria-hidden": "true",
324
+ "data-slot": "icon",
325
+ ref: n,
326
+ "aria-labelledby": a
327
+ }, r), o ? /* @__PURE__ */ k.createElement("title", {
328
+ id: a
329
+ }, o) : null, /* @__PURE__ */ k.createElement("path", {
330
+ strokeLinecap: "round",
331
+ strokeLinejoin: "round",
332
+ d: "M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"
333
+ }));
334
+ }
335
+ const ge = /* @__PURE__ */ k.forwardRef(fe), ye = ({
336
+ text: o,
337
+ size: a = "md",
338
+ variant: r = "icon",
339
+ label: n = "Copy",
340
+ successLabel: u = "Copied!",
341
+ iconPosition: d = "left",
342
+ className: b,
343
+ title: m,
344
+ onCopySuccess: C,
345
+ onCopyError: j
346
+ }) => {
347
+ const { copyToClipboard: w, isCopied: _ } = ne({
348
+ successDuration: 2e3,
349
+ onSuccess: C,
350
+ onError: j
351
+ }), g = _(o), p = () => {
352
+ w(o);
353
+ }, y = {
354
+ sm: {
355
+ icon: "h-3.5 w-3.5",
356
+ button: "p-1",
357
+ text: "text-xs px-2 py-1"
358
+ },
359
+ md: {
360
+ icon: "h-4 w-4",
361
+ button: "p-1.5",
362
+ text: "text-sm px-3 py-1.5"
363
+ },
364
+ lg: {
365
+ icon: "h-5 w-5",
366
+ button: "p-2",
367
+ text: "text-base px-4 py-2"
368
+ }
369
+ }[a], v = g ? de : ge;
370
+ if (r === "icon")
371
+ return /* @__PURE__ */ i.jsx(
372
+ "button",
373
+ {
374
+ onClick: p,
375
+ className: f(
376
+ "inline-flex items-center justify-center rounded transition-colors",
377
+ g ? "text-green-600 dark:text-green-400" : "text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",
378
+ y.button,
379
+ b
380
+ ),
381
+ title: m || (g ? "Copied!" : "Copy to clipboard"),
382
+ type: "button",
383
+ children: /* @__PURE__ */ i.jsx(v, { className: y.icon })
384
+ }
385
+ );
386
+ const O = f(
387
+ "inline-flex items-center gap-2 rounded font-medium transition-colors",
388
+ y.text
389
+ ), A = {
390
+ text: f(
391
+ g ? "text-green-600 dark:text-green-400" : "text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300"
392
+ ),
393
+ outline: f(
394
+ "border",
395
+ g ? "border-green-600 text-green-600 dark:border-green-400 dark:text-green-400" : "border-gray-300 text-gray-700 hover:border-gray-400 dark:border-gray-600 dark:text-gray-300 dark:hover:border-gray-500"
396
+ )
397
+ }, S = g ? u : n;
398
+ return /* @__PURE__ */ i.jsxs(
399
+ "button",
400
+ {
401
+ onClick: p,
402
+ className: f(O, A[r], b),
403
+ title: m || (g ? "Copied!" : "Copy to clipboard"),
404
+ type: "button",
405
+ children: [
406
+ d === "left" && /* @__PURE__ */ i.jsx(v, { className: y.icon }),
407
+ /* @__PURE__ */ i.jsx("span", { children: S }),
408
+ d === "right" && /* @__PURE__ */ i.jsx(v, { className: y.icon })
409
+ ]
410
+ }
411
+ );
412
+ }, ve = ({
413
+ className: o,
414
+ children: a,
415
+ disabled: r = !1,
416
+ onClick: n
417
+ }) => /* @__PURE__ */ i.jsx(
418
+ "div",
419
+ {
420
+ className: f(
421
+ "p-4 rounded-lg border transition-colors",
422
+ "bg-white dark:bg-gray-900",
423
+ "border-gray-200 dark:border-gray-700",
424
+ "text-gray-900 dark:text-white",
425
+ r && "opacity-50 cursor-not-allowed",
426
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
427
+ o
428
+ ),
429
+ onClick: r ? void 0 : n,
430
+ role: "region",
431
+ "aria-label": "UcursorUtracker",
432
+ children: a || "UcursorUtracker Component"
433
+ }
434
+ ), he = ({
435
+ className: o,
436
+ children: a,
437
+ disabled: r = !1,
438
+ onClick: n
439
+ }) => /* @__PURE__ */ i.jsx(
440
+ "div",
441
+ {
442
+ className: f(
443
+ "p-4 rounded-lg border transition-colors",
444
+ "bg-white dark:bg-gray-900",
445
+ "border-gray-200 dark:border-gray-700",
446
+ "text-gray-900 dark:text-white",
447
+ r && "opacity-50 cursor-not-allowed",
448
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
449
+ o
450
+ ),
451
+ onClick: r ? void 0 : n,
452
+ role: "region",
453
+ "aria-label": "UgasUtracker",
454
+ children: a || "UgasUtracker Component"
455
+ }
456
+ ), xe = ({
457
+ className: o,
458
+ children: a,
459
+ disabled: r = !1,
460
+ onClick: n
461
+ }) => /* @__PURE__ */ i.jsx(
462
+ "div",
463
+ {
464
+ className: f(
465
+ "p-4 rounded-lg border transition-colors",
466
+ "bg-white dark:bg-gray-900",
467
+ "border-gray-200 dark:border-gray-700",
468
+ "text-gray-900 dark:text-white",
469
+ r && "opacity-50 cursor-not-allowed",
470
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
471
+ o
472
+ ),
473
+ onClick: r ? void 0 : n,
474
+ role: "region",
475
+ "aria-label": "UovertimeUtracker",
476
+ children: a || "UovertimeUtracker Component"
477
+ }
478
+ ), Ee = ({ children: o, container: a }) => {
479
+ const [r, n] = oe(!1);
480
+ if (ae(() => (n(!0), () => n(!1)), []), !r) return null;
481
+ const u = a || document.body;
482
+ return se(o, u);
483
+ }, we = ({
484
+ className: o,
485
+ children: a,
486
+ disabled: r
487
+ }) => /* @__PURE__ */ i.jsx(
488
+ "div",
489
+ {
490
+ className: f(
491
+ "p-4 rounded-lg border transition-colors",
492
+ "bg-white dark:bg-gray-900",
493
+ "border-gray-200 dark:border-gray-700",
494
+ "text-gray-900 dark:text-white",
495
+ r && "opacity-50 cursor-not-allowed",
496
+ o
497
+ ),
498
+ role: "region",
499
+ "aria-label": "RecyclingTracker",
500
+ children: a || "RecyclingTracker Component"
501
+ }
502
+ ), _e = ({
503
+ when: o,
504
+ children: a,
505
+ fallback: r = null
506
+ }) => /* @__PURE__ */ i.jsx(i.Fragment, { children: o ? a : r }), Re = ({
507
+ className: o,
508
+ children: a,
509
+ disabled: r = !1,
510
+ onClick: n
511
+ }) => /* @__PURE__ */ i.jsx(
512
+ "div",
513
+ {
514
+ className: f(
515
+ "p-4 rounded-lg border transition-colors",
516
+ "bg-white dark:bg-gray-900",
517
+ "border-gray-200 dark:border-gray-700",
518
+ "text-gray-900 dark:text-white",
519
+ r && "opacity-50 cursor-not-allowed",
520
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
521
+ o
522
+ ),
523
+ onClick: r ? void 0 : n,
524
+ role: "region",
525
+ "aria-label": "UsleepUtracker",
526
+ children: a || "UsleepUtracker Component"
527
+ }
528
+ ), Te = ({
529
+ className: o,
530
+ children: a,
531
+ disabled: r = !1,
532
+ onClick: n
533
+ }) => /* @__PURE__ */ i.jsx(
534
+ "div",
535
+ {
536
+ className: f(
537
+ "p-4 rounded-lg border transition-colors",
538
+ "bg-white dark:bg-gray-900",
539
+ "border-gray-200 dark:border-gray-700",
540
+ "text-gray-900 dark:text-white",
541
+ r && "opacity-50 cursor-not-allowed",
542
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
543
+ o
544
+ ),
545
+ onClick: r ? void 0 : n,
546
+ role: "region",
547
+ "aria-label": "UtimeUtracker",
548
+ children: a || "UtimeUtracker Component"
549
+ }
550
+ ), Ce = ({
551
+ className: o,
552
+ children: a,
553
+ disabled: r = !1,
554
+ onClick: n
555
+ }) => /* @__PURE__ */ i.jsx(
556
+ "div",
557
+ {
558
+ className: f(
559
+ "p-4 rounded-lg border transition-colors",
560
+ "bg-white dark:bg-gray-900",
561
+ "border-gray-200 dark:border-gray-700",
562
+ "text-gray-900 dark:text-white",
563
+ r && "opacity-50 cursor-not-allowed",
564
+ "hover:bg-gray-50 dark:hover:bg-gray-800",
565
+ o
566
+ ),
567
+ onClick: r ? void 0 : n,
568
+ role: "region",
569
+ "aria-label": "UwaterUintake",
570
+ children: a || "UwaterUintake Component"
571
+ }
572
+ );
573
+ export {
574
+ ye as CopyButton,
575
+ Ee as Portal,
576
+ we as RecyclingTracker,
577
+ _e as Show,
578
+ pe as UbreakUtimer,
579
+ ve as UcursorUtracker,
580
+ he as UgasUtracker,
581
+ xe as UovertimeUtracker,
582
+ Re as UsleepUtracker,
583
+ Te as UtimeUtracker,
584
+ Ce as UwaterUintake
585
+ };
586
+ //# sourceMappingURL=index.esm.js.map