datocms-react-ui 3.1.0-next.1 → 3.1.0-next.10

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 (1547) hide show
  1. package/README.md +3 -2
  2. package/dist/Actions.d.ts +1 -1
  3. package/dist/Actions.js +3 -3
  4. package/dist/ApiKey.d.ts +2 -2
  5. package/dist/ApiKey.js +1 -1
  6. package/dist/Aside.d.ts +2 -2
  7. package/dist/Aside.js +1 -1
  8. package/dist/AutosizeInput.d.ts +2 -2
  9. package/dist/AutosizeInput.js +1 -1
  10. package/dist/Avatar.d.ts +2 -2
  11. package/dist/Avatar.js +1 -1
  12. package/dist/BlankSlate.d.ts +2 -2
  13. package/dist/BlankSlate.js +1 -1
  14. package/dist/Button.d.ts +2 -2
  15. package/dist/Button.js +1 -1
  16. package/dist/Callout.d.ts +2 -2
  17. package/dist/Callout.js +1 -1
  18. package/dist/CardList.d.ts +2 -2
  19. package/dist/CardList.js +1 -1
  20. package/dist/Chevron.d.ts +1 -1
  21. package/dist/Chevron.js +1 -1
  22. package/dist/CodeSnippet.d.ts +2 -2
  23. package/dist/CodeSnippet.js +1 -1
  24. package/dist/ColorInput.d.ts +2 -0
  25. package/dist/ColorInput.js +2 -0
  26. package/dist/CopyButton.d.ts +2 -2
  27. package/dist/CopyButton.js +1 -1
  28. package/dist/CopyableId.d.ts +2 -2
  29. package/dist/CopyableId.js +1 -1
  30. package/dist/CopyableValue.d.ts +2 -2
  31. package/dist/CopyableValue.js +1 -1
  32. package/dist/DateInput.d.ts +2 -0
  33. package/dist/DateInput.js +2 -0
  34. package/dist/DateSettings.d.ts +1 -1
  35. package/dist/DateSettings.js +1 -1
  36. package/dist/DateTimeInput.d.ts +2 -0
  37. package/dist/DateTimeInput.js +2 -0
  38. package/dist/DateTimeRangeInput.d.ts +2 -0
  39. package/dist/DateTimeRangeInput.js +2 -0
  40. package/dist/DebouncedTextInput.d.ts +2 -2
  41. package/dist/DebouncedTextInput.js +1 -1
  42. package/dist/Dropdown/triggers/ButtonTrigger.d.ts +2 -2
  43. package/dist/Dropdown/triggers/ButtonTrigger.js +1 -1
  44. package/dist/Dropdown/triggers/DropdownTriggerButton.d.ts +2 -2
  45. package/dist/Dropdown/triggers/DropdownTriggerButton.js +1 -1
  46. package/dist/Dropdown/triggers/IconTrigger.d.ts +2 -2
  47. package/dist/Dropdown/triggers/IconTrigger.js +1 -1
  48. package/dist/Dropdown/triggers/PillTrigger.d.ts +2 -2
  49. package/dist/Dropdown/triggers/PillTrigger.js +1 -1
  50. package/dist/Dropdown/triggers/TextualTrigger.d.ts +2 -2
  51. package/dist/Dropdown/triggers/TextualTrigger.js +1 -1
  52. package/dist/Dropdown/triggers/types.d.ts +1 -1
  53. package/dist/Dropdown.d.ts +1 -1
  54. package/dist/Dropdown.js +3 -3
  55. package/dist/EditorToolbar.d.ts +1 -1
  56. package/dist/EditorToolbar.js +2 -2
  57. package/dist/EmptySlot.d.ts +2 -2
  58. package/dist/EmptySlot.js +1 -1
  59. package/dist/EntityRow.d.ts +2 -2
  60. package/dist/EntityRow.js +1 -1
  61. package/dist/EntitySummary.d.ts +2 -2
  62. package/dist/EntitySummary.js +1 -1
  63. package/dist/EnvironmentPill.d.ts +2 -0
  64. package/dist/EnvironmentPill.js +2 -0
  65. package/dist/FeedbackDot.d.ts +2 -2
  66. package/dist/FeedbackDot.js +1 -1
  67. package/dist/FieldHint.d.ts +2 -2
  68. package/dist/FieldHint.js +1 -1
  69. package/dist/FieldTypeAvatar.d.ts +2 -0
  70. package/dist/FieldTypeAvatar.js +2 -0
  71. package/dist/FieldTypeName.d.ts +2 -0
  72. package/dist/FieldTypeName.js +2 -0
  73. package/dist/FieldWrapper.d.ts +2 -2
  74. package/dist/FieldWrapper.js +1 -1
  75. package/dist/FileTypeIcon.d.ts +2 -0
  76. package/dist/FileTypeIcon.js +2 -0
  77. package/dist/FilterBuilder.d.ts +2 -0
  78. package/dist/FilterBuilder.js +2 -0
  79. package/dist/FramedImage.d.ts +2 -2
  80. package/dist/FramedImage.js +1 -1
  81. package/dist/FullscreenModal.d.ts +2 -2
  82. package/dist/FullscreenModal.js +2 -1
  83. package/dist/Heading.d.ts +2 -2
  84. package/dist/Heading.js +1 -1
  85. package/dist/HoverCard.d.ts +2 -2
  86. package/dist/HoverCard.js +1 -1
  87. package/dist/IconAvatar.d.ts +2 -2
  88. package/dist/IconAvatar.js +1 -1
  89. package/dist/IdText.d.ts +2 -2
  90. package/dist/IdText.js +1 -1
  91. package/dist/InfoList.d.ts +2 -2
  92. package/dist/InfoList.js +1 -1
  93. package/dist/InitialsAvatar.d.ts +2 -2
  94. package/dist/InitialsAvatar.js +1 -1
  95. package/dist/InputGroup.d.ts +2 -2
  96. package/dist/InputGroup.js +1 -1
  97. package/dist/InsertGap.d.ts +2 -2
  98. package/dist/InsertGap.js +1 -1
  99. package/dist/ItemStatus.d.ts +2 -0
  100. package/dist/ItemStatus.js +2 -0
  101. package/dist/KeyValueList.d.ts +2 -2
  102. package/dist/KeyValueList.js +1 -1
  103. package/dist/LICENSE-lucide.txt +43 -0
  104. package/dist/Label.d.ts +2 -2
  105. package/dist/Label.js +1 -1
  106. package/dist/Link.d.ts +2 -2
  107. package/dist/Link.js +1 -1
  108. package/dist/ListArea.d.ts +2 -2
  109. package/dist/ListArea.js +1 -1
  110. package/dist/ListDetail.d.ts +1 -1
  111. package/dist/ListDetail.js +4 -4
  112. package/dist/ListFormPage.d.ts +2 -2
  113. package/dist/ListFormPage.js +1 -1
  114. package/dist/ListOrOverview.d.ts +2 -2
  115. package/dist/ListOrOverview.js +1 -1
  116. package/dist/Main.d.ts +2 -2
  117. package/dist/Main.js +1 -1
  118. package/dist/MediaCard.d.ts +2 -2
  119. package/dist/MediaCard.js +1 -1
  120. package/dist/Message.d.ts +1 -1
  121. package/dist/Message.js +1 -1
  122. package/dist/Modal.d.ts +2 -2
  123. package/dist/Modal.js +1 -1
  124. package/dist/MultipleSelectionActionBar.d.ts +2 -2
  125. package/dist/MultipleSelectionActionBar.js +1 -1
  126. package/dist/Nav.d.ts +2 -2
  127. package/dist/Nav.js +1 -1
  128. package/dist/NavList.d.ts +2 -2
  129. package/dist/NavList.js +1 -1
  130. package/dist/NewZIndex.d.ts +2 -2
  131. package/dist/NewZIndex.js +1 -1
  132. package/dist/NumberInput.d.ts +2 -2
  133. package/dist/NumberInput.js +1 -1
  134. package/dist/Page.d.ts +1 -1
  135. package/dist/Page.js +1 -1
  136. package/dist/Pane.d.ts +2 -2
  137. package/dist/Pane.js +4 -4
  138. package/dist/PasswordInput.d.ts +2 -2
  139. package/dist/PasswordInput.js +1 -1
  140. package/dist/Pill.d.ts +2 -2
  141. package/dist/Pill.js +1 -1
  142. package/dist/Popover.d.ts +2 -2
  143. package/dist/Popover.js +1 -1
  144. package/dist/Portal.d.ts +2 -2
  145. package/dist/Portal.js +1 -1
  146. package/dist/ProgressBar.d.ts +2 -2
  147. package/dist/ProgressBar.js +1 -1
  148. package/dist/RadioGroupInput.d.ts +2 -2
  149. package/dist/RadioGroupInput.js +1 -1
  150. package/dist/RangeInput.d.ts +2 -0
  151. package/dist/RangeInput.js +2 -0
  152. package/dist/RawButton.d.ts +2 -2
  153. package/dist/RawButton.js +1 -1
  154. package/dist/RecordRow.d.ts +2 -0
  155. package/dist/RecordRow.js +2 -0
  156. package/dist/RowList.d.ts +2 -2
  157. package/dist/RowList.js +1 -1
  158. package/dist/Search.d.ts +2 -2
  159. package/dist/Search.js +1 -1
  160. package/dist/SegmentedControl.d.ts +2 -2
  161. package/dist/SegmentedControl.js +1 -1
  162. package/dist/SelectInput.d.ts +2 -2
  163. package/dist/SelectInput.js +2 -2
  164. package/dist/SettingsList.d.ts +2 -2
  165. package/dist/SettingsList.js +1 -1
  166. package/dist/SettingsMenu.d.ts +2 -2
  167. package/dist/SettingsMenu.js +1 -1
  168. package/dist/SidebarPanel.d.ts +2 -2
  169. package/dist/SidebarPanel.js +2 -2
  170. package/dist/SidebarTree.d.ts +1 -1
  171. package/dist/SidebarTree.js +2 -2
  172. package/dist/SmartDate.d.ts +2 -2
  173. package/dist/SmartDate.js +1 -1
  174. package/dist/Spinner.d.ts +2 -2
  175. package/dist/Spinner.js +1 -1
  176. package/dist/SplitButton.d.ts +2 -2
  177. package/dist/SplitButton.js +1 -1
  178. package/dist/SplitPane.d.ts +2 -2
  179. package/dist/SplitPane.js +2 -1
  180. package/dist/StringInput.d.ts +2 -2
  181. package/dist/StringInput.js +1 -1
  182. package/dist/SwitchInput.d.ts +2 -2
  183. package/dist/SwitchInput.js +1 -1
  184. package/dist/SwitchList.d.ts +2 -2
  185. package/dist/SwitchList.js +1 -1
  186. package/dist/Table/cells/EntityCell.d.ts +2 -0
  187. package/dist/Table/cells/EntityCell.js +2 -0
  188. package/dist/Table/cells/IconCell.d.ts +2 -2
  189. package/dist/Table/cells/IconCell.js +1 -1
  190. package/dist/Table/cells/LinkCell.d.ts +2 -2
  191. package/dist/Table/cells/LinkCell.js +1 -1
  192. package/dist/Table/cells/StatusCell.d.ts +2 -2
  193. package/dist/Table/cells/StatusCell.js +1 -1
  194. package/dist/Table/cells/TimeCell.d.ts +2 -2
  195. package/dist/Table/cells/TimeCell.js +1 -1
  196. package/dist/Table.d.ts +1 -1
  197. package/dist/Table.js +4 -4
  198. package/dist/TableList.d.ts +2 -2
  199. package/dist/TableList.js +1 -1
  200. package/dist/Tabs.d.ts +1 -1
  201. package/dist/Tabs.js +1 -1
  202. package/dist/TextareaInput.d.ts +2 -2
  203. package/dist/TextareaInput.js +1 -1
  204. package/dist/Toolbar.d.ts +2 -2
  205. package/dist/Toolbar.js +2 -2
  206. package/dist/Tooltip.d.ts +2 -2
  207. package/dist/Tooltip.js +2 -2
  208. package/dist/TreeRow.d.ts +2 -0
  209. package/dist/TreeRow.js +2 -0
  210. package/dist/UploadCard.d.ts +2 -0
  211. package/dist/UploadCard.js +2 -0
  212. package/dist/UploadPreview.d.ts +2 -0
  213. package/dist/UploadPreview.js +2 -0
  214. package/dist/UploadThreatTriangle.d.ts +2 -2
  215. package/dist/UploadThreatTriangle.js +1 -1
  216. package/dist/UsageMeter.d.ts +1 -1
  217. package/dist/UsageMeter.js +1 -1
  218. package/dist/UserRow.d.ts +2 -0
  219. package/dist/UserRow.js +2 -0
  220. package/dist/ValidityTriangles.d.ts +1 -1
  221. package/dist/ValidityTriangles.js +1 -1
  222. package/dist/dnd.d.ts +1 -1
  223. package/dist/dnd.js +16 -16
  224. package/dist/hooks/useAsyncSelectOptions.d.ts +1 -1
  225. package/dist/hooks/useAsyncSelectOptions.js +1 -1
  226. package/dist/hooks/useClickOutside.d.ts +1 -1
  227. package/dist/hooks/useClickOutside.js +1 -1
  228. package/dist/hooks/useCopyToClipboard.d.ts +1 -1
  229. package/dist/hooks/useCopyToClipboard.js +1 -1
  230. package/dist/hooks/useDebounceOnBoolean.d.ts +1 -1
  231. package/dist/hooks/useDebounceOnBoolean.js +1 -1
  232. package/dist/hooks/useDebouncedCallback.d.ts +1 -1
  233. package/dist/hooks/useDebouncedCallback.js +1 -1
  234. package/dist/hooks/useDebouncedValue.d.ts +1 -1
  235. package/dist/hooks/useDebouncedValue.js +1 -1
  236. package/dist/hooks/useDeepCompareEffect.d.ts +1 -1
  237. package/dist/hooks/useDeepCompareEffect.js +1 -1
  238. package/dist/hooks/useDidUpdateEffect.d.ts +1 -1
  239. package/dist/hooks/useDidUpdateEffect.js +1 -1
  240. package/dist/hooks/useElementLayout.d.ts +1 -1
  241. package/dist/hooks/useElementLayout.js +1 -1
  242. package/dist/hooks/useMediaQuery.d.ts +1 -1
  243. package/dist/hooks/useMediaQuery.js +1 -1
  244. package/dist/hooks/useRovingKeyDown.d.ts +1 -1
  245. package/dist/hooks/useRovingKeyDown.js +1 -1
  246. package/dist/hooks/useShallowEqual.d.ts +1 -1
  247. package/dist/hooks/useShallowEqual.js +1 -1
  248. package/dist/hooks/useSmartRowClick.d.ts +1 -1
  249. package/dist/hooks/useSmartRowClick.js +1 -1
  250. package/dist/internal/BundledTexts.d.ts +2 -2
  251. package/dist/internal/BundledTexts.js +1 -1
  252. package/dist/internal/DateSettings.d.ts +1 -1
  253. package/dist/internal/DateSettings.js +1 -1
  254. package/dist/internal/NavigationProvider.d.ts +2 -2
  255. package/dist/internal/NavigationProvider.js +1 -1
  256. package/dist/internal/TextsProvider.d.ts +2 -2
  257. package/dist/internal/TextsProvider.js +1 -1
  258. package/dist/react-ui/src/Canvas.d.ts +11 -5
  259. package/dist/react-ui/src/Canvas.js +37 -15
  260. package/dist/react-ui/src/ContextInspector.d.ts +1 -1
  261. package/dist/react-ui/src/ContextInspector.js +6 -6
  262. package/dist/react-ui/src/ctxAnswer.js +21 -0
  263. package/dist/react-ui/src/ctxDateSettings.js +7 -5
  264. package/dist/react-ui/src/ctxHostServices.js +1 -1
  265. package/dist/react-ui/src/ctxNavigation.js +1 -1
  266. package/dist/react-ui/src/ctxRecordPresentation.js +34 -0
  267. package/dist/react-ui/src/ctxUploads.js +23 -0
  268. package/dist/react-ui/src/messageText.js +2 -2
  269. package/dist/styles.css +1884 -343
  270. package/dist/ui-public/icons/custom/dato_symbol.js +22 -0
  271. package/dist/ui-public/icons/custom/netlify.js +33 -0
  272. package/dist/ui-public/icons/custom/twitter-verified.js +18 -0
  273. package/dist/ui-public/icons/custom/vercel.js +15 -0
  274. package/dist/ui-public/icons/index.js +352 -0
  275. package/dist/ui-public/icons/lucide/app-window.js +33 -0
  276. package/dist/ui-public/icons/lucide/arrow-big-down.js +22 -0
  277. package/dist/ui-public/icons/lucide/arrow-down-a-z.js +28 -0
  278. package/dist/ui-public/icons/lucide/arrow-down-from-line.js +26 -0
  279. package/dist/ui-public/icons/lucide/arrow-down.js +22 -0
  280. package/dist/ui-public/icons/lucide/arrow-left.js +22 -0
  281. package/dist/ui-public/icons/lucide/arrow-right-left.js +27 -0
  282. package/dist/ui-public/icons/lucide/arrow-right.js +22 -0
  283. package/dist/ui-public/icons/lucide/arrow-up-down.js +27 -0
  284. package/dist/ui-public/icons/lucide/arrow-up-from-line.js +26 -0
  285. package/dist/ui-public/icons/lucide/arrow-up.js +22 -0
  286. package/dist/ui-public/icons/lucide/ban.js +26 -0
  287. package/dist/ui-public/icons/lucide/book.js +22 -0
  288. package/dist/ui-public/icons/lucide/bookmark.js +22 -0
  289. package/dist/ui-public/icons/lucide/braces.js +22 -0
  290. package/dist/ui-public/icons/lucide/calendar.js +33 -0
  291. package/dist/ui-public/icons/lucide/check.js +22 -0
  292. package/dist/ui-public/icons/lucide/chevron-down.js +22 -0
  293. package/dist/ui-public/icons/lucide/chevron-left.js +22 -0
  294. package/dist/ui-public/icons/lucide/chevron-right.js +22 -0
  295. package/dist/ui-public/icons/lucide/chevrons-down.js +22 -0
  296. package/dist/ui-public/icons/lucide/chevrons-left.js +22 -0
  297. package/dist/ui-public/icons/lucide/chevrons-right.js +22 -0
  298. package/dist/ui-public/icons/lucide/circle-arrow-up.js +30 -0
  299. package/dist/ui-public/icons/lucide/circle-check.js +26 -0
  300. package/dist/ui-public/icons/lucide/circle-dot.js +30 -0
  301. package/dist/ui-public/icons/lucide/circle-exclamation-point.js +40 -0
  302. package/dist/ui-public/icons/lucide/circle-question-mark.js +30 -0
  303. package/dist/ui-public/icons/lucide/clock.js +26 -0
  304. package/dist/ui-public/icons/lucide/code.js +22 -0
  305. package/dist/ui-public/icons/lucide/command.js +22 -0
  306. package/dist/ui-public/icons/lucide/copy-plus.js +44 -0
  307. package/dist/ui-public/icons/lucide/copy.js +29 -0
  308. package/dist/ui-public/icons/lucide/corner-left-up.js +22 -0
  309. package/dist/ui-public/icons/lucide/database.js +31 -0
  310. package/dist/ui-public/icons/lucide/download.js +26 -0
  311. package/dist/ui-public/icons/lucide/earth.js +31 -0
  312. package/dist/ui-public/icons/lucide/ellipsis-vertical.js +38 -0
  313. package/dist/ui-public/icons/lucide/ellipsis.js +38 -0
  314. package/dist/ui-public/icons/lucide/external-link.js +26 -0
  315. package/dist/ui-public/icons/lucide/eye-off.js +27 -0
  316. package/dist/ui-public/icons/lucide/eye.js +26 -0
  317. package/dist/ui-public/icons/lucide/file-code.js +27 -0
  318. package/dist/ui-public/icons/lucide/file-output.js +27 -0
  319. package/dist/ui-public/icons/lucide/flask-conical.js +26 -0
  320. package/dist/ui-public/icons/lucide/fold-vertical.js +31 -0
  321. package/dist/ui-public/icons/lucide/folder-open.js +22 -0
  322. package/dist/ui-public/icons/lucide/folder-plus.js +26 -0
  323. package/dist/ui-public/icons/lucide/folder.js +22 -0
  324. package/dist/ui-public/icons/lucide/folders.js +22 -0
  325. package/dist/ui-public/icons/lucide/funnel.js +22 -0
  326. package/dist/ui-public/icons/lucide/gift.js +33 -0
  327. package/dist/ui-public/icons/lucide/git-branch.js +34 -0
  328. package/dist/ui-public/icons/lucide/git-fork.js +40 -0
  329. package/dist/ui-public/icons/lucide/globe.js +30 -0
  330. package/dist/ui-public/icons/lucide/grip-vertical.js +53 -0
  331. package/dist/ui-public/icons/lucide/hand.js +27 -0
  332. package/dist/ui-public/icons/lucide/hard-hat.js +33 -0
  333. package/dist/ui-public/icons/lucide/hash.js +47 -0
  334. package/dist/ui-public/icons/lucide/heading-1.js +27 -0
  335. package/dist/ui-public/icons/lucide/heading-2.js +27 -0
  336. package/dist/ui-public/icons/lucide/heading-3.js +28 -0
  337. package/dist/ui-public/icons/lucide/heading-4.js +28 -0
  338. package/dist/ui-public/icons/lucide/heading-5.js +28 -0
  339. package/dist/ui-public/icons/lucide/heading-6.js +32 -0
  340. package/dist/ui-public/icons/lucide/highlighter.js +22 -0
  341. package/dist/ui-public/icons/lucide/hourglass.js +27 -0
  342. package/dist/ui-public/icons/lucide/house.js +22 -0
  343. package/dist/ui-public/icons/lucide/image.js +37 -0
  344. package/dist/ui-public/icons/lucide/images.js +38 -0
  345. package/dist/ui-public/icons/lucide/info.js +30 -0
  346. package/dist/ui-public/icons/lucide/italic.js +41 -0
  347. package/dist/ui-public/icons/lucide/keyboard.js +38 -0
  348. package/dist/ui-public/icons/lucide/languages.js +29 -0
  349. package/dist/ui-public/icons/lucide/layers.js +26 -0
  350. package/dist/ui-public/icons/lucide/layout-grid.js +51 -0
  351. package/dist/ui-public/icons/lucide/letter-b.js +22 -0
  352. package/dist/ui-public/icons/lucide/letter-text.js +28 -0
  353. package/dist/ui-public/icons/lucide/life-buoy.js +37 -0
  354. package/dist/ui-public/icons/lucide/link.js +22 -0
  355. package/dist/ui-public/icons/lucide/list-indent-decrease.js +27 -0
  356. package/dist/ui-public/icons/lucide/list-indent-increase.js +27 -0
  357. package/dist/ui-public/icons/lucide/list-ordered.js +29 -0
  358. package/dist/ui-public/icons/lucide/list-tree.js +28 -0
  359. package/dist/ui-public/icons/lucide/list.js +29 -0
  360. package/dist/ui-public/icons/lucide/log-out.js +26 -0
  361. package/dist/ui-public/icons/lucide/mail.js +28 -0
  362. package/dist/ui-public/icons/lucide/map-pin.js +26 -0
  363. package/dist/ui-public/icons/lucide/map-pinned.js +30 -0
  364. package/dist/ui-public/icons/lucide/maximize.js +27 -0
  365. package/dist/ui-public/icons/lucide/menu.js +26 -0
  366. package/dist/ui-public/icons/lucide/messages-square.js +22 -0
  367. package/dist/ui-public/icons/lucide/minimize.js +27 -0
  368. package/dist/ui-public/icons/lucide/minus.js +22 -0
  369. package/dist/ui-public/icons/lucide/notepad-text.js +36 -0
  370. package/dist/ui-public/icons/lucide/octagon-exclamation-point.js +26 -0
  371. package/dist/ui-public/icons/lucide/palette.js +48 -0
  372. package/dist/ui-public/icons/lucide/panel-left.js +28 -0
  373. package/dist/ui-public/icons/lucide/panel-right.js +28 -0
  374. package/dist/ui-public/icons/lucide/pause.js +34 -0
  375. package/dist/ui-public/icons/lucide/pen.js +22 -0
  376. package/dist/ui-public/icons/lucide/pilcrow.js +26 -0
  377. package/dist/ui-public/icons/lucide/pipette.js +26 -0
  378. package/dist/ui-public/icons/lucide/play.js +22 -0
  379. package/dist/ui-public/icons/lucide/plus.js +22 -0
  380. package/dist/ui-public/icons/lucide/quote.js +22 -0
  381. package/dist/ui-public/icons/lucide/redo-2.js +22 -0
  382. package/dist/ui-public/icons/lucide/refresh-cw.js +27 -0
  383. package/dist/ui-public/icons/lucide/rotate-ccw-clock.js +26 -0
  384. package/dist/ui-public/icons/lucide/rotate-ccw.js +22 -0
  385. package/dist/ui-public/icons/lucide/rows-3.js +32 -0
  386. package/dist/ui-public/icons/lucide/search.js +26 -0
  387. package/dist/ui-public/icons/lucide/send.js +22 -0
  388. package/dist/ui-public/icons/lucide/settings-2.js +35 -0
  389. package/dist/ui-public/icons/lucide/settings.js +26 -0
  390. package/dist/ui-public/icons/lucide/sliders-horizontal.js +32 -0
  391. package/dist/ui-public/icons/lucide/smartphone.js +29 -0
  392. package/dist/ui-public/icons/lucide/square-arrow-left.js +32 -0
  393. package/dist/ui-public/icons/lucide/square-arrow-up-right.js +32 -0
  394. package/dist/ui-public/icons/lucide/square-code.js +32 -0
  395. package/dist/ui-public/icons/lucide/square-dashed.js +35 -0
  396. package/dist/ui-public/icons/lucide/square-pen.js +22 -0
  397. package/dist/ui-public/icons/lucide/square-plus.js +32 -0
  398. package/dist/ui-public/icons/lucide/square-terminal.js +33 -0
  399. package/dist/ui-public/icons/lucide/store.js +26 -0
  400. package/dist/ui-public/icons/lucide/strikethrough.js +31 -0
  401. package/dist/ui-public/icons/lucide/table.js +33 -0
  402. package/dist/ui-public/icons/lucide/tag.js +27 -0
  403. package/dist/ui-public/icons/lucide/text-align-center.js +26 -0
  404. package/dist/ui-public/icons/lucide/text-align-end.js +26 -0
  405. package/dist/ui-public/icons/lucide/text-align-justify.js +26 -0
  406. package/dist/ui-public/icons/lucide/text-align-start.js +26 -0
  407. package/dist/ui-public/icons/lucide/toggle-right.js +32 -0
  408. package/dist/ui-public/icons/lucide/toolbox.js +28 -0
  409. package/dist/ui-public/icons/lucide/trash.js +28 -0
  410. package/dist/ui-public/icons/lucide/triangle-exclamation-point.js +26 -0
  411. package/dist/ui-public/icons/lucide/underline.js +27 -0
  412. package/dist/ui-public/icons/lucide/undo-2.js +22 -0
  413. package/dist/ui-public/icons/lucide/unfold-vertical.js +31 -0
  414. package/dist/ui-public/icons/lucide/user-lock.js +37 -0
  415. package/dist/ui-public/icons/lucide/user-minus.js +35 -0
  416. package/dist/ui-public/icons/lucide/user-round-arrow-left.js +31 -0
  417. package/dist/ui-public/icons/lucide/user.js +26 -0
  418. package/dist/ui-public/icons/lucide/x.js +22 -0
  419. package/dist/ui-public/locales/en.js +190 -0
  420. package/dist/ui-public/src/BundledTexts.d.ts +26 -0
  421. package/dist/ui-public/src/BundledTexts.js +57 -0
  422. package/dist/ui-public/src/HostServicesProvider.js +26 -0
  423. package/dist/ui-public/src/Message.d.ts +28 -0
  424. package/dist/ui-public/src/Message.js +9 -0
  425. package/dist/ui-public/src/TextsProvider.d.ts +32 -0
  426. package/dist/ui-public/src/TextsProvider.js +22 -0
  427. package/dist/ui-public/src/UiTextKey.d.ts +2 -0
  428. package/dist/ui-public/src/actions/Actions/ActionTooltip.js +24 -0
  429. package/dist/ui-public/src/actions/Actions/Shortcut.js +45 -0
  430. package/dist/ui-public/src/actions/Actions/registry.d.ts +211 -0
  431. package/dist/ui-public/src/actions/Actions/registry.js +580 -0
  432. package/dist/ui-public/src/actions/Actions/shortcuts.js +284 -0
  433. package/dist/ui-public/src/actions/Button.d.ts +199 -0
  434. package/dist/ui-public/src/actions/Button.js +170 -0
  435. package/dist/ui-public/src/actions/Dropdown/DropdownContext.js +12 -0
  436. package/dist/ui-public/src/actions/Dropdown/Footer.js +14 -0
  437. package/dist/ui-public/src/actions/Dropdown/Frame.js +18 -0
  438. package/dist/ui-public/src/actions/Dropdown/Group.js +19 -0
  439. package/dist/ui-public/src/actions/Dropdown/Menu.d.ts +47 -0
  440. package/dist/ui-public/src/actions/Dropdown/Menu.js +106 -0
  441. package/dist/ui-public/src/actions/Dropdown/MenuContent.d.ts +22 -0
  442. package/dist/ui-public/src/actions/Dropdown/MenuContent.js +154 -0
  443. package/dist/ui-public/src/actions/Dropdown/MenuContext.js +12 -0
  444. package/dist/ui-public/src/actions/Dropdown/MenuParts.d.ts +38 -0
  445. package/dist/ui-public/src/actions/Dropdown/MenuParts.js +88 -0
  446. package/dist/ui-public/src/actions/Dropdown/MenuSheet.js +26 -0
  447. package/dist/ui-public/src/actions/Dropdown/Option.d.ts +157 -0
  448. package/dist/ui-public/src/actions/Dropdown/Option.js +216 -0
  449. package/dist/ui-public/src/actions/Dropdown/OptionAction.js +31 -0
  450. package/dist/ui-public/src/actions/Dropdown/Separator.js +15 -0
  451. package/dist/ui-public/src/actions/Dropdown/Submenu.js +95 -0
  452. package/dist/ui-public/src/actions/Dropdown/Text.js +12 -0
  453. package/dist/ui-public/src/actions/Dropdown/index.d.ts +72 -0
  454. package/dist/ui-public/src/actions/Dropdown/index.js +124 -0
  455. package/dist/ui-public/src/actions/Dropdown/placementStyle.js +18 -0
  456. package/dist/ui-public/src/actions/Dropdown/triggers/ButtonTrigger.d.ts +57 -0
  457. package/dist/ui-public/src/actions/Dropdown/triggers/ButtonTrigger.js +53 -0
  458. package/dist/ui-public/src/actions/Dropdown/triggers/DropdownTriggerButton.d.ts +18 -0
  459. package/dist/ui-public/src/actions/Dropdown/triggers/DropdownTriggerButton.js +40 -0
  460. package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.d.ts +35 -0
  461. package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.js +27 -0
  462. package/dist/ui-public/src/actions/Dropdown/triggers/PillTrigger.js +28 -0
  463. package/dist/ui-public/src/actions/Dropdown/triggers/TextualTrigger.js +26 -0
  464. package/dist/ui-public/src/actions/Dropdown/triggers/handleDropdownTriggerKeyDown.js +12 -0
  465. package/dist/ui-public/src/actions/Dropdown/useCloseMenu.js +14 -0
  466. package/dist/ui-public/src/actions/Dropdown/useDropdownRegistry.js +15 -0
  467. package/dist/ui-public/src/actions/Dropdown/useTriggerLang.js +14 -0
  468. package/dist/ui-public/src/actions/EditorToolbar/Button.d.ts +36 -0
  469. package/dist/ui-public/src/actions/EditorToolbar/Button.js +42 -0
  470. package/dist/ui-public/src/actions/EditorToolbar/Buttons.js +138 -0
  471. package/dist/ui-public/src/actions/EditorToolbar/Group.js +11 -0
  472. package/dist/ui-public/src/actions/EditorToolbar/hooks.js +48 -0
  473. package/dist/ui-public/src/actions/EditorToolbar/index.js +147 -0
  474. package/dist/ui-public/src/actions/MultipleSelectionActionBar.d.ts +92 -0
  475. package/dist/ui-public/src/actions/MultipleSelectionActionBar.js +123 -0
  476. package/dist/ui-public/src/actions/SplitButton/Caret.js +31 -0
  477. package/dist/ui-public/src/actions/SplitButton/Halves.js +21 -0
  478. package/dist/ui-public/src/actions/SplitButton/index.d.ts +52 -0
  479. package/dist/ui-public/src/actions/SplitButton/index.js +38 -0
  480. package/dist/ui-public/src/actions/disabledReason.d.ts +28 -0
  481. package/dist/ui-public/src/actions/disabledReason.js +30 -0
  482. package/dist/ui-public/src/color/generateColorMapper.js +6 -0
  483. package/dist/ui-public/src/color/oklch.js +9 -0
  484. package/dist/ui-public/src/color/types.d.ts +13 -0
  485. package/dist/ui-public/src/color/utils.js +32 -0
  486. package/dist/ui-public/src/content/ApiKey.js +12 -0
  487. package/dist/ui-public/src/content/Avatar.d.ts +60 -0
  488. package/dist/ui-public/src/content/Avatar.js +56 -0
  489. package/dist/ui-public/src/content/CodeSnippet.d.ts +26 -0
  490. package/dist/ui-public/src/content/CodeSnippet.js +27 -0
  491. package/dist/ui-public/src/content/CopyButton.js +22 -0
  492. package/dist/ui-public/src/content/CopyableId.js +33 -0
  493. package/dist/ui-public/src/content/CopyableValue.d.ts +36 -0
  494. package/dist/ui-public/src/content/CopyableValue.js +58 -0
  495. package/dist/ui-public/src/content/DateSettings.d.ts +20 -0
  496. package/dist/ui-public/src/content/DateSettings.js +26 -0
  497. package/dist/ui-public/src/content/EnvironmentPill.d.ts +15 -0
  498. package/dist/ui-public/src/content/EnvironmentPill.js +19 -0
  499. package/dist/ui-public/src/content/FeedbackDot.js +24 -0
  500. package/dist/ui-public/src/content/FieldTypeAvatar.d.ts +22 -0
  501. package/dist/ui-public/src/content/FieldTypeAvatar.js +35 -0
  502. package/dist/ui-public/src/content/FieldTypeName.d.ts +19 -0
  503. package/dist/ui-public/src/content/FieldTypeName.js +25 -0
  504. package/dist/ui-public/src/content/FileTypeIcon.d.ts +13 -0
  505. package/dist/ui-public/src/content/FileTypeIcon.js +73 -0
  506. package/dist/ui-public/src/content/FramedImage.js +45 -0
  507. package/dist/ui-public/src/content/IconAvatar.d.ts +43 -0
  508. package/dist/ui-public/src/content/IconAvatar.js +36 -0
  509. package/dist/ui-public/src/content/IdText.js +30 -0
  510. package/dist/ui-public/src/content/InitialsAvatar.js +68 -0
  511. package/dist/ui-public/src/content/ItemStatus.d.ts +39 -0
  512. package/dist/ui-public/src/content/ItemStatus.js +55 -0
  513. package/dist/ui-public/src/content/Pill.d.ts +47 -0
  514. package/dist/ui-public/src/content/Pill.js +40 -0
  515. package/dist/ui-public/src/content/SmartDate.d.ts +34 -0
  516. package/dist/ui-public/src/content/SmartDate.js +24 -0
  517. package/dist/ui-public/src/content/UploadPreview/asset.js +200 -0
  518. package/dist/ui-public/src/content/UploadPreview/audio.js +120 -0
  519. package/dist/ui-public/src/content/UploadPreview/box.d.ts +83 -0
  520. package/dist/ui-public/src/content/UploadPreview/box.js +96 -0
  521. package/dist/ui-public/src/content/UploadPreview/fit.d.ts +29 -0
  522. package/dist/ui-public/src/content/UploadPreview/fit.js +35 -0
  523. package/dist/ui-public/src/content/UploadPreview/index.d.ts +61 -0
  524. package/dist/ui-public/src/content/UploadPreview/index.js +36 -0
  525. package/dist/ui-public/src/content/UploadPreview/presentation.js +63 -0
  526. package/dist/ui-public/src/content/UploadPreview/thumbhash.js +91 -0
  527. package/dist/ui-public/src/content/UploadPreview/upload.d.ts +104 -0
  528. package/dist/ui-public/src/content/UploadPreview/upload.js +112 -0
  529. package/dist/ui-public/src/content/UploadThreatTriangle.d.ts +7 -0
  530. package/dist/ui-public/src/content/UploadThreatTriangle.js +27 -0
  531. package/dist/ui-public/src/content/UsageMeter.d.ts +36 -0
  532. package/dist/ui-public/src/content/UsageMeter.js +67 -0
  533. package/dist/ui-public/src/content/ValidityTriangles.d.ts +38 -0
  534. package/dist/ui-public/src/content/ValidityTriangles.js +56 -0
  535. package/dist/ui-public/src/content/pillClassName.js +15 -0
  536. package/dist/ui-public/src/feedback/BlankSlate.d.ts +93 -0
  537. package/dist/ui-public/src/feedback/BlankSlate.js +93 -0
  538. package/dist/ui-public/src/feedback/Callout.d.ts +35 -0
  539. package/dist/ui-public/src/feedback/Callout.js +33 -0
  540. package/dist/ui-public/src/feedback/ProgressBar.d.ts +35 -0
  541. package/dist/ui-public/src/feedback/ProgressBar.js +28 -0
  542. package/dist/ui-public/src/feedback/Spinner.d.ts +66 -0
  543. package/dist/ui-public/src/feedback/Spinner.js +77 -0
  544. package/dist/ui-public/src/form/AutosizeInput.js +14 -0
  545. package/dist/ui-public/src/form/ColorInput.d.ts +48 -0
  546. package/dist/ui-public/src/form/ColorInput.js +261 -0
  547. package/dist/ui-public/src/form/DateInput.d.ts +13 -0
  548. package/dist/ui-public/src/form/DateInput.js +16 -0
  549. package/dist/ui-public/src/form/DateTimeInput/Base.d.ts +89 -0
  550. package/dist/ui-public/src/form/DateTimeInput/Base.js +330 -0
  551. package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.d.ts +29 -0
  552. package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.js +195 -0
  553. package/dist/ui-public/src/form/DateTimeInput/dateText.js +38 -0
  554. package/dist/ui-public/src/form/DateTimeInput/index.d.ts +10 -0
  555. package/dist/ui-public/src/form/DateTimeInput/index.js +18 -0
  556. package/dist/ui-public/src/form/DateTimeInput/value.js +31 -0
  557. package/dist/ui-public/src/form/DateTimeRangeInput/Panel.js +167 -0
  558. package/dist/ui-public/src/form/DateTimeRangeInput/index.d.ts +123 -0
  559. package/dist/ui-public/src/form/DateTimeRangeInput/index.js +186 -0
  560. package/dist/ui-public/src/form/DateTimeRangeInput/rangeLabel.js +46 -0
  561. package/dist/ui-public/src/form/DebouncedTextInput.js +52 -0
  562. package/dist/ui-public/src/form/FieldHint.d.ts +28 -0
  563. package/dist/ui-public/src/form/FieldHint.js +56 -0
  564. package/dist/ui-public/src/form/FieldWrapper.d.ts +382 -0
  565. package/dist/ui-public/src/form/FieldWrapper.js +142 -0
  566. package/dist/ui-public/src/form/FilterBuilder/Editor.js +123 -0
  567. package/dist/ui-public/src/form/FilterBuilder/index.d.ts +9 -0
  568. package/dist/ui-public/src/form/FilterBuilder/index.js +294 -0
  569. package/dist/ui-public/src/form/FilterBuilder/types.d.ts +188 -0
  570. package/dist/ui-public/src/form/FilterBuilder/values.js +86 -0
  571. package/dist/ui-public/src/form/FormAppContext.js +9 -0
  572. package/dist/ui-public/src/form/InputGroup.d.ts +78 -0
  573. package/dist/ui-public/src/form/InputGroup.js +98 -0
  574. package/dist/ui-public/src/form/KeyValueList.d.ts +60 -0
  575. package/dist/ui-public/src/form/KeyValueList.js +80 -0
  576. package/dist/ui-public/src/form/Label.d.ts +45 -0
  577. package/dist/ui-public/src/form/Label.js +46 -0
  578. package/dist/ui-public/src/form/NumberInput.js +54 -0
  579. package/dist/ui-public/src/form/PasswordInput.js +45 -0
  580. package/dist/ui-public/src/form/RadioGroupInput.d.ts +42 -0
  581. package/dist/ui-public/src/form/RadioGroupInput.js +85 -0
  582. package/dist/ui-public/src/form/RangeInput.d.ts +38 -0
  583. package/dist/ui-public/src/form/RangeInput.js +33 -0
  584. package/dist/ui-public/src/form/SelectInput/Context.js +8 -0
  585. package/dist/ui-public/src/form/SelectInput/SelectClearIndicator.js +17 -0
  586. package/dist/ui-public/src/form/SelectInput/SelectDropdownIndicator.js +14 -0
  587. package/dist/ui-public/src/form/SelectInput/SelectEmpty.js +10 -0
  588. package/dist/ui-public/src/form/SelectInput/SelectGroup.js +13 -0
  589. package/dist/ui-public/src/form/SelectInput/SelectInputElement.js +15 -0
  590. package/dist/ui-public/src/form/SelectInput/SelectMenu.d.ts +46 -0
  591. package/dist/ui-public/src/form/SelectInput/SelectMenu.js +89 -0
  592. package/dist/ui-public/src/form/SelectInput/SelectMultiValueRemove.js +27 -0
  593. package/dist/ui-public/src/form/SelectInput/SelectOption.js +22 -0
  594. package/dist/ui-public/src/form/SelectInput/SortableMultiValue.js +30 -0
  595. package/dist/ui-public/src/form/SelectInput/SortableValueContainer.js +19 -0
  596. package/dist/ui-public/src/form/SelectInput/index.d.ts +112 -0
  597. package/dist/ui-public/src/form/SelectInput/index.js +181 -0
  598. package/dist/ui-public/src/form/SelectInput/useSelectClassNames.js +63 -0
  599. package/dist/ui-public/src/form/SelectInput/useSelectValueAdapter.js +48 -0
  600. package/dist/ui-public/src/form/StringInput.js +29 -0
  601. package/dist/ui-public/src/form/SwitchInput.d.ts +35 -0
  602. package/dist/ui-public/src/form/SwitchInput.js +86 -0
  603. package/dist/ui-public/src/form/SwitchList.d.ts +16 -0
  604. package/dist/ui-public/src/form/SwitchList.js +25 -0
  605. package/dist/ui-public/src/form/TableList.d.ts +206 -0
  606. package/dist/ui-public/src/form/TableList.js +273 -0
  607. package/dist/ui-public/src/form/TextareaInput.js +73 -0
  608. package/dist/ui-public/src/form/getEditState.js +12 -0
  609. package/dist/ui-public/src/form/inputProps.d.ts +119 -0
  610. package/dist/ui-public/src/form/useTextInputHandlers.js +37 -0
  611. package/dist/ui-public/src/hooks/useAsyncSelectOptions.d.ts +52 -0
  612. package/dist/ui-public/src/hooks/useAsyncSelectOptions.js +85 -0
  613. package/dist/ui-public/src/hooks/useAutoincrementIntegerId.js +11 -0
  614. package/dist/ui-public/src/hooks/useClickOutside.js +21 -0
  615. package/dist/ui-public/src/hooks/useCopyToClipboard.js +22 -0
  616. package/dist/ui-public/src/hooks/useDebounceOnBoolean.js +26 -0
  617. package/dist/ui-public/src/hooks/useDebouncedCallback.js +12 -0
  618. package/dist/ui-public/src/hooks/useDebouncedValue.js +17 -0
  619. package/dist/ui-public/src/hooks/useDeepCompareEffect.js +14 -0
  620. package/dist/ui-public/src/hooks/useDidUpdateEffect.js +13 -0
  621. package/dist/ui-public/src/hooks/useElementLayout.js +56 -0
  622. package/dist/ui-public/src/hooks/useMediaQuery.js +52 -0
  623. package/dist/ui-public/src/hooks/useRovingKeyDown.js +55 -0
  624. package/dist/ui-public/src/hooks/useShallowEqual.js +15 -0
  625. package/dist/ui-public/src/hooks/useSmartRowClick.d.ts +16 -0
  626. package/dist/ui-public/src/hooks/useSmartRowClick.js +31 -0
  627. package/dist/ui-public/src/i18n.js +84 -0
  628. package/dist/ui-public/src/layout/ListOrOverview.js +26 -0
  629. package/dist/ui-public/src/layout/Page/Page.js +20 -0
  630. package/dist/ui-public/src/layout/Page/PageContent.js +13 -0
  631. package/dist/ui-public/src/layout/Page/PageGroup.d.ts +79 -0
  632. package/dist/ui-public/src/layout/Page/PageGroup.js +66 -0
  633. package/dist/ui-public/src/layout/Page/PageSection.js +48 -0
  634. package/dist/ui-public/src/layout/Page/index.js +15 -0
  635. package/dist/ui-public/src/layout/Pagination.d.ts +32 -0
  636. package/dist/ui-public/src/layout/Pagination.js +66 -0
  637. package/dist/ui-public/src/layout/Pane/FormHeader.d.ts +72 -0
  638. package/dist/ui-public/src/layout/Pane/FormHeader.js +69 -0
  639. package/dist/ui-public/src/layout/Pane/ListFilter.d.ts +48 -0
  640. package/dist/ui-public/src/layout/Pane/ListFilter.js +106 -0
  641. package/dist/ui-public/src/layout/Pane/ListPresets.d.ts +45 -0
  642. package/dist/ui-public/src/layout/Pane/ListPresets.js +35 -0
  643. package/dist/ui-public/src/layout/Pane/PaneAriaLabel.js +9 -0
  644. package/dist/ui-public/src/layout/Pane/PaneHeader.d.ts +68 -0
  645. package/dist/ui-public/src/layout/Pane/PaneHeader.js +120 -0
  646. package/dist/ui-public/src/layout/Pane/PaneRegion.js +23 -0
  647. package/dist/ui-public/src/layout/Pane/PaneTitleId.js +9 -0
  648. package/dist/ui-public/src/layout/Pane/index.d.ts +170 -0
  649. package/dist/ui-public/src/layout/Pane/index.js +113 -0
  650. package/dist/ui-public/src/layout/SidebarPanel.d.ts +96 -0
  651. package/dist/ui-public/src/layout/SidebarPanel.js +81 -0
  652. package/dist/ui-public/src/layout/SplitPane/Rail.js +45 -0
  653. package/dist/ui-public/src/layout/SplitPane/index.d.ts +76 -0
  654. package/dist/ui-public/src/layout/SplitPane/index.js +317 -0
  655. package/dist/ui-public/src/layout/SplitPane/toggle.d.ts +9 -0
  656. package/dist/ui-public/src/layout/SplitPane/toggle.js +13 -0
  657. package/dist/ui-public/src/layout/SplitView/SashActionButton.js +58 -0
  658. package/dist/ui-public/src/layout/SplitView/SplitView.js +197 -0
  659. package/dist/ui-public/src/layout/SplitView/SplitViewPane.js +12 -0
  660. package/dist/ui-public/src/layout/SplitView/SplitViewSash.js +56 -0
  661. package/dist/ui-public/src/layout/Toolbar/AddNewButton.d.ts +41 -0
  662. package/dist/ui-public/src/layout/Toolbar/AddNewButton.js +43 -0
  663. package/dist/ui-public/src/layout/Toolbar/Button.js +17 -0
  664. package/dist/ui-public/src/layout/Toolbar/Divider.js +16 -0
  665. package/dist/ui-public/src/layout/Toolbar/DotsDropdown.js +25 -0
  666. package/dist/ui-public/src/layout/Toolbar/Fill.js +16 -0
  667. package/dist/ui-public/src/layout/Toolbar/FilterInput.js +80 -0
  668. package/dist/ui-public/src/layout/Toolbar/FilterToggle.d.ts +33 -0
  669. package/dist/ui-public/src/layout/Toolbar/FilterToggle.js +105 -0
  670. package/dist/ui-public/src/layout/Toolbar/GoBack.d.ts +32 -0
  671. package/dist/ui-public/src/layout/Toolbar/GoBack.js +33 -0
  672. package/dist/ui-public/src/layout/Toolbar/Group.js +17 -0
  673. package/dist/ui-public/src/layout/Toolbar/Help.d.ts +29 -0
  674. package/dist/ui-public/src/layout/Toolbar/Help.js +55 -0
  675. package/dist/ui-public/src/layout/Toolbar/Note.d.ts +10 -0
  676. package/dist/ui-public/src/layout/Toolbar/Note.js +16 -0
  677. package/dist/ui-public/src/layout/Toolbar/Pagination.d.ts +34 -0
  678. package/dist/ui-public/src/layout/Toolbar/Pagination.js +57 -0
  679. package/dist/ui-public/src/layout/Toolbar/PresetsTitle.d.ts +38 -0
  680. package/dist/ui-public/src/layout/Toolbar/PresetsTitle.js +48 -0
  681. package/dist/ui-public/src/layout/Toolbar/PrimaryButton.d.ts +53 -0
  682. package/dist/ui-public/src/layout/Toolbar/PrimaryButton.js +57 -0
  683. package/dist/ui-public/src/layout/Toolbar/Root.d.ts +30 -0
  684. package/dist/ui-public/src/layout/Toolbar/Root.js +38 -0
  685. package/dist/ui-public/src/layout/Toolbar/Search.js +27 -0
  686. package/dist/ui-public/src/layout/Toolbar/Space.js +9 -0
  687. package/dist/ui-public/src/layout/Toolbar/Spinner.js +13 -0
  688. package/dist/ui-public/src/layout/Toolbar/Subtitle.js +12 -0
  689. package/dist/ui-public/src/layout/Toolbar/TextualDropdown.js +20 -0
  690. package/dist/ui-public/src/layout/Toolbar/Title.js +43 -0
  691. package/dist/ui-public/src/layout/Toolbar/ToolbarTitleTrigger.js +23 -0
  692. package/dist/ui-public/src/layout/Toolbar/context.js +10 -0
  693. package/dist/ui-public/src/layout/Toolbar/index.js +51 -0
  694. package/dist/ui-public/src/layout/sidebarPanelStorage.js +33 -0
  695. package/dist/ui-public/src/lists/CardList.d.ts +120 -0
  696. package/dist/ui-public/src/lists/CardList.js +141 -0
  697. package/dist/ui-public/src/lists/EmptySlot.d.ts +35 -0
  698. package/dist/ui-public/src/lists/EmptySlot.js +54 -0
  699. package/dist/ui-public/src/lists/EntityRow.js +48 -0
  700. package/dist/ui-public/src/lists/EntitySummary.js +28 -0
  701. package/dist/ui-public/src/lists/InfoList/User.d.ts +42 -0
  702. package/dist/ui-public/src/lists/InfoList/User.js +58 -0
  703. package/dist/ui-public/src/lists/InfoList/Value.d.ts +30 -0
  704. package/dist/ui-public/src/lists/InfoList/Value.js +39 -0
  705. package/dist/ui-public/src/lists/InfoList/index.d.ts +59 -0
  706. package/dist/ui-public/src/lists/InfoList/index.js +64 -0
  707. package/dist/ui-public/src/lists/InsertGap/index.d.ts +28 -0
  708. package/dist/ui-public/src/lists/InsertGap/index.js +38 -0
  709. package/dist/ui-public/src/lists/InsertGap/parts.d.ts +26 -0
  710. package/dist/ui-public/src/lists/InsertGap/parts.js +46 -0
  711. package/dist/ui-public/src/lists/ListArea.js +18 -0
  712. package/dist/ui-public/src/lists/MediaCard.d.ts +147 -0
  713. package/dist/ui-public/src/lists/MediaCard.js +152 -0
  714. package/dist/ui-public/src/lists/RecordRow/Image.d.ts +24 -0
  715. package/dist/ui-public/src/lists/RecordRow/Image.js +22 -0
  716. package/dist/ui-public/src/lists/RecordRow/List.d.ts +26 -0
  717. package/dist/ui-public/src/lists/RecordRow/List.js +30 -0
  718. package/dist/ui-public/src/lists/RecordRow/context.js +31 -0
  719. package/dist/ui-public/src/lists/RecordRow/index.d.ts +94 -0
  720. package/dist/ui-public/src/lists/RecordRow/index.js +122 -0
  721. package/dist/ui-public/src/lists/RecordRow/presentation.js +73 -0
  722. package/dist/ui-public/src/lists/RecordRow/types.d.ts +58 -0
  723. package/dist/ui-public/src/lists/RowList.d.ts +98 -0
  724. package/dist/ui-public/src/lists/RowList.js +87 -0
  725. package/dist/ui-public/src/lists/SettingsList.d.ts +41 -0
  726. package/dist/ui-public/src/lists/SettingsList.js +47 -0
  727. package/dist/ui-public/src/lists/Table/Body.js +47 -0
  728. package/dist/ui-public/src/lists/Table/Cell.js +42 -0
  729. package/dist/ui-public/src/lists/Table/ColumnsMenu.js +48 -0
  730. package/dist/ui-public/src/lists/Table/Header.js +132 -0
  731. package/dist/ui-public/src/lists/Table/HeaderCell.js +67 -0
  732. package/dist/ui-public/src/lists/Table/Row.d.ts +139 -0
  733. package/dist/ui-public/src/lists/Table/Row.js +211 -0
  734. package/dist/ui-public/src/lists/Table/Table.d.ts +61 -0
  735. package/dist/ui-public/src/lists/Table/Table.js +100 -0
  736. package/dist/ui-public/src/lists/Table/TableContext.js +17 -0
  737. package/dist/ui-public/src/lists/Table/TreeToggle.d.ts +34 -0
  738. package/dist/ui-public/src/lists/Table/TreeToggle.js +50 -0
  739. package/dist/ui-public/src/lists/Table/cells/EntityCell.d.ts +33 -0
  740. package/dist/ui-public/src/lists/Table/cells/EntityCell.js +30 -0
  741. package/dist/ui-public/src/lists/Table/cells/IconCell.js +17 -0
  742. package/dist/ui-public/src/lists/Table/cells/LinkCell.d.ts +11 -0
  743. package/dist/ui-public/src/lists/Table/cells/LinkCell.js +15 -0
  744. package/dist/ui-public/src/lists/Table/cells/StatusCell.js +14 -0
  745. package/dist/ui-public/src/lists/Table/cells/TimeCell.js +18 -0
  746. package/dist/ui-public/src/lists/Table/index.js +18 -0
  747. package/dist/ui-public/src/lists/Table/layout.js +115 -0
  748. package/dist/ui-public/src/lists/Table/storage.js +26 -0
  749. package/dist/ui-public/src/lists/Table/useClientSort.js +31 -0
  750. package/dist/ui-public/src/lists/TreeRow/Action.d.ts +21 -0
  751. package/dist/ui-public/src/lists/TreeRow/Action.js +34 -0
  752. package/dist/ui-public/src/lists/TreeRow/Link.d.ts +12 -0
  753. package/dist/ui-public/src/lists/TreeRow/Link.js +21 -0
  754. package/dist/ui-public/src/lists/TreeRow/index.d.ts +53 -0
  755. package/dist/ui-public/src/lists/TreeRow/index.js +63 -0
  756. package/dist/ui-public/src/lists/UploadCard.d.ts +122 -0
  757. package/dist/ui-public/src/lists/UploadCard.js +175 -0
  758. package/dist/ui-public/src/lists/UserRow.d.ts +122 -0
  759. package/dist/ui-public/src/lists/UserRow.js +104 -0
  760. package/dist/ui-public/src/lists/dnd/DragHandle.d.ts +19 -0
  761. package/dist/ui-public/src/lists/dnd/DragHandle.js +19 -0
  762. package/dist/ui-public/src/lists/dnd/DropIndicator.js +18 -0
  763. package/dist/ui-public/src/lists/dnd/SortableList.d.ts +101 -0
  764. package/dist/ui-public/src/lists/dnd/SortableList.js +238 -0
  765. package/dist/ui-public/src/lists/dnd/autoScroll.js +53 -0
  766. package/dist/ui-public/src/lists/dnd/dropTargetClassName.d.ts +25 -0
  767. package/dist/ui-public/src/lists/dnd/dropTargetClassName.js +18 -0
  768. package/dist/ui-public/src/lists/dnd/getGapTo.js +14 -0
  769. package/dist/ui-public/src/lists/dnd/reorder.js +16 -0
  770. package/dist/ui-public/src/lists/dnd/tree/SortableTree.d.ts +77 -0
  771. package/dist/ui-public/src/lists/dnd/tree/SortableTree.js +333 -0
  772. package/dist/ui-public/src/lists/dnd/tree/TreeRowContext.js +10 -0
  773. package/dist/ui-public/src/lists/dnd/tree/useTreeKeyboardNavigation.js +59 -0
  774. package/dist/ui-public/src/lists/dnd/tree/utils.js +96 -0
  775. package/dist/ui-public/src/lists/dnd/types.js +6 -0
  776. package/dist/ui-public/src/lists/dnd/useDragMonitor.js +40 -0
  777. package/dist/ui-public/src/lists/dnd/useDraggable.js +66 -0
  778. package/dist/ui-public/src/lists/dnd/useDropTarget.js +53 -0
  779. package/dist/ui-public/src/lists/dnd/useFileDropTarget.js +53 -0
  780. package/dist/ui-public/src/lists/dnd/useFilePicker.js +28 -0
  781. package/dist/ui-public/src/lists/dnd/useIsFileDragActive.js +28 -0
  782. package/dist/ui-public/src/navigation/Chevron.d.ts +40 -0
  783. package/dist/ui-public/src/navigation/Chevron.js +56 -0
  784. package/dist/ui-public/src/navigation/Link.d.ts +58 -0
  785. package/dist/ui-public/src/navigation/Link.js +40 -0
  786. package/dist/ui-public/src/navigation/NavList.d.ts +29 -0
  787. package/dist/ui-public/src/navigation/NavList.js +31 -0
  788. package/dist/ui-public/src/navigation/NavigationProvider.d.ts +61 -0
  789. package/dist/ui-public/src/navigation/NavigationProvider.js +55 -0
  790. package/dist/ui-public/src/navigation/SegmentedControl.d.ts +70 -0
  791. package/dist/ui-public/src/navigation/SegmentedControl.js +61 -0
  792. package/dist/ui-public/src/navigation/SettingsMenu.d.ts +107 -0
  793. package/dist/ui-public/src/navigation/SettingsMenu.js +91 -0
  794. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNode.d.ts +114 -0
  795. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNode.js +173 -0
  796. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.d.ts +33 -0
  797. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.js +63 -0
  798. package/dist/ui-public/src/navigation/SidebarTree/index.js +9 -0
  799. package/dist/ui-public/src/navigation/Tabs.js +178 -0
  800. package/dist/ui-public/src/navigation/useTabRowFadeReset.js +33 -0
  801. package/dist/ui-public/src/overlays/FullscreenModal/Panel.js +37 -0
  802. package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.d.ts +10 -0
  803. package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.js +18 -0
  804. package/dist/ui-public/src/overlays/FullscreenModal/index.d.ts +36 -0
  805. package/dist/ui-public/src/overlays/FullscreenModal/index.js +56 -0
  806. package/dist/ui-public/src/overlays/HoverCard/Surface.js +16 -0
  807. package/dist/ui-public/src/overlays/HoverCard/index.d.ts +55 -0
  808. package/dist/ui-public/src/overlays/HoverCard/index.js +76 -0
  809. package/dist/ui-public/src/overlays/HoverDelayGroup.js +41 -0
  810. package/dist/ui-public/src/overlays/Modal/Layer.js +17 -0
  811. package/dist/ui-public/src/overlays/Modal/Panel.d.ts +27 -0
  812. package/dist/ui-public/src/overlays/Modal/Panel.js +66 -0
  813. package/dist/ui-public/src/overlays/Modal/index.d.ts +56 -0
  814. package/dist/ui-public/src/overlays/Modal/index.js +97 -0
  815. package/dist/ui-public/src/overlays/NewZIndex.d.ts +14 -0
  816. package/dist/ui-public/src/overlays/NewZIndex.js +19 -0
  817. package/dist/ui-public/src/overlays/Popover.d.ts +50 -0
  818. package/dist/ui-public/src/overlays/Popover.js +77 -0
  819. package/dist/ui-public/src/overlays/Portal.js +33 -0
  820. package/dist/ui-public/src/overlays/PortalWrapper.js +22 -0
  821. package/dist/ui-public/src/overlays/Tooltip/Box.js +28 -0
  822. package/dist/ui-public/src/overlays/Tooltip/index.d.ts +51 -0
  823. package/dist/ui-public/src/overlays/Tooltip/index.js +77 -0
  824. package/dist/ui-public/src/overlays/confirmQuestion.js +61 -0
  825. package/dist/ui-public/src/overlays/floatingTrigger.js +13 -0
  826. package/dist/ui-public/src/overlays/focusReturn.js +35 -0
  827. package/dist/ui-public/src/overlays/useModalClose.js +138 -0
  828. package/dist/ui-public/src/patterns/ListDetail/FloatingDetail.js +71 -0
  829. package/dist/ui-public/src/patterns/ListDetail/Overview.js +16 -0
  830. package/dist/ui-public/src/patterns/ListDetail/Page.d.ts +122 -0
  831. package/dist/ui-public/src/patterns/ListDetail/Page.js +136 -0
  832. package/dist/ui-public/src/patterns/ListDetail/Panel.d.ts +62 -0
  833. package/dist/ui-public/src/patterns/ListDetail/Panel.js +74 -0
  834. package/dist/ui-public/src/patterns/ListDetail/Split.d.ts +51 -0
  835. package/dist/ui-public/src/patterns/ListDetail/Split.js +160 -0
  836. package/dist/ui-public/src/patterns/ListDetail/Widths.js +21 -0
  837. package/dist/ui-public/src/patterns/ListDetail/index.d.ts +13 -0
  838. package/dist/ui-public/src/patterns/ListDetail/index.js +14 -0
  839. package/dist/ui-public/src/patterns/ListDetail/useDetailWidthDrag.js +43 -0
  840. package/dist/ui-public/src/patterns/ListFormPage.d.ts +38 -0
  841. package/dist/ui-public/src/patterns/ListFormPage.js +29 -0
  842. package/dist/ui-public/src/semantic/Aside.js +19 -0
  843. package/dist/ui-public/src/semantic/Heading.d.ts +22 -0
  844. package/dist/ui-public/src/semantic/Heading.js +26 -0
  845. package/dist/ui-public/src/semantic/Image.js +17 -0
  846. package/dist/ui-public/src/semantic/Main.js +67 -0
  847. package/dist/ui-public/src/semantic/Nav.d.ts +24 -0
  848. package/dist/ui-public/src/semantic/Nav.js +20 -0
  849. package/dist/ui-public/src/semantic/NavigationFocusProvider.js +9 -0
  850. package/dist/ui-public/src/semantic/RawButton.d.ts +91 -0
  851. package/dist/ui-public/src/semantic/RawButton.js +57 -0
  852. package/dist/ui-public/src/semantic/Search.d.ts +26 -0
  853. package/dist/ui-public/src/semantic/Search.js +20 -0
  854. package/dist/ui-public/src/utils/escapeHtml.js +6 -0
  855. package/dist/ui-public/src/utils/events.js +6 -0
  856. package/dist/ui-public/src/utils/fieldTypes.d.ts +29 -0
  857. package/dist/ui-public/src/utils/fieldTypes.js +94 -0
  858. package/dist/ui-public/src/utils/format.d.ts +21 -0
  859. package/dist/ui-public/src/utils/format.js +20 -0
  860. package/dist/ui-public/src/utils/formatDate.d.ts +70 -0
  861. package/dist/ui-public/src/utils/formatDate.js +95 -0
  862. package/dist/ui-public/src/utils/isDefined.js +6 -0
  863. package/dist/ui-public/src/utils/localeDirection.js +11 -0
  864. package/dist/ui-public/src/utils/mouseHoverProps.js +13 -0
  865. package/dist/ui-public/src/utils/randomKey.js +10 -0
  866. package/dist/ui-public/src/utils/tickBatcher.js +44 -0
  867. package/dist/ui-public/src/utils/times.js +6 -0
  868. package/dist/ui-public/src/utils/timezones.js +277 -0
  869. package/dist/ui-public/src/utils/weekStartForLocale.js +25 -0
  870. package/dist/utils/fieldTypes.d.ts +1 -0
  871. package/dist/utils/fieldTypes.js +2 -0
  872. package/dist/utils/format.d.ts +1 -0
  873. package/dist/utils/format.js +2 -0
  874. package/dist/utils/formatDate.d.ts +1 -1
  875. package/dist/utils/formatDate.js +1 -1
  876. package/package.json +6 -6
  877. package/dist/ui/icons/brands/gitlab.js +0 -15
  878. package/dist/ui/icons/brands/markdown.js +0 -15
  879. package/dist/ui/icons/custom/color_d_icon.js +0 -20
  880. package/dist/ui/icons/custom/fieldgroup-boolean.js +0 -18
  881. package/dist/ui/icons/custom/fieldgroup-color.js +0 -18
  882. package/dist/ui/icons/custom/fieldgroup-datetime.js +0 -49
  883. package/dist/ui/icons/custom/fieldgroup-json.js +0 -18
  884. package/dist/ui/icons/custom/fieldgroup-location.js +0 -19
  885. package/dist/ui/icons/custom/fieldgroup-media.js +0 -18
  886. package/dist/ui/icons/custom/fieldgroup-number.js +0 -18
  887. package/dist/ui/icons/custom/fieldgroup-reference.js +0 -18
  888. package/dist/ui/icons/custom/fieldgroup-rich_text.js +0 -18
  889. package/dist/ui/icons/custom/fieldgroup-seo.js +0 -22
  890. package/dist/ui/icons/custom/fieldgroup-structured_text.js +0 -61
  891. package/dist/ui/icons/custom/language.js +0 -16
  892. package/dist/ui/icons/custom/masonry.js +0 -21
  893. package/dist/ui/icons/custom/netlify.js +0 -33
  894. package/dist/ui/icons/custom/twitter-verified.js +0 -18
  895. package/dist/ui/icons/custom/vercel.js +0 -15
  896. package/dist/ui/icons/index.js +0 -402
  897. package/dist/ui/icons/light/eye-slash.js +0 -16
  898. package/dist/ui/icons/light/eye.js +0 -16
  899. package/dist/ui/icons/regular/align-left.js +0 -15
  900. package/dist/ui/icons/regular/arrow-down-a-z.js +0 -16
  901. package/dist/ui/icons/regular/arrow-down-to-line.js +0 -15
  902. package/dist/ui/icons/regular/arrow-down.js +0 -16
  903. package/dist/ui/icons/regular/arrow-left.js +0 -16
  904. package/dist/ui/icons/regular/arrow-right-arrow-left.js +0 -16
  905. package/dist/ui/icons/regular/arrow-right-from-bracket.js +0 -16
  906. package/dist/ui/icons/regular/arrow-right.js +0 -16
  907. package/dist/ui/icons/regular/arrow-rotate-left.js +0 -15
  908. package/dist/ui/icons/regular/arrow-rotate-right.js +0 -16
  909. package/dist/ui/icons/regular/arrow-turn-up.js +0 -16
  910. package/dist/ui/icons/regular/arrow-up-arrow-down.js +0 -16
  911. package/dist/ui/icons/regular/arrow-up-right-from-square.js +0 -16
  912. package/dist/ui/icons/regular/arrow-up-to-line.js +0 -15
  913. package/dist/ui/icons/regular/arrow-up.js +0 -16
  914. package/dist/ui/icons/regular/arrows-from-line.js +0 -16
  915. package/dist/ui/icons/regular/arrows-rotate.js +0 -16
  916. package/dist/ui/icons/regular/arrows-to-line.js +0 -16
  917. package/dist/ui/icons/regular/arrows-turn-to-dots.js +0 -15
  918. package/dist/ui/icons/regular/badge-check.js +0 -15
  919. package/dist/ui/icons/regular/ballot-check.js +0 -15
  920. package/dist/ui/icons/regular/ban.js +0 -16
  921. package/dist/ui/icons/regular/bars.js +0 -16
  922. package/dist/ui/icons/regular/bold.js +0 -15
  923. package/dist/ui/icons/regular/bolt.js +0 -15
  924. package/dist/ui/icons/regular/book.js +0 -16
  925. package/dist/ui/icons/regular/bookmark.js +0 -16
  926. package/dist/ui/icons/regular/brackets-curly.js +0 -15
  927. package/dist/ui/icons/regular/browser.js +0 -16
  928. package/dist/ui/icons/regular/calendar-clock.js +0 -15
  929. package/dist/ui/icons/regular/calendar.js +0 -16
  930. package/dist/ui/icons/regular/chart-area.js +0 -15
  931. package/dist/ui/icons/regular/check.js +0 -16
  932. package/dist/ui/icons/regular/chevron-down.js +0 -16
  933. package/dist/ui/icons/regular/chevron-left.js +0 -16
  934. package/dist/ui/icons/regular/chevron-right.js +0 -16
  935. package/dist/ui/icons/regular/chevrons-down.js +0 -16
  936. package/dist/ui/icons/regular/chevrons-left.js +0 -16
  937. package/dist/ui/icons/regular/chevrons-right.js +0 -16
  938. package/dist/ui/icons/regular/circle-arrow-up.js +0 -16
  939. package/dist/ui/icons/regular/circle-check.js +0 -16
  940. package/dist/ui/icons/regular/circle-dot.js +0 -16
  941. package/dist/ui/icons/regular/circle-exclamation.js +0 -16
  942. package/dist/ui/icons/regular/circle-info.js +0 -16
  943. package/dist/ui/icons/regular/circle-question.js +0 -16
  944. package/dist/ui/icons/regular/clapperboard-play.js +0 -15
  945. package/dist/ui/icons/regular/clipboard.js +0 -15
  946. package/dist/ui/icons/regular/clock-rotate-left.js +0 -16
  947. package/dist/ui/icons/regular/clock.js +0 -16
  948. package/dist/ui/icons/regular/clone.js +0 -16
  949. package/dist/ui/icons/regular/cloud-arrow-down.js +0 -15
  950. package/dist/ui/icons/regular/code-branch.js +0 -16
  951. package/dist/ui/icons/regular/code-fork.js +0 -16
  952. package/dist/ui/icons/regular/command.js +0 -16
  953. package/dist/ui/icons/regular/comments.js +0 -16
  954. package/dist/ui/icons/regular/copy.js +0 -16
  955. package/dist/ui/icons/regular/cube.js +0 -15
  956. package/dist/ui/icons/regular/cubes.js +0 -15
  957. package/dist/ui/icons/regular/dash.js +0 -16
  958. package/dist/ui/icons/regular/database.js +0 -15
  959. package/dist/ui/icons/regular/diamond.js +0 -15
  960. package/dist/ui/icons/regular/down.js +0 -16
  961. package/dist/ui/icons/regular/download.js +0 -16
  962. package/dist/ui/icons/regular/earth-europe.js +0 -16
  963. package/dist/ui/icons/regular/ellipsis-vertical.js +0 -16
  964. package/dist/ui/icons/regular/ellipsis.js +0 -16
  965. package/dist/ui/icons/regular/envelope.js +0 -16
  966. package/dist/ui/icons/regular/expand.js +0 -16
  967. package/dist/ui/icons/regular/eye-dropper.js +0 -16
  968. package/dist/ui/icons/regular/file-export.js +0 -16
  969. package/dist/ui/icons/regular/file-lines.js +0 -15
  970. package/dist/ui/icons/regular/file-shield.js +0 -15
  971. package/dist/ui/icons/regular/file.js +0 -15
  972. package/dist/ui/icons/regular/filter.js +0 -16
  973. package/dist/ui/icons/regular/fire-flame-curved.js +0 -15
  974. package/dist/ui/icons/regular/flask-gear.js +0 -15
  975. package/dist/ui/icons/regular/flask.js +0 -15
  976. package/dist/ui/icons/regular/folder-gear.js +0 -15
  977. package/dist/ui/icons/regular/folder-magnifying-glass.js +0 -15
  978. package/dist/ui/icons/regular/folder-open.js +0 -16
  979. package/dist/ui/icons/regular/folder-plus.js +0 -16
  980. package/dist/ui/icons/regular/folder.js +0 -16
  981. package/dist/ui/icons/regular/folders.js +0 -16
  982. package/dist/ui/icons/regular/gear.js +0 -16
  983. package/dist/ui/icons/regular/gift.js +0 -16
  984. package/dist/ui/icons/regular/globe.js +0 -16
  985. package/dist/ui/icons/regular/grid-2.js +0 -16
  986. package/dist/ui/icons/regular/grip-dots-vertical.js +0 -16
  987. package/dist/ui/icons/regular/hand.js +0 -16
  988. package/dist/ui/icons/regular/hourglass-clock.js +0 -16
  989. package/dist/ui/icons/regular/house.js +0 -16
  990. package/dist/ui/icons/regular/images.js +0 -15
  991. package/dist/ui/icons/regular/input-numeric.js +0 -15
  992. package/dist/ui/icons/regular/input-text.js +0 -15
  993. package/dist/ui/icons/regular/keyboard.js +0 -16
  994. package/dist/ui/icons/regular/layer-group.js +0 -15
  995. package/dist/ui/icons/regular/life-ring.js +0 -16
  996. package/dist/ui/icons/regular/link-simple.js +0 -15
  997. package/dist/ui/icons/regular/link.js +0 -16
  998. package/dist/ui/icons/regular/list-tree.js +0 -16
  999. package/dist/ui/icons/regular/list.js +0 -16
  1000. package/dist/ui/icons/regular/magnifying-glass-chart.js +0 -15
  1001. package/dist/ui/icons/regular/magnifying-glass.js +0 -16
  1002. package/dist/ui/icons/regular/map-location-dot.js +0 -16
  1003. package/dist/ui/icons/regular/memo.js +0 -16
  1004. package/dist/ui/icons/regular/octagon-exclamation.js +0 -16
  1005. package/dist/ui/icons/regular/palette.js +0 -16
  1006. package/dist/ui/icons/regular/paper-plane.js +0 -16
  1007. package/dist/ui/icons/regular/paragraph.js +0 -15
  1008. package/dist/ui/icons/regular/paste.js +0 -15
  1009. package/dist/ui/icons/regular/pause.js +0 -16
  1010. package/dist/ui/icons/regular/pen-paintbrush.js +0 -15
  1011. package/dist/ui/icons/regular/pen-to-square.js +0 -15
  1012. package/dist/ui/icons/regular/pen.js +0 -16
  1013. package/dist/ui/icons/regular/people-arrows.js +0 -16
  1014. package/dist/ui/icons/regular/photo-film.js +0 -15
  1015. package/dist/ui/icons/regular/play.js +0 -16
  1016. package/dist/ui/icons/regular/puzzle-piece.js +0 -15
  1017. package/dist/ui/icons/regular/receipt.js +0 -16
  1018. package/dist/ui/icons/regular/rectangle-barcode.js +0 -15
  1019. package/dist/ui/icons/regular/rectangle-list.js +0 -15
  1020. package/dist/ui/icons/regular/right-left.js +0 -15
  1021. package/dist/ui/icons/regular/rotate-left.js +0 -16
  1022. package/dist/ui/icons/regular/shield.js +0 -15
  1023. package/dist/ui/icons/regular/sidebar-flip.js +0 -16
  1024. package/dist/ui/icons/regular/sidebar.js +0 -16
  1025. package/dist/ui/icons/regular/sliders.js +0 -16
  1026. package/dist/ui/icons/regular/sparkles.js +0 -15
  1027. package/dist/ui/icons/regular/square-caret-down.js +0 -15
  1028. package/dist/ui/icons/regular/square-check.js +0 -15
  1029. package/dist/ui/icons/regular/square-dashed.js +0 -15
  1030. package/dist/ui/icons/regular/square-left.js +0 -16
  1031. package/dist/ui/icons/regular/square-terminal.js +0 -16
  1032. package/dist/ui/icons/regular/square-up-right.js +0 -16
  1033. package/dist/ui/icons/regular/store.js +0 -16
  1034. package/dist/ui/icons/regular/swap-arrows.js +0 -15
  1035. package/dist/ui/icons/regular/table.js +0 -16
  1036. package/dist/ui/icons/regular/tag.js +0 -16
  1037. package/dist/ui/icons/regular/toggle-on.js +0 -15
  1038. package/dist/ui/icons/regular/toolbox.js +0 -16
  1039. package/dist/ui/icons/regular/trash-undo.js +0 -15
  1040. package/dist/ui/icons/regular/trash.js +0 -16
  1041. package/dist/ui/icons/regular/triangle-exclamation.js +0 -16
  1042. package/dist/ui/icons/regular/turn-up.js +0 -16
  1043. package/dist/ui/icons/regular/user-group.js +0 -15
  1044. package/dist/ui/icons/regular/user-helmet-safety.js +0 -16
  1045. package/dist/ui/icons/regular/user-lock.js +0 -16
  1046. package/dist/ui/icons/regular/user-minus.js +0 -16
  1047. package/dist/ui/icons/regular/user-tie.js +0 -15
  1048. package/dist/ui/icons/regular/user.js +0 -16
  1049. package/dist/ui/icons/regular/users.js +0 -15
  1050. package/dist/ui/icons/regular/video.js +0 -15
  1051. package/dist/ui/icons/regular/webhook.js +0 -15
  1052. package/dist/ui/icons/regular/wrench.js +0 -15
  1053. package/dist/ui/icons/regular/xmark.js +0 -16
  1054. package/dist/ui/icons/solid/align-center.js +0 -16
  1055. package/dist/ui/icons/solid/align-justify.js +0 -16
  1056. package/dist/ui/icons/solid/align-left.js +0 -16
  1057. package/dist/ui/icons/solid/align-right.js +0 -16
  1058. package/dist/ui/icons/solid/arrow-rotate-left.js +0 -16
  1059. package/dist/ui/icons/solid/arrow-rotate-right.js +0 -16
  1060. package/dist/ui/icons/solid/bold.js +0 -16
  1061. package/dist/ui/icons/solid/circle-exclamation.js +0 -16
  1062. package/dist/ui/icons/solid/closed-captioning.js +0 -15
  1063. package/dist/ui/icons/solid/code.js +0 -16
  1064. package/dist/ui/icons/solid/compress.js +0 -16
  1065. package/dist/ui/icons/solid/download.js +0 -15
  1066. package/dist/ui/icons/solid/expand.js +0 -16
  1067. package/dist/ui/icons/solid/file-arrow-down.js +0 -15
  1068. package/dist/ui/icons/solid/file-code.js +0 -16
  1069. package/dist/ui/icons/solid/grid-2.js +0 -16
  1070. package/dist/ui/icons/solid/h1.js +0 -16
  1071. package/dist/ui/icons/solid/h2.js +0 -16
  1072. package/dist/ui/icons/solid/h3.js +0 -16
  1073. package/dist/ui/icons/solid/h4.js +0 -16
  1074. package/dist/ui/icons/solid/h5.js +0 -16
  1075. package/dist/ui/icons/solid/h6.js +0 -16
  1076. package/dist/ui/icons/solid/highlighter.js +0 -16
  1077. package/dist/ui/icons/solid/horizontal-rule.js +0 -16
  1078. package/dist/ui/icons/solid/image.js +0 -16
  1079. package/dist/ui/icons/solid/indent.js +0 -16
  1080. package/dist/ui/icons/solid/italic.js +0 -16
  1081. package/dist/ui/icons/solid/link.js +0 -16
  1082. package/dist/ui/icons/solid/list-ol.js +0 -16
  1083. package/dist/ui/icons/solid/list-ul.js +0 -16
  1084. package/dist/ui/icons/solid/location-dot.js +0 -16
  1085. package/dist/ui/icons/solid/music.js +0 -15
  1086. package/dist/ui/icons/solid/outdent.js +0 -16
  1087. package/dist/ui/icons/solid/paragraph.js +0 -16
  1088. package/dist/ui/icons/solid/plus.js +0 -16
  1089. package/dist/ui/icons/solid/quote-right.js +0 -16
  1090. package/dist/ui/icons/solid/rectangle-code.js +0 -16
  1091. package/dist/ui/icons/solid/square-plus.js +0 -16
  1092. package/dist/ui/icons/solid/strikethrough.js +0 -16
  1093. package/dist/ui/icons/solid/subtitles.js +0 -15
  1094. package/dist/ui/icons/solid/table.js +0 -16
  1095. package/dist/ui/icons/solid/triangle-exclamation.js +0 -16
  1096. package/dist/ui/icons/solid/underline.js +0 -16
  1097. package/dist/ui/locales/en.js +0 -106
  1098. package/dist/ui/src/BundledTexts.d.ts +0 -26
  1099. package/dist/ui/src/BundledTexts.js +0 -57
  1100. package/dist/ui/src/HostServicesProvider.js +0 -26
  1101. package/dist/ui/src/Message.d.ts +0 -29
  1102. package/dist/ui/src/Message.js +0 -9
  1103. package/dist/ui/src/TextsProvider.d.ts +0 -32
  1104. package/dist/ui/src/TextsProvider.js +0 -22
  1105. package/dist/ui/src/UiTextKey.d.ts +0 -2
  1106. package/dist/ui/src/actions/Actions/ActionTooltip.js +0 -24
  1107. package/dist/ui/src/actions/Actions/Shortcut.js +0 -45
  1108. package/dist/ui/src/actions/Actions/registry.d.ts +0 -211
  1109. package/dist/ui/src/actions/Actions/registry.js +0 -580
  1110. package/dist/ui/src/actions/Actions/shortcuts.js +0 -284
  1111. package/dist/ui/src/actions/Button.d.ts +0 -191
  1112. package/dist/ui/src/actions/Button.js +0 -164
  1113. package/dist/ui/src/actions/Dropdown/DropdownContext.js +0 -12
  1114. package/dist/ui/src/actions/Dropdown/Footer.js +0 -14
  1115. package/dist/ui/src/actions/Dropdown/Group.js +0 -19
  1116. package/dist/ui/src/actions/Dropdown/Menu.d.ts +0 -47
  1117. package/dist/ui/src/actions/Dropdown/Menu.js +0 -105
  1118. package/dist/ui/src/actions/Dropdown/MenuContent.d.ts +0 -21
  1119. package/dist/ui/src/actions/Dropdown/MenuContent.js +0 -150
  1120. package/dist/ui/src/actions/Dropdown/MenuContext.js +0 -12
  1121. package/dist/ui/src/actions/Dropdown/MenuParts.d.ts +0 -36
  1122. package/dist/ui/src/actions/Dropdown/MenuParts.js +0 -77
  1123. package/dist/ui/src/actions/Dropdown/MenuSheet.js +0 -26
  1124. package/dist/ui/src/actions/Dropdown/Option.d.ts +0 -157
  1125. package/dist/ui/src/actions/Dropdown/Option.js +0 -216
  1126. package/dist/ui/src/actions/Dropdown/OptionAction.js +0 -31
  1127. package/dist/ui/src/actions/Dropdown/Separator.js +0 -15
  1128. package/dist/ui/src/actions/Dropdown/Submenu.js +0 -92
  1129. package/dist/ui/src/actions/Dropdown/Text.js +0 -12
  1130. package/dist/ui/src/actions/Dropdown/index.d.ts +0 -71
  1131. package/dist/ui/src/actions/Dropdown/index.js +0 -117
  1132. package/dist/ui/src/actions/Dropdown/placementStyle.js +0 -18
  1133. package/dist/ui/src/actions/Dropdown/triggers/ButtonTrigger.d.ts +0 -57
  1134. package/dist/ui/src/actions/Dropdown/triggers/ButtonTrigger.js +0 -53
  1135. package/dist/ui/src/actions/Dropdown/triggers/DropdownTriggerButton.d.ts +0 -18
  1136. package/dist/ui/src/actions/Dropdown/triggers/DropdownTriggerButton.js +0 -40
  1137. package/dist/ui/src/actions/Dropdown/triggers/IconTrigger.d.ts +0 -35
  1138. package/dist/ui/src/actions/Dropdown/triggers/IconTrigger.js +0 -27
  1139. package/dist/ui/src/actions/Dropdown/triggers/PillTrigger.js +0 -28
  1140. package/dist/ui/src/actions/Dropdown/triggers/TextualTrigger.js +0 -26
  1141. package/dist/ui/src/actions/Dropdown/triggers/handleDropdownTriggerKeyDown.js +0 -12
  1142. package/dist/ui/src/actions/Dropdown/useCloseMenu.js +0 -14
  1143. package/dist/ui/src/actions/Dropdown/useDropdownRegistry.js +0 -15
  1144. package/dist/ui/src/actions/Dropdown/useTriggerLang.js +0 -14
  1145. package/dist/ui/src/actions/EditorToolbar/Button.d.ts +0 -36
  1146. package/dist/ui/src/actions/EditorToolbar/Button.js +0 -42
  1147. package/dist/ui/src/actions/EditorToolbar/Buttons.js +0 -138
  1148. package/dist/ui/src/actions/EditorToolbar/Group.js +0 -11
  1149. package/dist/ui/src/actions/EditorToolbar/hooks.js +0 -48
  1150. package/dist/ui/src/actions/EditorToolbar/index.js +0 -147
  1151. package/dist/ui/src/actions/MultipleSelectionActionBar.d.ts +0 -92
  1152. package/dist/ui/src/actions/MultipleSelectionActionBar.js +0 -123
  1153. package/dist/ui/src/actions/SplitButton/Caret.js +0 -29
  1154. package/dist/ui/src/actions/SplitButton/index.d.ts +0 -52
  1155. package/dist/ui/src/actions/SplitButton/index.js +0 -38
  1156. package/dist/ui/src/actions/disabledReason.d.ts +0 -28
  1157. package/dist/ui/src/actions/disabledReason.js +0 -30
  1158. package/dist/ui/src/color/generateColorMapper.js +0 -6
  1159. package/dist/ui/src/color/oklch.js +0 -9
  1160. package/dist/ui/src/color/utils.js +0 -15
  1161. package/dist/ui/src/content/ApiKey.js +0 -12
  1162. package/dist/ui/src/content/Avatar.d.ts +0 -57
  1163. package/dist/ui/src/content/Avatar.js +0 -55
  1164. package/dist/ui/src/content/CodeSnippet.d.ts +0 -26
  1165. package/dist/ui/src/content/CodeSnippet.js +0 -27
  1166. package/dist/ui/src/content/CopyButton.js +0 -22
  1167. package/dist/ui/src/content/CopyableId.js +0 -33
  1168. package/dist/ui/src/content/CopyableValue.d.ts +0 -36
  1169. package/dist/ui/src/content/CopyableValue.js +0 -58
  1170. package/dist/ui/src/content/DateSettings.d.ts +0 -20
  1171. package/dist/ui/src/content/DateSettings.js +0 -26
  1172. package/dist/ui/src/content/FeedbackDot.js +0 -25
  1173. package/dist/ui/src/content/FramedImage.js +0 -44
  1174. package/dist/ui/src/content/IconAvatar.d.ts +0 -42
  1175. package/dist/ui/src/content/IconAvatar.js +0 -36
  1176. package/dist/ui/src/content/IdText.js +0 -30
  1177. package/dist/ui/src/content/InitialsAvatar.js +0 -69
  1178. package/dist/ui/src/content/Pill.d.ts +0 -47
  1179. package/dist/ui/src/content/Pill.js +0 -40
  1180. package/dist/ui/src/content/SmartDate.d.ts +0 -34
  1181. package/dist/ui/src/content/SmartDate.js +0 -24
  1182. package/dist/ui/src/content/UploadThreatTriangle.d.ts +0 -8
  1183. package/dist/ui/src/content/UploadThreatTriangle.js +0 -25
  1184. package/dist/ui/src/content/UsageMeter.d.ts +0 -36
  1185. package/dist/ui/src/content/UsageMeter.js +0 -67
  1186. package/dist/ui/src/content/ValidityTriangles.d.ts +0 -38
  1187. package/dist/ui/src/content/ValidityTriangles.js +0 -56
  1188. package/dist/ui/src/content/pillClassName.js +0 -15
  1189. package/dist/ui/src/feedback/BlankSlate.d.ts +0 -93
  1190. package/dist/ui/src/feedback/BlankSlate.js +0 -93
  1191. package/dist/ui/src/feedback/Callout.d.ts +0 -35
  1192. package/dist/ui/src/feedback/Callout.js +0 -33
  1193. package/dist/ui/src/feedback/ProgressBar.d.ts +0 -35
  1194. package/dist/ui/src/feedback/ProgressBar.js +0 -28
  1195. package/dist/ui/src/feedback/Spinner.d.ts +0 -66
  1196. package/dist/ui/src/feedback/Spinner.js +0 -77
  1197. package/dist/ui/src/form/AutosizeInput.js +0 -14
  1198. package/dist/ui/src/form/DebouncedTextInput.js +0 -52
  1199. package/dist/ui/src/form/FieldHint.d.ts +0 -28
  1200. package/dist/ui/src/form/FieldHint.js +0 -56
  1201. package/dist/ui/src/form/FieldWrapper.d.ts +0 -332
  1202. package/dist/ui/src/form/FieldWrapper.js +0 -115
  1203. package/dist/ui/src/form/FormAppContext.js +0 -9
  1204. package/dist/ui/src/form/InputGroup.d.ts +0 -78
  1205. package/dist/ui/src/form/InputGroup.js +0 -98
  1206. package/dist/ui/src/form/KeyValueList.d.ts +0 -60
  1207. package/dist/ui/src/form/KeyValueList.js +0 -80
  1208. package/dist/ui/src/form/Label.d.ts +0 -45
  1209. package/dist/ui/src/form/Label.js +0 -46
  1210. package/dist/ui/src/form/NumberInput.js +0 -54
  1211. package/dist/ui/src/form/PasswordInput.js +0 -54
  1212. package/dist/ui/src/form/RadioGroupInput.d.ts +0 -42
  1213. package/dist/ui/src/form/RadioGroupInput.js +0 -85
  1214. package/dist/ui/src/form/SelectInput/Context.js +0 -8
  1215. package/dist/ui/src/form/SelectInput/SelectClearIndicator.js +0 -17
  1216. package/dist/ui/src/form/SelectInput/SelectDropdownIndicator.js +0 -14
  1217. package/dist/ui/src/form/SelectInput/SelectEmpty.js +0 -10
  1218. package/dist/ui/src/form/SelectInput/SelectGroup.js +0 -13
  1219. package/dist/ui/src/form/SelectInput/SelectInputElement.js +0 -15
  1220. package/dist/ui/src/form/SelectInput/SelectMenu.d.ts +0 -46
  1221. package/dist/ui/src/form/SelectInput/SelectMenu.js +0 -89
  1222. package/dist/ui/src/form/SelectInput/SelectMultiValueRemove.js +0 -27
  1223. package/dist/ui/src/form/SelectInput/SelectOption.js +0 -22
  1224. package/dist/ui/src/form/SelectInput/SortableMultiValue.js +0 -30
  1225. package/dist/ui/src/form/SelectInput/SortableValueContainer.js +0 -19
  1226. package/dist/ui/src/form/SelectInput/index.d.ts +0 -112
  1227. package/dist/ui/src/form/SelectInput/index.js +0 -181
  1228. package/dist/ui/src/form/SelectInput/useSelectClassNames.js +0 -63
  1229. package/dist/ui/src/form/SelectInput/useSelectValueAdapter.js +0 -48
  1230. package/dist/ui/src/form/StringInput.js +0 -29
  1231. package/dist/ui/src/form/SwitchInput.d.ts +0 -35
  1232. package/dist/ui/src/form/SwitchInput.js +0 -84
  1233. package/dist/ui/src/form/SwitchList.d.ts +0 -16
  1234. package/dist/ui/src/form/SwitchList.js +0 -25
  1235. package/dist/ui/src/form/TableList.d.ts +0 -206
  1236. package/dist/ui/src/form/TableList.js +0 -273
  1237. package/dist/ui/src/form/TextareaInput.js +0 -73
  1238. package/dist/ui/src/form/getEditState.js +0 -12
  1239. package/dist/ui/src/form/inputProps.d.ts +0 -119
  1240. package/dist/ui/src/form/useTextInputHandlers.js +0 -37
  1241. package/dist/ui/src/hooks/useAsyncSelectOptions.d.ts +0 -52
  1242. package/dist/ui/src/hooks/useAsyncSelectOptions.js +0 -85
  1243. package/dist/ui/src/hooks/useAutoincrementIntegerId.js +0 -11
  1244. package/dist/ui/src/hooks/useClickOutside.js +0 -21
  1245. package/dist/ui/src/hooks/useCopyToClipboard.js +0 -22
  1246. package/dist/ui/src/hooks/useDebounceOnBoolean.js +0 -26
  1247. package/dist/ui/src/hooks/useDebouncedCallback.js +0 -12
  1248. package/dist/ui/src/hooks/useDebouncedValue.js +0 -17
  1249. package/dist/ui/src/hooks/useDeepCompareEffect.js +0 -14
  1250. package/dist/ui/src/hooks/useDidUpdateEffect.js +0 -13
  1251. package/dist/ui/src/hooks/useElementLayout.js +0 -56
  1252. package/dist/ui/src/hooks/useMediaQuery.js +0 -52
  1253. package/dist/ui/src/hooks/useRovingKeyDown.js +0 -55
  1254. package/dist/ui/src/hooks/useShallowEqual.js +0 -15
  1255. package/dist/ui/src/hooks/useSmartRowClick.d.ts +0 -16
  1256. package/dist/ui/src/hooks/useSmartRowClick.js +0 -31
  1257. package/dist/ui/src/i18n.js +0 -84
  1258. package/dist/ui/src/layout/ListOrOverview.js +0 -26
  1259. package/dist/ui/src/layout/Page/Page.js +0 -20
  1260. package/dist/ui/src/layout/Page/PageContent.js +0 -13
  1261. package/dist/ui/src/layout/Page/PageGroup.d.ts +0 -74
  1262. package/dist/ui/src/layout/Page/PageGroup.js +0 -62
  1263. package/dist/ui/src/layout/Page/PageSection.js +0 -48
  1264. package/dist/ui/src/layout/Page/index.js +0 -15
  1265. package/dist/ui/src/layout/Pagination.d.ts +0 -27
  1266. package/dist/ui/src/layout/Pagination.js +0 -64
  1267. package/dist/ui/src/layout/Pane/FormHeader.d.ts +0 -72
  1268. package/dist/ui/src/layout/Pane/FormHeader.js +0 -69
  1269. package/dist/ui/src/layout/Pane/ListFilter.d.ts +0 -48
  1270. package/dist/ui/src/layout/Pane/ListFilter.js +0 -106
  1271. package/dist/ui/src/layout/Pane/ListPresets.d.ts +0 -45
  1272. package/dist/ui/src/layout/Pane/ListPresets.js +0 -35
  1273. package/dist/ui/src/layout/Pane/PaneAriaLabel.js +0 -9
  1274. package/dist/ui/src/layout/Pane/PaneHeader.d.ts +0 -64
  1275. package/dist/ui/src/layout/Pane/PaneHeader.js +0 -111
  1276. package/dist/ui/src/layout/Pane/PaneRegion.js +0 -23
  1277. package/dist/ui/src/layout/Pane/PaneTitleId.js +0 -9
  1278. package/dist/ui/src/layout/Pane/index.d.ts +0 -167
  1279. package/dist/ui/src/layout/Pane/index.js +0 -104
  1280. package/dist/ui/src/layout/SidebarPanel.d.ts +0 -96
  1281. package/dist/ui/src/layout/SidebarPanel.js +0 -81
  1282. package/dist/ui/src/layout/SplitPane.d.ts +0 -76
  1283. package/dist/ui/src/layout/SplitPane.js +0 -319
  1284. package/dist/ui/src/layout/SplitView/SashActionButton.js +0 -58
  1285. package/dist/ui/src/layout/SplitView/SplitView.js +0 -197
  1286. package/dist/ui/src/layout/SplitView/SplitViewPane.js +0 -12
  1287. package/dist/ui/src/layout/SplitView/SplitViewSash.js +0 -56
  1288. package/dist/ui/src/layout/Toolbar/AddNewButton.d.ts +0 -41
  1289. package/dist/ui/src/layout/Toolbar/AddNewButton.js +0 -43
  1290. package/dist/ui/src/layout/Toolbar/Button.js +0 -17
  1291. package/dist/ui/src/layout/Toolbar/Divider.js +0 -16
  1292. package/dist/ui/src/layout/Toolbar/DotsDropdown.js +0 -25
  1293. package/dist/ui/src/layout/Toolbar/Fill.js +0 -16
  1294. package/dist/ui/src/layout/Toolbar/FilterInput.js +0 -80
  1295. package/dist/ui/src/layout/Toolbar/FilterToggle.d.ts +0 -33
  1296. package/dist/ui/src/layout/Toolbar/FilterToggle.js +0 -97
  1297. package/dist/ui/src/layout/Toolbar/GoBack.d.ts +0 -32
  1298. package/dist/ui/src/layout/Toolbar/GoBack.js +0 -33
  1299. package/dist/ui/src/layout/Toolbar/Group.js +0 -17
  1300. package/dist/ui/src/layout/Toolbar/Help.d.ts +0 -29
  1301. package/dist/ui/src/layout/Toolbar/Help.js +0 -55
  1302. package/dist/ui/src/layout/Toolbar/Note.d.ts +0 -10
  1303. package/dist/ui/src/layout/Toolbar/Note.js +0 -16
  1304. package/dist/ui/src/layout/Toolbar/Pagination.d.ts +0 -31
  1305. package/dist/ui/src/layout/Toolbar/Pagination.js +0 -53
  1306. package/dist/ui/src/layout/Toolbar/PresetsTitle.d.ts +0 -38
  1307. package/dist/ui/src/layout/Toolbar/PresetsTitle.js +0 -48
  1308. package/dist/ui/src/layout/Toolbar/PrimaryButton.d.ts +0 -53
  1309. package/dist/ui/src/layout/Toolbar/PrimaryButton.js +0 -57
  1310. package/dist/ui/src/layout/Toolbar/Root.d.ts +0 -30
  1311. package/dist/ui/src/layout/Toolbar/Root.js +0 -35
  1312. package/dist/ui/src/layout/Toolbar/Search.js +0 -27
  1313. package/dist/ui/src/layout/Toolbar/Space.js +0 -9
  1314. package/dist/ui/src/layout/Toolbar/Spinner.js +0 -13
  1315. package/dist/ui/src/layout/Toolbar/Subtitle.js +0 -12
  1316. package/dist/ui/src/layout/Toolbar/TextualDropdown.js +0 -20
  1317. package/dist/ui/src/layout/Toolbar/Title.js +0 -43
  1318. package/dist/ui/src/layout/Toolbar/ToolbarTitleTrigger.js +0 -23
  1319. package/dist/ui/src/layout/Toolbar/context.js +0 -10
  1320. package/dist/ui/src/layout/Toolbar/index.js +0 -51
  1321. package/dist/ui/src/layout/sidebarPanelStorage.js +0 -33
  1322. package/dist/ui/src/lists/CardList.d.ts +0 -120
  1323. package/dist/ui/src/lists/CardList.js +0 -138
  1324. package/dist/ui/src/lists/EmptySlot.d.ts +0 -35
  1325. package/dist/ui/src/lists/EmptySlot.js +0 -54
  1326. package/dist/ui/src/lists/EntityRow.js +0 -48
  1327. package/dist/ui/src/lists/EntitySummary.js +0 -27
  1328. package/dist/ui/src/lists/InfoList.d.ts +0 -45
  1329. package/dist/ui/src/lists/InfoList.js +0 -58
  1330. package/dist/ui/src/lists/InsertGap.d.ts +0 -41
  1331. package/dist/ui/src/lists/InsertGap.js +0 -74
  1332. package/dist/ui/src/lists/ListArea.js +0 -18
  1333. package/dist/ui/src/lists/MediaCard.d.ts +0 -139
  1334. package/dist/ui/src/lists/MediaCard.js +0 -144
  1335. package/dist/ui/src/lists/RowList.d.ts +0 -63
  1336. package/dist/ui/src/lists/RowList.js +0 -72
  1337. package/dist/ui/src/lists/SettingsList.d.ts +0 -40
  1338. package/dist/ui/src/lists/SettingsList.js +0 -47
  1339. package/dist/ui/src/lists/Table/Body.js +0 -47
  1340. package/dist/ui/src/lists/Table/Cell.js +0 -42
  1341. package/dist/ui/src/lists/Table/ColumnsMenu.js +0 -48
  1342. package/dist/ui/src/lists/Table/Header.js +0 -132
  1343. package/dist/ui/src/lists/Table/HeaderCell.js +0 -67
  1344. package/dist/ui/src/lists/Table/Row.d.ts +0 -139
  1345. package/dist/ui/src/lists/Table/Row.js +0 -211
  1346. package/dist/ui/src/lists/Table/Table.d.ts +0 -61
  1347. package/dist/ui/src/lists/Table/Table.js +0 -100
  1348. package/dist/ui/src/lists/Table/TableContext.js +0 -17
  1349. package/dist/ui/src/lists/Table/TreeToggle.d.ts +0 -34
  1350. package/dist/ui/src/lists/Table/TreeToggle.js +0 -49
  1351. package/dist/ui/src/lists/Table/cells/IconCell.js +0 -17
  1352. package/dist/ui/src/lists/Table/cells/LinkCell.d.ts +0 -11
  1353. package/dist/ui/src/lists/Table/cells/LinkCell.js +0 -15
  1354. package/dist/ui/src/lists/Table/cells/StatusCell.js +0 -14
  1355. package/dist/ui/src/lists/Table/cells/TimeCell.js +0 -18
  1356. package/dist/ui/src/lists/Table/index.js +0 -18
  1357. package/dist/ui/src/lists/Table/layout.js +0 -115
  1358. package/dist/ui/src/lists/Table/storage.js +0 -26
  1359. package/dist/ui/src/lists/Table/useClientSort.js +0 -31
  1360. package/dist/ui/src/lists/dnd/DragHandle.d.ts +0 -19
  1361. package/dist/ui/src/lists/dnd/DragHandle.js +0 -19
  1362. package/dist/ui/src/lists/dnd/DropIndicator.js +0 -18
  1363. package/dist/ui/src/lists/dnd/SortableList.d.ts +0 -101
  1364. package/dist/ui/src/lists/dnd/SortableList.js +0 -238
  1365. package/dist/ui/src/lists/dnd/autoScroll.js +0 -53
  1366. package/dist/ui/src/lists/dnd/dropTargetClassName.d.ts +0 -25
  1367. package/dist/ui/src/lists/dnd/dropTargetClassName.js +0 -18
  1368. package/dist/ui/src/lists/dnd/getGapTo.js +0 -14
  1369. package/dist/ui/src/lists/dnd/reorder.js +0 -16
  1370. package/dist/ui/src/lists/dnd/tree/SortableTree.d.ts +0 -69
  1371. package/dist/ui/src/lists/dnd/tree/SortableTree.js +0 -331
  1372. package/dist/ui/src/lists/dnd/tree/TreeRowContext.js +0 -10
  1373. package/dist/ui/src/lists/dnd/tree/useTreeKeyboardNavigation.js +0 -59
  1374. package/dist/ui/src/lists/dnd/tree/utils.js +0 -96
  1375. package/dist/ui/src/lists/dnd/types.js +0 -6
  1376. package/dist/ui/src/lists/dnd/useDragMonitor.js +0 -40
  1377. package/dist/ui/src/lists/dnd/useDraggable.js +0 -66
  1378. package/dist/ui/src/lists/dnd/useDropTarget.js +0 -53
  1379. package/dist/ui/src/lists/dnd/useFileDropTarget.js +0 -53
  1380. package/dist/ui/src/lists/dnd/useFilePicker.js +0 -28
  1381. package/dist/ui/src/lists/dnd/useIsFileDragActive.js +0 -28
  1382. package/dist/ui/src/navigation/Chevron.d.ts +0 -40
  1383. package/dist/ui/src/navigation/Chevron.js +0 -56
  1384. package/dist/ui/src/navigation/Link.d.ts +0 -58
  1385. package/dist/ui/src/navigation/Link.js +0 -40
  1386. package/dist/ui/src/navigation/NavList.d.ts +0 -29
  1387. package/dist/ui/src/navigation/NavList.js +0 -31
  1388. package/dist/ui/src/navigation/NavigationProvider.d.ts +0 -61
  1389. package/dist/ui/src/navigation/NavigationProvider.js +0 -55
  1390. package/dist/ui/src/navigation/SegmentedControl.d.ts +0 -70
  1391. package/dist/ui/src/navigation/SegmentedControl.js +0 -58
  1392. package/dist/ui/src/navigation/SettingsMenu.d.ts +0 -107
  1393. package/dist/ui/src/navigation/SettingsMenu.js +0 -91
  1394. package/dist/ui/src/navigation/SidebarTree/SidebarTreeNode.d.ts +0 -114
  1395. package/dist/ui/src/navigation/SidebarTree/SidebarTreeNode.js +0 -173
  1396. package/dist/ui/src/navigation/SidebarTree/SidebarTreeNodeActions.d.ts +0 -30
  1397. package/dist/ui/src/navigation/SidebarTree/SidebarTreeNodeActions.js +0 -62
  1398. package/dist/ui/src/navigation/SidebarTree/index.js +0 -9
  1399. package/dist/ui/src/navigation/Tabs.js +0 -151
  1400. package/dist/ui/src/overlays/FullscreenModal.d.ts +0 -41
  1401. package/dist/ui/src/overlays/FullscreenModal.js +0 -81
  1402. package/dist/ui/src/overlays/HoverCard.d.ts +0 -55
  1403. package/dist/ui/src/overlays/HoverCard.js +0 -70
  1404. package/dist/ui/src/overlays/Modal.d.ts +0 -56
  1405. package/dist/ui/src/overlays/Modal.js +0 -134
  1406. package/dist/ui/src/overlays/NewZIndex.d.ts +0 -14
  1407. package/dist/ui/src/overlays/NewZIndex.js +0 -19
  1408. package/dist/ui/src/overlays/Popover.d.ts +0 -50
  1409. package/dist/ui/src/overlays/Popover.js +0 -77
  1410. package/dist/ui/src/overlays/Portal.js +0 -33
  1411. package/dist/ui/src/overlays/PortalWrapper.js +0 -22
  1412. package/dist/ui/src/overlays/Tooltip.d.ts +0 -58
  1413. package/dist/ui/src/overlays/Tooltip.js +0 -93
  1414. package/dist/ui/src/overlays/confirmQuestion.js +0 -61
  1415. package/dist/ui/src/overlays/floatingTrigger.js +0 -13
  1416. package/dist/ui/src/overlays/useModalClose.js +0 -134
  1417. package/dist/ui/src/patterns/ListDetail/Overview.js +0 -16
  1418. package/dist/ui/src/patterns/ListDetail/Page.d.ts +0 -118
  1419. package/dist/ui/src/patterns/ListDetail/Page.js +0 -132
  1420. package/dist/ui/src/patterns/ListDetail/Panel.d.ts +0 -62
  1421. package/dist/ui/src/patterns/ListDetail/Panel.js +0 -72
  1422. package/dist/ui/src/patterns/ListDetail/Split.d.ts +0 -37
  1423. package/dist/ui/src/patterns/ListDetail/Split.js +0 -175
  1424. package/dist/ui/src/patterns/ListDetail/Widths.js +0 -21
  1425. package/dist/ui/src/patterns/ListDetail/index.d.ts +0 -12
  1426. package/dist/ui/src/patterns/ListDetail/index.js +0 -14
  1427. package/dist/ui/src/patterns/ListFormPage.d.ts +0 -38
  1428. package/dist/ui/src/patterns/ListFormPage.js +0 -29
  1429. package/dist/ui/src/semantic/Aside.js +0 -19
  1430. package/dist/ui/src/semantic/Heading.d.ts +0 -22
  1431. package/dist/ui/src/semantic/Heading.js +0 -26
  1432. package/dist/ui/src/semantic/Main.js +0 -67
  1433. package/dist/ui/src/semantic/Nav.d.ts +0 -24
  1434. package/dist/ui/src/semantic/Nav.js +0 -20
  1435. package/dist/ui/src/semantic/NavigationFocusProvider.js +0 -9
  1436. package/dist/ui/src/semantic/RawButton.d.ts +0 -91
  1437. package/dist/ui/src/semantic/RawButton.js +0 -57
  1438. package/dist/ui/src/semantic/Search.d.ts +0 -26
  1439. package/dist/ui/src/semantic/Search.js +0 -20
  1440. package/dist/ui/src/utils/escapeHtml.js +0 -6
  1441. package/dist/ui/src/utils/events.js +0 -6
  1442. package/dist/ui/src/utils/formatDate.d.ts +0 -62
  1443. package/dist/ui/src/utils/formatDate.js +0 -95
  1444. package/dist/ui/src/utils/isDefined.js +0 -6
  1445. package/dist/ui/src/utils/localeDirection.js +0 -11
  1446. package/dist/ui/src/utils/mouseHoverProps.js +0 -13
  1447. package/dist/ui/src/utils/randomKey.js +0 -10
  1448. package/dist/ui/src/utils/times.js +0 -6
  1449. /package/dist/{ui → ui-public}/src/actions/Actions/Shortcut.d.ts +0 -0
  1450. /package/dist/{ui → ui-public}/src/actions/Actions/index.d.ts +0 -0
  1451. /package/dist/{ui → ui-public}/src/actions/Actions/index.js +0 -0
  1452. /package/dist/{ui → ui-public}/src/actions/Actions/shortcuts.d.ts +0 -0
  1453. /package/dist/{ui → ui-public}/src/actions/Dropdown/Footer.d.ts +0 -0
  1454. /package/dist/{ui → ui-public}/src/actions/Dropdown/Group.d.ts +0 -0
  1455. /package/dist/{ui → ui-public}/src/actions/Dropdown/MenuContext.d.ts +0 -0
  1456. /package/dist/{ui → ui-public}/src/actions/Dropdown/OptionAction.d.ts +0 -0
  1457. /package/dist/{ui → ui-public}/src/actions/Dropdown/Submenu.d.ts +0 -0
  1458. /package/dist/{ui → ui-public}/src/actions/Dropdown/triggers/PillTrigger.d.ts +0 -0
  1459. /package/dist/{ui → ui-public}/src/actions/Dropdown/triggers/TextualTrigger.d.ts +0 -0
  1460. /package/dist/{ui → ui-public}/src/actions/Dropdown/triggers/types.d.ts +0 -0
  1461. /package/dist/{ui → ui-public}/src/actions/Dropdown/useCloseMenu.d.ts +0 -0
  1462. /package/dist/{ui → ui-public}/src/actions/EditorToolbar/Buttons.d.ts +0 -0
  1463. /package/dist/{ui → ui-public}/src/actions/EditorToolbar/hooks.d.ts +0 -0
  1464. /package/dist/{ui → ui-public}/src/actions/EditorToolbar/index.d.ts +0 -0
  1465. /package/dist/{ui → ui-public}/src/content/ApiKey.d.ts +0 -0
  1466. /package/dist/{ui → ui-public}/src/content/CopyButton.d.ts +0 -0
  1467. /package/dist/{ui → ui-public}/src/content/CopyableId.d.ts +0 -0
  1468. /package/dist/{ui → ui-public}/src/content/FeedbackDot.d.ts +0 -0
  1469. /package/dist/{ui → ui-public}/src/content/FramedImage.d.ts +0 -0
  1470. /package/dist/{ui → ui-public}/src/content/IdText.d.ts +0 -0
  1471. /package/dist/{ui → ui-public}/src/content/InitialsAvatar.d.ts +0 -0
  1472. /package/dist/{ui → ui-public}/src/form/AutosizeInput.d.ts +0 -0
  1473. /package/dist/{ui → ui-public}/src/form/DebouncedTextInput.d.ts +0 -0
  1474. /package/dist/{ui → ui-public}/src/form/NumberInput.d.ts +0 -0
  1475. /package/dist/{ui → ui-public}/src/form/PasswordInput.d.ts +0 -0
  1476. /package/dist/{ui → ui-public}/src/form/StringInput.d.ts +0 -0
  1477. /package/dist/{ui → ui-public}/src/form/TextareaInput.d.ts +0 -0
  1478. /package/dist/{ui → ui-public}/src/hooks/useClickOutside.d.ts +0 -0
  1479. /package/dist/{ui → ui-public}/src/hooks/useCopyToClipboard.d.ts +0 -0
  1480. /package/dist/{ui → ui-public}/src/hooks/useDebounceOnBoolean.d.ts +0 -0
  1481. /package/dist/{ui → ui-public}/src/hooks/useDebouncedCallback.d.ts +0 -0
  1482. /package/dist/{ui → ui-public}/src/hooks/useDebouncedValue.d.ts +0 -0
  1483. /package/dist/{ui → ui-public}/src/hooks/useDeepCompareEffect.d.ts +0 -0
  1484. /package/dist/{ui → ui-public}/src/hooks/useDidUpdateEffect.d.ts +0 -0
  1485. /package/dist/{ui → ui-public}/src/hooks/useElementLayout.d.ts +0 -0
  1486. /package/dist/{ui → ui-public}/src/hooks/useMediaQuery.d.ts +0 -0
  1487. /package/dist/{ui → ui-public}/src/hooks/useRovingKeyDown.d.ts +0 -0
  1488. /package/dist/{ui → ui-public}/src/hooks/useShallowEqual.d.ts +0 -0
  1489. /package/dist/{ui → ui-public}/src/layout/ListOrOverview.d.ts +0 -0
  1490. /package/dist/{ui → ui-public}/src/layout/Page/Page.d.ts +0 -0
  1491. /package/dist/{ui → ui-public}/src/layout/Page/PageContent.d.ts +0 -0
  1492. /package/dist/{ui → ui-public}/src/layout/Page/PageSection.d.ts +0 -0
  1493. /package/dist/{ui → ui-public}/src/layout/Page/index.d.ts +0 -0
  1494. /package/dist/{ui → ui-public}/src/layout/Pane/PaneAriaLabel.d.ts +0 -0
  1495. /package/dist/{ui → ui-public}/src/layout/Pane/PaneRegion.d.ts +0 -0
  1496. /package/dist/{ui → ui-public}/src/layout/Toolbar/Divider.d.ts +0 -0
  1497. /package/dist/{ui → ui-public}/src/layout/Toolbar/DotsDropdown.d.ts +0 -0
  1498. /package/dist/{ui → ui-public}/src/layout/Toolbar/Fill.d.ts +0 -0
  1499. /package/dist/{ui → ui-public}/src/layout/Toolbar/FilterInput.d.ts +0 -0
  1500. /package/dist/{ui → ui-public}/src/layout/Toolbar/Group.d.ts +0 -0
  1501. /package/dist/{ui → ui-public}/src/layout/Toolbar/Search.d.ts +0 -0
  1502. /package/dist/{ui → ui-public}/src/layout/Toolbar/Space.d.ts +0 -0
  1503. /package/dist/{ui → ui-public}/src/layout/Toolbar/Spinner.d.ts +0 -0
  1504. /package/dist/{ui → ui-public}/src/layout/Toolbar/Subtitle.d.ts +0 -0
  1505. /package/dist/{ui → ui-public}/src/layout/Toolbar/TextualDropdown.d.ts +0 -0
  1506. /package/dist/{ui → ui-public}/src/layout/Toolbar/Title.d.ts +0 -0
  1507. /package/dist/{ui → ui-public}/src/layout/Toolbar/index.d.ts +0 -0
  1508. /package/dist/{ui → ui-public}/src/layout/sidebarPanelStorage.d.ts +0 -0
  1509. /package/dist/{ui → ui-public}/src/lists/ActionOrMenu.d.ts +0 -0
  1510. /package/dist/{ui → ui-public}/src/lists/EntityRow.d.ts +0 -0
  1511. /package/dist/{ui → ui-public}/src/lists/EntitySummary.d.ts +0 -0
  1512. /package/dist/{ui → ui-public}/src/lists/ListArea.d.ts +0 -0
  1513. /package/dist/{ui → ui-public}/src/lists/Table/Body.d.ts +0 -0
  1514. /package/dist/{ui → ui-public}/src/lists/Table/Cell.d.ts +0 -0
  1515. /package/dist/{ui → ui-public}/src/lists/Table/Header.d.ts +0 -0
  1516. /package/dist/{ui → ui-public}/src/lists/Table/cells/IconCell.d.ts +0 -0
  1517. /package/dist/{ui → ui-public}/src/lists/Table/cells/StatusCell.d.ts +0 -0
  1518. /package/dist/{ui → ui-public}/src/lists/Table/cells/TimeCell.d.ts +0 -0
  1519. /package/dist/{ui → ui-public}/src/lists/Table/index.d.ts +0 -0
  1520. /package/dist/{ui → ui-public}/src/lists/Table/layout.d.ts +0 -0
  1521. /package/dist/{ui → ui-public}/src/lists/Table/storage.d.ts +0 -0
  1522. /package/dist/{ui → ui-public}/src/lists/Table/types.d.ts +0 -0
  1523. /package/dist/{ui → ui-public}/src/lists/Table/useClientSort.d.ts +0 -0
  1524. /package/dist/{ui → ui-public}/src/lists/dnd/DropIndicator.d.ts +0 -0
  1525. /package/dist/{ui → ui-public}/src/lists/dnd/index.d.ts +0 -0
  1526. /package/dist/{ui → ui-public}/src/lists/dnd/index.js +0 -0
  1527. /package/dist/{ui → ui-public}/src/lists/dnd/reorder.d.ts +0 -0
  1528. /package/dist/{ui → ui-public}/src/lists/dnd/tree/TreeRowContext.d.ts +0 -0
  1529. /package/dist/{ui → ui-public}/src/lists/dnd/tree/types.d.ts +0 -0
  1530. /package/dist/{ui → ui-public}/src/lists/dnd/tree/utils.d.ts +0 -0
  1531. /package/dist/{ui → ui-public}/src/lists/dnd/types.d.ts +0 -0
  1532. /package/dist/{ui → ui-public}/src/lists/dnd/useDragMonitor.d.ts +0 -0
  1533. /package/dist/{ui → ui-public}/src/lists/dnd/useDraggable.d.ts +0 -0
  1534. /package/dist/{ui → ui-public}/src/lists/dnd/useDropTarget.d.ts +0 -0
  1535. /package/dist/{ui → ui-public}/src/lists/dnd/useFileDropTarget.d.ts +0 -0
  1536. /package/dist/{ui → ui-public}/src/lists/dnd/useFilePicker.d.ts +0 -0
  1537. /package/dist/{ui → ui-public}/src/lists/dnd/useIsFileDragActive.d.ts +0 -0
  1538. /package/dist/{ui → ui-public}/src/navigation/SidebarTree/index.d.ts +0 -0
  1539. /package/dist/{ui → ui-public}/src/navigation/Tabs.d.ts +0 -0
  1540. /package/dist/{ui → ui-public}/src/overlays/Portal.d.ts +0 -0
  1541. /package/dist/{ui → ui-public}/src/overlays/floatingTrigger.d.ts +0 -0
  1542. /package/dist/{ui → ui-public}/src/patterns/ListDetail/Widths.d.ts +0 -0
  1543. /package/dist/{ui → ui-public}/src/semantic/Aside.d.ts +0 -0
  1544. /package/dist/{ui → ui-public}/src/semantic/Main.d.ts +0 -0
  1545. /package/dist/{ui → ui-public}/src/utils/pointerNearGap.d.ts +0 -0
  1546. /package/dist/{ui → ui-public}/src/utils/pointerNearGap.js +0 -0
  1547. /package/dist/{ui → ui-public}/src/utils/types.d.ts +0 -0
package/dist/styles.css CHANGED
@@ -1,10 +1,11 @@
1
- /* The CSS of react-ui: the foundation of ui without the fonts of the cms and
2
- without the colors, then the blocks of the shipped components. The host
1
+ /* The CSS of react-ui: the foundation of ui-public with only the fonts that
2
+ www.datocms.com serves and without the colors, then the blocks of the
3
+ shipped components. The host
3
4
  gives the color tokens (ctx.cssDesignTokens on the Canvas element), thus
4
- the ramps and the semantic tokens of ui do not ship.
5
+ the ramps and the semantic tokens of ui-public do not ship.
5
6
 
6
7
  The blocks keep the order of the cascade of the apps (the order of
7
- packages/ui/stories/main.css). A block ships only when a shipped
8
+ packages/ui-public/stories/main.css). A block ships only when a shipped
8
9
  component uses its classes. */
9
10
 
10
11
  /* The context files must be first for postcss-custom-media and
@@ -22,13 +23,23 @@
22
23
  disabled control keeps the colors of its rest state. It adds no
23
24
  specificity: a rule of a component that changes the hover still wins. */
24
25
 
25
- /* The face of ABC Oracle, from the same URL as the apps (see
26
- ../../ui/styles/_font-faces.css). The file name has no version, thus a new
27
- file in the bucket gets to each plugin, also to an old one. The response
28
- sends CORS, because the plugins run on other origins.
29
-
30
- The build does not copy local font files, thus the other fonts of the cms
31
- do not ship. */
26
+ /*
27
+ * www.datocms.com serves these fonts, thus the apps, the plugins (react-ui)
28
+ * and the website use one copy of each file. The response sends CORS,
29
+ * because the plugins run on other origins. The file names have no version,
30
+ * thus a new file in the bucket gets to all of them, also to an old plugin.
31
+ *
32
+ * ABC Oracle comes from a private R2 bucket (workers/ui-fonts in the
33
+ * astro-website repository). Do not put a copy of the file in a repository:
34
+ * the Dinamo licence does not allow it. The x-height of ABC Oracle is 4%
35
+ * lower than the x-height of Geist. "size-adjust" makes the text a little
36
+ * larger.
37
+ *
38
+ * Geist Mono has the files and the unicode ranges of
39
+ * @fontsource-variable/geist-mono. The browser downloads only the subsets
40
+ * of the text. A new subset needs its file in the bucket and in the `FILES`
41
+ * list of the Worker first.
42
+ */
32
43
  @font-face {
33
44
  font-family: "ABC Oracle";
34
45
  font-style: normal;
@@ -38,21 +49,83 @@
38
49
  format("woff2");
39
50
  size-adjust: 102%;
40
51
  }
52
+
53
+ @font-face {
54
+ font-family: "Geist Mono Variable";
55
+ font-style: normal;
56
+ font-weight: 100 900;
57
+ font-display: swap;
58
+ src: url("https://www.datocms.com/fonts/GeistMonoVariable-cyrillic-ext.woff2")
59
+ format("woff2");
60
+ unicode-range:
61
+ U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
62
+ }
63
+
64
+ @font-face {
65
+ font-family: "Geist Mono Variable";
66
+ font-style: normal;
67
+ font-weight: 100 900;
68
+ font-display: swap;
69
+ src: url("https://www.datocms.com/fonts/GeistMonoVariable-cyrillic.woff2")
70
+ format("woff2");
71
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
72
+ }
73
+
74
+ @font-face {
75
+ font-family: "Geist Mono Variable";
76
+ font-style: normal;
77
+ font-weight: 100 900;
78
+ font-display: swap;
79
+ src: url("https://www.datocms.com/fonts/GeistMonoVariable-symbols2.woff2")
80
+ format("woff2");
81
+ unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
82
+ }
83
+
84
+ @font-face {
85
+ font-family: "Geist Mono Variable";
86
+ font-style: normal;
87
+ font-weight: 100 900;
88
+ font-display: swap;
89
+ src: url("https://www.datocms.com/fonts/GeistMonoVariable-vietnamese.woff2")
90
+ format("woff2");
91
+ unicode-range:
92
+ U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
93
+ }
94
+
95
+ @font-face {
96
+ font-family: "Geist Mono Variable";
97
+ font-style: normal;
98
+ font-weight: 100 900;
99
+ font-display: swap;
100
+ src: url("https://www.datocms.com/fonts/GeistMonoVariable-latin-ext.woff2")
101
+ format("woff2");
102
+ unicode-range:
103
+ U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
104
+ }
105
+
106
+ @font-face {
107
+ font-family: "Geist Mono Variable";
108
+ font-style: normal;
109
+ font-weight: 100 900;
110
+ font-display: swap;
111
+ src: url("https://www.datocms.com/fonts/GeistMonoVariable-latin.woff2")
112
+ format("woff2");
113
+ unicode-range:
114
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
115
+ }
41
116
  :root {
42
117
  /* Fonts. Keep the noto-script-fallback families last before the generic
43
118
  family: they lazily cover scripts our fonts lack (see
44
119
  _noto-script-fallback.css). */
45
120
  --base-font-family:
46
- "ABC Oracle", "Geist", "Helvetica Neue", Helvetica, Roboto, Arial,
121
+ "ABC Oracle", "Geist Variable", "Helvetica Neue", Helvetica, Roboto, Arial,
47
122
  "noto-script-fallback", "noto-script-fallback-static", sans-serif;
48
123
  --monospaced-font-family:
49
- "Geist Mono", "Menlo", "Bitstream Vera Sans Mono", Consolas, Courier,
50
- "noto-script-fallback", "noto-script-fallback-static", monospace;
124
+ "Geist Mono Variable", "Menlo", "Bitstream Vera Sans Mono", Consolas,
125
+ Courier, "noto-script-fallback", "noto-script-fallback-static", monospace;
51
126
  /* Code is a little smaller than the text around it, because the
52
127
  monospaced font looks larger. For inline code and for code blocks. */
53
128
  --monospaced-font-size: 0.9em;
54
- --cursive-font-family:
55
- "Pangolin", "noto-script-fallback", "noto-script-fallback-static", cursive;
56
129
  /* The weight of the text. */
57
130
  --font-weight-regular: 340;
58
131
  /* The weight of titles, labels and words with emphasis. */
@@ -178,16 +251,16 @@
178
251
  :root {
179
252
  --z-index-notifications: 10500;
180
253
  }
181
- /* The plugins use ABC Oracle, as the cms. Geist, Pangolin and the
182
- noto-script-fallback families do not ship, thus the stacks go to the
183
- system fonts after ABC Oracle. The weights are the ones of
184
- ../../ui/styles/_css-variables.css. */
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
256
+ the system fonts after them. The weights are the ones of
257
+ ../../ui-public/styles/_css-variables.css. */
185
258
  :root {
186
259
  --base-font-family:
187
260
  "ABC Oracle", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
188
261
  --monospaced-font-family:
189
- "Menlo", "Bitstream Vera Sans Mono", Consolas, Courier, monospace;
190
- --cursive-font-family: cursive;
262
+ "Geist Mono Variable", "Menlo", "Bitstream Vera Sans Mono", Consolas,
263
+ Courier, monospace;
191
264
  }
192
265
  /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css*/
193
266
 
@@ -504,12 +577,11 @@ input {
504
577
  height: auto;
505
578
  }
506
579
  }
580
+ /* We do not set box-sizing here. A search input keeps the border-box of
581
+ the other text inputs (_base.css), thus it fits its container. */
507
582
  &[type="search"] {
508
- box-sizing: content-box;
509
583
  -webkit-appearance: textfield;
510
584
 
511
- /* 2*/
512
-
513
585
  &::-webkit-search-cancel-button,
514
586
  &::-webkit-search-decoration {
515
587
  -moz-appearance: none;
@@ -533,8 +605,7 @@ input {
533
605
  * decrement button to change from `default` to `text`.*/
534
606
 
535
607
  /**
536
- * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
537
- * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.*/
608
+ * Address `appearance` set to `searchfield` in Safari and Chrome.*/
538
609
 
539
610
  /**
540
611
  * Remove inner padding and search cancel button in Safari and Chrome on OS X.
@@ -589,7 +660,6 @@ th {
589
660
  }
590
661
  html,
591
662
  body {
592
- height: 100%;
593
663
  background-color: var(--color--surface);
594
664
  }
595
665
  /* On a phone, all the interface is a step smaller. The sizes and the spaces
@@ -607,10 +677,13 @@ body {
607
677
  font-synthesis-weight: none;
608
678
  font-size: var(--font-size-m);
609
679
  -webkit-text-size-adjust: 100%;
610
- height: 100%;
611
680
  line-height: 1.4;
612
681
  color: var(--color--ink);
613
682
  text-rendering: optimizeLegibility;
683
+ /* A long word (a URL, an id) breaks only when it does not fit in its
684
+ line. "anywhere" would also change the min-content width, and the
685
+ grid and flex layouts would change. */
686
+ overflow-wrap: break-word;
614
687
  }
615
688
  /* Selected text has the colors of a selected row, thus it follows the brand
616
689
  hue and the color scheme */
@@ -825,7 +898,7 @@ input:where([type="checkbox"]) {
825
898
  width: 0.75em;
826
899
  height: 0.75em;
827
900
  content: "";
828
- background-color: var(--color--primary--ink);
901
+ background-color: var(--color--control-on--ink);
829
902
  mask:
830
903
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
831
904
  center / contain no-repeat;
@@ -843,8 +916,8 @@ input:where([type="checkbox"]) {
843
916
  cursor: default;
844
917
  }
845
918
  &:checked {
846
- background-color: var(--color--primary--surface);
847
- border-color: var(--color--primary--surface);
919
+ background-color: var(--color--control-on--surface);
920
+ border-color: var(--color--control-on--surface);
848
921
 
849
922
  &::before {
850
923
  transform: scale(1);
@@ -852,8 +925,8 @@ input:where([type="checkbox"]) {
852
925
  &:not(:disabled, [aria-readonly="true"]):hover,
853
926
  label:not(:has(:disabled, [aria-readonly="true"])):hover
854
927
  &:not(:disabled, [aria-readonly="true"]) {
855
- background-color: var(--color--primary--surface-hover);
856
- border-color: var(--color--primary--surface-hover);
928
+ background-color: var(--color--control-on--surface-hover);
929
+ border-color: var(--color--control-on--surface-hover);
857
930
  }
858
931
  }
859
932
  &:focus-visible {
@@ -910,8 +983,25 @@ input:-webkit-autofill {
910
983
  color: inherit !important;
911
984
  background-color: transparent !important;
912
985
  }
913
- svg {
914
- fill: var(--color--ink);
986
+ /* An icon takes the color of its text: set "color" on an icon, not "fill".
987
+ The value goes down as the keyword, thus each icon reads its own color.
988
+ It is not a rule on svg: that rule would win over the fill attribute of
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 {
997
+ fill: currentColor;
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;
915
1005
  }
916
1006
  button {
917
1007
  box-sizing: border-box;
@@ -978,6 +1068,33 @@ button {
978
1068
  display: contents;
979
1069
  }
980
1070
 
1071
+ /*
1072
+ * Transparency checkerboard. Uses semantic surface tokens so it flips with
1073
+ * the theme (subtle tint in light mode, subtle contrast in dark mode) instead
1074
+ * of showing a fixed light-on-dark pattern.
1075
+ */
1076
+ .checkboard-bg {
1077
+ background-color: var(--color--surface);
1078
+ background-image:
1079
+ linear-gradient(
1080
+ 45deg,
1081
+ var(--color--surface-muted) 25%,
1082
+ transparent 25%,
1083
+ transparent 75%,
1084
+ var(--color--surface-muted) 75%
1085
+ ),
1086
+ linear-gradient(
1087
+ 45deg,
1088
+ var(--color--surface-muted) 25%,
1089
+ transparent 25%,
1090
+ transparent 75%,
1091
+ var(--color--surface-muted) 75%
1092
+ );
1093
+ background-position:
1094
+ 0 0,
1095
+ 5px 5px;
1096
+ background-size: 10px 10px;
1097
+ }
981
1098
  /* Only as wide as its content: the blank slate does not cover the content at
982
1099
  its sides */
983
1100
  .blank-slate--area {
@@ -1048,7 +1165,6 @@ button {
1048
1165
  svg {
1049
1166
  width: 32px;
1050
1167
  height: 32px;
1051
- fill: currentColor;
1052
1168
  }
1053
1169
  }
1054
1170
  /* Spinner--centered is "position: absolute" at 50%. This box holds the
@@ -1083,11 +1199,14 @@ button {
1083
1199
  gap: var(--spacing-m);
1084
1200
  align-items: flex-start;
1085
1201
  }
1202
+ /* The slate centers its parts and makes them as wide as their content, thus
1203
+ a long button gets an ellipsis only with "max-width" */
1086
1204
  .blank-slate__actions {
1087
1205
  display: flex;
1088
1206
  flex-wrap: wrap;
1089
1207
  gap: var(--spacing-s);
1090
1208
  align-items: center;
1209
+ max-width: 100%;
1091
1210
  margin-top: var(--spacing-s);
1092
1211
  }
1093
1212
  /* The content can have a form, thus it uses all the width */
@@ -1146,7 +1265,14 @@ button {
1146
1265
  --chevron-color: currentColor;
1147
1266
 
1148
1267
  box-sizing: border-box;
1149
- display: inline-block;
1268
+ /* A button is never wider than its container: the label gets the
1269
+ ellipsis, and the icons and the chevron keep their size. A button
1270
+ element is as wide as its content, also as a block, thus it needs
1271
+ "max-width". */
1272
+ display: inline-flex;
1273
+ align-items: center;
1274
+ justify-content: center;
1275
+ max-width: 100%;
1150
1276
  padding: var(--button-pad-y) var(--button-pad-x);
1151
1277
  font-family: inherit;
1152
1278
  font-size: 1.1em;
@@ -1177,14 +1303,17 @@ button {
1177
1303
  > span {
1178
1304
  position: relative;
1179
1305
  top: 0.06em;
1306
+ min-width: 0;
1307
+ overflow: hidden;
1308
+ text-overflow: ellipsis;
1180
1309
  }
1181
1310
  svg,
1182
1311
  i,
1183
1312
  .Spinner {
1184
1313
  display: inline-block;
1314
+ flex: none;
1185
1315
  line-height: 0.6;
1186
1316
  vertical-align: middle;
1187
- fill: var(--color--primary-soft--ink);
1188
1317
 
1189
1318
  &:first-child {
1190
1319
  margin-right: 0.5em;
@@ -1197,9 +1326,14 @@ button {
1197
1326
  margin-left: 0;
1198
1327
  }
1199
1328
  }
1329
+ /* Only the svg takes the color. The bars of a .Spinner paint with
1330
+ currentColor, thus they keep the color of the text of the button. */
1331
+ svg {
1332
+ color: var(--color--primary-soft--ink);
1333
+ }
1200
1334
  > .Pill:last-child {
1335
+ flex: none;
1201
1336
  margin-left: 0.5em;
1202
- vertical-align: middle;
1203
1337
  }
1204
1338
  }
1205
1339
  .button--micro,
@@ -1252,14 +1386,9 @@ button {
1252
1386
  .button--large {
1253
1387
  font-size: 1.2em;
1254
1388
  }
1255
- .button--ellipsis {
1256
- overflow: hidden;
1257
- text-overflow: ellipsis;
1258
- }
1259
1389
  .button--expand {
1260
- display: block;
1390
+ display: flex;
1261
1391
  width: 100%;
1262
- text-align: center;
1263
1392
  }
1264
1393
  .button--expand-on-mobile {
1265
1394
  width: 100%;
@@ -1268,6 +1397,28 @@ button {
1268
1397
  width: auto;
1269
1398
  }
1270
1399
  }
1400
+ /* A soft toggle that is on has the recipe of a selected row: the solid
1401
+ recipe would make it look like the primary action. The rule comes after
1402
+ the states of the soft tone, thus a focused toggle keeps it: the focus
1403
+ stays on the button after the click. The border is an inset shadow, thus
1404
+ the size of the button does not change. */
1405
+ .button--soft[aria-pressed="true"] {
1406
+ --button-pressed-border: inset 0 0 0 1px var(--color--selected--border);
1407
+
1408
+ color: var(--color--selected--ink);
1409
+ background-color: var(--color--selected--surface);
1410
+ box-shadow: var(--button-pressed-border);
1411
+
1412
+ svg {
1413
+ color: var(--color--selected--ink);
1414
+ }
1415
+ &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
1416
+ background-color: var(--color--selected--surface-hover);
1417
+ }
1418
+ &:focus-visible {
1419
+ box-shadow: var(--button-pressed-border), var(--focus-ring);
1420
+ }
1421
+ }
1271
1422
  .button--primary {
1272
1423
  color: var(--color--primary--ink);
1273
1424
  background-color: var(--color--primary--surface);
@@ -1289,27 +1440,29 @@ button {
1289
1440
  }
1290
1441
 
1291
1442
  svg {
1292
- fill: var(--color--primary--ink);
1443
+ color: var(--color--primary--ink);
1293
1444
  }
1294
1445
  }
1295
1446
  .button--accent-color {
1296
1447
  svg {
1297
- fill: var(--color--ink);
1448
+ color: var(--color--ink);
1298
1449
  }
1299
1450
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
1300
1451
  color: var(--color--ink-link);
1301
1452
 
1302
1453
  svg {
1303
- fill: var(--color--ink-link);
1454
+ color: var(--color--ink-link);
1304
1455
  }
1305
1456
  }
1306
1457
  }
1458
+ /* A block that paints its own ground sets --button-overlay-ink to the ink of
1459
+ that ground (see _NavigationBar.css) */
1307
1460
  .button--rev {
1308
- color: var(--color--overlay--ink);
1461
+ color: var(--button-overlay-ink, var(--color--overlay--ink));
1309
1462
  background: var(--color--overlay--surface);
1310
1463
 
1311
1464
  svg {
1312
- fill: var(--color--overlay--ink);
1465
+ color: var(--button-overlay-ink, var(--color--overlay--ink));
1313
1466
  }
1314
1467
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
1315
1468
  background: var(--color--overlay--surface-hover);
@@ -1325,7 +1478,7 @@ button {
1325
1478
  border-width: 0;
1326
1479
 
1327
1480
  svg {
1328
- fill: var(--color--primary-inverse--ink);
1481
+ color: var(--color--primary-inverse--ink);
1329
1482
  }
1330
1483
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover,
1331
1484
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus {
@@ -1341,7 +1494,7 @@ button {
1341
1494
  border-width: 0;
1342
1495
 
1343
1496
  svg {
1344
- fill: var(--color--danger--ink);
1497
+ color: var(--color--danger--ink);
1345
1498
  }
1346
1499
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover,
1347
1500
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus,
@@ -1350,7 +1503,7 @@ button {
1350
1503
  background-color: var(--color--danger--surface);
1351
1504
 
1352
1505
  svg {
1353
- fill: var(--color--danger--ink);
1506
+ color: var(--color--danger--ink);
1354
1507
  }
1355
1508
  }
1356
1509
  }
@@ -1362,7 +1515,7 @@ button {
1362
1515
  color: var(--color--ink);
1363
1516
 
1364
1517
  svg {
1365
- fill: var(--color--ink);
1518
+ color: var(--color--ink);
1366
1519
  }
1367
1520
  }
1368
1521
  }
@@ -1370,7 +1523,7 @@ button {
1370
1523
  color: var(--color--ink-subtle);
1371
1524
 
1372
1525
  svg {
1373
- fill: var(--color--ink-subtle);
1526
+ color: var(--color--ink-subtle);
1374
1527
  }
1375
1528
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover,
1376
1529
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus,
@@ -1386,7 +1539,8 @@ button {
1386
1539
  Do not write the states again in the block:
1387
1540
  --button-ghost-ink the text and the icon at rest
1388
1541
  --button-ghost-hover-ink the text and the icon on hover and focus
1389
- --button-ghost-hover-surface the surface on hover and focus
1542
+ --button-ghost-hover-surface the surface on hover and focus, and while
1543
+ the button is pressed or its menu is open
1390
1544
  --button-ghost-active-surface the surface while the pointer is down
1391
1545
  --button-ghost-pressed-ink the text and the icon while the button is
1392
1546
  pressed or its menu is open */
@@ -1400,7 +1554,7 @@ button {
1400
1554
  transition: background-color 0.2s var(--material-ease);
1401
1555
 
1402
1556
  svg {
1403
- fill: var(--button-ghost-ink, var(--color--ink-subtle));
1557
+ color: var(--button-ghost-ink, var(--color--ink-subtle));
1404
1558
  }
1405
1559
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus {
1406
1560
  background-color: transparent;
@@ -1415,7 +1569,7 @@ button {
1415
1569
  );
1416
1570
 
1417
1571
  svg {
1418
- fill: var(--button-ghost-hover-ink, var(--color--ink));
1572
+ color: var(--button-ghost-hover-ink, var(--color--ink));
1419
1573
  }
1420
1574
  }
1421
1575
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):active {
@@ -1424,12 +1578,18 @@ button {
1424
1578
  var(--button-ghost-hover-surface, var(--color--surface-hover))
1425
1579
  );
1426
1580
  }
1581
+ /* The hover surface stays while the button is on. The ink alone does not
1582
+ show the state in the dark scheme: the link ink is near the subtle ink. */
1427
1583
  &[aria-pressed="true"],
1428
1584
  &[aria-expanded="true"] {
1429
1585
  color: var(--button-ghost-pressed-ink, var(--color--ink-link));
1586
+ background-color: var(
1587
+ --button-ghost-hover-surface,
1588
+ var(--color--surface-hover)
1589
+ );
1430
1590
 
1431
1591
  svg {
1432
- fill: var(--button-ghost-pressed-ink, var(--color--ink-link));
1592
+ color: var(--button-ghost-pressed-ink, var(--color--ink-link));
1433
1593
  }
1434
1594
  }
1435
1595
  }
@@ -1442,8 +1602,8 @@ button {
1442
1602
  --button-ghost-hover-surface: var(--color--danger-soft--surface);
1443
1603
  }
1444
1604
  /* A ghost button in a line of text or in a row of values: a value that the
1445
- click changes or copies (see TextualTrigger.tsx, CopyableId.tsx and the
1446
- ".InlineValue.is-editable" block). Use it alone, without ".button". It is different from
1605
+ click changes or copies (see TextualTrigger.tsx, CopyableId.tsx and
1606
+ "_InfoList.css"). Use it alone, without ".button". It is different from
1447
1607
  ".button--ghost" in two points. It keeps the ink of the text around it,
1448
1608
  because it is a value, not a secondary action. And it keeps the place of
1449
1609
  the text: the surface is a pseudo-element out of the box, so the value
@@ -1476,6 +1636,7 @@ button {
1476
1636
  the surface behind the buttons shows through it, thus it is correct for
1477
1637
  each type of button. */
1478
1638
  gap: 1px;
1639
+ max-width: 100%;
1479
1640
 
1480
1641
  /* The caret is in the root element of its Dropdown */
1481
1642
  & > * {
@@ -1494,6 +1655,11 @@ button {
1494
1655
  .button--sub {
1495
1656
  border-radius: 0;
1496
1657
  }
1658
+ /* A long label of the main half gets the ellipsis, thus the caret stays in
1659
+ the container. */
1660
+ .button--container > .button--sub {
1661
+ min-width: 0;
1662
+ }
1497
1663
  /* A disabled button keeps the colors of its variant and fades, thus a
1498
1664
  disabled primary button still reads as the primary action. The rules of
1499
1665
  the variants show the hover only on an enabled button (see ":--enabled"),
@@ -1537,7 +1703,7 @@ button {
1537
1703
  two classes. Thus they have more priority than a rule of a container that
1538
1704
  sets the size or the color of all its icons.
1539
1705
 
1540
- Do not set the fill of a chevron out of this file: set --chevron-color.
1706
+ Do not set the color of a chevron out of this file: set --chevron-color.
1541
1707
  A colored surface (a button, a pill, the navigation bar) sets it to
1542
1708
  currentColor: the chevron then has the color of the text in all the
1543
1709
  states. A control that is not a button or a link sets it to
@@ -1546,12 +1712,14 @@ button {
1546
1712
  .Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more) {
1547
1713
  display: inline-block;
1548
1714
  flex: none;
1549
- width: max(10px, 0.75em);
1550
- height: max(10px, 0.75em);
1715
+ /* A Lucide chevron fills only the middle of its box, thus the box is larger
1716
+ than the text, as in shadcn/ui (16px next to a text of 14px) */
1717
+ width: max(14px, 1.125em);
1718
+ height: max(14px, 1.125em);
1551
1719
  vertical-align: middle;
1552
- fill: var(--chevron-color, var(--color--ink-subtle));
1720
+ color: var(--chevron-color, var(--color--ink-subtle));
1553
1721
  transition:
1554
- fill 0.2s var(--material-ease),
1722
+ color 0.2s var(--material-ease),
1555
1723
  transform 0.2s var(--material-ease);
1556
1724
  }
1557
1725
 
@@ -1563,7 +1731,7 @@ button {
1563
1731
  .Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more),
1564
1732
  :is(button, [role="button"])[aria-expanded="true"] .Chevron.Chevron--menu,
1565
1733
  .SelectInput__control.is-open .Chevron.Chevron--menu {
1566
- fill: var(--chevron-color, var(--color--ink));
1734
+ color: var(--chevron-color, var(--color--ink));
1567
1735
  }
1568
1736
 
1569
1737
  /* The chevron reads the state of its control: aria-expanded, :disabled,
@@ -1571,7 +1739,7 @@ button {
1571
1739
  classes tell the state. */
1572
1740
  :is(:disabled, [aria-disabled="true"], .SelectInput__control.is-disabled)
1573
1741
  .Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more) {
1574
- fill: var(--chevron-color, var(--color--ink-disabled));
1742
+ color: var(--chevron-color, var(--color--ink-disabled));
1575
1743
  }
1576
1744
 
1577
1745
  /* The spinner is larger than the box of the chevron: it goes out of the box
@@ -1581,14 +1749,15 @@ button {
1581
1749
  align-items: center;
1582
1750
  justify-content: center;
1583
1751
  }
1584
- /* The actions also show when the menu of an action is open
1585
- (.Dropdown.is-open). */
1752
+ /* The message and the actions are in the same cell of the grid, one on the
1753
+ other. Thus the slot gets the height of the taller one: actions that wrap
1754
+ on two lines make the slot taller and do not go out of it. The actions
1755
+ also show when the menu of an action is open (.Dropdown.is-open). */
1586
1756
  .EmptySlot {
1587
- position: relative;
1588
1757
  box-sizing: border-box;
1589
- display: flex;
1590
- align-items: center;
1591
- justify-content: center;
1758
+ display: grid;
1759
+ grid-template-columns: minmax(0, 1fr);
1760
+ place-items: center;
1592
1761
  width: 100%;
1593
1762
  min-height: calc(4 * var(--space-unit));
1594
1763
  padding: 0 var(--spacing-m);
@@ -1613,18 +1782,22 @@ button.EmptySlot {
1613
1782
  box-shadow: var(--focus-ring);
1614
1783
  }
1615
1784
  }
1785
+ .EmptySlot > * {
1786
+ grid-area: 1 / 1;
1787
+ }
1616
1788
  .EmptySlot__message {
1617
1789
  font-size: var(--font-size-m);
1618
1790
  color: var(--color--ink-subtle);
1619
1791
  transition: opacity 0.15s ease-out;
1620
1792
  }
1621
1793
  .EmptySlot__actions {
1622
- position: absolute;
1623
- inset: 0;
1624
1794
  display: flex;
1795
+ flex-wrap: wrap;
1625
1796
  gap: var(--spacing-s);
1626
1797
  align-items: center;
1627
1798
  justify-content: center;
1799
+ max-width: 100%;
1800
+ padding-block: var(--spacing-s);
1628
1801
  opacity: 0;
1629
1802
  transition: opacity 0.15s ease-out;
1630
1803
 
@@ -1927,24 +2100,38 @@ button.EmptySlot {
1927
2100
  width: 1rem;
1928
2101
 
1929
2102
  svg {
1930
- fill: var(--color--ink-subtle);
2103
+ color: var(--color--ink-subtle);
1931
2104
  }
1932
2105
  }
1933
- .CardList__title {
2106
+ /* The parts of the header and the trailing part of a row share the width
2107
+ in equal parts, and a part that needs less gives the rest to the others
2108
+ (see .EntityRow__title). Thus a short title stays whole next to a long
2109
+ API key, and no part becomes 0px wide. */
2110
+ :is(.CardList__title, .CardList__aside, .CardList__trailing) {
2111
+ flex: 1 1 0;
1934
2112
  min-width: 0;
2113
+ max-width: max-content;
2114
+ }
2115
+ .CardList__title {
1935
2116
  overflow: hidden;
1936
2117
  text-overflow: ellipsis;
1937
2118
  font-weight: var(--font-weight-strong);
1938
2119
  white-space: nowrap;
1939
2120
  }
1940
2121
  .CardList__aside {
1941
- flex: none;
2122
+ overflow: hidden;
2123
+ text-overflow: ellipsis;
1942
2124
  color: var(--color--ink-subtle);
2125
+ white-space: nowrap;
1943
2126
  }
2127
+ /* The pills of the part share its width as the parts of an EntityRow
2128
+ title. The gap is the gap of the header or of the row. */
1944
2129
  .CardList__trailing {
1945
- display: flex;
1946
- flex: none;
1947
- gap: var(--spacing-s);
2130
+ display: grid;
2131
+ grid-auto-columns: minmax(0, max-content);
2132
+ grid-auto-flow: column;
2133
+ gap: inherit;
2134
+ align-items: center;
1948
2135
  margin-left: auto;
1949
2136
  }
1950
2137
 
@@ -2211,7 +2398,7 @@ button.EmptySlot {
2211
2398
  display: block;
2212
2399
  width: 1em;
2213
2400
  height: 1em;
2214
- fill: var(--color--ink-subtle);
2401
+ color: var(--color--ink-subtle);
2215
2402
  }
2216
2403
  .InsertGap:is([data-near],
2217
2404
  :hover,
@@ -2225,7 +2412,7 @@ button.EmptySlot {
2225
2412
  background-color: var(--color--primary-soft--surface);
2226
2413
 
2227
2414
  svg {
2228
- fill: var(--color--primary-soft--ink);
2415
+ color: var(--color--primary-soft--ink);
2229
2416
  }
2230
2417
  }
2231
2418
  .InsertGap__bar:focus-visible & {
@@ -2278,10 +2465,19 @@ button.EmptySlot {
2278
2465
  --InsertGap-on: 1;
2279
2466
  }
2280
2467
  }
2468
+ /* A key has no spaces, thus a long key does not wrap: it ends with an
2469
+ ellipsis at the edge of its place. "clip" does not make a scroll
2470
+ container, thus the key stays on the baseline of the text around it. */
2281
2471
  .ApiKey {
2472
+ display: inline-block;
2473
+ min-width: 0;
2474
+ max-width: 100%;
2475
+ overflow: clip;
2476
+ text-overflow: ellipsis;
2282
2477
  font-family: var(--monospaced-font-family);
2283
2478
  font-size: var(--font-size-xs);
2284
2479
  color: var(--color--ink-subtle);
2480
+ white-space: nowrap;
2285
2481
  }
2286
2482
  .form {
2287
2483
  fieldset {
@@ -2323,11 +2519,13 @@ button.EmptySlot {
2323
2519
  .form__label__icon {
2324
2520
  display: inline-block;
2325
2521
  margin-left: var(--spacing-s);
2326
- vertical-align: text-top;
2522
+ /* The same alignment as the buttons in the label (FieldValidations of the
2523
+ cms), thus the icons are on one line */
2524
+ vertical-align: middle;
2327
2525
 
2328
2526
  svg {
2329
2527
  display: block;
2330
- fill: var(--color--ink-subtle);
2528
+ color: var(--color--ink-subtle);
2331
2529
  }
2332
2530
  }
2333
2531
  .form__label__info {
@@ -2363,8 +2561,11 @@ button.EmptySlot {
2363
2561
  between the fields uses it to keep the rhythm of the form. */
2364
2562
  --form-field-gap: var(--spacing-l);
2365
2563
  }
2564
+ /* In a flex row or in a grid, the field is never wider than its place, also
2565
+ when its input holds a long value without spaces */
2366
2566
  .form__field {
2367
2567
  position: relative;
2568
+ min-width: 0;
2368
2569
  margin-bottom: var(--form-field-gap);
2369
2570
  scroll-margin-top: var(--spacing-xxxl);
2370
2571
 
@@ -2375,13 +2576,13 @@ button.EmptySlot {
2375
2576
  width: 100%;
2376
2577
  }
2377
2578
  }
2378
- /* A field around a switch has no label above the switch, thus the hint and
2379
- the error start under the label of the switch. `Field` of the apps also
2579
+ /* A field around a switch has no label above the switch, thus the hint, the
2580
+ status and the error start under the label of the switch. `Field` of the apps also
2380
2581
  adds the class, because its input can wrap the switch in another element.
2381
2582
  `:where` keeps the specificity of the class, thus `SwitchList` can reset
2382
2583
  the margin. */
2383
2584
  :is(.form__field--switch, .form__field:where(:has(> .SwitchInput)))
2384
- :is(.form__hint, .form__error) {
2585
+ :is(.form__hint, .form__status, .form__error) {
2385
2586
  margin-left: calc(var(--switch-width) + var(--switch-gap));
2386
2587
  }
2387
2588
  .form__field--less-margin {
@@ -2504,7 +2705,6 @@ textarea:focus {
2504
2705
  line-height: 1.2;
2505
2706
  color: var(--color--danger-soft--ink);
2506
2707
 
2507
- /* token-audit-disable-next-line cross-context -- special case, does not make sense to add a semantic token */
2508
2708
  &::before {
2509
2709
  display: inline-block;
2510
2710
  width: 8px;
@@ -2540,7 +2740,7 @@ textarea:focus {
2540
2740
  display: inline-block;
2541
2741
  margin-right: 0.5em;
2542
2742
  vertical-align: middle;
2543
- fill: var(--color--ink-link);
2743
+ color: var(--color--ink-link);
2544
2744
  }
2545
2745
  }
2546
2746
  .form__hint__warning {
@@ -2554,9 +2754,62 @@ textarea:focus {
2554
2754
  display: inline-block;
2555
2755
  margin-right: 0.5em;
2556
2756
  vertical-align: middle;
2557
- fill: var(--color--warning-soft--ink);
2757
+ color: var(--color--warning-soft--ink);
2758
+ }
2759
+ }
2760
+ /* A note about a valid value, in the place of the hint (see the status of
2761
+ FieldWrapper) */
2762
+ .form__status {
2763
+ display: flex;
2764
+ gap: var(--spacing-s);
2765
+ /* The icon is on the baseline of the first line, also when the text wraps */
2766
+ align-items: baseline;
2767
+ margin-top: var(--spacing-s);
2768
+ font-size: var(--font-size-m);
2769
+ line-height: 1.4;
2770
+ }
2771
+ .form__status--warning {
2772
+ color: var(--color--ink-warning);
2773
+ }
2774
+ .form__status__icon {
2775
+ /* A box with the height of the capitals, on the baseline. The icon is at
2776
+ the center of the box, thus at the center of the capitals. Layout
2777
+ containment puts the baseline of the box at its bottom. */
2778
+ display: flex;
2779
+ flex-shrink: 0;
2780
+ align-items: center;
2781
+ height: 1cap;
2782
+ contain: layout;
2783
+
2784
+ svg {
2785
+ width: 1.1em;
2786
+ height: 1.1em;
2558
2787
  }
2559
2788
  }
2789
+ /* The fix of the problem, after the text. The short text before the pill
2790
+ and the pill stay on one line. The space before it is the space between
2791
+ two words. */
2792
+ .form__status__fix {
2793
+ display: inline-flex;
2794
+ gap: var(--spacing-s);
2795
+ align-items: center;
2796
+ margin-left: 0.3em;
2797
+ white-space: nowrap;
2798
+ }
2799
+ .form__status__swatch {
2800
+ display: inline-block;
2801
+ flex: none;
2802
+ width: 0.9em;
2803
+ height: 0.9em;
2804
+ background: var(--form-status-swatch);
2805
+ /* A rounded square, as the swatches of ColorInput */
2806
+ border-radius: var(--radius-xs);
2807
+ /* A translucent hairline. It is visible only when the color is near the
2808
+ color of the surface. */
2809
+ /* token-audit-disable-next-line color-mix -- a translucent hairline around the swatch */
2810
+ box-shadow: inset 0 0 0 1px
2811
+ color-mix(in oklch, var(--color--ink) 15%, transparent);
2812
+ }
2560
2813
  .form__input--large.form__input--large {
2561
2814
  font-size: 1.2em;
2562
2815
  font-weight: var(--font-weight-strong);
@@ -2946,21 +3199,27 @@ textarea:focus {
2946
3199
  --Page__group-tint: var(--color--warning-soft--surface);
2947
3200
  --Page__group-outline: var(--color--warning-soft--outline);
2948
3201
  }
2949
- /* The content before a group can have no margin under it (a CardList). The
2950
- margins collapse, thus between two groups the space stays the same. */
3202
+ /* The content before a group can have no margin under it (a CardList or a
3203
+ switch). The margins collapse, thus between two groups the space stays
3204
+ the same. */
2951
3205
  .Page__content > * + .Page__group,
2952
- .Page__content > * + :has(> .Page__group:first-child) {
3206
+ .Page__content > * + :has(> .Page__group:first-child),
3207
+ .Page__content__section > * + .Page__group {
2953
3208
  margin-top: var(--spacing-l);
2954
3209
  }
2955
3210
  /* A form can be around one group (the group is its last child), thus only
2956
- the last group of the content loses the space under it */
3211
+ the last group of the content or of a section loses the space under it */
2957
3212
  .Page__content > .Page__group:last-child,
2958
- .Page__content > :last-child > .Page__group:last-child {
3213
+ .Page__content > :last-child > .Page__group:last-child,
3214
+ .Page__content__section > .Page__group:last-child {
2959
3215
  margin-bottom: 0;
2960
3216
  }
3217
+ /* When the title and the actions do not fit on one line, the actions go
3218
+ under the title. The title never shrinks under them. */
2961
3219
  .Page__group__header {
2962
3220
  display: flex;
2963
- gap: var(--spacing-m);
3221
+ flex-wrap: wrap;
3222
+ gap: var(--spacing-s) var(--spacing-m);
2964
3223
  align-items: center;
2965
3224
  justify-content: space-between;
2966
3225
  padding: var(--spacing-m) var(--Page__group-padding);
@@ -2971,13 +3230,38 @@ textarea:focus {
2971
3230
  border-bottom: 0;
2972
3231
  }
2973
3232
  }
3233
+ /* The whole strip opens and closes the group, not only the title: the
3234
+ toggle stretches over the header, and the actions stay above it. */
3235
+ .Page__group__header--collapsible {
3236
+ position: relative;
3237
+
3238
+ .Page__collapseToggle:not(:disabled)::after {
3239
+ position: absolute;
3240
+ inset: 0;
3241
+ content: "";
3242
+ }
3243
+
3244
+ .Page__group__actions {
3245
+ position: relative;
3246
+ z-index: 1;
3247
+ }
3248
+ }
2974
3249
  .Page__group__title {
2975
- flex: 1;
3250
+ flex: 1 1 auto;
2976
3251
  min-width: 0;
2977
3252
  margin: 0;
2978
3253
  font-size: var(--font-size-l);
2979
3254
  font-weight: var(--font-weight-strong);
2980
3255
  line-height: 1.2;
3256
+ /* A word longer than the line (a German compound) breaks in its box */
3257
+ overflow-wrap: anywhere;
3258
+ }
3259
+ .Page__group__count {
3260
+ margin-left: var(--spacing-s);
3261
+ font-weight: var(--font-weight-regular);
3262
+ color: var(--color--ink-subtle);
3263
+ /* The title breaks anywhere, but the number stays whole */
3264
+ white-space: nowrap;
2981
3265
  }
2982
3266
  .Page__group__actions {
2983
3267
  display: flex;
@@ -3376,7 +3660,7 @@ button.Toolbar__tab {
3376
3660
  cursor: grab;
3377
3661
 
3378
3662
  svg {
3379
- fill: var(--color--ink-subtle);
3663
+ color: var(--color--ink-subtle);
3380
3664
  }
3381
3665
 
3382
3666
  @media (hover: hover) {
@@ -3671,7 +3955,7 @@ button.Toolbar__tab {
3671
3955
  }
3672
3956
  & .SidebarTree__node__icon svg,
3673
3957
  & .SidebarTree__node__actions .button:not(:hover, :focus-visible) svg {
3674
- fill: var(--color--selected--ink);
3958
+ color: var(--color--selected--ink);
3675
3959
  }
3676
3960
 
3677
3961
  &:hover {
@@ -3689,7 +3973,7 @@ button.Toolbar__tab {
3689
3973
  cursor: inherit;
3690
3974
 
3691
3975
  svg {
3692
- fill: var(--color--ink-subtle);
3976
+ color: var(--color--ink-subtle);
3693
3977
  }
3694
3978
  }
3695
3979
  /* The link or button of the row. Its "::after" covers all the row, thus a
@@ -3802,7 +4086,7 @@ span.SidebarTree__node__toggle {
3802
4086
 
3803
4087
  /* The subtle ink, as every other grip (see .DragHandle) */
3804
4088
  svg {
3805
- fill: var(--color--ink-subtle);
4089
+ color: var(--color--ink-subtle);
3806
4090
  }
3807
4091
  }
3808
4092
  .SidebarTree__node--editing {
@@ -4000,13 +4284,21 @@ span.SidebarTree__node__toggle {
4000
4284
  /* The icon is centered with the margins, not with flex: the box of the
4001
4285
  caller can set the display of the square (the image of an EntityRow
4002
4286
  makes it a block), and the icon stays at the center. */
4287
+ /* The icon fills 55% of a large square. In a small square (20px in a
4288
+ menu or in a line of text) 55% is too small to read, thus the icon
4289
+ gets at least 14px and keeps a 3px margin on each side. */
4003
4290
  svg {
4291
+ --Avatar-glyph-size: min(
4292
+ calc(var(--Avatar-icon-size) - 6px),
4293
+ max(55%, 14px)
4294
+ );
4295
+
4004
4296
  position: absolute;
4005
4297
  inset: 0;
4006
- width: 55%;
4007
- height: 55%;
4298
+ width: var(--Avatar-glyph-size);
4299
+ height: var(--Avatar-glyph-size);
4008
4300
  margin: auto;
4009
- fill: var(--Avatar-ink);
4301
+ color: var(--Avatar-ink);
4010
4302
  }
4011
4303
  }
4012
4304
  .Avatar__icon--primary {
@@ -4018,75 +4310,75 @@ span.SidebarTree__node__toggle {
4018
4310
  a pale surface and a saturated ink. Dark mode has a deep surface and a
4019
4311
  light ink. */
4020
4312
  .Avatar__initials--hue-1 {
4021
- --Avatar-surface: #fff8d6;
4022
- --Avatar-ink: #998100;
4313
+ --Avatar-surface: #f8f1cf;
4314
+ --Avatar-ink: #796501;
4023
4315
 
4024
4316
  [data-color-scheme="dark"] & {
4025
- --Avatar-surface: #2d2500;
4026
- --Avatar-ink: #e6c840;
4317
+ --Avatar-surface: #292101;
4318
+ --Avatar-ink: #d4b625;
4027
4319
  }
4028
4320
  }
4029
4321
  .Avatar__initials--hue-2 {
4030
- --Avatar-surface: #defce2;
4031
- --Avatar-ink: #1d9f2f;
4322
+ --Avatar-surface: #dcf9e0;
4323
+ --Avatar-ink: #01781a;
4032
4324
 
4033
4325
  [data-color-scheme="dark"] & {
4034
- --Avatar-surface: #003909;
4035
- --Avatar-ink: #72d980;
4326
+ --Avatar-surface: #002b05;
4327
+ --Avatar-ink: #68d077;
4036
4328
  }
4037
4329
  }
4038
4330
  .Avatar__initials--hue-3 {
4039
- --Avatar-surface: #e5fbf9;
4040
- --Avatar-ink: #38ada3;
4331
+ --Avatar-surface: #e0f5f3;
4332
+ --Avatar-ink: #02736c;
4041
4333
 
4042
4334
  [data-color-scheme="dark"] & {
4043
- --Avatar-surface: #00322f;
4044
- --Avatar-ink: #70d9d2;
4335
+ --Avatar-surface: #012826;
4336
+ --Avatar-ink: #60cac3;
4045
4337
  }
4046
4338
  }
4047
4339
  .Avatar__initials--hue-4 {
4048
- --Avatar-surface: #ddecfc;
4049
- --Avatar-ink: #1b5899;
4340
+ --Avatar-surface: #e5f2ff;
4341
+ --Avatar-ink: #2d68ab;
4050
4342
 
4051
4343
  [data-color-scheme="dark"] & {
4052
- --Avatar-surface: #00183d;
4053
- --Avatar-ink: #7db2f2;
4344
+ --Avatar-surface: #052046;
4345
+ --Avatar-ink: #85bafb;
4054
4346
  }
4055
4347
  }
4056
4348
  .Avatar__initials--hue-5 {
4057
- --Avatar-surface: #e2e2fa;
4058
- --Avatar-ink: #38388d;
4349
+ --Avatar-surface: #eeeefe;
4350
+ --Avatar-ink: #585db6;
4059
4351
 
4060
4352
  [data-color-scheme="dark"] & {
4061
- --Avatar-surface: #11113d;
4062
- --Avatar-ink: #9a9ae8;
4353
+ --Avatar-surface: #191b48;
4354
+ --Avatar-ink: #aeaffe;
4063
4355
  }
4064
4356
  }
4065
4357
  .Avatar__initials--hue-6 {
4066
- --Avatar-surface: #fef0e2;
4067
- --Avatar-ink: #d76f0e;
4358
+ --Avatar-surface: #fceee0;
4359
+ --Avatar-ink: #a15002;
4068
4360
 
4069
4361
  [data-color-scheme="dark"] & {
4070
- --Avatar-surface: #3a1e00;
4071
- --Avatar-ink: #f5b96a;
4362
+ --Avatar-surface: #341a00;
4363
+ --Avatar-ink: #e7ab5c;
4072
4364
  }
4073
4365
  }
4074
4366
  .Avatar__initials--hue-7 {
4075
- --Avatar-surface: #fde5e3;
4076
- --Avatar-ink: #c82b1d;
4367
+ --Avatar-surface: #ffebe9;
4368
+ --Avatar-ink: #c42719;
4077
4369
 
4078
4370
  [data-color-scheme="dark"] & {
4079
- --Avatar-surface: #3d0a06;
4080
- --Avatar-ink: #f4a9a3;
4371
+ --Avatar-surface: #400d08;
4372
+ --Avatar-ink: #eda29c;
4081
4373
  }
4082
4374
  }
4083
4375
  .Avatar__initials--hue-8 {
4084
- --Avatar-surface: #f8dffa;
4085
- --Avatar-ink: #7e2e86;
4376
+ --Avatar-surface: #fde8ff;
4377
+ --Avatar-ink: #95459d;
4086
4378
 
4087
4379
  [data-color-scheme="dark"] & {
4088
- --Avatar-surface: #280030;
4089
- --Avatar-ink: #de9de6;
4380
+ --Avatar-surface: #350b3d;
4381
+ --Avatar-ink: #df9ee7;
4090
4382
  }
4091
4383
  }
4092
4384
  .Avatar--small {
@@ -4196,10 +4488,10 @@ span.SidebarTree__node__toggle {
4196
4488
  }
4197
4489
  }
4198
4490
  .SwitchInput__checkbox:checked + .SwitchInput__switch {
4199
- background-color: var(--color--primary--surface);
4491
+ background-color: var(--color--control-on--surface);
4200
4492
 
4201
4493
  &:hover {
4202
- background-color: var(--color--primary--surface-hover);
4494
+ background-color: var(--color--control-on--surface-hover);
4203
4495
  }
4204
4496
  }
4205
4497
 
@@ -4207,7 +4499,7 @@ span.SidebarTree__node__toggle {
4207
4499
  /* token-audit-disable-next-line color-mix -- extremely specific behaviour.. it's ok not to have a token for this */
4208
4500
  background-color: color-mix(
4209
4501
  in oklch,
4210
- var(--color--primary--surface) 40%,
4502
+ var(--color--control-on--surface) 40%,
4211
4503
  transparent
4212
4504
  );
4213
4505
 
@@ -4215,7 +4507,7 @@ span.SidebarTree__node__toggle {
4215
4507
  /* token-audit-disable-next-line color-mix -- extremely specific behaviour.. it's ok not to have a token for this */
4216
4508
  background-color: color-mix(
4217
4509
  in oklch,
4218
- var(--color--primary--surface) 55%,
4510
+ var(--color--control-on--surface) 55%,
4219
4511
  transparent
4220
4512
  );
4221
4513
  }
@@ -4269,7 +4561,7 @@ span.SidebarTree__node__toggle {
4269
4561
  }
4270
4562
  .SwitchInput__checkbox:checked + .SwitchInput__switch--read-only {
4271
4563
  &:hover {
4272
- background-color: var(--color--primary--surface);
4564
+ background-color: var(--color--control-on--surface);
4273
4565
  }
4274
4566
  &:active::after {
4275
4567
  transform: translateX(18px);
@@ -4312,9 +4604,11 @@ span.SidebarTree__node__toggle {
4312
4604
  background-color: var(--color--surface-hover);
4313
4605
  }
4314
4606
 
4607
+ /* The hint and the error stay in the column of the label: the switch
4608
+ column is empty under the switch */
4315
4609
  .form__hint,
4316
4610
  .form__error {
4317
- margin-left: 0;
4611
+ margin-inline: 0 calc(var(--switch-width) + var(--switch-gap));
4318
4612
  }
4319
4613
 
4320
4614
  /* The switch makes the row taller than the label, thus the hint needs no
@@ -4332,10 +4626,11 @@ span.SidebarTree__node__toggle {
4332
4626
  }
4333
4627
  .SwitchInput--row {
4334
4628
  position: static;
4335
- gap: var(--spacing-m);
4629
+ gap: var(--switch-gap);
4336
4630
 
4337
4631
  .SwitchInput__label {
4338
4632
  position: static;
4633
+ flex: 1 1 auto;
4339
4634
  min-width: 0;
4340
4635
  margin-left: 0;
4341
4636
  line-height: inherit;
@@ -4355,61 +4650,187 @@ span.SidebarTree__node__toggle {
4355
4650
  .SwitchList :is(.SwitchInput__reason, .form__hint) a {
4356
4651
  position: relative;
4357
4652
  }
4653
+ /* The reason is at the end of the line of the label, because the label
4654
+ grows. When the two do not fit on one line, the reason wraps under the
4655
+ label: the width of the row decides, not the width of the window. */
4656
+ .SwitchInput__text {
4657
+ display: flex;
4658
+ flex: 1;
4659
+ flex-wrap: wrap;
4660
+ column-gap: var(--switch-gap);
4661
+ align-items: baseline;
4662
+ min-width: 0;
4663
+ }
4358
4664
  .SwitchInput__reason {
4359
- flex: none;
4665
+ flex: 0 1 auto;
4360
4666
  color: var(--color--ink-subtle);
4361
- text-align: right;
4362
4667
  }
4363
- /* On a phone, a long reason does not push the label into a thin column */
4364
- @media (max-width: 479px) {
4365
- .SwitchInput--row {
4366
- flex-wrap: wrap;
4668
+ /* The row also has the "RowList__item" class, so it looks like a row of a
4669
+ RowList. The indent of the level is the left padding of the row, so the
4670
+ indent is in the box of the row, and all the boxes have the same width.
4671
+ The tree is not a RowList, thus the rows give the insets and the gaps. */
4672
+ .TreeRow {
4673
+ margin: var(--row-gap) var(--row-inset) 0;
4674
+
4675
+ &:first-child {
4676
+ margin-top: var(--row-inset);
4367
4677
  }
4368
- .SwitchInput__reason {
4369
- flex: 1 1 100%;
4370
- order: 1;
4371
- text-align: left;
4678
+ &:last-child {
4679
+ margin-bottom: var(--row-inset);
4372
4680
  }
4373
4681
  }
4374
- /* See EntityRow.tsx. It has no surface and no hover: the container gives
4375
- them. */
4376
- .EntityRow {
4682
+ /* The same as the toggle column of the sidebar trees (see
4683
+ _SidebarTree.css): the icon is at the center of a column of 1rem that
4684
+ starts at "--spacing-m" from the edge of the list. The space between the
4685
+ edge of the row and the icon is in the column too, thus the user can click
4686
+ or drag there. The column has a fixed width, so the content of rows at the
4687
+ same level stays aligned. */
4688
+ .TreeRow__handle {
4377
4689
  display: flex;
4378
- flex: 1 1 auto;
4379
- gap: var(--spacing-m);
4690
+ flex-shrink: 0;
4380
4691
  align-items: center;
4381
- min-width: 0;
4382
- line-height: 1.2;
4383
- }
4384
- /* The minimum height is the height of the image: an entity on one line has
4385
- the same height with and without an image (chips that are side by side) */
4386
- .EntityRow--inline {
4387
- /* The width and the height of the image: 20px on one line, 32px in a row
4388
- (layout="row") */
4389
- --EntityRow-image-size: 20px;
4692
+ align-self: stretch;
4693
+ justify-content: center;
4694
+ width: calc(1rem + var(--spacing-m) - var(--row-inset));
4390
4695
 
4391
- gap: var(--spacing-s);
4392
- min-height: var(--EntityRow-image-size);
4393
- }
4394
- .EntityRow--row {
4395
- --EntityRow-image-size: 32px;
4696
+ .RowList__item--selected & svg {
4697
+ color: var(--color--selected--ink);
4698
+ }
4396
4699
  }
4397
- .EntityRow__image {
4398
- display: block;
4399
- flex: none;
4400
- width: var(--EntityRow-image-size);
4401
- height: var(--EntityRow-image-size);
4402
- overflow: hidden;
4700
+ /* It fills all the column, so the area for a click or a drag is large. The
4701
+ icon is at the center of the 1rem after the left padding, thus a chevron
4702
+ and a grip have the same center. */
4703
+ .TreeRow__drag-handle {
4704
+ box-sizing: border-box;
4705
+ display: flex;
4706
+ flex: 1;
4707
+ align-items: center;
4708
+ align-self: stretch;
4709
+ justify-content: center;
4710
+ padding-left: calc(var(--spacing-m) - var(--row-inset));
4711
+ color: inherit;
4403
4712
 
4404
- > * {
4713
+ svg {
4405
4714
  display: block;
4406
- width: 100%;
4407
- height: 100%;
4408
4715
  }
4409
4716
  }
4410
- .EntityRow--inline .EntityRow__image {
4411
- border-radius: var(--radius-xs);
4412
- }
4717
+ .TreeRow__drag-handle--disabled {
4718
+ cursor: not-allowed;
4719
+
4720
+ svg {
4721
+ color: var(--color--ink-disabled);
4722
+ }
4723
+ }
4724
+ /* Without an image, the icon is in line with the first line of the title,
4725
+ not at the center of the row: the row also has the status below the
4726
+ title. The first track of the grid has the height of a line of the title
4727
+ (the line height of .EntityRow), and the icon is at its center. */
4728
+ .TreeRow:not(:has(.EntityRow__image)) .TreeRow__drag-handle {
4729
+ display: grid;
4730
+ grid-template-rows: calc(1.2 * 1em);
4731
+ align-content: start;
4732
+ align-items: center;
4733
+ justify-content: center;
4734
+ padding-top: var(--RowList-content-padding);
4735
+ }
4736
+ .TreeRow__inner {
4737
+ display: block;
4738
+ flex: 1;
4739
+ min-width: 200px;
4740
+ overflow: hidden;
4741
+ text-decoration: none;
4742
+ }
4743
+ /* TreeRow.Action: the button fills the row, and its first span is the
4744
+ column of the handle. A control that is not a link of the row sets the
4745
+ color of its text and of the chevron on hover (see _Chevron.css). */
4746
+ .TreeRow__action {
4747
+ display: flex;
4748
+ flex: 1;
4749
+ min-width: 0;
4750
+ color: var(--color--ink-subtle);
4751
+ border-radius: var(--row-radius);
4752
+
4753
+ &:hover,
4754
+ &:focus-visible {
4755
+ color: var(--color--ink);
4756
+ }
4757
+ }
4758
+ .RowList__item:has(> .TreeRow__action:focus-visible) {
4759
+ background-color: var(--color--surface-hover);
4760
+ }
4761
+ .TreeRow__action__label {
4762
+ flex: 1;
4763
+ min-width: 0;
4764
+ padding: var(--RowList-content-padding);
4765
+ line-height: 1.3;
4766
+ }
4767
+ .ItemStatus {
4768
+ display: inline-flex;
4769
+ flex: none;
4770
+ gap: 0.3em;
4771
+ align-items: center;
4772
+ }
4773
+ .ItemStatus__dot {
4774
+ display: block;
4775
+ flex: none;
4776
+ width: 0.7em;
4777
+ height: 0.7em;
4778
+ }
4779
+ .ItemStatus__dot--published {
4780
+ color: var(--color--status-published--ink);
4781
+ }
4782
+ .ItemStatus__dot--outdated {
4783
+ color: var(--color--status-outdated--ink);
4784
+ }
4785
+ .ItemStatus__dot--draft {
4786
+ color: var(--color--status-draft--ink);
4787
+ }
4788
+ /* See EntityRow.tsx. It has no surface and no hover: the container gives
4789
+ them. */
4790
+ .EntityRow {
4791
+ display: flex;
4792
+ flex: 1 1 auto;
4793
+ gap: var(--spacing-m);
4794
+ align-items: center;
4795
+ min-width: 0;
4796
+ line-height: 1.2;
4797
+ }
4798
+ /* The minimum height is the height of the image: an entity on one line has
4799
+ the same height with and without an image (chips that are side by side) */
4800
+ .EntityRow--inline {
4801
+ /* The width and the height of the image: 20px on one line, 32px in a row
4802
+ (layout="row") */
4803
+ --EntityRow-image-size: 20px;
4804
+
4805
+ gap: var(--spacing-s);
4806
+ min-height: var(--EntityRow-image-size);
4807
+ }
4808
+ .EntityRow--row {
4809
+ --EntityRow-image-size: 32px;
4810
+ }
4811
+ .EntityRow__image {
4812
+ display: block;
4813
+ flex: none;
4814
+ width: var(--EntityRow-image-size);
4815
+ height: var(--EntityRow-image-size);
4816
+ overflow: hidden;
4817
+
4818
+ > * {
4819
+ display: block;
4820
+ width: 100%;
4821
+ height: 100%;
4822
+ }
4823
+
4824
+ /* The rule above has the specificity of .UploadPreview, thus without this
4825
+ rule the import order of the two blocks decides if the asset is in the
4826
+ center. Keep the display of .UploadPreview (_UploadPreview.css). */
4827
+ > .UploadPreview {
4828
+ display: flex;
4829
+ }
4830
+ }
4831
+ .EntityRow--inline .EntityRow__image {
4832
+ border-radius: var(--radius-xs);
4833
+ }
4413
4834
  .EntityRow--row .EntityRow__image {
4414
4835
  border-radius: var(--radius-s);
4415
4836
  }
@@ -4434,7 +4855,13 @@ span.SidebarTree__node__toggle {
4434
4855
  white-space: nowrap;
4435
4856
  }
4436
4857
  .EntityRow__title {
4437
- display: flex;
4858
+ /* Each part of the line (the title, a pill, the aside) gets an equal
4859
+ share of the width, and a part that needs less gives the rest to the
4860
+ others. Thus a short title stays whole next to long pills, and no part
4861
+ becomes 0px wide: the long parts end with an ellipsis. */
4862
+ display: grid;
4863
+ grid-auto-columns: minmax(0, max-content);
4864
+ grid-auto-flow: column;
4438
4865
  gap: var(--spacing-s);
4439
4866
  align-items: center;
4440
4867
  min-width: 0;
@@ -4445,8 +4872,6 @@ span.SidebarTree__node__toggle {
4445
4872
  }
4446
4873
  }
4447
4874
  .EntityRow__title__text {
4448
- flex: 0 1 auto;
4449
- min-width: 0;
4450
4875
  overflow: hidden;
4451
4876
  text-overflow: ellipsis;
4452
4877
  white-space: nowrap;
@@ -4458,7 +4883,8 @@ span.SidebarTree__node__toggle {
4458
4883
  white-space: normal;
4459
4884
  }
4460
4885
  .EntityRow__aside {
4461
- flex: none;
4886
+ overflow: hidden;
4887
+ text-overflow: ellipsis;
4462
4888
  font-size: var(--font-size-xs);
4463
4889
  color: var(--color--ink-subtle);
4464
4890
  white-space: nowrap;
@@ -4476,6 +4902,26 @@ span.SidebarTree__node__toggle {
4476
4902
  display: none;
4477
4903
  }
4478
4904
  }
4905
+ /* See RecordRow/Image.tsx. Its container gives the size of the square. */
4906
+ .RecordRow__image {
4907
+ width: 100%;
4908
+ height: 100%;
4909
+ background-repeat: no-repeat;
4910
+ background-position: center center;
4911
+ background-size: cover;
4912
+ }
4913
+ .RecordRow__image--placeholder {
4914
+ background-color: var(--color--surface-muted);
4915
+ }
4916
+ .RecordRow__loading {
4917
+ display: inline-block;
4918
+ width: 8em;
4919
+ max-width: 100%;
4920
+ height: 0.8em;
4921
+ vertical-align: middle;
4922
+ background-color: var(--color--surface-muted);
4923
+ border-radius: var(--radius-s);
4924
+ }
4479
4925
  /* RowList, and NavList that renders a RowList */
4480
4926
  .RowList {
4481
4927
  display: flex;
@@ -4517,6 +4963,53 @@ span.SidebarTree__node__toggle {
4517
4963
  overflow: hidden;
4518
4964
  }
4519
4965
 
4966
+ /* The container already has an inset (a SidebarPanel). The negative margin
4967
+ puts the box of a row out of the content of the container, and the
4968
+ padding puts the image and the text back on its edge. */
4969
+ .RowList--compact {
4970
+ padding: 0;
4971
+ margin-inline: calc(-1 * var(--row-inset));
4972
+
4973
+ .RowList__content {
4974
+ padding: var(--spacing-s) var(--row-inset);
4975
+ }
4976
+ }
4977
+
4978
+ /* The actions show only when the user can use them, as the actions of a
4979
+ row of a Table and of an item of a CardList. At rest they take no space,
4980
+ thus the other content at the end of each row stays on its right edge.
4981
+ The buttons stay in the layout: the keyboard reaches them, and the focus
4982
+ shows them. */
4983
+ .RowList__actions {
4984
+ display: flex;
4985
+ flex: none;
4986
+ align-items: center;
4987
+ max-width: 0;
4988
+ overflow: hidden;
4989
+ opacity: 0;
4990
+ transition: opacity 0.1s ease-in-out;
4991
+
4992
+ /* This cancels the gap of the EntityRow before the hidden actions */
4993
+ :where(.EntityRow) > & {
4994
+ margin-inline-start: calc(-1 * var(--spacing-m));
4995
+ }
4996
+
4997
+ .RowList__item:is(:hover, :focus-within) &,
4998
+ &:has([aria-expanded="true"]),
4999
+ &.RowList__actions--always {
5000
+ max-width: none;
5001
+ margin-inline-start: 0;
5002
+ overflow: visible;
5003
+ opacity: 1;
5004
+ }
5005
+ @media (hover: none) {
5006
+ max-width: none;
5007
+ margin-inline-start: 0;
5008
+ overflow: visible;
5009
+ opacity: 1;
5010
+ }
5011
+ }
5012
+
4520
5013
  /* A muted row is still a link, thus its text keeps 4.5:1: only the images
4521
5014
  fade. The row keeps its surface, thus the selected state shows. */
4522
5015
  .RowList__item--muted .RowList__content {
@@ -4548,7 +5041,7 @@ span.SidebarTree__node__toggle {
4548
5041
  background-color: var(--color--primary--surface);
4549
5042
  }
4550
5043
  .RowList__handle svg {
4551
- fill: var(--color--selected--ink);
5044
+ color: var(--color--selected--ink);
4552
5045
  }
4553
5046
 
4554
5047
  &:hover,
@@ -4592,23 +5085,26 @@ span.SidebarTree__node__toggle {
4592
5085
  width: 0.7em;
4593
5086
  min-width: 0.7em;
4594
5087
  }
4595
- .FeedbackDot--success {
5088
+ /* The fill goes on the circle, not on the svg. A Button gives a color to
5089
+ each svg in it (the color of its icons), with a stronger selector. */
5090
+ .FeedbackDot--success > circle {
4596
5091
  fill: var(--color--fill-success);
4597
5092
  }
4598
- .FeedbackDot--warning {
5093
+ .FeedbackDot--warning > circle {
4599
5094
  fill: var(--color--fill-warning);
4600
5095
  }
4601
- .FeedbackDot--danger {
5096
+ .FeedbackDot--danger > circle {
4602
5097
  fill: var(--color--fill-danger);
4603
5098
  }
4604
- .FeedbackDot--neutral {
5099
+ .FeedbackDot--neutral > circle {
4605
5100
  fill: var(--color--ink-disabled);
4606
5101
  }
4607
5102
  .ValidityTriangle--published,
4608
5103
  .ValidityTriangle--current,
4609
5104
  .ValidityTriangle--threat {
4610
5105
  vertical-align: text-top;
4611
- fill: var(--color--fill-danger);
5106
+ /* token-audit-disable-next-line mismatch -- the triangle is a graphic mark, and its color paints its fill */
5107
+ color: var(--color--fill-danger);
4612
5108
  }
4613
5109
  .ValidityTriangle__wrapper {
4614
5110
  display: inline-flex;
@@ -4852,7 +5348,7 @@ span.SidebarTree__node__toggle {
4852
5348
  box-shadow: var(--shadow--floating);
4853
5349
 
4854
5350
  svg {
4855
- fill: var(--color--ink);
5351
+ color: var(--color--ink);
4856
5352
  }
4857
5353
  &:hover,
4858
5354
  &:focus-visible,
@@ -4872,6 +5368,49 @@ span.SidebarTree__node__toggle {
4872
5368
  background-color: var(--color--disabled-field--surface);
4873
5369
  }
4874
5370
  }
5371
+ .UploadCard__antivirus-badge {
5372
+ position: absolute;
5373
+ top: 8px;
5374
+ left: 8px;
5375
+ z-index: 3;
5376
+ display: inline-flex;
5377
+ gap: 5px;
5378
+ align-items: center;
5379
+ padding: 5px;
5380
+ font-size: var(--font-size-m);
5381
+ color: var(--color-feedback-ink-fail);
5382
+ white-space: nowrap;
5383
+ background-color: var(--color--danger-soft--surface);
5384
+ border-radius: var(--radius-full);
5385
+
5386
+ svg {
5387
+ flex-shrink: 0;
5388
+ width: 0.9em;
5389
+ height: 0.9em;
5390
+ }
5391
+
5392
+ span {
5393
+ display: none;
5394
+ }
5395
+
5396
+ @container (min-width: 180px) {
5397
+ padding: 5px 10px;
5398
+
5399
+ span {
5400
+ display: inline;
5401
+ }
5402
+ }
5403
+ }
5404
+ /* The preview of an asset in a MediaCard (ui-public/MediaCard) */
5405
+ .MediaCard__image-preview {
5406
+ .UploadPreview {
5407
+ height: 200px;
5408
+ border-radius: var(--radius-s) var(--radius-s) 0 0;
5409
+ }
5410
+ }
5411
+ .MediaCard.is-disabled .UploadPreview {
5412
+ background-color: var(--color--disabled-field--surface);
5413
+ }
4875
5414
  .Table {
4876
5415
  /* The space at the sides of the text of a cell. The first and the last
4877
5416
  cells line up with the title of the toolbar above the table. */
@@ -5070,7 +5609,7 @@ span.SidebarTree__node__toggle {
5070
5609
  cursor: not-allowed;
5071
5610
 
5072
5611
  svg {
5073
- fill: var(--color--ink-disabled);
5612
+ color: var(--color--ink-disabled);
5074
5613
  }
5075
5614
  }
5076
5615
  .Table__header {
@@ -5115,7 +5654,7 @@ span.SidebarTree__node__toggle {
5115
5654
  width: max(10px, 0.75em);
5116
5655
  height: max(10px, 0.75em);
5117
5656
  vertical-align: middle;
5118
- fill: var(--color--ink-subtle);
5657
+ color: var(--color--ink-subtle);
5119
5658
  }
5120
5659
  .Table__header-cell__cell {
5121
5660
  flex: 1;
@@ -5127,14 +5666,13 @@ span.SidebarTree__node__toggle {
5127
5666
  .Table--tree .Table__header-cell--first-real-cell & {
5128
5667
  padding-left: 0;
5129
5668
  }
5130
- a {
5131
- color: var(--color--ink-subtle);
5132
- text-decoration: none;
5669
+ }
5670
+ .Table__header-cell__sort {
5671
+ color: var(--color--ink-subtle);
5133
5672
 
5134
- &:hover,
5135
- &:focus {
5136
- text-decoration: underline;
5137
- }
5673
+ &:hover,
5674
+ &:focus {
5675
+ text-decoration: underline;
5138
5676
  }
5139
5677
  }
5140
5678
  .Table__header-cell__resize {
@@ -5251,12 +5789,45 @@ span.SidebarTree__node__toggle {
5251
5789
  flex: none;
5252
5790
  width: max(10px, 0.75em);
5253
5791
  height: max(10px, 0.75em);
5254
- fill: var(--color--ink-subtle);
5792
+ color: var(--color--ink-subtle);
5255
5793
  }
5256
5794
  .Table__cell--color-transparent {
5257
5795
  opacity: 0;
5258
5796
  }
5259
- /* The cells of ui/Table/cells. A date, a status and a label with an
5797
+ .EntityCell {
5798
+ display: flex;
5799
+ align-items: center;
5800
+ font-size: var(--font-size-m);
5801
+ }
5802
+ .EntityCell__image {
5803
+ img,
5804
+ svg,
5805
+ div {
5806
+ flex-shrink: 0;
5807
+ width: 35px;
5808
+ height: 35px;
5809
+ margin-right: 20px;
5810
+ background-position: center center;
5811
+ background-size: cover;
5812
+ border-radius: var(--radius-s);
5813
+ }
5814
+ }
5815
+ .EntityCell__preview {
5816
+ margin-right: 20px;
5817
+ }
5818
+ /* A title with a preview image: the ellipsis goes on the title */
5819
+ .Table__cell__truncate .EntityCell__title {
5820
+ flex: 1 1 auto;
5821
+ min-width: 0;
5822
+ overflow: hidden;
5823
+ text-overflow: ellipsis;
5824
+ }
5825
+ /* The rule has no specificity, thus a block in the title keeps its own
5826
+ display. A block in an inline parent would start a new line. */
5827
+ :where(.Table__cell__truncate .EntityCell__title) > * {
5828
+ display: inline;
5829
+ }
5830
+ /* The cells of ui-public/Table/cells. A date, a status and a label with an
5260
5831
  icon do not break on two lines. */
5261
5832
  .TimeCell,
5262
5833
  .StatusCell,
@@ -5301,7 +5872,7 @@ span.SidebarTree__node__toggle {
5301
5872
  position: relative;
5302
5873
  /* The right padding keeps the place of the chevron, thus the select does
5303
5874
  not change its width on hover */
5304
- padding: var(--spacing-s) calc(var(--spacing-m) + 0.75em) var(--spacing-s)
5875
+ padding: var(--spacing-s) calc(var(--spacing-m) + 1.125em) var(--spacing-s)
5305
5876
  var(--spacing-s);
5306
5877
  margin-right: var(--spacing-l);
5307
5878
  border: 1px solid transparent;
@@ -5343,7 +5914,16 @@ span.SidebarTree__node__toggle {
5343
5914
  }
5344
5915
  }
5345
5916
  }
5346
- /* See InfoList.tsx. The list is a description list: the margins of the
5917
+ /* The full layout with ten page numbers and the "Show" select needs about
5918
+ 44em. In a narrower toolbar, the pagination shows fewer page numbers and
5919
+ no select (see Toolbar/Pagination.tsx). */
5920
+ @container toolbar-pagination (max-width: 45em) {
5921
+ .Pagination__per-page,
5922
+ .Pagination__button--wide-only {
5923
+ display: none;
5924
+ }
5925
+ }
5926
+ /* See InfoList/index.tsx. The list is a description list: the margins of the
5347
5927
  browser go away. */
5348
5928
  .InfoList {
5349
5929
  margin: 0;
@@ -5388,7 +5968,7 @@ span.SidebarTree__node__toggle {
5388
5968
  border-bottom: 0;
5389
5969
  }
5390
5970
  }
5391
- /* In a wide list (600px and more, see InfoList.tsx), the value is far from
5971
+ /* In a wide list (600px and more, see InfoList/index.tsx), the value is far from
5392
5972
  its title: the hover helps the eye to follow the row. The padding at the
5393
5973
  sides keeps the text away from the edges of the hover. */
5394
5974
  .InfoList--wide .InfoList__row {
@@ -5416,21 +5996,9 @@ span.SidebarTree__node__toggle {
5416
5996
  }
5417
5997
  /* A value that opens a menu (see TextualTrigger.tsx) is a block, thus
5418
5998
  "text-align" does not move it. The automatic margin puts it at the right,
5419
- as the other values. A long value in the trigger (for example a domain)
5420
- stays on one line with an ellipsis and does not go out of the row. The text clips, not the button
5421
- (the surface of the button is out of its box). */
5999
+ as the other values. */
5422
6000
  .InfoList__row__content .Dropdown__textual-trigger {
5423
- max-width: 100%;
5424
6001
  margin-left: auto;
5425
-
5426
- > span {
5427
- min-width: 0;
5428
- overflow: hidden;
5429
- text-overflow: ellipsis;
5430
- }
5431
- > svg {
5432
- flex: none;
5433
- }
5434
6002
  }
5435
6003
  /* The smart tags of an asset (see UploadSmartTags.tsx): the tags go on
5436
6004
  more lines, at the right as the other values. The title stays at the level
@@ -5452,12 +6020,39 @@ span.SidebarTree__node__toggle {
5452
6020
  padding-right: 8px;
5453
6021
  font-weight: var(--font-weight-regular);
5454
6022
  color: var(--color--ink-subtle);
6023
+ /* The title wraps, thus its min-content width is small and the
6024
+ fit-content(70%) column of .InfoList__row can stop it at 70% */
6025
+ overflow-wrap: anywhere;
6026
+ }
6027
+ /* A value in a row (InfoList.Value and InfoList.User). With "is-editable"
6028
+ and ".button--ghost-inline" it is a button. */
6029
+ .InfoList__value {
6030
+ display: inline-flex;
6031
+ gap: var(--spacing-s);
6032
+ align-items: center;
6033
+ max-width: 100%;
6034
+ vertical-align: middle;
6035
+ text-align: left;
6036
+ text-decoration: none;
6037
+ cursor: default;
6038
+
6039
+ /* The hover comes from ".button--ghost-inline" */
6040
+ &.is-editable {
6041
+ cursor: pointer;
6042
+ }
6043
+ }
6044
+ .InfoList__value__label {
6045
+ min-width: 0;
6046
+ overflow: hidden;
6047
+ text-overflow: ellipsis;
5455
6048
  white-space: nowrap;
5456
6049
  }
5457
- /* See SettingsList.tsx */
6050
+ /* See SettingsList.tsx. The layout follows the width of the list, not of
6051
+ the viewport: a list in a narrow column gets the layout of a phone too. */
5458
6052
  .SettingsList {
5459
6053
  padding: 0;
5460
6054
  margin: 0;
6055
+ container: settings-list / inline-size;
5461
6056
  list-style: none;
5462
6057
  }
5463
6058
  /* On a narrow page, the value and the action go under the text and stay at
@@ -5499,23 +6094,23 @@ span.SidebarTree__node__toggle {
5499
6094
  text-align: right;
5500
6095
  white-space: nowrap;
5501
6096
  }
6097
+ /* A label longer than the row gets an ellipsis from the button */
5502
6098
  .SettingsList__action {
5503
6099
  flex: none;
6100
+ max-width: 100%;
5504
6101
  }
5505
6102
  /* Without a value, the action goes to the right */
5506
6103
  .SettingsList__text + .SettingsList__action {
5507
6104
  margin-left: auto;
5508
6105
  }
5509
- /* On a phone, the text, the value and the action are one under the other.
5510
- With a value, the action stays at the right of the value. Without a value,
5511
- the text of a ghost button starts on the line of the title. */
5512
- @media (max-width: 479px) {
5513
- .SettingsList__row {
5514
- display: grid;
5515
- grid-template-columns: minmax(0, 1fr) auto;
5516
- }
6106
+ /* In a narrow list, the text is on a line of its own. The value is at the
6107
+ left, and the action at the right of the value, or under it when the two
6108
+ do not fit. Without a value, the text of a ghost button starts on the
6109
+ line of the title. Under 480px, the text, the value and the action do
6110
+ not fit on one line. */
6111
+ @container settings-list (max-width: 479px) {
5517
6112
  .SettingsList__text {
5518
- grid-column: 1 / -1;
6113
+ flex-basis: 100%;
5519
6114
  }
5520
6115
  .SettingsList__value {
5521
6116
  margin-left: 0;
@@ -5523,13 +6118,16 @@ span.SidebarTree__node__toggle {
5523
6118
  overflow-wrap: anywhere;
5524
6119
  white-space: normal;
5525
6120
  }
6121
+ .SettingsList__value + .SettingsList__action {
6122
+ margin-left: auto;
6123
+ }
5526
6124
  .SettingsList__text + .SettingsList__action {
5527
- grid-column: 1;
5528
- justify-self: start;
5529
6125
  margin-left: 0;
5530
6126
 
6127
+ /* A negative margin makes the action narrower than the button, and the
6128
+ label gets an ellipsis. The translate moves only the picture. */
5531
6129
  > :is(.button--ghost, .button--ghost-alert) {
5532
- margin-left: calc(-1 * var(--button-pad-x));
6130
+ translate: calc(-1 * var(--button-pad-x));
5533
6131
  }
5534
6132
  }
5535
6133
  }
@@ -5592,6 +6190,10 @@ span.SidebarTree__node__toggle {
5592
6190
  display: flex;
5593
6191
  align-items: stretch;
5594
6192
  width: fit-content;
6193
+ /* Long labels (a translation) shrink the options, not the container: the
6194
+ control stays in its container, also as a flex item */
6195
+ min-width: 0;
6196
+ max-width: 100%;
5595
6197
  font-size: var(--font-size-m);
5596
6198
  }
5597
6199
  .SegmentedControl__button {
@@ -5599,6 +6201,7 @@ span.SidebarTree__node__toggle {
5599
6201
  gap: 0.5em;
5600
6202
  align-items: center;
5601
6203
  justify-content: center;
6204
+ min-width: 0;
5602
6205
  /* The size class sets the variables (see _button.css). The fallbacks are
5603
6206
  the values of the plain ".button" ("regular" and "large"). */
5604
6207
  padding: var(--button-pad-y, 0.7em) var(--button-pad-x, 1em);
@@ -5613,9 +6216,9 @@ span.SidebarTree__node__toggle {
5613
6216
  transition: background-color 0.2s var(--material-ease);
5614
6217
 
5615
6218
  svg {
6219
+ flex: none;
5616
6220
  width: 1em;
5617
6221
  height: 1em;
5618
- fill: currentColor;
5619
6222
  }
5620
6223
  &:hover:not(:disabled),
5621
6224
  &:focus-visible {
@@ -5633,15 +6236,25 @@ span.SidebarTree__node__toggle {
5633
6236
  opacity: var(--disabled-opacity);
5634
6237
  }
5635
6238
  }
6239
+ /* The accessible name of the option keeps the full label */
6240
+ .SegmentedControl__label {
6241
+ overflow: hidden;
6242
+ text-overflow: ellipsis;
6243
+ }
6244
+ /* Each option starts from the width of its label and gets an equal part of
6245
+ the free space. With "flex: 1" the options are equal, thus a long label
6246
+ ends in "…" in a container as wide as the sum of the options (a dropdown
6247
+ menu), and a short label gets a wide empty box. */
5636
6248
  .SegmentedControl--fill {
5637
6249
  width: auto;
5638
6250
 
5639
6251
  .SegmentedControl__button {
5640
- flex: 1;
6252
+ flex: auto;
5641
6253
  }
5642
6254
  }
5643
6255
  /* An option with only an icon is a square, as ".button--icon-only" */
5644
6256
  .SegmentedControl--icon-only .SegmentedControl__button {
6257
+ flex-shrink: 0;
5645
6258
  width: calc(1lh + 2 * var(--button-pad-y, 0.7em));
5646
6259
  padding-inline: 0;
5647
6260
  }
@@ -5662,6 +6275,10 @@ span.SidebarTree__node__toggle {
5662
6275
  .SelectInput {
5663
6276
  --SelectInput-value-margin: 2px;
5664
6277
  --SelectInput-indicator-padding: 8px;
6278
+
6279
+ /* In a flex row or in a grid, the select is never wider than its place: a
6280
+ long value or chip ends with an ellipsis, and the indicators stay */
6281
+ min-width: 0;
5665
6282
  }
5666
6283
  .SelectInput--autosize {
5667
6284
  display: flex;
@@ -5795,7 +6412,6 @@ span.SidebarTree__node__toggle {
5795
6412
  display: block;
5796
6413
  width: max(13px, 1em);
5797
6414
  height: max(13px, 1em);
5798
- fill: currentColor;
5799
6415
  }
5800
6416
 
5801
6417
  /* The chip of a value of a multiple select. The wrapper (see
@@ -5936,7 +6552,7 @@ span.SidebarTree__node__toggle {
5936
6552
 
5937
6553
  svg {
5938
6554
  font-size: 14px;
5939
- fill: var(--color--ink-subtle);
6555
+ color: var(--color--ink-subtle);
5940
6556
  }
5941
6557
  }
5942
6558
  .SelectInput__menu-action__label {
@@ -5952,7 +6568,7 @@ span.SidebarTree__node__toggle {
5952
6568
 
5953
6569
  svg {
5954
6570
  font-size: 12px;
5955
- fill: var(--color--ink-subtle);
6571
+ color: var(--color--ink-subtle);
5956
6572
  }
5957
6573
  }
5958
6574
  /* It is the title of the second list. */
@@ -5966,6 +6582,9 @@ span.SidebarTree__node__toggle {
5966
6582
  this file. */
5967
6583
  .Dropdown {
5968
6584
  position: relative;
6585
+ /* A parent that is as wide as its content (a column with "align-items:
6586
+ flex-start") can otherwise give the trigger the full width of its label */
6587
+ max-width: 100%;
5969
6588
  }
5970
6589
  .Dropdown__spacer {
5971
6590
  position: absolute;
@@ -5978,18 +6597,24 @@ span.SidebarTree__node__toggle {
5978
6597
  align-items: center;
5979
6598
  width: 100%;
5980
6599
  width: auto;
6600
+ max-width: 100%;
5981
6601
  padding: 0;
5982
6602
  white-space: nowrap;
5983
6603
 
6604
+ /* A long value gets an ellipsis, and the chevron always shows */
5984
6605
  > span {
5985
6606
  position: relative;
5986
6607
  top: 0.06em;
6608
+ min-width: 0;
6609
+ overflow: hidden;
6610
+ text-overflow: ellipsis;
5987
6611
  }
5988
6612
  svg {
5989
6613
  display: inline-block;
6614
+ flex: none;
5990
6615
  line-height: 0.6;
5991
6616
  vertical-align: middle;
5992
- fill: var(--color--ink-subtle);
6617
+ color: var(--color--ink-subtle);
5993
6618
  }
5994
6619
  }
5995
6620
 
@@ -6070,6 +6695,25 @@ span.SidebarTree__node__toggle {
6070
6695
  }
6071
6696
  }
6072
6697
  }
6698
+ /* The picture at rest (Static.tsx) has no portal: the menu goes next to the
6699
+ trigger, at the 4px offset of Menu.tsx. The z-index puts the menu above
6700
+ the content near it, as the portal of the live menu does. */
6701
+ .Dropdown[data-placement] > .Dropdown__menu-container {
6702
+ position: absolute;
6703
+ z-index: 5;
6704
+ }
6705
+ .Dropdown[data-placement^="bottom"] > .Dropdown__menu-container {
6706
+ top: calc(100% + 4px);
6707
+ }
6708
+ .Dropdown[data-placement^="top"] > .Dropdown__menu-container {
6709
+ bottom: calc(100% + 4px);
6710
+ }
6711
+ .Dropdown[data-placement$="-start"] > .Dropdown__menu-container {
6712
+ left: 0;
6713
+ }
6714
+ .Dropdown[data-placement$="-end"] > .Dropdown__menu-container {
6715
+ right: 0;
6716
+ }
6073
6717
  @keyframes Dropdown__menu-enter {
6074
6718
  from {
6075
6719
  opacity: 0;
@@ -6134,7 +6778,6 @@ span.SidebarTree__node__toggle {
6134
6778
  > svg {
6135
6779
  flex: none;
6136
6780
  font-size: 12px;
6137
- fill: currentColor;
6138
6781
  }
6139
6782
 
6140
6783
  /* The line separates the stuck title from the options that scroll below
@@ -6214,8 +6857,8 @@ span.SidebarTree__node__toggle {
6214
6857
  top: 50%;
6215
6858
  left: 12px;
6216
6859
  font-size: 15px;
6860
+ color: var(--color--ink-subtle);
6217
6861
  pointer-events: none;
6218
- fill: var(--color--ink-subtle);
6219
6862
  transform: translateY(-50%);
6220
6863
  }
6221
6864
  /* Two classes, so this rule is stronger than the global rules of the text
@@ -6278,7 +6921,7 @@ span.SidebarTree__node__toggle {
6278
6921
  color: var(--color--ink-danger);
6279
6922
 
6280
6923
  .Dropdown__menu__option__content > svg {
6281
- fill: currentColor;
6924
+ color: inherit;
6282
6925
  }
6283
6926
  }
6284
6927
  &.is-dangerous.is-hover,
@@ -6295,7 +6938,7 @@ span.SidebarTree__node__toggle {
6295
6938
  top: 50%;
6296
6939
  /* Puts the 14px grip at the center of the gutter */
6297
6940
  left: calc((var(--Dropdown-gutter) - 14px) / 2);
6298
- fill: var(--color--ink-subtle);
6941
+ color: var(--color--ink-subtle);
6299
6942
  transform: translateY(-50%);
6300
6943
 
6301
6944
  @media (hover: hover) {
@@ -6330,7 +6973,6 @@ span.SidebarTree__node__toggle {
6330
6973
 
6331
6974
  svg {
6332
6975
  font-size: 12px;
6333
- fill: currentColor;
6334
6976
  }
6335
6977
  }
6336
6978
  .Dropdown__menu__option__chevron {
@@ -6342,7 +6984,7 @@ span.SidebarTree__node__toggle {
6342
6984
 
6343
6985
  svg {
6344
6986
  font-size: 12px;
6345
- fill: var(--color--ink-subtle);
6987
+ color: var(--color--ink-subtle);
6346
6988
  }
6347
6989
  }
6348
6990
  .Dropdown__menu__option__validity_icon {
@@ -6366,19 +7008,14 @@ span.SidebarTree__node__toggle {
6366
7008
  flex: none;
6367
7009
  font-size: 16px;
6368
7010
  vertical-align: middle;
6369
- fill: var(--color--ink-subtle);
7011
+ color: var(--color--ink-subtle);
6370
7012
  }
6371
7013
  /* Plugin-injected actions render their icon through .PluginIcon; normalize it
6372
- to match native option icons (muted fill, sizing and spacing). */
7014
+ to match native option icons (muted color, sizing and spacing). */
6373
7015
  .PluginIcon {
6374
7016
  margin-right: 0;
6375
7017
  font-size: 16px;
6376
7018
  }
6377
- /* The rule of _PluginIcon.css (fill: currentColor) comes later in the
6378
- styles: the two classes make this rule stronger */
6379
- > .PluginIcon.PluginIcon--svg {
6380
- fill: var(--color--ink-subtle);
6381
- }
6382
7019
  /* At a 16px font size, the emoji glyph fills the box as much as an SVG
6383
7020
  icon */
6384
7021
  > .ItemTypeEmoji,
@@ -6444,7 +7081,7 @@ span.SidebarTree__node__toggle {
6444
7081
  border-radius: var(--radius-s);
6445
7082
 
6446
7083
  svg {
6447
- fill: var(--color--ink-subtle);
7084
+ color: var(--color--ink-subtle);
6448
7085
  }
6449
7086
  }
6450
7087
  /* The button is a square as tall as the option. The negative margin takes
@@ -6468,16 +7105,16 @@ button.Dropdown__menu__option__icon {
6468
7105
  background-color: var(--color--surface-raised-active);
6469
7106
 
6470
7107
  svg {
6471
- fill: var(--color--ink);
7108
+ color: var(--color--ink);
6472
7109
  }
6473
7110
  }
6474
7111
  }
6475
7112
  .Dropdown__menu__option__icon--delete svg {
6476
- fill: var(--color--danger-soft--ink);
7113
+ color: var(--color--danger-soft--ink);
6477
7114
  }
6478
7115
  button.Dropdown__menu__option__icon--delete:hover svg,
6479
7116
  button.Dropdown__menu__option__icon--delete:focus-visible svg {
6480
- fill: var(--color--danger-soft--ink);
7117
+ color: var(--color--danger-soft--ink);
6481
7118
  }
6482
7119
  .Dropdown__menu__separator {
6483
7120
  height: 1px;
@@ -6735,7 +7372,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
6735
7372
  background: var(--color--surface-muted);
6736
7373
 
6737
7374
  & .Callout__icon svg {
6738
- fill: var(--color--ink-subtle);
7375
+ color: var(--color--ink-subtle);
6739
7376
  }
6740
7377
  }
6741
7378
 
@@ -6746,7 +7383,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
6746
7383
  background: var(--color--success-soft--surface);
6747
7384
 
6748
7385
  & .Callout__icon svg {
6749
- fill: var(--color--success-soft--ink);
7386
+ color: var(--color--success-soft--ink);
6750
7387
  }
6751
7388
  }
6752
7389
 
@@ -6755,7 +7392,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
6755
7392
  background: var(--color--warning-soft--surface);
6756
7393
 
6757
7394
  & .Callout__icon svg {
6758
- fill: var(--color--warning-soft--ink);
7395
+ color: var(--color--warning-soft--ink);
6759
7396
  }
6760
7397
  }
6761
7398
 
@@ -6764,7 +7401,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
6764
7401
  background: var(--color--danger-soft--surface);
6765
7402
 
6766
7403
  & .Callout__icon svg {
6767
- fill: var(--color--danger-soft--ink);
7404
+ color: var(--color--danger-soft--ink);
6768
7405
  }
6769
7406
  }
6770
7407
  .SidebarPanel {
@@ -6859,7 +7496,9 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
6859
7496
  flex-direction: row;
6860
7497
  gap: var(--spacing-m);
6861
7498
  align-items: center;
6862
- justify-content: center;
7499
+ /* Content that is too wide starts at the left edge: an overflow past the
7500
+ left edge cannot scroll into view. */
7501
+ justify-content: safe center;
6863
7502
  min-width: 0;
6864
7503
  min-height: var(--Toolbar-height);
6865
7504
  > *:last-child {
@@ -6991,14 +7630,14 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
6991
7630
  & svg {
6992
7631
  width: 12px;
6993
7632
  height: 12px;
6994
- fill: var(--color--ink-subtle);
7633
+ color: var(--color--ink-subtle);
6995
7634
  }
6996
7635
  &:hover,
6997
7636
  &.is-open {
6998
7637
  background: var(--color--surface-hover);
6999
7638
 
7000
7639
  & svg {
7001
- fill: var(--color--ink);
7640
+ color: var(--color--ink);
7002
7641
  }
7003
7642
  }
7004
7643
  }
@@ -7045,8 +7684,12 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7045
7684
  white-space: nowrap;
7046
7685
  }
7047
7686
  /* A subtitle that opens a menu (see TextualDropdown.tsx): it must not clip
7048
- the hover surface of its trigger */
7687
+ the hover surface of its trigger. It shrinks with the title, and its
7688
+ trigger gets the ellipsis, thus a long value does not push the title to
7689
+ 0px. */
7049
7690
  .Toolbar__subtitle--dropdown {
7691
+ flex-shrink: 1;
7692
+ min-width: 0;
7050
7693
  overflow: visible;
7051
7694
  }
7052
7695
  /* A long name of a saved filter shows an ellipsis, thus the title keeps its
@@ -7064,13 +7707,76 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7064
7707
  .Toolbar__space {
7065
7708
  flex: 1;
7066
7709
  }
7710
+ /* It takes the free width of the toolbar, thus it is the container of the
7711
+ narrow layout of the pagination (see "_Pagination.css"). After a title,
7712
+ the pages go at the right end, as after a Toolbar.Space. */
7713
+ .Toolbar__pagination {
7714
+ display: flex;
7715
+ flex: 1;
7716
+ gap: var(--spacing-m);
7717
+ align-items: center;
7718
+ justify-content: safe center;
7719
+ min-width: 0;
7720
+ container: toolbar-pagination / inline-size;
7721
+
7722
+ &:not(:only-child) {
7723
+ justify-content: safe flex-end;
7724
+ }
7725
+ }
7067
7726
  .Toolbar__fill {
7068
7727
  display: flex;
7069
7728
  flex: 1;
7070
7729
  }
7730
+ /* The parts of a filter row are bare (see the Filter section of the Toolbar
7731
+ page), thus the row gives them the gap of a toolbar. */
7732
+ .Toolbar--fields > .Toolbar__fill {
7733
+ gap: var(--spacing-m);
7734
+ align-items: flex-start;
7735
+
7736
+ /* Each part is at least as tall as a field of one line, and centers its
7737
+ own content in that height. Thus the parts stay on the first line of the
7738
+ tiles when the tiles wrap. Toolbar.Divider stretches to the full height
7739
+ of the row. */
7740
+ > * {
7741
+ box-sizing: border-box;
7742
+ min-height: var(--control-height);
7743
+ }
7744
+ }
7745
+ /* The widths of the two edge fades of .Toolbar__tabs. They must be
7746
+ registered: an animation cannot interpolate a custom property that is not
7747
+ registered. */
7748
+ @property --Toolbar__tabs-fade-start {
7749
+ syntax: "<length>";
7750
+ inherits: false;
7751
+ initial-value: 0px;
7752
+ }
7753
+ @property --Toolbar__tabs-fade-end {
7754
+ syntax: "<length>";
7755
+ inherits: false;
7756
+ initial-value: 0px;
7757
+ }
7758
+ @keyframes Toolbar__tabs-fade-start {
7759
+ to {
7760
+ --Toolbar__tabs-fade-start: var(--Toolbar__tabs-fade);
7761
+ }
7762
+ }
7763
+ @keyframes Toolbar__tabs-fade-end {
7764
+ from {
7765
+ --Toolbar__tabs-fade-end: var(--Toolbar__tabs-fade);
7766
+ }
7767
+ }
7071
7768
  /* It fills the full height of the toolbar, thus the line under the active tab
7072
- touches the bottom border of the toolbar. */
7769
+ touches the bottom border of the toolbar.
7770
+
7771
+ The scrollbar is hidden, thus an edge fades when tabs are hidden past it.
7772
+ The fade is a mask, thus it works on any background. Each fade follows
7773
+ the scroll of the strip: it grows in the first and the last
7774
+ --Toolbar__tabs-fade of the scroll. A strip that does not scroll has no
7775
+ active timeline, thus no fade. Chromium keeps the last fade when a strip
7776
+ stops scrolling: useTabRowFadeReset restarts the animations then. */
7073
7777
  .Toolbar__tabs {
7778
+ --Toolbar__tabs-fade: var(--spacing-xl);
7779
+
7074
7780
  display: flex;
7075
7781
  flex: 0 1 auto;
7076
7782
  align-self: stretch;
@@ -7079,6 +7785,20 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7079
7785
  overflow-x: auto;
7080
7786
  white-space: nowrap;
7081
7787
  scrollbar-width: none;
7788
+ mask-image: linear-gradient(
7789
+ to right,
7790
+ transparent,
7791
+ #000 var(--Toolbar__tabs-fade-start),
7792
+ #000 calc(100% - var(--Toolbar__tabs-fade-end)),
7793
+ transparent
7794
+ );
7795
+ animation:
7796
+ Toolbar__tabs-fade-start linear both,
7797
+ Toolbar__tabs-fade-end linear both;
7798
+ animation-timeline: scroll(self inline), scroll(self inline);
7799
+ animation-range:
7800
+ 0 var(--Toolbar__tabs-fade),
7801
+ calc(100% - var(--Toolbar__tabs-fade)) 100%;
7082
7802
  -webkit-overflow-scrolling: touch;
7083
7803
  -ms-overflow-style: -ms-autohiding-scrollbar;
7084
7804
 
@@ -7130,10 +7850,13 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7130
7850
  background-color: var(--color--primary--surface);
7131
7851
  }
7132
7852
  }
7853
+ /* A button element is as wide as its content, also as a flex box, thus it
7854
+ needs "max-width" to stay in the title. */
7133
7855
  .Toolbar__title--dropdown {
7134
7856
  display: flex;
7135
7857
  align-items: center;
7136
7858
  min-width: 0;
7859
+ max-width: 100%;
7137
7860
  padding: 0;
7138
7861
  font: inherit;
7139
7862
  color: inherit;
@@ -7194,7 +7917,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7194
7917
  font-size: 1.1em;
7195
7918
 
7196
7919
  svg {
7197
- fill: var(--color--ink);
7920
+ color: var(--color--ink);
7198
7921
  }
7199
7922
  }
7200
7923
  /* The filter has no field look, so the disabled state only dims it. The
@@ -7209,7 +7932,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7209
7932
  }
7210
7933
  }
7211
7934
  .Toolbar__filter__icon--disabled svg {
7212
- fill: var(--color--ink-disabled);
7935
+ color: var(--color--ink-disabled);
7213
7936
  }
7214
7937
 
7215
7938
  /* The menu of the title. Its button has no surface until hover, thus the
@@ -7224,6 +7947,230 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7224
7947
  .Toolbar__spinner {
7225
7948
  margin-left: var(--spacing-m);
7226
7949
  }
7950
+ .FilterBuilder {
7951
+ display: flex;
7952
+ flex: 3;
7953
+ gap: var(--spacing-m);
7954
+ align-items: flex-start;
7955
+ min-width: 0;
7956
+ }
7957
+ /* The funnel and the clear button stay on the first line of the tiles when
7958
+ the tiles wrap */
7959
+ .FilterBuilder__icon,
7960
+ .FilterBuilder__clear {
7961
+ display: flex;
7962
+ flex: none;
7963
+ align-items: center;
7964
+ min-height: var(--control-height);
7965
+ }
7966
+ .FilterBuilder__icon svg {
7967
+ display: block;
7968
+ color: var(--color--ink-subtle);
7969
+ }
7970
+ /* The padding and the row gap keep a space of 4px around each line of
7971
+ tiles. With one line, the line fills the min-height and its tiles are in
7972
+ the center. */
7973
+ .FilterBuilder__box {
7974
+ box-sizing: border-box;
7975
+ display: flex;
7976
+ flex: 1;
7977
+ flex-wrap: wrap;
7978
+ gap: 4px var(--spacing-m);
7979
+ align-items: center;
7980
+ min-width: 0;
7981
+ min-height: var(--control-height);
7982
+ padding-block: 4px;
7983
+ }
7984
+ .FilterBuilder__empty {
7985
+ color: var(--color--ink-subtle);
7986
+ }
7987
+ .FilterBuilder__add {
7988
+ display: flex;
7989
+ }
7990
+ .FilterBuilder__tile {
7991
+ position: relative;
7992
+ display: flex;
7993
+ align-items: stretch;
7994
+ max-width: 100%;
7995
+ background-color: var(--color--surface-raised);
7996
+ border: 1px solid var(--color--primary-soft--border);
7997
+ border-radius: var(--radius-s);
7998
+ transition:
7999
+ border-color 0.1s ease-out,
8000
+ box-shadow 0.1s ease-out;
8001
+
8002
+ &:hover {
8003
+ border-color: var(--color--focus--border);
8004
+ }
8005
+ /* The small selects of the tile draw no focus ring, thus the tile draws
8006
+ it for all its inputs */
8007
+ &:focus-within {
8008
+ border-color: var(--color--focus--border);
8009
+ box-shadow: var(--focus-ring);
8010
+ }
8011
+ /* A read-only tile has no hover look, as the other read-only inputs */
8012
+ .FilterBuilder.is-read-only &:hover:not(:focus-within) {
8013
+ border-color: var(--color--primary-soft--border);
8014
+ }
8015
+ }
8016
+ .FilterBuilder__field,
8017
+ .FilterBuilder__operator {
8018
+ position: relative;
8019
+ border-right: 1px solid var(--color--primary-soft--border);
8020
+ }
8021
+ /* The tile has a border of 1px, thus the inner radius is 1px smaller */
8022
+ .FilterBuilder__field {
8023
+ border-radius: calc(var(--radius-s) - 1px) 0 0 calc(var(--radius-s) - 1px);
8024
+ }
8025
+ .FilterBuilder__operator--static {
8026
+ display: flex;
8027
+ align-items: center;
8028
+ padding: 0 10px;
8029
+ font-size: var(--font-size-xs);
8030
+ color: var(--color--ink-subtle);
8031
+ }
8032
+ /* The value keeps a minimum width, even when it is empty, thus the user can
8033
+ find it and click it */
8034
+ .FilterBuilder__value {
8035
+ display: flex;
8036
+ align-items: stretch;
8037
+ min-width: 80px;
8038
+
8039
+ > * {
8040
+ flex: 1 0 auto;
8041
+ }
8042
+ }
8043
+ .FilterBuilder__argument {
8044
+ display: flex;
8045
+ align-items: center;
8046
+ margin-inline: 10px;
8047
+ }
8048
+ .FilterBuilder__argument-label {
8049
+ padding-right: 8px;
8050
+ font-size: var(--font-size-xs);
8051
+ }
8052
+ /* The text inputs have no field look: the tile is the field */
8053
+ .FilterBuilder__value > .AutosizeInput,
8054
+ .FilterBuilder__argument > .AutosizeInput {
8055
+ --autosize-input-padding-inline: 10px;
8056
+ --autosize-input-border-inline: 0px;
8057
+ min-width: 80px;
8058
+ max-width: 30vw;
8059
+ font-size: var(--font-size-xs);
8060
+
8061
+ > input[type="text"] {
8062
+ padding-block: 5px;
8063
+ appearance: none;
8064
+ background-color: transparent;
8065
+ border: none;
8066
+
8067
+ &:focus {
8068
+ box-shadow: none;
8069
+ }
8070
+ }
8071
+ }
8072
+ .FilterBuilder__remove {
8073
+ align-self: center;
8074
+ margin-right: 4px;
8075
+ }
8076
+ .UploadPreview {
8077
+ position: relative;
8078
+ box-sizing: border-box;
8079
+ display: block;
8080
+ display: flex;
8081
+ align-items: center;
8082
+ justify-content: center;
8083
+ overflow: hidden;
8084
+ text-decoration: none;
8085
+ background-color: var(--color--surface-raised);
8086
+ border-radius: var(--radius-s);
8087
+
8088
+ /* The image has space around it in the box, thus it gets its own small
8089
+ radius. The thumbhash canvas and the checkerboard behind the image (see
8090
+ UploadPreview.tsx) show before the image loads, thus they get the same
8091
+ radius. */
8092
+ img,
8093
+ canvas,
8094
+ .checkboard-bg {
8095
+ border-radius: var(--radius-xs);
8096
+ }
8097
+ }
8098
+ .UploadPreview--transparent {
8099
+ background-color: transparent;
8100
+ }
8101
+ .UploadPreview__overlay {
8102
+ position: absolute;
8103
+ inset: 0;
8104
+ background-color: var(--color--primary--surface-secondary);
8105
+ opacity: 0.4;
8106
+ }
8107
+ .UploadPreview__progress__label {
8108
+ font-size: var(--font-size-m);
8109
+ color: var(--color--ink-subtle);
8110
+ }
8111
+ /* The waveform is always the same picture, not the sound of the file */
8112
+
8113
+ /* A registered percentage, so the played part grows smoothly between two
8114
+ updates of the time */
8115
+ @property --AudioPlayPause-progress {
8116
+ syntax: "<percentage>";
8117
+ inherits: false;
8118
+ initial-value: 0%;
8119
+ }
8120
+ .AudioPlayPause {
8121
+ position: relative;
8122
+ display: flex;
8123
+ align-items: center;
8124
+ justify-content: center;
8125
+ }
8126
+ /* The picture is a mask: the background gives the colors of the bars */
8127
+ .AudioPlayPause__wave {
8128
+ width: 80%;
8129
+ aspect-ratio: 174 / 40;
8130
+ /* token-audit-disable-next-line mismatch -- the mask makes the background the bars of a picture, so it's foreground */
8131
+ background: linear-gradient(
8132
+ to right,
8133
+ var(--color--progress--fill) var(--AudioPlayPause-progress),
8134
+ var(--color--ink-placeholder) var(--AudioPlayPause-progress)
8135
+ );
8136
+ mask:
8137
+ 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")
8138
+ center / 100% 100% no-repeat;
8139
+ transition: --AudioPlayPause-progress 0.3s linear;
8140
+ }
8141
+ .AudioPlayPause__button {
8142
+ position: absolute;
8143
+ }
8144
+ /* The audio play button is the only button with fully round corners (see
8145
+ also AudioPlayer) */
8146
+ .AudioPlayPause.big .AudioPlayPause__button {
8147
+ top: 50%;
8148
+ left: 50%;
8149
+ border-radius: var(--radius-full);
8150
+ transform: translate(-50%, -50%);
8151
+ }
8152
+ /* A small preview (a row of a table) has no room for a round button: all
8153
+ the preview is the button, and the icon is on the waveform */
8154
+ .AudioPlayPause.small {
8155
+ .AudioPlayPause__wave {
8156
+ opacity: 0.5;
8157
+ }
8158
+ .AudioPlayPause__button {
8159
+ inset: 0;
8160
+ display: flex;
8161
+ align-items: center;
8162
+ justify-content: center;
8163
+ font-size: 15px;
8164
+
8165
+ svg {
8166
+ color: var(--color--ink-subtle);
8167
+ }
8168
+ &:hover svg,
8169
+ &:focus-visible svg {
8170
+ color: var(--color--ink-link);
8171
+ }
8172
+ }
8173
+ }
7227
8174
  /* The button and the dropdown are also in the balloon toolbar of the
7228
8175
  structured text editor. */
7229
8176
  .EditorToolbar {
@@ -7319,11 +8266,11 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7319
8266
  }
7320
8267
  svg:first-child {
7321
8268
  margin-right: 10px;
7322
- fill: var(--color--ink);
8269
+ color: var(--color--ink);
7323
8270
  }
7324
8271
  svg:last-child {
7325
8272
  margin-left: 10px;
7326
- fill: var(--color--ink-subtle);
8273
+ color: var(--color--ink-subtle);
7327
8274
  }
7328
8275
  svg:first-child:last-child {
7329
8276
  margin-right: 0;
@@ -7348,7 +8295,6 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7348
8295
  }
7349
8296
  svg {
7350
8297
  display: block;
7351
- fill: currentColor;
7352
8298
  }
7353
8299
  &:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
7354
8300
  background: var(--color--surface-hover);
@@ -7361,7 +8307,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7361
8307
  opacity: var(--disabled-opacity);
7362
8308
  }
7363
8309
  }
7364
- /* The surface of HoverCard (ui/HoverCard). The content of the
8310
+ /* The surface of HoverCard (ui-public/HoverCard). The content of the
7365
8311
  card does not draw a surface of its own. */
7366
8312
  .HoverCard {
7367
8313
  box-sizing: border-box;
@@ -7413,7 +8359,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7413
8359
  > svg {
7414
8360
  flex: none;
7415
8361
  font-size: 16px;
7416
- fill: var(--color--ink-subtle);
8362
+ color: var(--color--ink-subtle);
7417
8363
  }
7418
8364
  }
7419
8365
  .EntitySummary__image {
@@ -7504,19 +8450,19 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7504
8450
  }
7505
8451
  }
7506
8452
  .RadioGroupInput__option.is-checked .RadioGroupInput__radio::before {
7507
- background-color: var(--color--primary--surface);
8453
+ background-color: var(--color--control-on--surface);
7508
8454
  background-image: radial-gradient(
7509
- var(--color--primary--ink) 28%,
8455
+ var(--color--control-on--ink) 28%,
7510
8456
  transparent 33%
7511
8457
  );
7512
8458
  /* token-audit-disable-next-line mismatch -- the border has the same color as the fill */
7513
- border-color: var(--color--primary--surface);
8459
+ border-color: var(--color--control-on--surface);
7514
8460
  }
7515
8461
  .RadioGroupInput__option.is-checked:hover:not(.is-disabled, .is-read-only)
7516
8462
  .RadioGroupInput__radio::before {
7517
- background-color: var(--color--primary--surface-hover);
8463
+ background-color: var(--color--control-on--surface-hover);
7518
8464
  /* token-audit-disable-next-line mismatch -- the border has the same color as the fill */
7519
- border-color: var(--color--primary--surface-hover);
8465
+ border-color: var(--color--control-on--surface-hover);
7520
8466
  }
7521
8467
  .RadioGroupInput__option.is-disabled .RadioGroupInput__radio::before {
7522
8468
  background-color: transparent;
@@ -7552,11 +8498,13 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7552
8498
  svg {
7553
8499
  width: 2em;
7554
8500
  height: 2em;
7555
- fill: currentColor;
7556
8501
  }
7557
8502
  }
8503
+ /* The text can wrap a long word, thus the option is never wider than the
8504
+ group */
7558
8505
  .RadioGroupInput__body {
7559
8506
  align-self: center;
8507
+ min-width: 0;
7560
8508
  margin-left: calc(1.5 * var(--space-unit));
7561
8509
  }
7562
8510
  .RadioGroupInput__label {
@@ -7574,64 +8522,657 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7574
8522
  color: var(--color--disabled-field--ink-placeholder);
7575
8523
  }
7576
8524
  }
7577
- /* All are kbd elements: the normalize sheet gives a kbd the monospace font */
7578
- .Shortcut,
7579
- .Shortcut__key {
7580
- font-family: inherit;
8525
+ .DateTimeInput {
8526
+ position: relative;
8527
+ display: flex;
8528
+ width: 100%;
7581
8529
  }
7582
- /* The sizes are in em, because the spacing scale has no step under
7583
- --spacing-s. The key keeps the same proportions at each font size. */
7584
- .Shortcut,
7585
- .Shortcut__keys {
8530
+ .DateTimeInput--autosize {
7586
8531
  display: inline-flex;
7587
- gap: 0.25em;
7588
- align-items: center;
7589
- font-size: var(--font-size-xs);
8532
+ width: auto;
8533
+ max-width: 100%;
7590
8534
  }
7591
- /* A neutral keycap: the keys must not compete with the name of the action
7592
- next to them */
7593
- .Shortcut__key {
7594
- box-sizing: border-box;
7595
- display: flex;
7596
- align-items: center;
7597
- justify-content: center;
7598
- min-width: 1.6em;
7599
- height: 1.6em;
7600
- padding-inline: 0.3em;
7601
- line-height: 1;
7602
- color: var(--color--ink-subtle);
7603
- background-color: var(--color--surface-raised);
7604
- border: 1px solid var(--color--border);
7605
- border-radius: var(--radius-s);
8535
+ .DateTimeInput__field {
8536
+ flex: 1;
8537
+ padding: 0 4px;
8538
+
8539
+ /* The timezone select is not an InputFrame__input, but its focus also
8540
+ shows the focus ring of the frame */
8541
+ &:has(.DateTimeInput__timezone :focus) {
8542
+ border-color: var(--color--focus--border);
8543
+ box-shadow: var(--focus-ring);
8544
+ }
8545
+ /* A disabled or read-only field has no focus ring. These rules have the
8546
+ specificity of the focus rules of _InputFrame.css, and they come after
8547
+ them, thus they win. */
8548
+ .DateTimeInput.is-disabled &,
8549
+ .DateTimeInput.is-read-only & {
8550
+ border-color: var(--color--border);
8551
+ box-shadow: none;
8552
+ }
7606
8553
  }
7607
- .Shortcut__word {
7608
- color: var(--color--ink-subtle);
8554
+ /* The date and the time have the width of their text (see sizerText in
8555
+ src/form/DateTimeInput/Base.tsx). Thus no empty space comes between the time and
8556
+ the timezone, and a long format does not get cut. The date, the time and
8557
+ the timezone read as one value: no line separates them. */
8558
+ .DateTimeInput__sizer {
8559
+ --autosize-input-padding-inline: 6px;
8560
+ --autosize-input-border-inline: 0px;
8561
+ flex: none;
8562
+ font-variant-numeric: tabular-nums;
7609
8563
  }
7610
- .Pane {
7611
- position: absolute;
7612
- inset: 0;
7613
- display: flex;
7614
- flex-direction: column;
7615
- border-right: 1px solid var(--color--border);
8564
+ /* The rules of the timezone have three classes, thus they are stronger than
8565
+ the styles of react-select */
8566
+ .DateTimeInput__timezone {
8567
+ flex: none;
8568
+ }
8569
+ /* When the field is wider than its parts, the empty space comes before the
8570
+ clear button. Thus the button stays at the right
8571
+ end, and the value stays together at the left. */
8572
+ .DateTimeInput__clear {
8573
+ margin-left: auto;
7616
8574
  }
8575
+ .DateTimeInput__field
8576
+ .DateTimeInput__timezone
8577
+ .DateTimeInput__timezone__control {
8578
+ min-height: 0;
8579
+ padding: 2px 4px 2px 8px;
8580
+ color: var(--color--ink-subtle);
8581
+ cursor: pointer;
8582
+ background-color: transparent;
8583
+ border-radius: var(--radius-s);
8584
+ box-shadow: none;
8585
+ transition: background-color 0.2s var(--material-ease);
7617
8586
 
7618
- .Pane__overlay {
7619
- z-index: 999;
8587
+ &:hover,
8588
+ &.DateTimeInput__timezone__control--menu-is-open {
8589
+ color: var(--color--ink);
8590
+ background-color: var(--color--surface-hover);
8591
+ }
8592
+ /* A disabled timezone is a value, not a button */
8593
+ &.DateTimeInput__timezone__control--is-disabled {
8594
+ color: var(--color--disabled-field--ink);
8595
+ cursor: default;
8596
+ background-color: transparent;
8597
+ }
7620
8598
  }
7621
- .Pane__header,
7622
- .Pane__footer {
7623
- flex: 0;
7624
- overflow: visible;
8599
+ /* The timezone is at the right end of the field, and its menu is wider than
8600
+ it. Thus the menu aligns with the right edge of the timezone and opens to
8601
+ the left: when the field is near the right edge of the screen, the menu
8602
+ stays in the screen. */
8603
+ .DateTimeInput__field .DateTimeInput__timezone .DateTimeInput__timezone__menu {
8604
+ right: 0;
8605
+ left: auto;
7625
8606
  }
7626
- .Pane__header {
7627
- > * {
7628
- border-bottom: 1px solid var(--color--border);
7629
- }
8607
+ .DateTimeInput__field
8608
+ .DateTimeInput__timezone
8609
+ .DateTimeInput__timezone__single-value {
8610
+ font-variant-numeric: tabular-nums;
8611
+ color: inherit;
7630
8612
  }
7631
- .Pane__footer {
7632
- > * {
7633
- border-top: 1px solid var(--color--border);
7634
- }
8613
+ .DateTimeInput__field
8614
+ .DateTimeInput__timezone
8615
+ .DateTimeInput__timezone__value-container {
8616
+ padding: 0;
8617
+ }
8618
+ .DateTimeInput__field
8619
+ .DateTimeInput__timezone
8620
+ .DateTimeInput__timezone__dropdown-indicator {
8621
+ padding: 0 0 0 4px;
8622
+ color: inherit;
8623
+
8624
+ svg {
8625
+ width: 14px;
8626
+ height: 14px;
8627
+ }
8628
+ }
8629
+
8630
+ .DateTimeInput--smaller {
8631
+ .DateTimeInput__field {
8632
+ padding: 0;
8633
+ background-color: transparent;
8634
+ border: 0;
8635
+ box-shadow: none;
8636
+ }
8637
+ .DateTimeInput__sizer {
8638
+ --autosize-input-padding-inline: 5px;
8639
+ font-size: var(--font-size-xs);
8640
+ }
8641
+ .DateTimeInput__date,
8642
+ .DateTimeInput__time {
8643
+ padding-block: 5px;
8644
+ }
8645
+ }
8646
+
8647
+ .DateTimeInput__date-popper {
8648
+ box-sizing: border-box;
8649
+ width: 272px;
8650
+ padding: 8px;
8651
+ background-color: var(--color--surface-raised);
8652
+ border: 1px solid var(--color--border-raised);
8653
+ border-radius: var(--radius-m);
8654
+ box-shadow: var(--shadow--floating);
8655
+ }
8656
+ .DateTimeInput__CalendarHeader {
8657
+ display: flex;
8658
+ align-items: center;
8659
+ margin-bottom: 4px;
8660
+ }
8661
+ .DateTimeInput__CalendarHeader__title {
8662
+ flex: 1;
8663
+ padding-left: 6px;
8664
+ font-weight: var(--font-weight-strong);
8665
+ }
8666
+ .DateTimeInput__CalendarHeader__actions {
8667
+ display: flex;
8668
+ }
8669
+ .DateTimeInput__CalendarHeader__action--today svg {
8670
+ font-size: 0.8em;
8671
+ }
8672
+ .DateTimeInput__CalendarGrid {
8673
+ display: grid;
8674
+ grid-template-columns: repeat(7, 1fr);
8675
+ gap: 2px;
8676
+ text-align: center;
8677
+ }
8678
+ /* The rows and the cells of the grid role give no box: the days are the
8679
+ items of the CSS grid */
8680
+ .DateTimeInput__CalendarRow,
8681
+ .DateTimeInput__CalendarCell {
8682
+ display: contents;
8683
+ }
8684
+ .DateTimeInput__CalendarWeekDay {
8685
+ padding: 6px 0;
8686
+ font-size: var(--font-size-xs);
8687
+ color: var(--color--ink-subtle);
8688
+ }
8689
+ .DateTimeInput__CalendarDayCell {
8690
+ position: relative;
8691
+ height: 32px;
8692
+ padding: 0;
8693
+ font-variant-numeric: tabular-nums;
8694
+ color: var(--color--ink);
8695
+ cursor: pointer;
8696
+ background: none;
8697
+ border: 0;
8698
+ border-radius: var(--radius-s);
8699
+
8700
+ &:hover {
8701
+ background-color: var(--color--surface-hover);
8702
+ }
8703
+ &:focus-visible {
8704
+ box-shadow: var(--focus-ring);
8705
+ }
8706
+ &[disabled],
8707
+ &[aria-disabled="true"] {
8708
+ color: var(--color--ink-disabled);
8709
+ cursor: not-allowed;
8710
+
8711
+ &:hover {
8712
+ background: none;
8713
+ }
8714
+ }
8715
+ }
8716
+ .DateTimeInput__CalendarDayCell--inAdjacentMonth {
8717
+ color: var(--color--ink-subtle);
8718
+ }
8719
+ .DateTimeInput__CalendarDayCell--isToday {
8720
+ font-weight: var(--font-weight-strong);
8721
+ box-shadow: inset 0 0 0 1px var(--color--selected--border);
8722
+ }
8723
+ .DateTimeInput__CalendarDayCell--inRange {
8724
+ background-color: var(--color--selected--surface);
8725
+ }
8726
+ .DateTimeInput__CalendarDayCell--isSelected {
8727
+ font-weight: var(--font-weight-strong);
8728
+ color: var(--color--primary--ink);
8729
+ background-color: var(--color--primary--surface);
8730
+ box-shadow: none;
8731
+
8732
+ &:hover {
8733
+ background-color: var(--color--primary--surface);
8734
+ }
8735
+ }
8736
+ .DateTimeRangeInput {
8737
+ position: relative;
8738
+ display: flex;
8739
+ width: 100%;
8740
+ }
8741
+ .DateTimeRangeInput--autosize {
8742
+ display: inline-flex;
8743
+ width: auto;
8744
+ max-width: 100%;
8745
+ }
8746
+ .DateTimeRangeInput__dropdown {
8747
+ display: flex;
8748
+ flex: 1;
8749
+ min-width: 0;
8750
+ }
8751
+
8752
+ /* The trigger has the look of a field, so it has the height of a field (see
8753
+ --control-height) */
8754
+ .DateTimeRangeInput__trigger {
8755
+ box-sizing: border-box;
8756
+ display: flex;
8757
+ flex: 1;
8758
+ gap: 8px;
8759
+ align-items: center;
8760
+ min-width: 0;
8761
+ min-height: var(--control-height);
8762
+ padding: 10px;
8763
+ font-size: var(--font-size-m);
8764
+ color: var(--color--ink);
8765
+ cursor: pointer;
8766
+ background: var(--color--surface-raised);
8767
+ border: 1px solid var(--color--border);
8768
+ border-radius: var(--radius-s);
8769
+ transition: border-color 0.15s ease;
8770
+
8771
+ &:hover {
8772
+ border-color: var(--color--border-hover);
8773
+ }
8774
+ &[aria-expanded="true"] {
8775
+ border-color: var(--color--focus--border);
8776
+ }
8777
+ &:focus-visible {
8778
+ border-color: var(--color--focus--border);
8779
+ box-shadow: var(--focus-ring);
8780
+ }
8781
+
8782
+ svg {
8783
+ color: var(--color--ink-subtle);
8784
+ }
8785
+
8786
+ /* A locked trigger is a field that the user cannot change: the value stays
8787
+ readable */
8788
+ .DateTimeRangeInput.is-disabled &,
8789
+ .DateTimeRangeInput.is-read-only & {
8790
+ cursor: default;
8791
+ border-color: var(--color--border);
8792
+ }
8793
+ .DateTimeRangeInput.is-disabled & {
8794
+ color: var(--color--disabled-field--ink);
8795
+ background: var(--color--disabled-field--surface);
8796
+ }
8797
+ }
8798
+ .DateTimeRangeInput__trigger-icon {
8799
+ flex-shrink: 0;
8800
+ width: 14px;
8801
+ height: 14px;
8802
+ }
8803
+ .DateTimeRangeInput__trigger-label {
8804
+ flex: 1;
8805
+ overflow: hidden;
8806
+ text-overflow: ellipsis;
8807
+ text-align: left;
8808
+ white-space: nowrap;
8809
+ }
8810
+
8811
+ /* The clear button is over the right end of the trigger, where the chevron
8812
+ is in the other states. The trigger keeps space for it, so the label does
8813
+ not go below it. */
8814
+ .DateTimeRangeInput--clearable .DateTimeRangeInput__trigger {
8815
+ padding-right: calc(10px + 1lh + 2 * 0.3em);
8816
+ }
8817
+ .DateTimeRangeInput__clear {
8818
+ position: absolute;
8819
+ top: 50%;
8820
+ right: 6px;
8821
+ transform: translateY(-50%);
8822
+ }
8823
+
8824
+ /* The box around a filter draws the focus ring, as for the other inputs of
8825
+ the filter look */
8826
+ .DateTimeRangeInput--filter .DateTimeRangeInput__trigger {
8827
+ min-height: 0;
8828
+ padding: 5px;
8829
+ font-size: var(--font-size-xs);
8830
+ background: transparent;
8831
+ border: 0;
8832
+ box-shadow: none;
8833
+ }
8834
+
8835
+ .DateTimeRangeInput__panel {
8836
+ box-sizing: border-box;
8837
+ width: 280px;
8838
+ padding: 12px;
8839
+ background: var(--color--surface-raised);
8840
+ border: 1px solid var(--color--border-raised);
8841
+ border-radius: var(--radius-m);
8842
+ box-shadow: var(--shadow--floating);
8843
+ }
8844
+ .DateTimeRangeInput__edges {
8845
+ display: flex;
8846
+ flex-direction: column;
8847
+ gap: 8px;
8848
+ margin-top: 12px;
8849
+ }
8850
+ .DateTimeRangeInput__edge-label {
8851
+ display: block;
8852
+ margin-bottom: 4px;
8853
+ font-weight: var(--font-weight-strong);
8854
+ color: var(--color--ink-subtle);
8855
+ }
8856
+ .DateTimeRangeInput__edge-inputs {
8857
+ display: flex;
8858
+ gap: 6px;
8859
+ }
8860
+ .DateTimeRangeInput__edge-date {
8861
+ flex: 1.3;
8862
+ min-width: 0;
8863
+
8864
+ /* The next pick in the calendar sets the end of this text */
8865
+ &.is-active {
8866
+ border-color: var(--color--focus--border);
8867
+ }
8868
+ }
8869
+ .DateTimeRangeInput__edge-time {
8870
+ flex: 0.7;
8871
+ min-width: 0;
8872
+ }
8873
+ .ColorInput {
8874
+ position: relative;
8875
+ display: flex;
8876
+ width: 100%;
8877
+ }
8878
+ /* A width that fits a hex value with alpha (#RRGGBBAA) and the clear button */
8879
+ .ColorInput--autosize {
8880
+ display: inline-flex;
8881
+ width: 220px;
8882
+ max-width: 100%;
8883
+ }
8884
+ .ColorInput__field {
8885
+ flex: 1;
8886
+ }
8887
+ .ColorInput__swatch {
8888
+ display: flex;
8889
+ flex: none;
8890
+ padding: 0 0 0 8px;
8891
+ cursor: pointer;
8892
+ background: none;
8893
+ border: 0;
8894
+
8895
+ &[disabled] {
8896
+ cursor: default;
8897
+ }
8898
+ }
8899
+ /* The color (see the --ColorInput-swatch property, which the component sets)
8900
+ is on top of a checkerboard, which shows the alpha. The two are layers of
8901
+ one background, thus the checkerboard does not show at the rounded
8902
+ corners. */
8903
+ .ColorInput__swatch__color {
8904
+ position: relative;
8905
+ display: block;
8906
+ width: 22px;
8907
+ height: 22px;
8908
+ overflow: hidden;
8909
+ background:
8910
+ linear-gradient(var(--ColorInput-swatch), var(--ColorInput-swatch)),
8911
+ url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==");
8912
+ border-radius: var(--radius-s);
8913
+ /* A translucent hairline. It is visible only when the color is near the
8914
+ color of the surface. */
8915
+ /* token-audit-disable-next-line color-mix -- a translucent hairline around the swatch */
8916
+ box-shadow: inset 0 0 0 1px
8917
+ color-mix(in oklch, var(--color--ink) 15%, transparent);
8918
+
8919
+ &.is-empty {
8920
+ background: none;
8921
+
8922
+ &::after {
8923
+ position: absolute;
8924
+ top: 50%;
8925
+ left: -20%;
8926
+ width: 140%;
8927
+ height: 1px;
8928
+ content: "";
8929
+ /* token-audit-disable-next-line mismatch -- a 1px line, drawn with the ink color */
8930
+ background-color: var(--color--ink-subtle);
8931
+ transform: rotate(-45deg);
8932
+ }
8933
+ }
8934
+ }
8935
+ .ColorInput__hex {
8936
+ flex: 1;
8937
+ min-width: 0;
8938
+ font-family: var(--monospaced-font-family);
8939
+ text-transform: uppercase;
8940
+
8941
+ &::placeholder {
8942
+ font-family: var(--base-font-family);
8943
+ text-transform: none;
8944
+ }
8945
+ }
8946
+ .ColorInput__clear {
8947
+ margin-right: 4px;
8948
+ }
8949
+ .ColorInput__pane {
8950
+ box-sizing: border-box;
8951
+ width: 240px;
8952
+ padding: var(--spacing-m);
8953
+ background-color: var(--color--surface-raised);
8954
+ border: 1px solid var(--color--border-raised);
8955
+ border-radius: var(--radius-m);
8956
+ box-shadow: var(--shadow--floating);
8957
+ }
8958
+ /* The picker root has display: contents, thus the saturation area, the
8959
+ sliders and the eye dropper are cells of one grid. The eye dropper is in
8960
+ the left column, next to the sliders. */
8961
+ .ColorInput__picker-area {
8962
+ display: grid;
8963
+ grid-template-columns: 1fr;
8964
+ gap: var(--spacing-s);
8965
+ align-items: center;
8966
+
8967
+ &.has-eye-dropper {
8968
+ grid-template-columns: auto 1fr;
8969
+ }
8970
+ }
8971
+ .ColorInput__picker.react-colorful {
8972
+ --ColorInput-slider-pointer: 14px;
8973
+
8974
+ display: contents;
8975
+
8976
+ .react-colorful__saturation {
8977
+ grid-column: 1 / -1;
8978
+ height: 140px;
8979
+ margin-bottom: var(--spacing-s);
8980
+ border-bottom: 0;
8981
+ border-radius: var(--radius-s);
8982
+ }
8983
+ /* The slider pointer has its center on the value, thus at the two ends
8984
+ it goes out of the track by half its width. The inline margin keeps it
8985
+ inside the grid cell, away from the eye dropper and the pane edge. */
8986
+ .react-colorful__hue,
8987
+ .react-colorful__alpha {
8988
+ grid-column: -2 / -1;
8989
+ height: 12px;
8990
+ margin-inline: calc(var(--ColorInput-slider-pointer) / 2);
8991
+ border-radius: var(--radius-full);
8992
+ }
8993
+ .react-colorful__pointer {
8994
+ width: 16px;
8995
+ height: 16px;
8996
+ border-width: 2px;
8997
+ }
8998
+ .react-colorful__hue-pointer,
8999
+ .react-colorful__alpha-pointer {
9000
+ width: var(--ColorInput-slider-pointer);
9001
+ height: var(--ColorInput-slider-pointer);
9002
+ }
9003
+ }
9004
+ .ColorInput__eye-dropper {
9005
+ grid-row: 2;
9006
+ grid-column: 1;
9007
+
9008
+ .has-alpha > & {
9009
+ grid-row: 2 / span 2;
9010
+ }
9011
+ }
9012
+ .ColorInput__pane__footer {
9013
+ display: flex;
9014
+ flex-wrap: wrap;
9015
+ gap: var(--spacing-s);
9016
+ align-items: center;
9017
+ padding-top: var(--spacing-m);
9018
+ margin-top: var(--spacing-m);
9019
+ border-top: 1px solid var(--color--border);
9020
+ }
9021
+ .ColorInput__preset {
9022
+ display: flex;
9023
+ padding: 2px;
9024
+ cursor: pointer;
9025
+ background: none;
9026
+ border: 0;
9027
+ border-radius: var(--radius-s);
9028
+
9029
+ &:hover,
9030
+ &:focus-visible {
9031
+ box-shadow: 0 0 0 2px var(--color--border-hover);
9032
+ }
9033
+ &.is-selected {
9034
+ box-shadow: 0 0 0 2px var(--color--selected--border);
9035
+ }
9036
+ .ColorInput__swatch__color {
9037
+ width: 20px;
9038
+ height: 20px;
9039
+ }
9040
+ }
9041
+ /* A thick track with a pill thumb. The part of the track before the thumb
9042
+ has the color of a control that is on, the part after it is muted.
9043
+ The component sets --RangeInput-value (0 to 1). */
9044
+ .RangeInput {
9045
+ --RangeInput-thumb-width: 28px;
9046
+ --RangeInput-thumb-height: 18px;
9047
+ --RangeInput-track-height: 6px;
9048
+ /* The center of the thumb: the thumb stays inside the track. */
9049
+ --RangeInput-fill: calc(
9050
+ var(--RangeInput-thumb-width) /
9051
+ 2 +
9052
+ var(--RangeInput-value, 0) *
9053
+ (100% - var(--RangeInput-thumb-width))
9054
+ );
9055
+ width: 100%;
9056
+ height: var(--RangeInput-thumb-height);
9057
+ margin: 0;
9058
+ appearance: none;
9059
+ cursor: pointer;
9060
+ background: none;
9061
+
9062
+ &.is-disabled {
9063
+ pointer-events: none;
9064
+ opacity: var(--disabled-opacity);
9065
+ }
9066
+
9067
+ &:focus-visible {
9068
+ outline: none;
9069
+ border-radius: var(--radius-full);
9070
+ box-shadow: var(--focus-ring);
9071
+ }
9072
+
9073
+ /* Two hard stops: no fade. */
9074
+ &::-webkit-slider-runnable-track {
9075
+ height: var(--RangeInput-track-height);
9076
+ background: linear-gradient(
9077
+ to right,
9078
+ var(--color--control-on--surface) var(--RangeInput-fill),
9079
+ var(--color--surface-muted) var(--RangeInput-fill)
9080
+ );
9081
+ border-radius: var(--radius-full);
9082
+ }
9083
+ &::-moz-range-track {
9084
+ height: var(--RangeInput-track-height);
9085
+ background: var(--color--surface-muted);
9086
+ border-radius: var(--radius-full);
9087
+ }
9088
+ &::-moz-range-progress {
9089
+ height: var(--RangeInput-track-height);
9090
+ background: var(--color--control-on--surface);
9091
+ border-radius: var(--radius-full);
9092
+ }
9093
+
9094
+ &::-webkit-slider-thumb {
9095
+ box-sizing: border-box;
9096
+ width: var(--RangeInput-thumb-width);
9097
+ height: var(--RangeInput-thumb-height);
9098
+ margin-top: calc(
9099
+ (var(--RangeInput-track-height) - var(--RangeInput-thumb-height)) /
9100
+ 2
9101
+ );
9102
+ appearance: none;
9103
+ background: var(--color--surface);
9104
+ /* token-audit-disable-next-line mismatch -- the ring has the color of the filled part of the track */
9105
+ border: 2.5px solid var(--color--control-on--surface);
9106
+ border-radius: var(--radius-full);
9107
+ }
9108
+ &::-moz-range-thumb {
9109
+ box-sizing: border-box;
9110
+ width: var(--RangeInput-thumb-width);
9111
+ height: var(--RangeInput-thumb-height);
9112
+ background: var(--color--surface);
9113
+ /* token-audit-disable-next-line mismatch -- the ring has the color of the filled part of the track */
9114
+ border: 2.5px solid var(--color--control-on--surface);
9115
+ border-radius: var(--radius-full);
9116
+ }
9117
+ }
9118
+ /* All are kbd elements: the normalize sheet gives a kbd the monospace font */
9119
+ .Shortcut,
9120
+ .Shortcut__key {
9121
+ font-family: inherit;
9122
+ }
9123
+ /* The sizes are in em, because the spacing scale has no step under
9124
+ --spacing-s. The key keeps the same proportions at each font size. */
9125
+ .Shortcut,
9126
+ .Shortcut__keys {
9127
+ display: inline-flex;
9128
+ gap: 0.25em;
9129
+ align-items: center;
9130
+ font-size: var(--font-size-xs);
9131
+ }
9132
+ /* A neutral keycap: the keys must not compete with the name of the action
9133
+ next to them */
9134
+ .Shortcut__key {
9135
+ box-sizing: border-box;
9136
+ display: flex;
9137
+ align-items: center;
9138
+ justify-content: center;
9139
+ min-width: 1.6em;
9140
+ height: 1.6em;
9141
+ padding-inline: 0.3em;
9142
+ line-height: 1;
9143
+ color: var(--color--ink-subtle);
9144
+ background-color: var(--color--surface-raised);
9145
+ border: 1px solid var(--color--border);
9146
+ border-radius: var(--radius-s);
9147
+ }
9148
+ .Shortcut__word {
9149
+ color: var(--color--ink-subtle);
9150
+ }
9151
+ .Pane {
9152
+ position: absolute;
9153
+ inset: 0;
9154
+ display: flex;
9155
+ flex-direction: column;
9156
+ border-right: 1px solid var(--color--border);
9157
+ }
9158
+
9159
+ .Pane__overlay {
9160
+ z-index: 999;
9161
+ }
9162
+ .Pane__header,
9163
+ .Pane__footer {
9164
+ flex: 0;
9165
+ overflow: visible;
9166
+ }
9167
+ .Pane__header {
9168
+ > * {
9169
+ border-bottom: 1px solid var(--color--border);
9170
+ }
9171
+ }
9172
+ .Pane__footer {
9173
+ > * {
9174
+ border-top: 1px solid var(--color--border);
9175
+ }
7635
9176
  }
7636
9177
  /* The content has no padding. Each type of content sets its own inset: the
7637
9178
  inset rows of a list (see "--row-inset"), or the padding of a page, a table
@@ -7691,7 +9232,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7691
9232
  flex-shrink: 0;
7692
9233
  width: 1rem;
7693
9234
  height: 1rem;
7694
- fill: var(--color--ink-subtle);
9235
+ color: var(--color--ink-subtle);
7695
9236
  }
7696
9237
  }
7697
9238
  /* The padding is the inset above the first group and below the last group:
@@ -7717,7 +9258,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
7717
9258
  .SettingsMenu__end--new-tab svg {
7718
9259
  width: 0.75em;
7719
9260
  height: 0.75em;
7720
- fill: var(--color--ink-subtle);
9261
+ color: var(--color--ink-subtle);
7721
9262
  }
7722
9263
  .IdText {
7723
9264
  font-family: var(--monospaced-font-family);
@@ -8062,7 +9603,6 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
8062
9603
 
8063
9604
  svg {
8064
9605
  display: block;
8065
- fill: currentColor;
8066
9606
  }
8067
9607
  .SplitViewSash__content:hover & {
8068
9608
  color: var(--color--ink);
@@ -8130,7 +9670,6 @@ body.SplitView--disable-select {
8130
9670
 
8131
9671
  svg {
8132
9672
  display: block;
8133
- fill: currentColor;
8134
9673
  }
8135
9674
  }
8136
9675
 
@@ -8288,7 +9827,6 @@ body.SplitView--disable-select {
8288
9827
  }
8289
9828
  > svg {
8290
9829
  flex: none;
8291
- fill: currentColor;
8292
9830
  }
8293
9831
  > .ItemTypeEmoji {
8294
9832
  flex: none;
@@ -8432,20 +9970,19 @@ body.SplitView--disable-select {
8432
9970
  }
8433
9971
 
8434
9972
  /* The area of the overview of an empty section. It has the largest width of
8435
- the split, and the line at its right edge as the detail. */
9973
+ the split. It has no line at its right edge, because no content ends
9974
+ there. */
8436
9975
  .ListDetailOverview {
8437
9976
  position: absolute;
8438
9977
  inset: 0;
8439
9978
  right: auto;
8440
9979
  box-sizing: border-box;
8441
9980
  width: 100%;
8442
- border-right: 1px solid var(--color--border);
8443
9981
  }
8444
9982
 
8445
9983
  /* The detail at the right of the list. The split gives its width (the user
8446
9984
  resizes it with the sash on its right border); more space at its right
8447
- stays empty. The line shows where the detail ends, also without an open
8448
- row. */
9985
+ stays empty. Without an open row, it holds a blank slate. */
8449
9986
  .ListDetailSplit__detail {
8450
9987
  position: relative;
8451
9988
  box-sizing: border-box;
@@ -8458,20 +9995,24 @@ body.SplitView--disable-select {
8458
9995
  border-right: 0;
8459
9996
  }
8460
9997
  }
9998
+ /* Without an open row, no content ends at the right edge of the detail */
9999
+ .ListDetailSplit__detail--empty {
10000
+ border-right: 0;
10001
+ }
8461
10002
  /* The sash on the right border of the detail goes out of the detail. When
8462
10003
  the detail fills its pane, the pane does not scroll for it. */
8463
10004
  .SplitViewPane:has(> .ListDetailSplit__detail) {
8464
10005
  overflow-x: clip;
8465
10006
  }
8466
10007
 
8467
- /* On a small viewport, the list uses all the width and the detail goes over
8468
- it */
10008
+ /* With the "over" placement, the list uses all the width and the detail goes
10009
+ over it. The split gives the width of a detail that the user resizes. */
8469
10010
  .ListDetailSplit__list {
8470
10011
  position: relative;
8471
10012
  flex: 1 1 auto;
8472
10013
  min-width: 0;
8473
10014
  }
8474
- .ListDetailSplit--overlay .ListDetailSplit__detail {
10015
+ .ListDetailSplit--over .ListDetailSplit__detail {
8475
10016
  position: absolute;
8476
10017
  top: 0;
8477
10018
  right: 0;