@psnext/design-system 2.6.0 → 2.7.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.
Files changed (281) hide show
  1. package/DESIGN.md +4 -4
  2. package/dist/Logo.cjs +322 -315
  3. package/dist/Logo.cjs.map +1 -1
  4. package/dist/Logo.js +322 -315
  5. package/dist/Logo.js.map +1 -1
  6. package/dist/Mosaic.cjs +72 -15
  7. package/dist/Mosaic.cjs.map +1 -1
  8. package/dist/Mosaic.js +72 -15
  9. package/dist/Mosaic.js.map +1 -1
  10. package/dist/index.d.cts +5 -5
  11. package/dist/index.d.ts +5 -5
  12. package/dist/index10.d.cts +7 -7
  13. package/dist/index10.d.cts.map +1 -1
  14. package/dist/index10.d.ts +6 -6
  15. package/dist/index11.d.cts +3 -3
  16. package/dist/index11.d.cts.map +1 -1
  17. package/dist/index11.d.ts +3 -3
  18. package/dist/index12.d.cts +11 -11
  19. package/dist/index12.d.ts +12 -12
  20. package/dist/index12.d.ts.map +1 -1
  21. package/dist/index13.d.cts +6 -6
  22. package/dist/index13.d.ts +6 -6
  23. package/dist/index13.d.ts.map +1 -1
  24. package/dist/index14.d.cts +5 -5
  25. package/dist/index14.d.cts.map +1 -1
  26. package/dist/index14.d.ts +5 -5
  27. package/dist/index15.d.cts +2 -2
  28. package/dist/index15.d.ts +2 -2
  29. package/dist/index16.d.cts +3 -3
  30. package/dist/index16.d.cts.map +1 -1
  31. package/dist/index16.d.ts +3 -3
  32. package/dist/index16.d.ts.map +1 -1
  33. package/dist/index17.d.cts +2 -2
  34. package/dist/index17.d.ts +2 -2
  35. package/dist/index18.d.cts +4 -4
  36. package/dist/index18.d.cts.map +1 -1
  37. package/dist/index18.d.ts +4 -4
  38. package/dist/index19.d.cts +11 -11
  39. package/dist/index19.d.cts.map +1 -1
  40. package/dist/index19.d.ts +11 -11
  41. package/dist/index2.d.cts +8 -8
  42. package/dist/index2.d.ts +8 -8
  43. package/dist/index2.d.ts.map +1 -1
  44. package/dist/index20.d.cts +10 -10
  45. package/dist/index20.d.ts +10 -10
  46. package/dist/index21.d.cts +8 -8
  47. package/dist/index21.d.ts +8 -8
  48. package/dist/index22.d.cts +16 -11
  49. package/dist/index22.d.cts.map +1 -1
  50. package/dist/index22.d.ts +16 -11
  51. package/dist/index22.d.ts.map +1 -1
  52. package/dist/index23.d.cts +16 -16
  53. package/dist/index23.d.cts.map +1 -1
  54. package/dist/index23.d.ts +16 -16
  55. package/dist/index24.d.cts +4 -4
  56. package/dist/index24.d.cts.map +1 -1
  57. package/dist/index24.d.ts +4 -4
  58. package/dist/index25.d.cts +11 -11
  59. package/dist/index25.d.cts.map +1 -1
  60. package/dist/index25.d.ts +11 -11
  61. package/dist/index26.d.cts +16 -16
  62. package/dist/index26.d.cts.map +1 -1
  63. package/dist/index26.d.ts +16 -16
  64. package/dist/index26.d.ts.map +1 -1
  65. package/dist/index27.d.cts +10 -10
  66. package/dist/index27.d.cts.map +1 -1
  67. package/dist/index27.d.ts +10 -10
  68. package/dist/index28.d.cts +2 -2
  69. package/dist/index28.d.cts.map +1 -1
  70. package/dist/index28.d.ts +2 -2
  71. package/dist/index28.d.ts.map +1 -1
  72. package/dist/index29.d.cts +14 -14
  73. package/dist/index29.d.cts.map +1 -1
  74. package/dist/index29.d.ts +13 -13
  75. package/dist/index29.d.ts.map +1 -1
  76. package/dist/index3.d.cts +13 -13
  77. package/dist/index3.d.cts.map +1 -1
  78. package/dist/index3.d.ts +13 -13
  79. package/dist/index30.d.cts +2 -2
  80. package/dist/index30.d.ts +2 -2
  81. package/dist/index30.d.ts.map +1 -1
  82. package/dist/index31.d.cts +7 -7
  83. package/dist/index31.d.ts +7 -7
  84. package/dist/index31.d.ts.map +1 -1
  85. package/dist/index32.d.cts +4 -4
  86. package/dist/index32.d.cts.map +1 -1
  87. package/dist/index32.d.ts +5 -5
  88. package/dist/index32.d.ts.map +1 -1
  89. package/dist/index33.d.cts +4 -4
  90. package/dist/index33.d.ts +4 -4
  91. package/dist/index34.d.cts +6 -6
  92. package/dist/index34.d.cts.map +1 -1
  93. package/dist/index34.d.ts +5 -5
  94. package/dist/index34.d.ts.map +1 -1
  95. package/dist/index35.d.cts +5 -5
  96. package/dist/index35.d.cts.map +1 -1
  97. package/dist/index35.d.ts +4 -4
  98. package/dist/index36.d.cts +5 -5
  99. package/dist/index36.d.cts.map +1 -1
  100. package/dist/index36.d.ts +5 -5
  101. package/dist/index36.d.ts.map +1 -1
  102. package/dist/index37.d.cts +11 -11
  103. package/dist/index37.d.cts.map +1 -1
  104. package/dist/index37.d.ts +10 -10
  105. package/dist/index38.d.cts +5 -5
  106. package/dist/index38.d.cts.map +1 -1
  107. package/dist/index38.d.ts +5 -5
  108. package/dist/index39.d.cts +17 -17
  109. package/dist/index39.d.cts.map +1 -1
  110. package/dist/index39.d.ts +16 -16
  111. package/dist/index39.d.ts.map +1 -1
  112. package/dist/index4.d.cts +2 -2
  113. package/dist/index4.d.ts +2 -2
  114. package/dist/index40.d.cts +3 -3
  115. package/dist/index40.d.ts +3 -3
  116. package/dist/index40.d.ts.map +1 -1
  117. package/dist/index41.d.cts +4 -4
  118. package/dist/index41.d.cts.map +1 -1
  119. package/dist/index41.d.ts +4 -4
  120. package/dist/index41.d.ts.map +1 -1
  121. package/dist/index42.d.cts +3 -2
  122. package/dist/index42.d.cts.map +1 -1
  123. package/dist/index42.d.ts +3 -2
  124. package/dist/index42.d.ts.map +1 -1
  125. package/dist/index43.d.cts +17 -17
  126. package/dist/index43.d.ts +17 -17
  127. package/dist/index43.d.ts.map +1 -1
  128. package/dist/index44.d.cts +77 -11
  129. package/dist/index44.d.cts.map +1 -1
  130. package/dist/index44.d.ts +77 -11
  131. package/dist/index44.d.ts.map +1 -1
  132. package/dist/index45.d.cts +5 -5
  133. package/dist/index45.d.cts.map +1 -1
  134. package/dist/index45.d.ts +5 -5
  135. package/dist/index45.d.ts.map +1 -1
  136. package/dist/index46.d.cts +11 -11
  137. package/dist/index46.d.cts.map +1 -1
  138. package/dist/index46.d.ts +11 -11
  139. package/dist/index46.d.ts.map +1 -1
  140. package/dist/index47.d.cts +9 -9
  141. package/dist/index47.d.cts.map +1 -1
  142. package/dist/index47.d.ts +9 -9
  143. package/dist/index47.d.ts.map +1 -1
  144. package/dist/index49.d.cts +2 -2
  145. package/dist/index49.d.ts +2 -2
  146. package/dist/index5.d.cts +7 -7
  147. package/dist/index5.d.cts.map +1 -1
  148. package/dist/index5.d.ts +7 -7
  149. package/dist/index50.d.cts +8 -8
  150. package/dist/index50.d.ts +8 -8
  151. package/dist/index50.d.ts.map +1 -1
  152. package/dist/index51.d.cts +2 -2
  153. package/dist/index51.d.ts +2 -2
  154. package/dist/index51.d.ts.map +1 -1
  155. package/dist/index52.d.cts +4 -4
  156. package/dist/index52.d.ts +4 -4
  157. package/dist/index52.d.ts.map +1 -1
  158. package/dist/index53.d.cts +4 -4
  159. package/dist/index53.d.cts.map +1 -1
  160. package/dist/index53.d.ts +4 -4
  161. package/dist/index53.d.ts.map +1 -1
  162. package/dist/index54.d.cts +3 -3
  163. package/dist/index54.d.cts.map +1 -1
  164. package/dist/index54.d.ts +3 -3
  165. package/dist/index54.d.ts.map +1 -1
  166. package/dist/index55.d.cts +11 -11
  167. package/dist/index55.d.ts +11 -11
  168. package/dist/index55.d.ts.map +1 -1
  169. package/dist/index56.d.cts +9 -9
  170. package/dist/index56.d.cts.map +1 -1
  171. package/dist/index56.d.ts +9 -9
  172. package/dist/index56.d.ts.map +1 -1
  173. package/dist/index57.d.cts +5 -5
  174. package/dist/index57.d.cts.map +1 -1
  175. package/dist/index57.d.ts +5 -5
  176. package/dist/index57.d.ts.map +1 -1
  177. package/dist/index58.d.cts +25 -25
  178. package/dist/index58.d.cts.map +1 -1
  179. package/dist/index58.d.ts +27 -27
  180. package/dist/index58.d.ts.map +1 -1
  181. package/dist/index59.d.cts +5 -5
  182. package/dist/index59.d.ts +5 -5
  183. package/dist/index59.d.ts.map +1 -1
  184. package/dist/index6.d.cts +5 -5
  185. package/dist/index6.d.cts.map +1 -1
  186. package/dist/index6.d.ts +5 -5
  187. package/dist/index6.d.ts.map +1 -1
  188. package/dist/index60.d.cts +2 -2
  189. package/dist/index60.d.ts +2 -2
  190. package/dist/index60.d.ts.map +1 -1
  191. package/dist/index61.d.cts +2 -2
  192. package/dist/index61.d.cts.map +1 -1
  193. package/dist/index61.d.ts +2 -2
  194. package/dist/index61.d.ts.map +1 -1
  195. package/dist/index62.d.cts +2 -2
  196. package/dist/index62.d.cts.map +1 -1
  197. package/dist/index62.d.ts +2 -2
  198. package/dist/index62.d.ts.map +1 -1
  199. package/dist/index63.d.cts +4 -4
  200. package/dist/index63.d.ts +4 -4
  201. package/dist/index63.d.ts.map +1 -1
  202. package/dist/index64.d.cts +9 -9
  203. package/dist/index64.d.ts +9 -9
  204. package/dist/index64.d.ts.map +1 -1
  205. package/dist/index65.d.cts +10 -10
  206. package/dist/index65.d.cts.map +1 -1
  207. package/dist/index65.d.ts +11 -11
  208. package/dist/index66.d.cts +6 -6
  209. package/dist/index66.d.cts.map +1 -1
  210. package/dist/index66.d.ts +7 -7
  211. package/dist/index66.d.ts.map +1 -1
  212. package/dist/index67.d.cts +4 -4
  213. package/dist/index67.d.ts +4 -4
  214. package/dist/index67.d.ts.map +1 -1
  215. package/dist/index68.d.cts +2 -2
  216. package/dist/index68.d.cts.map +1 -1
  217. package/dist/index68.d.ts +2 -2
  218. package/dist/index68.d.ts.map +1 -1
  219. package/dist/index69.d.cts +5 -5
  220. package/dist/index69.d.ts +5 -5
  221. package/dist/index69.d.ts.map +1 -1
  222. package/dist/index7.d.cts +8 -8
  223. package/dist/index7.d.cts.map +1 -1
  224. package/dist/index7.d.ts +8 -8
  225. package/dist/index7.d.ts.map +1 -1
  226. package/dist/index70.d.cts +3 -3
  227. package/dist/index70.d.ts +3 -3
  228. package/dist/index70.d.ts.map +1 -1
  229. package/dist/index71.d.cts +4 -4
  230. package/dist/index71.d.ts +4 -4
  231. package/dist/index72.d.cts +7 -7
  232. package/dist/index72.d.cts.map +1 -1
  233. package/dist/index72.d.ts +7 -7
  234. package/dist/index72.d.ts.map +1 -1
  235. package/dist/index73.d.cts +2 -2
  236. package/dist/index73.d.cts.map +1 -1
  237. package/dist/index73.d.ts +2 -2
  238. package/dist/index74.d.cts +8 -8
  239. package/dist/index74.d.cts.map +1 -1
  240. package/dist/index74.d.ts +7 -7
  241. package/dist/index74.d.ts.map +1 -1
  242. package/dist/index75.d.cts +7 -7
  243. package/dist/index75.d.cts.map +1 -1
  244. package/dist/index75.d.ts +7 -7
  245. package/dist/index75.d.ts.map +1 -1
  246. package/dist/index76.d.cts +2 -2
  247. package/dist/index76.d.ts +2 -2
  248. package/dist/index77.d.cts +8 -8
  249. package/dist/index77.d.ts +8 -8
  250. package/dist/index77.d.ts.map +1 -1
  251. package/dist/index8.d.cts +4 -4
  252. package/dist/index8.d.cts.map +1 -1
  253. package/dist/index8.d.ts +4 -4
  254. package/dist/index9.d.cts +2 -2
  255. package/dist/index9.d.cts.map +1 -1
  256. package/dist/index9.d.ts +2 -2
  257. package/dist/index9.d.ts.map +1 -1
  258. package/dist/patterns/DataTable/index.d.cts +3 -3
  259. package/dist/patterns/DataTable/index.d.cts.map +1 -1
  260. package/dist/patterns/DataTable/index.d.ts +3 -3
  261. package/dist/patterns/DataTable/index.d.ts.map +1 -1
  262. package/dist/patterns/Footer/index.d.cts +7 -7
  263. package/dist/patterns/Footer/index.d.ts +7 -7
  264. package/dist/patterns/Footer/index.d.ts.map +1 -1
  265. package/dist/patterns/MediaObject/index.d.cts +12 -12
  266. package/dist/patterns/MediaObject/index.d.cts.map +1 -1
  267. package/dist/patterns/MediaObject/index.d.ts +12 -12
  268. package/dist/patterns/MediaObject/index.d.ts.map +1 -1
  269. package/dist/patterns/SectionCard/index.d.cts +2 -2
  270. package/dist/patterns/SectionCard/index.d.ts +2 -2
  271. package/dist/patterns/SectionCard/index.d.ts.map +1 -1
  272. package/dist/patterns/SectionHeading/index.d.cts +2 -2
  273. package/dist/patterns/SectionHeading/index.d.ts +2 -2
  274. package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
  275. package/dist/primitives/Combobox/index.cjs.map +1 -1
  276. package/dist/primitives/Combobox/index.js.map +1 -1
  277. package/dist/primitives/Mosaic/index.d.cts +2 -2
  278. package/dist/primitives/Mosaic/index.d.ts +2 -2
  279. package/dist/primitives/index.d.cts +2 -2
  280. package/dist/primitives/index.d.ts +2 -2
  281. package/package.json +1 -1
package/DESIGN.md CHANGED
@@ -372,8 +372,8 @@ translucent+blurred with no border, and needs a textured layer behind it
372
372
 
373
373
  ### Combobox
374
374
  - **Exports**: Combobox, ComboboxTrigger, ComboboxContent, ComboboxInput, ComboboxList, ComboboxEmpty, ComboboxGroup, ComboboxItem, ComboboxSeparator
375
- - **Custom props**: Combobox `value`/`defaultValue`/`onValueChange` + `open`/`defaultOpen`/`onOpenChange` (controlled or uncontrolled, closes on select); ComboboxTrigger `label` (muted `label:` prefix), `placeholder`, `children` (display override for e.g. an initially-selected label); ComboboxContent forwards cmdk `filter`/`shouldFilter`/`loop`; ComboboxItem `value` (required, reported on select), `keywords` (search terms; defaults to item text).
376
- - **Notes**: Searchable single-select dropdown (shadcn combobox recipe) on `Popover`+`Command`, styled like the Header project picker (pill trigger, bordered search above the list, check on the chosen row). Search matches item text, not `value`. The trigger shows the chosen item's label once items have mounted; for an initially-selected value pass the label as trigger `children`.
375
+ - **Custom props**: Combobox `value`/`defaultValue`/`onValueChange` + `open`/`defaultOpen`/`onOpenChange` (controlled or uncontrolled, closes on select), `modal` (forwarded to the Popover root); ComboboxTrigger `label` (muted `label:` prefix), `placeholder`, `children` (display override for e.g. an initially-selected label); ComboboxContent forwards cmdk `filter`/`shouldFilter`/`loop`; ComboboxItem `value` (required, reported on select), `keywords` (search terms; defaults to item text).
376
+ - **Notes**: Searchable single-select dropdown (shadcn combobox recipe) on `Popover`+`Command`, styled like the Header project picker (pill trigger, bordered search above the list, check on the chosen row). Search matches item text, not `value`. The trigger shows the chosen item's label once items have mounted; for an initially-selected value pass the label as trigger `children`. Inside a modal `Dialog`, pass `modal` on the Combobox root — the dropdown portals outside the dialog, and without it the dialog's scroll lock blocks wheel/trackpad scrolling in the list (scrollbar dragging still works, so the bug is easy to miss).
377
377
 
378
378
  ### Command
379
379
  - **Exports**: Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator
@@ -589,8 +589,8 @@ variant with paint classes (SKILL.md → "Never re-skin a variant").
589
589
  - **Notes**: Radix Menubar; content self-portals; auto-indents plain items when checkbox/radio items present.
590
590
 
591
591
  ### Mosaic
592
- - **Exports**: Mosaic, MosaicWindow, MosaicProps (type), MosaicWindowProps (type), and tree types re-exported from Mosaic.utils: MosaicNode, MosaicParent, MosaicKey, MosaicDirection, MosaicPath, DropZone
593
- - **Custom props**: `value` / `defaultValue` — the pane tree, controlled or uncontrolled (`MosaicNode<T>` = leaf id `T` or `{ direction: "row" | "column", first, second, splitPercentage? }`); `onChange` — fires with the updated tree after resize/split/remove/drag (no strict veto); `renderTile` — renders a leaf's content (required); `renderTitle` — pane toolbar title (default `String(id)`); `renderControls` — extra toolbar actions after split/remove; `createNode` — id factory for toolbar splits (required); `dragToRearrange` (default `true`); `dropZoneFraction` — edge-zone fraction 0–1 (default `0.25`); `minPaneSizePercentage` (default `10`); `emptyPlaceholder` — rendered when every pane is removed; `renamable` (default `false`) — pencil button + double-click title to rename a pane in place; `paneNames` / `defaultPaneNames` / `onPaneNamesChange` — custom pane names keyed by leaf id, controlled or uncontrolled.
592
+ - **Exports**: Mosaic, MosaicWindow, MosaicProps (type), MosaicToolbarVisibility (type), MosaicWindowProps (type), and tree types re-exported from Mosaic.utils: MosaicNode, MosaicParent, MosaicInputNode, MosaicInputParent, MosaicLeafObject, MosaicKey, MosaicDirection, MosaicPath, DropZone
593
+ - **Custom props**: `value` / `defaultValue` — the pane tree, controlled or uncontrolled (`MosaicNode<T>` = leaf id `T` or `{ direction: "row" | "column", first, second, splitPercentage? }`; leaves in `value`/`defaultValue` may also be `{ id }` objects (`MosaicInputNode<T>`), mixed freely with bare ids — extra keys are ignored, normalized to bare ids on the way in, and `onChange` always emits bare-id trees; `first`/`second` may also be blank — `null`/`undefined` or omitted in the input tree, normalized to `null` (what `onChange` emits) for an intentionally blank slot: space kept per `splitPercentage`, divider still resizes it, but no pane chrome renders and drags/splits can't target it); `onChange` — fires with the updated tree after resize/split/remove/drag (no strict veto); `renderTile` — renders a leaf's content (required); `renderTitle` — pane toolbar title (default `String(id)`); `renderControls` — extra toolbar actions after split/remove; `createNode` — id factory for toolbar splits (required); `dragToRearrange` (default `true`); `dropZoneFraction` — edge-zone fraction 0–1 (default `0.25`); `minPaneSizePercentage` (default `10`); `toolbarVisibility` (default `"always"`) — `"always" | "autohide" | "hidden"`: autohide overlays the toolbar on the pane content and fades it in on pane hover or keyboard focus; hidden removes toolbars entirely (drag/split/remove/rename unavailable — drive layout via the controlled `value`; divider resizing works in every mode); `emptyPlaceholder` — rendered when every pane is removed; `renamable` (default `false`) — pencil button + double-click title to rename a pane in place; `paneNames` / `defaultPaneNames` / `onPaneNamesChange` — custom pane names keyed by leaf id, controlled or uncontrolled.
594
594
  - **Notes**: Recursive tiling layout (react-mosaic-style) built on the DS Resizable panels: panes split into rows/columns, resize via draggable dividers, and rearrange by dragging a pane's title bar onto another pane's edge (splits there) or center (swaps). Every drag outcome is also reachable via each pane's keyboard-operable toolbar split/remove buttons. `useMosaic` is intentionally not exported — `MosaicWindow` is the supported extension point.
595
595
 
596
596
  ### NativeSelect