@ember-joinery/primitives 0.0.0-stage → 1.0.1

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 (485) hide show
  1. package/CHANGELOG.md +472 -0
  2. package/LICENSE.md +9 -0
  3. package/NOTICE +532 -0
  4. package/README.md +11 -2
  5. package/addon-main.cjs +4 -0
  6. package/declarations/-private/combobox-list.d.ts +59 -0
  7. package/declarations/-private/combobox-list.d.ts.map +1 -0
  8. package/declarations/-private/command-score.d.ts +33 -0
  9. package/declarations/-private/command-score.d.ts.map +1 -0
  10. package/declarations/-private/delay-group.d.ts +47 -0
  11. package/declarations/-private/delay-group.d.ts.map +1 -0
  12. package/declarations/-private/dialog.d.ts +180 -0
  13. package/declarations/-private/dialog.d.ts.map +1 -0
  14. package/declarations/-private/form-control.d.ts +70 -0
  15. package/declarations/-private/form-control.d.ts.map +1 -0
  16. package/declarations/-private/form-data.d.ts +14 -0
  17. package/declarations/-private/form-data.d.ts.map +1 -0
  18. package/declarations/-private/hover-intent.d.ts +48 -0
  19. package/declarations/-private/hover-intent.d.ts.map +1 -0
  20. package/declarations/-private/image-loading.d.ts +77 -0
  21. package/declarations/-private/image-loading.d.ts.map +1 -0
  22. package/declarations/-private/indicator.d.ts +27 -0
  23. package/declarations/-private/indicator.d.ts.map +1 -0
  24. package/declarations/-private/instances.d.ts +11 -0
  25. package/declarations/-private/instances.d.ts.map +1 -0
  26. package/declarations/-private/layout-styles.d.ts +34 -0
  27. package/declarations/-private/layout-styles.d.ts.map +1 -0
  28. package/declarations/-private/menu.d.ts +616 -0
  29. package/declarations/-private/menu.d.ts.map +1 -0
  30. package/declarations/-private/observers.d.ts +35 -0
  31. package/declarations/-private/observers.d.ts.map +1 -0
  32. package/declarations/-private/popper.d.ts +149 -0
  33. package/declarations/-private/popper.d.ts.map +1 -0
  34. package/declarations/-private/presence-chart.d.ts +39 -0
  35. package/declarations/-private/presence-chart.d.ts.map +1 -0
  36. package/declarations/-private/promise-state.d.ts +41 -0
  37. package/declarations/-private/promise-state.d.ts.map +1 -0
  38. package/declarations/-private/scroll-end.d.ts +16 -0
  39. package/declarations/-private/scroll-end.d.ts.map +1 -0
  40. package/declarations/-private/scroll-visibility.d.ts +68 -0
  41. package/declarations/-private/scroll-visibility.d.ts.map +1 -0
  42. package/declarations/-private/toast.d.ts +119 -0
  43. package/declarations/-private/toast.d.ts.map +1 -0
  44. package/declarations/-private/typeahead-search.d.ts +29 -0
  45. package/declarations/-private/typeahead-search.d.ts.map +1 -0
  46. package/declarations/accordion.d.ts +284 -0
  47. package/declarations/accordion.d.ts.map +1 -0
  48. package/declarations/alert-dialog.d.ts +80 -0
  49. package/declarations/alert-dialog.d.ts.map +1 -0
  50. package/declarations/anchor/component.d.ts +63 -0
  51. package/declarations/anchor/component.d.ts.map +1 -0
  52. package/declarations/anchor/index.d.ts +7 -0
  53. package/declarations/anchor/index.d.ts.map +1 -0
  54. package/declarations/anchor/middleware.d.ts +46 -0
  55. package/declarations/anchor/middleware.d.ts.map +1 -0
  56. package/declarations/anchor/modifier.d.ts +34 -0
  57. package/declarations/anchor/modifier.d.ts.map +1 -0
  58. package/declarations/anchor/options.d.ts +112 -0
  59. package/declarations/anchor/options.d.ts.map +1 -0
  60. package/declarations/anchor/position.d.ts +36 -0
  61. package/declarations/anchor/position.d.ts.map +1 -0
  62. package/declarations/anchor.d.ts +2 -0
  63. package/declarations/as.d.ts +33 -0
  64. package/declarations/as.d.ts.map +1 -0
  65. package/declarations/aspect-ratio.d.ts +34 -0
  66. package/declarations/aspect-ratio.d.ts.map +1 -0
  67. package/declarations/avatar.d.ts +178 -0
  68. package/declarations/avatar.d.ts.map +1 -0
  69. package/declarations/body-class.d.ts +30 -0
  70. package/declarations/body-class.d.ts.map +1 -0
  71. package/declarations/breadcrumb.d.ts +64 -0
  72. package/declarations/breadcrumb.d.ts.map +1 -0
  73. package/declarations/calendar/dates.d.ts +142 -0
  74. package/declarations/calendar/dates.d.ts.map +1 -0
  75. package/declarations/calendar/index.d.ts +59 -0
  76. package/declarations/calendar/index.d.ts.map +1 -0
  77. package/declarations/calendar/state.d.ts +415 -0
  78. package/declarations/calendar/state.d.ts.map +1 -0
  79. package/declarations/calendar.d.ts +3 -0
  80. package/declarations/checkbox.d.ts +71 -0
  81. package/declarations/checkbox.d.ts.map +1 -0
  82. package/declarations/collapsible.d.ts +216 -0
  83. package/declarations/collapsible.d.ts.map +1 -0
  84. package/declarations/color-scheme.d.ts +115 -0
  85. package/declarations/color-scheme.d.ts.map +1 -0
  86. package/declarations/combobox.d.ts +569 -0
  87. package/declarations/combobox.d.ts.map +1 -0
  88. package/declarations/command.d.ts +410 -0
  89. package/declarations/command.d.ts.map +1 -0
  90. package/declarations/context-menu.d.ts +155 -0
  91. package/declarations/context-menu.d.ts.map +1 -0
  92. package/declarations/controllable-state.d.ts +85 -0
  93. package/declarations/controllable-state.d.ts.map +1 -0
  94. package/declarations/dialog.d.ts +80 -0
  95. package/declarations/dialog.d.ts.map +1 -0
  96. package/declarations/direction.d.ts +55 -0
  97. package/declarations/direction.d.ts.map +1 -0
  98. package/declarations/dismiss.d.ts +111 -0
  99. package/declarations/dismiss.d.ts.map +1 -0
  100. package/declarations/dom-context.d.ts +74 -0
  101. package/declarations/dom-context.d.ts.map +1 -0
  102. package/declarations/drawer/controller.d.ts +174 -0
  103. package/declarations/drawer/controller.d.ts.map +1 -0
  104. package/declarations/drawer/index.d.ts +105 -0
  105. package/declarations/drawer/index.d.ts.map +1 -0
  106. package/declarations/drawer/machine.d.ts +139 -0
  107. package/declarations/drawer/machine.d.ts.map +1 -0
  108. package/declarations/drawer/parts.d.ts +85 -0
  109. package/declarations/drawer/parts.d.ts.map +1 -0
  110. package/declarations/drawer.d.ts +2 -0
  111. package/declarations/dropdown-menu.d.ts +169 -0
  112. package/declarations/dropdown-menu.d.ts.map +1 -0
  113. package/declarations/external-link.d.ts +26 -0
  114. package/declarations/external-link.d.ts.map +1 -0
  115. package/declarations/file-drop.d.ts +119 -0
  116. package/declarations/file-drop.d.ts.map +1 -0
  117. package/declarations/focus-scope.d.ts +105 -0
  118. package/declarations/focus-scope.d.ts.map +1 -0
  119. package/declarations/focus.d.ts +114 -0
  120. package/declarations/focus.d.ts.map +1 -0
  121. package/declarations/head.d.ts +20 -0
  122. package/declarations/head.d.ts.map +1 -0
  123. package/declarations/heading.d.ts +59 -0
  124. package/declarations/heading.d.ts.map +1 -0
  125. package/declarations/hero.d.ts +32 -0
  126. package/declarations/hero.d.ts.map +1 -0
  127. package/declarations/hide-others.d.ts +35 -0
  128. package/declarations/hide-others.d.ts.map +1 -0
  129. package/declarations/hover-card.d.ts +148 -0
  130. package/declarations/hover-card.d.ts.map +1 -0
  131. package/declarations/i18n.d.ts +47 -0
  132. package/declarations/i18n.d.ts.map +1 -0
  133. package/declarations/id.d.ts +15 -0
  134. package/declarations/id.d.ts.map +1 -0
  135. package/declarations/iframe.d.ts +12 -0
  136. package/declarations/iframe.d.ts.map +1 -0
  137. package/declarations/incremental-each.d.ts +81 -0
  138. package/declarations/incremental-each.d.ts.map +1 -0
  139. package/declarations/index.d.ts +108 -0
  140. package/declarations/index.d.ts.map +1 -0
  141. package/declarations/input-otp.d.ts +201 -0
  142. package/declarations/input-otp.d.ts.map +1 -0
  143. package/declarations/keys.d.ts +50 -0
  144. package/declarations/keys.d.ts.map +1 -0
  145. package/declarations/label.d.ts +36 -0
  146. package/declarations/label.d.ts.map +1 -0
  147. package/declarations/layer.d.ts +56 -0
  148. package/declarations/layer.d.ts.map +1 -0
  149. package/declarations/link-helper.d.ts +73 -0
  150. package/declarations/link-helper.d.ts.map +1 -0
  151. package/declarations/link.d.ts +60 -0
  152. package/declarations/link.d.ts.map +1 -0
  153. package/declarations/load.d.ts +47 -0
  154. package/declarations/load.d.ts.map +1 -0
  155. package/declarations/menubar.d.ts +231 -0
  156. package/declarations/menubar.d.ts.map +1 -0
  157. package/declarations/message-scroller/components.d.ts +229 -0
  158. package/declarations/message-scroller/components.d.ts.map +1 -0
  159. package/declarations/message-scroller/geometry.d.ts +95 -0
  160. package/declarations/message-scroller/geometry.d.ts.map +1 -0
  161. package/declarations/message-scroller/index.d.ts +4 -0
  162. package/declarations/message-scroller/index.d.ts.map +1 -0
  163. package/declarations/message-scroller/state.d.ts +124 -0
  164. package/declarations/message-scroller/state.d.ts.map +1 -0
  165. package/declarations/message-scroller.d.ts +2 -0
  166. package/declarations/messages.d.ts +166 -0
  167. package/declarations/messages.d.ts.map +1 -0
  168. package/declarations/narrowing.d.ts +24 -0
  169. package/declarations/narrowing.d.ts.map +1 -0
  170. package/declarations/native-form.d.ts +56 -0
  171. package/declarations/native-form.d.ts.map +1 -0
  172. package/declarations/native-value.d.ts +47 -0
  173. package/declarations/native-value.d.ts.map +1 -0
  174. package/declarations/navigation-menu.d.ts +406 -0
  175. package/declarations/navigation-menu.d.ts.map +1 -0
  176. package/declarations/on-resize.d.ts +32 -0
  177. package/declarations/on-resize.d.ts.map +1 -0
  178. package/declarations/part.d.ts +99 -0
  179. package/declarations/part.d.ts.map +1 -0
  180. package/declarations/popover.d.ts +236 -0
  181. package/declarations/popover.d.ts.map +1 -0
  182. package/declarations/portal/index.d.ts +3 -0
  183. package/declarations/portal/index.d.ts.map +1 -0
  184. package/declarations/portal/portal.d.ts +46 -0
  185. package/declarations/portal/portal.d.ts.map +1 -0
  186. package/declarations/portal/targets.d.ts +40 -0
  187. package/declarations/portal/targets.d.ts.map +1 -0
  188. package/declarations/portal.d.ts +2 -0
  189. package/declarations/presence.d.ts +80 -0
  190. package/declarations/presence.d.ts.map +1 -0
  191. package/declarations/progress.d.ts +98 -0
  192. package/declarations/progress.d.ts.map +1 -0
  193. package/declarations/proper-links.d.ts +69 -0
  194. package/declarations/proper-links.d.ts.map +1 -0
  195. package/declarations/qp.d.ts +55 -0
  196. package/declarations/qp.d.ts.map +1 -0
  197. package/declarations/questionnaire/components.d.ts +348 -0
  198. package/declarations/questionnaire/components.d.ts.map +1 -0
  199. package/declarations/questionnaire/index.d.ts +4 -0
  200. package/declarations/questionnaire/index.d.ts.map +1 -0
  201. package/declarations/questionnaire/state.d.ts +400 -0
  202. package/declarations/questionnaire/state.d.ts.map +1 -0
  203. package/declarations/questionnaire/utils.d.ts +65 -0
  204. package/declarations/questionnaire/utils.d.ts.map +1 -0
  205. package/declarations/questionnaire.d.ts +2 -0
  206. package/declarations/radio-group.d.ts +115 -0
  207. package/declarations/radio-group.d.ts.map +1 -0
  208. package/declarations/rating.d.ts +214 -0
  209. package/declarations/rating.d.ts.map +1 -0
  210. package/declarations/resizable/components.d.ts +107 -0
  211. package/declarations/resizable/components.d.ts.map +1 -0
  212. package/declarations/resizable/index.d.ts +4 -0
  213. package/declarations/resizable/index.d.ts.map +1 -0
  214. package/declarations/resizable/layout.d.ts +93 -0
  215. package/declarations/resizable/layout.d.ts.map +1 -0
  216. package/declarations/resizable/state.d.ts +211 -0
  217. package/declarations/resizable/state.d.ts.map +1 -0
  218. package/declarations/resizable.d.ts +2 -0
  219. package/declarations/resize-observer.d.ts +40 -0
  220. package/declarations/resize-observer.d.ts.map +1 -0
  221. package/declarations/roving-focus.d.ts +204 -0
  222. package/declarations/roving-focus.d.ts.map +1 -0
  223. package/declarations/scroll-area/components.d.ts +125 -0
  224. package/declarations/scroll-area/components.d.ts.map +1 -0
  225. package/declarations/scroll-area/index.d.ts +3 -0
  226. package/declarations/scroll-area/index.d.ts.map +1 -0
  227. package/declarations/scroll-area/state.d.ts +147 -0
  228. package/declarations/scroll-area/state.d.ts.map +1 -0
  229. package/declarations/scroll-area.d.ts +2 -0
  230. package/declarations/scroll-lock.d.ts +69 -0
  231. package/declarations/scroll-lock.d.ts.map +1 -0
  232. package/declarations/scroller.d.ts +71 -0
  233. package/declarations/scroller.d.ts.map +1 -0
  234. package/declarations/select.d.ts +459 -0
  235. package/declarations/select.d.ts.map +1 -0
  236. package/declarations/separator.d.ts +71 -0
  237. package/declarations/separator.d.ts.map +1 -0
  238. package/declarations/service.d.ts +83 -0
  239. package/declarations/service.d.ts.map +1 -0
  240. package/declarations/shadowed.d.ts +63 -0
  241. package/declarations/shadowed.d.ts.map +1 -0
  242. package/declarations/slider.d.ts +283 -0
  243. package/declarations/slider.d.ts.map +1 -0
  244. package/declarations/sticky-footer.d.ts +43 -0
  245. package/declarations/sticky-footer.d.ts.map +1 -0
  246. package/declarations/store.d.ts +47 -0
  247. package/declarations/store.d.ts.map +1 -0
  248. package/declarations/switch.d.ts +76 -0
  249. package/declarations/switch.d.ts.map +1 -0
  250. package/declarations/tabs.d.ts +250 -0
  251. package/declarations/tabs.d.ts.map +1 -0
  252. package/declarations/toast/icons.d.ts +29 -0
  253. package/declarations/toast/icons.d.ts.map +1 -0
  254. package/declarations/toast/index.d.ts +4 -0
  255. package/declarations/toast/index.d.ts.map +1 -0
  256. package/declarations/toast/item.d.ts +162 -0
  257. package/declarations/toast/item.d.ts.map +1 -0
  258. package/declarations/toast/state.d.ts +276 -0
  259. package/declarations/toast/state.d.ts.map +1 -0
  260. package/declarations/toast/styles.d.ts +20 -0
  261. package/declarations/toast/styles.d.ts.map +1 -0
  262. package/declarations/toast/toaster.d.ts +173 -0
  263. package/declarations/toast/toaster.d.ts.map +1 -0
  264. package/declarations/toast.d.ts +2 -0
  265. package/declarations/toggle-group.d.ts +161 -0
  266. package/declarations/toggle-group.d.ts.map +1 -0
  267. package/declarations/toggle.d.ts +70 -0
  268. package/declarations/toggle.d.ts.map +1 -0
  269. package/declarations/tooltip.d.ts +227 -0
  270. package/declarations/tooltip.d.ts.map +1 -0
  271. package/declarations/typeahead.d.ts +97 -0
  272. package/declarations/typeahead.d.ts.map +1 -0
  273. package/declarations/viewport.d.ts +109 -0
  274. package/declarations/viewport.d.ts.map +1 -0
  275. package/declarations/visually-hidden.d.ts +42 -0
  276. package/declarations/visually-hidden.d.ts.map +1 -0
  277. package/declarations/zoetrope.d.ts +120 -0
  278. package/declarations/zoetrope.d.ts.map +1 -0
  279. package/dist/accordion.js +367 -0
  280. package/dist/accordion.js.map +1 -0
  281. package/dist/alert-dialog.js +122 -0
  282. package/dist/alert-dialog.js.map +1 -0
  283. package/dist/anchor.js +2 -0
  284. package/dist/anchor.js.map +1 -0
  285. package/dist/as.js +60 -0
  286. package/dist/as.js.map +1 -0
  287. package/dist/aspect-ratio.js +59 -0
  288. package/dist/aspect-ratio.js.map +1 -0
  289. package/dist/avatar.js +464 -0
  290. package/dist/avatar.js.map +1 -0
  291. package/dist/body-class.js +57 -0
  292. package/dist/body-class.js.map +1 -0
  293. package/dist/breadcrumb.js +59 -0
  294. package/dist/breadcrumb.js.map +1 -0
  295. package/dist/calendar.js +1494 -0
  296. package/dist/calendar.js.map +1 -0
  297. package/dist/checkbox.js +81 -0
  298. package/dist/checkbox.js.map +1 -0
  299. package/dist/collapsible.js +255 -0
  300. package/dist/collapsible.js.map +1 -0
  301. package/dist/color-scheme.js +306 -0
  302. package/dist/color-scheme.js.map +1 -0
  303. package/dist/combobox.js +1413 -0
  304. package/dist/combobox.js.map +1 -0
  305. package/dist/command.js +1054 -0
  306. package/dist/command.js.map +1 -0
  307. package/dist/component-DqLt83fo.js +886 -0
  308. package/dist/component-DqLt83fo.js.map +1 -0
  309. package/dist/components-CWfg0cFs.js +1745 -0
  310. package/dist/components-CWfg0cFs.js.map +1 -0
  311. package/dist/components-DBWszEI3.js +1285 -0
  312. package/dist/components-DBWszEI3.js.map +1 -0
  313. package/dist/components-DI8Azu05.js +1542 -0
  314. package/dist/components-DI8Azu05.js.map +1 -0
  315. package/dist/components-F0Ini448.js +875 -0
  316. package/dist/components-F0Ini448.js.map +1 -0
  317. package/dist/context-menu.js +207 -0
  318. package/dist/context-menu.js.map +1 -0
  319. package/dist/controllable-state.js +134 -0
  320. package/dist/controllable-state.js.map +1 -0
  321. package/dist/delay-group-B1K03gBL.js +75 -0
  322. package/dist/delay-group-B1K03gBL.js.map +1 -0
  323. package/dist/dialog-3gfz_8NA.js +349 -0
  324. package/dist/dialog-3gfz_8NA.js.map +1 -0
  325. package/dist/dialog.js +57 -0
  326. package/dist/dialog.js.map +1 -0
  327. package/dist/direction.js +75 -0
  328. package/dist/direction.js.map +1 -0
  329. package/dist/dismiss.js +329 -0
  330. package/dist/dismiss.js.map +1 -0
  331. package/dist/dom-context.js +104 -0
  332. package/dist/dom-context.js.map +1 -0
  333. package/dist/drawer.js +1456 -0
  334. package/dist/drawer.js.map +1 -0
  335. package/dist/dropdown-menu.js +201 -0
  336. package/dist/dropdown-menu.js.map +1 -0
  337. package/dist/external-link.js +21 -0
  338. package/dist/external-link.js.map +1 -0
  339. package/dist/file-drop.js +183 -0
  340. package/dist/file-drop.js.map +1 -0
  341. package/dist/focus-scope.js +292 -0
  342. package/dist/focus-scope.js.map +1 -0
  343. package/dist/focus.js +307 -0
  344. package/dist/focus.js.map +1 -0
  345. package/dist/form-control-Ca_KHSKK.js +177 -0
  346. package/dist/form-control-Ca_KHSKK.js.map +1 -0
  347. package/dist/head.js +25 -0
  348. package/dist/head.js.map +1 -0
  349. package/dist/heading.js +152 -0
  350. package/dist/heading.js.map +1 -0
  351. package/dist/hero.js +36 -0
  352. package/dist/hero.js.map +1 -0
  353. package/dist/hide-others.js +108 -0
  354. package/dist/hide-others.js.map +1 -0
  355. package/dist/hover-card.js +246 -0
  356. package/dist/hover-card.js.map +1 -0
  357. package/dist/hover-intent-Bxb83fgX.js +92 -0
  358. package/dist/hover-intent-Bxb83fgX.js.map +1 -0
  359. package/dist/i18n.js +72 -0
  360. package/dist/i18n.js.map +1 -0
  361. package/dist/id.js +24 -0
  362. package/dist/id.js.map +1 -0
  363. package/dist/iframe.js +19 -0
  364. package/dist/iframe.js.map +1 -0
  365. package/dist/incremental-each.js +181 -0
  366. package/dist/incremental-each.js.map +1 -0
  367. package/dist/index.js +87 -0
  368. package/dist/index.js.map +1 -0
  369. package/dist/indicator-sYuRuFJA.js +26 -0
  370. package/dist/indicator-sYuRuFJA.js.map +1 -0
  371. package/dist/input-otp.js +611 -0
  372. package/dist/input-otp.js.map +1 -0
  373. package/dist/keys.js +65 -0
  374. package/dist/keys.js.map +1 -0
  375. package/dist/label.js +41 -0
  376. package/dist/label.js.map +1 -0
  377. package/dist/layer.js +157 -0
  378. package/dist/layer.js.map +1 -0
  379. package/dist/layout-styles-DY86so8a.js +81 -0
  380. package/dist/layout-styles-DY86so8a.js.map +1 -0
  381. package/dist/link-helper.js +122 -0
  382. package/dist/link-helper.js.map +1 -0
  383. package/dist/link.js +39 -0
  384. package/dist/link.js.map +1 -0
  385. package/dist/load.js +54 -0
  386. package/dist/load.js.map +1 -0
  387. package/dist/menu-Da1LFCet.js +1109 -0
  388. package/dist/menu-Da1LFCet.js.map +1 -0
  389. package/dist/menubar.js +357 -0
  390. package/dist/menubar.js.map +1 -0
  391. package/dist/message-scroller.js +2 -0
  392. package/dist/message-scroller.js.map +1 -0
  393. package/dist/messages.js +168 -0
  394. package/dist/messages.js.map +1 -0
  395. package/dist/narrowing.js +29 -0
  396. package/dist/narrowing.js.map +1 -0
  397. package/dist/native-form.js +134 -0
  398. package/dist/native-form.js.map +1 -0
  399. package/dist/native-value.js +125 -0
  400. package/dist/native-value.js.map +1 -0
  401. package/dist/navigation-menu.js +872 -0
  402. package/dist/navigation-menu.js.map +1 -0
  403. package/dist/observers-aItWe029.js +113 -0
  404. package/dist/observers-aItWe029.js.map +1 -0
  405. package/dist/on-resize.js +47 -0
  406. package/dist/on-resize.js.map +1 -0
  407. package/dist/part.js +291 -0
  408. package/dist/part.js.map +1 -0
  409. package/dist/popover.js +419 -0
  410. package/dist/popover.js.map +1 -0
  411. package/dist/popper-BbTzV8dP.js +323 -0
  412. package/dist/popper-BbTzV8dP.js.map +1 -0
  413. package/dist/portal-U554WDI9.js +214 -0
  414. package/dist/portal-U554WDI9.js.map +1 -0
  415. package/dist/portal.js +2 -0
  416. package/dist/portal.js.map +1 -0
  417. package/dist/presence.js +243 -0
  418. package/dist/presence.js.map +1 -0
  419. package/dist/progress.js +106 -0
  420. package/dist/progress.js.map +1 -0
  421. package/dist/promise-state-BMi2zVoT.js +91 -0
  422. package/dist/promise-state-BMi2zVoT.js.map +1 -0
  423. package/dist/proper-links.js +136 -0
  424. package/dist/proper-links.js.map +1 -0
  425. package/dist/qp.js +77 -0
  426. package/dist/qp.js.map +1 -0
  427. package/dist/questionnaire.js +2 -0
  428. package/dist/questionnaire.js.map +1 -0
  429. package/dist/radio-group.js +149 -0
  430. package/dist/radio-group.js.map +1 -0
  431. package/dist/rating.js +261 -0
  432. package/dist/rating.js.map +1 -0
  433. package/dist/resizable.js +2 -0
  434. package/dist/resizable.js.map +1 -0
  435. package/dist/resize-observer.js +85 -0
  436. package/dist/resize-observer.js.map +1 -0
  437. package/dist/roving-focus.js +355 -0
  438. package/dist/roving-focus.js.map +1 -0
  439. package/dist/scroll-area.js +2 -0
  440. package/dist/scroll-area.js.map +1 -0
  441. package/dist/scroll-end-Cer8JSIB.js +87 -0
  442. package/dist/scroll-end-Cer8JSIB.js.map +1 -0
  443. package/dist/scroll-lock.js +267 -0
  444. package/dist/scroll-lock.js.map +1 -0
  445. package/dist/scroller.js +117 -0
  446. package/dist/scroller.js.map +1 -0
  447. package/dist/select.js +1223 -0
  448. package/dist/select.js.map +1 -0
  449. package/dist/separator.js +80 -0
  450. package/dist/separator.js.map +1 -0
  451. package/dist/service.js +160 -0
  452. package/dist/service.js.map +1 -0
  453. package/dist/shadowed.js +70 -0
  454. package/dist/shadowed.js.map +1 -0
  455. package/dist/slider.js +586 -0
  456. package/dist/slider.js.map +1 -0
  457. package/dist/sticky-footer.js +40 -0
  458. package/dist/sticky-footer.js.map +1 -0
  459. package/dist/store-BjiAd-KP.js +93 -0
  460. package/dist/store-BjiAd-KP.js.map +1 -0
  461. package/dist/store.js +4 -0
  462. package/dist/store.js.map +1 -0
  463. package/dist/switch.js +58 -0
  464. package/dist/switch.js.map +1 -0
  465. package/dist/tabs.js +458 -0
  466. package/dist/tabs.js.map +1 -0
  467. package/dist/toast.js +2 -0
  468. package/dist/toast.js.map +1 -0
  469. package/dist/toaster-DwprFZ1J.js +1518 -0
  470. package/dist/toaster-DwprFZ1J.js.map +1 -0
  471. package/dist/toggle-group.js +221 -0
  472. package/dist/toggle-group.js.map +1 -0
  473. package/dist/toggle.js +78 -0
  474. package/dist/toggle.js.map +1 -0
  475. package/dist/tooltip.js +422 -0
  476. package/dist/tooltip.js.map +1 -0
  477. package/dist/typeahead.js +233 -0
  478. package/dist/typeahead.js.map +1 -0
  479. package/dist/viewport.js +138 -0
  480. package/dist/viewport.js.map +1 -0
  481. package/dist/visually-hidden.js +49 -0
  482. package/dist/visually-hidden.js.map +1 -0
  483. package/dist/zoetrope.js +336 -0
  484. package/dist/zoetrope.js.map +1 -0
  485. package/package.json +101 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,472 @@
1
+ # @ember-joinery/primitives
2
+
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2b887bf: Hover cards time their opening and closing with a Switchyard statechart. Nothing changes in how they behave.
8
+ - 2b887bf: Tooltips, navigation menus and submenus time their delays with Switchyard statecharts; nothing changes in behavior, except that a controlled tooltip or navigation menu whose parent refuses an open no longer makes the next one skip its delay (a refused tooltip open no longer closes the other tooltips either).
9
+ - 2b887bf: The Drawer's modes and timers run on a Switchyard statechart; nothing changes in behavior, apart from these fixes. A close that a controlled `@open` refuses no longer moves it to its first snap point (as vaul's, only a close the drawer itself made does), closing before it has finished opening no longer calls `onAnimationEnd(true)`, a handle tap no longer changes the snap point after the drawer is destroyed, and `settled()` now waits for its animation end, background and nested-drawer timers, and a drawer destroyed while open puts the body's background back. As vaul's, `onAnimationEnd` isn't called for a drawer that renders open.
10
+ - 2b887bf: Combobox and the typeahead search (used by Select, menus and `{{typeahead}}`) now keep their modes in Switchyard statecharts; nothing changes in behavior. Fixed: a combobox whose controlled `@open` refuses a close no longer stops filtering, and a combobox reopened while its list animates out filters by what is typed instead of the query it closed with.
11
+ - 2b887bf: The date pickers track their modes with a Switchyard chart; nothing changes in behavior, except that a close a controlled `@open` refuses no longer forgets the month paged to or the start of a range. A controlled Dialog no longer calls `@onClose`, nor clears its `returnValue`, for a close or open its `@open` refused, and InputOTP clears its pending selection sync when it goes.
12
+ - 2b887bf: `Presence` tracks whether its content is present, exiting or exited with a Switchyard statechart. Nothing changes in how it behaves.
13
+ - 2b887bf: Avatar image loading and fallback delay, scroll area scrollbar visibility, and the code block's copy button now run on Switchyard statecharts. Nothing changes in how they behave.
14
+ - 2b887bf: Toasts run their life, swipe and auto-close timer on Switchyard statecharts; nothing changes in how they behave. A `toast.promise()` toast dismissed while it waits now stays dismissed, instead of coming back as the success or error toast.
15
+
16
+ ## 1.0.0
17
+
18
+ ### Major Changes
19
+
20
+ - a73065d: The first release of Joinery's core packages: `@ember-joinery/primitives` (headless behaviour
21
+ and utilities), `@ember-joinery/ember` (the styled components and their compiled CSS) and
22
+ `@ember-joinery/test-support` (a harness for each of them).
23
+
24
+ ### Minor Changes
25
+
26
+ - a73065d: `Accordion` is shadcn's Accordion, and `@ember-joinery/primitives/accordion` the headless one
27
+ under it, Radix's, covering ember-primitives' too: `@type="single"` (optionally `@collapsible`) or
28
+ `"multiple"`, controlled (`@value`, `@onValueChange`) or not (`@defaultValue`), disabled items or
29
+ a disabled accordion, each item a heading with a trigger (`aria-expanded`, `aria-controls`) and a
30
+ content region labelled by it, and the arrow keys, Home and End between triggers, by
31
+ `@orientation` and direction. The styled trigger draws upstream's chevrons (`@icon` and
32
+ `@openIcon` replace them), and the content animates from its measured height.
33
+ `AccordionState` and `AccordionItemState` hold the behaviour for components built on it.
34
+ `@ember-joinery/test-support` adds `AccordionHarness`.
35
+ - a73065d: `@ember-joinery/primitives/aspect-ratio` is Radix's AspectRatio: content held to `@ratio`,
36
+ with only the styles that hold it, set through the CSSOM. `AspectRatio` in
37
+ `@ember-joinery/ember` is shadcn's, on it. `@ember-joinery/test-support` adds
38
+ `AspectRatioHarness`.
39
+ - a73065d: `Avatar` is shadcn's Avatar, with `@size` and its `Image`, `Fallback` and `Badge` parts, and
40
+ `AvatarGroup` with its `Count`. It is built on `@ember-joinery/primitives/avatar`, ember-primitives'
41
+ and Radix's headless Avatar: the image renders once it has loaded, the fallback shows until
42
+ then (after `@delayMs`) and if it fails, the URL goes on the image or the avatar, and the
43
+ avatar yields where its image is; `ImageLoader` loads an image off the page, and tests wait for
44
+ it. `@ember-joinery/test-support` adds `AvatarHarness` and `AvatarGroupHarness`.
45
+ - a73065d: `@ember-joinery/primitives/breadcrumb` is ember-primitives' Breadcrumb: a named `nav` around an
46
+ ordered list, yielding a `Separator` that assistive technology skips
47
+ (`breadcrumbSeparatorAria()`). `Breadcrumb` in `@ember-joinery/ember` is shadcn's, yielding
48
+ `List`, `Item`, `Link`, `Page`, `Separator` (lucide's chevron, mirrored right to left, or your
49
+ block or `@icon`) and `Ellipsis`, each also a modifier (`<LinkTo {{b.link}}>`).
50
+ `@ember-joinery/test-support` adds `BreadcrumbHarness`, which drives both.
51
+ - a73065d: `Calendar` is shadcn's Calendar, with Joinery's own date picking in place of React DayPicker
52
+ and no date library: `@mode` `single`, `multiple` or `range` (`@value`, `@defaultValue` and
53
+ `@onValueChange`, a `Date`, `Date[]` or `{ from, to }`), month and year dropdowns
54
+ (`@captionLayout`), several months, `@disabled`, `@hidden` and `@modifiers` matchers, week
55
+ numbers, outside days, fixed weeks, and the date grid's keys, right to left too. Names,
56
+ numbers and the week's first day come from Intl in `@locale`; `@calendar` and `@numerals` show
57
+ any calendar Intl knows, such as the Persian one. A `<:day>` block draws what each day shows.
58
+ `@ember-joinery/primitives/calendar` is the headless one, with `CalendarState` and its date
59
+ helpers, and `@ember-joinery/test-support` adds `CalendarHarness`.
60
+ - a73065d: `Checkbox` is shadcn's Checkbox, on Radix's: `@checked`, `@defaultChecked` and
61
+ `@onCheckedChange` (controlled or not), the `'indeterminate'` state (`aria-checked="mixed"`),
62
+ `@disabled`, `@required`, and `@icon` and `@indeterminateIcon` to replace its marks. In a form, a
63
+ hidden native checkbox beside it submits its `name` and `value`, and a reset restores it.
64
+ `@ember-joinery/primitives/checkbox` is the headless one, with its `Indicator`, and
65
+ `@ember-joinery/test-support` adds `CheckboxHarness`.
66
+ - a73065d: `Collapsible` is shadcn's Collapsible, and `@ember-joinery/primitives/collapsible` the headless
67
+ one under it, Radix's: a trigger (`aria-expanded`, `aria-controls`) that shows and hides content,
68
+ controlled (`@open`, `@onOpenChange`) or not (`@defaultOpen`), with a yielded `trigger` modifier
69
+ for your own element (`<Button {{c.trigger}}>`). The content stays in the document, `hidden`
70
+ while closed, animates out through `Presence`, and is measured into
71
+ `--radix-collapsible-content-height` and `-width`; `CollapsibleState` holds the behaviour for
72
+ components built on it. Joinery's base keeps a part that is `hidden` hidden whatever `display`
73
+ a class gives it, as Tailwind's preflight does, so content laid out with `flex` stays out of the
74
+ way while closed. `Presence` now also yields `isExiting`. `@ember-joinery/test-support` adds
75
+ `CollapsibleHarness`.
76
+ - a73065d: `Combobox` is shadcn's Combobox, on Base UI's: `<Combobox @items={{…}} as |c|>` yields Input
77
+ (in its input group, with `@showTrigger`, `@showClear`, `@groupClass` for the group, and
78
+ an `Addon` it yields for an icon beside the input),
79
+ Trigger, TriggerIcon, Clear, Value, Content, List, Item, Group, Label, Collection, Empty,
80
+ Separator, Chips, Chip and ChipsInput. Typing filters `@items` (an `Intl.Collator` match anywhere in the label, or your
81
+ own `@filter`, or `@filter={{null}}` for results filtered elsewhere) and the arrow keys
82
+ highlight an item while focus stays in the input; `@multiple` shows the chosen items as chips,
83
+ `@autoHighlight` highlights the first match, and the input can sit inside the popup behind a
84
+ trigger of your own. `@ember-joinery/primitives/combobox` is the headless one, and
85
+ `@ember-joinery/test-support` adds `ComboboxHarness`.
86
+ - a73065d: `ContextMenu` is shadcn's Context Menu, on Radix's: a right click on `<c.Trigger>` (or a long
87
+ press by touch or pen) opens its content at the pointer, in place of the browser's own menu. Its
88
+ content, items, checkbox and radio items, labels, separators, shortcuts and submenus are the
89
+ Dropdown Menu's, with `context-menu` in their classes and slots, and `{{c.trigger}}` makes your
90
+ own element the trigger, styled as `<c.Trigger>` is. `@onOpenChange` tells you when
91
+ it opens and closes. `@ember-joinery/primitives/context-menu` is the headless one, and
92
+ `@ember-joinery/test-support` adds `ContextMenuHarness`, with `open(point)` for a right click and
93
+ `longPress()`.
94
+ - a73065d: `DropdownMenu` is shadcn's Dropdown Menu, on Radix's: `<DropdownMenu as |m|>` yields Trigger,
95
+ Content, Group, Label, Item (`@variant`, `@inset`, `@onSelect`), LinkItem, CheckboxItem,
96
+ RadioGroup, Separator, Shortcut, Sub (its Trigger and Content) and Portal, a `trigger` modifier
97
+ for your own Button (`<Button {{m.trigger}}>`), and `item` and `checkboxItem` modifiers that
98
+ style your own element as an item (a radio group's `item` and a submenu's `trigger` do the same
99
+ for theirs). The content is a menu in the top layer, below its trigger and
100
+ lined up with its start: the arrow keys, Home, End and typing move between its items, Enter or a
101
+ click selects one, Escape or a press outside closes it, and focus goes back to the trigger.
102
+ Submenus open on hover or the arrow pointing into them, and stay open while the pointer crosses
103
+ other items on its way there; as Radix's, a submenu closes (`@onOpenChange(false)`) when the
104
+ menu it is in closes or it goes away. Every part but LinkItem (always an `<a>`) takes `@as`.
105
+ Modal by default, it keeps focus and the pointer in the menu and makes the page inert. Its
106
+ state is `@open`/`@defaultOpen`/`@onOpenChange`, and it takes ember-primitives' Menu's
107
+ positioning arguments too: `<DropdownMenu @placement="top-end">` places its content, alignment
108
+ and all.
109
+ `@ember-joinery/primitives/dropdown-menu` is the headless one, covering ember-primitives' Menu
110
+ (also exported as `Menu`), and `@ember-joinery/test-support` adds `DropdownMenuHarness`, which
111
+ finds items by their text and opens submenus with `sub()`.
112
+ - a73065d: `FileDrop` and `DocumentFileDrop` are ember-primitives': a zone to drop files on or press to pick
113
+ them, and a way to take files dropped anywhere on the page, filtered by `@accept` as the file
114
+ picker filters them. `@ember-joinery/primitives/file-drop` has the headless ones (with
115
+ `@disabled`, and `accepts`, `filesFrom`, `hasFiles` and `DragState` for a target of your own);
116
+ `@ember-joinery/ember`'s FileDrop is a dashed drop zone, and its DocumentFileDrop covers the page
117
+ with an overlay while files are dragged over it. `@ember-joinery/test-support` adds
118
+ `FileDropHarness`, `DocumentFileDropHarness`, and `dragFilesOver`, `dragFilesAway` and
119
+ `dropFiles`.
120
+ - a73065d: `HoverCard` is shadcn's Hover Card, on Radix's: it opens once the pointer has rested on its
121
+ trigger for `@openDelay` (or the trigger has focus), below it, centred and 4px off, and closes
122
+ `@closeDelay` after the pointer leaves both, staying open while text in it is selected; a touch
123
+ doesn't open it. `@ember-joinery/primitives/hover-card` is the headless one, and
124
+ `@ember-joinery/test-support` adds `HoverCardHarness`.
125
+ - 17c5b5c: Every string `@ember-joinery/ember`'s components show goes through the app's translator: a
126
+ dialog's and a sheet's Close, the breadcrumb's and pagination's names and links, the combobox's
127
+ buttons, the sidebar's trigger, rail and mobile title, the spinner's Loading, the document file
128
+ drop's prompt, and the Command Dialog's, Message Scroller's and Questionnaire's, which are the
129
+ primitives' messages. They are in `@ember-joinery/ember/messages`; an argument still wins. The
130
+ Calendar's `@locale` defaults to the translator's. `paginationLinkAttributes` takes an optional
131
+ context for the translator, and a `part()` function's `this` is now its modifier, which has the
132
+ app's owner.
133
+ - 17c5b5c: Joinery's built-in strings can be translated. `@ember-joinery/primitives/i18n` declares the msgid
134
+ contract's `Message` and `Translator`, with `format()` (English: a `plural` by `values.count`, and
135
+ `{name}` placeholders), `translate(context, message, values?)`, which uses the app's
136
+ `translator:main` when it registers one and English otherwise, and `t`, the same for a
137
+ template. Every string the primitives show is a message in `@ember-joinery/primitives/messages`
138
+ (`joinery.<component>.<name>`) and goes through the translator; an argument still wins. Joined
139
+ strings are one message each (`Value {index} of {count}`, `Today, {date}, selected`, `Notifications
140
+ {hotkey}`), so a translation orders the words. A calendar's and a combobox's `@locale` default to
141
+ the translator's. `defaultSliderThumbLabel` takes an optional context, and `CalendarState` an
142
+ optional third argument, the component, for the same. `@ember-joinery/test-support` adds
143
+ `setupTranslator(hooks, translator)` and `pseudoTranslator`, a pseudo-locale that wraps every
144
+ string it translates.
145
+ - a73065d: `InputOTP` is shadcn's Input OTP, yielding its `Group`, `Slot` and `Separator`, on a new
146
+ `@ember-joinery/primitives/input-otp`: the `input-otp` library's one invisible native input under
147
+ slots you render, which also covers ember-primitives' `OTP`. Its code is controlled or not
148
+ (`@value`, `@defaultValue`, `@onValueChange`), `@pattern` (`REGEXP_ONLY_DIGITS` and the rest)
149
+ refuses what it doesn't match, every paste goes through `@pasteTransformer`, `@onComplete` hears
150
+ a complete code, `@autoSubmit` submits its form, and a browser's autofill of a code it was sent
151
+ fills it at once. Right to left, its arrow keys follow the slots, which run from the right.
152
+ `@ember-joinery/test-support` adds `InputOTPHarness`, which types, deletes, moves the caret,
153
+ clicks, pastes and autofills as a browser does, and ember-primitives' `fillOTP`.
154
+ - a73065d: `@ember-joinery/primitives/label` is Radix's Label: a native `<label>` whose text a double
155
+ click doesn't select (`preventLabelSelection`, for an element of your own). `Label` in
156
+ `@ember-joinery/ember` is shadcn's, on it, with an `asLabel` modifier, and dims beside a
157
+ disabled `peer` control. `@ember-joinery/test-support` adds `LabelHarness`.
158
+ - a73065d: `Menubar` is shadcn's Menubar, on Radix's: `<Menubar as |bar|><bar.Menu as |m|>` yields a
159
+ Trigger and a Content placed as upstream's (below the trigger, at its start, 4px before it and
160
+ 8px off), with the Dropdown Menu's items, checkbox and radio items, labels, separators,
161
+ shortcuts and submenus in the menubar's classes and slots, and `trigger`, `item` and
162
+ `checkboxItem` modifiers for your own elements. Its triggers share one tab stop: the arrow keys
163
+ move between them, Enter, Space or ArrowDown open a menu on its first item, and while one is
164
+ open ArrowLeft and ArrowRight (flipped right to left) and the pointer move to the others. Which
165
+ menu is open is `@value`/`@defaultValue`/`@onValueChange`. `@ember-joinery/primitives/menubar`
166
+ is the headless one, and `@ember-joinery/test-support` adds `MenubarHarness`, whose `menu(label)`
167
+ has a Dropdown Menu harness's members for each menu.
168
+ - a73065d: `MessageScrollerProvider` is shadcn's Message Scroller: a chat transcript's scroll container that
169
+ opens a saved transcript at the start, the end or the last anchored turn (`@defaultScrollPosition`,
170
+ hidden until it gets there), settles a new `@scrollAnchor` turn near the top with a peek of the
171
+ one before (`@scrollPreviousItemPeek`), follows a streamed reply at the end with `@autoScroll`
172
+ until the reader scrolls away, keeps the reader's row in place when history is prepended, and
173
+ jumps to any row. It yields its styled parts (`Root`, `Viewport`, `Content`, `Item`, `Button`,
174
+ `Visibility`), the commands (`scrollToMessage`, `scrollToEnd`, `scrollToStart`) and the scroll
175
+ state (`scrollable`); the parts are exported on their own too (`MessageScroller`,
176
+ `MessageScrollerItem`…). `@ember-joinery/primitives/message-scroller` is the headless scroller,
177
+ `@shadcn/react`'s, with `MessageScrollerConsumer` and the `messageScrollerButton` modifier. Its
178
+ button, as upstream's, keeps a `tabindex` of your own while it is active, and a click listener of
179
+ yours runs first and can stop the scroll with `preventDefault()`; the styled one takes `@as`.
180
+ `@ember-joinery/test-support` adds `MessageScrollerHarness`.
181
+ - a73065d: `NativeForm` is ember-primitives' Form, renamed so it can't clash with Formwright's `<Form>`: a
182
+ native `<form>` whose `@onChange` hears its data as an object on every input and on submit.
183
+ `dataFromEvent` reads the same object out of any form's event, converting numbers, dates,
184
+ checkboxes, radios, selects and files as form-data-utils does, and takes Joinery's button
185
+ controls in through their hidden inputs. `@ember-joinery/test-support` adds
186
+ `NativeFormHarness`, whose `pressEnter` submits the form from a field as the browser does.
187
+ - a73065d: `native-value` gives an `<input>`, `<textarea>` or `<select>` Radix's value pattern:
188
+ `{{nativeValue value= defaultValue= onValueChange=}}`. Controlled, the control shows `value` and
189
+ a change the caller doesn't pass back is undone; uncontrolled, it keeps its own value. A form
190
+ reset goes back to the starting value and says so, and a select shows its value again when its
191
+ options change.
192
+ - a73065d: `NavigationMenu` is shadcn's Navigation Menu, on Radix's: a `<nav>` whose `n.List` holds
193
+ `n.Item`s, each a `n.Link` or an `item.Trigger` and its `item.Content`. A trigger opens its
194
+ content on a click, or when the pointer rests on it (at once while another was just open); the
195
+ contents show in a viewport below the list that takes the open one's size and slides each in
196
+ from its trigger's side (`data-motion`), or below their own triggers with `@viewport={{false}}`.
197
+ Tab goes from an open trigger into its links and on, and the arrow keys, Home and End move
198
+ between triggers and links, for a trigger of your own (`{{item.trigger}}`) as for `item.Trigger`.
199
+ `n.Indicator` follows the open trigger, `n.Viewport` places the viewport yourself with
200
+ `@viewport={{false}}`, and `navigationMenuTriggerStyle()` gives a link the trigger's look, its
201
+ padding over the link's, as upstream's tailwind-merge gives it. Its state is
202
+ `@value`/`@defaultValue`/`@onValueChange`. `@ember-joinery/primitives/navigation-menu` is the
203
+ headless one, with `List`, `Item`, `Link`, `Indicator` and `Viewport`, and
204
+ `@ember-joinery/test-support` adds `NavigationMenuHarness`.
205
+ - a73065d: A part's attribute can be a function of the element's own value, so a part merges a list with
206
+ the caller's instead of replacing it: `'aria-describedby': own => joinTokens(mine, own)`, asked
207
+ again whenever either side changes. `joinTokens()` joins space-separated lists without repeats.
208
+ A Questionnaire item uses it to keep a caller's `aria-describedby` and `aria-keyshortcuts`, as
209
+ upstream merges them.
210
+ - a73065d: `Popover` is shadcn's Popover, on Radix's: `<Popover as |p|>` yields Trigger, Anchor, Content,
211
+ Header, Title, Description, Close and Arrow, and a `trigger` modifier for your own Button
212
+ (`<Button {{p.trigger}}>`). The content is in the top layer while open, placed against its
213
+ trigger (centred, 4px off, flipping to stay in view), closed by Escape or a press outside, with
214
+ focus moving in and back; `@modal` keeps focus and the pointer inside, and hides the rest of
215
+ the page from assistive technology and stops it scrolling. Its state is
216
+ `@open`/`@defaultOpen`/`@onOpenChange`. `@ember-joinery/primitives/popover` is the headless
217
+ one, covering ember-primitives' Popover (`@placement`, `@offsetOptions`, `@flipOptions`,
218
+ `@shiftOptions`, `@middleware`, `@strategy`, and the `reference`, `setReference`, `arrow` and
219
+ `data` yields), and `@ember-joinery/test-support` adds `PopoverHarness`.
220
+ - a73065d: `@ember-joinery/primitives/command` adds `Command`, cmdk's command menu, headless: typing filters
221
+ the items with cmdk's command score (or `@filter`) and shows the best first, groups and
222
+ separators hide with nothing to show, Empty shows when nothing matches, and the arrows, Home and
223
+ End, Ctrl+N/J/P/K and Alt+arrow move the selection while focus stays in the input; Enter clicks
224
+ the selected item. It covers ember-primitives' CommandPalette too: `@search` and
225
+ `@onSearchChange`, `@onSelect`, `@hotkey` and `@onOpen`, link items, and a `role="status"` that
226
+ announces the result count (`@resultsText`). `CommandDialog` puts a Command in a modal dialog,
227
+ with a `@hotkey` that opens and closes it. `@ember-joinery/test-support` adds `CommandHarness`
228
+ and `CommandDialogHarness`.
229
+ - a73065d: `dialog` and `alert-dialog`: Radix's Dialog and AlertDialog, headless, covering ember-primitives'
230
+ Dialog and Modal. `<Dialog as |d|>` yields Trigger, Overlay, Content, Title, Description and
231
+ Close, a modifier for each part you render yourself (`<Button {{d.trigger}}>`), and its state
232
+ (`isOpen`, `open`, `toggle`, `setOpen`, `returnValue`), controlled or not (`@open`,
233
+ `@defaultOpen`, `@onOpenChange`). Its content sits in the top layer; Escape and a press outside
234
+ close it; focus moves in and back. A modal one traps focus, makes the rest of the page inert and
235
+ locks the page's scroll; both animate out. A `<form method="dialog">` inside closes it, and
236
+ `@onClose` hears its `returnValue`. `<AlertDialog>` is always modal, with the `alertdialog` role,
237
+ focus on Cancel, and Action and Cancel parts. `scroll-lock`: `lockScroll()` and `{{scrollLock}}`,
238
+ as react-remove-scroll. `hide-others`: `hideOthers()` and `inertOthers()`, as the aria-hidden
239
+ package.
240
+ - a73065d: `drawer`: vaul's Drawer (1.1.2), headless, covering ember-primitives' Drawer. `<Drawer as |d|>`
241
+ is a Dialog with gestures: it yields a Dialog's parts with vaul's attributes, a `Handle`, a
242
+ `Nested` drawer and its state (`isDragging`, `direction`, `activeSnapPoint`,
243
+ `setActiveSnapPoint`…). A drag along its axis moves it, fades its overlay and closes it when let
244
+ go far or fast enough (`@closeThreshold`); `@direction` puts it on any edge (left and right are
245
+ the inline start and end); `@snapPoints` gives it places to rest, controlled or not
246
+ (`@activeSnapPoint`, `@onActiveSnapPointChange`), with `@fadeFromIndex` and
247
+ `@snapToSequentialPoint`; `@shouldScaleBackground` scales `[data-vaul-drawer-wrapper]` back;
248
+ `@dismissible={{false}}` leaves closing to you; `@handleOnly`, `@onDrag`, `@onRelease`,
249
+ `@onAnimationEnd` and `@repositionInputs` are vaul's. Focus moves to the drawer itself when it
250
+ opens (`@autoFocus` for its first field).
251
+ - a73065d: ember-primitives' components that shadcn has no counterpart for, one subpath export each:
252
+ `scroller` (`Scroller`, which yields `scrollToTop`, `scrollToBottom`, `scrollToLeft`,
253
+ `scrollToRight`, `scrollToStart` and `scrollToEnd`), `zoetrope` (`Zoetrope`: a row that scrolls a
254
+ page at a time, instantly for reduced motion, right to left too, and without trapping Tab),
255
+ `hero` (`Hero`), `sticky-footer` (`StickyFooter`), `link` (`Link`, active-aware, with
256
+ `aria-current` and `data-active`), `external-link` (`ExternalLink`), `heading` (`Heading`, whose
257
+ level comes from the sections around it, and `getSectionHeadingLevel`), `incremental-each`
258
+ (`IncrementalEach`, which renders a long list a batch at a time) and `shadowed` (`Shadowed`, a
259
+ shadow root, with `@includeStyles`). The layouts bring their own rules, in `@layer joinery`, with
260
+ nothing to import; an app with CSS layers of its own names `joinery` ahead of them, as
261
+ joinery.css and the Tailwind setup do, for its layers to win. `@ember-joinery/test-support` adds `ScrollerHarness`, `ZoetropeHarness`,
262
+ `HeroHarness`, `StickyFooterHarness`, `LinkHarness`, `ExternalLinkHarness`, `HeadingHarness` and
263
+ `ShadowedHarness`, ember-primitives' shadow DOM helpers (`findInShadow`, `findShadow`,
264
+ `findInFirstShadow`, `hasShadowRoot`), and `data-test-jn-wrapper`: a component that wraps your
265
+ content marks its root with it, and the parts inside belong to the component around it.
266
+ - a73065d: Focus, one subpath export each, ported from Radix and covering what ember-primitives gets from
267
+ tabster, with nothing to set up: `focus-scope` (`FocusScope`, `{{focusScope}}` and
268
+ `createFocusScope`: focus moves in, can be trapped or loop, and returns when the scope goes;
269
+ scopes stack, and trapped ones add focus guards), `roving-focus` (`RovingFocusGroup` and
270
+ `RovingFocus`: one tab stop, the arrow keys, Home and End, right to left, loop, a remembered and
271
+ an active item, a controlled tab stop), `typeahead` (`{{typeahead}}`, `Typeahead`,
272
+ `getNextMatch`) and `focus` (`focusable` queries, `focusFirst`, `focusElement`, and
273
+ `{{restoreFocus}}`, which keeps focus from falling to `<body>` when its element is removed).
274
+ `@ember-joinery/test-support` adds `tab()`, `tabOrder()`, `pressKey()`, `typeKeys()` and
275
+ `RovingFocusGroupHarness`.
276
+ - a73065d: The primitives' foundations, one subpath export each: `controllable-state` (Radix's
277
+ controlled-or-uncontrolled pattern, as `controllable(this, 'open', false)`), `id` (`idFor`, the
278
+ ids a component's parts share; one-off ids use Ember's own `uniqueId`), `direction`
279
+ (`DirectionProvider` and `getDirection`), `as` and `part` (the `@as` tag swap and the part
280
+ modifiers that let any element, `LinkTo` included, be a part), `presence` (keeps a part mounted
281
+ through its exit animation), `visually-hidden` (`VisuallyHidden` and `{{visuallyHidden}}`),
282
+ `keys` (`Key` and `KeyCombo`), `color-scheme` (system, light or dark, saved, synced across tabs,
283
+ applied to `<html>`; replaces next-themes) and `service` (one instance per owner, for app-wide
284
+ state that tests must not share). `@ember-joinery/test-support` adds `KeyHarness`,
285
+ `KeyComboHarness` and `setupColorScheme`.
286
+ - a73065d: Layering, anchoring, portals and dismissal, one subpath export each. `layer`: `{{topLayer}}`
287
+ puts an element in the browser's top layer with the Popover API (`popover="manual"`, or `auto`
288
+ for the browser's light dismiss), nested layers always above their parents. `anchor`:
289
+ `anchorTo`, `FloatingUI` and `anchor()` place an element against another with CSS anchor
290
+ positioning where the browser has it and Floating UI (offset, flip, shift, size, arrow, hide)
291
+ otherwise or when `globalThis.JOINERY_ANCHOR_FALLBACK` is set, taking both Radix's Popper
292
+ arguments and ember-primitives' floating-ui ones, setting `data-side`, `data-align` and the
293
+ `--jn-anchor-*` custom properties; with ember-primitives' `exposeMetadata` and `flipTo`
294
+ middleware. `dismiss`: the dismiss stack (`{{dismissable}}`, `{{dismissableBranch}}`,
295
+ `registerDismissable`), as Radix's `DismissableLayer`: Escape closes only the top layer, and
296
+ pointers and focus outside close the layers they leave, nested layers counting as inside their
297
+ parents. `portal`: ember-primitives' `Portal`, `PortalTargets`, `PortalTarget` and `wormhole`,
298
+ with `<body>` as Radix's default target. `@ember-joinery/test-support` adds `press`,
299
+ `pressOutside`, `pressEscape`, `isInTopLayer`, `placementOf` and `setupAnchorFallback`.
300
+ - a73065d: ember-primitives' app utilities, one subpath export each: `store` (`createStore`, one instance
301
+ per context, owner or none, with `findOwner` and `isOwner`), `service` (now also `(service "router")` for a
302
+ registered service, and `asyncService` for one loaded on demand), `head` (`InHead`),
303
+ `body-class` (`{{bodyClass}}`), `iframe` (`inIframe`, `notInIframe`), `load` (a component that
304
+ loads another), `qp` (`qp`, `withQP`, `castToBoolean`), `link-helper` (the `link` helper:
305
+ external, active, and a routed click, with `isExternalLink`, `isActiveLink` and
306
+ `dynamicSegments`), `proper-links` (`@properLinks`, `setupProperLinks`,
307
+ `shouldHandle`), `viewport` (`viewport()` and `InViewport`), `on-resize` (`{{onResize}}`),
308
+ `resize-observer` (`resizeObserver()` and `ignoreROError`), `dom-context` (`Provide` and `Consume`) and `narrowing` (`isString`,
309
+ `isElement`, `isNewable`, `isNonNullableObject`, `Newable`). `@ember-joinery/test-support` adds `setupRouting` and
310
+ `getRouter`, and `waitForObservers` and `scrollIntoView` for what the observers report.
311
+ - a73065d: `@ember-joinery/primitives/progress` is ember-primitives' and Radix's Progress: a
312
+ `progressbar` with its value, max and `@getValueLabel` text in ARIA and data attributes,
313
+ indeterminate without a value, clamping out-of-range values, and yielding an `Indicator` and
314
+ the value, percent and state; `resolveProgress()` returns what it renders. `Progress` in
315
+ `@ember-joinery/ember` is shadcn's, on it, and announces its value, which upstream's leaves off.
316
+ `@ember-joinery/test-support` adds `ProgressHarness`.
317
+ - a73065d: `Questionnaire` is shadcn's Questionnaire: a multi-step native form of single-choice,
318
+ multiple-choice, freeform and skippable questions, with progress, validation (its own, or yours
319
+ through `@invalid` and `@message`), navigation buttons that show where they apply, letter or
320
+ number shortcuts, the keyboard of upstream's (arrows between answers and items, flipped right to
321
+ left; `Enter` and `Meta+Enter` to confirm), a controlled or uncontrolled active item
322
+ (`@item`, `@defaultItem`, `@onItemChange`; an item that no longer applies gives way to the
323
+ first, and `@onItemChange` hears it), controlled or default answers (a freeform `Input` takes
324
+ `@value` and `@onValueChange`), a reset that puts them back, development warnings where `@items`
325
+ and the rendered items part, `@as` on every part, and the navigation buttons as modifiers
326
+ (`{{q.next}}`). Its behaviour is `@ember-joinery/primitives/questionnaire`, @shadcn/react's headless
327
+ Questionnaire, whose state classes put their parts on any element, so a card's or a dialog's
328
+ title can be the question (`{{i.title}}`). `@ember-joinery/test-support` adds
329
+ `QuestionnaireHarness`.
330
+ - a73065d: `RadioGroup` is shadcn's Radio Group, on Radix's: it yields its `Item`s, which share one tab
331
+ stop, and an arrow key moves focus and the choice, going round (`@loop`) and flipping right to
332
+ left. `@value`, `@defaultValue` and `@onValueChange`, `@disabled` on the group or an item,
333
+ `@required`, `@orientation`, and `@formName` for the hidden native radios it submits in a form.
334
+ `@ember-joinery/primitives/radio-group` is the headless one, and `@ember-joinery/test-support`
335
+ adds `RadioGroupHarness`.
336
+ - a73065d: `Rating` is ember-primitives' Rating: a `<fieldset role="radiogroup">` of native radios,
337
+ controlled or not (`@value`, `@defaultValue`, `@onValueChange`), with `@max`, half ratings
338
+ through `@step`, `@readonly`, a display-only mode (`@interactive={{false}}`) that summarises
339
+ itself, and its strings as arguments (`@itemLabel`, `@summary`).
340
+ `@ember-joinery/primitives/rating` is the headless one, whose block lays it out with `Stars`,
341
+ `Item` and `Range`; `@ember-joinery/ember`'s draws lucide's Star in shadcn's terms, in three
342
+ sizes, with half stars. `@ember-joinery/test-support` adds `RatingHarness`, which reads each
343
+ item's state (`stars`) and its icon's text (`starTexts`), and picks a value between the items on
344
+ a range or number input.
345
+ - a73065d: `ResizablePanelGroup`, `ResizablePanel` and `ResizableHandle` are shadcn's Resizable: panel
346
+ groups side by side or stacked, nested, with handles a pointer drags and the keyboard moves (APG's
347
+ window splitter), sizes in percent, pixels or font units, collapsible panels, and a layout to save
348
+ (`@defaultLayout`, `@onLayoutChanged`). They sit on `Resizable`, `ResizablePanel` and
349
+ `ResizableHandle` from `@ember-joinery/primitives/resizable`, which follow react-resizable-panels'
350
+ API and cover ember-primitives' `Resizable`. `@ember-joinery/test-support` adds
351
+ `ResizableHarness`, and `sendPointer()` for real pointer events.
352
+ - a73065d: `ScrollArea` and `ScrollBar` are shadcn's Scroll Area: native scrolling with scrollbars of the
353
+ style's drawing, which show while the pointer is over the area (`@type` for `scroll`, `auto` or
354
+ `always`). They sit on `ScrollArea` from `@ember-joinery/primitives/scroll-area`, Radix's, with
355
+ its viewport, scrollbars, thumbs and corner as parts. `@ember-joinery/test-support` adds
356
+ `ScrollAreaHarness`.
357
+ - a73065d: `Select` is shadcn's Select, on Radix's: `<Select as |s|>` yields Trigger (`@size`), Value
358
+ (`@placeholder`), Content, Group, Label, Item, Separator and Arrow, and a `trigger` modifier.
359
+ The list opens over its trigger with the chosen option on the value (`item-aligned`, the
360
+ default) or below it (`@position="popper"`), with scroll buttons while it scrolls, typeahead on
361
+ the closed trigger and in the list, focus kept inside and the rest of the page inert while it
362
+ is open, a hidden native `<select>` named `@formName` in a form, and a trigger a Field sizes
363
+ as it does upstream's. Its state is
364
+ `@value`/`@defaultValue`/`@onValueChange` and `@open`/`@defaultOpen`/`@onOpenChange`.
365
+ `@ember-joinery/primitives/select` is the headless one, and `@ember-joinery/test-support`
366
+ adds `SelectHarness`.
367
+ - a73065d: `@ember-joinery/primitives/separator` is ember-primitives' and Radix's Separator: an `<hr>` by
368
+ default or any tag with `@as`, `@orientation`, and `@decorative` (`role="none"` and
369
+ `aria-hidden`); `separatorAria()` returns its ARIA. `Separator` in `@ember-joinery/ember` is
370
+ shadcn's, on it (a decorative `div` unless told otherwise), with an `asSeparator` modifier.
371
+ `@ember-joinery/test-support` adds `SeparatorHarness`.
372
+ - a73065d: `SidebarProvider` is shadcn's Sidebar: `<SidebarProvider as |sidebar|>` yields the `Sidebar`
373
+ (`@side`, `@variant` of `sidebar`, `floating` or `inset`, and `@collapsible` of `offcanvas`,
374
+ `icon` or `none`), its Header, Content, Footer, Group (Label, Action, Content), Menu (Item,
375
+ Button, Action, Badge, Skeleton, Sub, SubItem, SubButton), Input, Separator, Rail, Inset and
376
+ Trigger, a modifier for each part (`<LinkTo {{sidebar.menuButton isActive=true}}>`), and what
377
+ upstream's `useSidebar()` returns (`state`, `open`, `setOpen`, `openMobile`, `setOpenMobile`,
378
+ `isMobile`, `toggleSidebar`). Its state is its own (`@defaultOpen`) or yours (`@open`,
379
+ `@onOpenChange`); the trigger, the rail and ⌘B/Ctrl+B (`@keyboardShortcut`) toggle it; each
380
+ change is kept in upstream's `sidebar_state` cookie, which `sidebarStateFromCookie()` reads back;
381
+ and below 768px wide (`@mobileBreakpoint`, measured in the window it renders in) it is a Sheet
382
+ with its own open state. A menu button's `@tooltip` names it while the sidebar is collapsed to
383
+ its icons. The trigger adds `aria-expanded`, which upstream's lacks, and keeps a ghost Button's
384
+ resting look while the sidebar is open. Slid off the screen (`offcanvas`), the sidebar hides
385
+ its items from the Tab key and screen readers, which upstream's leaves focusable off the
386
+ screen, and focus inside it goes to the trigger as it closes. `<UseSidebar as |sidebar|>` yields
387
+ the same from the nearest provider around it, as upstream's `useSidebar()` does, so a routed
388
+ page reaches the sidebar without its block params.
389
+ `@ember-joinery/test-support` adds `SidebarHarness`, `SidebarMenuButtonHarness` and
390
+ `SidebarMenuSubButtonHarness`. A floating part's content now also sees Radix Popper's own
391
+ custom properties (`--radix-popper-anchor-width` and the rest), which upstream's sidebar
392
+ examples size their menus by.
393
+ - a73065d: `Slider` is shadcn's Slider, on a new headless `Slider` in `@ember-joinery/primitives/slider`
394
+ (Radix's, covering ember-primitives' too): one `role="slider"` thumb per value, ranges and
395
+ multiple thumbs that pass each other (`@minStepsBetweenThumbs` keeps them apart), a `@step`
396
+ array that snaps to its values, vertical and inverted sliders, right to left through logical
397
+ edges, the APG keys, the pointer, `@onValueCommit`, `@getThumbLabel`, and hidden form inputs
398
+ with `@fieldName`. `@ember-joinery/test-support` adds `SliderHarness`.
399
+ - a73065d: `Switch` is shadcn's Switch, on Radix's, in its `default` and `sm` sizes: `@checked`,
400
+ `@defaultChecked` and `@onCheckedChange`, `@disabled` and `@required`, and a block that renders
401
+ inside the thumb (an icon, say). In a form, a hidden native checkbox beside it submits its
402
+ `name` and `value`. `@ember-joinery/primitives/switch` is the headless one, covering
403
+ ember-primitives' `Switch`, with a `Thumb` you render yourself, and
404
+ `@ember-joinery/test-support` adds `SwitchHarness`.
405
+ - a73065d: `Tabs` is shadcn's Tabs (`t.List` with `@variant="default"` or `"line"`, `t.Trigger`,
406
+ `t.Content`, and `@orientation="vertical"`), on a new headless `Tabs` and `TabsState` in
407
+ `@ember-joinery/primitives/tabs`, which covers ember-primitives' Tabs too: controlled or not
408
+ (`@value`, `@defaultValue`, and `@onValueChange`, which also hears the value before), the first
409
+ tab selected when no value is given, automatic or manual activation, one tab stop with the arrow
410
+ keys along the orientation (flipped right to left, wrapping unless `@loop={{false}}`), link tabs
411
+ on `<a href>` or `LinkTo` that focus never selects, and the `t.list`, `t.trigger` and
412
+ `t.content` modifiers for your own elements. `@ember-joinery/test-support` adds `TabsHarness`.
413
+ - a73065d: Toasts, as shadcn's Sonner: sonner 2.0.7 ported. `@ember-joinery/primitives/toast` has
414
+ `toast()` with sonner's methods (`success`, `info`, `warning`, `error`, `loading`, `message`,
415
+ `custom`, `promise`, `dismiss`, `getHistory`, `getToasts`), kept per owner in a `Toasts`
416
+ service so each app and each test has its own (`toastsFor(this)`), and a headless `Toaster`
417
+ with sonner's arguments, markup and data attributes: positions, the stack (three visible,
418
+ expanding on hover, keyboard focus or Alt+T), timers that pause, swipe to dismiss, rich colours,
419
+ close, action and cancel buttons. A new toast reaches the Toasters a microtask later, as
420
+ sonner's does, so `toast()` can be called while a page renders, and `toast.dismiss()` takes
421
+ what `toast.promise()` returns (`{ id, unwrap }`) as well as an id. Its lists are in the top
422
+ layer, so toasts show above dialogs, and are dismissable branches. `@ember-joinery/ember` adds
423
+ `Toaster`, upstream's: lucide's icons, the popover tokens and the theme's radius, a theme that
424
+ follows `.dark`, and sonner's CSS in `joinery.css`; it exports `toast` and `toastsFor` too.
425
+ `@ember-joinery/test-support` adds `ToasterHarness`, `ToastHarness` and `setupToaster(hooks)`.
426
+ sonner's MIT notice is in `NOTICE` and in the built JavaScript and CSS that carry its code.
427
+ - a73065d: `ToggleGroup` is shadcn's Toggle Group (`@type="single"` or `"multiple"`, `@variant`, `@size`,
428
+ `@spacing` and `@orientation` for every item), on a new headless `ToggleGroup` and
429
+ `ToggleGroupState` in `@ember-joinery/primitives/toggle-group`: one tab stop with the arrow keys
430
+ moving between items, radios in a single group and toggle buttons in a multiple one, and an
431
+ item modifier, `g.item`, for your own elements. `@ember-joinery/test-support` adds
432
+ `ToggleGroupHarness`.
433
+ - a73065d: `Toggle` is shadcn's Toggle, with typed `@variant` and `@size`, on a new headless `Toggle` in
434
+ `@ember-joinery/primitives/toggle` (`aria-pressed` and `data-state`, controlled with `@pressed`
435
+ or not with `@defaultPressed`); the `asToggle` modifier makes your own element a toggle, and
436
+ `toggleClasses()` and `toggleAttributes()` return its look. `@ember-joinery/test-support` adds
437
+ `ToggleHarness`.
438
+ - a73065d: `Tooltip` and `TooltipProvider` are shadcn's, on Radix's: a tooltip opens when the pointer
439
+ rests on its trigger (at once by default, as in shadcn's provider) or on focus, describes the
440
+ trigger through `aria-describedby`, lets the pointer cross onto it, and closes on blur, a
441
+ press, Escape or the pointer leaving; it draws its arrow. A provider's tooltips share its
442
+ `@delayDuration`, and the next opens at once just after one closed; tooltips need no provider.
443
+ `@ember-joinery/primitives/tooltip` is the headless pair, and `@ember-joinery/test-support`
444
+ adds `TooltipHarness` and the `hover()` and `unhover()` pointer helpers.
445
+
446
+ ### Patch Changes
447
+
448
+ - a53c07b: Type checks in package source use `@sindresorhus/is` (`isString`, `isFunction`, …) instead of `typeof`, and a lint rule keeps it that way. `@sindresorhus/is` is a new runtime dependency, so `ember-joinery add` now installs it into the app for most components, `icon` included. `isNumber` rejects `NaN`, so a `NaN` reaching a numeric check now takes the non-number branch.
449
+ - a73065d: `anchor()` and `{{anchorTo}}` set the anchor's size (`--jn-anchor-width`, `--jn-anchor-height`)
450
+ before they measure the floating element, and the Floating UI fallback places it again when
451
+ those properties change its size, as Radix's Popper does. So an element as wide as its anchor (a
452
+ Dropdown Menu's content) is placed at its own size the first time, and doesn't resize after it is
453
+ placed. A transition of the element's own on the properties that place it is cut short, so it
454
+ doesn't slide into place, and the browser's "ResizeObserver loop" message isn't reported as an
455
+ error.
456
+ - a73065d: `Field` is shadcn's Field family: `Field` (`@orientation` `vertical`, `horizontal` or
457
+ `responsive`, `@invalid`, `@disabled`), `FieldSet`, `FieldLegend` (`@variant`), `FieldGroup`,
458
+ `FieldContent`, `FieldLabel`, `FieldTitle`, `FieldDescription`, `FieldSeparator` and
459
+ `FieldError` (its block, or `@errors`: one message, or a list of distinct ones), with an `as…`
460
+ modifier for each part that has nothing of its own to render. `@ember-joinery/test-support`
461
+ adds `FieldHarness`, `FieldSetHarness` and `FieldGroupHarness`. A radio group's items now name
462
+ their group's `id` (the caller's own, when they give one) in `data-test-jn-owner`, so
463
+ `RadioGroupHarness` finds them inside a Field or a label around them, and the checkable
464
+ harnesses count a control in a disabled `<fieldset>` as disabled.
465
+ - 99eab0c: Built-in strings follow a live change of the translator's `locale`: a carousel's slide names
466
+ (`1 of 5`) and an input OTP's fallback name (`One-time password`) are set again in the new
467
+ language, not only on the next render. A date range picker reads typed text with the range
468
+ message it writes (`{from} – {to}`, or its translation), so a translated separator reads back,
469
+ and a dash, a hyphen or `to` still split English.
470
+ - a73065d: Every package's tarball carries Joinery's `LICENSE.md` and `NOTICE`, with the licences and
471
+ notices of what it ports (shadcn/ui, ember-primitives, sonner, recharts and the rest), copied in
472
+ from the repository's root by the package's `prepack`.
package/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 Joe Gaudet
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.