@pantoia/ui 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -0
- package/accordion/index.module.css +4 -4
- package/accordion/index.tsx +21 -51
- package/alert-dialog/index.tsx +36 -42
- package/badge/index.tsx +1 -1
- package/button/index.tsx +31 -30
- package/callout/index.tsx +4 -4
- package/checkbox/index.tsx +20 -85
- package/combobox/index.tsx +122 -316
- package/command-palette/index.tsx +51 -32
- package/dialog/index.tsx +28 -24
- package/dist/index.js +5 -5
- package/drawer/index.module.css +2 -2
- package/drawer/index.tsx +52 -130
- package/dropdown-menu/index.tsx +87 -95
- package/field/index.tsx +27 -86
- package/input/index.tsx +7 -3
- package/kbd/index.tsx +2 -2
- package/label/index.tsx +6 -8
- package/number-field/index.tsx +122 -173
- package/package.json +19 -11
- package/popover/index.tsx +61 -32
- package/radio-group/index.tsx +35 -38
- package/registry.json +64 -154
- package/select/index.tsx +141 -70
- package/switch/index.tsx +13 -6
- package/table/index.tsx +1 -2
- package/tabs/index.module.css +3 -3
- package/tabs/index.tsx +22 -76
- package/textarea/index.tsx +19 -7
- package/toast/index.module.css +187 -0
- package/toast/index.tsx +141 -46
- package/toggle/index.tsx +4 -3
- package/tokens.css +7 -1
- package/tooltip/index.tsx +61 -30
- package/utilities.css +11 -6
- package/accordion/AGENTS.md +0 -60
- package/alert-dialog/AGENTS.md +0 -78
- package/badge/AGENTS.md +0 -35
- package/button/AGENTS.md +0 -39
- package/callout/AGENTS.md +0 -37
- package/checkbox/AGENTS.md +0 -54
- package/combobox/AGENTS.md +0 -150
- package/command-palette/AGENTS.md +0 -41
- package/dialog/AGENTS.md +0 -81
- package/drawer/AGENTS.md +0 -66
- package/dropdown-menu/AGENTS.md +0 -133
- package/field/AGENTS.md +0 -92
- package/input/AGENTS.md +0 -35
- package/kbd/AGENTS.md +0 -17
- package/label/AGENTS.md +0 -21
- package/number-field/AGENTS.md +0 -49
- package/popover/AGENTS.md +0 -64
- package/radio-group/AGENTS.md +0 -81
- package/select/AGENTS.md +0 -90
- package/switch/AGENTS.md +0 -37
- package/table/AGENTS.md +0 -82
- package/tabs/AGENTS.md +0 -61
- package/test-utils.ts +0 -10
- package/textarea/AGENTS.md +0 -35
- package/toast/AGENTS.md +0 -34
- package/toggle/AGENTS.md +0 -37
- package/tooltip/AGENTS.md +0 -50
package/registry.json
CHANGED
|
@@ -29,15 +29,10 @@
|
|
|
29
29
|
{
|
|
30
30
|
"path": "accordion/index.module.css",
|
|
31
31
|
"type": "registry:ui"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"path": "accordion/AGENTS.md",
|
|
35
|
-
"type": "registry:file",
|
|
36
|
-
"target": "accordion/AGENTS.md"
|
|
37
32
|
}
|
|
38
33
|
],
|
|
39
34
|
"dependencies": [
|
|
40
|
-
"
|
|
35
|
+
"@base-ui/react"
|
|
41
36
|
],
|
|
42
37
|
"registryDependencies": [
|
|
43
38
|
"tv"
|
|
@@ -54,15 +49,10 @@
|
|
|
54
49
|
{
|
|
55
50
|
"path": "alert-dialog/index.tsx",
|
|
56
51
|
"type": "registry:ui"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"path": "alert-dialog/AGENTS.md",
|
|
60
|
-
"type": "registry:file",
|
|
61
|
-
"target": "alert-dialog/AGENTS.md"
|
|
62
52
|
}
|
|
63
53
|
],
|
|
64
54
|
"dependencies": [
|
|
65
|
-
"
|
|
55
|
+
"@base-ui/react"
|
|
66
56
|
],
|
|
67
57
|
"registryDependencies": [
|
|
68
58
|
"button",
|
|
@@ -81,18 +71,16 @@
|
|
|
81
71
|
{
|
|
82
72
|
"path": "badge/index.tsx",
|
|
83
73
|
"type": "registry:ui"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"path": "badge/AGENTS.md",
|
|
87
|
-
"type": "registry:file",
|
|
88
|
-
"target": "badge/AGENTS.md"
|
|
89
74
|
}
|
|
90
75
|
],
|
|
91
76
|
"registryDependencies": [
|
|
92
77
|
"tv"
|
|
93
78
|
],
|
|
94
79
|
"meta": {
|
|
95
|
-
"layer": "ui"
|
|
80
|
+
"layer": "ui",
|
|
81
|
+
"sizes": [
|
|
82
|
+
"Badge"
|
|
83
|
+
]
|
|
96
84
|
}
|
|
97
85
|
},
|
|
98
86
|
{
|
|
@@ -103,18 +91,19 @@
|
|
|
103
91
|
{
|
|
104
92
|
"path": "button/index.tsx",
|
|
105
93
|
"type": "registry:ui"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"path": "button/AGENTS.md",
|
|
109
|
-
"type": "registry:file",
|
|
110
|
-
"target": "button/AGENTS.md"
|
|
111
94
|
}
|
|
112
95
|
],
|
|
96
|
+
"dependencies": [
|
|
97
|
+
"@base-ui/react"
|
|
98
|
+
],
|
|
113
99
|
"registryDependencies": [
|
|
114
100
|
"tv"
|
|
115
101
|
],
|
|
116
102
|
"meta": {
|
|
117
|
-
"layer": "ui"
|
|
103
|
+
"layer": "ui",
|
|
104
|
+
"sizes": [
|
|
105
|
+
"Button"
|
|
106
|
+
]
|
|
118
107
|
}
|
|
119
108
|
},
|
|
120
109
|
{
|
|
@@ -125,18 +114,16 @@
|
|
|
125
114
|
{
|
|
126
115
|
"path": "callout/index.tsx",
|
|
127
116
|
"type": "registry:ui"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"path": "callout/AGENTS.md",
|
|
131
|
-
"type": "registry:file",
|
|
132
|
-
"target": "callout/AGENTS.md"
|
|
133
117
|
}
|
|
134
118
|
],
|
|
135
119
|
"registryDependencies": [
|
|
136
120
|
"tv"
|
|
137
121
|
],
|
|
138
122
|
"meta": {
|
|
139
|
-
"layer": "ui"
|
|
123
|
+
"layer": "ui",
|
|
124
|
+
"sizes": [
|
|
125
|
+
"Callout"
|
|
126
|
+
]
|
|
140
127
|
}
|
|
141
128
|
},
|
|
142
129
|
{
|
|
@@ -147,15 +134,10 @@
|
|
|
147
134
|
{
|
|
148
135
|
"path": "checkbox/index.tsx",
|
|
149
136
|
"type": "registry:ui"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"path": "checkbox/AGENTS.md",
|
|
153
|
-
"type": "registry:file",
|
|
154
|
-
"target": "checkbox/AGENTS.md"
|
|
155
137
|
}
|
|
156
138
|
],
|
|
157
139
|
"dependencies": [
|
|
158
|
-
"
|
|
140
|
+
"@base-ui/react"
|
|
159
141
|
],
|
|
160
142
|
"registryDependencies": [
|
|
161
143
|
"tv"
|
|
@@ -172,15 +154,10 @@
|
|
|
172
154
|
{
|
|
173
155
|
"path": "combobox/index.tsx",
|
|
174
156
|
"type": "registry:ui"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"path": "combobox/AGENTS.md",
|
|
178
|
-
"type": "registry:file",
|
|
179
|
-
"target": "combobox/AGENTS.md"
|
|
180
157
|
}
|
|
181
158
|
],
|
|
182
159
|
"dependencies": [
|
|
183
|
-
"
|
|
160
|
+
"@base-ui/react"
|
|
184
161
|
],
|
|
185
162
|
"registryDependencies": [
|
|
186
163
|
"tv"
|
|
@@ -198,11 +175,6 @@
|
|
|
198
175
|
{
|
|
199
176
|
"path": "command-palette/index.tsx",
|
|
200
177
|
"type": "registry:ui"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"path": "command-palette/AGENTS.md",
|
|
204
|
-
"type": "registry:file",
|
|
205
|
-
"target": "command-palette/AGENTS.md"
|
|
206
178
|
}
|
|
207
179
|
],
|
|
208
180
|
"registryDependencies": [
|
|
@@ -222,15 +194,10 @@
|
|
|
222
194
|
{
|
|
223
195
|
"path": "dialog/index.tsx",
|
|
224
196
|
"type": "registry:ui"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"path": "dialog/AGENTS.md",
|
|
228
|
-
"type": "registry:file",
|
|
229
|
-
"target": "dialog/AGENTS.md"
|
|
230
197
|
}
|
|
231
198
|
],
|
|
232
199
|
"dependencies": [
|
|
233
|
-
"
|
|
200
|
+
"@base-ui/react"
|
|
234
201
|
],
|
|
235
202
|
"registryDependencies": [
|
|
236
203
|
"tv"
|
|
@@ -252,15 +219,10 @@
|
|
|
252
219
|
{
|
|
253
220
|
"path": "drawer/index.module.css",
|
|
254
221
|
"type": "registry:ui"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"path": "drawer/AGENTS.md",
|
|
258
|
-
"type": "registry:file",
|
|
259
|
-
"target": "drawer/AGENTS.md"
|
|
260
222
|
}
|
|
261
223
|
],
|
|
262
224
|
"dependencies": [
|
|
263
|
-
"
|
|
225
|
+
"@base-ui/react"
|
|
264
226
|
],
|
|
265
227
|
"registryDependencies": [
|
|
266
228
|
"tv"
|
|
@@ -277,22 +239,23 @@
|
|
|
277
239
|
{
|
|
278
240
|
"path": "dropdown-menu/index.tsx",
|
|
279
241
|
"type": "registry:ui"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"path": "dropdown-menu/AGENTS.md",
|
|
283
|
-
"type": "registry:file",
|
|
284
|
-
"target": "dropdown-menu/AGENTS.md"
|
|
285
242
|
}
|
|
286
243
|
],
|
|
287
244
|
"dependencies": [
|
|
288
|
-
"
|
|
245
|
+
"@base-ui/react"
|
|
289
246
|
],
|
|
290
247
|
"registryDependencies": [
|
|
291
248
|
"tv"
|
|
292
249
|
],
|
|
293
250
|
"meta": {
|
|
294
251
|
"layer": "ui",
|
|
295
|
-
"radius": "rounded-r12"
|
|
252
|
+
"radius": "rounded-r12",
|
|
253
|
+
"sizes": [
|
|
254
|
+
"DropdownMenuItem",
|
|
255
|
+
"DropdownMenuCheckboxItem",
|
|
256
|
+
"DropdownMenuRadioItem",
|
|
257
|
+
"DropdownMenuSubTrigger"
|
|
258
|
+
]
|
|
296
259
|
}
|
|
297
260
|
},
|
|
298
261
|
{
|
|
@@ -303,13 +266,11 @@
|
|
|
303
266
|
{
|
|
304
267
|
"path": "field/index.tsx",
|
|
305
268
|
"type": "registry:ui"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"path": "field/AGENTS.md",
|
|
309
|
-
"type": "registry:file",
|
|
310
|
-
"target": "field/AGENTS.md"
|
|
311
269
|
}
|
|
312
270
|
],
|
|
271
|
+
"dependencies": [
|
|
272
|
+
"@base-ui/react"
|
|
273
|
+
],
|
|
313
274
|
"registryDependencies": [
|
|
314
275
|
"label",
|
|
315
276
|
"tv"
|
|
@@ -326,13 +287,11 @@
|
|
|
326
287
|
{
|
|
327
288
|
"path": "input/index.tsx",
|
|
328
289
|
"type": "registry:ui"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"path": "input/AGENTS.md",
|
|
332
|
-
"type": "registry:file",
|
|
333
|
-
"target": "input/AGENTS.md"
|
|
334
290
|
}
|
|
335
291
|
],
|
|
292
|
+
"dependencies": [
|
|
293
|
+
"@base-ui/react"
|
|
294
|
+
],
|
|
336
295
|
"registryDependencies": [
|
|
337
296
|
"tv"
|
|
338
297
|
],
|
|
@@ -348,11 +307,6 @@
|
|
|
348
307
|
{
|
|
349
308
|
"path": "kbd/index.tsx",
|
|
350
309
|
"type": "registry:ui"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
"path": "kbd/AGENTS.md",
|
|
354
|
-
"type": "registry:file",
|
|
355
|
-
"target": "kbd/AGENTS.md"
|
|
356
310
|
}
|
|
357
311
|
],
|
|
358
312
|
"registryDependencies": [
|
|
@@ -370,16 +324,8 @@
|
|
|
370
324
|
{
|
|
371
325
|
"path": "label/index.tsx",
|
|
372
326
|
"type": "registry:ui"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"path": "label/AGENTS.md",
|
|
376
|
-
"type": "registry:file",
|
|
377
|
-
"target": "label/AGENTS.md"
|
|
378
327
|
}
|
|
379
328
|
],
|
|
380
|
-
"dependencies": [
|
|
381
|
-
"radix-ui"
|
|
382
|
-
],
|
|
383
329
|
"registryDependencies": [
|
|
384
330
|
"tv"
|
|
385
331
|
],
|
|
@@ -395,13 +341,11 @@
|
|
|
395
341
|
{
|
|
396
342
|
"path": "number-field/index.tsx",
|
|
397
343
|
"type": "registry:ui"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"path": "number-field/AGENTS.md",
|
|
401
|
-
"type": "registry:file",
|
|
402
|
-
"target": "number-field/AGENTS.md"
|
|
403
344
|
}
|
|
404
345
|
],
|
|
346
|
+
"dependencies": [
|
|
347
|
+
"@base-ui/react"
|
|
348
|
+
],
|
|
405
349
|
"registryDependencies": [
|
|
406
350
|
"tv"
|
|
407
351
|
],
|
|
@@ -417,21 +361,17 @@
|
|
|
417
361
|
{
|
|
418
362
|
"path": "popover/index.tsx",
|
|
419
363
|
"type": "registry:ui"
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"path": "popover/AGENTS.md",
|
|
423
|
-
"type": "registry:file",
|
|
424
|
-
"target": "popover/AGENTS.md"
|
|
425
364
|
}
|
|
426
365
|
],
|
|
427
366
|
"dependencies": [
|
|
428
|
-
"
|
|
367
|
+
"@base-ui/react"
|
|
429
368
|
],
|
|
430
369
|
"registryDependencies": [
|
|
431
370
|
"tv"
|
|
432
371
|
],
|
|
433
372
|
"meta": {
|
|
434
|
-
"layer": "ui"
|
|
373
|
+
"layer": "ui",
|
|
374
|
+
"radius": "rounded-r16"
|
|
435
375
|
}
|
|
436
376
|
},
|
|
437
377
|
{
|
|
@@ -442,15 +382,10 @@
|
|
|
442
382
|
{
|
|
443
383
|
"path": "radio-group/index.tsx",
|
|
444
384
|
"type": "registry:ui"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"path": "radio-group/AGENTS.md",
|
|
448
|
-
"type": "registry:file",
|
|
449
|
-
"target": "radio-group/AGENTS.md"
|
|
450
385
|
}
|
|
451
386
|
],
|
|
452
387
|
"dependencies": [
|
|
453
|
-
"
|
|
388
|
+
"@base-ui/react"
|
|
454
389
|
],
|
|
455
390
|
"registryDependencies": [
|
|
456
391
|
"label",
|
|
@@ -468,15 +403,10 @@
|
|
|
468
403
|
{
|
|
469
404
|
"path": "select/index.tsx",
|
|
470
405
|
"type": "registry:ui"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"path": "select/AGENTS.md",
|
|
474
|
-
"type": "registry:file",
|
|
475
|
-
"target": "select/AGENTS.md"
|
|
476
406
|
}
|
|
477
407
|
],
|
|
478
408
|
"dependencies": [
|
|
479
|
-
"
|
|
409
|
+
"@base-ui/react"
|
|
480
410
|
],
|
|
481
411
|
"registryDependencies": [
|
|
482
412
|
"tv"
|
|
@@ -494,15 +424,10 @@
|
|
|
494
424
|
{
|
|
495
425
|
"path": "switch/index.tsx",
|
|
496
426
|
"type": "registry:ui"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"path": "switch/AGENTS.md",
|
|
500
|
-
"type": "registry:file",
|
|
501
|
-
"target": "switch/AGENTS.md"
|
|
502
427
|
}
|
|
503
428
|
],
|
|
504
429
|
"dependencies": [
|
|
505
|
-
"
|
|
430
|
+
"@base-ui/react"
|
|
506
431
|
],
|
|
507
432
|
"registryDependencies": [
|
|
508
433
|
"tv"
|
|
@@ -519,11 +444,6 @@
|
|
|
519
444
|
{
|
|
520
445
|
"path": "table/index.tsx",
|
|
521
446
|
"type": "registry:ui"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"path": "table/AGENTS.md",
|
|
525
|
-
"type": "registry:file",
|
|
526
|
-
"target": "table/AGENTS.md"
|
|
527
447
|
}
|
|
528
448
|
],
|
|
529
449
|
"registryDependencies": [
|
|
@@ -545,21 +465,19 @@
|
|
|
545
465
|
{
|
|
546
466
|
"path": "tabs/index.module.css",
|
|
547
467
|
"type": "registry:ui"
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
"path": "tabs/AGENTS.md",
|
|
551
|
-
"type": "registry:file",
|
|
552
|
-
"target": "tabs/AGENTS.md"
|
|
553
468
|
}
|
|
554
469
|
],
|
|
555
470
|
"dependencies": [
|
|
556
|
-
"
|
|
471
|
+
"@base-ui/react"
|
|
557
472
|
],
|
|
558
473
|
"registryDependencies": [
|
|
559
474
|
"tv"
|
|
560
475
|
],
|
|
561
476
|
"meta": {
|
|
562
|
-
"layer": "ui"
|
|
477
|
+
"layer": "ui",
|
|
478
|
+
"sizes": [
|
|
479
|
+
"TabsTrigger"
|
|
480
|
+
]
|
|
563
481
|
}
|
|
564
482
|
},
|
|
565
483
|
{
|
|
@@ -570,13 +488,11 @@
|
|
|
570
488
|
{
|
|
571
489
|
"path": "textarea/index.tsx",
|
|
572
490
|
"type": "registry:ui"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
"path": "textarea/AGENTS.md",
|
|
576
|
-
"type": "registry:file",
|
|
577
|
-
"target": "textarea/AGENTS.md"
|
|
578
491
|
}
|
|
579
492
|
],
|
|
493
|
+
"dependencies": [
|
|
494
|
+
"@base-ui/react"
|
|
495
|
+
],
|
|
580
496
|
"registryDependencies": [
|
|
581
497
|
"tv"
|
|
582
498
|
],
|
|
@@ -594,19 +510,20 @@
|
|
|
594
510
|
"type": "registry:ui"
|
|
595
511
|
},
|
|
596
512
|
{
|
|
597
|
-
"path": "toast/
|
|
598
|
-
"type": "registry:
|
|
599
|
-
"target": "toast/AGENTS.md"
|
|
513
|
+
"path": "toast/index.module.css",
|
|
514
|
+
"type": "registry:ui"
|
|
600
515
|
}
|
|
601
516
|
],
|
|
602
517
|
"dependencies": [
|
|
603
|
-
"
|
|
518
|
+
"@base-ui/react"
|
|
604
519
|
],
|
|
605
520
|
"registryDependencies": [
|
|
521
|
+
"button",
|
|
606
522
|
"tv"
|
|
607
523
|
],
|
|
608
524
|
"meta": {
|
|
609
|
-
"layer": "ui"
|
|
525
|
+
"layer": "ui",
|
|
526
|
+
"radius": "rounded-r8"
|
|
610
527
|
}
|
|
611
528
|
},
|
|
612
529
|
{
|
|
@@ -617,21 +534,19 @@
|
|
|
617
534
|
{
|
|
618
535
|
"path": "toggle/index.tsx",
|
|
619
536
|
"type": "registry:ui"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"path": "toggle/AGENTS.md",
|
|
623
|
-
"type": "registry:file",
|
|
624
|
-
"target": "toggle/AGENTS.md"
|
|
625
537
|
}
|
|
626
538
|
],
|
|
627
539
|
"dependencies": [
|
|
628
|
-
"
|
|
540
|
+
"@base-ui/react"
|
|
629
541
|
],
|
|
630
542
|
"registryDependencies": [
|
|
631
543
|
"tv"
|
|
632
544
|
],
|
|
633
545
|
"meta": {
|
|
634
|
-
"layer": "ui"
|
|
546
|
+
"layer": "ui",
|
|
547
|
+
"sizes": [
|
|
548
|
+
"Toggle"
|
|
549
|
+
]
|
|
635
550
|
}
|
|
636
551
|
},
|
|
637
552
|
{
|
|
@@ -642,15 +557,10 @@
|
|
|
642
557
|
{
|
|
643
558
|
"path": "tooltip/index.tsx",
|
|
644
559
|
"type": "registry:ui"
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
"path": "tooltip/AGENTS.md",
|
|
648
|
-
"type": "registry:file",
|
|
649
|
-
"target": "tooltip/AGENTS.md"
|
|
650
560
|
}
|
|
651
561
|
],
|
|
652
562
|
"dependencies": [
|
|
653
|
-
"
|
|
563
|
+
"@base-ui/react"
|
|
654
564
|
],
|
|
655
565
|
"registryDependencies": [
|
|
656
566
|
"tv"
|