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

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 (267) hide show
  1. package/dist/{app-shell-ClwskWBN.js → app-shell-DyPHYe4K.js} +1 -1
  2. package/dist/app-shell.js +1 -1
  3. package/dist/{attachment-AAjprQyU.js → attachment-MqczA38F.js} +1 -1
  4. package/dist/attachment.js +1 -1
  5. package/dist/{badge-pgYVOnZO.js → badge-DFskjsxA.js} +21 -20
  6. package/dist/badge.js +1 -1
  7. package/dist/{calendar-D3QZDlm0.js → calendar-DRuJ7z0H.js} +198 -195
  8. package/dist/calendar.js +1 -1
  9. package/dist/chart-CgXbG6gZ.js +1055 -0
  10. package/dist/chart.js +1 -1
  11. package/dist/{color-picker-CaLcV-63.js → color-picker-CeOl4ikV.js} +7 -7
  12. package/dist/color-picker.js +1 -1
  13. package/dist/column-manager-CnOhzVGP.js +586 -0
  14. package/dist/column-manager.js +1 -1
  15. package/dist/{currency-field-BO2P6FPd.js → currency-field-LAawS9qo.js} +181 -144
  16. package/dist/currency-field.js +1 -1
  17. package/dist/dashboard-grid-Zzqmbzqq.js +1201 -0
  18. package/dist/dashboard-grid.js +1 -1
  19. package/dist/{data-grid-B7UuUvBH.js → data-grid-Y5aX9njc.js} +1424 -1398
  20. package/dist/data-grid.js +1 -1
  21. package/dist/{date-picker-DMcMFW_N.js → date-picker-6hj83x5D.js} +28 -26
  22. package/dist/date-picker.js +2 -2
  23. package/dist/{date-range-picker-D9zo93NE.js → date-range-picker-CBWnFTgL.js} +167 -162
  24. package/dist/date-range-picker.js +1 -1
  25. package/dist/{datetime-picker-lOXZbAx_.js → datetime-picker-DwUYd3zF.js} +174 -163
  26. package/dist/datetime-picker.js +1 -1
  27. package/dist/{datetime-range-picker-DU5ctZbm.js → datetime-range-picker-CX_tBt6b.js} +193 -182
  28. package/dist/datetime-range-picker.js +1 -1
  29. package/dist/{detail-panel-DLgRhEFO.js → detail-panel-EImAtksY.js} +3 -3
  30. package/dist/detail-panel.js +1 -1
  31. package/dist/docs/badge.json +8 -0
  32. package/dist/docs/badge.md +1 -0
  33. package/dist/docs/calendar.json +8 -1
  34. package/dist/docs/calendar.md +2 -1
  35. package/dist/docs/chart.examples.md +48 -0
  36. package/dist/docs/chart.json +60 -7
  37. package/dist/docs/chart.md +9 -5
  38. package/dist/docs/currency-field.examples.md +1 -1
  39. package/dist/docs/currency-field.json +4 -4
  40. package/dist/docs/currency-field.md +3 -3
  41. package/dist/docs/data-grid.json +15 -1
  42. package/dist/docs/data-grid.md +1 -1
  43. package/dist/docs/data-grid.props.md +2 -0
  44. package/dist/docs/date-picker.json +9 -2
  45. package/dist/docs/date-picker.md +3 -2
  46. package/dist/docs/date-range-picker.json +9 -2
  47. package/dist/docs/date-range-picker.md +3 -2
  48. package/dist/docs/datetime-picker.json +9 -2
  49. package/dist/docs/datetime-picker.md +3 -2
  50. package/dist/docs/datetime-range-picker.json +9 -2
  51. package/dist/docs/datetime-range-picker.md +3 -2
  52. package/dist/docs/guidelines/async-feedback.md +11 -1
  53. package/dist/docs/guidelines/index.md +1 -0
  54. package/dist/docs/popover.json +41 -3
  55. package/dist/docs/popover.md +5 -2
  56. package/dist/docs/section.json +1 -1
  57. package/dist/docs/section.md +1 -1
  58. package/dist/docs/skills/theme-app/SKILL.md +3 -2
  59. package/dist/docs/skills/waiting-states/SKILL.md +4 -1
  60. package/dist/docs/stat-card.json +9 -1
  61. package/dist/docs/stat-card.md +2 -1
  62. package/dist/docs/switch.json +12 -5
  63. package/dist/docs/switch.md +5 -4
  64. package/dist/docs/tag.json +8 -0
  65. package/dist/docs/tag.md +1 -0
  66. package/dist/docs/time-picker.json +1 -1
  67. package/dist/docs/time-picker.md +1 -1
  68. package/dist/docs/time-range-picker.json +1 -1
  69. package/dist/docs/time-range-picker.md +1 -1
  70. package/dist/{event-calendar-biSTH0yK.js → event-calendar-DzlL95E4.js} +2 -2
  71. package/dist/event-calendar.js +1 -1
  72. package/dist/{filter-bar-BQZFgV0A.js → filter-bar-DMuP5P6e.js} +19 -19
  73. package/dist/filter-bar.js +1 -1
  74. package/dist/{hover-card-D8OyhmEG.js → hover-card-CWCSZ5_p.js} +1 -1
  75. package/dist/hover-card.js +1 -1
  76. package/dist/{import-export-center-DWSEOV5Z.js → import-export-center-DzAUMTq5.js} +3 -3
  77. package/dist/import-export-center.js +1 -1
  78. package/dist/index.js +47 -47
  79. package/dist/{loading-overlay-BLIrcaoj.js → loading-overlay-BxIktMtQ.js} +1 -1
  80. package/dist/loading-overlay.js +1 -1
  81. package/dist/{page-header-NN3Jq5vb.js → page-header-DmwBGwlm.js} +1 -1
  82. package/dist/page-header.js +1 -1
  83. package/dist/{picker-frame-_9ZqQOjf.js → picker-frame-CT5WNEnw.js} +1 -1
  84. package/dist/popover-B2t__iNO.js +575 -0
  85. package/dist/popover.js +1 -1
  86. package/dist/{progress-indicator-D0acshNn.js → progress-indicator-DRr0Gj6w.js} +1 -0
  87. package/dist/progress-indicator.js +1 -1
  88. package/dist/{saved-views-BvRFgSdg.js → saved-views-zM-DxT1F.js} +6 -6
  89. package/dist/saved-views.js +1 -1
  90. package/dist/{section-CQPQf6RU.js → section-D_qOfdxR.js} +1 -0
  91. package/dist/section.js +1 -1
  92. package/dist/{side-navigation-Cwi2FHOz.js → side-navigation-CtZuP87S.js} +1 -1
  93. package/dist/side-navigation.js +1 -1
  94. package/dist/{stat-card-CmpabaTc.js → stat-card-CL3Xe6pV.js} +4 -1
  95. package/dist/stat-card.js +1 -1
  96. package/dist/styles/action-bar.css +1 -1
  97. package/dist/styles/app-shell.css +4 -2
  98. package/dist/styles/attachment.css +3 -1
  99. package/dist/styles/badge.css +1 -1
  100. package/dist/styles/calendar.css +1 -1
  101. package/dist/styles/cascader.css +1 -1
  102. package/dist/styles/chart.css +3 -1
  103. package/dist/styles/color-picker.css +2 -2
  104. package/dist/styles/column-manager.css +2 -2
  105. package/dist/styles/dashboard-grid.css +2 -2
  106. package/dist/styles/data-grid.css +6 -6
  107. package/dist/styles/date-picker.css +2 -2
  108. package/dist/styles/date-range-picker.css +2 -2
  109. package/dist/styles/datetime-picker.css +2 -2
  110. package/dist/styles/datetime-range-picker.css +2 -2
  111. package/dist/styles/detail-panel.css +5 -3
  112. package/dist/styles/entity-picker.css +1 -1
  113. package/dist/styles/event-calendar.css +4 -2
  114. package/dist/styles/filter-bar.css +5 -5
  115. package/dist/styles/hover-card.css +1 -1
  116. package/dist/styles/import-export-center.css +8 -6
  117. package/dist/styles/index.css +17 -15
  118. package/dist/styles/loading-overlay.css +3 -1
  119. package/dist/styles/multi-select.css +1 -1
  120. package/dist/styles/page-header.css +3 -1
  121. package/dist/styles/popover.css +1 -1
  122. package/dist/styles/progress-indicator.css +3 -1
  123. package/dist/styles/saved-views.css +2 -2
  124. package/dist/styles/section.css +1 -1
  125. package/dist/styles/select.css +1 -1
  126. package/dist/styles/side-navigation.css +4 -2
  127. package/dist/styles/stat-card.css +1 -1
  128. package/dist/styles/switch.css +7 -1
  129. package/dist/styles/table.css +5 -5
  130. package/dist/styles/tag.css +1 -1
  131. package/dist/styles/tags-input.css +1 -1
  132. package/dist/styles/textarea.css +1 -1
  133. package/dist/styles/time-picker.css +1 -1
  134. package/dist/styles/time-range-picker.css +1 -1
  135. package/dist/styles/toast.css +3 -1
  136. package/dist/styles/top-navigation.css +4 -2
  137. package/dist/styles/upload.css +3 -1
  138. package/dist/styles/wizard.css +1 -1
  139. package/dist/styles.css +1 -1
  140. package/dist/switch-CcZAVLiW.js +154 -0
  141. package/dist/switch.js +1 -1
  142. package/dist/{table-MGb3iZY_.js → table-D4oX9Gvn.js} +46 -46
  143. package/dist/table.js +1 -1
  144. package/dist/{tag-BYzDYvM_.js → tag-DCMsVXN6.js} +31 -28
  145. package/dist/tag.js +1 -1
  146. package/dist/{time-picker-z4GSRuha.js → time-picker-Cu1iV039.js} +130 -128
  147. package/dist/time-picker.js +1 -1
  148. package/dist/{time-range-picker-ar40oPcf.js → time-range-picker-sdbaFJFN.js} +117 -115
  149. package/dist/time-range-picker.js +1 -1
  150. package/dist/{toast-Cg28GkqX.js → toast-aM_ga1mc.js} +1 -1
  151. package/dist/toast.js +1 -1
  152. package/dist/{top-navigation-C73WDqLg.js → top-navigation-D3rpgBV2.js} +1 -1
  153. package/dist/top-navigation.js +1 -1
  154. package/dist/types/badge/badge.d.ts +1 -1
  155. package/dist/types/badge/badge.d.ts.map +1 -1
  156. package/dist/types/badge/badge.types.d.ts +6 -0
  157. package/dist/types/badge/badge.types.d.ts.map +1 -1
  158. package/dist/types/calendar/calendar-day-cell.d.ts +3 -1
  159. package/dist/types/calendar/calendar-day-cell.d.ts.map +1 -1
  160. package/dist/types/calendar/calendar-defaults.d.ts +1 -1
  161. package/dist/types/calendar/calendar-defaults.d.ts.map +1 -1
  162. package/dist/types/calendar/calendar.d.ts +1 -1
  163. package/dist/types/calendar/calendar.d.ts.map +1 -1
  164. package/dist/types/calendar/calendar.types.d.ts +8 -0
  165. package/dist/types/calendar/calendar.types.d.ts.map +1 -1
  166. package/dist/types/chart/chart-help.d.ts +11 -0
  167. package/dist/types/chart/chart-help.d.ts.map +1 -0
  168. package/dist/types/chart/chart.d.ts.map +1 -1
  169. package/dist/types/chart/index.d.ts +1 -1
  170. package/dist/types/chart/index.d.ts.map +1 -1
  171. package/dist/types/currency-field/currency-field.d.ts +3 -3
  172. package/dist/types/currency-field/currency-field.d.ts.map +1 -1
  173. package/dist/types/currency-field/currency-field.types.d.ts +4 -3
  174. package/dist/types/currency-field/currency-field.types.d.ts.map +1 -1
  175. package/dist/types/dashboard-grid/dashboard-widget-help.d.ts +3 -1
  176. package/dist/types/dashboard-grid/dashboard-widget-help.d.ts.map +1 -1
  177. package/dist/types/data-grid/data-grid-body.d.ts.map +1 -1
  178. package/dist/types/data-grid/data-grid-context.d.ts +4 -0
  179. package/dist/types/data-grid/data-grid-context.d.ts.map +1 -1
  180. package/dist/types/data-grid/data-grid-header.d.ts.map +1 -1
  181. package/dist/types/data-grid/data-grid.d.ts +1 -1
  182. package/dist/types/data-grid/data-grid.d.ts.map +1 -1
  183. package/dist/types/data-grid/data-grid.types.d.ts +13 -0
  184. package/dist/types/data-grid/data-grid.types.d.ts.map +1 -1
  185. package/dist/types/date-picker/date-picker-defaults.d.ts.map +1 -1
  186. package/dist/types/date-picker/date-picker-panel.d.ts +2 -0
  187. package/dist/types/date-picker/date-picker-panel.d.ts.map +1 -1
  188. package/dist/types/date-picker/date-picker.d.ts.map +1 -1
  189. package/dist/types/date-picker/date-picker.types.d.ts +9 -0
  190. package/dist/types/date-picker/date-picker.types.d.ts.map +1 -1
  191. package/dist/types/date-picker/use-date-picker.d.ts +6 -3
  192. package/dist/types/date-picker/use-date-picker.d.ts.map +1 -1
  193. package/dist/types/date-range-picker/date-range-panel.d.ts +2 -0
  194. package/dist/types/date-range-picker/date-range-panel.d.ts.map +1 -1
  195. package/dist/types/date-range-picker/date-range-picker-defaults.d.ts.map +1 -1
  196. package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
  197. package/dist/types/date-range-picker/date-range-picker.types.d.ts +9 -0
  198. package/dist/types/date-range-picker/date-range-picker.types.d.ts.map +1 -1
  199. package/dist/types/date-range-picker/use-date-range-picker.d.ts +1 -0
  200. package/dist/types/date-range-picker/use-date-range-picker.d.ts.map +1 -1
  201. package/dist/types/datetime-picker/datetime-picker-defaults.d.ts.map +1 -1
  202. package/dist/types/datetime-picker/datetime-picker-panel.d.ts +2 -0
  203. package/dist/types/datetime-picker/datetime-picker-panel.d.ts.map +1 -1
  204. package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
  205. package/dist/types/datetime-picker/datetime-picker.types.d.ts +9 -0
  206. package/dist/types/datetime-picker/datetime-picker.types.d.ts.map +1 -1
  207. package/dist/types/datetime-picker/use-datetime-picker.d.ts +2 -1
  208. package/dist/types/datetime-picker/use-datetime-picker.d.ts.map +1 -1
  209. package/dist/types/datetime-range-picker/datetime-range-panel.d.ts +2 -0
  210. package/dist/types/datetime-range-picker/datetime-range-panel.d.ts.map +1 -1
  211. package/dist/types/datetime-range-picker/datetime-range-picker-defaults.d.ts.map +1 -1
  212. package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
  213. package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts +9 -0
  214. package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts.map +1 -1
  215. package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts +2 -1
  216. package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts.map +1 -1
  217. package/dist/types/picker-panel/picker-footer.d.ts +8 -2
  218. package/dist/types/picker-panel/picker-footer.d.ts.map +1 -1
  219. package/dist/types/picker-panel/use-media-query.d.ts +2 -2
  220. package/dist/types/picker-panel/use-media-query.d.ts.map +1 -1
  221. package/dist/types/picker-panel/use-picker-layer.d.ts.map +1 -1
  222. package/dist/types/popover/index.d.ts +1 -1
  223. package/dist/types/popover/index.d.ts.map +1 -1
  224. package/dist/types/popover/popover-parts.d.ts +2 -1
  225. package/dist/types/popover/popover-parts.d.ts.map +1 -1
  226. package/dist/types/popover/popover.d.ts +4 -2
  227. package/dist/types/popover/popover.d.ts.map +1 -1
  228. package/dist/types/popover/popover.types.d.ts +17 -0
  229. package/dist/types/popover/popover.types.d.ts.map +1 -1
  230. package/dist/types/progress-indicator/loader.d.ts +1 -0
  231. package/dist/types/progress-indicator/loader.d.ts.map +1 -1
  232. package/dist/types/section/section.d.ts.map +1 -1
  233. package/dist/types/section/section.types.d.ts +4 -2
  234. package/dist/types/section/section.types.d.ts.map +1 -1
  235. package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
  236. package/dist/types/switch/switch-defaults.d.ts.map +1 -1
  237. package/dist/types/switch/switch.d.ts +2 -1
  238. package/dist/types/switch/switch.d.ts.map +1 -1
  239. package/dist/types/switch/switch.types.d.ts +9 -0
  240. package/dist/types/switch/switch.types.d.ts.map +1 -1
  241. package/dist/types/tag/tag-chip.d.ts +4 -1
  242. package/dist/types/tag/tag-chip.d.ts.map +1 -1
  243. package/dist/types/tag/tag.d.ts +1 -1
  244. package/dist/types/tag/tag.d.ts.map +1 -1
  245. package/dist/types/tag/tag.types.d.ts +6 -0
  246. package/dist/types/tag/tag.types.d.ts.map +1 -1
  247. package/dist/types/time-picker/time-picker-panel.d.ts +3 -1
  248. package/dist/types/time-picker/time-picker-panel.d.ts.map +1 -1
  249. package/dist/types/time-picker/time-picker.d.ts.map +1 -1
  250. package/dist/types/time-range-picker/time-range-panel.d.ts +2 -0
  251. package/dist/types/time-range-picker/time-range-panel.d.ts.map +1 -1
  252. package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
  253. package/dist/{upload-DggJrkQ7.js → upload-CPl38p-S.js} +1 -1
  254. package/dist/upload.js +1 -1
  255. package/dist/use-date-picker-DWV7KWS7.js +137 -0
  256. package/dist/use-media-query-DJY5h_K5.js +15 -0
  257. package/dist/{use-picker-draft-Bw8VFaj0.js → use-picker-draft-BJlHcb6J.js} +128 -134
  258. package/dist/{wizard-BokOrtwq.js → wizard-4c0X7Bx_.js} +1 -1
  259. package/dist/wizard.js +1 -1
  260. package/package.json +6 -6
  261. package/dist/chart-DwXqQZjQ.js +0 -1027
  262. package/dist/column-manager-BBGczWQe.js +0 -586
  263. package/dist/dashboard-grid-DAY_CjCW.js +0 -1191
  264. package/dist/picker-jump-BcTRIJs6.js +0 -70
  265. package/dist/popover-BfEn2wdZ.js +0 -500
  266. package/dist/switch-C2krbZHI.js +0 -147
  267. package/dist/use-date-picker-DL8tRXji.js +0 -63
@@ -74,12 +74,13 @@ export default function DateTimePickerBasic() {
74
74
  | `variant` | `'outline' \| 'subtle' \| 'plain'` | outline | DateTimePicker | How the control draws its frame. |
75
75
  | `locale` | `string` | the language in force | DateTimePicker | BCP 47. Writes the field, the panel and the trigger’s name. |
76
76
  | `timeZone` | `string` | the runtime’s | DateTimePicker | Which zone answers "what is now". |
77
+ | `today` | `PlainDate` | the clock’s | DateTimePicker | The day it is: the mark of today, the date of Now, and the empty panel’s month. |
77
78
  | `disabled` | `boolean` | — | DateTimePicker | Answers no key and no press. |
78
79
  | `readOnly` | `boolean` | — | DateTimePicker | Readable and not changeable. |
79
80
  | `required` | `boolean` | — | DateTimePicker | The form needs a value. |
80
- | `clearable` | `boolean` | false | DateTimePicker | Draws a clear on the control. |
81
+ | `clearable` | `boolean` | false | DateTimePicker | Draws a clear on the control and in the panel, unless required. |
81
82
  | `messages` | `Partial<DatetimePickerMessages>` | — | DateTimePicker | Words laid over the language in force: the trigger’s names, and what is said of a refused moment. |
82
- | `DateTimePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, granularity, hourCycle, placement, size, step, timeZone and variant once. |
83
+ | `DateTimePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, granularity, hourCycle, placement, size, step, timeZone, today and variant once. |
83
84
  | `footer` | `ReactNode` | the step | DateTimePicker | What the footer says when nothing is wrong. |
84
85
  | `renderSlot` | `(state: ClockSlotState) => ReactNode` | the time | DateTimePicker | What one whole time of options draws. |
85
86
  | `render` | `(props: DateTimePickerRootProps) => ReactNode` | — | DateTimePicker | Substitutes the element the root renders. |
@@ -413,6 +413,13 @@
413
413
  "appliesTo": "DateTimeRangePicker",
414
414
  "description": "Which zone answers \"what is now\"."
415
415
  },
416
+ {
417
+ "name": "today",
418
+ "type": "PlainDate",
419
+ "defaultValue": "the clock’s",
420
+ "appliesTo": "DateTimeRangePicker",
421
+ "description": "The day it is: the mark of today, and the month an empty panel opens on."
422
+ },
416
423
  {
417
424
  "name": "disabled",
418
425
  "type": "boolean",
@@ -439,7 +446,7 @@
439
446
  "type": "boolean",
440
447
  "defaultValue": "false",
441
448
  "appliesTo": "DateTimeRangePicker",
442
- "description": "Draws a clear on the control."
449
+ "description": "Draws a clear on the control and in the panel, unless required."
443
450
  },
444
451
  {
445
452
  "name": "messages",
@@ -455,7 +462,7 @@
455
462
  "type": "component",
456
463
  "defaultValue": "—",
457
464
  "appliesTo": "application",
458
- "description": "Sets calendar, confirm, firstDayOfWeek, granularity, hourCycle, lengthLabel, months, placement, size, step, timeZone and variant once."
465
+ "description": "Sets calendar, confirm, firstDayOfWeek, granularity, hourCycle, lengthLabel, months, placement, size, step, timeZone, today and variant once."
459
466
  },
460
467
  {
461
468
  "name": "footer",
@@ -71,12 +71,13 @@ Excerpt — not a complete module
71
71
  | `variant` | `'outline' \| 'subtle' \| 'plain'` | outline | DateTimeRangePicker | How the control draws its frame. |
72
72
  | `locale` | `string` | the language in force | DateTimeRangePicker | BCP 47. Writes the field, the panel and the trigger’s name. |
73
73
  | `timeZone` | `string` | the runtime’s | DateTimeRangePicker | Which zone answers "what is now". |
74
+ | `today` | `PlainDate` | the clock’s | DateTimeRangePicker | The day it is: the mark of today, and the month an empty panel opens on. |
74
75
  | `disabled` | `boolean` | — | DateTimeRangePicker | Answers no key and no press. |
75
76
  | `readOnly` | `boolean` | — | DateTimeRangePicker | Readable and not changeable. |
76
77
  | `required` | `boolean` | — | DateTimeRangePicker | The form needs a value. |
77
- | `clearable` | `boolean` | false | DateTimeRangePicker | Draws a clear on the control. |
78
+ | `clearable` | `boolean` | false | DateTimeRangePicker | Draws a clear on the control and in the panel, unless required. |
78
79
  | `messages` | `Partial<DatetimeRangePickerMessages>` | — | DateTimeRangePicker | Words laid over the language in force: the trigger’s names, the two ends, the limits, and what is said of a refused run. |
79
- | `DateTimeRangePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, firstDayOfWeek, granularity, hourCycle, lengthLabel, months, placement, size, step, timeZone and variant once. |
80
+ | `DateTimeRangePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, firstDayOfWeek, granularity, hourCycle, lengthLabel, months, placement, size, step, timeZone, today and variant once. |
80
81
  | `footer` | `ReactNode` | the limits, the zone or the step | DateTimeRangePicker | What the footer says when nothing is wrong. |
81
82
  | `renderSlot` | `(state: DateTimeRangePickerSlotState) => ReactNode` | the time | DateTimeRangePicker | What one whole time of options draws. |
82
83
  | `render` | `(props: DateTimeRangePickerRootProps) => ReactNode` | — | DateTimeRangePicker | Substitutes the element the root renders. |
@@ -71,7 +71,7 @@ Check: Open the region twice with the network throttled to a slow profile: place
71
71
  ### AF-03 · The control that starts a request waits on it
72
72
 
73
73
  Level: MUST
74
- Applies to: any `button` member — button, icon button, toggle button — whose activation runs a request — mark as read, archive, approve, save, submit — except a control whose request reloads the whole page; the page header's progress bar answers that wait (AF-07)
74
+ Applies to: any `button` member — button, icon button, toggle button — whose activation runs a request — mark as read, archive, approve, save, submit — except a control whose request reloads the whole page; the page header's progress bar answers that wait (AF-07), and except a toggle button whose activation writes the value it shows (AF-09)
75
75
  Rule: From activation until the answer, the control is in its `loading` state: it refuses a second activation and shows the family's indicator.
76
76
  Why: A control that looks idle invites a second press, and the second request is a duplicate the backend has to refuse or the reader has to undo.
77
77
  Do: Keep, beside the data, the identity of what is in flight — the row's key for a row action, one fact for a list-wide action — and bind the control's `loading` to it. The family refuses activation on its own and names the wait for assistive technology through its loading label.
@@ -127,3 +127,13 @@ Why: Categorizing a transaction left the category totals and the rules' coverage
127
127
  Do: Beside each write, list the queries its answer changes — the record, the lists it appears in, the totals and counts over them — and invalidate them on success; where the list cannot be stated, invalidate every query after a successful write.
128
128
  Don't: Refresh only the region the control stands in, or rely on the next navigation to read the other figures again.
129
129
  Check: Perform each write: every figure on screen that the write changes shows the new value without a reload.
130
+
131
+ ### AF-09 · The pressed value shows immediately
132
+
133
+ Level: SHOULD
134
+ Applies to: `switch`, `checkbox`, `segmented-control` and a toggle button of `button`, whose activation writes the value they show, where the write is reversible
135
+ Rule: The control shows the asked value from the press, with no indicator; when the write fails it returns to the stored value and the region states the failure.
136
+ Why: A control that keeps the old value until the answer, under an indicator, reads as a control that did not respond to the press.
137
+ Do: Hold the asked value beside the data and draw the control from it until the answer, so a second press asks for the value the reader sees. Run the writes of one control one at a time, in the order of the presses. On a failure, drop the asked value and state the failure in the region with `inline-message` or a `toast`.
138
+ Don't: Keep the old value under the control's `loading` state until the answer. Use `loading` on such a control only when the value cannot be asked again, or when the server decides it.
139
+ Check: With the network throttled to a slow profile, press the control: it shows the new value in the next frame, with no indicator. With the write failing, it returns to the old value and the failure is stated.
@@ -12,6 +12,7 @@ Every active rule, one line each. Load this first; load a topic file when the ta
12
12
  | AF-06 | SHOULD | The application states one minimum duration for the whole product: once placeholders are painted they stay for it, even when the answer has already arrived. | `async-feedback.md` |
13
13
  | AF-07 | SHOULD | The page offers Refresh among the header's actions, and a refresh keeps the values on screen, marks the page busy and replaces them when the answer arrives. | `async-feedback.md` |
14
14
  | AF-08 | MUST | A successful write marks stale every query whose answer the write can change, and the regions on screen read again; an application that cannot list them marks every query stale; a region that reads again keeps its rows and dims them (LP-06). | `async-feedback.md` |
15
+ | AF-09 | SHOULD | The control shows the asked value from the press, with no indicator; when the write fails it returns to the stored value and the region states the failure. | `async-feedback.md` |
15
16
  | BR-01 | SHOULD | The branch a reader chose is the list's heading and its `breadcrumb`; the filter bar keeps the facets and holds no pill for it. | `browsing.md` |
16
17
  | BR-02 | MUST | The query covers the branch and every node beneath it, and the page states how many nodes that is beside how many records they hold. | `browsing.md` |
17
18
  | BR-03 | MUST | The number on a row is one of the two and the screen says which; where a node holds records of its own and has nodes under it, the second number is said apart from the first. | `browsing.md` |
@@ -93,6 +93,7 @@
93
93
  "shift": true,
94
94
  "hideWhenDetached": false,
95
95
  "portal": true,
96
+ "presentation": "popover",
96
97
  "disabled": false,
97
98
  "sideOffset": 0,
98
99
  "alignOffset": 0,
@@ -124,6 +125,8 @@
124
125
  "footer",
125
126
  "close",
126
127
  "arrow",
128
+ "backdrop",
129
+ "grip",
127
130
  "focus-guard"
128
131
  ]
129
132
  }
@@ -138,13 +141,13 @@
138
141
  "part": "root",
139
142
  "element": "div, rendered by PopoverLayer",
140
143
  "required": true,
141
- "purpose": "The positioned layer. The positioner writes its position on this element, and this element scales and fades. Its padding is the gap between the trigger and the panel, which is where the arrow stands. It carries data-ui=\"popover\", data-side, data-align, data-size, data-width and data-open."
144
+ "purpose": "The positioned layer. The positioner writes its position on this element, and this element scales and fades. Its padding is the gap between the trigger and the panel, which is where the arrow stands. It carries data-ui=\"popover\", data-side, data-align, data-size, data-width, data-presentation and data-open."
142
145
  },
143
146
  {
144
147
  "part": "content",
145
148
  "element": "div",
146
149
  "required": true,
147
- "purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is never written, because the popover is not modal. It draws no padding: PopoverHeader, PopoverBody and PopoverFooter carry the panel inset, set by --slotted-popover-padding-inline and --slotted-popover-padding-block."
150
+ "purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is written on the sheet of a phone alone, because the anchored panel is not modal. It draws no padding: PopoverHeader, PopoverBody and PopoverFooter carry the panel inset, set by --slotted-popover-padding-inline and --slotted-popover-padding-block."
148
151
  },
149
152
  {
150
153
  "part": "header",
@@ -188,6 +191,18 @@
188
191
  "required": false,
189
192
  "purpose": "A rotated square in the panel’s background and border colors, which continues the panel’s outline towards the anchor. Place it beside PopoverContent inside PopoverLayer, not inside the content: the stylesheet selects it as a direct child of the layer."
190
193
  },
194
+ {
195
+ "part": "backdrop",
196
+ "element": "div",
197
+ "required": false,
198
+ "purpose": "The scrim of the sheet presentation=\"auto\" draws on a phone. A press on it closes the sheet."
199
+ },
200
+ {
201
+ "part": "grip",
202
+ "element": "span",
203
+ "required": false,
204
+ "purpose": "The line at the top of that sheet, hidden from assistive technology. A pull down on it closes the sheet."
205
+ },
191
206
  {
192
207
  "part": "focus-guard",
193
208
  "element": "span (two of them)",
@@ -308,6 +323,13 @@
308
323
  "appliesTo": "Popover",
309
324
  "description": "Whether the layer is rendered into the shared portal root at the end of the document. The portalled layer keeps the theme, color scheme, density and direction of the region it was opened from."
310
325
  },
326
+ {
327
+ "name": "presentation",
328
+ "type": "'popover' | 'auto'",
329
+ "defaultValue": "popover",
330
+ "appliesTo": "Popover",
331
+ "description": "auto presents the panel as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, with a scrim, a grip and focus held in it, headed by PopoverTitle or by the panel’s aria-label. It reads the drawer’s surface, radius, scrim and motion tokens."
332
+ },
311
333
  {
312
334
  "name": "disabled",
313
335
  "type": "boolean",
@@ -417,7 +439,7 @@
417
439
  }
418
440
  ],
419
441
  "accessibility": [
420
- "The panel is a non-modal dialog: aria-modal is not written, nothing behind it becomes inert, and the page keeps scrolling. Use Dialog for content that has to block the page.",
442
+ "The panel is a non-modal dialog: aria-modal is not written, nothing behind it becomes inert, and the page keeps scrolling. The sheet of presentation=\"auto\" is the exception: it covers a phone’s screen, so it is modal, holds focus and returns it to the trigger. Use Dialog for content that has to block the page.",
421
443
  "The trigger carries aria-expanded, aria-haspopup=\"dialog\", and aria-controls while the panel is in the document. The panel is named by its title through aria-labelledby and described by its description through aria-describedby. A popover without a title has no accessible name until you write aria-label on PopoverContent.",
422
444
  "Focus moves to the panel on open, so a screen reader announces its name before its contents, and returns to the trigger on close. If the reader has moved focus elsewhere on the page, focus stays there. initialFocus and finalFocus name other targets.",
423
445
  "Tab past the last control in the panel, or Shift+Tab before the first, closes the popover and returns focus to the trigger; the next Tab continues down the page. Focus is never trapped in the panel."
@@ -425,6 +447,7 @@
425
447
  }
426
448
  },
427
449
  "tokens": [
450
+ "--slotted-border-strong",
428
451
  "--slotted-border-subtle",
429
452
  "--slotted-border-width-thin",
430
453
  "--slotted-control-gap-md",
@@ -432,6 +455,16 @@
432
455
  "--slotted-control-radius",
433
456
  "--slotted-control-transition-duration",
434
457
  "--slotted-control-transition-easing",
458
+ "--slotted-drawer-border-color",
459
+ "--slotted-drawer-radius",
460
+ "--slotted-drawer-resizer-line-color",
461
+ "--slotted-drawer-scrim",
462
+ "--slotted-drawer-slide-duration",
463
+ "--slotted-drawer-slide-easing",
464
+ "--slotted-drawer-slide-exit-duration",
465
+ "--slotted-drawer-slide-exit-easing",
466
+ "--slotted-drawer-surface",
467
+ "--slotted-duration-long",
435
468
  "--slotted-duration-medium",
436
469
  "--slotted-duration-short",
437
470
  "--slotted-easing-enter",
@@ -469,10 +502,14 @@
469
502
  "--slotted-popover-shadow",
470
503
  "--slotted-popover-surface",
471
504
  "--slotted-popover-text",
505
+ "--slotted-radius-full",
472
506
  "--slotted-radius-lg",
473
507
  "--slotted-radius-sm",
474
508
  "--slotted-radius-xs",
509
+ "--slotted-scrim",
510
+ "--slotted-shadow-lg",
475
511
  "--slotted-shadow-md",
512
+ "--slotted-space-11",
476
513
  "--slotted-space-2",
477
514
  "--slotted-space-3",
478
515
  "--slotted-space-4",
@@ -480,6 +517,7 @@
480
517
  "--slotted-space-6",
481
518
  "--slotted-space-7",
482
519
  "--slotted-surface-raised",
520
+ "--slotted-target-min",
483
521
  "--slotted-text",
484
522
  "--slotted-text-muted",
485
523
  "--slotted-tone-secondary-subtle-active",
@@ -103,6 +103,8 @@ export default function PopoverBasic() {
103
103
  | `footer` | div | no |
104
104
  | `close` | button | no |
105
105
  | `arrow` | div | no |
106
+ | `backdrop` | div | no |
107
+ | `grip` | span | no |
106
108
  | `focus-guard` | span (two of them) | yes |
107
109
 
108
110
  ## Props
@@ -125,6 +127,7 @@ export default function PopoverBasic() {
125
127
  | `shift` | `boolean` | true | Popover | Whether the panel slides along its side to stay inside the boundary. |
126
128
  | `hideWhenDetached` | `boolean` | false | Popover | Whether the panel hides when its anchor scrolls out of view. It is off, unlike Tooltip’s, so a task the reader is halfway through does not disappear when the row behind it scrolls. |
127
129
  | `portal` | `boolean` | true | Popover | Whether the layer is rendered into the shared portal root at the end of the document. The portalled layer keeps the theme, color scheme, density and direction of the region it was opened from. |
130
+ | `presentation` | `'popover' \| 'auto'` | popover | Popover | auto presents the panel as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, with a scrim, a grip and focus held in it, headed by PopoverTitle or by the panel’s aria-label. It reads the drawer’s surface, radius, scrim and motion tokens. |
128
131
  | `disabled` | `boolean` | false | Popover | Whether the popover never opens. It does not disable the trigger; set disabled on the trigger element for that. |
129
132
  | `messages` | `Partial<PopoverMessages>` | — | Popover | Text that replaces the language’s messages for this popover, key by key. close is the close button’s accessible name; an aria-label on PopoverClose takes precedence. |
130
133
  | `sideOffset` | `number` | 0 | Popover | Extra distance from the anchor in pixels, added to the standard gap. |
@@ -168,14 +171,14 @@ export default function PopoverBasic() {
168
171
 
169
172
  ## Rules
170
173
 
171
- - The panel is a non-modal dialog: aria-modal is not written, nothing behind it becomes inert, and the page keeps scrolling. Use Dialog for content that has to block the page.
174
+ - The panel is a non-modal dialog: aria-modal is not written, nothing behind it becomes inert, and the page keeps scrolling. The sheet of presentation="auto" is the exception: it covers a phone’s screen, so it is modal, holds focus and returns it to the trigger. Use Dialog for content that has to block the page.
172
175
  - The trigger carries aria-expanded, aria-haspopup="dialog", and aria-controls while the panel is in the document. The panel is named by its title through aria-labelledby and described by its description through aria-describedby. A popover without a title has no accessible name until you write aria-label on PopoverContent.
173
176
  - Focus moves to the panel on open, so a screen reader announces its name before its contents, and returns to the trigger on close. If the reader has moved focus elsewhere on the page, focus stays there. initialFocus and finalFocus name other targets.
174
177
  - Tab past the last control in the panel, or Shift+Tab before the first, closes the popover and returns focus to the trigger; the next Tab continues down the page. Focus is never trapped in the panel.
175
178
 
176
179
  ## Tokens
177
180
 
178
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-height-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-popover-arrow-size`, `--slotted-popover-arrow-tip-radius`, `--slotted-popover-backdrop-filter`, `--slotted-popover-border-color`, `--slotted-popover-gap`, `--slotted-popover-measure`, `--slotted-popover-measure-lg`, `--slotted-popover-measure-sm`, `--slotted-popover-padding-block`, `--slotted-popover-padding-block-lg`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline`, `--slotted-popover-padding-inline-lg`, `--slotted-popover-padding-inline-sm`, `--slotted-popover-radius`, `--slotted-popover-shadow`, `--slotted-popover-surface`, `--slotted-popover-text`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
181
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-height-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-drawer-border-color`, `--slotted-drawer-radius`, `--slotted-drawer-resizer-line-color`, `--slotted-drawer-scrim`, `--slotted-drawer-slide-duration`, `--slotted-drawer-slide-easing`, `--slotted-drawer-slide-exit-duration`, `--slotted-drawer-slide-exit-easing`, `--slotted-drawer-surface`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-popover-arrow-size`, `--slotted-popover-arrow-tip-radius`, `--slotted-popover-backdrop-filter`, `--slotted-popover-border-color`, `--slotted-popover-gap`, `--slotted-popover-measure`, `--slotted-popover-measure-lg`, `--slotted-popover-measure-sm`, `--slotted-popover-padding-block`, `--slotted-popover-padding-block-lg`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline`, `--slotted-popover-padding-inline-lg`, `--slotted-popover-padding-inline-sm`, `--slotted-popover-radius`, `--slotted-popover-shadow`, `--slotted-popover-surface`, `--slotted-popover-text`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
179
182
 
180
183
  ## Examples
181
184
 
@@ -188,7 +188,7 @@
188
188
  "type": "'label' | 'title'",
189
189
  "defaultValue": "label",
190
190
  "appliesTo": "Section, SectionDefaultsProvider",
191
- "description": "label draws a top-level heading in small capitals; title draws it in mixed case at --slotted-section-title-size-{sm,md,lg}, for a section whose body opens with text heavier than a label. A nested section keeps the subsection form"
191
+ "description": "label draws a top-level heading in small capitals; title draws it in mixed case at --slotted-section-title-size-{sm,md,lg}, for a section whose body opens with text heavier than a label. A nested section keeps the subsection form unless it states title itself; a title from the defaults provider does not reach it"
192
192
  },
193
193
  {
194
194
  "name": "sticky",
@@ -48,7 +48,7 @@ Excerpt — not a complete module
48
48
  | `bleed` | `boolean` | false | SectionBody | In a surface section, runs the body to the inline edges of the panel and to the block edge it touches, clipped to the corners of the panel. For a table or a grid with no frame of its own; without a surface it has no effect |
49
49
  | `divider` | `boolean` | false | Section, SectionDefaultsProvider | A rule under the header, for a page where space alone does not separate |
50
50
  | `ground` | `'none' \| 'surface'` | none | Section, SectionDefaultsProvider | none is transparent; surface paints the raised surface with a subtle edge and the large radius — no shadow, no hover, no action, because a section is not a card |
51
- | `heading` | `'label' \| 'title'` | label | Section, SectionDefaultsProvider | label draws a top-level heading in small capitals; title draws it in mixed case at --slotted-section-title-size-{sm,md,lg}, for a section whose body opens with text heavier than a label. A nested section keeps the subsection form |
51
+ | `heading` | `'label' \| 'title'` | label | Section, SectionDefaultsProvider | label draws a top-level heading in small capitals; title draws it in mixed case at --slotted-section-title-size-{sm,md,lg}, for a section whose body opens with text heavier than a label. A nested section keeps the subsection form unless it states title itself; a title from the defaults provider does not reach it |
52
52
  | `sticky` | `boolean` | false | Section, SectionDefaultsProvider | The header stays under the page chrome while the body scrolls, painted in the page’s ground. Without a page it sticks to the top of whatever scrolls. A region inside a page that paints a ground of its own declares --slotted-page-ground with that ground, so a sticky header under it matches the region. |
53
53
  | `id` | `string` | from useId | Section | The identifier a hash link reaches. The heading’s own id is derived from it |
54
54
  | `render` | `(props) => ReactNode` | — | every part | Substitutes the element and hands it every attribute. A heading rendered into another element keeps its rank through role="heading" and aria-level |
@@ -102,8 +102,9 @@ has.
102
102
  token.
103
103
  3. Else a theme rule. It lives in `slotted.theme-rules`, selects only
104
104
  `data-ui`, `data-part`, the attributes a family writes and the theme's
105
- attributes, and reads only tokens; the compiler names the file, the line
106
- and the selector of a rule it refuses. A rule for one scheme begins with
105
+ attributes, and reads and writes only tokens, or a property with a prefix
106
+ of the application's; the compiler names the file, the line and the
107
+ selector of a rule it refuses. A rule for one scheme begins with
107
108
  the nesting selector, which names the theme root that carries the scheme.
108
109
  The same selector without it asks for a descendant of the root and is
109
110
  refused:
@@ -23,6 +23,7 @@ Answer in order and stop at the first row that decides.
23
23
  | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
24
24
  | Structure is known before the data arrives — a list, a table, a card, a form | `skeleton` placeholders |
25
25
  | Data already on screen is read again for the whole page — a Refresh, a refetch after a write, a refetch on focus | the `page-header` progress part in the page header; the region keeps its items and no control draws its own indicator |
26
+ | A control that shows the value it writes at the press — a switch, a checkbox, a segmented control | the asked value at once, with no indicator (AF-09) |
26
27
  | A control started the request and stays on screen — a button, a field, a menu item | that family's own `loading` state |
27
28
  | A region already painted is being replaced and must not be touched meanwhile | `loading-overlay` |
28
29
  | The work reports how much is done | `progress-indicator` with a value |
@@ -41,7 +42,9 @@ removed and placeholders stand in their place (AF-04).
41
42
 
42
43
  A control that starts a request waits on it: it is in its `loading` state from
43
44
  activation until the answer, refuses a second activation and shows the
44
- family's indicator (AF-03).
45
+ family's indicator (AF-03). A control that shows the value it writes does not:
46
+ it shows the asked value from the press and returns to the stored one when the
47
+ write fails (AF-09).
45
48
 
46
49
  ## 2. Placeholders are the anatomy, not rectangles
47
50
 
@@ -78,6 +78,7 @@
78
78
  "body",
79
79
  "header",
80
80
  "label",
81
+ "label-text",
81
82
  "status",
82
83
  "action",
83
84
  "figure",
@@ -122,6 +123,12 @@
122
123
  "required": false,
123
124
  "purpose": "The name of the metric, in the muted step. Carries the id the root is named by."
124
125
  },
126
+ {
127
+ "part": "label-text",
128
+ "element": "span",
129
+ "required": false,
130
+ "purpose": "The words of the name, rendered by the label. The label asks for their width up to ten rem, so a short name shares the line with its status and action and a long one wraps beside them."
131
+ },
125
132
  {
126
133
  "part": "status",
127
134
  "element": "span",
@@ -132,7 +139,7 @@
132
139
  "part": "action",
133
140
  "element": "span",
134
141
  "required": false,
135
- "purpose": "The end of the header, for your own Link or Button. Stays on the first line when the name wraps, set on the name’s own size and line so the header keeps its height whichever face has loaded."
142
+ "purpose": "The end of the header, for your own Link or Button. Stays on the first line when the name wraps, and takes the next line only when the two do not fit. It counts as one line of the name: a button extends past the line, and the value stands on the line of the values beside it."
136
143
  },
137
144
  {
138
145
  "part": "figure",
@@ -375,6 +382,7 @@
375
382
  "tokens": [
376
383
  "--slotted-border-subtle",
377
384
  "--slotted-border-width-thin",
385
+ "--slotted-control-height-sm",
378
386
  "--slotted-control-icon-size-md",
379
387
  "--slotted-control-icon-size-sm",
380
388
  "--slotted-font-family-sans",
@@ -54,6 +54,7 @@ Excerpt — not a complete module
54
54
  | `body` | div | yes |
55
55
  | `header` | div | no |
56
56
  | `label` | span | no |
57
+ | `label-text` | span | no |
57
58
  | `status` | span | no |
58
59
  | `action` | span | no |
59
60
  | `figure` | div | no |
@@ -119,7 +120,7 @@ Excerpt — not a complete module
119
120
 
120
121
  ## Tokens
121
122
 
122
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-4xl`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-tighter`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-stat-card-attention-border-color`, `--slotted-stat-card-attention-ink`, `--slotted-stat-card-background`, `--slotted-stat-card-background-subtle`, `--slotted-stat-card-border-color`, `--slotted-stat-card-border-width`, `--slotted-stat-card-color`, `--slotted-stat-card-color-muted`, `--slotted-stat-card-delta-font-size`, `--slotted-stat-card-delta-font-size-lg`, `--slotted-stat-card-delta-font-size-sm`, `--slotted-stat-card-indicator-size`, `--slotted-stat-card-indicator-size-lg`, `--slotted-stat-card-label-font-size`, `--slotted-stat-card-label-font-size-lg`, `--slotted-stat-card-label-font-size-sm`, `--slotted-stat-card-label-line-height`, `--slotted-stat-card-label-line-height-lg`, `--slotted-stat-card-label-line-height-sm`, `--slotted-stat-card-min-inline-size`, `--slotted-stat-card-padding-block`, `--slotted-stat-card-padding-block-lg`, `--slotted-stat-card-padding-block-sm`, `--slotted-stat-card-padding-inline`, `--slotted-stat-card-padding-inline-lg`, `--slotted-stat-card-padding-inline-sm`, `--slotted-stat-card-prose-font-size`, `--slotted-stat-card-prose-font-size-lg`, `--slotted-stat-card-prose-line-height`, `--slotted-stat-card-prose-line-height-lg`, `--slotted-stat-card-radius`, `--slotted-stat-card-region-gap`, `--slotted-stat-card-region-gap-lg`, `--slotted-stat-card-region-gap-sm`, `--slotted-stat-card-shadow`, `--slotted-stat-card-shadow-elevated`, `--slotted-stat-card-trend-block-size`, `--slotted-stat-card-trend-block-size-lg`, `--slotted-stat-card-trend-block-size-sm`, `--slotted-stat-card-trend-gap`, `--slotted-stat-card-trend-gap-lg`, `--slotted-stat-card-trend-gap-sm`, `--slotted-stat-card-trend-inline-size`, `--slotted-stat-card-trend-inline-size-lg`, `--slotted-stat-card-trend-inline-size-sm`, `--slotted-stat-card-value-font-size`, `--slotted-stat-card-value-font-size-lg`, `--slotted-stat-card-value-font-size-sm`, `--slotted-stat-card-value-line-height`, `--slotted-stat-card-value-line-height-lg`, `--slotted-stat-card-value-line-height-sm`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-text`
123
+ `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-4xl`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-tighter`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-stat-card-attention-border-color`, `--slotted-stat-card-attention-ink`, `--slotted-stat-card-background`, `--slotted-stat-card-background-subtle`, `--slotted-stat-card-border-color`, `--slotted-stat-card-border-width`, `--slotted-stat-card-color`, `--slotted-stat-card-color-muted`, `--slotted-stat-card-delta-font-size`, `--slotted-stat-card-delta-font-size-lg`, `--slotted-stat-card-delta-font-size-sm`, `--slotted-stat-card-indicator-size`, `--slotted-stat-card-indicator-size-lg`, `--slotted-stat-card-label-font-size`, `--slotted-stat-card-label-font-size-lg`, `--slotted-stat-card-label-font-size-sm`, `--slotted-stat-card-label-line-height`, `--slotted-stat-card-label-line-height-lg`, `--slotted-stat-card-label-line-height-sm`, `--slotted-stat-card-min-inline-size`, `--slotted-stat-card-padding-block`, `--slotted-stat-card-padding-block-lg`, `--slotted-stat-card-padding-block-sm`, `--slotted-stat-card-padding-inline`, `--slotted-stat-card-padding-inline-lg`, `--slotted-stat-card-padding-inline-sm`, `--slotted-stat-card-prose-font-size`, `--slotted-stat-card-prose-font-size-lg`, `--slotted-stat-card-prose-line-height`, `--slotted-stat-card-prose-line-height-lg`, `--slotted-stat-card-radius`, `--slotted-stat-card-region-gap`, `--slotted-stat-card-region-gap-lg`, `--slotted-stat-card-region-gap-sm`, `--slotted-stat-card-shadow`, `--slotted-stat-card-shadow-elevated`, `--slotted-stat-card-trend-block-size`, `--slotted-stat-card-trend-block-size-lg`, `--slotted-stat-card-trend-block-size-sm`, `--slotted-stat-card-trend-gap`, `--slotted-stat-card-trend-gap-lg`, `--slotted-stat-card-trend-gap-sm`, `--slotted-stat-card-trend-inline-size`, `--slotted-stat-card-trend-inline-size-lg`, `--slotted-stat-card-trend-inline-size-sm`, `--slotted-stat-card-value-font-size`, `--slotted-stat-card-value-font-size-lg`, `--slotted-stat-card-value-font-size-sm`, `--slotted-stat-card-value-line-height`, `--slotted-stat-card-value-line-height-lg`, `--slotted-stat-card-value-line-height-sm`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-text`
123
124
 
124
125
  ## Examples
125
126
 
@@ -173,7 +173,14 @@
173
173
  "type": "boolean",
174
174
  "defaultValue": "false",
175
175
  "appliesTo": "Switch",
176
- "description": "The value is not settled yet. The switch refuses every press, keeps its size, sets aria-busy, and announces the pending label politely once the wait passes two seconds."
176
+ "description": "The value is not settled yet. The switch refuses every press, keeps its size, sets aria-busy, draws the morphing shape of Loader in the place of the thumb, and announces the pending label politely once the wait passes two seconds."
177
+ },
178
+ {
179
+ "name": "loadingDelay",
180
+ "type": "number",
181
+ "defaultValue": "0",
182
+ "appliesTo": "Switch, SwitchDefaultsProvider",
183
+ "description": "Milliseconds before the shape appears, so a write that answers sooner draws nothing. The switch refuses a press and sets aria-busy from the start of the wait, and keeps its mark and its cursor until the delay has passed."
177
184
  },
178
185
  {
179
186
  "name": "messages",
@@ -242,7 +249,7 @@
242
249
  },
243
250
  {
244
251
  "name": "SwitchDefaultsProvider",
245
- "type": "{ size, indicator, labelPlacement }",
252
+ "type": "{ size, indicator, labelPlacement, loadingDelay, variant }",
246
253
  "defaultValue": "—",
247
254
  "appliesTo": "a subtree",
248
255
  "description": "Sets size, indicator and labelPlacement once for every switch under it. A field outranks the provider’s size, so a switch inside a field takes the field’s step."
@@ -279,7 +286,6 @@
279
286
  }
280
287
  },
281
288
  "tokens": [
282
- "--slotted-border-width-thin",
283
289
  "--slotted-control-border-color",
284
290
  "--slotted-control-border-width",
285
291
  "--slotted-control-font-family",
@@ -302,7 +308,8 @@
302
308
  "--slotted-disabled-background",
303
309
  "--slotted-disabled-border",
304
310
  "--slotted-disabled-foreground",
305
- "--slotted-duration-loop",
311
+ "--slotted-duration-loop-slow",
312
+ "--slotted-easing-emphasized",
306
313
  "--slotted-focus-ring-color",
307
314
  "--slotted-focus-ring-color-invalid",
308
315
  "--slotted-focus-ring-offset",
@@ -409,7 +416,7 @@
409
416
  {
410
417
  "id": "loading",
411
418
  "title": "A setting that has not landed yet",
412
- "note": "The thumb draws an arc where its mark was, the pill keeps its size so the row does not move, and a second press is refused before the DOM can show a state the server does not have.",
419
+ "note": "The thumb becomes the morphing shape of Loader, its mark gone, and the pill keeps its size so the row does not move. A second press is refused before the DOM can show a state the server does not have. loadingDelay holds the shape back while a write answers fast.",
413
420
  "language": "tsx",
414
421
  "source": "import { useState } from 'react';\nimport { Switch } from '@slotted/react/switch';\n\n/** Stands in for the request that stores the setting. */\nconst saveSetting = (on: boolean) =>\n new Promise<boolean>((resolve) => setTimeout(() => resolve(on), 2500));\n\nexport default function SwitchLoading() {\n const [syncing, setSyncing] = useState(false);\n const [saving, setSaving] = useState(false);\n\n const change = async (next: boolean) => {\n setSaving(true);\n setSyncing(await saveSetting(next));\n setSaving(false);\n };\n\n return (\n <Switch\n checked={syncing}\n labelPlacement=\"start\"\n loading={saving}\n messages={{ loading: 'Saving order sync' }}\n onCheckedChange={change}\n description=\"Imports new Shopify orders every five minutes.\"\n >\n Order sync\n </Switch>\n );\n}\n",
415
422
  "verdict": "example"
@@ -53,7 +53,8 @@ export default function SwitchBasic() {
53
53
  | `indicator` | `'mark' \| 'none'` | mark | Switch, SwitchDefaultsProvider | What the thumb carries. mark draws a check when the switch is on and nothing when it is off. none draws nothing, and is correct only where text beside the switch states the value. |
54
54
  | `labelPlacement` | `'end' \| 'start'` | end | Switch, SwitchDefaultsProvider | Which side of the label the pill sits on. start is the settings row: the label takes the free width and the pill sits at the end of the row. |
55
55
  | `variant` | `'plain' \| 'control'` | plain | Switch, SwitchDefaultsProvider | control stands the switch in a box one control tall, so in a row of fields aligned to their end the pill sits on the line of their controls. --slotted-switch-control-block-size names another step than the switch size |
56
- | `loading` | `boolean` | false | Switch | The value is not settled yet. The switch refuses every press, keeps its size, sets aria-busy, and announces the pending label politely once the wait passes two seconds. |
56
+ | `loading` | `boolean` | false | Switch | The value is not settled yet. The switch refuses every press, keeps its size, sets aria-busy, draws the morphing shape of Loader in the place of the thumb, and announces the pending label politely once the wait passes two seconds. |
57
+ | `loadingDelay` | `number` | 0 | Switch, SwitchDefaultsProvider | Milliseconds before the shape appears, so a write that answers sooner draws nothing. The switch refuses a press and sets aria-busy from the start of the wait, and keeps its mark and its cursor until the delay has passed. |
57
58
  | `messages` | `Partial<SwitchMessages>` | — | Switch | Words that replace the active language’s, key by key: loading is what a screen reader hears while the switch is pending. The words reach a live region, not the control’s name, so the name never changes with the state. |
58
59
  | `disabled` | `boolean` | from the field, or false | Switch | Unset rather than false, so the switch follows the field around it. A stated value wins. It is the native attribute, which takes the switch out of the tab order and out of form submission. |
59
60
  | `readOnly` | `boolean` | from the field, or false | Switch | Unset rather than false. The native readonly attribute does nothing on a checkbox, so the switch sets aria-readonly and refuses every press. It stays focusable, announced and submitted. |
@@ -63,7 +64,7 @@ export default function SwitchBasic() {
63
64
  | `render` | `(props: SwitchRootProps) => ReactNode` | — | Switch | Replaces the root element and hands it every attribute. The props are typed against HTMLAttributes<HTMLElement>, so they can be spread onto a list item or a table cell. The control, the pill and the label are fixed: the control holds the state and the identifier, and the other parts are the switch’s own drawing. |
64
65
  | `ref` | `Ref<HTMLInputElement>` | — | Switch | Reaches the control. focus() and click() are the element’s own, and a click() reaches onCheckedChange with the reason "programmatic". |
65
66
  | `className / style` | `string / CSSProperties` | — | Switch | Reach the root, the element a consumer styles. Every other native prop reaches the control. |
66
- | `SwitchDefaultsProvider` | `{ size, indicator, labelPlacement }` | — | a subtree | Sets size, indicator and labelPlacement once for every switch under it. A field outranks the provider’s size, so a switch inside a field takes the field’s step. |
67
+ | `SwitchDefaultsProvider` | `{ size, indicator, labelPlacement, loadingDelay, variant }` | — | a subtree | Sets size, indicator and labelPlacement once for every switch under it. A field outranks the provider’s size, so a switch inside a field takes the field’s step. |
67
68
  | `useField()` | `() => FieldContextValue \| undefined` | — | inside a Field | What the switch reads from a field around it: the identifier, the description, and the disabled, read-only, invalid and required states. The switch needs no wiring inside a field. |
68
69
 
69
70
  ## Events
@@ -94,7 +95,7 @@ export default function SwitchBasic() {
94
95
 
95
96
  ## Tokens
96
97
 
97
- `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-label-gap-lg`, `--slotted-control-label-gap-md`, `--slotted-control-label-gap-sm`, `--slotted-control-shadow`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-loop`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-space-1`, `--slotted-space-3`, `--slotted-surface`, `--slotted-switch-active-background`, `--slotted-switch-border-color`, `--slotted-switch-checked-active-background`, `--slotted-switch-checked-background`, `--slotted-switch-checked-border-color`, `--slotted-switch-checked-hover-background`, `--slotted-switch-checked-thumb-border-color`, `--slotted-switch-color`, `--slotted-switch-control-block-size`, `--slotted-switch-description-color`, `--slotted-switch-description-font-size`, `--slotted-switch-disabled-background`, `--slotted-switch-disabled-border-color`, `--slotted-switch-disabled-color`, `--slotted-switch-disabled-mark-color`, `--slotted-switch-disabled-thumb-background`, `--slotted-switch-hover-background`, `--slotted-switch-invalid-border-color`, `--slotted-switch-invalid-edge-width`, `--slotted-switch-invalid-focus-ring-color`, `--slotted-switch-line-height`, `--slotted-switch-mark-color`, `--slotted-switch-pending-color`, `--slotted-switch-radius`, `--slotted-switch-readonly-background`, `--slotted-switch-readonly-border-color`, `--slotted-switch-thumb-background`, `--slotted-switch-thumb-border-color`, `--slotted-switch-thumb-shadow`, `--slotted-switch-track-background`, `--slotted-switch-track-inline-size`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`
98
+ `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-label-gap-lg`, `--slotted-control-label-gap-md`, `--slotted-control-label-gap-sm`, `--slotted-control-shadow`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-loop-slow`, `--slotted-easing-emphasized`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-space-1`, `--slotted-space-3`, `--slotted-surface`, `--slotted-switch-active-background`, `--slotted-switch-border-color`, `--slotted-switch-checked-active-background`, `--slotted-switch-checked-background`, `--slotted-switch-checked-border-color`, `--slotted-switch-checked-hover-background`, `--slotted-switch-checked-thumb-border-color`, `--slotted-switch-color`, `--slotted-switch-control-block-size`, `--slotted-switch-description-color`, `--slotted-switch-description-font-size`, `--slotted-switch-disabled-background`, `--slotted-switch-disabled-border-color`, `--slotted-switch-disabled-color`, `--slotted-switch-disabled-mark-color`, `--slotted-switch-disabled-thumb-background`, `--slotted-switch-hover-background`, `--slotted-switch-invalid-border-color`, `--slotted-switch-invalid-edge-width`, `--slotted-switch-invalid-focus-ring-color`, `--slotted-switch-line-height`, `--slotted-switch-mark-color`, `--slotted-switch-pending-color`, `--slotted-switch-radius`, `--slotted-switch-readonly-background`, `--slotted-switch-readonly-border-color`, `--slotted-switch-thumb-background`, `--slotted-switch-thumb-border-color`, `--slotted-switch-thumb-shadow`, `--slotted-switch-track-background`, `--slotted-switch-track-inline-size`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`
98
99
 
99
100
  ## Examples
100
101
 
@@ -238,7 +239,7 @@ export default function SwitchStates() {
238
239
 
239
240
  ### A setting that has not landed yet
240
241
 
241
- The thumb draws an arc where its mark was, the pill keeps its size so the row does not move, and a second press is refused before the DOM can show a state the server does not have.
242
+ The thumb becomes the morphing shape of Loader, its mark gone, and the pill keeps its size so the row does not move. A second press is refused before the DOM can show a state the server does not have. loadingDelay holds the shape back while a write answers fast.
242
243
 
243
244
  Example
244
245
 
@@ -43,6 +43,7 @@
43
43
  "variant": "soft",
44
44
  "size": "md",
45
45
  "shape": "pill",
46
+ "inline": false,
46
47
  "orientation": "horizontal",
47
48
  "disabled": false
48
49
  },
@@ -209,6 +210,13 @@
209
210
  "appliesTo": "Tag",
210
211
  "description": "A rounded chip, or a rectangle with the small corner radius"
211
212
  },
213
+ {
214
+ "name": "inline",
215
+ "type": "boolean",
216
+ "defaultValue": "false",
217
+ "appliesTo": "Tag",
218
+ "description": "No taller than the line of text around it, for a title or a sentence: the line keeps its height and what is under it its distance. The tag takes its own size where the line has the room and one line of the text where it does not; its words are at most nine tenths of the text around it."
219
+ },
212
220
  {
213
221
  "name": "start",
214
222
  "type": "ReactNode",
package/dist/docs/tag.md CHANGED
@@ -31,6 +31,7 @@ export default function TagBasic() {
31
31
  | `variant` | `'solid' \| 'soft' \| 'outline' \| 'dashed'` | soft | Tag | How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant |
32
32
  | `size` | `'sm' \| 'md' \| 'lg'` | md | Tag | Type, glyph and gap come from the control scale, so a tag shrinks with density beside the controls it sits with |
33
33
  | `shape` | `'pill' \| 'square'` | pill | Tag | A rounded chip, or a rectangle with the small corner radius |
34
+ | `inline` | `boolean` | false | Tag | No taller than the line of text around it, for a title or a sentence: the line keeps its height and what is under it its distance. The tag takes its own size where the line has the room and one line of the text where it does not; its words are at most nine tenths of the text around it. |
34
35
  | `start` | `ReactNode` | — | Tag | A glyph or an avatar before the words, wrapped in the start part, which sizes and centers it |
35
36
  | `end` | `ReactNode` | — | Tag | A glyph after the words, wrapped in the end part |
36
37
  | `disabled` | `boolean` | false | Tag | Refuses every interaction the tag offers, including its removal |
@@ -295,7 +295,7 @@
295
295
  "type": "boolean",
296
296
  "defaultValue": "false",
297
297
  "appliesTo": "TimePicker",
298
- "description": "Draws a clear on the control."
298
+ "description": "Draws a clear on the control and in the panel, unless required."
299
299
  },
300
300
  {
301
301
  "name": "messages",
@@ -55,7 +55,7 @@ Excerpt — not a complete module
55
55
  | `disabled` | `boolean` | — | TimePicker | Answers no key and no press. |
56
56
  | `readOnly` | `boolean` | — | TimePicker | Readable and not changeable. |
57
57
  | `required` | `boolean` | — | TimePicker | The form needs a value. |
58
- | `clearable` | `boolean` | false | TimePicker | Draws a clear on the control. |
58
+ | `clearable` | `boolean` | false | TimePicker | Draws a clear on the control and in the panel, unless required. |
59
59
  | `messages` | `Partial<TimePickerMessages>` | — | TimePicker | Words laid over the language in force: the trigger’s two names, and what is said of a refused time. |
60
60
  | `TimePickerDefaultsProvider` | `component` | — | application | Sets confirm, granularity, hourCycle, placement, size, step, timeZone and variant once. |
61
61
  | `renderSlot` | `(state: ClockSlotState) => ReactNode` | — | TimePicker | What one whole time of options draws. |
@@ -371,7 +371,7 @@
371
371
  "type": "boolean",
372
372
  "defaultValue": "false",
373
373
  "appliesTo": "TimeRangePicker",
374
- "description": "Draws a clear on the control."
374
+ "description": "Draws a clear on the control and in the panel, unless required."
375
375
  },
376
376
  {
377
377
  "name": "messages",
@@ -65,7 +65,7 @@ Excerpt — not a complete module
65
65
  | `disabled` | `boolean` | — | TimeRangePicker | Answers no key and no press. |
66
66
  | `readOnly` | `boolean` | — | TimeRangePicker | Readable and not changeable. |
67
67
  | `required` | `boolean` | — | TimeRangePicker | The form needs a value. |
68
- | `clearable` | `boolean` | false | TimeRangePicker | Draws a clear on the control. |
68
+ | `clearable` | `boolean` | false | TimeRangePicker | Draws a clear on the control and in the panel, unless required. |
69
69
  | `messages` | `Partial<TimeRangePickerMessages>` | — | TimeRangePicker | Words laid over the language in force: the trigger’s names, the two ends, the limits, and what is said of a refused run. |
70
70
  | `TimeRangePickerDefaultsProvider` | `component` | — | application | Sets confirm, granularity, hourCycle, lengthLabel, placement, size, step, timeZone and variant once. |
71
71
  | `footer` | `ReactNode` | the limits, or the step | TimeRangePicker | What the footer says when nothing is wrong. |
@@ -2,9 +2,9 @@ import { n as e, r as t } from "./i18n-D7xXDd8-.js";
2
2
  import { n, t as r } from "./icon-D04-_QFA.js";
3
3
  import { _ as i, n as a, r as o, t as s } from "./menu-parts-DgL617_H.js";
4
4
  import { c, d as l, i as u, l as d, n as f, o as p, r as m, s as h } from "./drawer-Du1aC1px.js";
5
- import { n as g } from "./progress-indicator-D0acshNn.js";
5
+ import { n as g } from "./progress-indicator-DRr0Gj6w.js";
6
6
  /* empty css */
7
- import { a as _, c as v, f as ee, i as te, l as ne, o as re, p as ie, r as ae, u as oe } from "./popover-BfEn2wdZ.js";
7
+ import { a as _, c as v, f as ee, i as te, l as ne, o as re, p as ie, r as ae, u as oe } from "./popover-B2t__iNO.js";
8
8
  import { n as se, r as y, t as ce } from "./context-menu-WiKS4Zwv.js";
9
9
  import { a as le, t as ue } from "./segmented-control-D52GeOlS.js";
10
10
  import { keyedProps as de, selectorKeyProps as fe, withSelectorKey as pe } from "@slotted/core/selector-key";
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "./event-calendar-biSTH0yK.js";
1
+ import { i as e, n as t, r as n, t as r } from "./event-calendar-DzlL95E4.js";
2
2
  export { t as EVENT_CALENDAR_FALLBACK, r as EventCalendar, n as EventCalendarDefaultsProvider, e as useEventCalendarDefaults };