@alexgorbatchev/shadcn 0.0.84 → 0.0.86

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 (31) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-kk558p5p.js → chunk-8cxqbmh5.js} +364 -217
  3. package/dist/{chunk-w8hgwhgc.js → chunk-e6mnfecj.js} +1 -1
  4. package/dist/{chunk-5jtbr6q4.js → chunk-nj2shejq.js} +1 -1
  5. package/dist/{chunk-xhq6s4z7.js → chunk-qn4a3gg4.js} +4 -2
  6. package/dist/{chunk-4r1fne02.js → chunk-tpesmyp0.js} +1 -1
  7. package/dist/{chunk-tmt6rwg1.js → chunk-wnkxd9km.js} +1 -1
  8. package/dist/{chunk-ya14cv0r.js → chunk-z6kyewpg.js} +1 -1
  9. package/dist/components/StarRating.d.ts +14 -2
  10. package/dist/components/Table.d.ts +8 -2
  11. package/dist/components/ToolbarToggleChip.d.ts +39 -0
  12. package/dist/components/assistant-ui/elements/DataTable.js +2 -2
  13. package/dist/components/assistant-ui/elements/RegenerateMenu.js +2 -2
  14. package/dist/components/assistant-ui/index.js +4 -4
  15. package/dist/components/data-grid/index.js +2 -2
  16. package/dist/components/gantt/index.js +1 -1
  17. package/dist/components/json-render/index.js +3 -3
  18. package/dist/components/resizable/SplitView.d.ts +4 -2
  19. package/dist/components/resizable/index.js +26 -1
  20. package/dist/components/virtual-data-grid/index.js +3 -3
  21. package/dist/components/virtual-table/index.js +2 -2
  22. package/dist/index.d.ts +2 -0
  23. package/dist/index.js +5 -3
  24. package/dist/prototype.js +1 -1
  25. package/llms/components/actions/ToolbarToggleChip.md +105 -0
  26. package/llms/components/data-display/Table.md +23 -0
  27. package/llms/components/forms/StarRating.md +26 -0
  28. package/llms/components/layout/SplitView.md +16 -0
  29. package/llms/setup.md +1 -1
  30. package/llms.txt +1 -0
  31. package/package.json +1 -1
package/README.md CHANGED
@@ -452,7 +452,7 @@ Keep preferred widths separate from the table's rendered sizing atom. In `onFitW
452
452
 
453
453
  `ActionsMenu` shares one `items` definition between a dropdown action and an optional context menu. Supply an accessible `label`; the default trigger is a ghost icon button. `size="sm"` displays the label, and `variant`, `disabled`, and `trigger` customize the action. Supplying `contextTarget` composes the native context trigger with that element and adds its popup. Compose items with `MenuItem`, `MenuLinkItem`, checkbox/radio parts, groups, labels, separators, shortcuts, and submenu parts; dropdown and context menus share these implementations. `MenuLinkItem` retains its native anchor and menu keyboard semantics.
454
454
 
455
- Menus never scroll. `DropdownMenuContent`, `ContextMenuContent`, and submenu content carry `data-scroll="none"`, so the development `ScrollGuard` reports a menu whose content outgrows the viewport; shorten it, for example by grouping items under submenus, instead of letting it scroll. A list longer than a menu should show belongs in a filterable menu: wrap the menu or submenu root in `MenuFilterProvider`, put `MenuInput` at the top of its content, its items in `MenuList`, and an optional `MenuEmpty` message after them. Typing narrows the items while the arrow keys keep moving among them. Pass `filter={null}` with a controlled `value` and `onValueChange` to render the matching items yourself, for example only as many as fit.
455
+ Menus never scroll. A menu or submenu flips to the side of its trigger with room and, when neither side has room, shifts along it, over its trigger if it must, until it lies wholly inside the viewport. `DropdownMenuContent`, `ContextMenuContent`, and submenu content carry `data-scroll="none"`, so the development `ScrollGuard` reports a menu taller than the viewport; shorten it, for example by grouping items under submenus, instead of letting it scroll. A list longer than a menu should show belongs in a filterable menu: wrap the menu or submenu root in `MenuFilterProvider`, put `MenuInput` at the top of its content, its items in `MenuList`, and an optional `MenuEmpty` message after them. Typing narrows the items while the arrow keys keep moving among them. Pass `filter={null}` with a controlled `value` and `onValueChange` to render the matching items yourself, for example only as many as fit.
456
456
 
457
457
  One menu instance can serve a whole list: open it through a `DropdownMenu` `handle` with each row's payload, and pass `point={{ clientX: event.clientX, clientY: event.clientY }}` to `DropdownMenuContent` when a right-click opened it, so it opens at the pointer instead of at the row's trigger. At a point the menu's top start corner sits on the pointer; near the viewport's edges it flips to the side with room and then shifts until it lies wholly inside the viewport. Leave `point` unset for keyboard and trigger opens, which anchor to their trigger.
458
458