@slotted/react 0.1.0-beta.39 → 0.1.0-beta.40

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 (394) hide show
  1. package/dist/alert-CV8wKS-N.js +179 -0
  2. package/dist/alert.js +1 -1
  3. package/dist/{avatar-DLWElrgg.js → avatar-fHRva5zn.js} +1 -1
  4. package/dist/{avatar-group-DshHqe8B.js → avatar-group-bJaZE1_C.js} +1 -1
  5. package/dist/avatar-group.js +1 -1
  6. package/dist/avatar.js +1 -1
  7. package/dist/calendar-D3QZDlm0.js +598 -0
  8. package/dist/calendar.js +1 -1
  9. package/dist/clock-DzkQa57Q.js +290 -0
  10. package/dist/clock.js +2 -0
  11. package/dist/{dashboard-grid-B6jxBz4j.js → dashboard-grid-DAY_CjCW.js} +1 -1
  12. package/dist/dashboard-grid.js +1 -1
  13. package/dist/{data-grid-Cx0ZOf_e.js → data-grid-B7UuUvBH.js} +42 -37
  14. package/dist/data-grid.js +1 -1
  15. package/dist/{data-list-Cb2sNA6I.js → data-list-CyEq7M2D.js} +1 -1
  16. package/dist/data-list.js +1 -1
  17. package/dist/date-picker-DMcMFW_N.js +344 -0
  18. package/dist/date-picker.js +3 -2
  19. package/dist/date-range-picker-D9zo93NE.js +543 -0
  20. package/dist/date-range-picker.js +2 -2
  21. package/dist/datetime-picker-lOXZbAx_.js +462 -0
  22. package/dist/datetime-picker.js +2 -2
  23. package/dist/datetime-range-picker-DU5ctZbm.js +641 -0
  24. package/dist/datetime-range-picker.js +2 -2
  25. package/dist/divider-DUUPCIh4.js +35 -0
  26. package/dist/divider.js +1 -1
  27. package/dist/docs/alert.examples.md +500 -0
  28. package/dist/docs/alert.json +85 -37
  29. package/dist/docs/alert.md +37 -189
  30. package/dist/docs/aspect-ratio.json +40 -16
  31. package/dist/docs/aspect-ratio.md +204 -29
  32. package/dist/docs/avatar.json +125 -29
  33. package/dist/docs/avatar.md +374 -31
  34. package/dist/docs/badge.json +119 -23
  35. package/dist/docs/badge.md +436 -27
  36. package/dist/docs/calendar.json +53 -5
  37. package/dist/docs/calendar.md +7 -2
  38. package/dist/docs/card.json +98 -10
  39. package/dist/docs/card.md +468 -26
  40. package/dist/docs/clock.json +405 -0
  41. package/dist/docs/clock.md +189 -0
  42. package/dist/docs/container.json +54 -6
  43. package/dist/docs/container.md +247 -17
  44. package/dist/docs/date-picker.examples.md +143 -169
  45. package/dist/docs/date-picker.json +178 -223
  46. package/dist/docs/date-picker.md +44 -50
  47. package/dist/docs/date-range-picker.examples.md +169 -187
  48. package/dist/docs/date-range-picker.json +206 -337
  49. package/dist/docs/date-range-picker.md +52 -67
  50. package/dist/docs/datetime-picker.examples.md +75 -210
  51. package/dist/docs/datetime-picker.json +183 -410
  52. package/dist/docs/datetime-picker.md +50 -72
  53. package/dist/docs/datetime-range-picker.json +225 -502
  54. package/dist/docs/datetime-range-picker.md +250 -101
  55. package/dist/docs/divider.json +71 -7
  56. package/dist/docs/divider.md +281 -13
  57. package/dist/docs/grid.json +76 -12
  58. package/dist/docs/grid.md +376 -18
  59. package/dist/docs/index.md +1 -0
  60. package/dist/docs/inline-message.json +87 -40
  61. package/dist/docs/inline-message.md +314 -71
  62. package/dist/docs/inline.json +65 -9
  63. package/dist/docs/inline.md +276 -13
  64. package/dist/docs/kbd.json +76 -36
  65. package/dist/docs/kbd.md +346 -63
  66. package/dist/docs/link.json +65 -25
  67. package/dist/docs/link.md +317 -60
  68. package/dist/docs/progress-indicator.examples.md +522 -0
  69. package/dist/docs/progress-indicator.json +51 -27
  70. package/dist/docs/progress-indicator.md +13 -238
  71. package/dist/docs/result-state.examples.md +752 -0
  72. package/dist/docs/result-state.json +95 -47
  73. package/dist/docs/result-state.md +45 -228
  74. package/dist/docs/skeleton.json +70 -38
  75. package/dist/docs/skeleton.md +393 -71
  76. package/dist/docs/stack.json +57 -9
  77. package/dist/docs/stack.md +225 -12
  78. package/dist/docs/table.examples.md +6 -10
  79. package/dist/docs/table.json +5 -5
  80. package/dist/docs/table.md +1 -1
  81. package/dist/docs/tag.examples.md +503 -0
  82. package/dist/docs/tag.json +128 -32
  83. package/dist/docs/tag.md +27 -138
  84. package/dist/docs/time-picker.json +162 -300
  85. package/dist/docs/time-picker.md +100 -154
  86. package/dist/docs/time-range-picker.json +203 -465
  87. package/dist/docs/time-range-picker.md +125 -173
  88. package/dist/docs/toast.examples.md +690 -0
  89. package/dist/docs/toast.json +119 -71
  90. package/dist/docs/toast.md +44 -212
  91. package/dist/docs/tree.examples.md +2008 -0
  92. package/dist/docs/tree.json +283 -106
  93. package/dist/docs/tree.md +96 -328
  94. package/dist/docs/visually-hidden.json +38 -6
  95. package/dist/docs/visually-hidden.md +148 -11
  96. package/dist/{entity-picker-CwfA1wr_.js → entity-picker-BwJX0gNJ.js} +1 -1
  97. package/dist/entity-picker.js +1 -1
  98. package/dist/{filter-bar-b8bRNPs9.js → filter-bar-BQZFgV0A.js} +5 -3
  99. package/dist/filter-bar.js +1 -1
  100. package/dist/{import-export-center-C_oNc-RM.js → import-export-center-DWSEOV5Z.js} +3 -3
  101. package/dist/import-export-center.js +1 -1
  102. package/dist/index.js +101 -99
  103. package/dist/{markdown-x59MHBAa.js → markdown-7wOBMXTl.js} +1 -1
  104. package/dist/markdown.js +1 -1
  105. package/dist/picker-frame-_9ZqQOjf.js +43 -0
  106. package/dist/picker-group-CrNRKUxz.js +33 -0
  107. package/dist/picker-head-C_Z0tQGq.js +69 -0
  108. package/dist/picker-jump-BcTRIJs6.js +70 -0
  109. package/dist/picker-range-head-B4tsDOc5.js +100 -0
  110. package/dist/picker-step-MgBwF9g1.js +26 -0
  111. package/dist/read-title-id-DQZVWlMt.js +14 -0
  112. package/dist/result-state-Ct9AB01a.js +123 -0
  113. package/dist/result-state.js +1 -1
  114. package/dist/styles/app-shell.css +1 -1
  115. package/dist/styles/aspect-ratio.css +1 -1
  116. package/dist/styles/attachment.css +1 -1
  117. package/dist/styles/badge.css +1 -1
  118. package/dist/styles/calendar.css +1 -1
  119. package/dist/styles/cascader.css +1 -1
  120. package/dist/styles/chart.css +1 -1
  121. package/dist/styles/clock.css +2 -0
  122. package/dist/styles/code-block.css +1 -1
  123. package/dist/styles/command-palette.css +1 -1
  124. package/dist/styles/dashboard-grid.css +1 -1
  125. package/dist/styles/data-grid.css +14 -10
  126. package/dist/styles/data-list.css +1 -1
  127. package/dist/styles/date-picker.css +4 -2
  128. package/dist/styles/date-range-picker.css +4 -2
  129. package/dist/styles/datetime-picker.css +8 -2
  130. package/dist/styles/datetime-range-picker.css +6 -2
  131. package/dist/styles/detail-panel.css +3 -3
  132. package/dist/styles/entity-picker.css +1 -1
  133. package/dist/styles/event-calendar.css +1 -1
  134. package/dist/styles/filter-bar.css +11 -7
  135. package/dist/styles/grid.css +1 -1
  136. package/dist/styles/image.css +1 -1
  137. package/dist/styles/import-export-center.css +15 -11
  138. package/dist/styles/index.css +21 -17
  139. package/dist/styles/inline.css +1 -1
  140. package/dist/styles/loading-overlay.css +1 -1
  141. package/dist/styles/markdown.css +1 -1
  142. package/dist/styles/multi-select.css +1 -1
  143. package/dist/styles/notification-center.css +1 -1
  144. package/dist/styles/page-header.css +2 -2
  145. package/dist/styles/progress-indicator.css +1 -1
  146. package/dist/styles/side-navigation.css +2 -2
  147. package/dist/styles/skeleton.css +1 -1
  148. package/dist/styles/stack.css +1 -1
  149. package/dist/styles/stat-card.css +1 -1
  150. package/dist/styles/table-of-contents.css +1 -1
  151. package/dist/styles/table.css +14 -10
  152. package/dist/styles/time-picker.css +5 -1
  153. package/dist/styles/time-range-picker.css +5 -1
  154. package/dist/styles/toast.css +1 -1
  155. package/dist/styles/top-navigation.css +1 -1
  156. package/dist/styles/tree.css +1 -1
  157. package/dist/styles/upload.css +1 -1
  158. package/dist/styles/wizard.css +1 -1
  159. package/dist/styles.css +1 -1
  160. package/dist/{table-DqwYPHGS.js → table-MGb3iZY_.js} +11 -6
  161. package/dist/table.js +1 -1
  162. package/dist/time-picker-z4GSRuha.js +313 -0
  163. package/dist/time-picker.js +2 -2
  164. package/dist/time-range-picker-ar40oPcf.js +563 -0
  165. package/dist/time-range-picker.js +2 -2
  166. package/dist/{toast-DHDVXIew.js → toast-Cg28GkqX.js} +121 -117
  167. package/dist/toast.js +1 -1
  168. package/dist/tree-CytfCFT-.js +874 -0
  169. package/dist/tree.js +1 -1
  170. package/dist/types/alert/alert-parts.d.ts +1 -1
  171. package/dist/types/alert/alert-parts.d.ts.map +1 -1
  172. package/dist/types/alert/alert.d.ts.map +1 -1
  173. package/dist/types/alert/alert.types.d.ts +1 -1
  174. package/dist/types/alert/alert.types.d.ts.map +1 -1
  175. package/dist/types/avatar/avatar.d.ts.map +1 -1
  176. package/dist/types/badge/badge.types.d.ts +1 -1
  177. package/dist/types/badge/badge.types.d.ts.map +1 -1
  178. package/dist/types/calendar/calendar-day-cell.d.ts +3 -1
  179. package/dist/types/calendar/calendar-day-cell.d.ts.map +1 -1
  180. package/dist/types/calendar/calendar-header.d.ts +9 -5
  181. package/dist/types/calendar/calendar-header.d.ts.map +1 -1
  182. package/dist/types/calendar/calendar-month-table.d.ts +8 -3
  183. package/dist/types/calendar/calendar-month-table.d.ts.map +1 -1
  184. package/dist/types/calendar/calendar.d.ts +1 -1
  185. package/dist/types/calendar/calendar.d.ts.map +1 -1
  186. package/dist/types/calendar/calendar.types.d.ts +12 -1
  187. package/dist/types/calendar/calendar.types.d.ts.map +1 -1
  188. package/dist/types/clock/clock-body.d.ts +16 -0
  189. package/dist/types/clock/clock-body.d.ts.map +1 -0
  190. package/dist/types/clock/clock-demo.d.ts +15 -0
  191. package/dist/types/clock/clock-demo.d.ts.map +1 -0
  192. package/dist/types/clock/clock-groups.d.ts +15 -0
  193. package/dist/types/clock/clock-groups.d.ts.map +1 -0
  194. package/dist/types/clock/clock-option.d.ts +14 -0
  195. package/dist/types/clock/clock-option.d.ts.map +1 -0
  196. package/dist/types/clock/clock-units.d.ts +13 -0
  197. package/dist/types/clock/clock-units.d.ts.map +1 -0
  198. package/dist/types/clock/clock.d.ts +11 -0
  199. package/dist/types/clock/clock.d.ts.map +1 -0
  200. package/dist/types/clock/clock.types.d.ts +66 -0
  201. package/dist/types/clock/clock.types.d.ts.map +1 -0
  202. package/dist/types/clock/index.d.ts +3 -0
  203. package/dist/types/clock/index.d.ts.map +1 -0
  204. package/dist/types/clock/use-clock-grid.d.ts +28 -0
  205. package/dist/types/clock/use-clock-grid.d.ts.map +1 -0
  206. package/dist/types/clock/use-clock-view.d.ts +16 -0
  207. package/dist/types/clock/use-clock-view.d.ts.map +1 -0
  208. package/dist/types/data-grid/data-grid-filter.d.ts.map +1 -1
  209. package/dist/types/date-picker/date-panel.d.ts +32 -0
  210. package/dist/types/date-picker/date-panel.d.ts.map +1 -0
  211. package/dist/types/date-picker/date-picker-demo.d.ts +8 -15
  212. package/dist/types/date-picker/date-picker-demo.d.ts.map +1 -1
  213. package/dist/types/date-picker/date-picker-panel.d.ts +18 -0
  214. package/dist/types/date-picker/date-picker-panel.d.ts.map +1 -0
  215. package/dist/types/date-picker/date-picker.d.ts +7 -13
  216. package/dist/types/date-picker/date-picker.d.ts.map +1 -1
  217. package/dist/types/date-picker/date-picker.types.d.ts +15 -16
  218. package/dist/types/date-picker/date-picker.types.d.ts.map +1 -1
  219. package/dist/types/date-picker/index.d.ts +1 -1
  220. package/dist/types/date-picker/index.d.ts.map +1 -1
  221. package/dist/types/date-picker/month-picker.d.ts +12 -0
  222. package/dist/types/date-picker/month-picker.d.ts.map +1 -0
  223. package/dist/types/date-picker/use-date-panel.d.ts +50 -0
  224. package/dist/types/date-picker/use-date-panel.d.ts.map +1 -0
  225. package/dist/types/date-picker/use-date-picker.d.ts +24 -0
  226. package/dist/types/date-picker/use-date-picker.d.ts.map +1 -0
  227. package/dist/types/date-range-picker/date-range-control.d.ts +34 -0
  228. package/dist/types/date-range-picker/date-range-control.d.ts.map +1 -0
  229. package/dist/types/date-range-picker/date-range-panel.d.ts +24 -0
  230. package/dist/types/date-range-picker/date-range-panel.d.ts.map +1 -0
  231. package/dist/types/date-range-picker/date-range-picker-demo.d.ts +8 -15
  232. package/dist/types/date-range-picker/date-range-picker-demo.d.ts.map +1 -1
  233. package/dist/types/date-range-picker/date-range-picker.d.ts +11 -21
  234. package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
  235. package/dist/types/date-range-picker/date-range-picker.types.d.ts +12 -26
  236. package/dist/types/date-range-picker/date-range-picker.types.d.ts.map +1 -1
  237. package/dist/types/date-range-picker/index.d.ts +2 -2
  238. package/dist/types/date-range-picker/index.d.ts.map +1 -1
  239. package/dist/types/date-range-picker/range-words.d.ts +30 -0
  240. package/dist/types/date-range-picker/range-words.d.ts.map +1 -0
  241. package/dist/types/date-range-picker/use-date-range-picker.d.ts +32 -0
  242. package/dist/types/date-range-picker/use-date-range-picker.d.ts.map +1 -0
  243. package/dist/types/date-range-picker/use-range-draft.d.ts +39 -0
  244. package/dist/types/date-range-picker/use-range-draft.d.ts.map +1 -0
  245. package/dist/types/date-range-picker/use-range-panel.d.ts +71 -0
  246. package/dist/types/date-range-picker/use-range-panel.d.ts.map +1 -0
  247. package/dist/types/datetime-picker/datetime-picker-defaults.d.ts +3 -9
  248. package/dist/types/datetime-picker/datetime-picker-defaults.d.ts.map +1 -1
  249. package/dist/types/datetime-picker/datetime-picker-demo.d.ts +8 -31
  250. package/dist/types/datetime-picker/datetime-picker-demo.d.ts.map +1 -1
  251. package/dist/types/datetime-picker/datetime-picker-panel.d.ts +23 -0
  252. package/dist/types/datetime-picker/datetime-picker-panel.d.ts.map +1 -0
  253. package/dist/types/datetime-picker/datetime-picker.d.ts +8 -19
  254. package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
  255. package/dist/types/datetime-picker/datetime-picker.types.d.ts +25 -66
  256. package/dist/types/datetime-picker/datetime-picker.types.d.ts.map +1 -1
  257. package/dist/types/datetime-picker/index.d.ts +2 -2
  258. package/dist/types/datetime-picker/index.d.ts.map +1 -1
  259. package/dist/types/datetime-picker/use-datetime-panel.d.ts +69 -0
  260. package/dist/types/datetime-picker/use-datetime-panel.d.ts.map +1 -0
  261. package/dist/types/datetime-picker/use-datetime-picker.d.ts +22 -0
  262. package/dist/types/datetime-picker/use-datetime-picker.d.ts.map +1 -0
  263. package/dist/types/datetime-range-picker/datetime-range-half.d.ts +20 -0
  264. package/dist/types/datetime-range-picker/datetime-range-half.d.ts.map +1 -0
  265. package/dist/types/datetime-range-picker/datetime-range-panel.d.ts +30 -0
  266. package/dist/types/datetime-range-picker/datetime-range-panel.d.ts.map +1 -0
  267. package/dist/types/datetime-range-picker/datetime-range-picker-defaults.d.ts +5 -7
  268. package/dist/types/datetime-range-picker/datetime-range-picker-defaults.d.ts.map +1 -1
  269. package/dist/types/datetime-range-picker/datetime-range-picker-demo.d.ts +8 -24
  270. package/dist/types/datetime-range-picker/datetime-range-picker-demo.d.ts.map +1 -1
  271. package/dist/types/datetime-range-picker/datetime-range-picker.d.ts +12 -24
  272. package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
  273. package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts +31 -66
  274. package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts.map +1 -1
  275. package/dist/types/datetime-range-picker/datetime-range-words.d.ts +40 -0
  276. package/dist/types/datetime-range-picker/datetime-range-words.d.ts.map +1 -0
  277. package/dist/types/datetime-range-picker/index.d.ts +4 -3
  278. package/dist/types/datetime-range-picker/index.d.ts.map +1 -1
  279. package/dist/types/datetime-range-picker/use-datetime-range-draft.d.ts +43 -0
  280. package/dist/types/datetime-range-picker/use-datetime-range-draft.d.ts.map +1 -0
  281. package/dist/types/datetime-range-picker/use-datetime-range-panel.d.ts +82 -0
  282. package/dist/types/datetime-range-picker/use-datetime-range-panel.d.ts.map +1 -0
  283. package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts +28 -0
  284. package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts.map +1 -0
  285. package/dist/types/divider/divider.d.ts +1 -1
  286. package/dist/types/divider/divider.d.ts.map +1 -1
  287. package/dist/types/filter-bar/filter-bar-rules.d.ts.map +1 -1
  288. package/dist/types/index.d.ts +1 -0
  289. package/dist/types/index.d.ts.map +1 -1
  290. package/dist/types/picker-panel/picker-footer.d.ts +17 -0
  291. package/dist/types/picker-panel/picker-footer.d.ts.map +1 -0
  292. package/dist/types/picker-panel/picker-frame.d.ts +21 -0
  293. package/dist/types/picker-panel/picker-frame.d.ts.map +1 -0
  294. package/dist/types/picker-panel/picker-group.d.ts +18 -0
  295. package/dist/types/picker-panel/picker-group.d.ts.map +1 -0
  296. package/dist/types/picker-panel/picker-head.d.ts +27 -0
  297. package/dist/types/picker-panel/picker-head.d.ts.map +1 -0
  298. package/dist/types/picker-panel/picker-jump.d.ts +18 -0
  299. package/dist/types/picker-panel/picker-jump.d.ts.map +1 -0
  300. package/dist/types/picker-panel/picker-layer.d.ts +14 -0
  301. package/dist/types/picker-panel/picker-layer.d.ts.map +1 -0
  302. package/dist/types/picker-panel/picker-panel.d.ts +17 -0
  303. package/dist/types/picker-panel/picker-panel.d.ts.map +1 -0
  304. package/dist/types/picker-panel/picker-rail.d.ts +17 -0
  305. package/dist/types/picker-panel/picker-rail.d.ts.map +1 -0
  306. package/dist/types/picker-panel/picker-range-head.d.ts +37 -0
  307. package/dist/types/picker-panel/picker-range-head.d.ts.map +1 -0
  308. package/dist/types/picker-panel/picker-ruler.d.ts +14 -0
  309. package/dist/types/picker-panel/picker-ruler.d.ts.map +1 -0
  310. package/dist/types/picker-panel/picker-step.d.ts +11 -0
  311. package/dist/types/picker-panel/picker-step.d.ts.map +1 -0
  312. package/dist/types/picker-panel/picker-trigger.d.ts +16 -0
  313. package/dist/types/picker-panel/picker-trigger.d.ts.map +1 -0
  314. package/dist/types/picker-panel/use-media-query.d.ts +3 -0
  315. package/dist/types/picker-panel/use-media-query.d.ts.map +1 -0
  316. package/dist/types/picker-panel/use-picker-draft.d.ts +18 -0
  317. package/dist/types/picker-panel/use-picker-draft.d.ts.map +1 -0
  318. package/dist/types/picker-panel/use-picker-layer.d.ts +31 -0
  319. package/dist/types/picker-panel/use-picker-layer.d.ts.map +1 -0
  320. package/dist/types/picker-panel/use-picker-open.d.ts +14 -0
  321. package/dist/types/picker-panel/use-picker-open.d.ts.map +1 -0
  322. package/dist/types/picker-panel/use-picker-position.d.ts +12 -0
  323. package/dist/types/picker-panel/use-picker-position.d.ts.map +1 -0
  324. package/dist/types/picker-panel/use-picker-value.d.ts +20 -0
  325. package/dist/types/picker-panel/use-picker-value.d.ts.map +1 -0
  326. package/dist/types/result-state/result-state.d.ts +32 -2
  327. package/dist/types/result-state/result-state.d.ts.map +1 -1
  328. package/dist/types/table/table-filter.d.ts.map +1 -1
  329. package/dist/types/table/table.types.d.ts +16 -14
  330. package/dist/types/table/table.types.d.ts.map +1 -1
  331. package/dist/types/tag/tag.types.d.ts +1 -1
  332. package/dist/types/tag/tag.types.d.ts.map +1 -1
  333. package/dist/types/time-picker/index.d.ts +2 -2
  334. package/dist/types/time-picker/index.d.ts.map +1 -1
  335. package/dist/types/time-picker/time-picker-defaults.d.ts +0 -7
  336. package/dist/types/time-picker/time-picker-defaults.d.ts.map +1 -1
  337. package/dist/types/time-picker/time-picker-demo.d.ts +15 -0
  338. package/dist/types/time-picker/time-picker-demo.d.ts.map +1 -0
  339. package/dist/types/time-picker/time-picker-panel.d.ts +17 -0
  340. package/dist/types/time-picker/time-picker-panel.d.ts.map +1 -0
  341. package/dist/types/time-picker/time-picker.d.ts +6 -14
  342. package/dist/types/time-picker/time-picker.d.ts.map +1 -1
  343. package/dist/types/time-picker/time-picker.types.d.ts +21 -45
  344. package/dist/types/time-picker/time-picker.types.d.ts.map +1 -1
  345. package/dist/types/time-picker/use-time-panel.d.ts +42 -0
  346. package/dist/types/time-picker/use-time-panel.d.ts.map +1 -0
  347. package/dist/types/time-picker/use-time-picker.d.ts +27 -0
  348. package/dist/types/time-picker/use-time-picker.d.ts.map +1 -0
  349. package/dist/types/time-range-picker/index.d.ts +4 -3
  350. package/dist/types/time-range-picker/index.d.ts.map +1 -1
  351. package/dist/types/time-range-picker/time-range-panel.d.ts +23 -0
  352. package/dist/types/time-range-picker/time-range-panel.d.ts.map +1 -0
  353. package/dist/types/time-range-picker/time-range-picker-defaults.d.ts +2 -4
  354. package/dist/types/time-range-picker/time-range-picker-defaults.d.ts.map +1 -1
  355. package/dist/types/time-range-picker/time-range-picker-demo.d.ts +8 -24
  356. package/dist/types/time-range-picker/time-range-picker-demo.d.ts.map +1 -1
  357. package/dist/types/time-range-picker/time-range-picker.d.ts +12 -28
  358. package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
  359. package/dist/types/time-range-picker/time-range-picker.types.d.ts +24 -64
  360. package/dist/types/time-range-picker/time-range-picker.types.d.ts.map +1 -1
  361. package/dist/types/time-range-picker/time-range-words.d.ts +37 -0
  362. package/dist/types/time-range-picker/time-range-words.d.ts.map +1 -0
  363. package/dist/types/time-range-picker/use-time-range-panel.d.ts +68 -0
  364. package/dist/types/time-range-picker/use-time-range-panel.d.ts.map +1 -0
  365. package/dist/types/time-range-picker/use-time-range-picker.d.ts +25 -0
  366. package/dist/types/time-range-picker/use-time-range-picker.d.ts.map +1 -0
  367. package/dist/types/title-id/read-title-id.d.ts +15 -0
  368. package/dist/types/title-id/read-title-id.d.ts.map +1 -0
  369. package/dist/types/toast/toast.d.ts.map +1 -1
  370. package/dist/types/tree/index.d.ts +1 -1
  371. package/dist/types/tree/index.d.ts.map +1 -1
  372. package/dist/types/tree/tree-parts.d.ts +2 -0
  373. package/dist/types/tree/tree-parts.d.ts.map +1 -1
  374. package/dist/types/tree/tree.d.ts +1 -1
  375. package/dist/types/tree/tree.d.ts.map +1 -1
  376. package/dist/types/tree/tree.types.d.ts +15 -5
  377. package/dist/types/tree/tree.types.d.ts.map +1 -1
  378. package/dist/use-date-picker-DL8tRXji.js +63 -0
  379. package/dist/use-picker-draft-Bw8VFaj0.js +377 -0
  380. package/dist/{wizard-CL6u1aJb.js → wizard-BokOrtwq.js} +1 -1
  381. package/dist/wizard.js +1 -1
  382. package/package.json +10 -6
  383. package/dist/alert-Bi9s1cjV.js +0 -174
  384. package/dist/calendar-CX0wN5Bh.js +0 -564
  385. package/dist/date-picker-CLXTtQGe.js +0 -337
  386. package/dist/date-range-picker-Br0neGyT.js +0 -522
  387. package/dist/datetime-picker-CR-H_BLu.js +0 -683
  388. package/dist/datetime-range-picker-BLo58OIk.js +0 -1050
  389. package/dist/divider-ryFeK0Pi.js +0 -35
  390. package/dist/docs/datetime-range-picker.examples.md +0 -219
  391. package/dist/result-state-BMYhelu1.js +0 -128
  392. package/dist/time-picker-B4-GsO24.js +0 -436
  393. package/dist/time-range-picker-DVOWN8PF.js +0 -800
  394. package/dist/tree-D-y-0TrL.js +0 -794
@@ -63,45 +63,45 @@ export default function ToastBasic() {
63
63
 
64
64
  | Name | Type | Default | Applies to | Description |
65
65
  | --- | --- | --- | --- | --- |
66
- | `placement` | `'top-start' \| 'top' \| 'top-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end'` | bottom-end | ToastRegion | Which edge the region sits at, named logically so a right-to-left document mirrors it |
67
- | `attach` | `'portal' \| 'viewport' \| 'inline'` | portal | ToastRegion | Where the region is rendered: at the end of the document carrying the theme it came from, fixed where it was written, or absolute against the nearest positioned ancestor |
68
- | `stacking` | `'list' \| 'stack'` | list | ToastRegion | A column of messages at their own height, or a pile that opens when the pointer is over it or the keyboard inside it |
69
- | `limit` | `number` | 3 | ToastRegion | How many messages are on screen at once. What arrives past it waits, and what is already there stays |
70
- | `duration` | `number` | 5000 | ToastRegion, toast.show | Milliseconds on screen, counted from the moment a message becomes visible. 0 never expires |
71
- | `swipe` | `boolean` | true | ToastRegion | Lets a message be dragged toward the edge the placement names. A drag that starts on a control never becomes a swipe |
72
- | `pauseOnHover` | `boolean` | true | ToastRegion | The pointer over the region holds every clock. Focus inside it holds them too, and that one is not an axis: switching it off would expire the message under the keyboard using it |
73
- | `pauseWhenHidden` | `boolean` | true | ToastRegion | A hidden tab holds every clock. A five-second message shown to a tab nobody is looking at was never shown |
74
- | `hotkey` | `string` | F6 | ToastRegion | The key that moves focus into the region, written the way a reader says it — F6, Alt+T, Shift+F8 |
75
- | `messages` | `Partial<ToastMessages>` | — | ToastRegion | Words laid over the language in force, key by key: the name a reader finds the region by in their landmark list, and what the hotkey lands in (label), and what each close control announces (close) |
76
- | `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | accent | toast.show | Which of the five semantic colors the message speaks in, and which mark it draws |
77
- | `variant` | `'raised' \| 'soft' \| 'solid'` | raised | toast.show | How that color is painted. raised keeps the neutral surface and puts the tone in the mark, which is what a box floating over unknown content should do |
78
- | `priority` | `'polite' \| 'assertive'` | polite | toast.show | How loudly the announcer says it. Never inferred from the tone: a danger message a background job produced must not cut into a sentence |
79
- | `dismissible` | `boolean` | true | toast.show | Renders the control that closes the message. A touch reader has no Escape key, so the pointer needs a target |
80
- | `progress` | `boolean` | false | toast.show | Draws how much of the duration is left. It is off by default because a message with no duration has nothing to draw |
81
- | `toasts` | `readonly ToastMessage[]` | — | ToastRegion | The queue the page owns. Passing it puts the region in controlled mode for good, and the family then only asks |
82
- | `defaultToasts` | `readonly ToastMessage[]` | — | ToastRegion | The queue an uncontrolled region starts from, read once. A later change to it is not silently adopted |
83
- | `title` | `ReactNode` | — | toast.show | The message’s name. A string here is also what the announcer says, unless announcement states otherwise |
84
- | `description` | `ReactNode` | — | toast.show | The message. Joined to the title for the announcement when both are strings |
85
- | `announcement` | `string` | — | toast.show | What a reader hears. State it when the body is a component of the page’s own: a rendered node cannot be read from the store, so a message that says nothing here is shown and not spoken |
86
- | `loading` | `boolean` | false | toast.show | Waiting on a promise. It draws no countdown and is given no duration, and the mark slot holds whatever the page put there |
87
- | `icon` | `ReactNode` | — | toast.show | Replaces the tone’s mark, keeping its box and its place on the message’s first line. Angular projects a template instead |
88
- | `hideIcon` | `boolean` | false | toast.show | Draws no mark at all. The words then start at the box’s own inset rather than one gap further in |
89
- | `actions` | `ReactNode` | — | toast.show | The page’s own controls, under the words. A message that has them is given no duration unless one is stated |
90
- | `id` | `string` | — | toast.show | Showing a message whose id is already in the queue updates that message in place rather than adding a second one |
91
- | `container` | `Element \| null` | — | ToastRegion | The element a portalled region is placed inside, for an application shell that owns its own stacking context |
92
- | `children` | `(message) => ReactNode` | — | ToastRegion | Renders each message itself. The clock, the exit, the swipe, the keyboard and the announcement are still the family’s; what the page writes is the body |
93
- | `render` | `(props) => ReactNode` | — | ToastContent, ToastTitle, ToastDescription, ToastActions, ToastClose | Substitutes the rendered element of a part and hands it every data attribute |
94
- | `toast` | `Toaster` | — | anywhere | The shared imperative facade: show, update, dismiss, clear, pauseAll, resumeAll and promise. It is a plain object rather than a hook, because a message is shown from an interceptor or a saga that is nowhere near a component |
95
- | `createToaster` | `() => Toaster` | — | an application | A queue of its own, for a shell that needs two regions — a global one and one for a canvas. ToasterProvider says which region renders it |
96
- | `ToastDefaultsProvider` | `{ placement, attach, stacking, tone, variant, limit, duration, hotkey, … }` | — | a subtree | Sets every axis once for every region and every message under it; an explicit value on one message still wins |
97
- | `useToastQueue` | `() => { visible, queued, paused }` | — | inside a region | How many messages are on screen, how many are waiting and whether the clocks are held, for a page that wants to say so |
66
+ | `placement` | `'top-start' \| 'top' \| 'top-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end'` | bottom-end | ToastRegion | The edge the region sits at. The names are logical, so a right-to-left document mirrors them. |
67
+ | `attach` | `'portal' \| 'viewport' \| 'inline'` | portal | ToastRegion | Where the region is rendered. portal places it at the end of the document with the theme it came from, viewport fixes it where it is written, and inline positions it in the nearest positioned ancestor. |
68
+ | `stacking` | `'list' \| 'stack'` | list | ToastRegion | How the messages are arranged. list is a column at their own height; stack is a pile that opens while the pointer is over it or focus is inside it. |
69
+ | `limit` | `number` | 3 | ToastRegion | How many messages are on screen at once. The rest wait, and a waiting message has no timer. |
70
+ | `duration` | `number` | 5000 | ToastRegion, toast.show | The milliseconds a message stays on screen, counted from the moment it appears. 0 never expires. |
71
+ | `swipe` | `boolean` | true | ToastRegion | Whether a message can be dragged toward the edge of the placement to dismiss it. A drag that starts on a control is not a swipe. |
72
+ | `pauseOnHover` | `boolean` | true | ToastRegion | Whether the timers stop while the pointer is over the region. Focus inside the region always stops them. |
73
+ | `pauseWhenHidden` | `boolean` | true | ToastRegion | Whether the timers stop while the tab is hidden. |
74
+ | `hotkey` | `string` | F6 | ToastRegion | The key that moves focus into the region, such as F6, Alt+T or Shift+F8. |
75
+ | `messages` | `Partial<ToastMessages>` | — | ToastRegion | The words of the region over the ones of the language in force: label names the region and close names each close button. |
76
+ | `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | accent | toast.show | The color and the mark of the message. secondary draws no mark. |
77
+ | `variant` | `'raised' \| 'soft' \| 'solid'` | raised | toast.show | How the tone is painted. raised keeps the neutral surface and puts the tone in the mark, soft tints the surface, and solid fills it. |
78
+ | `priority` | `'polite' \| 'assertive'` | polite | toast.show | How the message is announced. assertive interrupts the screen reader. It does not follow the tone. |
79
+ | `dismissible` | `boolean` | true | toast.show | Whether the message has a close button. |
80
+ | `progress` | `boolean` | false | toast.show | Whether the message draws how much of its duration is left. |
81
+ | `toasts` | `readonly ToastMessage[]` | — | ToastRegion | The queue you own. A region that receives it is controlled for its whole life and only asks for changes. |
82
+ | `defaultToasts` | `readonly ToastMessage[]` | — | ToastRegion | The messages the queue starts with, read once. |
83
+ | `title` | `ReactNode` | — | toast.show | The name of the message. With the description, it is what is announced. |
84
+ | `description` | `ReactNode` | — | toast.show | The text under the title. |
85
+ | `announcement` | `string` | — | toast.show | What is announced instead of the title and the description. State it for a message whose content is not a string. |
86
+ | `loading` | `boolean` | false | toast.show | Whether the message waits for work to end. It draws a loader in place of the mark and never expires. |
87
+ | `icon` | `ReactNode` | — | toast.show | The content that replaces the mark of the tone. |
88
+ | `hideIcon` | `boolean` | false | toast.show | Whether the mark is left out. |
89
+ | `actions` | `ReactNode` | — | toast.show | The controls under the text. A message with actions never expires unless it states a duration. |
90
+ | `id` | `string` | — | toast.show | The identifier of the message. Showing an id that is already in the queue updates that message in place. |
91
+ | `container` | `Element \| null` | — | ToastRegion | The element a portalled region is placed in. |
92
+ | `children` | `(message) => ReactNode` | — | ToastRegion | Renders each message. The timer, the exit, the swipe, the keyboard and the announcement stay. |
93
+ | `render` | `(props) => ReactNode` | — | ToastContent, ToastTitle, ToastDescription, ToastActions, ToastClose | Renders the part as another element with the attributes it receives. |
94
+ | `toast` | `Toaster` | — | anywhere | The shared queue: show, update, dismiss, clear, pauseAll, resumeAll and promise. It is a plain object, so it works outside components. |
95
+ | `createToaster` | `() => Toaster` | — | an application | Creates another queue, for an application with two regions. Pass it to a region as toaster, or to a subtree with ToasterProvider. |
96
+ | `ToastDefaultsProvider` | `{ placement, attach, stacking, tone, variant, limit, duration, hotkey, … }` | — | a subtree | Sets the axes once for every region and message under it. A value on a region or a message still wins. |
97
+ | `useToastQueue` | `() => { visible, queued, paused }` | — | inside a region | Reads how many messages are on screen, how many wait and whether the timers are stopped. |
98
98
 
99
99
  ## Events
100
100
 
101
101
  | Name | Payload | When |
102
102
  | --- | --- | --- |
103
- | `onToastsChange` | `(toasts, request)` | Asks to change the queue. The first argument is the queue as it will be; the request carries the value it replaces, the reason — programmatic, dismiss, escape, keyboard, pointer, timeout or clear — the originating event, and cancel(). Calling cancel() refuses the change and nothing moves. |
104
- | `onStatusChange` | `(status, message)` | Per message, passed to the call that showed it. Reports visible when it reaches the screen, closing when it has left the queue and is still leaving the document, and removed once it is gone. |
103
+ | `onToastsChange` | `(toasts, request)` | Before the queue changes. The request carries the previous queue, the reason (programmatic, dismiss, escape, keyboard, pointer, timeout or clear), the originating event and cancel(). |
104
+ | `onStatusChange` | `(status, message)` | When a message appears (visible), leaves the queue (closing) and leaves the document (removed). It is passed to the call that shows the message. |
105
105
 
106
106
  ## Axes and defaults
107
107
 
@@ -121,15 +121,15 @@ export default function ToastBasic() {
121
121
 
122
122
  ## Rules
123
123
 
124
- - There is no toast pattern in the WAI-ARIA Authoring Practices. The closest official guidance is the Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/), and this family departs from it twice, both times on purpose. The visible message carries no live role, and the family binds keys the pattern says it should not — because the pattern’s table is empty for a message that holds no controls, and every toast worth shipping holds at least a Close.
125
- - The region is a landmark and the announcement is made elsewhere. A live role on a box holding a Close and an Undo is read with both buttons inside the sentence, and a live region created in the same task as its text is silent under ARIA 1.2 §6.4 — which is exactly what a message that has just been added is. packages/core/src/live-announcer builds its regions before any message exists, deduplicates, and spaces two announcements so the second is not lost.
126
- - A message that renders content of its own announces the string passed as announcement, and nothing at all when none is passed. A rendered node cannot be read out of the store, and guessing at it would announce markup.
127
- - The pattern’s one prose rule is kept without exception: a message arriving never moves focus. The reader moves it, with F6, and Shift+F6 is their browser’s own landmark navigation. Escape closes the message the keyboard is inside and hands it back to where it came from.
128
- - When the message holding focus is taken away — by its own control, or by the page’s state — focus goes to the next message, then to the element it came from. Only React Aria answers this at all, and only for its own close button.
129
- - WCAG 2.2 SC 2.2.1 is the criterion a timer answers, and the family takes the first of the criterion’s six ways out: the limit can be turned off before a reader meets it, by setting duration to 0 on ToastDefaultsProvider for the whole application. Putting that switch in front of the reader is the application’s work, not the family’s.
130
- - A message that carries an action is given no duration unless one is stated, and a message waiting on a promise is given none either. Angular Material states the first rule and is alone in it; five surveyed implementations ship the action and the timer and leave the combination to the consumer.
131
- - Every tone with a severity carries a mark as well as a color, and secondary carries none: a neutral note has no severity to state. Under forced colors the five grounds become one system color, so the mark, and its absence on a note, is the only thing distinguishing a failure from a note — WCAG 2.2 1.4.1.
132
- - The region takes no pointer events and each message takes its own, so a region pinned over a page never eats a press meant for the page. Every surveyed implementation does this and none of them says so, which is how a consumer finds a dead corner in their own application.
124
+ - The region is a landmark with the name Notifications in English. The words of a message are announced by a live region that exists before any message does, so the buttons of a message are not read inside its sentence.
125
+ - A message is announced as its title and its description. A message whose content is not a string announces the string in announcement, and nothing without one.
126
+ - A message that arrives never moves focus. The hotkey, F6 by default, moves focus to the newest message, and Escape dismisses the message focus is in.
127
+ - When the message that holds focus leaves, focus moves to the next message, and after the last one to the element it came from.
128
+ - The timers stop while the pointer is over the region, while focus is inside it and while the tab is hidden, and go on with the time that was left.
129
+ - A duration of 0 in the defaults turns every time limit off, which WCAG 2.2 SC 2.2.1 asks an application to offer. The setting that does so is yours.
130
+ - A message with actions, and one that is loading, never expires unless it states a duration.
131
+ - Every tone with a severity has a mark of its own shape, so the tone is not told by color alone. secondary has none.
132
+ - The region lets pointer events through, and each message takes its own.
133
133
 
134
134
  ## Tokens
135
135
 
@@ -137,172 +137,4 @@ export default function ToastBasic() {
137
137
 
138
138
  ## Examples
139
139
 
140
- ### Playground
141
-
142
- One region with every axis on it, driven by the controls below the canvas. The messages here are given no duration so the page has something to show; an application states one, or lets the default of five seconds stand.
143
-
144
- Excerpt — not a complete module
145
-
146
- ```tsx
147
- // Once, near the root of the application.
148
- <ToastRegion />;
149
-
150
- // From anywhere at all — an event handler, an interceptor, a saga.
151
- toast.show({
152
- title: 'Draft saved',
153
- description: 'Everything since 2:02 PM is saved.',
154
- });
155
- ```
156
-
157
- ### What the message is about
158
-
159
- Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in grayscale, or under forced colors where every ground becomes one system color, the silhouette is the only thing left to tell a failure from a note.
160
-
161
- Excerpt — not a complete module
162
-
163
- ```tsx
164
- // accent is information, secondary a neutral note, success something
165
- // finished, warning something that needs attention, danger something failed.
166
- toast.show({ title: 'Could not send', tone: 'danger' });
167
- ```
168
-
169
- ### How that tone is painted
170
-
171
- raised is the default and the one the other message families do not have: a toast floats over content this family does not own, so the tone is in the mark and the box keeps the neutral raised surface. soft and solid are for a region inside a page’s own chrome.
172
-
173
- Excerpt — not a complete module
174
-
175
- ```tsx
176
- toast.show({ title: 'Invoice sent', tone: 'success', variant: 'raised' });
177
- toast.show({ title: 'Invoice sent', tone: 'success', variant: 'soft' });
178
- toast.show({ title: 'Sending failed', tone: 'danger', variant: 'solid' });
179
- ```
180
-
181
- ### Which corner the region owns
182
-
183
- Six placements, all written in logical properties: bottom-end is the bottom right of this page and the bottom left of the same page in Arabic. Switch the direction in the toolbar and the region moves with the text.
184
-
185
- Excerpt — not a complete module
186
-
187
- ```tsx
188
- <ToastRegion placement="top-end" />;
189
- ```
190
-
191
- ### How long a message stays
192
-
193
- The bar reads the same number the timer does. Hover the region and both stop together — the clock also stops while focus is inside it and while the tab is hidden, and it resumes on what was left rather than starting again.
194
-
195
- Excerpt — not a complete module
196
-
197
- ```tsx
198
- toast.show({ title: 'Exported', duration: 8000, progress: true });
199
-
200
- // 0 never expires. A message that must be answered rather than read is one
201
- // of the two cases the family gives no duration to on its own.
202
- toast.show({ title: 'Session expired', tone: 'danger', duration: 0 });
203
- ```
204
-
205
- ### A message the reader can act on
206
-
207
- A message that carries an action is given no duration unless one is stated: Angular Material is the only surveyed implementation that states the rule, and a reader on their way to Undo must not watch it disappear. Press Undo and the message closes with it.
208
-
209
- Excerpt — not a complete module
210
-
211
- ```tsx
212
- const id = toast.show({
213
- title: 'Message archived',
214
- actions: <Button onClick={() => restore(id)}>Undo</Button>,
215
- });
216
- ```
217
-
218
- ### A message that follows a promise
219
-
220
- One message from start to finish: it begins as loading with no duration and no countdown, and the same element becomes the success or the failure. Replacing it with a second message would make a reader hear the sentence twice.
221
-
222
- Excerpt — not a complete module
223
-
224
- ```tsx
225
- toast.promise(publish(), {
226
- loading: { title: 'Publishing', icon: <Spinner size="sm" /> },
227
- success: (version) => ({ title: `Version ${version} is live`, tone: 'success' }),
228
- error: { title: 'Publishing failed', tone: 'danger' },
229
- });
230
- ```
231
-
232
- ### More messages than the screen
233
-
234
- Past the limit a message waits, and what is already on screen stays — a reader half way through one does not lose it to something that arrived after. A waiting message has no clock at all: its duration starts when it appears.
235
-
236
- Excerpt — not a complete module
237
-
238
- ```tsx
239
- <ToastRegion limit={2} />;
240
- ```
241
-
242
- ### A pile that opens
243
-
244
- Four messages at full height fill a phone. stack puts them one behind another at the edge the placement names and opens the pile when the pointer is over it or the keyboard is inside — the same two conditions that stop the clock, because both mean the reader is reading.
245
-
246
- Excerpt — not a complete module
247
-
248
- ```tsx
249
- <ToastRegion stacking="stack" />;
250
- ```
251
-
252
- ### The ways a message leaves
253
-
254
- Four, and each carries its own reason: the close control says dismiss, Escape inside the message says escape, a swipe toward the edge says pointer, and the timer says timeout. A page that has to tell them apart reads the reason rather than guessing.
255
-
256
- Excerpt — not a complete module
257
-
258
- ```tsx
259
- <ToastRegion
260
- onToastsChange={(toasts, request) => {
261
- if (request.reason === 'timeout') return;
262
- remember(request.reason);
263
- }}
264
- />;
265
- ```
266
-
267
- ### Reaching the messages from the keyboard
268
-
269
- A message arriving never moves focus — the APG’s Alert pattern is explicit about it. F6 is what the reader presses to get there, Tab walks the controls, and Escape closes the message and hands the keyboard back to where it came from.
270
-
271
- Excerpt — not a complete module
272
-
273
- ```tsx
274
- <ToastRegion hotkey="Alt+T" />;
275
- ```
276
-
277
- ### Content the family did not choose
278
-
279
- A digest no language can break, a title that doubled in translation, and a message with no mark at all. Nothing is removed from the document to make any of them fit: the whole string stays selectable and findable by a page search.
280
-
281
- Excerpt — not a complete module
282
-
283
- ```tsx
284
- toast.show({
285
- title: 'Deployment rejected',
286
- description: digest,
287
- tone: 'danger',
288
- duration: 0,
289
- });
290
- ```
291
-
292
- ### A message a page draws itself
293
-
294
- The region hands each message to a function and keeps everything that is behavior: the clock, the exit, the swipe, the keyboard and the announcement. What the page writes is the body, and it can be anything at all.
295
-
296
- Excerpt — not a complete module
297
-
298
- ```tsx
299
- <ToastRegion>
300
- {(message) => (
301
- <Toast key={message.id} message={message}>
302
- <ToastContent>
303
- <ToastTitle>{message.data.title}</ToastTitle>
304
- </ToastContent>
305
- </Toast>
306
- )}
307
- </ToastRegion>;
308
- ```
140
+ See [toast.examples.md](./toast.examples.md).