@alexgorbatchev/shadcn 0.0.41 → 0.0.42
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 +1 -1
- package/dist/{chunk-v0va5w5c.js → chunk-4stkzcvt.js} +549 -432
- package/dist/components/DataViewer.d.ts +16 -0
- package/dist/components/json-render/index.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -1
- package/dist/prototype.js +1 -1
- package/llms/components/data-display/DataViewer.md +90 -0
- package/llms/setup.md +1 -1
- package/llms.txt +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -398,7 +398,7 @@ The preview shows compact individual badges, up to five labels followed by `+N m
|
|
|
398
398
|
|
|
399
399
|
`useDropTarget().feedback` retains the last accepted MIME type, Alt modifier, and drop effect after leaving or dropping. Use this snapshot for hint content that remains visible during an exit animation; use `isOver` to control visibility and active highlighting. New accepted drag events update feedback immediately, including modifier changes. The live `type`, `isAlt`, and `effect` fields still describe the current hover.
|
|
400
400
|
|
|
401
|
-
`EmptyState` composes a title, description, and optional child actions. `JsonViewer` displays a read-only formatted JSON value with configurable `label` and `rows
|
|
401
|
+
`EmptyState` composes a title, description, and optional child actions. `DataViewer` presents JSON-compatible data for people: records become labelled terms, lists of plain values read on one line, lists of records are numbered, booleans read Yes or No, and missing or empty values read None or Empty. Keys become sentence-case labels with common acronyms (`track_id` reads "Track ID"); pass `formatLabel` to name domain keys, falling back to the exported `formatDataLabel`. `JsonViewer` displays a read-only formatted JSON value with configurable `label` and `rows` for people who need the JSON text itself.
|
|
402
402
|
|
|
403
403
|
# Devhost Preview
|
|
404
404
|
|