@oneplatformdev/utils 0.1.1-17 → 0.1.1-170

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/CHANGELOG.md +577 -0
  2. package/{dist/index.d.ts → index.d.ts} +1 -0
  3. package/{dist/index.d.ts.map → index.d.ts.map} +1 -1
  4. package/index.js +8 -0
  5. package/isValidReactElement/index.d.ts +2 -0
  6. package/isValidReactElement/index.d.ts.map +1 -0
  7. package/isValidReactElement/index.js +5 -0
  8. package/isValidReactElement/isValidReactElement.d.ts +20 -0
  9. package/isValidReactElement/isValidReactElement.d.ts.map +1 -0
  10. package/isValidReactElement/isValidReactElement.js +8 -0
  11. package/package.json +18 -24
  12. package/.babelrc +0 -12
  13. package/dist/index.js +0 -6
  14. package/src/cn/cn.ts +0 -7
  15. package/src/cn/index.ts +0 -1
  16. package/src/composeRefs/composeRefs.ts +0 -12
  17. package/src/composeRefs/index.ts +0 -1
  18. package/src/index.ts +0 -3
  19. package/src/types/PartialOne.ts +0 -1
  20. package/src/types/index.ts +0 -1
  21. package/tsconfig.json +0 -10
  22. package/tsconfig.lib.json +0 -34
  23. package/vite.config.ts +0 -54
  24. /package/{dist/cn → cn}/cn.d.ts +0 -0
  25. /package/{dist/cn → cn}/cn.d.ts.map +0 -0
  26. /package/{dist/cn → cn}/cn.js +0 -0
  27. /package/{dist/cn → cn}/index.d.ts +0 -0
  28. /package/{dist/cn → cn}/index.d.ts.map +0 -0
  29. /package/{dist/cn → cn}/index.js +0 -0
  30. /package/{dist/composeRefs → composeRefs}/composeRefs.d.ts +0 -0
  31. /package/{dist/composeRefs → composeRefs}/composeRefs.d.ts.map +0 -0
  32. /package/{dist/composeRefs → composeRefs}/composeRefs.js +0 -0
  33. /package/{dist/composeRefs → composeRefs}/index.d.ts +0 -0
  34. /package/{dist/composeRefs → composeRefs}/index.d.ts.map +0 -0
  35. /package/{dist/composeRefs → composeRefs}/index.js +0 -0
  36. /package/{dist/types → types}/PartialOne.d.ts +0 -0
  37. /package/{dist/types → types}/PartialOne.d.ts.map +0 -0
  38. /package/{dist/types → types}/PartialOne.js +0 -0
  39. /package/{dist/types → types}/index.d.ts +0 -0
  40. /package/{dist/types → types}/index.d.ts.map +0 -0
  41. /package/{dist/types → types}/index.js +0 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,577 @@
1
+ ## 0.1.1-170 (2025-12-26)
2
+
3
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
4
+
5
+ ## 0.1.1-169 (2025-12-26)
6
+
7
+ ### 🩹 Fixes
8
+
9
+ - minor alert dialog content ([#41](https://github.com/oneplatformdev/core-web/pull/41))
10
+
11
+ ### ❤️ Thank You
12
+
13
+ - Bohdan Radchenko @BohdanRadchenko
14
+
15
+ ## 0.1.1-167 (2025-12-23)
16
+
17
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
18
+
19
+ ## 0.1.1-166 (2025-12-23)
20
+
21
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
22
+
23
+ ## 0.1.1-165 (2025-12-23)
24
+
25
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
26
+
27
+ ## 0.1.1-164 (2025-12-18)
28
+
29
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
30
+
31
+ ## 0.1.1-163 (2025-12-18)
32
+
33
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
34
+
35
+ ## 0.1.1-162 (2025-12-18)
36
+
37
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
38
+
39
+ ## 0.1.1-161 (2025-12-17)
40
+
41
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
42
+
43
+ ## 0.1.1-160 (2025-12-17)
44
+
45
+ ### 🩹 Fixes
46
+
47
+ - minor alert dialog content ([#41](https://github.com/oneplatformdev/core-web/pull/41))
48
+
49
+ ### ❤️ Thank You
50
+
51
+ - Bohdan Radchenko @BohdanRadchenko
52
+
53
+ ## 0.1.1-159 (2025-12-15)
54
+
55
+ ### 🩹 Fixes
56
+
57
+ - simplify AlertDialog component structure and improve styling ([e27bb84](https://github.com/oneplatformdev/core-web/commit/e27bb84))
58
+
59
+ ### ❤️ Thank You
60
+
61
+ - Bohdan Radchenko
62
+
63
+ ## 0.1.1-158 (2025-12-15)
64
+
65
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
66
+
67
+ ## 0.1.1-157 (2025-12-15)
68
+
69
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
70
+
71
+ ## 0.1.1-156 (2025-12-15)
72
+
73
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
74
+
75
+ ## 0.1.1-155 (2025-12-15)
76
+
77
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
78
+
79
+ ## 0.1.1-154 (2025-12-15)
80
+
81
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
82
+
83
+ ## 0.1.1-153 (2025-12-08)
84
+
85
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
86
+
87
+ ## 0.1.1-152 (2025-12-04)
88
+
89
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
90
+
91
+ ## 0.1.1-151 (2025-12-03)
92
+
93
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
94
+
95
+ ## 0.1.1-150 (2025-12-03)
96
+
97
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
98
+
99
+ ## 0.1.1-149 (2025-12-03)
100
+
101
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
102
+
103
+ ## 0.1.1-148 (2025-12-03)
104
+
105
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
106
+
107
+ ## 0.1.1-147 (2025-12-03)
108
+
109
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
110
+
111
+ ## 0.1.1-146 (2025-12-03)
112
+
113
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
114
+
115
+ ## 0.1.1-145 (2025-11-25)
116
+
117
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
118
+
119
+ ## 0.1.1-144 (2025-11-25)
120
+
121
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
122
+
123
+ ## 0.1.1-143 (2025-11-25)
124
+
125
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
126
+
127
+ ## 0.1.1-142 (2025-11-25)
128
+
129
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
130
+
131
+ ## 0.1.1-141 (2025-11-25)
132
+
133
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
134
+
135
+ ## 0.1.1-140 (2025-11-25)
136
+
137
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
138
+
139
+ ## 0.1.1-139 (2025-11-25)
140
+
141
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
142
+
143
+ ## 0.1.1-138 (2025-11-25)
144
+
145
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
146
+
147
+ ## 0.1.1-137 (2025-11-25)
148
+
149
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
150
+
151
+ ## 0.1.1-136 (2025-11-21)
152
+
153
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
154
+
155
+ ## 0.1.1-135 (2025-11-19)
156
+
157
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
158
+
159
+ ## 0.1.1-134 (2025-11-11)
160
+
161
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
162
+
163
+ ## 0.1.1-133 (2025-11-10)
164
+
165
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
166
+
167
+ ## 0.1.1-132 (2025-11-10)
168
+
169
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
170
+
171
+ ## 0.1.1-131 (2025-11-10)
172
+
173
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
174
+
175
+ ## 0.1.1-130 (2025-11-09)
176
+
177
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
178
+
179
+ ## 0.1.1-129 (2025-11-09)
180
+
181
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
182
+
183
+ ## 0.1.1-128 (2025-11-06)
184
+
185
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
186
+
187
+ ## 0.1.1-127 (2025-11-06)
188
+
189
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
190
+
191
+ ## 0.1.1-126 (2025-11-06)
192
+
193
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
194
+
195
+ ## 0.1.1-125 (2025-11-06)
196
+
197
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
198
+
199
+ ## 0.1.1-124 (2025-11-06)
200
+
201
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
202
+
203
+ ## 0.1.1-123 (2025-11-06)
204
+
205
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
206
+
207
+ ## 0.1.1-122 (2025-11-06)
208
+
209
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
210
+
211
+ ## 0.1.1-121 (2025-11-03)
212
+
213
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
214
+
215
+ ## 0.1.1-120 (2025-11-03)
216
+
217
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
218
+
219
+ ## 0.1.1-119 (2025-10-22)
220
+
221
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
222
+
223
+ ## 0.1.1-118 (2025-10-21)
224
+
225
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
226
+
227
+ ## 0.1.1-117 (2025-10-21)
228
+
229
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
230
+
231
+ ## 0.1.1-116 (2025-10-21)
232
+
233
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
234
+
235
+ ## 0.1.1-115 (2025-10-21)
236
+
237
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
238
+
239
+ ## 0.1.1-114 (2025-10-21)
240
+
241
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
242
+
243
+ ## 0.1.1-113 (2025-10-21)
244
+
245
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
246
+
247
+ ## 0.1.1-112 (2025-10-20)
248
+
249
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
250
+
251
+ ## 0.1.1-111 (2025-10-20)
252
+
253
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
254
+
255
+ ## 0.1.1-110 (2025-10-20)
256
+
257
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
258
+
259
+ ## 0.1.1-109 (2025-10-20)
260
+
261
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
262
+
263
+ ## 0.1.1-108 (2025-10-20)
264
+
265
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
266
+
267
+ ## 0.1.1-107 (2025-10-13)
268
+
269
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
270
+
271
+ ## 0.1.1-106 (2025-10-13)
272
+
273
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
274
+
275
+ ## 0.1.1-105 (2025-10-13)
276
+
277
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
278
+
279
+ ## 0.1.1-104 (2025-10-13)
280
+
281
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
282
+
283
+ ## 0.1.1-103 (2025-10-13)
284
+
285
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
286
+
287
+ ## 0.1.1-102 (2025-10-06)
288
+
289
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
290
+
291
+ ## 0.1.1-101 (2025-10-04)
292
+
293
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
294
+
295
+ ## 0.1.1-100 (2025-10-04)
296
+
297
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
298
+
299
+ ## 0.1.1-99 (2025-10-04)
300
+
301
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
302
+
303
+ ## 0.1.1-98 (2025-10-04)
304
+
305
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
306
+
307
+ ## 0.1.1-97 (2025-10-03)
308
+
309
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
310
+
311
+ ## 0.1.1-96 (2025-10-03)
312
+
313
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
314
+
315
+ ## 0.1.1-95 (2025-10-03)
316
+
317
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
318
+
319
+ ## 0.1.1-94 (2025-10-02)
320
+
321
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
322
+
323
+ ## 0.1.1-93 (2025-10-02)
324
+
325
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
326
+
327
+ ## 0.1.1-92 (2025-10-02)
328
+
329
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
330
+
331
+ ## 0.1.1-91 (2025-10-02)
332
+
333
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
334
+
335
+ ## 0.1.1-90 (2025-10-02)
336
+
337
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
338
+
339
+ ## 0.1.1-89 (2025-10-02)
340
+
341
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
342
+
343
+ ## 0.1.1-88 (2025-10-02)
344
+
345
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
346
+
347
+ ## 0.1.1-87 (2025-10-02)
348
+
349
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
350
+
351
+ ## 0.1.1-86 (2025-10-02)
352
+
353
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
354
+
355
+ ## 0.1.1-85 (2025-10-02)
356
+
357
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
358
+
359
+ ## 0.1.1-84 (2025-10-02)
360
+
361
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
362
+
363
+ ## 0.1.1-83 (2025-10-02)
364
+
365
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
366
+
367
+ ## 0.1.1-82 (2025-10-02)
368
+
369
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
370
+
371
+ ## 0.1.1-81 (2025-09-16)
372
+
373
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
374
+
375
+ ## 0.1.1-80 (2025-09-16)
376
+
377
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
378
+
379
+ ## 0.1.1-79 (2025-09-16)
380
+
381
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
382
+
383
+ ## 0.1.1-78 (2025-09-16)
384
+
385
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
386
+
387
+ ## 0.1.1-77 (2025-09-16)
388
+
389
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
390
+
391
+ ## 0.1.1-76 (2025-09-16)
392
+
393
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
394
+
395
+ ## 0.1.1-75 (2025-09-16)
396
+
397
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
398
+
399
+ ## 0.1.1-74 (2025-09-16)
400
+
401
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
402
+
403
+ ## 0.1.1-73 (2025-09-16)
404
+
405
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
406
+
407
+ ## 0.1.1-72 (2025-09-16)
408
+
409
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
410
+
411
+ ## 0.1.1-71 (2025-09-16)
412
+
413
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
414
+
415
+ ## 0.1.1-70 (2025-09-16)
416
+
417
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
418
+
419
+ ## 0.1.1-69 (2025-09-16)
420
+
421
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
422
+
423
+ ## 0.1.1-68 (2025-09-16)
424
+
425
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
426
+
427
+ ## 0.1.1-67 (2025-09-16)
428
+
429
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
430
+
431
+ ## 0.1.1-66 (2025-09-16)
432
+
433
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
434
+
435
+ ## 0.1.1-65 (2025-09-16)
436
+
437
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
438
+
439
+ ## 0.1.1-64 (2025-09-15)
440
+
441
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
442
+
443
+ ## 0.1.1-63 (2025-09-15)
444
+
445
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
446
+
447
+ ## 0.1.1-62 (2025-09-15)
448
+
449
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
450
+
451
+ ## 0.1.1-61 (2025-09-15)
452
+
453
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
454
+
455
+ ## 0.1.1-60 (2025-09-15)
456
+
457
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
458
+
459
+ ## 0.1.1-59 (2025-09-15)
460
+
461
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
462
+
463
+ ## 0.1.1-58 (2025-09-15)
464
+
465
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
466
+
467
+ ## 0.1.1-57 (2025-09-15)
468
+
469
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
470
+
471
+ ## 0.1.1-56 (2025-09-15)
472
+
473
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
474
+
475
+ ## 0.1.1-55 (2025-09-15)
476
+
477
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
478
+
479
+ ## 0.1.1-54 (2025-09-15)
480
+
481
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
482
+
483
+ ## 0.1.1-53 (2025-09-15)
484
+
485
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
486
+
487
+ ## 0.1.1-52 (2025-09-15)
488
+
489
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
490
+
491
+ ## 0.1.1-51 (2025-09-15)
492
+
493
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
494
+
495
+ ## 0.1.1-50 (2025-09-15)
496
+
497
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
498
+
499
+ ## 0.1.1-49 (2025-09-15)
500
+
501
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
502
+
503
+ ## 0.1.1-48 (2025-09-15)
504
+
505
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
506
+
507
+ ## 0.1.1-47 (2025-09-15)
508
+
509
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
510
+
511
+ ## 0.1.1-46 (2025-09-15)
512
+
513
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
514
+
515
+ ## 0.1.1-45 (2025-09-15)
516
+
517
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
518
+
519
+ ## 0.1.1-44 (2025-09-15)
520
+
521
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
522
+
523
+ ## 0.1.1-43 (2025-09-15)
524
+
525
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
526
+
527
+ ## 0.1.1-41 (2025-09-15)
528
+
529
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
530
+
531
+ ## 0.1.1-40 (2025-09-15)
532
+
533
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
534
+
535
+ ## 0.1.1-39 (2025-09-15)
536
+
537
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
538
+
539
+ ## 0.1.1-38 (2025-09-15)
540
+
541
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
542
+
543
+ ## 0.1.1-37 (2025-09-15)
544
+
545
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
546
+
547
+ ## 0.1.1-36 (2025-09-15)
548
+
549
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
550
+
551
+ ## 0.1.1-35 (2025-09-11)
552
+
553
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
554
+
555
+ ## 0.1.1-34 (2025-09-11)
556
+
557
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
558
+
559
+ ## 0.1.1-32 (2025-09-11)
560
+
561
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
562
+
563
+ ## 0.1.1-28 (2025-09-11)
564
+
565
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
566
+
567
+ ## 0.1.1-27 (2025-09-11)
568
+
569
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
570
+
571
+ ## 0.1.1-26 (2025-09-11)
572
+
573
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
574
+
575
+ ## 0.1.1-25 (2025-09-11)
576
+
577
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
@@ -1,4 +1,5 @@
1
1
  export * from './cn';
2
2
  export * from './composeRefs';
3
+ export * from './isValidReactElement';
3
4
  export type * from './types';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,eAAe,CAAC;AAC9B,mBAAmB,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,SAAS,CAAC"}
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ import { cn as r } from "./cn/cn.js";
2
+ import { composeRefs as t } from "./composeRefs/composeRefs.js";
3
+ import { isValidReactElement as p } from "./isValidReactElement/isValidReactElement.js";
4
+ export {
5
+ r as cn,
6
+ t as composeRefs,
7
+ p as isValidReactElement
8
+ };
@@ -0,0 +1,2 @@
1
+ export { isValidReactElement as default, isValidReactElement } from './isValidReactElement';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/isValidReactElement/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,IAAI,OAAO,EAAE,mBAAmB,EAAC,MAAM,uBAAuB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { isValidReactElement as t, isValidReactElement as l } from "./isValidReactElement.js";
2
+ export {
3
+ t as default,
4
+ l as isValidReactElement
5
+ };
@@ -0,0 +1,20 @@
1
+ import { JSXElementConstructor, ReactNode } from 'react';
2
+ /**
3
+ * @deprecated: Use `React.isValidElement` directly instead.
4
+ *
5
+ * Is Valid React Element.
6
+ *
7
+ * Where {@link ReactNode} represents everything that can be rendered, `ReactElement`
8
+ * only represents JSX.
9
+ * @returns boolean - value is valid react element or not
10
+ * @template Type The type of the component or tag
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * const isValid = isValidReactElement(targetElement);
15
+ * const isValidDiv = isValidReactElement(targetElement, 'div');
16
+ * const isValidButton = isValidReactElement(targetElement, Button);
17
+ * ```
18
+ */
19
+ export declare const isValidReactElement: <Type extends string | JSXElementConstructor<any> = string | JSXElementConstructor<any>>(element: ReactNode, type?: Type) => boolean;
20
+ //# sourceMappingURL=isValidReactElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isValidReactElement.d.ts","sourceRoot":"","sources":["../../src/isValidReactElement/isValidReactElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzE;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB,GAAI,IAAI,SAAS,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,EACxH,SAAS,SAAS,EAClB,OAAO,IAAI,KACV,OAIF,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { isValidElement as e } from "react";
2
+ const o = (i, t) => {
3
+ const r = e(i);
4
+ return t ? r && i.type === t : r;
5
+ };
6
+ export {
7
+ o as isValidReactElement
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/utils",
3
- "version": "0.1.1-17",
3
+ "version": "0.1.1-170",
4
4
  "description": "Utility functions for React components.",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [
@@ -24,40 +24,34 @@
24
24
  "main": "./index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
27
- "exports": {
28
- "./package.json": "./package.json",
29
- ".": {
30
- "@oneplatformdev/source": "./src/index.ts",
31
- "types": "./index.d.ts",
32
- "import": "./index.js",
33
- "default": "./index.js"
34
- },
35
- "./*": {
36
- "types": "./*.d.ts",
37
- "import": "./*.js",
38
- "default": "./*.js"
39
- }
27
+ "publishConfig": {
28
+ "directory": "dist"
40
29
  },
41
30
  "files": [
42
31
  "**/*",
43
32
  "dist",
44
- "*.js",
45
- "*.d.ts",
46
- "*/*.js",
47
- "*/*.d.ts",
48
- "README.md",
49
- "LICENSE",
50
33
  "!**/*.tsbuildinfo"
51
34
  ],
52
35
  "dependencies": {
53
- "clsx": "^2.1.0",
54
- "tailwind-merge": "^2.5.0"
36
+ "class-variance-authority": "^0.7.1",
37
+ "clsx": "^2.1.1",
38
+ "tailwind-merge": "^3.3.1"
55
39
  },
56
40
  "peerDependencies": {
57
- "react": ">=18"
41
+ "react": "^19.0.0",
42
+ "react-dom": "^19.0.0"
43
+ },
44
+ "devDependencies": {
45
+ "react": "19.1.1",
46
+ "react-dom": "19.1.1",
47
+ "@types/react": "19.x",
48
+ "@types/react-dom": "19.x"
58
49
  },
59
50
  "peerDependenciesMeta": {
60
- "react": {
51
+ "@types/react": {
52
+ "optional": true
53
+ },
54
+ "@types/react-dom": {
61
55
  "optional": true
62
56
  }
63
57
  }
package/.babelrc DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "presets": [
3
- [
4
- "@nx/react/babel",
5
- {
6
- "runtime": "automatic",
7
- "useBuiltIns": "usage"
8
- }
9
- ]
10
- ],
11
- "plugins": []
12
- }
package/dist/index.js DELETED
@@ -1,6 +0,0 @@
1
- import { cn as r } from "./cn/cn.js";
2
- import { composeRefs as m } from "./composeRefs/composeRefs.js";
3
- export {
4
- r as cn,
5
- m as composeRefs
6
- };
package/src/cn/cn.ts DELETED
@@ -1,7 +0,0 @@
1
- import { clsx, type ClassValue } from "clsx";
2
- import { twMerge } from "tailwind-merge";
3
-
4
- export function cn(...inputs: ClassValue[]) {
5
- return twMerge(clsx(inputs))
6
- }
7
- export default cn
package/src/cn/index.ts DELETED
@@ -1 +0,0 @@
1
- export { default, cn } from './cn';
@@ -1,12 +0,0 @@
1
- import type { Ref, RefCallback } from "react";
2
-
3
- export function composeRefs<T>(...refs: Array<Ref<T> | undefined | null>) {
4
- return (node: T | null) => {
5
- for (const ref of refs) {
6
- if (!ref) continue;
7
- if (typeof ref === "function") (ref as RefCallback<T>)(node);
8
- else (ref as { current: T | null }).current = node;
9
- }
10
- };
11
- }
12
- export default composeRefs;
@@ -1 +0,0 @@
1
- export { default, composeRefs } from './composeRefs';
package/src/index.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './cn';
2
- export * from './composeRefs';
3
- export type * from './types';
@@ -1 +0,0 @@
1
- export type PartialOne<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
@@ -1 +0,0 @@
1
- export type * from './PartialOne'
package/tsconfig.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "files": [],
3
- "include": [],
4
- "references": [
5
- {
6
- "path": "./tsconfig.lib.json"
7
- }
8
- ],
9
- "extends": "../../tsconfig.base.json"
10
- }
package/tsconfig.lib.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "module": "esnext",
5
- "outDir": "dist",
6
- "types": [
7
- "node",
8
- "@nx/react/typings/cssmodule.d.ts",
9
- "@nx/react/typings/image.d.ts",
10
- "vite/client"
11
- ],
12
- "rootDir": "src",
13
- "jsx": "react-jsx",
14
- "tsBuildInfoFile": "dist/tsconfig.lib.tsbuildinfo"
15
- },
16
- "exclude": [
17
- "out-tsc",
18
- "dist",
19
- "**/*.spec.ts",
20
- "**/*.test.ts",
21
- "**/*.spec.tsx",
22
- "**/*.test.tsx",
23
- "**/*.spec.js",
24
- "**/*.test.js",
25
- "**/*.spec.jsx",
26
- "**/*.test.jsx"
27
- ],
28
- "include": [
29
- "src/**/*.js",
30
- "src/**/*.jsx",
31
- "src/**/*.ts",
32
- "src/**/*.tsx"
33
- ]
34
- }
package/vite.config.ts DELETED
@@ -1,54 +0,0 @@
1
- /// <reference types='vitest' />
2
- import { defineConfig } from 'vite';
3
- import react from '@vitejs/plugin-react';
4
- import dts from 'vite-plugin-dts';
5
- import * as path from 'path';
6
- import { globSync } from 'glob';
7
-
8
- export default defineConfig(() => ({
9
- root: __dirname,
10
- cacheDir: '../../node_modules/.vite/packages/utils',
11
- plugins: [ react(), dts({
12
- entryRoot: 'src',
13
- tsconfigPath: path.join(__dirname, 'tsconfig.lib.json')
14
- }) ],
15
- // See: https://vitejs.dev/guide/build.html#library-mode
16
- build: {
17
- outDir: './dist',
18
- emptyOutDir: true,
19
- reportCompressedSize: true,
20
- commonjsOptions: {
21
- transformMixedEsModules: true,
22
- },
23
- sourcemap: false,
24
- target: 'es2022',
25
- lib: {
26
- name: '@oneplatformdev/utils',
27
- formats: [ 'es' as const ],
28
- entry: {
29
- index: path.resolve(__dirname, 'src/index.ts'),
30
- ...Object.fromEntries(
31
- globSync('src/**/*.{ts,tsx}').map((filename) => {
32
- return [
33
- path.relative(
34
- 'src',
35
- filename.slice(0, filename.length - path.extname(filename).length)
36
- ),
37
- path.resolve(__dirname, filename),
38
- ]
39
- })
40
- )
41
- },
42
- },
43
- rollupOptions: {
44
- external: [ 'react', 'react-dom', 'react/jsx-runtime', "clsx", "tailwind-merge" ],
45
- output: {
46
- preserveModules: true,
47
- preserveModulesRoot: 'src',
48
- globals: {
49
- clsx: 'clsx',
50
- },
51
- },
52
- }
53
- },
54
- }));
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes