datocms-react-ui 3.1.0-next.5 → 3.1.0-next.9

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 (607) hide show
  1. package/README.md +3 -2
  2. package/dist/DateInput.d.ts +2 -0
  3. package/dist/DateInput.js +2 -0
  4. package/dist/DateTimeInput.d.ts +2 -0
  5. package/dist/DateTimeInput.js +2 -0
  6. package/dist/DateTimeRangeInput.d.ts +2 -0
  7. package/dist/DateTimeRangeInput.js +2 -0
  8. package/dist/FieldTypeAvatar.d.ts +2 -0
  9. package/dist/FieldTypeAvatar.js +2 -0
  10. package/dist/FieldTypeName.d.ts +2 -0
  11. package/dist/FieldTypeName.js +2 -0
  12. package/dist/FilterBuilder.d.ts +2 -0
  13. package/dist/FilterBuilder.js +2 -0
  14. package/dist/LICENSE-lucide.txt +43 -0
  15. package/dist/RecordRow.d.ts +2 -0
  16. package/dist/RecordRow.js +2 -0
  17. package/dist/UploadCard.js +2 -2
  18. package/dist/UploadPreview.d.ts +2 -2
  19. package/dist/UploadPreview.js +1 -1
  20. package/dist/UserRow.d.ts +2 -0
  21. package/dist/UserRow.js +2 -0
  22. package/dist/react-ui/src/Canvas.d.ts +7 -1
  23. package/dist/react-ui/src/Canvas.js +26 -4
  24. package/dist/react-ui/src/ctxAnswer.js +21 -0
  25. package/dist/react-ui/src/ctxDateSettings.js +7 -5
  26. package/dist/react-ui/src/ctxRecordPresentation.js +34 -0
  27. package/dist/react-ui/src/ctxUploads.js +23 -0
  28. package/dist/styles.css +669 -63
  29. package/dist/ui-public/icons/index.js +313 -379
  30. package/dist/ui-public/icons/lucide/app-window.js +33 -0
  31. package/dist/ui-public/icons/lucide/arrow-big-down.js +22 -0
  32. package/dist/ui-public/icons/lucide/arrow-down-a-z.js +28 -0
  33. package/dist/ui-public/icons/lucide/arrow-down-from-line.js +26 -0
  34. package/dist/ui-public/icons/lucide/arrow-down.js +22 -0
  35. package/dist/ui-public/icons/lucide/arrow-left.js +22 -0
  36. package/dist/ui-public/icons/lucide/arrow-right-left.js +27 -0
  37. package/dist/ui-public/icons/lucide/arrow-right.js +22 -0
  38. package/dist/ui-public/icons/lucide/arrow-up-down.js +27 -0
  39. package/dist/ui-public/icons/lucide/arrow-up-from-line.js +26 -0
  40. package/dist/ui-public/icons/lucide/arrow-up.js +22 -0
  41. package/dist/ui-public/icons/lucide/ban.js +26 -0
  42. package/dist/ui-public/icons/lucide/book.js +22 -0
  43. package/dist/ui-public/icons/lucide/bookmark.js +22 -0
  44. package/dist/ui-public/icons/lucide/braces.js +22 -0
  45. package/dist/ui-public/icons/lucide/calendar.js +33 -0
  46. package/dist/ui-public/icons/{regular → lucide}/check.js +9 -3
  47. package/dist/ui-public/icons/{regular → lucide}/chevron-down.js +9 -3
  48. package/dist/ui-public/icons/{regular → lucide}/chevron-left.js +9 -3
  49. package/dist/ui-public/icons/{regular → lucide}/chevron-right.js +9 -3
  50. package/dist/ui-public/icons/lucide/chevrons-down.js +22 -0
  51. package/dist/ui-public/icons/lucide/chevrons-left.js +22 -0
  52. package/dist/ui-public/icons/lucide/chevrons-right.js +22 -0
  53. package/dist/ui-public/icons/lucide/circle-arrow-up.js +30 -0
  54. package/dist/ui-public/icons/lucide/circle-check.js +26 -0
  55. package/dist/ui-public/icons/lucide/circle-dot.js +30 -0
  56. package/dist/ui-public/icons/lucide/circle-exclamation-point.js +40 -0
  57. package/dist/ui-public/icons/lucide/circle-question-mark.js +30 -0
  58. package/dist/ui-public/icons/lucide/clock.js +26 -0
  59. package/dist/ui-public/icons/lucide/code.js +22 -0
  60. package/dist/ui-public/icons/lucide/command.js +22 -0
  61. package/dist/ui-public/icons/lucide/copy-plus.js +44 -0
  62. package/dist/ui-public/icons/lucide/copy.js +29 -0
  63. package/dist/ui-public/icons/lucide/corner-left-up.js +22 -0
  64. package/dist/ui-public/icons/lucide/database.js +31 -0
  65. package/dist/ui-public/icons/lucide/download.js +26 -0
  66. package/dist/ui-public/icons/lucide/earth.js +31 -0
  67. package/dist/ui-public/icons/lucide/ellipsis-vertical.js +38 -0
  68. package/dist/ui-public/icons/lucide/ellipsis.js +38 -0
  69. package/dist/ui-public/icons/lucide/external-link.js +26 -0
  70. package/dist/ui-public/icons/lucide/eye-off.js +27 -0
  71. package/dist/ui-public/icons/lucide/eye.js +26 -0
  72. package/dist/ui-public/icons/lucide/file-code.js +27 -0
  73. package/dist/ui-public/icons/lucide/file-output.js +27 -0
  74. package/dist/ui-public/icons/lucide/flask-conical.js +26 -0
  75. package/dist/ui-public/icons/lucide/fold-vertical.js +31 -0
  76. package/dist/ui-public/icons/lucide/folder-open.js +22 -0
  77. package/dist/ui-public/icons/lucide/folder-plus.js +26 -0
  78. package/dist/ui-public/icons/lucide/folder.js +22 -0
  79. package/dist/ui-public/icons/lucide/folders.js +22 -0
  80. package/dist/ui-public/icons/lucide/funnel.js +22 -0
  81. package/dist/ui-public/icons/lucide/gift.js +33 -0
  82. package/dist/ui-public/icons/lucide/git-branch.js +34 -0
  83. package/dist/ui-public/icons/lucide/git-fork.js +40 -0
  84. package/dist/ui-public/icons/lucide/globe.js +30 -0
  85. package/dist/ui-public/icons/lucide/grip-vertical.js +53 -0
  86. package/dist/ui-public/icons/lucide/hand.js +27 -0
  87. package/dist/ui-public/icons/lucide/hard-hat.js +33 -0
  88. package/dist/ui-public/icons/lucide/hash.js +47 -0
  89. package/dist/ui-public/icons/lucide/heading-1.js +27 -0
  90. package/dist/ui-public/icons/lucide/heading-2.js +27 -0
  91. package/dist/ui-public/icons/lucide/heading-3.js +28 -0
  92. package/dist/ui-public/icons/lucide/heading-4.js +28 -0
  93. package/dist/ui-public/icons/lucide/heading-5.js +28 -0
  94. package/dist/ui-public/icons/lucide/heading-6.js +32 -0
  95. package/dist/ui-public/icons/lucide/highlighter.js +22 -0
  96. package/dist/ui-public/icons/lucide/hourglass.js +27 -0
  97. package/dist/ui-public/icons/lucide/house.js +22 -0
  98. package/dist/ui-public/icons/lucide/image.js +37 -0
  99. package/dist/ui-public/icons/lucide/images.js +38 -0
  100. package/dist/ui-public/icons/lucide/info.js +30 -0
  101. package/dist/ui-public/icons/lucide/italic.js +41 -0
  102. package/dist/ui-public/icons/lucide/keyboard.js +38 -0
  103. package/dist/ui-public/icons/lucide/languages.js +29 -0
  104. package/dist/ui-public/icons/lucide/layers.js +26 -0
  105. package/dist/ui-public/icons/lucide/layout-grid.js +51 -0
  106. package/dist/ui-public/icons/lucide/letter-b.js +22 -0
  107. package/dist/ui-public/icons/lucide/letter-text.js +28 -0
  108. package/dist/ui-public/icons/lucide/life-buoy.js +37 -0
  109. package/dist/ui-public/icons/lucide/link.js +22 -0
  110. package/dist/ui-public/icons/lucide/list-indent-decrease.js +27 -0
  111. package/dist/ui-public/icons/lucide/list-indent-increase.js +27 -0
  112. package/dist/ui-public/icons/lucide/list-ordered.js +29 -0
  113. package/dist/ui-public/icons/lucide/list-tree.js +28 -0
  114. package/dist/ui-public/icons/lucide/list.js +29 -0
  115. package/dist/ui-public/icons/lucide/log-out.js +26 -0
  116. package/dist/ui-public/icons/lucide/mail.js +28 -0
  117. package/dist/ui-public/icons/lucide/map-pin.js +26 -0
  118. package/dist/ui-public/icons/lucide/map-pinned.js +30 -0
  119. package/dist/ui-public/icons/lucide/maximize.js +27 -0
  120. package/dist/ui-public/icons/lucide/menu.js +26 -0
  121. package/dist/ui-public/icons/lucide/messages-square.js +22 -0
  122. package/dist/ui-public/icons/lucide/minimize.js +27 -0
  123. package/dist/ui-public/icons/lucide/minus.js +22 -0
  124. package/dist/ui-public/icons/lucide/notepad-text.js +36 -0
  125. package/dist/ui-public/icons/lucide/octagon-exclamation-point.js +26 -0
  126. package/dist/ui-public/icons/lucide/palette.js +48 -0
  127. package/dist/ui-public/icons/lucide/panel-left.js +28 -0
  128. package/dist/ui-public/icons/lucide/panel-right.js +28 -0
  129. package/dist/ui-public/icons/lucide/pause.js +34 -0
  130. package/dist/ui-public/icons/lucide/pen.js +22 -0
  131. package/dist/ui-public/icons/lucide/pilcrow.js +26 -0
  132. package/dist/ui-public/icons/lucide/pipette.js +26 -0
  133. package/dist/ui-public/icons/lucide/play.js +22 -0
  134. package/dist/ui-public/icons/lucide/plus.js +22 -0
  135. package/dist/ui-public/icons/lucide/quote.js +22 -0
  136. package/dist/ui-public/icons/lucide/redo-2.js +22 -0
  137. package/dist/ui-public/icons/lucide/refresh-cw.js +27 -0
  138. package/dist/ui-public/icons/lucide/rotate-ccw-clock.js +26 -0
  139. package/dist/ui-public/icons/lucide/rotate-ccw.js +22 -0
  140. package/dist/ui-public/icons/lucide/rows-3.js +32 -0
  141. package/dist/ui-public/icons/lucide/search.js +26 -0
  142. package/dist/ui-public/icons/lucide/send.js +22 -0
  143. package/dist/ui-public/icons/lucide/settings-2.js +35 -0
  144. package/dist/ui-public/icons/lucide/settings.js +26 -0
  145. package/dist/ui-public/icons/lucide/sliders-horizontal.js +32 -0
  146. package/dist/ui-public/icons/lucide/smartphone.js +29 -0
  147. package/dist/ui-public/icons/lucide/square-arrow-left.js +32 -0
  148. package/dist/ui-public/icons/lucide/square-arrow-up-right.js +32 -0
  149. package/dist/ui-public/icons/lucide/square-code.js +32 -0
  150. package/dist/ui-public/icons/lucide/square-dashed.js +35 -0
  151. package/dist/ui-public/icons/lucide/square-pen.js +22 -0
  152. package/dist/ui-public/icons/lucide/square-plus.js +32 -0
  153. package/dist/ui-public/icons/lucide/square-terminal.js +33 -0
  154. package/dist/ui-public/icons/lucide/store.js +26 -0
  155. package/dist/ui-public/icons/lucide/strikethrough.js +31 -0
  156. package/dist/ui-public/icons/lucide/table.js +33 -0
  157. package/dist/ui-public/icons/lucide/tag.js +27 -0
  158. package/dist/ui-public/icons/lucide/text-align-center.js +26 -0
  159. package/dist/ui-public/icons/lucide/text-align-end.js +26 -0
  160. package/dist/ui-public/icons/lucide/text-align-justify.js +26 -0
  161. package/dist/ui-public/icons/lucide/text-align-start.js +26 -0
  162. package/dist/ui-public/icons/lucide/toggle-right.js +32 -0
  163. package/dist/ui-public/icons/lucide/toolbox.js +28 -0
  164. package/dist/ui-public/icons/lucide/trash.js +28 -0
  165. package/dist/ui-public/icons/lucide/triangle-exclamation-point.js +26 -0
  166. package/dist/ui-public/icons/lucide/underline.js +27 -0
  167. package/dist/ui-public/icons/lucide/undo-2.js +22 -0
  168. package/dist/ui-public/icons/lucide/unfold-vertical.js +31 -0
  169. package/dist/ui-public/icons/lucide/user-lock.js +37 -0
  170. package/dist/ui-public/icons/lucide/user-minus.js +35 -0
  171. package/dist/ui-public/icons/lucide/user-round-arrow-left.js +31 -0
  172. package/dist/ui-public/icons/lucide/user.js +26 -0
  173. package/dist/ui-public/icons/lucide/x.js +22 -0
  174. package/dist/ui-public/locales/en.js +76 -5
  175. package/dist/ui-public/src/Message.d.ts +3 -4
  176. package/dist/ui-public/src/UiTextKey.d.ts +1 -1
  177. package/dist/ui-public/src/actions/Actions/ActionTooltip.js +1 -1
  178. package/dist/ui-public/src/actions/Actions/registry.d.ts +2 -2
  179. package/dist/ui-public/src/actions/Actions/registry.js +2 -2
  180. package/dist/ui-public/src/actions/Button.d.ts +16 -11
  181. package/dist/ui-public/src/actions/Button.js +7 -1
  182. package/dist/ui-public/src/actions/Dropdown/Menu.d.ts +2 -2
  183. package/dist/ui-public/src/actions/Dropdown/Option.d.ts +7 -7
  184. package/dist/ui-public/src/actions/Dropdown/index.d.ts +1 -1
  185. package/dist/ui-public/src/actions/Dropdown/triggers/ButtonTrigger.d.ts +5 -5
  186. package/dist/ui-public/src/actions/Dropdown/triggers/DropdownTriggerButton.d.ts +2 -2
  187. package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.d.ts +6 -6
  188. package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.js +1 -1
  189. package/dist/ui-public/src/actions/EditorToolbar/Button.d.ts +1 -1
  190. package/dist/ui-public/src/actions/MultipleSelectionActionBar.d.ts +1 -1
  191. package/dist/ui-public/src/actions/SplitButton/Caret.js +2 -2
  192. package/dist/ui-public/src/actions/SplitButton/Halves.js +1 -1
  193. package/dist/ui-public/src/actions/SplitButton/index.d.ts +3 -3
  194. package/dist/ui-public/src/actions/disabledReason.d.ts +4 -4
  195. package/dist/ui-public/src/actions/disabledReason.js +1 -1
  196. package/dist/ui-public/src/content/Avatar.d.ts +3 -3
  197. package/dist/ui-public/src/content/Avatar.js +2 -2
  198. package/dist/ui-public/src/content/CodeSnippet.d.ts +1 -1
  199. package/dist/ui-public/src/content/CopyableValue.d.ts +1 -1
  200. package/dist/ui-public/src/content/EnvironmentPill.d.ts +1 -1
  201. package/dist/ui-public/src/content/EnvironmentPill.js +1 -1
  202. package/dist/ui-public/src/content/FieldTypeAvatar.d.ts +22 -0
  203. package/dist/ui-public/src/content/FieldTypeAvatar.js +35 -0
  204. package/dist/ui-public/src/content/FieldTypeName.d.ts +19 -0
  205. package/dist/ui-public/src/content/FieldTypeName.js +25 -0
  206. package/dist/ui-public/src/content/IconAvatar.d.ts +3 -2
  207. package/dist/ui-public/src/content/ItemStatus.d.ts +1 -1
  208. package/dist/ui-public/src/content/Pill.d.ts +1 -1
  209. package/dist/ui-public/src/content/SmartDate.d.ts +1 -1
  210. package/dist/ui-public/src/content/UploadPreview/asset.js +200 -0
  211. package/dist/ui-public/src/content/UploadPreview/audio.js +120 -0
  212. package/dist/ui-public/src/content/{UploadPreview.d.ts → UploadPreview/box.d.ts} +10 -10
  213. package/dist/ui-public/src/content/{UploadPreview.js → UploadPreview/box.js} +7 -7
  214. package/dist/ui-public/src/content/{uploadPreviewFit.d.ts → UploadPreview/fit.d.ts} +2 -2
  215. package/dist/ui-public/src/content/{uploadPreviewFit.js → UploadPreview/fit.js} +3 -3
  216. package/dist/ui-public/src/content/UploadPreview/index.d.ts +61 -0
  217. package/dist/ui-public/src/content/UploadPreview/index.js +36 -0
  218. package/dist/ui-public/src/content/UploadPreview/presentation.js +63 -0
  219. package/dist/ui-public/src/content/UploadPreview/thumbhash.js +91 -0
  220. package/dist/ui-public/src/content/UploadPreview/upload.d.ts +104 -0
  221. package/dist/ui-public/src/content/UploadPreview/upload.js +112 -0
  222. package/dist/ui-public/src/content/UploadThreatTriangle.js +1 -1
  223. package/dist/ui-public/src/content/UsageMeter.d.ts +1 -1
  224. package/dist/ui-public/src/content/ValidityTriangles.d.ts +1 -1
  225. package/dist/ui-public/src/content/ValidityTriangles.js +1 -1
  226. package/dist/ui-public/src/feedback/BlankSlate.d.ts +5 -5
  227. package/dist/ui-public/src/feedback/Callout.d.ts +5 -5
  228. package/dist/ui-public/src/feedback/Callout.js +1 -1
  229. package/dist/ui-public/src/feedback/ProgressBar.d.ts +4 -4
  230. package/dist/ui-public/src/feedback/Spinner.d.ts +6 -6
  231. package/dist/ui-public/src/feedback/Spinner.js +1 -1
  232. package/dist/ui-public/src/form/DateInput.d.ts +13 -0
  233. package/dist/ui-public/src/form/DateInput.js +16 -0
  234. package/dist/ui-public/src/form/DateTimeInput/Base.d.ts +89 -0
  235. package/dist/ui-public/src/form/DateTimeInput/Base.js +330 -0
  236. package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.d.ts +29 -0
  237. package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.js +195 -0
  238. package/dist/ui-public/src/form/DateTimeInput/dateText.js +38 -0
  239. package/dist/ui-public/src/form/DateTimeInput/index.d.ts +10 -0
  240. package/dist/ui-public/src/form/DateTimeInput/index.js +18 -0
  241. package/dist/ui-public/src/form/DateTimeInput/value.js +31 -0
  242. package/dist/ui-public/src/form/DateTimeRangeInput/Panel.js +167 -0
  243. package/dist/ui-public/src/form/DateTimeRangeInput/index.d.ts +123 -0
  244. package/dist/ui-public/src/form/DateTimeRangeInput/index.js +186 -0
  245. package/dist/ui-public/src/form/DateTimeRangeInput/rangeLabel.js +46 -0
  246. package/dist/ui-public/src/form/FieldHint.d.ts +2 -2
  247. package/dist/ui-public/src/form/FieldWrapper.d.ts +9 -9
  248. package/dist/ui-public/src/form/FieldWrapper.js +3 -3
  249. package/dist/ui-public/src/form/FilterBuilder/Editor.js +123 -0
  250. package/dist/ui-public/src/form/FilterBuilder/index.d.ts +9 -0
  251. package/dist/ui-public/src/form/FilterBuilder/index.js +294 -0
  252. package/dist/ui-public/src/form/FilterBuilder/types.d.ts +188 -0
  253. package/dist/ui-public/src/form/FilterBuilder/values.js +86 -0
  254. package/dist/ui-public/src/form/InputGroup.d.ts +2 -2
  255. package/dist/ui-public/src/form/InputGroup.js +1 -1
  256. package/dist/ui-public/src/form/KeyValueList.d.ts +1 -1
  257. package/dist/ui-public/src/form/Label.d.ts +2 -2
  258. package/dist/ui-public/src/form/PasswordInput.js +1 -9
  259. package/dist/ui-public/src/form/RadioGroupInput.d.ts +2 -2
  260. package/dist/ui-public/src/form/RadioGroupInput.js +1 -1
  261. package/dist/ui-public/src/form/SelectInput/SelectMenu.d.ts +2 -2
  262. package/dist/ui-public/src/form/SelectInput/index.d.ts +3 -3
  263. package/dist/ui-public/src/form/SwitchInput.d.ts +2 -2
  264. package/dist/ui-public/src/form/SwitchList.d.ts +1 -1
  265. package/dist/ui-public/src/form/SwitchList.js +1 -1
  266. package/dist/ui-public/src/form/TableList.d.ts +2 -2
  267. package/dist/ui-public/src/form/TextareaInput.js +1 -1
  268. package/dist/ui-public/src/form/inputProps.d.ts +6 -6
  269. package/dist/ui-public/src/hooks/useAsyncSelectOptions.d.ts +1 -1
  270. package/dist/ui-public/src/hooks/useSmartRowClick.d.ts +1 -1
  271. package/dist/ui-public/src/hooks/useSmartRowClick.js +1 -1
  272. package/dist/ui-public/src/layout/Page/PageGroup.d.ts +2 -2
  273. package/dist/ui-public/src/layout/Page/PageGroup.js +1 -1
  274. package/dist/ui-public/src/layout/Pane/FormHeader.d.ts +1 -1
  275. package/dist/ui-public/src/layout/Pane/FormHeader.js +1 -1
  276. package/dist/ui-public/src/layout/Pane/ListFilter.d.ts +1 -1
  277. package/dist/ui-public/src/layout/Pane/ListPresets.d.ts +1 -1
  278. package/dist/ui-public/src/layout/Pane/PaneHeader.d.ts +1 -1
  279. package/dist/ui-public/src/layout/Pane/index.d.ts +8 -8
  280. package/dist/ui-public/src/layout/Pane/index.js +17 -8
  281. package/dist/ui-public/src/layout/SidebarPanel.d.ts +1 -1
  282. package/dist/ui-public/src/layout/SplitPane/Rail.js +1 -1
  283. package/dist/ui-public/src/layout/SplitPane/index.d.ts +6 -6
  284. package/dist/ui-public/src/layout/SplitPane/index.js +16 -2
  285. package/dist/ui-public/src/layout/Toolbar/AddNewButton.d.ts +2 -2
  286. package/dist/ui-public/src/layout/Toolbar/FilterToggle.d.ts +1 -1
  287. package/dist/ui-public/src/layout/Toolbar/FilterToggle.js +12 -4
  288. package/dist/ui-public/src/layout/Toolbar/Help.d.ts +3 -3
  289. package/dist/ui-public/src/layout/Toolbar/Help.js +2 -2
  290. package/dist/ui-public/src/layout/Toolbar/Note.d.ts +1 -1
  291. package/dist/ui-public/src/layout/Toolbar/Note.js +1 -1
  292. package/dist/ui-public/src/layout/Toolbar/Pagination.d.ts +1 -1
  293. package/dist/ui-public/src/layout/Toolbar/Pagination.js +1 -1
  294. package/dist/ui-public/src/layout/Toolbar/PresetsTitle.d.ts +3 -3
  295. package/dist/ui-public/src/layout/Toolbar/PresetsTitle.js +2 -2
  296. package/dist/ui-public/src/layout/Toolbar/PrimaryButton.d.ts +3 -3
  297. package/dist/ui-public/src/layout/Toolbar/Root.d.ts +1 -1
  298. package/dist/ui-public/src/layout/Toolbar/Root.js +4 -1
  299. package/dist/ui-public/src/layout/Toolbar/ToolbarTitleTrigger.js +1 -1
  300. package/dist/ui-public/src/lists/CardList.d.ts +3 -3
  301. package/dist/ui-public/src/lists/EmptySlot.d.ts +1 -1
  302. package/dist/ui-public/src/lists/InfoList/User.d.ts +1 -1
  303. package/dist/ui-public/src/lists/InfoList/Value.d.ts +1 -1
  304. package/dist/ui-public/src/lists/InfoList/Value.js +1 -1
  305. package/dist/ui-public/src/lists/InfoList/index.d.ts +3 -3
  306. package/dist/ui-public/src/lists/InfoList/index.js +1 -1
  307. package/dist/ui-public/src/lists/MediaCard.d.ts +7 -7
  308. package/dist/ui-public/src/lists/RecordRow/Image.d.ts +24 -0
  309. package/dist/ui-public/src/lists/RecordRow/Image.js +22 -0
  310. package/dist/ui-public/src/lists/RecordRow/List.d.ts +26 -0
  311. package/dist/ui-public/src/lists/RecordRow/List.js +30 -0
  312. package/dist/ui-public/src/lists/RecordRow/context.js +31 -0
  313. package/dist/ui-public/src/lists/RecordRow/index.d.ts +94 -0
  314. package/dist/ui-public/src/lists/RecordRow/index.js +122 -0
  315. package/dist/ui-public/src/lists/RecordRow/presentation.js +73 -0
  316. package/dist/ui-public/src/lists/RecordRow/types.d.ts +58 -0
  317. package/dist/ui-public/src/lists/RowList.d.ts +5 -5
  318. package/dist/ui-public/src/lists/SettingsList.d.ts +3 -3
  319. package/dist/ui-public/src/lists/SettingsList.js +2 -2
  320. package/dist/ui-public/src/lists/Table/Row.d.ts +5 -5
  321. package/dist/ui-public/src/lists/Table/Table.d.ts +3 -3
  322. package/dist/ui-public/src/lists/Table/TreeToggle.d.ts +2 -2
  323. package/dist/ui-public/src/lists/Table/TreeToggle.js +5 -4
  324. package/dist/ui-public/src/lists/Table/cells/LinkCell.d.ts +1 -1
  325. package/dist/ui-public/src/lists/TreeRow/Action.d.ts +1 -1
  326. package/dist/ui-public/src/lists/TreeRow/Action.js +1 -1
  327. package/dist/ui-public/src/lists/TreeRow/Link.d.ts +1 -1
  328. package/dist/ui-public/src/lists/TreeRow/Link.js +1 -1
  329. package/dist/ui-public/src/lists/UploadCard.d.ts +66 -3
  330. package/dist/ui-public/src/lists/UploadCard.js +116 -7
  331. package/dist/ui-public/src/lists/UserRow.d.ts +122 -0
  332. package/dist/ui-public/src/lists/UserRow.js +104 -0
  333. package/dist/ui-public/src/lists/dnd/DragHandle.d.ts +2 -2
  334. package/dist/ui-public/src/lists/dnd/SortableList.d.ts +1 -1
  335. package/dist/ui-public/src/lists/dnd/dropTargetClassName.d.ts +1 -1
  336. package/dist/ui-public/src/lists/dnd/tree/SortableTree.d.ts +2 -2
  337. package/dist/ui-public/src/navigation/Chevron.d.ts +4 -4
  338. package/dist/ui-public/src/navigation/Chevron.js +1 -1
  339. package/dist/ui-public/src/navigation/Link.d.ts +5 -5
  340. package/dist/ui-public/src/navigation/Link.js +1 -1
  341. package/dist/ui-public/src/navigation/NavList.d.ts +1 -1
  342. package/dist/ui-public/src/navigation/NavList.js +1 -1
  343. package/dist/ui-public/src/navigation/NavigationProvider.d.ts +1 -1
  344. package/dist/ui-public/src/navigation/SegmentedControl.d.ts +2 -2
  345. package/dist/ui-public/src/navigation/SettingsMenu.d.ts +8 -8
  346. package/dist/ui-public/src/navigation/SettingsMenu.js +1 -1
  347. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNode.d.ts +4 -4
  348. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.d.ts +3 -0
  349. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.js +2 -1
  350. package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.d.ts +1 -1
  351. package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.js +1 -1
  352. package/dist/ui-public/src/overlays/HoverCard/index.js +1 -1
  353. package/dist/ui-public/src/overlays/NewZIndex.d.ts +1 -1
  354. package/dist/ui-public/src/overlays/NewZIndex.js +1 -1
  355. package/dist/ui-public/src/overlays/Popover.d.ts +1 -1
  356. package/dist/ui-public/src/overlays/PortalWrapper.js +1 -1
  357. package/dist/ui-public/src/overlays/useModalClose.js +3 -3
  358. package/dist/ui-public/src/patterns/ListDetail/FloatingDetail.js +71 -0
  359. package/dist/ui-public/src/patterns/ListDetail/Overview.js +2 -2
  360. package/dist/ui-public/src/patterns/ListDetail/Page.d.ts +8 -9
  361. package/dist/ui-public/src/patterns/ListDetail/Page.js +12 -9
  362. package/dist/ui-public/src/patterns/ListDetail/Panel.d.ts +2 -2
  363. package/dist/ui-public/src/patterns/ListDetail/Panel.js +12 -11
  364. package/dist/ui-public/src/patterns/ListDetail/Split.d.ts +25 -11
  365. package/dist/ui-public/src/patterns/ListDetail/Split.js +99 -115
  366. package/dist/ui-public/src/patterns/ListDetail/index.d.ts +4 -3
  367. package/dist/ui-public/src/patterns/ListDetail/useDetailWidthDrag.js +43 -0
  368. package/dist/ui-public/src/patterns/ListFormPage.d.ts +3 -3
  369. package/dist/ui-public/src/patterns/ListFormPage.js +1 -1
  370. package/dist/ui-public/src/semantic/Heading.d.ts +1 -1
  371. package/dist/ui-public/src/semantic/Heading.js +1 -1
  372. package/dist/ui-public/src/semantic/Image.js +1 -1
  373. package/dist/ui-public/src/semantic/Nav.d.ts +3 -3
  374. package/dist/ui-public/src/semantic/Nav.js +3 -3
  375. package/dist/ui-public/src/semantic/RawButton.d.ts +3 -3
  376. package/dist/ui-public/src/semantic/RawButton.js +1 -1
  377. package/dist/ui-public/src/semantic/Search.d.ts +1 -1
  378. package/dist/ui-public/src/semantic/Search.js +1 -1
  379. package/dist/ui-public/src/utils/fieldTypes.d.ts +29 -0
  380. package/dist/ui-public/src/utils/fieldTypes.js +94 -0
  381. package/dist/ui-public/src/utils/format.d.ts +21 -0
  382. package/dist/ui-public/src/utils/format.js +20 -0
  383. package/dist/ui-public/src/utils/formatDate.d.ts +10 -2
  384. package/dist/ui-public/src/utils/formatDate.js +4 -4
  385. package/dist/ui-public/src/utils/tickBatcher.js +44 -0
  386. package/dist/ui-public/src/utils/timezones.js +277 -0
  387. package/dist/ui-public/src/utils/weekStartForLocale.js +25 -0
  388. package/dist/utils/fieldTypes.d.ts +1 -0
  389. package/dist/utils/fieldTypes.js +2 -0
  390. package/dist/utils/format.d.ts +1 -0
  391. package/dist/utils/format.js +2 -0
  392. package/package.json +3 -3
  393. package/dist/ui-public/icons/brands/gitlab.js +0 -15
  394. package/dist/ui-public/icons/brands/markdown.js +0 -15
  395. package/dist/ui-public/icons/custom/fieldgroup-boolean.js +0 -18
  396. package/dist/ui-public/icons/custom/fieldgroup-color.js +0 -18
  397. package/dist/ui-public/icons/custom/fieldgroup-datetime.js +0 -49
  398. package/dist/ui-public/icons/custom/fieldgroup-json.js +0 -18
  399. package/dist/ui-public/icons/custom/fieldgroup-location.js +0 -19
  400. package/dist/ui-public/icons/custom/fieldgroup-media.js +0 -18
  401. package/dist/ui-public/icons/custom/fieldgroup-number.js +0 -18
  402. package/dist/ui-public/icons/custom/fieldgroup-reference.js +0 -18
  403. package/dist/ui-public/icons/custom/fieldgroup-rich_text.js +0 -18
  404. package/dist/ui-public/icons/custom/fieldgroup-seo.js +0 -22
  405. package/dist/ui-public/icons/custom/fieldgroup-structured_text.js +0 -61
  406. package/dist/ui-public/icons/custom/language.js +0 -16
  407. package/dist/ui-public/icons/custom/masonry.js +0 -21
  408. package/dist/ui-public/icons/light/eye-slash.js +0 -16
  409. package/dist/ui-public/icons/light/eye.js +0 -16
  410. package/dist/ui-public/icons/regular/align-left.js +0 -15
  411. package/dist/ui-public/icons/regular/arrow-down-a-z.js +0 -16
  412. package/dist/ui-public/icons/regular/arrow-down-from-line.js +0 -16
  413. package/dist/ui-public/icons/regular/arrow-down-to-line.js +0 -15
  414. package/dist/ui-public/icons/regular/arrow-down.js +0 -16
  415. package/dist/ui-public/icons/regular/arrow-left.js +0 -16
  416. package/dist/ui-public/icons/regular/arrow-right-arrow-left.js +0 -16
  417. package/dist/ui-public/icons/regular/arrow-right-from-bracket.js +0 -16
  418. package/dist/ui-public/icons/regular/arrow-right.js +0 -16
  419. package/dist/ui-public/icons/regular/arrow-rotate-left.js +0 -15
  420. package/dist/ui-public/icons/regular/arrow-rotate-right.js +0 -16
  421. package/dist/ui-public/icons/regular/arrow-turn-up.js +0 -16
  422. package/dist/ui-public/icons/regular/arrow-up-arrow-down.js +0 -16
  423. package/dist/ui-public/icons/regular/arrow-up-from-line.js +0 -16
  424. package/dist/ui-public/icons/regular/arrow-up-right-from-square.js +0 -16
  425. package/dist/ui-public/icons/regular/arrow-up-to-line.js +0 -15
  426. package/dist/ui-public/icons/regular/arrow-up.js +0 -16
  427. package/dist/ui-public/icons/regular/arrows-from-line.js +0 -16
  428. package/dist/ui-public/icons/regular/arrows-rotate.js +0 -16
  429. package/dist/ui-public/icons/regular/arrows-to-line.js +0 -16
  430. package/dist/ui-public/icons/regular/arrows-turn-to-dots.js +0 -15
  431. package/dist/ui-public/icons/regular/badge-check.js +0 -15
  432. package/dist/ui-public/icons/regular/ballot-check.js +0 -15
  433. package/dist/ui-public/icons/regular/ban.js +0 -16
  434. package/dist/ui-public/icons/regular/bars.js +0 -16
  435. package/dist/ui-public/icons/regular/bold.js +0 -15
  436. package/dist/ui-public/icons/regular/bolt.js +0 -15
  437. package/dist/ui-public/icons/regular/book.js +0 -16
  438. package/dist/ui-public/icons/regular/bookmark.js +0 -16
  439. package/dist/ui-public/icons/regular/brackets-curly.js +0 -15
  440. package/dist/ui-public/icons/regular/browser.js +0 -16
  441. package/dist/ui-public/icons/regular/calendar-clock.js +0 -15
  442. package/dist/ui-public/icons/regular/calendar.js +0 -16
  443. package/dist/ui-public/icons/regular/chart-area.js +0 -15
  444. package/dist/ui-public/icons/regular/chevrons-down.js +0 -16
  445. package/dist/ui-public/icons/regular/chevrons-left.js +0 -16
  446. package/dist/ui-public/icons/regular/chevrons-right.js +0 -16
  447. package/dist/ui-public/icons/regular/circle-arrow-up.js +0 -16
  448. package/dist/ui-public/icons/regular/circle-check.js +0 -16
  449. package/dist/ui-public/icons/regular/circle-dot.js +0 -16
  450. package/dist/ui-public/icons/regular/circle-exclamation.js +0 -16
  451. package/dist/ui-public/icons/regular/circle-info.js +0 -16
  452. package/dist/ui-public/icons/regular/circle-question.js +0 -16
  453. package/dist/ui-public/icons/regular/clapperboard-play.js +0 -15
  454. package/dist/ui-public/icons/regular/clipboard.js +0 -15
  455. package/dist/ui-public/icons/regular/clock-rotate-left.js +0 -16
  456. package/dist/ui-public/icons/regular/clock.js +0 -16
  457. package/dist/ui-public/icons/regular/clone.js +0 -16
  458. package/dist/ui-public/icons/regular/cloud-arrow-down.js +0 -15
  459. package/dist/ui-public/icons/regular/code-branch.js +0 -16
  460. package/dist/ui-public/icons/regular/code-fork.js +0 -16
  461. package/dist/ui-public/icons/regular/command.js +0 -16
  462. package/dist/ui-public/icons/regular/comments.js +0 -16
  463. package/dist/ui-public/icons/regular/copy.js +0 -16
  464. package/dist/ui-public/icons/regular/cube.js +0 -15
  465. package/dist/ui-public/icons/regular/cubes.js +0 -15
  466. package/dist/ui-public/icons/regular/dash.js +0 -16
  467. package/dist/ui-public/icons/regular/database.js +0 -16
  468. package/dist/ui-public/icons/regular/diamond.js +0 -15
  469. package/dist/ui-public/icons/regular/down.js +0 -16
  470. package/dist/ui-public/icons/regular/download.js +0 -16
  471. package/dist/ui-public/icons/regular/earth-europe.js +0 -16
  472. package/dist/ui-public/icons/regular/ellipsis-vertical.js +0 -16
  473. package/dist/ui-public/icons/regular/ellipsis.js +0 -16
  474. package/dist/ui-public/icons/regular/envelope.js +0 -16
  475. package/dist/ui-public/icons/regular/expand.js +0 -16
  476. package/dist/ui-public/icons/regular/eye-dropper.js +0 -16
  477. package/dist/ui-public/icons/regular/eye.js +0 -16
  478. package/dist/ui-public/icons/regular/file-export.js +0 -16
  479. package/dist/ui-public/icons/regular/file-lines.js +0 -15
  480. package/dist/ui-public/icons/regular/file-shield.js +0 -15
  481. package/dist/ui-public/icons/regular/file.js +0 -15
  482. package/dist/ui-public/icons/regular/filter.js +0 -16
  483. package/dist/ui-public/icons/regular/fire-flame-curved.js +0 -15
  484. package/dist/ui-public/icons/regular/flask-gear.js +0 -16
  485. package/dist/ui-public/icons/regular/flask.js +0 -16
  486. package/dist/ui-public/icons/regular/folder-gear.js +0 -15
  487. package/dist/ui-public/icons/regular/folder-magnifying-glass.js +0 -15
  488. package/dist/ui-public/icons/regular/folder-open.js +0 -16
  489. package/dist/ui-public/icons/regular/folder-plus.js +0 -16
  490. package/dist/ui-public/icons/regular/folder.js +0 -16
  491. package/dist/ui-public/icons/regular/folders.js +0 -16
  492. package/dist/ui-public/icons/regular/gear.js +0 -16
  493. package/dist/ui-public/icons/regular/gift.js +0 -16
  494. package/dist/ui-public/icons/regular/globe.js +0 -16
  495. package/dist/ui-public/icons/regular/grid-2.js +0 -16
  496. package/dist/ui-public/icons/regular/grip-dots-vertical.js +0 -16
  497. package/dist/ui-public/icons/regular/hand.js +0 -16
  498. package/dist/ui-public/icons/regular/hourglass-clock.js +0 -16
  499. package/dist/ui-public/icons/regular/house.js +0 -16
  500. package/dist/ui-public/icons/regular/images.js +0 -16
  501. package/dist/ui-public/icons/regular/input-numeric.js +0 -15
  502. package/dist/ui-public/icons/regular/input-text.js +0 -15
  503. package/dist/ui-public/icons/regular/keyboard.js +0 -16
  504. package/dist/ui-public/icons/regular/layer-group.js +0 -16
  505. package/dist/ui-public/icons/regular/life-ring.js +0 -16
  506. package/dist/ui-public/icons/regular/link-simple.js +0 -15
  507. package/dist/ui-public/icons/regular/link.js +0 -16
  508. package/dist/ui-public/icons/regular/list-tree.js +0 -16
  509. package/dist/ui-public/icons/regular/list.js +0 -16
  510. package/dist/ui-public/icons/regular/magnifying-glass-chart.js +0 -15
  511. package/dist/ui-public/icons/regular/magnifying-glass.js +0 -16
  512. package/dist/ui-public/icons/regular/map-location-dot.js +0 -16
  513. package/dist/ui-public/icons/regular/memo.js +0 -16
  514. package/dist/ui-public/icons/regular/mobile-screen-button.js +0 -16
  515. package/dist/ui-public/icons/regular/octagon-exclamation.js +0 -16
  516. package/dist/ui-public/icons/regular/palette.js +0 -16
  517. package/dist/ui-public/icons/regular/paper-plane.js +0 -16
  518. package/dist/ui-public/icons/regular/paragraph.js +0 -15
  519. package/dist/ui-public/icons/regular/paste.js +0 -15
  520. package/dist/ui-public/icons/regular/pause.js +0 -16
  521. package/dist/ui-public/icons/regular/pen-paintbrush.js +0 -15
  522. package/dist/ui-public/icons/regular/pen-to-square.js +0 -16
  523. package/dist/ui-public/icons/regular/pen.js +0 -16
  524. package/dist/ui-public/icons/regular/people-arrows.js +0 -16
  525. package/dist/ui-public/icons/regular/photo-film.js +0 -15
  526. package/dist/ui-public/icons/regular/play.js +0 -16
  527. package/dist/ui-public/icons/regular/puzzle-piece.js +0 -15
  528. package/dist/ui-public/icons/regular/receipt.js +0 -16
  529. package/dist/ui-public/icons/regular/rectangle-barcode.js +0 -15
  530. package/dist/ui-public/icons/regular/rectangle-list.js +0 -15
  531. package/dist/ui-public/icons/regular/right-left.js +0 -15
  532. package/dist/ui-public/icons/regular/rotate-left.js +0 -16
  533. package/dist/ui-public/icons/regular/shield.js +0 -15
  534. package/dist/ui-public/icons/regular/sidebar-flip.js +0 -16
  535. package/dist/ui-public/icons/regular/sidebar.js +0 -16
  536. package/dist/ui-public/icons/regular/sliders.js +0 -16
  537. package/dist/ui-public/icons/regular/sparkles.js +0 -15
  538. package/dist/ui-public/icons/regular/square-caret-down.js +0 -15
  539. package/dist/ui-public/icons/regular/square-check.js +0 -15
  540. package/dist/ui-public/icons/regular/square-dashed.js +0 -15
  541. package/dist/ui-public/icons/regular/square-left.js +0 -16
  542. package/dist/ui-public/icons/regular/square-terminal.js +0 -16
  543. package/dist/ui-public/icons/regular/square-up-right.js +0 -16
  544. package/dist/ui-public/icons/regular/store.js +0 -16
  545. package/dist/ui-public/icons/regular/swap-arrows.js +0 -15
  546. package/dist/ui-public/icons/regular/table.js +0 -16
  547. package/dist/ui-public/icons/regular/tag.js +0 -16
  548. package/dist/ui-public/icons/regular/toggle-on.js +0 -15
  549. package/dist/ui-public/icons/regular/toolbox.js +0 -16
  550. package/dist/ui-public/icons/regular/trash-undo.js +0 -15
  551. package/dist/ui-public/icons/regular/trash.js +0 -16
  552. package/dist/ui-public/icons/regular/triangle-exclamation.js +0 -16
  553. package/dist/ui-public/icons/regular/turn-up.js +0 -16
  554. package/dist/ui-public/icons/regular/user-group.js +0 -15
  555. package/dist/ui-public/icons/regular/user-helmet-safety.js +0 -16
  556. package/dist/ui-public/icons/regular/user-lock.js +0 -16
  557. package/dist/ui-public/icons/regular/user-minus.js +0 -16
  558. package/dist/ui-public/icons/regular/user-tie.js +0 -15
  559. package/dist/ui-public/icons/regular/user.js +0 -16
  560. package/dist/ui-public/icons/regular/users.js +0 -15
  561. package/dist/ui-public/icons/regular/video.js +0 -15
  562. package/dist/ui-public/icons/regular/webhook.js +0 -15
  563. package/dist/ui-public/icons/regular/wrench.js +0 -15
  564. package/dist/ui-public/icons/regular/xmark.js +0 -16
  565. package/dist/ui-public/icons/solid/align-center.js +0 -16
  566. package/dist/ui-public/icons/solid/align-justify.js +0 -16
  567. package/dist/ui-public/icons/solid/align-left.js +0 -16
  568. package/dist/ui-public/icons/solid/align-right.js +0 -16
  569. package/dist/ui-public/icons/solid/arrow-rotate-left.js +0 -16
  570. package/dist/ui-public/icons/solid/arrow-rotate-right.js +0 -16
  571. package/dist/ui-public/icons/solid/bold.js +0 -16
  572. package/dist/ui-public/icons/solid/circle-exclamation.js +0 -16
  573. package/dist/ui-public/icons/solid/closed-captioning.js +0 -15
  574. package/dist/ui-public/icons/solid/code.js +0 -16
  575. package/dist/ui-public/icons/solid/compress.js +0 -16
  576. package/dist/ui-public/icons/solid/download.js +0 -15
  577. package/dist/ui-public/icons/solid/expand.js +0 -16
  578. package/dist/ui-public/icons/solid/file-arrow-down.js +0 -15
  579. package/dist/ui-public/icons/solid/file-code.js +0 -16
  580. package/dist/ui-public/icons/solid/grid-2.js +0 -16
  581. package/dist/ui-public/icons/solid/h1.js +0 -16
  582. package/dist/ui-public/icons/solid/h2.js +0 -16
  583. package/dist/ui-public/icons/solid/h3.js +0 -16
  584. package/dist/ui-public/icons/solid/h4.js +0 -16
  585. package/dist/ui-public/icons/solid/h5.js +0 -16
  586. package/dist/ui-public/icons/solid/h6.js +0 -16
  587. package/dist/ui-public/icons/solid/highlighter.js +0 -16
  588. package/dist/ui-public/icons/solid/horizontal-rule.js +0 -16
  589. package/dist/ui-public/icons/solid/image.js +0 -16
  590. package/dist/ui-public/icons/solid/indent.js +0 -16
  591. package/dist/ui-public/icons/solid/italic.js +0 -16
  592. package/dist/ui-public/icons/solid/link.js +0 -16
  593. package/dist/ui-public/icons/solid/list-ol.js +0 -16
  594. package/dist/ui-public/icons/solid/list-ul.js +0 -16
  595. package/dist/ui-public/icons/solid/location-dot.js +0 -16
  596. package/dist/ui-public/icons/solid/music.js +0 -15
  597. package/dist/ui-public/icons/solid/outdent.js +0 -16
  598. package/dist/ui-public/icons/solid/paragraph.js +0 -16
  599. package/dist/ui-public/icons/solid/plus.js +0 -16
  600. package/dist/ui-public/icons/solid/quote-right.js +0 -16
  601. package/dist/ui-public/icons/solid/rectangle-code.js +0 -16
  602. package/dist/ui-public/icons/solid/square-plus.js +0 -16
  603. package/dist/ui-public/icons/solid/strikethrough.js +0 -16
  604. package/dist/ui-public/icons/solid/subtitles.js +0 -15
  605. package/dist/ui-public/icons/solid/table.js +0 -16
  606. package/dist/ui-public/icons/solid/triangle-exclamation.js +0 -16
  607. package/dist/ui-public/icons/solid/underline.js +0 -16
package/dist/styles.css CHANGED
@@ -126,8 +126,6 @@
126
126
  /* Code is a little smaller than the text around it, because the
127
127
  monospaced font looks larger. For inline code and for code blocks. */
128
128
  --monospaced-font-size: 0.9em;
129
- --cursive-font-family:
130
- "Pangolin", "noto-script-fallback", "noto-script-fallback-static", cursive;
131
129
  /* The weight of the text. */
132
130
  --font-weight-regular: 340;
133
131
  /* The weight of titles, labels and words with emphasis. */
@@ -253,8 +251,8 @@
253
251
  :root {
254
252
  --z-index-notifications: 10500;
255
253
  }
256
- /* The plugins use ABC Oracle and Geist Mono, as the cms. Geist, Pangolin
257
- and the noto-script-fallback families do not ship, thus the stacks go to
254
+ /* The plugins use ABC Oracle and Geist Mono, as the cms. Geist and the
255
+ noto-script-fallback families do not ship, thus the stacks go to
258
256
  the system fonts after them. The weights are the ones of
259
257
  ../../ui-public/styles/_css-variables.css. */
260
258
  :root {
@@ -263,7 +261,6 @@
263
261
  --monospaced-font-family:
264
262
  "Geist Mono Variable", "Menlo", "Bitstream Vera Sans Mono", Consolas,
265
263
  Courier, monospace;
266
- --cursive-font-family: cursive;
267
264
  }
268
265
  /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css*/
269
266
 
@@ -989,10 +986,23 @@ input:-webkit-autofill {
989
986
  /* An icon takes the color of its text: set "color" on an icon, not "fill".
990
987
  The value goes down as the keyword, thus each icon reads its own color.
991
988
  It is not a rule on svg: that rule would win over the fill attribute of
992
- an icon, and an outline icon (fill="none") would become a solid shape. */
993
- html {
989
+ an icon, and an outline icon (fill="none") would become a solid shape.
990
+ The rule is also on each link, because of a bug of Chrome: when a link
991
+ becomes visited while the page is open (the router pushes its URL), Chrome
992
+ keeps the initial black for the visited fill of the link if the fill only
993
+ comes down from an ancestor, and the icons inside the link paint black.
994
+ A fill declared on the link sets its visited fill too. */
995
+ html,
996
+ :any-link {
994
997
  fill: currentColor;
995
998
  }
999
+ /* The stroke width of all the Lucide icons. Change it here only. At 2 the
1000
+ icons have the weight of the text next to them. At 1.75 or 1.5 they look
1001
+ light next to the text of the UI. The selector reads the attributes of
1002
+ the Lucide file, because a className of the caller replaces its class. */
1003
+ svg[fill="none"][stroke="currentColor"][stroke-width="2"] {
1004
+ stroke-width: 2;
1005
+ }
996
1006
  button {
997
1007
  box-sizing: border-box;
998
1008
  padding: 0;
@@ -1700,8 +1710,10 @@ button {
1700
1710
  .Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more) {
1701
1711
  display: inline-block;
1702
1712
  flex: none;
1703
- width: max(10px, 0.75em);
1704
- height: max(10px, 0.75em);
1713
+ /* A Lucide chevron fills only the middle of its box, thus the box is larger
1714
+ than the text, as in shadcn/ui (16px next to a text of 14px) */
1715
+ width: max(14px, 1.125em);
1716
+ height: max(14px, 1.125em);
1705
1717
  vertical-align: middle;
1706
1718
  color: var(--chevron-color, var(--color--ink-subtle));
1707
1719
  transition:
@@ -2505,7 +2517,9 @@ button.EmptySlot {
2505
2517
  .form__label__icon {
2506
2518
  display: inline-block;
2507
2519
  margin-left: var(--spacing-s);
2508
- vertical-align: text-top;
2520
+ /* The same alignment as the buttons in the label (FieldValidations of the
2521
+ cms), thus the icons are on one line */
2522
+ vertical-align: middle;
2509
2523
 
2510
2524
  svg {
2511
2525
  display: block;
@@ -3130,16 +3144,19 @@ textarea:focus {
3130
3144
  --Page__group-tint: var(--color--warning-soft--surface);
3131
3145
  --Page__group-outline: var(--color--warning-soft--outline);
3132
3146
  }
3133
- /* The content before a group can have no margin under it (a CardList). The
3134
- margins collapse, thus between two groups the space stays the same. */
3147
+ /* The content before a group can have no margin under it (a CardList or a
3148
+ switch). The margins collapse, thus between two groups the space stays
3149
+ the same. */
3135
3150
  .Page__content > * + .Page__group,
3136
- .Page__content > * + :has(> .Page__group:first-child) {
3151
+ .Page__content > * + :has(> .Page__group:first-child),
3152
+ .Page__content__section > * + .Page__group {
3137
3153
  margin-top: var(--spacing-l);
3138
3154
  }
3139
3155
  /* A form can be around one group (the group is its last child), thus only
3140
- the last group of the content loses the space under it */
3156
+ the last group of the content or of a section loses the space under it */
3141
3157
  .Page__content > .Page__group:last-child,
3142
- .Page__content > :last-child > .Page__group:last-child {
3158
+ .Page__content > :last-child > .Page__group:last-child,
3159
+ .Page__content__section > .Page__group:last-child {
3143
3160
  margin-bottom: 0;
3144
3161
  }
3145
3162
  /* When the title and the actions do not fit on one line, the actions go
@@ -4212,11 +4229,19 @@ span.SidebarTree__node__toggle {
4212
4229
  /* The icon is centered with the margins, not with flex: the box of the
4213
4230
  caller can set the display of the square (the image of an EntityRow
4214
4231
  makes it a block), and the icon stays at the center. */
4232
+ /* The icon fills 55% of a large square. In a small square (20px in a
4233
+ menu or in a line of text) 55% is too small to read, thus the icon
4234
+ gets at least 14px and keeps a 3px margin on each side. */
4215
4235
  svg {
4236
+ --Avatar-glyph-size: min(
4237
+ calc(var(--Avatar-icon-size) - 6px),
4238
+ max(55%, 14px)
4239
+ );
4240
+
4216
4241
  position: absolute;
4217
4242
  inset: 0;
4218
- width: 55%;
4219
- height: 55%;
4243
+ width: var(--Avatar-glyph-size);
4244
+ height: var(--Avatar-glyph-size);
4220
4245
  margin: auto;
4221
4246
  color: var(--Avatar-ink);
4222
4247
  }
@@ -4230,75 +4255,75 @@ span.SidebarTree__node__toggle {
4230
4255
  a pale surface and a saturated ink. Dark mode has a deep surface and a
4231
4256
  light ink. */
4232
4257
  .Avatar__initials--hue-1 {
4233
- --Avatar-surface: #fff8d6;
4234
- --Avatar-ink: #998100;
4258
+ --Avatar-surface: #f8f1cf;
4259
+ --Avatar-ink: #796501;
4235
4260
 
4236
4261
  [data-color-scheme="dark"] & {
4237
- --Avatar-surface: #2d2500;
4238
- --Avatar-ink: #e6c840;
4262
+ --Avatar-surface: #292101;
4263
+ --Avatar-ink: #d4b625;
4239
4264
  }
4240
4265
  }
4241
4266
  .Avatar__initials--hue-2 {
4242
- --Avatar-surface: #defce2;
4243
- --Avatar-ink: #1d9f2f;
4267
+ --Avatar-surface: #dcf9e0;
4268
+ --Avatar-ink: #01781a;
4244
4269
 
4245
4270
  [data-color-scheme="dark"] & {
4246
- --Avatar-surface: #003909;
4247
- --Avatar-ink: #72d980;
4271
+ --Avatar-surface: #002b05;
4272
+ --Avatar-ink: #68d077;
4248
4273
  }
4249
4274
  }
4250
4275
  .Avatar__initials--hue-3 {
4251
- --Avatar-surface: #e5fbf9;
4252
- --Avatar-ink: #38ada3;
4276
+ --Avatar-surface: #e0f5f3;
4277
+ --Avatar-ink: #02736c;
4253
4278
 
4254
4279
  [data-color-scheme="dark"] & {
4255
- --Avatar-surface: #00322f;
4256
- --Avatar-ink: #70d9d2;
4280
+ --Avatar-surface: #012826;
4281
+ --Avatar-ink: #60cac3;
4257
4282
  }
4258
4283
  }
4259
4284
  .Avatar__initials--hue-4 {
4260
- --Avatar-surface: #ddecfc;
4261
- --Avatar-ink: #1b5899;
4285
+ --Avatar-surface: #e5f2ff;
4286
+ --Avatar-ink: #2d68ab;
4262
4287
 
4263
4288
  [data-color-scheme="dark"] & {
4264
- --Avatar-surface: #00183d;
4265
- --Avatar-ink: #7db2f2;
4289
+ --Avatar-surface: #052046;
4290
+ --Avatar-ink: #85bafb;
4266
4291
  }
4267
4292
  }
4268
4293
  .Avatar__initials--hue-5 {
4269
- --Avatar-surface: #e2e2fa;
4270
- --Avatar-ink: #38388d;
4294
+ --Avatar-surface: #eeeefe;
4295
+ --Avatar-ink: #585db6;
4271
4296
 
4272
4297
  [data-color-scheme="dark"] & {
4273
- --Avatar-surface: #11113d;
4274
- --Avatar-ink: #9a9ae8;
4298
+ --Avatar-surface: #191b48;
4299
+ --Avatar-ink: #aeaffe;
4275
4300
  }
4276
4301
  }
4277
4302
  .Avatar__initials--hue-6 {
4278
- --Avatar-surface: #fef0e2;
4279
- --Avatar-ink: #d76f0e;
4303
+ --Avatar-surface: #fceee0;
4304
+ --Avatar-ink: #a15002;
4280
4305
 
4281
4306
  [data-color-scheme="dark"] & {
4282
- --Avatar-surface: #3a1e00;
4283
- --Avatar-ink: #f5b96a;
4307
+ --Avatar-surface: #341a00;
4308
+ --Avatar-ink: #e7ab5c;
4284
4309
  }
4285
4310
  }
4286
4311
  .Avatar__initials--hue-7 {
4287
- --Avatar-surface: #fde5e3;
4288
- --Avatar-ink: #c82b1d;
4312
+ --Avatar-surface: #ffebe9;
4313
+ --Avatar-ink: #c42719;
4289
4314
 
4290
4315
  [data-color-scheme="dark"] & {
4291
- --Avatar-surface: #3d0a06;
4292
- --Avatar-ink: #f4a9a3;
4316
+ --Avatar-surface: #400d08;
4317
+ --Avatar-ink: #eda29c;
4293
4318
  }
4294
4319
  }
4295
4320
  .Avatar__initials--hue-8 {
4296
- --Avatar-surface: #f8dffa;
4297
- --Avatar-ink: #7e2e86;
4321
+ --Avatar-surface: #fde8ff;
4322
+ --Avatar-ink: #95459d;
4298
4323
 
4299
4324
  [data-color-scheme="dark"] & {
4300
- --Avatar-surface: #280030;
4301
- --Avatar-ink: #de9de6;
4325
+ --Avatar-surface: #350b3d;
4326
+ --Avatar-ink: #df9ee7;
4302
4327
  }
4303
4328
  }
4304
4329
  .Avatar--small {
@@ -4740,6 +4765,13 @@ span.SidebarTree__node__toggle {
4740
4765
  width: 100%;
4741
4766
  height: 100%;
4742
4767
  }
4768
+
4769
+ /* The rule above has the specificity of .UploadPreview, thus without this
4770
+ rule the import order of the two blocks decides if the asset is in the
4771
+ center. Keep the display of .UploadPreview (_UploadPreview.css). */
4772
+ > .UploadPreview {
4773
+ display: flex;
4774
+ }
4743
4775
  }
4744
4776
  .EntityRow--inline .EntityRow__image {
4745
4777
  border-radius: var(--radius-xs);
@@ -4815,6 +4847,26 @@ span.SidebarTree__node__toggle {
4815
4847
  display: none;
4816
4848
  }
4817
4849
  }
4850
+ /* See RecordRow/Image.tsx. Its container gives the size of the square. */
4851
+ .RecordRow__image {
4852
+ width: 100%;
4853
+ height: 100%;
4854
+ background-repeat: no-repeat;
4855
+ background-position: center center;
4856
+ background-size: cover;
4857
+ }
4858
+ .RecordRow__image--placeholder {
4859
+ background-color: var(--color--surface-muted);
4860
+ }
4861
+ .RecordRow__loading {
4862
+ display: inline-block;
4863
+ width: 8em;
4864
+ max-width: 100%;
4865
+ height: 0.8em;
4866
+ vertical-align: middle;
4867
+ background-color: var(--color--surface-muted);
4868
+ border-radius: var(--radius-s);
4869
+ }
4818
4870
  /* RowList, and NavList that renders a RowList */
4819
4871
  .RowList {
4820
4872
  display: flex;
@@ -5765,7 +5817,7 @@ span.SidebarTree__node__toggle {
5765
5817
  position: relative;
5766
5818
  /* The right padding keeps the place of the chevron, thus the select does
5767
5819
  not change its width on hover */
5768
- padding: var(--spacing-s) calc(var(--spacing-m) + 0.75em) var(--spacing-s)
5820
+ padding: var(--spacing-s) calc(var(--spacing-m) + 1.125em) var(--spacing-s)
5769
5821
  var(--spacing-s);
5770
5822
  margin-right: var(--spacing-l);
5771
5823
  border: 1px solid transparent;
@@ -6134,11 +6186,15 @@ span.SidebarTree__node__toggle {
6134
6186
  overflow: hidden;
6135
6187
  text-overflow: ellipsis;
6136
6188
  }
6189
+ /* Each option starts from the width of its label and gets an equal part of
6190
+ the free space. With "flex: 1" the options are equal, thus a long label
6191
+ ends in "…" in a container as wide as the sum of the options (a dropdown
6192
+ menu), and a short label gets a wide empty box. */
6137
6193
  .SegmentedControl--fill {
6138
6194
  width: auto;
6139
6195
 
6140
6196
  .SegmentedControl__button {
6141
- flex: 1;
6197
+ flex: auto;
6142
6198
  }
6143
6199
  }
6144
6200
  /* An option with only an icon is a square, as ".button--icon-only" */
@@ -6905,11 +6961,6 @@ span.SidebarTree__node__toggle {
6905
6961
  margin-right: 0;
6906
6962
  font-size: 16px;
6907
6963
  }
6908
- /* The rule of _PluginIcon.css (color: inherit) comes later in the
6909
- styles: the two classes make this rule stronger */
6910
- > .PluginIcon.PluginIcon--svg {
6911
- color: var(--color--ink-subtle);
6912
- }
6913
6964
  /* At a 16px font size, the emoji glyph fills the box as much as an SVG
6914
6965
  icon */
6915
6966
  > .ItemTypeEmoji,
@@ -7621,6 +7672,21 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7621
7672
  display: flex;
7622
7673
  flex: 1;
7623
7674
  }
7675
+ /* The parts of a filter row are bare (see the Filter section of the Toolbar
7676
+ page), thus the row gives them the gap of a toolbar. */
7677
+ .Toolbar--fields > .Toolbar__fill {
7678
+ gap: var(--spacing-m);
7679
+ align-items: flex-start;
7680
+
7681
+ /* Each part is at least as tall as a field of one line, and centers its
7682
+ own content in that height. Thus the parts stay on the first line of the
7683
+ tiles when the tiles wrap. Toolbar.Divider stretches to the full height
7684
+ of the row. */
7685
+ > * {
7686
+ box-sizing: border-box;
7687
+ min-height: var(--control-height);
7688
+ }
7689
+ }
7624
7690
  /* The widths of the two edge fades of .Toolbar__tabs. They must be
7625
7691
  registered: an animation cannot interpolate a custom property that is not
7626
7692
  registered. */
@@ -7825,6 +7891,132 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7825
7891
  .Toolbar__spinner {
7826
7892
  margin-left: var(--spacing-m);
7827
7893
  }
7894
+ .FilterBuilder {
7895
+ display: flex;
7896
+ flex: 3;
7897
+ gap: var(--spacing-m);
7898
+ align-items: flex-start;
7899
+ min-width: 0;
7900
+ }
7901
+ /* The funnel and the clear button stay on the first line of the tiles when
7902
+ the tiles wrap */
7903
+ .FilterBuilder__icon,
7904
+ .FilterBuilder__clear {
7905
+ display: flex;
7906
+ flex: none;
7907
+ align-items: center;
7908
+ min-height: var(--control-height);
7909
+ }
7910
+ .FilterBuilder__icon svg {
7911
+ display: block;
7912
+ color: var(--color--ink-subtle);
7913
+ }
7914
+ /* The padding and the row gap keep a space of 4px around each line of
7915
+ tiles. With one line, the line fills the min-height and its tiles are in
7916
+ the center. */
7917
+ .FilterBuilder__box {
7918
+ box-sizing: border-box;
7919
+ display: flex;
7920
+ flex: 1;
7921
+ flex-wrap: wrap;
7922
+ gap: 4px var(--spacing-m);
7923
+ align-items: center;
7924
+ min-width: 0;
7925
+ min-height: var(--control-height);
7926
+ padding-block: 4px;
7927
+ }
7928
+ .FilterBuilder__empty {
7929
+ color: var(--color--ink-subtle);
7930
+ }
7931
+ .FilterBuilder__add {
7932
+ display: flex;
7933
+ }
7934
+ .FilterBuilder__tile {
7935
+ position: relative;
7936
+ display: flex;
7937
+ align-items: stretch;
7938
+ max-width: 100%;
7939
+ background-color: var(--color--surface-raised);
7940
+ border: 1px solid var(--color--primary-soft--border);
7941
+ border-radius: var(--radius-s);
7942
+ transition:
7943
+ border-color 0.1s ease-out,
7944
+ box-shadow 0.1s ease-out;
7945
+
7946
+ &:hover {
7947
+ border-color: var(--color--focus--border);
7948
+ }
7949
+ /* The small selects of the tile draw no focus ring, thus the tile draws
7950
+ it for all its inputs */
7951
+ &:focus-within {
7952
+ border-color: var(--color--focus--border);
7953
+ box-shadow: var(--focus-ring);
7954
+ }
7955
+ /* A read-only tile has no hover look, as the other read-only inputs */
7956
+ .FilterBuilder.is-read-only &:hover:not(:focus-within) {
7957
+ border-color: var(--color--primary-soft--border);
7958
+ }
7959
+ }
7960
+ .FilterBuilder__field,
7961
+ .FilterBuilder__operator {
7962
+ position: relative;
7963
+ border-right: 1px solid var(--color--primary-soft--border);
7964
+ }
7965
+ /* The tile has a border of 1px, thus the inner radius is 1px smaller */
7966
+ .FilterBuilder__field {
7967
+ border-radius: calc(var(--radius-s) - 1px) 0 0 calc(var(--radius-s) - 1px);
7968
+ }
7969
+ .FilterBuilder__operator--static {
7970
+ display: flex;
7971
+ align-items: center;
7972
+ padding: 0 10px;
7973
+ font-size: var(--font-size-xs);
7974
+ color: var(--color--ink-subtle);
7975
+ }
7976
+ /* The value keeps a minimum width, even when it is empty, thus the user can
7977
+ find it and click it */
7978
+ .FilterBuilder__value {
7979
+ display: flex;
7980
+ align-items: stretch;
7981
+ min-width: 80px;
7982
+
7983
+ > * {
7984
+ flex: 1 0 auto;
7985
+ }
7986
+ }
7987
+ .FilterBuilder__argument {
7988
+ display: flex;
7989
+ align-items: center;
7990
+ margin-inline: 10px;
7991
+ }
7992
+ .FilterBuilder__argument-label {
7993
+ padding-right: 8px;
7994
+ font-size: var(--font-size-xs);
7995
+ }
7996
+ /* The text inputs have no field look: the tile is the field */
7997
+ .FilterBuilder__value > .AutosizeInput,
7998
+ .FilterBuilder__argument > .AutosizeInput {
7999
+ --autosize-input-padding-inline: 10px;
8000
+ --autosize-input-border-inline: 0px;
8001
+ min-width: 80px;
8002
+ max-width: 30vw;
8003
+ font-size: var(--font-size-xs);
8004
+
8005
+ > input[type="text"] {
8006
+ padding-block: 5px;
8007
+ appearance: none;
8008
+ background-color: transparent;
8009
+ border: none;
8010
+
8011
+ &:focus {
8012
+ box-shadow: none;
8013
+ }
8014
+ }
8015
+ }
8016
+ .FilterBuilder__remove {
8017
+ align-self: center;
8018
+ margin-right: 4px;
8019
+ }
7828
8020
  .UploadPreview {
7829
8021
  position: relative;
7830
8022
  box-sizing: border-box;
@@ -7860,6 +8052,69 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7860
8052
  font-size: var(--font-size-m);
7861
8053
  color: var(--color--ink-subtle);
7862
8054
  }
8055
+ /* The waveform is always the same picture, not the sound of the file */
8056
+
8057
+ /* A registered percentage, so the played part grows smoothly between two
8058
+ updates of the time */
8059
+ @property --AudioPlayPause-progress {
8060
+ syntax: "<percentage>";
8061
+ inherits: false;
8062
+ initial-value: 0%;
8063
+ }
8064
+ .AudioPlayPause {
8065
+ position: relative;
8066
+ display: flex;
8067
+ align-items: center;
8068
+ justify-content: center;
8069
+ }
8070
+ /* The picture is a mask: the background gives the colors of the bars */
8071
+ .AudioPlayPause__wave {
8072
+ width: 80%;
8073
+ aspect-ratio: 174 / 40;
8074
+ /* token-audit-disable-next-line mismatch -- the mask makes the background the bars of a picture, so it's foreground */
8075
+ background: linear-gradient(
8076
+ to right,
8077
+ var(--color--progress--fill) var(--AudioPlayPause-progress),
8078
+ var(--color--ink-placeholder) var(--AudioPlayPause-progress)
8079
+ );
8080
+ mask:
8081
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 174 40'%3E%3Crect x='0' y='15.9' width='2' height='8.2' rx='1'/%3E%3Crect x='4' y='16.15' width='2' height='7.7' rx='1'/%3E%3Crect x='8' y='15.25' width='2' height='9.5' rx='1'/%3E%3Crect x='12' y='11.05' width='2' height='17.9' rx='1'/%3E%3Crect x='16' y='10' width='2' height='20' rx='1'/%3E%3Crect x='20' y='11.85' width='2' height='16.3' rx='1'/%3E%3Crect x='24' y='7.5' width='2' height='25' rx='1'/%3E%3Crect x='28' y='6.15' width='2' height='27.7' rx='1'/%3E%3Crect x='32' y='12.25' width='2' height='15.5' rx='1'/%3E%3Crect x='36' y='14.35' width='2' height='11.3' rx='1'/%3E%3Crect x='40' y='11.65' width='2' height='16.7' rx='1'/%3E%3Crect x='44' y='6' width='2' height='28' rx='1'/%3E%3Crect x='48' y='2.2' width='2' height='35.6' rx='1'/%3E%3Crect x='52' y='6.95' width='2' height='26.1' rx='1'/%3E%3Crect x='56' y='15.35' width='2' height='9.3' rx='1'/%3E%3Crect x='60' y='16.6' width='2' height='6.8' rx='1'/%3E%3Crect x='64' y='11.45' width='2' height='17.1' rx='1'/%3E%3Crect x='68' y='6.3' width='2' height='27.4' rx='1'/%3E%3Crect x='72' y='8.25' width='2' height='23.5' rx='1'/%3E%3Crect x='76' y='14.1' width='2' height='11.8' rx='1'/%3E%3Crect x='80' y='15.2' width='2' height='9.6' rx='1'/%3E%3Crect x='84' y='12.8' width='2' height='14.4' rx='1'/%3E%3Crect x='88' y='10.1' width='2' height='19.8' rx='1'/%3E%3Crect x='92' y='5.65' width='2' height='28.7' rx='1'/%3E%3Crect x='96' y='6.15' width='2' height='27.7' rx='1'/%3E%3Crect x='100' y='6.5' width='2' height='27' rx='1'/%3E%3Crect x='104' y='3.35' width='2' height='33.3' rx='1'/%3E%3Crect x='108' y='3.85' width='2' height='32.3' rx='1'/%3E%3Crect x='112' y='5.65' width='2' height='28.7' rx='1'/%3E%3Crect x='116' y='8.7' width='2' height='22.6' rx='1'/%3E%3Crect x='120' y='11.35' width='2' height='17.3' rx='1'/%3E%3Crect x='124' y='9.85' width='2' height='20.3' rx='1'/%3E%3Crect x='128' y='9.4' width='2' height='21.2' rx='1'/%3E%3Crect x='132' y='10.95' width='2' height='18.1' rx='1'/%3E%3Crect x='136' y='8.25' width='2' height='23.5' rx='1'/%3E%3Crect x='140' y='6.7' width='2' height='26.6' rx='1'/%3E%3Crect x='144' y='11.2' width='2' height='17.6' rx='1'/%3E%3Crect x='148' y='15.45' width='2' height='9.1' rx='1'/%3E%3Crect x='152' y='14' width='2' height='12' rx='1'/%3E%3Crect x='156' y='10.15' width='2' height='19.7' rx='1'/%3E%3Crect x='160' y='11.65' width='2' height='16.7' rx='1'/%3E%3Crect x='164' y='15.8' width='2' height='8.4' rx='1'/%3E%3Crect x='168' y='16.6' width='2' height='6.8' rx='1'/%3E%3Crect x='172' y='14.65' width='2' height='10.7' rx='1'/%3E%3C/svg%3E")
8082
+ center / 100% 100% no-repeat;
8083
+ transition: --AudioPlayPause-progress 0.3s linear;
8084
+ }
8085
+ .AudioPlayPause__button {
8086
+ position: absolute;
8087
+ }
8088
+ /* The audio play button is the only button with fully round corners (see
8089
+ also AudioPlayer) */
8090
+ .AudioPlayPause.big .AudioPlayPause__button {
8091
+ top: 50%;
8092
+ left: 50%;
8093
+ border-radius: var(--radius-full);
8094
+ transform: translate(-50%, -50%);
8095
+ }
8096
+ /* A small preview (a row of a table) has no room for a round button: all
8097
+ the preview is the button, and the icon is on the waveform */
8098
+ .AudioPlayPause.small {
8099
+ .AudioPlayPause__wave {
8100
+ opacity: 0.5;
8101
+ }
8102
+ .AudioPlayPause__button {
8103
+ inset: 0;
8104
+ display: flex;
8105
+ align-items: center;
8106
+ justify-content: center;
8107
+ font-size: 15px;
8108
+
8109
+ svg {
8110
+ color: var(--color--ink-subtle);
8111
+ }
8112
+ &:hover svg,
8113
+ &:focus-visible svg {
8114
+ color: var(--color--ink-link);
8115
+ }
8116
+ }
8117
+ }
7863
8118
  /* The button and the dropdown are also in the balloon toolbar of the
7864
8119
  structured text editor. */
7865
8120
  .EditorToolbar {
@@ -8211,6 +8466,354 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
8211
8466
  color: var(--color--disabled-field--ink-placeholder);
8212
8467
  }
8213
8468
  }
8469
+ .DateTimeInput {
8470
+ position: relative;
8471
+ display: flex;
8472
+ width: 100%;
8473
+ }
8474
+ .DateTimeInput--autosize {
8475
+ display: inline-flex;
8476
+ width: auto;
8477
+ max-width: 100%;
8478
+ }
8479
+ .DateTimeInput__field {
8480
+ flex: 1;
8481
+ padding: 0 4px;
8482
+
8483
+ /* The timezone select is not an InputFrame__input, but its focus also
8484
+ shows the focus ring of the frame */
8485
+ &:has(.DateTimeInput__timezone :focus) {
8486
+ border-color: var(--color--focus--border);
8487
+ box-shadow: var(--focus-ring);
8488
+ }
8489
+ /* A disabled or read-only field has no focus ring. These rules have the
8490
+ specificity of the focus rules of _InputFrame.css, and they come after
8491
+ them, thus they win. */
8492
+ .DateTimeInput.is-disabled &,
8493
+ .DateTimeInput.is-read-only & {
8494
+ border-color: var(--color--border);
8495
+ box-shadow: none;
8496
+ }
8497
+ }
8498
+ /* The date and the time have the width of their text (see sizerText in
8499
+ src/form/DateTimeInput/Base.tsx). Thus no empty space comes between the time and
8500
+ the timezone, and a long format does not get cut. The date, the time and
8501
+ the timezone read as one value: no line separates them. */
8502
+ .DateTimeInput__sizer {
8503
+ --autosize-input-padding-inline: 6px;
8504
+ --autosize-input-border-inline: 0px;
8505
+ flex: none;
8506
+ font-variant-numeric: tabular-nums;
8507
+ }
8508
+ /* The rules of the timezone have three classes, thus they are stronger than
8509
+ the styles of react-select */
8510
+ .DateTimeInput__timezone {
8511
+ flex: none;
8512
+ }
8513
+ /* When the field is wider than its parts, the empty space comes before the
8514
+ clear button. Thus the button stays at the right
8515
+ end, and the value stays together at the left. */
8516
+ .DateTimeInput__clear {
8517
+ margin-left: auto;
8518
+ }
8519
+ .DateTimeInput__field
8520
+ .DateTimeInput__timezone
8521
+ .DateTimeInput__timezone__control {
8522
+ min-height: 0;
8523
+ padding: 2px 4px 2px 8px;
8524
+ color: var(--color--ink-subtle);
8525
+ cursor: pointer;
8526
+ background-color: transparent;
8527
+ border-radius: var(--radius-s);
8528
+ box-shadow: none;
8529
+ transition: background-color 0.2s var(--material-ease);
8530
+
8531
+ &:hover,
8532
+ &.DateTimeInput__timezone__control--menu-is-open {
8533
+ color: var(--color--ink);
8534
+ background-color: var(--color--surface-hover);
8535
+ }
8536
+ /* A disabled timezone is a value, not a button */
8537
+ &.DateTimeInput__timezone__control--is-disabled {
8538
+ color: var(--color--disabled-field--ink);
8539
+ cursor: default;
8540
+ background-color: transparent;
8541
+ }
8542
+ }
8543
+ /* The timezone is at the right end of the field, and its menu is wider than
8544
+ it. Thus the menu aligns with the right edge of the timezone and opens to
8545
+ the left: when the field is near the right edge of the screen, the menu
8546
+ stays in the screen. */
8547
+ .DateTimeInput__field .DateTimeInput__timezone .DateTimeInput__timezone__menu {
8548
+ right: 0;
8549
+ left: auto;
8550
+ }
8551
+ .DateTimeInput__field
8552
+ .DateTimeInput__timezone
8553
+ .DateTimeInput__timezone__single-value {
8554
+ font-variant-numeric: tabular-nums;
8555
+ color: inherit;
8556
+ }
8557
+ .DateTimeInput__field
8558
+ .DateTimeInput__timezone
8559
+ .DateTimeInput__timezone__value-container {
8560
+ padding: 0;
8561
+ }
8562
+ .DateTimeInput__field
8563
+ .DateTimeInput__timezone
8564
+ .DateTimeInput__timezone__dropdown-indicator {
8565
+ padding: 0 0 0 4px;
8566
+ color: inherit;
8567
+
8568
+ svg {
8569
+ width: 14px;
8570
+ height: 14px;
8571
+ }
8572
+ }
8573
+
8574
+ .DateTimeInput--smaller {
8575
+ .DateTimeInput__field {
8576
+ padding: 0;
8577
+ background-color: transparent;
8578
+ border: 0;
8579
+ box-shadow: none;
8580
+ }
8581
+ .DateTimeInput__sizer {
8582
+ --autosize-input-padding-inline: 5px;
8583
+ font-size: var(--font-size-xs);
8584
+ }
8585
+ .DateTimeInput__date,
8586
+ .DateTimeInput__time {
8587
+ padding-block: 5px;
8588
+ }
8589
+ }
8590
+
8591
+ .DateTimeInput__date-popper {
8592
+ box-sizing: border-box;
8593
+ width: 272px;
8594
+ padding: 8px;
8595
+ background-color: var(--color--surface-raised);
8596
+ border: 1px solid var(--color--border-raised);
8597
+ border-radius: var(--radius-m);
8598
+ box-shadow: var(--shadow--floating);
8599
+ }
8600
+ .DateTimeInput__CalendarHeader {
8601
+ display: flex;
8602
+ align-items: center;
8603
+ margin-bottom: 4px;
8604
+ }
8605
+ .DateTimeInput__CalendarHeader__title {
8606
+ flex: 1;
8607
+ padding-left: 6px;
8608
+ font-weight: var(--font-weight-strong);
8609
+ }
8610
+ .DateTimeInput__CalendarHeader__actions {
8611
+ display: flex;
8612
+ }
8613
+ .DateTimeInput__CalendarHeader__action--today svg {
8614
+ font-size: 0.8em;
8615
+ }
8616
+ .DateTimeInput__CalendarGrid {
8617
+ display: grid;
8618
+ grid-template-columns: repeat(7, 1fr);
8619
+ gap: 2px;
8620
+ text-align: center;
8621
+ }
8622
+ /* The rows and the cells of the grid role give no box: the days are the
8623
+ items of the CSS grid */
8624
+ .DateTimeInput__CalendarRow,
8625
+ .DateTimeInput__CalendarCell {
8626
+ display: contents;
8627
+ }
8628
+ .DateTimeInput__CalendarWeekDay {
8629
+ padding: 6px 0;
8630
+ font-size: var(--font-size-xs);
8631
+ color: var(--color--ink-subtle);
8632
+ }
8633
+ .DateTimeInput__CalendarDayCell {
8634
+ position: relative;
8635
+ height: 32px;
8636
+ padding: 0;
8637
+ font-variant-numeric: tabular-nums;
8638
+ color: var(--color--ink);
8639
+ cursor: pointer;
8640
+ background: none;
8641
+ border: 0;
8642
+ border-radius: var(--radius-s);
8643
+
8644
+ &:hover {
8645
+ background-color: var(--color--surface-hover);
8646
+ }
8647
+ &:focus-visible {
8648
+ box-shadow: var(--focus-ring);
8649
+ }
8650
+ &[disabled],
8651
+ &[aria-disabled="true"] {
8652
+ color: var(--color--ink-disabled);
8653
+ cursor: not-allowed;
8654
+
8655
+ &:hover {
8656
+ background: none;
8657
+ }
8658
+ }
8659
+ }
8660
+ .DateTimeInput__CalendarDayCell--inAdjacentMonth {
8661
+ color: var(--color--ink-subtle);
8662
+ }
8663
+ .DateTimeInput__CalendarDayCell--isToday {
8664
+ font-weight: var(--font-weight-strong);
8665
+ box-shadow: inset 0 0 0 1px var(--color--selected--border);
8666
+ }
8667
+ .DateTimeInput__CalendarDayCell--inRange {
8668
+ background-color: var(--color--selected--surface);
8669
+ }
8670
+ .DateTimeInput__CalendarDayCell--isSelected {
8671
+ font-weight: var(--font-weight-strong);
8672
+ color: var(--color--primary--ink);
8673
+ background-color: var(--color--primary--surface);
8674
+ box-shadow: none;
8675
+
8676
+ &:hover {
8677
+ background-color: var(--color--primary--surface);
8678
+ }
8679
+ }
8680
+ .DateTimeRangeInput {
8681
+ position: relative;
8682
+ display: flex;
8683
+ width: 100%;
8684
+ }
8685
+ .DateTimeRangeInput--autosize {
8686
+ display: inline-flex;
8687
+ width: auto;
8688
+ max-width: 100%;
8689
+ }
8690
+ .DateTimeRangeInput__dropdown {
8691
+ display: flex;
8692
+ flex: 1;
8693
+ min-width: 0;
8694
+ }
8695
+
8696
+ /* The trigger has the look of a field, so it has the height of a field (see
8697
+ --control-height) */
8698
+ .DateTimeRangeInput__trigger {
8699
+ box-sizing: border-box;
8700
+ display: flex;
8701
+ flex: 1;
8702
+ gap: 8px;
8703
+ align-items: center;
8704
+ min-width: 0;
8705
+ min-height: var(--control-height);
8706
+ padding: 10px;
8707
+ font-size: var(--font-size-m);
8708
+ color: var(--color--ink);
8709
+ cursor: pointer;
8710
+ background: var(--color--surface-raised);
8711
+ border: 1px solid var(--color--border);
8712
+ border-radius: var(--radius-s);
8713
+ transition: border-color 0.15s ease;
8714
+
8715
+ &:hover {
8716
+ border-color: var(--color--border-hover);
8717
+ }
8718
+ &[aria-expanded="true"] {
8719
+ border-color: var(--color--focus--border);
8720
+ }
8721
+ &:focus-visible {
8722
+ border-color: var(--color--focus--border);
8723
+ box-shadow: var(--focus-ring);
8724
+ }
8725
+
8726
+ svg {
8727
+ color: var(--color--ink-subtle);
8728
+ }
8729
+
8730
+ /* A locked trigger is a field that the user cannot change: the value stays
8731
+ readable */
8732
+ .DateTimeRangeInput.is-disabled &,
8733
+ .DateTimeRangeInput.is-read-only & {
8734
+ cursor: default;
8735
+ border-color: var(--color--border);
8736
+ }
8737
+ .DateTimeRangeInput.is-disabled & {
8738
+ color: var(--color--disabled-field--ink);
8739
+ background: var(--color--disabled-field--surface);
8740
+ }
8741
+ }
8742
+ .DateTimeRangeInput__trigger-icon {
8743
+ flex-shrink: 0;
8744
+ width: 14px;
8745
+ height: 14px;
8746
+ }
8747
+ .DateTimeRangeInput__trigger-label {
8748
+ flex: 1;
8749
+ overflow: hidden;
8750
+ text-overflow: ellipsis;
8751
+ text-align: left;
8752
+ white-space: nowrap;
8753
+ }
8754
+
8755
+ /* The clear button is over the right end of the trigger, where the chevron
8756
+ is in the other states. The trigger keeps space for it, so the label does
8757
+ not go below it. */
8758
+ .DateTimeRangeInput--clearable .DateTimeRangeInput__trigger {
8759
+ padding-right: calc(10px + 1lh + 2 * 0.3em);
8760
+ }
8761
+ .DateTimeRangeInput__clear {
8762
+ position: absolute;
8763
+ top: 50%;
8764
+ right: 6px;
8765
+ transform: translateY(-50%);
8766
+ }
8767
+
8768
+ /* The box around a filter draws the focus ring, as for the other inputs of
8769
+ the filter look */
8770
+ .DateTimeRangeInput--filter .DateTimeRangeInput__trigger {
8771
+ min-height: 0;
8772
+ padding: 5px;
8773
+ font-size: var(--font-size-xs);
8774
+ background: transparent;
8775
+ border: 0;
8776
+ box-shadow: none;
8777
+ }
8778
+
8779
+ .DateTimeRangeInput__panel {
8780
+ box-sizing: border-box;
8781
+ width: 280px;
8782
+ padding: 12px;
8783
+ background: var(--color--surface-raised);
8784
+ border: 1px solid var(--color--border-raised);
8785
+ border-radius: var(--radius-m);
8786
+ box-shadow: var(--shadow--floating);
8787
+ }
8788
+ .DateTimeRangeInput__edges {
8789
+ display: flex;
8790
+ flex-direction: column;
8791
+ gap: 8px;
8792
+ margin-top: 12px;
8793
+ }
8794
+ .DateTimeRangeInput__edge-label {
8795
+ display: block;
8796
+ margin-bottom: 4px;
8797
+ font-weight: var(--font-weight-strong);
8798
+ color: var(--color--ink-subtle);
8799
+ }
8800
+ .DateTimeRangeInput__edge-inputs {
8801
+ display: flex;
8802
+ gap: 6px;
8803
+ }
8804
+ .DateTimeRangeInput__edge-date {
8805
+ flex: 1.3;
8806
+ min-width: 0;
8807
+
8808
+ /* The next pick in the calendar sets the end of this text */
8809
+ &.is-active {
8810
+ border-color: var(--color--focus--border);
8811
+ }
8812
+ }
8813
+ .DateTimeRangeInput__edge-time {
8814
+ flex: 0.7;
8815
+ min-width: 0;
8816
+ }
8214
8817
  /* All are kbd elements: the normalize sheet gives a kbd the monospace font */
8215
8818
  .Shortcut,
8216
8819
  .Shortcut__key {
@@ -9066,20 +9669,19 @@ body.SplitView--disable-select {
9066
9669
  }
9067
9670
 
9068
9671
  /* The area of the overview of an empty section. It has the largest width of
9069
- the split, and the line at its right edge as the detail. */
9672
+ the split. It has no line at its right edge, because no content ends
9673
+ there. */
9070
9674
  .ListDetailOverview {
9071
9675
  position: absolute;
9072
9676
  inset: 0;
9073
9677
  right: auto;
9074
9678
  box-sizing: border-box;
9075
9679
  width: 100%;
9076
- border-right: 1px solid var(--color--border);
9077
9680
  }
9078
9681
 
9079
9682
  /* The detail at the right of the list. The split gives its width (the user
9080
9683
  resizes it with the sash on its right border); more space at its right
9081
- stays empty. The line shows where the detail ends, also without an open
9082
- row. */
9684
+ stays empty. Without an open row, it holds a blank slate. */
9083
9685
  .ListDetailSplit__detail {
9084
9686
  position: relative;
9085
9687
  box-sizing: border-box;
@@ -9092,20 +9694,24 @@ body.SplitView--disable-select {
9092
9694
  border-right: 0;
9093
9695
  }
9094
9696
  }
9697
+ /* Without an open row, no content ends at the right edge of the detail */
9698
+ .ListDetailSplit__detail--empty {
9699
+ border-right: 0;
9700
+ }
9095
9701
  /* The sash on the right border of the detail goes out of the detail. When
9096
9702
  the detail fills its pane, the pane does not scroll for it. */
9097
9703
  .SplitViewPane:has(> .ListDetailSplit__detail) {
9098
9704
  overflow-x: clip;
9099
9705
  }
9100
9706
 
9101
- /* On a small viewport, the list uses all the width and the detail goes over
9102
- it */
9707
+ /* With the "over" placement, the list uses all the width and the detail goes
9708
+ over it. The split gives the width of a detail that the user resizes. */
9103
9709
  .ListDetailSplit__list {
9104
9710
  position: relative;
9105
9711
  flex: 1 1 auto;
9106
9712
  min-width: 0;
9107
9713
  }
9108
- .ListDetailSplit--overlay .ListDetailSplit__detail {
9714
+ .ListDetailSplit--over .ListDetailSplit__detail {
9109
9715
  position: absolute;
9110
9716
  top: 0;
9111
9717
  right: 0;