@seanyeh77/ui 0.43.1 → 0.45.0

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 (885) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -1
  3. package/dist/bundle.js +20 -20
  4. package/dist/components/AccentPicker/AccentPicker.d.ts +1 -0
  5. package/dist/components/AccentPicker/AccentPicker.js +92 -72
  6. package/dist/components/AccentPicker/AccentPicker.js.map +1 -1
  7. package/dist/components/ActionBar/ActionBar.d.ts +2 -0
  8. package/dist/components/ActionBar/ActionBar.js.map +1 -1
  9. package/dist/components/AiMark/AiMark.d.ts +1 -0
  10. package/dist/components/AiMark/AiMark.js.map +1 -1
  11. package/dist/components/Alert/Alert.d.ts +6 -3
  12. package/dist/components/Alert/Alert.js +18 -14
  13. package/dist/components/Alert/Alert.js.map +1 -1
  14. package/dist/components/AppShell/AppShell.d.ts +10 -4
  15. package/dist/components/AppShell/AppShell.js +30 -19
  16. package/dist/components/AppShell/AppShell.js.map +1 -1
  17. package/dist/components/Badge/Badge.d.ts +24 -7
  18. package/dist/components/Badge/Badge.js +78 -21
  19. package/dist/components/Badge/Badge.js.map +1 -1
  20. package/dist/components/BarChart/BarChart.d.ts +14 -1
  21. package/dist/components/BarChart/BarChart.js +88 -59
  22. package/dist/components/BarChart/BarChart.js.map +1 -1
  23. package/dist/components/Breadcrumb/Breadcrumb.d.ts +1 -0
  24. package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -1
  25. package/dist/components/Button/Button.d.ts +4 -1
  26. package/dist/components/Button/Button.js +17 -3
  27. package/dist/components/Button/Button.js.map +1 -1
  28. package/dist/components/Calendar/Calendar.d.ts +11 -2
  29. package/dist/components/Calendar/Calendar.js +16 -5
  30. package/dist/components/Calendar/Calendar.js.map +1 -1
  31. package/dist/components/Card/Card.d.ts +1 -0
  32. package/dist/components/Card/Card.js.map +1 -1
  33. package/dist/components/Checkbox/Checkbox.d.ts +24 -8
  34. package/dist/components/Checkbox/Checkbox.js +22 -9
  35. package/dist/components/Checkbox/Checkbox.js.map +1 -1
  36. package/dist/components/CodeView/CodeView.d.ts +3 -0
  37. package/dist/components/CodeView/CodeView.js +6 -6
  38. package/dist/components/CodeView/CodeView.js.map +1 -1
  39. package/dist/components/CommandPalette/CommandPalette.d.ts +16 -4
  40. package/dist/components/CommandPalette/CommandPalette.js +38 -11
  41. package/dist/components/CommandPalette/CommandPalette.js.map +1 -1
  42. package/dist/components/ConsoleLayout/ConsoleLayout.d.ts +2 -3
  43. package/dist/components/ConsoleLayout/ConsoleLayout.js +4 -1
  44. package/dist/components/ConsoleLayout/ConsoleLayout.js.map +1 -1
  45. package/dist/components/DangerZone/DangerZone.d.ts +3 -2
  46. package/dist/components/DangerZone/DangerZone.js +3 -2
  47. package/dist/components/DangerZone/DangerZone.js.map +1 -1
  48. package/dist/components/DataTable/DataTable.d.ts +16 -4
  49. package/dist/components/DataTable/DataTable.js +346 -208
  50. package/dist/components/DataTable/DataTable.js.map +1 -1
  51. package/dist/components/DataTable/SortButton.js +48 -5
  52. package/dist/components/DataTable/SortButton.js.map +1 -1
  53. package/dist/components/DataTable/filters.js +2 -1
  54. package/dist/components/DataTable/filters.js.map +1 -1
  55. package/dist/components/DataTable/parts.js +1 -1
  56. package/dist/components/DataTable/parts.js.map +1 -1
  57. package/dist/components/DataTable/types.d.ts +10 -3
  58. package/dist/components/DatePicker/DatePicker.d.ts +9 -7
  59. package/dist/components/DatePicker/DatePicker.js +16 -6
  60. package/dist/components/DatePicker/DatePicker.js.map +1 -1
  61. package/dist/components/DateRangePicker/DateRangePicker.d.ts +12 -7
  62. package/dist/components/DateRangePicker/DateRangePicker.js +81 -45
  63. package/dist/components/DateRangePicker/DateRangePicker.js.map +1 -1
  64. package/dist/components/DetailList/DetailList.d.ts +2 -0
  65. package/dist/components/DetailList/DetailList.js.map +1 -1
  66. package/dist/components/Dialog/Dialog.d.ts +56 -20
  67. package/dist/components/Dialog/Dialog.js +46 -14
  68. package/dist/components/Dialog/Dialog.js.map +1 -1
  69. package/dist/components/Drawer/Drawer.d.ts +18 -5
  70. package/dist/components/Drawer/Drawer.js +87 -24
  71. package/dist/components/Drawer/Drawer.js.map +1 -1
  72. package/dist/components/EmptyState/EmptyState.d.ts +2 -2
  73. package/dist/components/EmptyState/EmptyState.js +3 -2
  74. package/dist/components/EmptyState/EmptyState.js.map +1 -1
  75. package/dist/components/ErrorPage/ErrorPage.d.ts +4 -0
  76. package/dist/components/ErrorPage/ErrorPage.js +2 -1
  77. package/dist/components/ErrorPage/ErrorPage.js.map +1 -1
  78. package/dist/components/EventTimeline/EventTimeline.d.ts +23 -5
  79. package/dist/components/EventTimeline/EventTimeline.js +64 -20
  80. package/dist/components/EventTimeline/EventTimeline.js.map +1 -1
  81. package/dist/components/FileUpload/FileUpload.d.ts +10 -2
  82. package/dist/components/FileUpload/FileUpload.js +5 -2
  83. package/dist/components/FileUpload/FileUpload.js.map +1 -1
  84. package/dist/components/FormGrid/FormGrid.d.ts +3 -1
  85. package/dist/components/FormGrid/FormGrid.js +5 -2
  86. package/dist/components/FormGrid/FormGrid.js.map +1 -1
  87. package/dist/components/Graph/Graph.d.ts +1 -0
  88. package/dist/components/Graph/Graph.js +8 -4
  89. package/dist/components/Graph/Graph.js.map +1 -1
  90. package/dist/components/Grid/Grid.d.ts +11 -4
  91. package/dist/components/Grid/Grid.js +14 -2
  92. package/dist/components/Grid/Grid.js.map +1 -1
  93. package/dist/components/IconButton/IconButton.d.ts +2 -1
  94. package/dist/components/IconButton/IconButton.js +10 -1
  95. package/dist/components/IconButton/IconButton.js.map +1 -1
  96. package/dist/components/InlineCode/InlineCode.d.ts +6 -0
  97. package/dist/components/InlineCode/InlineCode.js +10 -6
  98. package/dist/components/InlineCode/InlineCode.js.map +1 -1
  99. package/dist/components/KpiCard/KpiCard.d.ts +7 -3
  100. package/dist/components/KpiCard/KpiCard.js +40 -25
  101. package/dist/components/KpiCard/KpiCard.js.map +1 -1
  102. package/dist/components/LayerGraph/LayerGraph.d.ts +68 -23
  103. package/dist/components/LayerGraph/LayerGraph.js +178 -97
  104. package/dist/components/LayerGraph/LayerGraph.js.map +1 -1
  105. package/dist/components/LineChart/LineChart.d.ts +10 -3
  106. package/dist/components/LineChart/LineChart.js +55 -23
  107. package/dist/components/LineChart/LineChart.js.map +1 -1
  108. package/dist/components/Link/Link.d.ts +17 -0
  109. package/dist/components/Link/Link.js +47 -0
  110. package/dist/components/Link/Link.js.map +1 -0
  111. package/dist/components/LoadingBar/LoadingBar.d.ts +1 -0
  112. package/dist/components/LoadingBar/LoadingBar.js.map +1 -1
  113. package/dist/components/LoginCard/LoginCard.d.ts +9 -3
  114. package/dist/components/LoginCard/LoginCard.js +99 -78
  115. package/dist/components/LoginCard/LoginCard.js.map +1 -1
  116. package/dist/components/Markdown/Markdown.d.ts +1 -0
  117. package/dist/components/Markdown/Markdown.js +20 -2
  118. package/dist/components/Markdown/Markdown.js.map +1 -1
  119. package/dist/components/Menu/Menu.d.ts +4 -2
  120. package/dist/components/Menu/Menu.js +43 -33
  121. package/dist/components/Menu/Menu.js.map +1 -1
  122. package/dist/components/Meter/Meter.d.ts +4 -0
  123. package/dist/components/Meter/Meter.js.map +1 -1
  124. package/dist/components/MobileTabBar/MobileTabBar.d.ts +3 -0
  125. package/dist/components/MobileTabBar/MobileTabBar.js.map +1 -1
  126. package/dist/components/MultiSelect/MultiSelect.d.ts +7 -6
  127. package/dist/components/MultiSelect/MultiSelect.js +27 -9
  128. package/dist/components/MultiSelect/MultiSelect.js.map +1 -1
  129. package/dist/components/NotificationBell/NotificationBell.d.ts +4 -0
  130. package/dist/components/NotificationBell/NotificationBell.js +4 -3
  131. package/dist/components/NotificationBell/NotificationBell.js.map +1 -1
  132. package/dist/components/PageHeader/PageHeader.d.ts +34 -0
  133. package/dist/components/PageHeader/PageHeader.js +68 -0
  134. package/dist/components/PageHeader/PageHeader.js.map +1 -0
  135. package/dist/components/Popover/Popover.d.ts +11 -4
  136. package/dist/components/Popover/Popover.js +17 -7
  137. package/dist/components/Popover/Popover.js.map +1 -1
  138. package/dist/components/ProgressBar/ProgressBar.d.ts +2 -0
  139. package/dist/components/ProgressBar/ProgressBar.js.map +1 -1
  140. package/dist/components/ProgressRing/ProgressRing.d.ts +1 -0
  141. package/dist/components/ProgressRing/ProgressRing.js.map +1 -1
  142. package/dist/components/ProjectSwitcher/ProjectSwitcher.d.ts +5 -1
  143. package/dist/components/ProjectSwitcher/ProjectSwitcher.js +16 -3
  144. package/dist/components/ProjectSwitcher/ProjectSwitcher.js.map +1 -1
  145. package/dist/components/RadioGroup/RadioGroup.d.ts +22 -5
  146. package/dist/components/RadioGroup/RadioGroup.js +48 -47
  147. package/dist/components/RadioGroup/RadioGroup.js.map +1 -1
  148. package/dist/components/RelativeTime/RelativeTime.d.ts +10 -0
  149. package/dist/components/RelativeTime/RelativeTime.js +44 -0
  150. package/dist/components/RelativeTime/RelativeTime.js.map +1 -0
  151. package/dist/components/SearchField/SearchField.d.ts +2 -0
  152. package/dist/components/SearchField/SearchField.js.map +1 -1
  153. package/dist/components/Section/Section.d.ts +4 -0
  154. package/dist/components/Section/Section.js +8 -22
  155. package/dist/components/Section/Section.js.map +1 -1
  156. package/dist/components/SegmentedControl/SegmentedControl.d.ts +22 -9
  157. package/dist/components/SegmentedControl/SegmentedControl.js +20 -19
  158. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
  159. package/dist/components/Select/Select.d.ts +7 -11
  160. package/dist/components/Select/Select.js +7 -3
  161. package/dist/components/Select/Select.js.map +1 -1
  162. package/dist/components/SettingsLayout/SettingsLayout.d.ts +33 -4
  163. package/dist/components/SettingsLayout/SettingsLayout.js +62 -14
  164. package/dist/components/SettingsLayout/SettingsLayout.js.map +1 -1
  165. package/dist/components/SideNav/SideNav.d.ts +2 -0
  166. package/dist/components/SideNav/SideNav.js +3 -3
  167. package/dist/components/SideNav/SideNav.js.map +1 -1
  168. package/dist/components/SplitPane/SplitPane.d.ts +1 -0
  169. package/dist/components/SplitPane/SplitPane.js.map +1 -1
  170. package/dist/components/StatusBand/StatusBand.d.ts +1 -0
  171. package/dist/components/StatusBand/StatusBand.js.map +1 -1
  172. package/dist/components/Suggestion/Suggestion.d.ts +6 -0
  173. package/dist/components/Suggestion/Suggestion.js.map +1 -1
  174. package/dist/components/Switch/Switch.d.ts +13 -3
  175. package/dist/components/Switch/Switch.js +16 -7
  176. package/dist/components/Switch/Switch.js.map +1 -1
  177. package/dist/components/Tabs/Tabs.d.ts +8 -1
  178. package/dist/components/Tabs/Tabs.js +6 -3
  179. package/dist/components/Tabs/Tabs.js.map +1 -1
  180. package/dist/components/Tag/Tag.d.ts +15 -7
  181. package/dist/components/Tag/Tag.js +22 -10
  182. package/dist/components/Tag/Tag.js.map +1 -1
  183. package/dist/components/Term/Term.d.ts +8 -3
  184. package/dist/components/Term/Term.js +1 -1
  185. package/dist/components/Term/Term.js.map +1 -1
  186. package/dist/components/TextArea/TextArea.d.ts +6 -9
  187. package/dist/components/TextArea/TextArea.js +25 -12
  188. package/dist/components/TextArea/TextArea.js.map +1 -1
  189. package/dist/components/TextField/TextField.d.ts +8 -11
  190. package/dist/components/TextField/TextField.js +9 -7
  191. package/dist/components/TextField/TextField.js.map +1 -1
  192. package/dist/components/ThemePicker/ThemePicker.d.ts +1 -0
  193. package/dist/components/ThemePicker/ThemePicker.js +35 -34
  194. package/dist/components/ThemePicker/ThemePicker.js.map +1 -1
  195. package/dist/components/TimeControl/TimeControl.d.ts +1 -0
  196. package/dist/components/TimeControl/TimeControl.js.map +1 -1
  197. package/dist/components/Toast/Toast.d.ts +56 -3
  198. package/dist/components/Toast/Toast.js +191 -8
  199. package/dist/components/Toast/Toast.js.map +1 -1
  200. package/dist/components/TopBar/TopBar.d.ts +6 -2
  201. package/dist/components/TopBar/TopBar.js +7 -1
  202. package/dist/components/TopBar/TopBar.js.map +1 -1
  203. package/dist/components/Tour/Tour.d.ts +14 -3
  204. package/dist/components/Tour/Tour.js +26 -14
  205. package/dist/components/Tour/Tour.js.map +1 -1
  206. package/dist/components/TreeList/TreeList.d.ts +28 -4
  207. package/dist/components/TreeList/TreeList.js +32 -20
  208. package/dist/components/TreeList/TreeList.js.map +1 -1
  209. package/dist/components/Workbench/Workbench.d.ts +1 -0
  210. package/dist/components/Workbench/Workbench.js +24 -12
  211. package/dist/components/Workbench/Workbench.js.map +1 -1
  212. package/dist/components/ZoneMap/ZoneMap.d.ts +12 -2
  213. package/dist/components/ZoneMap/ZoneMap.js +13 -5
  214. package/dist/components/ZoneMap/ZoneMap.js.map +1 -1
  215. package/dist/components/useFormErrors/useFormErrors.d.ts +20 -0
  216. package/dist/components/useFormErrors/useFormErrors.js +55 -0
  217. package/dist/components/useFormErrors/useFormErrors.js.map +1 -0
  218. package/dist/css/AccentPicker.css +1 -0
  219. package/dist/css/Alert.css +8 -19
  220. package/dist/css/AppShell.css +1 -0
  221. package/dist/css/Badge.css +19 -45
  222. package/dist/css/BarChart.css +21 -3
  223. package/dist/css/Button.css +6 -1
  224. package/dist/css/Card.css +8 -8
  225. package/dist/css/Checkbox.css +20 -0
  226. package/dist/css/CodeView.css +3 -2
  227. package/dist/css/DangerZone.css +5 -3
  228. package/dist/css/DataTable.css +303 -69
  229. package/dist/css/DatePicker.css +1 -0
  230. package/dist/css/DateRangePicker.css +24 -2
  231. package/dist/css/Drawer.css +31 -0
  232. package/dist/css/EmptyState.css +1 -0
  233. package/dist/css/ErrorPage.css +4 -1
  234. package/dist/css/EventTimeline.css +34 -5
  235. package/dist/css/FileUpload.css +1 -0
  236. package/dist/css/FormGrid.css +12 -3
  237. package/dist/css/Graph.css +9 -1
  238. package/dist/css/Grid.css +8 -0
  239. package/dist/css/KpiCard.css +13 -1
  240. package/dist/css/LayerGraph.css +40 -15
  241. package/dist/css/Link.css +23 -0
  242. package/dist/css/LoginCard.css +17 -11
  243. package/dist/css/Markdown.css +31 -2
  244. package/dist/css/Menu.css +0 -2
  245. package/dist/css/Meter.css +16 -0
  246. package/dist/css/MultiSelect.css +1 -0
  247. package/dist/css/NotificationBell.css +1 -0
  248. package/dist/css/PageHeader.css +50 -0
  249. package/dist/css/ProgressBar.css +12 -0
  250. package/dist/css/ProjectSwitcher.css +25 -23
  251. package/dist/css/RelativeTime.css +2 -0
  252. package/dist/css/SegmentedControl.css +38 -10
  253. package/dist/css/Select.css +1 -0
  254. package/dist/css/SettingsLayout.css +29 -8
  255. package/dist/css/SideNav.css +4 -1
  256. package/dist/css/Skeleton.css +22 -1
  257. package/dist/css/Suggestion.css +1 -1
  258. package/dist/css/Switch.css +27 -0
  259. package/dist/css/Tabs.css +8 -7
  260. package/dist/css/Tag.css +19 -12
  261. package/dist/css/Term.css +1 -1
  262. package/dist/css/TextArea.css +1 -0
  263. package/dist/css/TextField.css +1 -0
  264. package/dist/css/Toast.css +101 -4
  265. package/dist/css/TopBar.css +21 -2
  266. package/dist/css/Tour.css +1 -1
  267. package/dist/css/TreeList.css +7 -3
  268. package/dist/css/Workbench.css +13 -1
  269. package/dist/css/ZoneMap.css +0 -1
  270. package/dist/css/base.css +45 -0
  271. package/dist/css/end.css +119 -5
  272. package/dist/deprecated.d.ts +3 -0
  273. package/dist/deprecated.js +13 -0
  274. package/dist/deprecated.js.map +1 -0
  275. package/dist/fonts.css +2 -7543
  276. package/dist/format.d.ts +3 -1
  277. package/dist/format.js +15 -5
  278. package/dist/format.js.map +1 -1
  279. package/dist/generated/themeDefaults.d.ts +8 -0
  280. package/dist/generated/themeDefaults.js +35 -0
  281. package/dist/generated/themeDefaults.js.map +1 -0
  282. package/dist/i18n.d.ts +7 -2
  283. package/dist/i18n.js +65 -10
  284. package/dist/i18n.js.map +1 -1
  285. package/dist/icons/Icon.d.ts +3 -1
  286. package/dist/icons/Icon.js.map +1 -1
  287. package/dist/index.d.ts +23 -14
  288. package/dist/index.js +14 -8
  289. package/dist/internal/Field.d.ts +19 -0
  290. package/dist/internal/Field.js +13 -6
  291. package/dist/internal/Field.js.map +1 -1
  292. package/dist/internal/FloatingPanel.js +2 -1
  293. package/dist/internal/FloatingPanel.js.map +1 -1
  294. package/dist/internal/chart.d.ts +4 -0
  295. package/dist/internal/chart.js +89 -19
  296. package/dist/internal/chart.js.map +1 -1
  297. package/dist/internal/codeSpans.js +20 -0
  298. package/dist/internal/codeSpans.js.map +1 -0
  299. package/dist/internal/dev.js +9 -4
  300. package/dist/internal/dev.js.map +1 -1
  301. package/dist/internal/focus.js +27 -3
  302. package/dist/internal/focus.js.map +1 -1
  303. package/dist/internal/focusMain.js +6 -2
  304. package/dist/internal/focusMain.js.map +1 -1
  305. package/dist/internal/open.d.ts +14 -0
  306. package/dist/internal/open.js +28 -0
  307. package/dist/internal/open.js.map +1 -0
  308. package/dist/internal/roving.js +37 -0
  309. package/dist/internal/roving.js.map +1 -0
  310. package/dist/internal/shell.js +12 -0
  311. package/dist/internal/shell.js.map +1 -0
  312. package/dist/internal/stored.js +89 -0
  313. package/dist/internal/stored.js.map +1 -0
  314. package/dist/internal/tableTools.js +46 -4
  315. package/dist/internal/tableTools.js.map +1 -1
  316. package/dist/internal/util.js +8 -17
  317. package/dist/internal/util.js.map +1 -1
  318. package/dist/locale.d.ts +17 -0
  319. package/dist/locale.js +29 -0
  320. package/dist/locale.js.map +1 -0
  321. package/dist/styles.css +1296 -400
  322. package/dist/theme.d.ts +23 -5
  323. package/dist/theme.js +85 -25
  324. package/dist/theme.js.map +1 -1
  325. package/dist/tokens.css +3 -0
  326. package/docs/AccentPicker.md +3 -1
  327. package/docs/Alert.md +4 -3
  328. package/docs/AppShell.md +11 -10
  329. package/docs/Badge.md +26 -16
  330. package/docs/BarChart.md +7 -4
  331. package/docs/Button.md +4 -5
  332. package/docs/Calendar.md +2 -2
  333. package/docs/Card.md +9 -8
  334. package/docs/Checkbox.md +4 -1
  335. package/docs/CodeView.md +30 -43
  336. package/docs/CommandPalette.md +3 -2
  337. package/docs/ConsoleLayout.md +5 -5
  338. package/docs/DangerZone.md +3 -2
  339. package/docs/DataColors.md +2 -2
  340. package/docs/DataTable.md +29 -141
  341. package/docs/DatePicker.md +1 -0
  342. package/docs/DateRangePicker.md +3 -0
  343. package/docs/DetailList.md +9 -9
  344. package/docs/Dialog.md +8 -4
  345. package/docs/Drawer.md +7 -4
  346. package/docs/ErrorPage.md +1 -1
  347. package/docs/EventTimeline.md +23 -12
  348. package/docs/FileUpload.md +1 -1
  349. package/docs/FormGrid.md +2 -1
  350. package/docs/Format.md +5 -3
  351. package/docs/Graph.md +1 -1
  352. package/docs/Grid.md +5 -1
  353. package/docs/KpiCard.md +6 -4
  354. package/docs/LayerGraph.md +18 -53
  355. package/docs/LineChart.md +5 -3
  356. package/docs/Link.md +22 -0
  357. package/docs/LoginCard.md +7 -3
  358. package/docs/Markdown.md +3 -13
  359. package/docs/Menu.md +2 -0
  360. package/docs/Meter.md +1 -0
  361. package/docs/MultiSelect.md +2 -1
  362. package/docs/NotificationBell.md +1 -0
  363. package/docs/PageHeader.md +34 -0
  364. package/docs/Popover.md +3 -1
  365. package/docs/ProgressBar.md +3 -1
  366. package/docs/ProjectSwitcher.md +14 -14
  367. package/docs/RadioGroup.md +2 -0
  368. package/docs/RelativeTime.md +23 -0
  369. package/docs/Section.md +1 -1
  370. package/docs/SegmentedControl.md +9 -6
  371. package/docs/Select.md +2 -1
  372. package/docs/SettingsLayout.md +19 -4
  373. package/docs/SideNav.md +1 -1
  374. package/docs/Skeleton.md +2 -1
  375. package/docs/Switch.md +3 -1
  376. package/docs/Tabs.md +4 -3
  377. package/docs/Tag.md +9 -7
  378. package/docs/Term.md +3 -3
  379. package/docs/TextArea.md +2 -1
  380. package/docs/TextField.md +5 -3
  381. package/docs/ThemePicker.md +3 -1
  382. package/docs/Toast.md +17 -5
  383. package/docs/TopBar.md +8 -5
  384. package/docs/Tour.md +3 -2
  385. package/docs/TreeList.md +10 -37
  386. package/docs/Workbench.md +1 -48
  387. package/docs/ZoneMap.md +5 -5
  388. package/docs/agents.md +82 -0
  389. package/docs/code.md +2 -2
  390. package/docs/components.json +314 -0
  391. package/docs/data.md +9 -18
  392. package/docs/forms.md +6 -5
  393. package/docs/guidelines.md +39 -31
  394. package/docs/icons.md +9 -0
  395. package/docs/layout.md +16 -20
  396. package/docs/motion.md +31 -56
  397. package/docs/theme.md +15 -18
  398. package/docs/useFormErrors.md +35 -0
  399. package/package.json +8 -7
  400. package/dist/bundle.js.map +0 -1
  401. package/dist/fonts/LICENSE-OFL.txt +0 -93
  402. package/dist/fonts/geist-mono-cyrillic-400-normal.woff2 +0 -0
  403. package/dist/fonts/geist-mono-cyrillic-500-normal.woff2 +0 -0
  404. package/dist/fonts/geist-mono-cyrillic-600-normal.woff2 +0 -0
  405. package/dist/fonts/geist-mono-cyrillic-700-normal.woff2 +0 -0
  406. package/dist/fonts/geist-mono-cyrillic-ext-400-normal.woff2 +0 -0
  407. package/dist/fonts/geist-mono-cyrillic-ext-500-normal.woff2 +0 -0
  408. package/dist/fonts/geist-mono-cyrillic-ext-600-normal.woff2 +0 -0
  409. package/dist/fonts/geist-mono-cyrillic-ext-700-normal.woff2 +0 -0
  410. package/dist/fonts/geist-mono-latin-400-normal.woff2 +0 -0
  411. package/dist/fonts/geist-mono-latin-500-normal.woff2 +0 -0
  412. package/dist/fonts/geist-mono-latin-600-normal.woff2 +0 -0
  413. package/dist/fonts/geist-mono-latin-700-normal.woff2 +0 -0
  414. package/dist/fonts/geist-mono-latin-ext-400-normal.woff2 +0 -0
  415. package/dist/fonts/geist-mono-latin-ext-500-normal.woff2 +0 -0
  416. package/dist/fonts/geist-mono-latin-ext-600-normal.woff2 +0 -0
  417. package/dist/fonts/geist-mono-latin-ext-700-normal.woff2 +0 -0
  418. package/dist/fonts/geist-mono-symbols2-400-normal.woff2 +0 -0
  419. package/dist/fonts/geist-mono-symbols2-500-normal.woff2 +0 -0
  420. package/dist/fonts/geist-mono-symbols2-600-normal.woff2 +0 -0
  421. package/dist/fonts/geist-mono-symbols2-700-normal.woff2 +0 -0
  422. package/dist/fonts/geist-mono-vietnamese-400-normal.woff2 +0 -0
  423. package/dist/fonts/geist-mono-vietnamese-500-normal.woff2 +0 -0
  424. package/dist/fonts/geist-mono-vietnamese-600-normal.woff2 +0 -0
  425. package/dist/fonts/geist-mono-vietnamese-700-normal.woff2 +0 -0
  426. package/dist/fonts/inter-cyrillic-400-normal.woff2 +0 -0
  427. package/dist/fonts/inter-cyrillic-500-normal.woff2 +0 -0
  428. package/dist/fonts/inter-cyrillic-600-normal.woff2 +0 -0
  429. package/dist/fonts/inter-cyrillic-700-normal.woff2 +0 -0
  430. package/dist/fonts/inter-cyrillic-ext-400-normal.woff2 +0 -0
  431. package/dist/fonts/inter-cyrillic-ext-500-normal.woff2 +0 -0
  432. package/dist/fonts/inter-cyrillic-ext-600-normal.woff2 +0 -0
  433. package/dist/fonts/inter-cyrillic-ext-700-normal.woff2 +0 -0
  434. package/dist/fonts/inter-greek-400-normal.woff2 +0 -0
  435. package/dist/fonts/inter-greek-500-normal.woff2 +0 -0
  436. package/dist/fonts/inter-greek-600-normal.woff2 +0 -0
  437. package/dist/fonts/inter-greek-700-normal.woff2 +0 -0
  438. package/dist/fonts/inter-greek-ext-400-normal.woff2 +0 -0
  439. package/dist/fonts/inter-greek-ext-500-normal.woff2 +0 -0
  440. package/dist/fonts/inter-greek-ext-600-normal.woff2 +0 -0
  441. package/dist/fonts/inter-greek-ext-700-normal.woff2 +0 -0
  442. package/dist/fonts/inter-latin-400-normal.woff2 +0 -0
  443. package/dist/fonts/inter-latin-500-normal.woff2 +0 -0
  444. package/dist/fonts/inter-latin-600-normal.woff2 +0 -0
  445. package/dist/fonts/inter-latin-700-normal.woff2 +0 -0
  446. package/dist/fonts/inter-latin-ext-400-normal.woff2 +0 -0
  447. package/dist/fonts/inter-latin-ext-500-normal.woff2 +0 -0
  448. package/dist/fonts/inter-latin-ext-600-normal.woff2 +0 -0
  449. package/dist/fonts/inter-latin-ext-700-normal.woff2 +0 -0
  450. package/dist/fonts/inter-vietnamese-400-normal.woff2 +0 -0
  451. package/dist/fonts/inter-vietnamese-500-normal.woff2 +0 -0
  452. package/dist/fonts/inter-vietnamese-600-normal.woff2 +0 -0
  453. package/dist/fonts/inter-vietnamese-700-normal.woff2 +0 -0
  454. package/dist/fonts/noto-sans-tc-0-400-normal.woff2 +0 -0
  455. package/dist/fonts/noto-sans-tc-0-500-normal.woff2 +0 -0
  456. package/dist/fonts/noto-sans-tc-0-600-normal.woff2 +0 -0
  457. package/dist/fonts/noto-sans-tc-0-700-normal.woff2 +0 -0
  458. package/dist/fonts/noto-sans-tc-1-400-normal.woff2 +0 -0
  459. package/dist/fonts/noto-sans-tc-1-500-normal.woff2 +0 -0
  460. package/dist/fonts/noto-sans-tc-1-600-normal.woff2 +0 -0
  461. package/dist/fonts/noto-sans-tc-1-700-normal.woff2 +0 -0
  462. package/dist/fonts/noto-sans-tc-10-400-normal.woff2 +0 -0
  463. package/dist/fonts/noto-sans-tc-10-500-normal.woff2 +0 -0
  464. package/dist/fonts/noto-sans-tc-10-600-normal.woff2 +0 -0
  465. package/dist/fonts/noto-sans-tc-10-700-normal.woff2 +0 -0
  466. package/dist/fonts/noto-sans-tc-101-400-normal.woff2 +0 -0
  467. package/dist/fonts/noto-sans-tc-101-500-normal.woff2 +0 -0
  468. package/dist/fonts/noto-sans-tc-101-600-normal.woff2 +0 -0
  469. package/dist/fonts/noto-sans-tc-101-700-normal.woff2 +0 -0
  470. package/dist/fonts/noto-sans-tc-102-400-normal.woff2 +0 -0
  471. package/dist/fonts/noto-sans-tc-102-500-normal.woff2 +0 -0
  472. package/dist/fonts/noto-sans-tc-102-600-normal.woff2 +0 -0
  473. package/dist/fonts/noto-sans-tc-102-700-normal.woff2 +0 -0
  474. package/dist/fonts/noto-sans-tc-103-400-normal.woff2 +0 -0
  475. package/dist/fonts/noto-sans-tc-103-500-normal.woff2 +0 -0
  476. package/dist/fonts/noto-sans-tc-103-600-normal.woff2 +0 -0
  477. package/dist/fonts/noto-sans-tc-103-700-normal.woff2 +0 -0
  478. package/dist/fonts/noto-sans-tc-104-400-normal.woff2 +0 -0
  479. package/dist/fonts/noto-sans-tc-104-500-normal.woff2 +0 -0
  480. package/dist/fonts/noto-sans-tc-104-600-normal.woff2 +0 -0
  481. package/dist/fonts/noto-sans-tc-104-700-normal.woff2 +0 -0
  482. package/dist/fonts/noto-sans-tc-105-400-normal.woff2 +0 -0
  483. package/dist/fonts/noto-sans-tc-105-500-normal.woff2 +0 -0
  484. package/dist/fonts/noto-sans-tc-105-600-normal.woff2 +0 -0
  485. package/dist/fonts/noto-sans-tc-105-700-normal.woff2 +0 -0
  486. package/dist/fonts/noto-sans-tc-106-400-normal.woff2 +0 -0
  487. package/dist/fonts/noto-sans-tc-106-500-normal.woff2 +0 -0
  488. package/dist/fonts/noto-sans-tc-106-600-normal.woff2 +0 -0
  489. package/dist/fonts/noto-sans-tc-106-700-normal.woff2 +0 -0
  490. package/dist/fonts/noto-sans-tc-107-400-normal.woff2 +0 -0
  491. package/dist/fonts/noto-sans-tc-107-500-normal.woff2 +0 -0
  492. package/dist/fonts/noto-sans-tc-107-600-normal.woff2 +0 -0
  493. package/dist/fonts/noto-sans-tc-107-700-normal.woff2 +0 -0
  494. package/dist/fonts/noto-sans-tc-108-400-normal.woff2 +0 -0
  495. package/dist/fonts/noto-sans-tc-108-500-normal.woff2 +0 -0
  496. package/dist/fonts/noto-sans-tc-108-600-normal.woff2 +0 -0
  497. package/dist/fonts/noto-sans-tc-108-700-normal.woff2 +0 -0
  498. package/dist/fonts/noto-sans-tc-109-400-normal.woff2 +0 -0
  499. package/dist/fonts/noto-sans-tc-109-500-normal.woff2 +0 -0
  500. package/dist/fonts/noto-sans-tc-109-600-normal.woff2 +0 -0
  501. package/dist/fonts/noto-sans-tc-109-700-normal.woff2 +0 -0
  502. package/dist/fonts/noto-sans-tc-11-400-normal.woff2 +0 -0
  503. package/dist/fonts/noto-sans-tc-11-500-normal.woff2 +0 -0
  504. package/dist/fonts/noto-sans-tc-11-600-normal.woff2 +0 -0
  505. package/dist/fonts/noto-sans-tc-11-700-normal.woff2 +0 -0
  506. package/dist/fonts/noto-sans-tc-110-400-normal.woff2 +0 -0
  507. package/dist/fonts/noto-sans-tc-110-500-normal.woff2 +0 -0
  508. package/dist/fonts/noto-sans-tc-110-600-normal.woff2 +0 -0
  509. package/dist/fonts/noto-sans-tc-110-700-normal.woff2 +0 -0
  510. package/dist/fonts/noto-sans-tc-111-400-normal.woff2 +0 -0
  511. package/dist/fonts/noto-sans-tc-111-500-normal.woff2 +0 -0
  512. package/dist/fonts/noto-sans-tc-111-600-normal.woff2 +0 -0
  513. package/dist/fonts/noto-sans-tc-111-700-normal.woff2 +0 -0
  514. package/dist/fonts/noto-sans-tc-112-400-normal.woff2 +0 -0
  515. package/dist/fonts/noto-sans-tc-112-500-normal.woff2 +0 -0
  516. package/dist/fonts/noto-sans-tc-112-600-normal.woff2 +0 -0
  517. package/dist/fonts/noto-sans-tc-112-700-normal.woff2 +0 -0
  518. package/dist/fonts/noto-sans-tc-113-400-normal.woff2 +0 -0
  519. package/dist/fonts/noto-sans-tc-113-500-normal.woff2 +0 -0
  520. package/dist/fonts/noto-sans-tc-113-600-normal.woff2 +0 -0
  521. package/dist/fonts/noto-sans-tc-113-700-normal.woff2 +0 -0
  522. package/dist/fonts/noto-sans-tc-114-400-normal.woff2 +0 -0
  523. package/dist/fonts/noto-sans-tc-114-500-normal.woff2 +0 -0
  524. package/dist/fonts/noto-sans-tc-114-600-normal.woff2 +0 -0
  525. package/dist/fonts/noto-sans-tc-114-700-normal.woff2 +0 -0
  526. package/dist/fonts/noto-sans-tc-115-400-normal.woff2 +0 -0
  527. package/dist/fonts/noto-sans-tc-115-500-normal.woff2 +0 -0
  528. package/dist/fonts/noto-sans-tc-115-600-normal.woff2 +0 -0
  529. package/dist/fonts/noto-sans-tc-115-700-normal.woff2 +0 -0
  530. package/dist/fonts/noto-sans-tc-116-400-normal.woff2 +0 -0
  531. package/dist/fonts/noto-sans-tc-116-500-normal.woff2 +0 -0
  532. package/dist/fonts/noto-sans-tc-116-600-normal.woff2 +0 -0
  533. package/dist/fonts/noto-sans-tc-116-700-normal.woff2 +0 -0
  534. package/dist/fonts/noto-sans-tc-117-400-normal.woff2 +0 -0
  535. package/dist/fonts/noto-sans-tc-117-500-normal.woff2 +0 -0
  536. package/dist/fonts/noto-sans-tc-117-600-normal.woff2 +0 -0
  537. package/dist/fonts/noto-sans-tc-117-700-normal.woff2 +0 -0
  538. package/dist/fonts/noto-sans-tc-118-400-normal.woff2 +0 -0
  539. package/dist/fonts/noto-sans-tc-118-500-normal.woff2 +0 -0
  540. package/dist/fonts/noto-sans-tc-118-600-normal.woff2 +0 -0
  541. package/dist/fonts/noto-sans-tc-118-700-normal.woff2 +0 -0
  542. package/dist/fonts/noto-sans-tc-119-400-normal.woff2 +0 -0
  543. package/dist/fonts/noto-sans-tc-119-500-normal.woff2 +0 -0
  544. package/dist/fonts/noto-sans-tc-119-600-normal.woff2 +0 -0
  545. package/dist/fonts/noto-sans-tc-119-700-normal.woff2 +0 -0
  546. package/dist/fonts/noto-sans-tc-12-400-normal.woff2 +0 -0
  547. package/dist/fonts/noto-sans-tc-12-500-normal.woff2 +0 -0
  548. package/dist/fonts/noto-sans-tc-12-600-normal.woff2 +0 -0
  549. package/dist/fonts/noto-sans-tc-12-700-normal.woff2 +0 -0
  550. package/dist/fonts/noto-sans-tc-120-400-normal.woff2 +0 -0
  551. package/dist/fonts/noto-sans-tc-120-500-normal.woff2 +0 -0
  552. package/dist/fonts/noto-sans-tc-120-600-normal.woff2 +0 -0
  553. package/dist/fonts/noto-sans-tc-120-700-normal.woff2 +0 -0
  554. package/dist/fonts/noto-sans-tc-121-400-normal.woff2 +0 -0
  555. package/dist/fonts/noto-sans-tc-121-500-normal.woff2 +0 -0
  556. package/dist/fonts/noto-sans-tc-121-600-normal.woff2 +0 -0
  557. package/dist/fonts/noto-sans-tc-121-700-normal.woff2 +0 -0
  558. package/dist/fonts/noto-sans-tc-122-400-normal.woff2 +0 -0
  559. package/dist/fonts/noto-sans-tc-122-500-normal.woff2 +0 -0
  560. package/dist/fonts/noto-sans-tc-122-600-normal.woff2 +0 -0
  561. package/dist/fonts/noto-sans-tc-122-700-normal.woff2 +0 -0
  562. package/dist/fonts/noto-sans-tc-123-400-normal.woff2 +0 -0
  563. package/dist/fonts/noto-sans-tc-123-500-normal.woff2 +0 -0
  564. package/dist/fonts/noto-sans-tc-123-600-normal.woff2 +0 -0
  565. package/dist/fonts/noto-sans-tc-123-700-normal.woff2 +0 -0
  566. package/dist/fonts/noto-sans-tc-2-400-normal.woff2 +0 -0
  567. package/dist/fonts/noto-sans-tc-2-500-normal.woff2 +0 -0
  568. package/dist/fonts/noto-sans-tc-2-600-normal.woff2 +0 -0
  569. package/dist/fonts/noto-sans-tc-2-700-normal.woff2 +0 -0
  570. package/dist/fonts/noto-sans-tc-23-400-normal.woff2 +0 -0
  571. package/dist/fonts/noto-sans-tc-23-500-normal.woff2 +0 -0
  572. package/dist/fonts/noto-sans-tc-23-600-normal.woff2 +0 -0
  573. package/dist/fonts/noto-sans-tc-23-700-normal.woff2 +0 -0
  574. package/dist/fonts/noto-sans-tc-24-400-normal.woff2 +0 -0
  575. package/dist/fonts/noto-sans-tc-24-500-normal.woff2 +0 -0
  576. package/dist/fonts/noto-sans-tc-24-600-normal.woff2 +0 -0
  577. package/dist/fonts/noto-sans-tc-24-700-normal.woff2 +0 -0
  578. package/dist/fonts/noto-sans-tc-25-400-normal.woff2 +0 -0
  579. package/dist/fonts/noto-sans-tc-25-500-normal.woff2 +0 -0
  580. package/dist/fonts/noto-sans-tc-25-600-normal.woff2 +0 -0
  581. package/dist/fonts/noto-sans-tc-25-700-normal.woff2 +0 -0
  582. package/dist/fonts/noto-sans-tc-26-400-normal.woff2 +0 -0
  583. package/dist/fonts/noto-sans-tc-26-500-normal.woff2 +0 -0
  584. package/dist/fonts/noto-sans-tc-26-600-normal.woff2 +0 -0
  585. package/dist/fonts/noto-sans-tc-26-700-normal.woff2 +0 -0
  586. package/dist/fonts/noto-sans-tc-27-400-normal.woff2 +0 -0
  587. package/dist/fonts/noto-sans-tc-27-500-normal.woff2 +0 -0
  588. package/dist/fonts/noto-sans-tc-27-600-normal.woff2 +0 -0
  589. package/dist/fonts/noto-sans-tc-27-700-normal.woff2 +0 -0
  590. package/dist/fonts/noto-sans-tc-28-400-normal.woff2 +0 -0
  591. package/dist/fonts/noto-sans-tc-28-500-normal.woff2 +0 -0
  592. package/dist/fonts/noto-sans-tc-28-600-normal.woff2 +0 -0
  593. package/dist/fonts/noto-sans-tc-28-700-normal.woff2 +0 -0
  594. package/dist/fonts/noto-sans-tc-29-400-normal.woff2 +0 -0
  595. package/dist/fonts/noto-sans-tc-29-500-normal.woff2 +0 -0
  596. package/dist/fonts/noto-sans-tc-29-600-normal.woff2 +0 -0
  597. package/dist/fonts/noto-sans-tc-29-700-normal.woff2 +0 -0
  598. package/dist/fonts/noto-sans-tc-30-400-normal.woff2 +0 -0
  599. package/dist/fonts/noto-sans-tc-30-500-normal.woff2 +0 -0
  600. package/dist/fonts/noto-sans-tc-30-600-normal.woff2 +0 -0
  601. package/dist/fonts/noto-sans-tc-30-700-normal.woff2 +0 -0
  602. package/dist/fonts/noto-sans-tc-31-400-normal.woff2 +0 -0
  603. package/dist/fonts/noto-sans-tc-31-500-normal.woff2 +0 -0
  604. package/dist/fonts/noto-sans-tc-31-600-normal.woff2 +0 -0
  605. package/dist/fonts/noto-sans-tc-31-700-normal.woff2 +0 -0
  606. package/dist/fonts/noto-sans-tc-32-400-normal.woff2 +0 -0
  607. package/dist/fonts/noto-sans-tc-32-500-normal.woff2 +0 -0
  608. package/dist/fonts/noto-sans-tc-32-600-normal.woff2 +0 -0
  609. package/dist/fonts/noto-sans-tc-32-700-normal.woff2 +0 -0
  610. package/dist/fonts/noto-sans-tc-33-400-normal.woff2 +0 -0
  611. package/dist/fonts/noto-sans-tc-33-500-normal.woff2 +0 -0
  612. package/dist/fonts/noto-sans-tc-33-600-normal.woff2 +0 -0
  613. package/dist/fonts/noto-sans-tc-33-700-normal.woff2 +0 -0
  614. package/dist/fonts/noto-sans-tc-34-400-normal.woff2 +0 -0
  615. package/dist/fonts/noto-sans-tc-34-500-normal.woff2 +0 -0
  616. package/dist/fonts/noto-sans-tc-34-600-normal.woff2 +0 -0
  617. package/dist/fonts/noto-sans-tc-34-700-normal.woff2 +0 -0
  618. package/dist/fonts/noto-sans-tc-35-400-normal.woff2 +0 -0
  619. package/dist/fonts/noto-sans-tc-35-500-normal.woff2 +0 -0
  620. package/dist/fonts/noto-sans-tc-35-600-normal.woff2 +0 -0
  621. package/dist/fonts/noto-sans-tc-35-700-normal.woff2 +0 -0
  622. package/dist/fonts/noto-sans-tc-36-400-normal.woff2 +0 -0
  623. package/dist/fonts/noto-sans-tc-36-500-normal.woff2 +0 -0
  624. package/dist/fonts/noto-sans-tc-36-600-normal.woff2 +0 -0
  625. package/dist/fonts/noto-sans-tc-36-700-normal.woff2 +0 -0
  626. package/dist/fonts/noto-sans-tc-37-400-normal.woff2 +0 -0
  627. package/dist/fonts/noto-sans-tc-37-500-normal.woff2 +0 -0
  628. package/dist/fonts/noto-sans-tc-37-600-normal.woff2 +0 -0
  629. package/dist/fonts/noto-sans-tc-37-700-normal.woff2 +0 -0
  630. package/dist/fonts/noto-sans-tc-38-400-normal.woff2 +0 -0
  631. package/dist/fonts/noto-sans-tc-38-500-normal.woff2 +0 -0
  632. package/dist/fonts/noto-sans-tc-38-600-normal.woff2 +0 -0
  633. package/dist/fonts/noto-sans-tc-38-700-normal.woff2 +0 -0
  634. package/dist/fonts/noto-sans-tc-39-400-normal.woff2 +0 -0
  635. package/dist/fonts/noto-sans-tc-39-500-normal.woff2 +0 -0
  636. package/dist/fonts/noto-sans-tc-39-600-normal.woff2 +0 -0
  637. package/dist/fonts/noto-sans-tc-39-700-normal.woff2 +0 -0
  638. package/dist/fonts/noto-sans-tc-4-400-normal.woff2 +0 -0
  639. package/dist/fonts/noto-sans-tc-4-500-normal.woff2 +0 -0
  640. package/dist/fonts/noto-sans-tc-4-600-normal.woff2 +0 -0
  641. package/dist/fonts/noto-sans-tc-4-700-normal.woff2 +0 -0
  642. package/dist/fonts/noto-sans-tc-40-400-normal.woff2 +0 -0
  643. package/dist/fonts/noto-sans-tc-40-500-normal.woff2 +0 -0
  644. package/dist/fonts/noto-sans-tc-40-600-normal.woff2 +0 -0
  645. package/dist/fonts/noto-sans-tc-40-700-normal.woff2 +0 -0
  646. package/dist/fonts/noto-sans-tc-41-400-normal.woff2 +0 -0
  647. package/dist/fonts/noto-sans-tc-41-500-normal.woff2 +0 -0
  648. package/dist/fonts/noto-sans-tc-41-600-normal.woff2 +0 -0
  649. package/dist/fonts/noto-sans-tc-41-700-normal.woff2 +0 -0
  650. package/dist/fonts/noto-sans-tc-42-400-normal.woff2 +0 -0
  651. package/dist/fonts/noto-sans-tc-42-500-normal.woff2 +0 -0
  652. package/dist/fonts/noto-sans-tc-42-600-normal.woff2 +0 -0
  653. package/dist/fonts/noto-sans-tc-42-700-normal.woff2 +0 -0
  654. package/dist/fonts/noto-sans-tc-43-400-normal.woff2 +0 -0
  655. package/dist/fonts/noto-sans-tc-43-500-normal.woff2 +0 -0
  656. package/dist/fonts/noto-sans-tc-43-600-normal.woff2 +0 -0
  657. package/dist/fonts/noto-sans-tc-43-700-normal.woff2 +0 -0
  658. package/dist/fonts/noto-sans-tc-44-400-normal.woff2 +0 -0
  659. package/dist/fonts/noto-sans-tc-44-500-normal.woff2 +0 -0
  660. package/dist/fonts/noto-sans-tc-44-600-normal.woff2 +0 -0
  661. package/dist/fonts/noto-sans-tc-44-700-normal.woff2 +0 -0
  662. package/dist/fonts/noto-sans-tc-45-400-normal.woff2 +0 -0
  663. package/dist/fonts/noto-sans-tc-45-500-normal.woff2 +0 -0
  664. package/dist/fonts/noto-sans-tc-45-600-normal.woff2 +0 -0
  665. package/dist/fonts/noto-sans-tc-45-700-normal.woff2 +0 -0
  666. package/dist/fonts/noto-sans-tc-46-400-normal.woff2 +0 -0
  667. package/dist/fonts/noto-sans-tc-46-500-normal.woff2 +0 -0
  668. package/dist/fonts/noto-sans-tc-46-600-normal.woff2 +0 -0
  669. package/dist/fonts/noto-sans-tc-46-700-normal.woff2 +0 -0
  670. package/dist/fonts/noto-sans-tc-47-400-normal.woff2 +0 -0
  671. package/dist/fonts/noto-sans-tc-47-500-normal.woff2 +0 -0
  672. package/dist/fonts/noto-sans-tc-47-600-normal.woff2 +0 -0
  673. package/dist/fonts/noto-sans-tc-47-700-normal.woff2 +0 -0
  674. package/dist/fonts/noto-sans-tc-48-400-normal.woff2 +0 -0
  675. package/dist/fonts/noto-sans-tc-48-500-normal.woff2 +0 -0
  676. package/dist/fonts/noto-sans-tc-48-600-normal.woff2 +0 -0
  677. package/dist/fonts/noto-sans-tc-48-700-normal.woff2 +0 -0
  678. package/dist/fonts/noto-sans-tc-49-400-normal.woff2 +0 -0
  679. package/dist/fonts/noto-sans-tc-49-500-normal.woff2 +0 -0
  680. package/dist/fonts/noto-sans-tc-49-600-normal.woff2 +0 -0
  681. package/dist/fonts/noto-sans-tc-49-700-normal.woff2 +0 -0
  682. package/dist/fonts/noto-sans-tc-50-400-normal.woff2 +0 -0
  683. package/dist/fonts/noto-sans-tc-50-500-normal.woff2 +0 -0
  684. package/dist/fonts/noto-sans-tc-50-600-normal.woff2 +0 -0
  685. package/dist/fonts/noto-sans-tc-50-700-normal.woff2 +0 -0
  686. package/dist/fonts/noto-sans-tc-51-400-normal.woff2 +0 -0
  687. package/dist/fonts/noto-sans-tc-51-500-normal.woff2 +0 -0
  688. package/dist/fonts/noto-sans-tc-51-600-normal.woff2 +0 -0
  689. package/dist/fonts/noto-sans-tc-51-700-normal.woff2 +0 -0
  690. package/dist/fonts/noto-sans-tc-52-400-normal.woff2 +0 -0
  691. package/dist/fonts/noto-sans-tc-52-500-normal.woff2 +0 -0
  692. package/dist/fonts/noto-sans-tc-52-600-normal.woff2 +0 -0
  693. package/dist/fonts/noto-sans-tc-52-700-normal.woff2 +0 -0
  694. package/dist/fonts/noto-sans-tc-53-400-normal.woff2 +0 -0
  695. package/dist/fonts/noto-sans-tc-53-500-normal.woff2 +0 -0
  696. package/dist/fonts/noto-sans-tc-53-600-normal.woff2 +0 -0
  697. package/dist/fonts/noto-sans-tc-53-700-normal.woff2 +0 -0
  698. package/dist/fonts/noto-sans-tc-54-400-normal.woff2 +0 -0
  699. package/dist/fonts/noto-sans-tc-54-500-normal.woff2 +0 -0
  700. package/dist/fonts/noto-sans-tc-54-600-normal.woff2 +0 -0
  701. package/dist/fonts/noto-sans-tc-54-700-normal.woff2 +0 -0
  702. package/dist/fonts/noto-sans-tc-55-400-normal.woff2 +0 -0
  703. package/dist/fonts/noto-sans-tc-55-500-normal.woff2 +0 -0
  704. package/dist/fonts/noto-sans-tc-55-600-normal.woff2 +0 -0
  705. package/dist/fonts/noto-sans-tc-55-700-normal.woff2 +0 -0
  706. package/dist/fonts/noto-sans-tc-56-400-normal.woff2 +0 -0
  707. package/dist/fonts/noto-sans-tc-56-500-normal.woff2 +0 -0
  708. package/dist/fonts/noto-sans-tc-56-600-normal.woff2 +0 -0
  709. package/dist/fonts/noto-sans-tc-56-700-normal.woff2 +0 -0
  710. package/dist/fonts/noto-sans-tc-57-400-normal.woff2 +0 -0
  711. package/dist/fonts/noto-sans-tc-57-500-normal.woff2 +0 -0
  712. package/dist/fonts/noto-sans-tc-57-600-normal.woff2 +0 -0
  713. package/dist/fonts/noto-sans-tc-57-700-normal.woff2 +0 -0
  714. package/dist/fonts/noto-sans-tc-58-400-normal.woff2 +0 -0
  715. package/dist/fonts/noto-sans-tc-58-500-normal.woff2 +0 -0
  716. package/dist/fonts/noto-sans-tc-58-600-normal.woff2 +0 -0
  717. package/dist/fonts/noto-sans-tc-58-700-normal.woff2 +0 -0
  718. package/dist/fonts/noto-sans-tc-59-400-normal.woff2 +0 -0
  719. package/dist/fonts/noto-sans-tc-59-500-normal.woff2 +0 -0
  720. package/dist/fonts/noto-sans-tc-59-600-normal.woff2 +0 -0
  721. package/dist/fonts/noto-sans-tc-59-700-normal.woff2 +0 -0
  722. package/dist/fonts/noto-sans-tc-60-400-normal.woff2 +0 -0
  723. package/dist/fonts/noto-sans-tc-60-500-normal.woff2 +0 -0
  724. package/dist/fonts/noto-sans-tc-60-600-normal.woff2 +0 -0
  725. package/dist/fonts/noto-sans-tc-60-700-normal.woff2 +0 -0
  726. package/dist/fonts/noto-sans-tc-61-400-normal.woff2 +0 -0
  727. package/dist/fonts/noto-sans-tc-61-500-normal.woff2 +0 -0
  728. package/dist/fonts/noto-sans-tc-61-600-normal.woff2 +0 -0
  729. package/dist/fonts/noto-sans-tc-61-700-normal.woff2 +0 -0
  730. package/dist/fonts/noto-sans-tc-62-400-normal.woff2 +0 -0
  731. package/dist/fonts/noto-sans-tc-62-500-normal.woff2 +0 -0
  732. package/dist/fonts/noto-sans-tc-62-600-normal.woff2 +0 -0
  733. package/dist/fonts/noto-sans-tc-62-700-normal.woff2 +0 -0
  734. package/dist/fonts/noto-sans-tc-63-400-normal.woff2 +0 -0
  735. package/dist/fonts/noto-sans-tc-63-500-normal.woff2 +0 -0
  736. package/dist/fonts/noto-sans-tc-63-600-normal.woff2 +0 -0
  737. package/dist/fonts/noto-sans-tc-63-700-normal.woff2 +0 -0
  738. package/dist/fonts/noto-sans-tc-64-400-normal.woff2 +0 -0
  739. package/dist/fonts/noto-sans-tc-64-500-normal.woff2 +0 -0
  740. package/dist/fonts/noto-sans-tc-64-600-normal.woff2 +0 -0
  741. package/dist/fonts/noto-sans-tc-64-700-normal.woff2 +0 -0
  742. package/dist/fonts/noto-sans-tc-65-400-normal.woff2 +0 -0
  743. package/dist/fonts/noto-sans-tc-65-500-normal.woff2 +0 -0
  744. package/dist/fonts/noto-sans-tc-65-600-normal.woff2 +0 -0
  745. package/dist/fonts/noto-sans-tc-65-700-normal.woff2 +0 -0
  746. package/dist/fonts/noto-sans-tc-66-400-normal.woff2 +0 -0
  747. package/dist/fonts/noto-sans-tc-66-500-normal.woff2 +0 -0
  748. package/dist/fonts/noto-sans-tc-66-600-normal.woff2 +0 -0
  749. package/dist/fonts/noto-sans-tc-66-700-normal.woff2 +0 -0
  750. package/dist/fonts/noto-sans-tc-67-400-normal.woff2 +0 -0
  751. package/dist/fonts/noto-sans-tc-67-500-normal.woff2 +0 -0
  752. package/dist/fonts/noto-sans-tc-67-600-normal.woff2 +0 -0
  753. package/dist/fonts/noto-sans-tc-67-700-normal.woff2 +0 -0
  754. package/dist/fonts/noto-sans-tc-68-400-normal.woff2 +0 -0
  755. package/dist/fonts/noto-sans-tc-68-500-normal.woff2 +0 -0
  756. package/dist/fonts/noto-sans-tc-68-600-normal.woff2 +0 -0
  757. package/dist/fonts/noto-sans-tc-68-700-normal.woff2 +0 -0
  758. package/dist/fonts/noto-sans-tc-69-400-normal.woff2 +0 -0
  759. package/dist/fonts/noto-sans-tc-69-500-normal.woff2 +0 -0
  760. package/dist/fonts/noto-sans-tc-69-600-normal.woff2 +0 -0
  761. package/dist/fonts/noto-sans-tc-69-700-normal.woff2 +0 -0
  762. package/dist/fonts/noto-sans-tc-70-400-normal.woff2 +0 -0
  763. package/dist/fonts/noto-sans-tc-70-500-normal.woff2 +0 -0
  764. package/dist/fonts/noto-sans-tc-70-600-normal.woff2 +0 -0
  765. package/dist/fonts/noto-sans-tc-70-700-normal.woff2 +0 -0
  766. package/dist/fonts/noto-sans-tc-71-400-normal.woff2 +0 -0
  767. package/dist/fonts/noto-sans-tc-71-500-normal.woff2 +0 -0
  768. package/dist/fonts/noto-sans-tc-71-600-normal.woff2 +0 -0
  769. package/dist/fonts/noto-sans-tc-71-700-normal.woff2 +0 -0
  770. package/dist/fonts/noto-sans-tc-72-400-normal.woff2 +0 -0
  771. package/dist/fonts/noto-sans-tc-72-500-normal.woff2 +0 -0
  772. package/dist/fonts/noto-sans-tc-72-600-normal.woff2 +0 -0
  773. package/dist/fonts/noto-sans-tc-72-700-normal.woff2 +0 -0
  774. package/dist/fonts/noto-sans-tc-73-400-normal.woff2 +0 -0
  775. package/dist/fonts/noto-sans-tc-73-500-normal.woff2 +0 -0
  776. package/dist/fonts/noto-sans-tc-73-600-normal.woff2 +0 -0
  777. package/dist/fonts/noto-sans-tc-73-700-normal.woff2 +0 -0
  778. package/dist/fonts/noto-sans-tc-74-400-normal.woff2 +0 -0
  779. package/dist/fonts/noto-sans-tc-74-500-normal.woff2 +0 -0
  780. package/dist/fonts/noto-sans-tc-74-600-normal.woff2 +0 -0
  781. package/dist/fonts/noto-sans-tc-74-700-normal.woff2 +0 -0
  782. package/dist/fonts/noto-sans-tc-75-400-normal.woff2 +0 -0
  783. package/dist/fonts/noto-sans-tc-75-500-normal.woff2 +0 -0
  784. package/dist/fonts/noto-sans-tc-75-600-normal.woff2 +0 -0
  785. package/dist/fonts/noto-sans-tc-75-700-normal.woff2 +0 -0
  786. package/dist/fonts/noto-sans-tc-76-400-normal.woff2 +0 -0
  787. package/dist/fonts/noto-sans-tc-76-500-normal.woff2 +0 -0
  788. package/dist/fonts/noto-sans-tc-76-600-normal.woff2 +0 -0
  789. package/dist/fonts/noto-sans-tc-76-700-normal.woff2 +0 -0
  790. package/dist/fonts/noto-sans-tc-77-400-normal.woff2 +0 -0
  791. package/dist/fonts/noto-sans-tc-77-500-normal.woff2 +0 -0
  792. package/dist/fonts/noto-sans-tc-77-600-normal.woff2 +0 -0
  793. package/dist/fonts/noto-sans-tc-77-700-normal.woff2 +0 -0
  794. package/dist/fonts/noto-sans-tc-78-400-normal.woff2 +0 -0
  795. package/dist/fonts/noto-sans-tc-78-500-normal.woff2 +0 -0
  796. package/dist/fonts/noto-sans-tc-78-600-normal.woff2 +0 -0
  797. package/dist/fonts/noto-sans-tc-78-700-normal.woff2 +0 -0
  798. package/dist/fonts/noto-sans-tc-79-400-normal.woff2 +0 -0
  799. package/dist/fonts/noto-sans-tc-79-500-normal.woff2 +0 -0
  800. package/dist/fonts/noto-sans-tc-79-600-normal.woff2 +0 -0
  801. package/dist/fonts/noto-sans-tc-79-700-normal.woff2 +0 -0
  802. package/dist/fonts/noto-sans-tc-80-400-normal.woff2 +0 -0
  803. package/dist/fonts/noto-sans-tc-80-500-normal.woff2 +0 -0
  804. package/dist/fonts/noto-sans-tc-80-600-normal.woff2 +0 -0
  805. package/dist/fonts/noto-sans-tc-80-700-normal.woff2 +0 -0
  806. package/dist/fonts/noto-sans-tc-81-400-normal.woff2 +0 -0
  807. package/dist/fonts/noto-sans-tc-81-500-normal.woff2 +0 -0
  808. package/dist/fonts/noto-sans-tc-81-600-normal.woff2 +0 -0
  809. package/dist/fonts/noto-sans-tc-81-700-normal.woff2 +0 -0
  810. package/dist/fonts/noto-sans-tc-82-400-normal.woff2 +0 -0
  811. package/dist/fonts/noto-sans-tc-82-500-normal.woff2 +0 -0
  812. package/dist/fonts/noto-sans-tc-82-600-normal.woff2 +0 -0
  813. package/dist/fonts/noto-sans-tc-82-700-normal.woff2 +0 -0
  814. package/dist/fonts/noto-sans-tc-83-400-normal.woff2 +0 -0
  815. package/dist/fonts/noto-sans-tc-83-500-normal.woff2 +0 -0
  816. package/dist/fonts/noto-sans-tc-83-600-normal.woff2 +0 -0
  817. package/dist/fonts/noto-sans-tc-83-700-normal.woff2 +0 -0
  818. package/dist/fonts/noto-sans-tc-84-400-normal.woff2 +0 -0
  819. package/dist/fonts/noto-sans-tc-84-500-normal.woff2 +0 -0
  820. package/dist/fonts/noto-sans-tc-84-600-normal.woff2 +0 -0
  821. package/dist/fonts/noto-sans-tc-84-700-normal.woff2 +0 -0
  822. package/dist/fonts/noto-sans-tc-85-400-normal.woff2 +0 -0
  823. package/dist/fonts/noto-sans-tc-85-500-normal.woff2 +0 -0
  824. package/dist/fonts/noto-sans-tc-85-600-normal.woff2 +0 -0
  825. package/dist/fonts/noto-sans-tc-85-700-normal.woff2 +0 -0
  826. package/dist/fonts/noto-sans-tc-86-400-normal.woff2 +0 -0
  827. package/dist/fonts/noto-sans-tc-86-500-normal.woff2 +0 -0
  828. package/dist/fonts/noto-sans-tc-86-600-normal.woff2 +0 -0
  829. package/dist/fonts/noto-sans-tc-86-700-normal.woff2 +0 -0
  830. package/dist/fonts/noto-sans-tc-87-400-normal.woff2 +0 -0
  831. package/dist/fonts/noto-sans-tc-87-500-normal.woff2 +0 -0
  832. package/dist/fonts/noto-sans-tc-87-600-normal.woff2 +0 -0
  833. package/dist/fonts/noto-sans-tc-87-700-normal.woff2 +0 -0
  834. package/dist/fonts/noto-sans-tc-88-400-normal.woff2 +0 -0
  835. package/dist/fonts/noto-sans-tc-88-500-normal.woff2 +0 -0
  836. package/dist/fonts/noto-sans-tc-88-600-normal.woff2 +0 -0
  837. package/dist/fonts/noto-sans-tc-88-700-normal.woff2 +0 -0
  838. package/dist/fonts/noto-sans-tc-89-400-normal.woff2 +0 -0
  839. package/dist/fonts/noto-sans-tc-89-500-normal.woff2 +0 -0
  840. package/dist/fonts/noto-sans-tc-89-600-normal.woff2 +0 -0
  841. package/dist/fonts/noto-sans-tc-89-700-normal.woff2 +0 -0
  842. package/dist/fonts/noto-sans-tc-90-400-normal.woff2 +0 -0
  843. package/dist/fonts/noto-sans-tc-90-500-normal.woff2 +0 -0
  844. package/dist/fonts/noto-sans-tc-90-600-normal.woff2 +0 -0
  845. package/dist/fonts/noto-sans-tc-90-700-normal.woff2 +0 -0
  846. package/dist/fonts/noto-sans-tc-91-400-normal.woff2 +0 -0
  847. package/dist/fonts/noto-sans-tc-91-500-normal.woff2 +0 -0
  848. package/dist/fonts/noto-sans-tc-91-600-normal.woff2 +0 -0
  849. package/dist/fonts/noto-sans-tc-91-700-normal.woff2 +0 -0
  850. package/dist/fonts/noto-sans-tc-92-400-normal.woff2 +0 -0
  851. package/dist/fonts/noto-sans-tc-92-500-normal.woff2 +0 -0
  852. package/dist/fonts/noto-sans-tc-92-600-normal.woff2 +0 -0
  853. package/dist/fonts/noto-sans-tc-92-700-normal.woff2 +0 -0
  854. package/dist/fonts/noto-sans-tc-93-400-normal.woff2 +0 -0
  855. package/dist/fonts/noto-sans-tc-93-500-normal.woff2 +0 -0
  856. package/dist/fonts/noto-sans-tc-93-600-normal.woff2 +0 -0
  857. package/dist/fonts/noto-sans-tc-93-700-normal.woff2 +0 -0
  858. package/dist/fonts/noto-sans-tc-94-400-normal.woff2 +0 -0
  859. package/dist/fonts/noto-sans-tc-94-500-normal.woff2 +0 -0
  860. package/dist/fonts/noto-sans-tc-94-600-normal.woff2 +0 -0
  861. package/dist/fonts/noto-sans-tc-94-700-normal.woff2 +0 -0
  862. package/dist/fonts/noto-sans-tc-95-400-normal.woff2 +0 -0
  863. package/dist/fonts/noto-sans-tc-95-500-normal.woff2 +0 -0
  864. package/dist/fonts/noto-sans-tc-95-600-normal.woff2 +0 -0
  865. package/dist/fonts/noto-sans-tc-95-700-normal.woff2 +0 -0
  866. package/dist/fonts/noto-sans-tc-96-400-normal.woff2 +0 -0
  867. package/dist/fonts/noto-sans-tc-96-500-normal.woff2 +0 -0
  868. package/dist/fonts/noto-sans-tc-96-600-normal.woff2 +0 -0
  869. package/dist/fonts/noto-sans-tc-96-700-normal.woff2 +0 -0
  870. package/dist/fonts/noto-sans-tc-cyrillic-400-normal.woff2 +0 -0
  871. package/dist/fonts/noto-sans-tc-cyrillic-500-normal.woff2 +0 -0
  872. package/dist/fonts/noto-sans-tc-cyrillic-600-normal.woff2 +0 -0
  873. package/dist/fonts/noto-sans-tc-cyrillic-700-normal.woff2 +0 -0
  874. package/dist/fonts/noto-sans-tc-latin-400-normal.woff2 +0 -0
  875. package/dist/fonts/noto-sans-tc-latin-500-normal.woff2 +0 -0
  876. package/dist/fonts/noto-sans-tc-latin-600-normal.woff2 +0 -0
  877. package/dist/fonts/noto-sans-tc-latin-700-normal.woff2 +0 -0
  878. package/dist/fonts/noto-sans-tc-latin-ext-400-normal.woff2 +0 -0
  879. package/dist/fonts/noto-sans-tc-latin-ext-500-normal.woff2 +0 -0
  880. package/dist/fonts/noto-sans-tc-latin-ext-600-normal.woff2 +0 -0
  881. package/dist/fonts/noto-sans-tc-latin-ext-700-normal.woff2 +0 -0
  882. package/dist/fonts/noto-sans-tc-vietnamese-400-normal.woff2 +0 -0
  883. package/dist/fonts/noto-sans-tc-vietnamese-500-normal.woff2 +0 -0
  884. package/dist/fonts/noto-sans-tc-vietnamese-600-normal.woff2 +0 -0
  885. package/dist/fonts/noto-sans-tc-vietnamese-700-normal.woff2 +0 -0
package/dist/styles.css CHANGED
@@ -10,6 +10,15 @@ body {
10
10
  background: var(--bg);
11
11
  color: var(--ink);
12
12
  }
13
+ /* Bare links (Markdown, older content): the look of Link, at zero specificity so any component's link style wins. */
14
+ :where(a:any-link) {
15
+ color: var(--accent-text);
16
+ text-decoration-thickness: 1px;
17
+ text-underline-offset: 3px;
18
+ }
19
+ :where(a:any-link:hover) {
20
+ text-decoration-thickness: 2px;
21
+ }
13
22
  .ui-row {
14
23
  display: flex;
15
24
  flex-wrap: wrap;
@@ -259,6 +268,21 @@ html.ui-theme-fade * {
259
268
  border-radius: 2px;
260
269
  background: currentColor;
261
270
  }
271
+ /* Disabled fields built from a box (DatePicker, MultiSelect, the password field): the same gray as a disabled input. */
272
+ .is-disabled :is(.ui-datefield, .ui-ms) {
273
+ background: var(--surface-sub);
274
+ border-color: transparent;
275
+ color: var(--ink-muted);
276
+ cursor: not-allowed;
277
+ }
278
+ .is-disabled :is(.ui-datefield-input, .ui-ms-input, .ui-datefield-btn) {
279
+ color: var(--ink-muted);
280
+ cursor: not-allowed;
281
+ }
282
+ /* The text beside a Switch in its <label> is option text: text-control (15 px), like Checkbox and RadioGroup labels. */
283
+ label:has(> .ui-switch) {
284
+ font-size: var(--text-control);
285
+ }
262
286
  @keyframes ui-rise {
263
287
  from {
264
288
  opacity: 0;
@@ -329,6 +353,13 @@ html.ui-theme-fade * {
329
353
  .ui-chart-axis {
330
354
  stroke: var(--line);
331
355
  }
356
+ /* The unit of the y axis, above its labels: 「次」「°C」. */
357
+ .ui-chart-axisunit {
358
+ margin-bottom: var(--space-2);
359
+ font-size: var(--text-mini);
360
+ line-height: 1;
361
+ color: var(--ink-muted);
362
+ }
332
363
  .ui-chart-tick {
333
364
  font-family: var(--font-mono);
334
365
  font-size: var(--text-mini);
@@ -420,6 +451,20 @@ html.ui-theme-fade * {
420
451
  flex: 1 1 0;
421
452
  text-align: center;
422
453
  }
454
+ /* LineChart: each label under its point, moved inside at the chart's edges (the transform comes from LineChart). An
455
+ invisible character gives the row its line height. */
456
+ .ui-chart-xlabels.is-placed {
457
+ position: relative;
458
+ }
459
+ .ui-chart-xlabels.is-placed::before {
460
+ content: '0';
461
+ visibility: hidden;
462
+ }
463
+ .ui-chart-xlabels.is-placed > span {
464
+ position: absolute;
465
+ top: 0;
466
+ white-space: nowrap;
467
+ }
423
468
 
424
469
  @media (prefers-reduced-motion: reduce) {
425
470
  .ui-chart-line {
@@ -554,6 +599,113 @@ html.ui-theme-fade * {
554
599
  stroke: var(--surface);
555
600
  stroke-width: 2;
556
601
  }
602
+ /* Link: accent text, always underlined (a link in a sentence is told apart by more than its colour), a thin line
603
+ that thickens on hover. Bare <a> in Markdown or older content gets the same look from base.css. */
604
+ .ui-textlink {
605
+ color: var(--accent-text);
606
+ text-decoration: underline;
607
+ text-decoration-thickness: 1px;
608
+ text-underline-offset: 3px;
609
+ border-radius: var(--radius-xs);
610
+ cursor: pointer;
611
+ }
612
+ .ui-textlink:hover {
613
+ text-decoration-thickness: 2px;
614
+ }
615
+ /* The arrow stays inline, so a long link still wraps like the sentence around it. */
616
+ .ui-textlink-icon {
617
+ display: inline-block;
618
+ margin-left: 2px;
619
+ vertical-align: -2px;
620
+ }
621
+ /* Inline code */
622
+ .ui-code {
623
+ font-family: var(--font-mono);
624
+ font-size: 0.875em;
625
+ padding: 1px 5px;
626
+ border-radius: var(--radius-xs);
627
+ background: var(--surface-sub);
628
+ color: var(--ink);
629
+ overflow-wrap: anywhere;
630
+ }
631
+ /* In a table (DataTable rows and their details, Markdown tables) every other row is surface-sub, the same as the code
632
+ background, so code there is surface with a 1 px line border: it reads the same on both row colours and on the
633
+ hovered row. Inset shadow, not a border, so the size and line height do not change. */
634
+ :is(.ui-dt-body, .ui-dt-detail, .ui-md-table td) .ui-code {
635
+ background: var(--surface);
636
+ box-shadow: inset 0 0 0 1px var(--line);
637
+ }
638
+ .ui-code.is-short {
639
+ white-space: nowrap;
640
+ }
641
+ .ui-code.is-link {
642
+ border: 0;
643
+ color: var(--accent-text);
644
+ font-weight: inherit;
645
+ line-height: inherit;
646
+ text-decoration: underline;
647
+ text-underline-offset: 2px;
648
+ cursor: pointer;
649
+ }
650
+ .ui-code.is-link:hover {
651
+ text-decoration-thickness: 2px;
652
+ }
653
+ /* Dark: accent-text on the chip's surface-sub is 3.9:1; a quarter of ink brings it to 5:1 (at least 4.5:1 for 14 px text). */
654
+ [data-theme='dark'] .ui-code.is-link {
655
+ color: color-mix(in srgb, var(--accent-text), var(--ink) 25%);
656
+ }
657
+ /* A name (function, class, variable) and a location (file:line) that point somewhere: no chip, no underline until
658
+ hover or keyboard focus. Three classes so they win over the dark link colour and the table chip above. */
659
+ .ui-code.is-link.is-name,
660
+ .ui-code.is-link.is-location {
661
+ padding: 0;
662
+ background: none;
663
+ box-shadow: none;
664
+ text-decoration: none;
665
+ text-underline-offset: 3px;
666
+ text-decoration-thickness: 1px;
667
+ }
668
+ .ui-code.is-link.is-name {
669
+ color: var(--code-link-ink, var(--accent-text));
670
+ }
671
+ /* Dark: accent-text on a surface-sub table row is 3.9:1; a quarter of ink brings it above 4.5:1, as for the chip. */
672
+ [data-theme='dark'] :is(.ui-dt-body, .ui-dt-detail, .ui-md-table td) .ui-code.is-link:is(.is-name, .is-location) {
673
+ --code-link-ink: color-mix(in srgb, var(--accent-text), var(--ink) 25%);
674
+ }
675
+ /* One step smaller: the 13 px of secondary text. Never breaks inside. */
676
+ .ui-code.is-link.is-location {
677
+ color: var(--ink-muted);
678
+ font-size: var(--text-small);
679
+ white-space: nowrap;
680
+ }
681
+ .ui-code.is-link.is-name:is(:hover, :focus-visible),
682
+ .ui-code.is-link.is-location:is(:hover, :focus-visible) {
683
+ text-decoration: underline;
684
+ text-decoration-thickness: 1px;
685
+ }
686
+ .ui-code.is-link.is-location:is(:hover, :focus-visible) {
687
+ color: var(--code-link-ink, var(--accent-text));
688
+ }
689
+ .ui-code.is-link.is-name:focus-visible,
690
+ .ui-code.is-link.is-location:focus-visible {
691
+ border-radius: var(--radius-xs);
692
+ }
693
+ .ui-pal-detail .ui-code {
694
+ padding: 0;
695
+ background: transparent;
696
+ color: inherit;
697
+ }
698
+ .ui-sug-line .ui-code {
699
+ background: var(--surface);
700
+ }
701
+ .ui-md-table .ui-code {
702
+ white-space: normal;
703
+ overflow-wrap: break-word;
704
+ }
705
+ /* A command wraps at its spaces; a path or a name in code never breaks inside. */
706
+ .ui-md-table .ui-code.is-link {
707
+ white-space: nowrap;
708
+ }
557
709
  .ui-btn {
558
710
  display: inline-flex;
559
711
  align-items: center;
@@ -622,9 +774,13 @@ html.ui-theme-fade * {
622
774
  cursor: not-allowed;
623
775
  }
624
776
  .ui-btn.is-loading {
625
- opacity: 0.85;
626
777
  cursor: progress;
627
778
  }
779
+ /* A disabled primary keeps a faint accent ground, so it still reads as the section's main action, unlike a disabled
780
+ secondary or quiet button; ink-muted on accent-soft stays 4.5:1 for every accent (setAccent keeps it so). */
781
+ .ui-btn-primary:disabled:not(.is-loading) {
782
+ background: var(--accent-soft);
783
+ }
628
784
  @media (prefers-reduced-motion: reduce) {
629
785
  .ui-btn:active:not(:disabled) {
630
786
  transform: none;
@@ -758,69 +914,43 @@ html.ui-theme-fade * {
758
914
  font-size: var(--text-small);
759
915
  color: var(--ink-muted);
760
916
  }
917
+ /* Badge: a mark and text, no chip and no shadow, everywhere (a raised chip reads as a button). The text takes the size
918
+ and weight of the text beside it; only the attention tones (warning, danger) colour their text and are bold. The
919
+ mark keeps its tone's colour and its shape. */
761
920
  .ui-badge {
762
921
  display: inline-flex;
763
922
  align-items: center;
764
- gap: 8px;
765
- height: var(--chip-height);
766
- padding: 0 12px 0 10px;
767
- border-radius: var(--radius-chip);
768
- background: var(--surface);
769
- box-shadow: var(--shadow-chip);
770
- color: var(--ink);
771
- font-size: var(--text-small);
772
- font-weight: 500;
923
+ gap: 6px;
924
+ color: var(--ink-muted);
773
925
  white-space: nowrap;
774
- box-sizing: border-box;
926
+ vertical-align: middle;
775
927
  }
776
928
  .ui-badge-mark {
777
929
  flex: 0 0 15px;
778
930
  }
779
- .ui-badge-draft .ui-badge-mark {
931
+ /* The mark beside text, on the same ground: the status text colours, which reach 4.5:1 on every ground (bg, surfaces,
932
+ accent-soft, table row hover and zebra), so the mark is 3:1 or more wherever the badge goes. */
933
+ .ui-badge.is-neutral .ui-badge-mark {
780
934
  color: var(--ink-muted);
781
935
  }
782
- /* A mark beside text, on the same ground: the status text colors, which reach 4.5:1 on every ground (bg, surfaces,
783
- accent-soft, table row hover and zebra), so the mark is 3:1 or more wherever the badge goes. */
784
- .ui-badge-doing .ui-badge-mark {
936
+ .ui-badge.is-info .ui-badge-mark {
785
937
  color: var(--accent-text);
786
938
  }
787
- .ui-badge-review .ui-badge-mark {
788
- color: var(--warning-text);
789
- }
790
- .ui-badge-done .ui-badge-mark {
939
+ .ui-badge.is-success .ui-badge-mark {
791
940
  color: var(--success-text);
792
941
  }
793
- .ui-badge-fail .ui-badge-mark {
794
- color: var(--danger-text);
795
- }
796
- /* The dot form: a mark and text, no chip and no shadow. variant="dot", and every Badge inside a Card or a DataTable
797
- (a raised chip on a raised card reads as a button). Only the attention states (fail, review, doing) color their
798
- text; done and draft stay calm in ink-muted. The mark keeps its status color and shape. */
799
- .ui-badge:is(.is-dot, .ui-card *, .ui-dt *) {
800
- height: auto;
801
- padding: 0;
802
- gap: 6px;
803
- background: transparent;
804
- box-shadow: none;
805
- /* the size and weight of the text beside it (a status cell reads like the other cells); states that need
806
- attention are bold */
807
- font-size: inherit;
808
- font-weight: inherit;
809
- }
810
- .ui-badge:is(.is-dot, .ui-card *, .ui-dt *):is(.ui-badge-fail, .ui-badge-review, .ui-badge-doing) {
942
+ .ui-badge.is-warning {
943
+ color: var(--warning-text);
811
944
  font-weight: 600;
812
945
  }
813
- .ui-badge:is(.is-dot, .ui-card *, .ui-dt *):is(.ui-badge-done, .ui-badge-draft) {
814
- color: var(--ink-muted);
815
- }
816
- .ui-badge:is(.is-dot, .ui-card *, .ui-dt *).ui-badge-fail {
946
+ .ui-badge.is-danger {
817
947
  color: var(--danger-text);
948
+ font-weight: 600;
818
949
  }
819
- .ui-badge:is(.is-dot, .ui-card *, .ui-dt *).ui-badge-review {
820
- color: var(--warning-text);
821
- }
822
- .ui-badge:is(.is-dot, .ui-card *, .ui-dt *).ui-badge-doing {
823
- color: var(--accent-text);
950
+ @media (forced-colors: active) {
951
+ .ui-badge .ui-badge-mark {
952
+ color: CanvasText;
953
+ }
824
954
  }
825
955
  .ui-alert {
826
956
  position: relative;
@@ -828,22 +958,13 @@ html.ui-theme-fade * {
828
958
  display: flex;
829
959
  gap: var(--space-3);
830
960
  align-items: flex-start;
831
- padding: calc(var(--space-3) + var(--alert-bar)) var(--space-4) var(--space-3);
961
+ padding: var(--space-3) var(--space-4);
832
962
  border-radius: var(--radius-md);
833
963
  background: var(--surface);
834
964
  box-shadow: var(--shadow-card);
835
965
  font-size: var(--text-compact);
836
966
  line-height: 1.5;
837
967
  }
838
- .ui-alert::before {
839
- content: '';
840
- position: absolute;
841
- left: 0;
842
- right: 0;
843
- top: 0;
844
- height: var(--alert-bar);
845
- background: var(--alert-color);
846
- }
847
968
  .ui-alert-info {
848
969
  --alert-color: var(--accent);
849
970
  }
@@ -860,7 +981,7 @@ html.ui-theme-fade * {
860
981
  margin-top: 1px;
861
982
  color: var(--alert-color);
862
983
  }
863
- /* The info icon sits by its text: accent-text, so a light accent still reads; the bar above keeps the accent. */
984
+ /* The info icon sits by its text: accent-text, so a light accent still reads. */
864
985
  .ui-alert-info .ui-alert-icon {
865
986
  color: var(--accent-text);
866
987
  }
@@ -875,16 +996,13 @@ html.ui-theme-fade * {
875
996
  color: var(--ink-muted);
876
997
  }
877
998
  .ui-alert-action {
878
- align-self: center;
879
- height: 32px;
880
- padding: 0 var(--space-3);
881
- font-size: var(--text-small);
999
+ margin-top: var(--space-2);
882
1000
  }
883
1001
  .ui-alert-close {
884
- flex: 0 0 32px;
885
- width: 32px;
886
- height: 32px;
887
- margin: -6px -8px -6px 0;
1002
+ flex: 0 0 40px;
1003
+ width: 40px;
1004
+ height: 40px;
1005
+ margin: -8px -8px -8px 0;
888
1006
  border: 0;
889
1007
  border-radius: var(--radius-sm);
890
1008
  background: transparent;
@@ -905,13 +1023,34 @@ html.ui-theme-fade * {
905
1023
  background-position: 300px 0;
906
1024
  }
907
1025
  }
1026
+ /* The bar is line (about 1.33:1 on surface in light and dark, so it is seen); a narrow lighter band passes over it. */
908
1027
  .ui-skel {
909
1028
  display: block;
910
1029
  border-radius: var(--radius-sm);
911
- background: linear-gradient(90deg, var(--surface-sub) 0%, var(--bg) 50%, var(--surface-sub) 100%);
1030
+ background: linear-gradient(
1031
+ 90deg,
1032
+ var(--line) 0%,
1033
+ var(--line) 35%,
1034
+ color-mix(in srgb, var(--line), var(--surface) 60%) 50%,
1035
+ var(--line) 65%,
1036
+ var(--line) 100%
1037
+ );
912
1038
  background-size: 600px 100%;
913
1039
  animation: ui-shimmer 1.2s linear infinite;
914
1040
  }
1041
+ /* Reduced motion: no shimmer, a still bar. */
1042
+ @media (prefers-reduced-motion: reduce) {
1043
+ .ui-skel {
1044
+ animation: none;
1045
+ background: var(--line);
1046
+ }
1047
+ }
1048
+ /* Forced colors: backgrounds are dropped, so an outline keeps the place visible. */
1049
+ @media (forced-colors: active) {
1050
+ .ui-skel {
1051
+ border: 1px solid GrayText;
1052
+ }
1053
+ }
915
1054
  .ui-empty {
916
1055
  display: flex;
917
1056
  flex-direction: column;
@@ -983,7 +1122,11 @@ html.ui-theme-fade * {
983
1122
  display: inline-flex;
984
1123
  align-items: center;
985
1124
  gap: 10px;
986
- padding: var(--space-3) var(--space-4);
1125
+ width: fit-content;
1126
+ max-width: 100%;
1127
+ box-sizing: border-box;
1128
+ padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
1129
+ min-height: 48px;
987
1130
  border-radius: var(--radius-md);
988
1131
  background: var(--surface);
989
1132
  color: var(--ink);
@@ -992,25 +1135,117 @@ html.ui-theme-fade * {
992
1135
  font-size: var(--text-compact);
993
1136
  animation: ui-toast-in 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
994
1137
  }
1138
+ /* A card alone (not from toast()): no close button, so the same padding on both sides. */
1139
+ div.ui-toast[role='status'] {
1140
+ padding-right: var(--space-4);
1141
+ }
1142
+ .ui-toast-text {
1143
+ flex: 1 1 auto;
1144
+ min-width: 0;
1145
+ margin: 0;
1146
+ font: inherit;
1147
+ font-weight: 400;
1148
+ }
995
1149
  .ui-toast-icon {
996
- color: var(--success);
1150
+ flex: none;
1151
+ color: var(--success-text);
1152
+ }
1153
+ .ui-toast.is-info .ui-toast-icon {
1154
+ color: var(--info-text);
1155
+ }
1156
+ .ui-toast.is-warning .ui-toast-icon {
1157
+ color: var(--warning-text);
1158
+ }
1159
+ .ui-toast.is-danger .ui-toast-icon {
1160
+ color: var(--danger-text);
997
1161
  }
998
1162
  .ui-toast-action {
1163
+ flex: none;
1164
+ display: inline-flex;
1165
+ align-items: center;
1166
+ gap: var(--space-2);
999
1167
  margin-left: var(--space-1);
1000
- padding: 0 var(--space-1);
1001
- min-height: 28px;
1168
+ padding: 0 var(--space-2);
1169
+ min-height: 32px;
1002
1170
  border: 0;
1003
1171
  border-radius: var(--radius-sm);
1004
1172
  background: transparent;
1005
1173
  color: var(--accent-text);
1006
1174
  font: inherit;
1007
1175
  font-weight: 700;
1176
+ white-space: nowrap;
1177
+ cursor: pointer;
1178
+ }
1179
+ .ui-toast-action:hover {
1180
+ background: var(--surface-sub);
1181
+ }
1182
+ .ui-toast-kbd {
1183
+ font-family: var(--font-mono);
1184
+ font-size: var(--text-mini);
1185
+ font-weight: 400;
1186
+ color: var(--ink-muted);
1187
+ }
1188
+ .ui-toast-close {
1189
+ flex: none;
1190
+ display: inline-flex;
1191
+ align-items: center;
1192
+ justify-content: center;
1193
+ width: 32px;
1194
+ height: 32px;
1195
+ border: 0;
1196
+ border-radius: var(--radius-sm);
1197
+ background: transparent;
1198
+ color: var(--ink-muted);
1008
1199
  cursor: pointer;
1009
1200
  }
1201
+ .ui-toast-close:hover {
1202
+ background: var(--surface-sub);
1203
+ color: var(--ink);
1204
+ }
1205
+ /* toast()'s place: bottom right, the newest at the bottom; bottom centre on phones, above the tab bar. */
1206
+ .ui-toaster {
1207
+ position: fixed;
1208
+ z-index: var(--z-popover);
1209
+ right: var(--space-5);
1210
+ bottom: var(--space-5);
1211
+ display: flex;
1212
+ /* Base UI lists the newest first: reversed, the newest sits at the bottom, nearest the corner. */
1213
+ flex-direction: column-reverse;
1214
+ align-items: flex-end;
1215
+ gap: var(--space-2);
1216
+ width: min(420px, calc(100vw - 2 * var(--space-5)));
1217
+ outline: none;
1218
+ pointer-events: none;
1219
+ }
1220
+ .ui-toaster > .ui-toast {
1221
+ pointer-events: auto;
1222
+ }
1223
+ .ui-toaster > .ui-toast[data-ending-style] {
1224
+ opacity: 0;
1225
+ transform: translateY(12px);
1226
+ transition:
1227
+ opacity var(--dur-toggle) ease,
1228
+ transform var(--dur-toggle) ease;
1229
+ }
1230
+ @media (max-width: 599px) {
1231
+ .ui-toaster {
1232
+ right: var(--space-3);
1233
+ left: var(--space-3);
1234
+ bottom: var(--space-3);
1235
+ width: auto;
1236
+ align-items: center;
1237
+ }
1238
+ body:has(.ui-tabbar) .ui-toaster {
1239
+ bottom: calc(64px + var(--space-3));
1240
+ }
1241
+ }
1010
1242
  @media (prefers-reduced-motion: reduce) {
1011
1243
  .ui-toast {
1012
1244
  animation: ui-fade var(--dur-hover) ease both;
1013
1245
  }
1246
+ .ui-toaster > .ui-toast[data-ending-style] {
1247
+ transform: none;
1248
+ }
1014
1249
  }
1015
1250
  .ui-crumb ol {
1016
1251
  display: flex;
@@ -1046,6 +1281,7 @@ html.ui-theme-fade * {
1046
1281
  display: inline-flex;
1047
1282
  max-width: 100%;
1048
1283
  box-sizing: border-box;
1284
+ /* 40 px in all, the height of the controls beside it in a toolbar. */
1049
1285
  padding: 4px;
1050
1286
  border-radius: var(--radius-md);
1051
1287
  background: var(--surface-sub);
@@ -1084,7 +1320,7 @@ html.ui-theme-fade * {
1084
1320
  flex: none;
1085
1321
  min-width: 96px;
1086
1322
  white-space: nowrap;
1087
- height: 38px;
1323
+ height: 32px;
1088
1324
  padding: 0 var(--space-4);
1089
1325
  border: 0;
1090
1326
  border-radius: var(--radius-sm);
@@ -1119,15 +1355,15 @@ html.ui-theme-fade * {
1119
1355
  }
1120
1356
  }
1121
1357
  .ui-tab-count {
1122
- /* With the space before it: about 6 px from the name. */
1358
+ /* With the space before it: about 6 px from the name. A quiet number: the text font with figures of one width,
1359
+ muted and regular weight on every tab, so the names lead and the counts line up. */
1123
1360
  margin-left: 2px;
1124
- font-family: var(--font-mono);
1125
- font-size: var(--text-small);
1361
+ font-family: var(--font-sans);
1362
+ font-variant-numeric: tabular-nums;
1363
+ font-size: var(--text-compact);
1364
+ font-weight: 400;
1126
1365
  color: var(--ink-muted);
1127
1366
  }
1128
- .ui-tab.is-selected .ui-tab-count {
1129
- color: var(--ink);
1130
- }
1131
1367
  .ui-tabbar {
1132
1368
  position: relative;
1133
1369
  box-sizing: border-box;
@@ -1194,6 +1430,7 @@ html.ui-theme-fade * {
1194
1430
  box-sizing: border-box;
1195
1431
  border-radius: var(--radius-sm);
1196
1432
  border: 2px solid var(--line-strong);
1433
+ background: transparent;
1197
1434
  color: var(--on-accent);
1198
1435
  display: inline-flex;
1199
1436
  align-items: center;
@@ -1221,6 +1458,24 @@ html.ui-theme-fade * {
1221
1458
  width: 36px;
1222
1459
  justify-content: center;
1223
1460
  }
1461
+ /* Forced colors (Windows high contrast): backgrounds are dropped, so the checked fill and the mixed dash use system
1462
+ colors that stay visible. */
1463
+ @media (forced-colors: active) {
1464
+ .ui-check-box {
1465
+ border-color: CanvasText;
1466
+ }
1467
+ .ui-check.is-on .ui-check-box,
1468
+ .ui-check-box.is-on {
1469
+ forced-color-adjust: none;
1470
+ background: Highlight;
1471
+ border-color: Highlight;
1472
+ color: HighlightText;
1473
+ }
1474
+ .ui-check-dash {
1475
+ forced-color-adjust: none;
1476
+ background: HighlightText;
1477
+ }
1478
+ }
1224
1479
  .ui-radios {
1225
1480
  display: flex;
1226
1481
  flex-direction: column;
@@ -1311,6 +1566,33 @@ html.ui-theme-fade * {
1311
1566
  transition: background-color var(--dur-hover) ease !important;
1312
1567
  }
1313
1568
  }
1569
+ /* Forced colors (Windows high contrast): the knob is drawn with a background, which is dropped there; give the track
1570
+ and the knob system colors so on and off stay visible. */
1571
+ @media (forced-colors: active) {
1572
+ .ui-switch {
1573
+ forced-color-adjust: none;
1574
+ border-color: CanvasText;
1575
+ background: Canvas;
1576
+ }
1577
+ .ui-switch-thumb {
1578
+ background: CanvasText;
1579
+ color: Canvas;
1580
+ }
1581
+ .ui-switch.is-on {
1582
+ border-color: Highlight;
1583
+ background: Highlight;
1584
+ }
1585
+ .ui-switch.is-on .ui-switch-thumb {
1586
+ background: HighlightText;
1587
+ color: Highlight;
1588
+ }
1589
+ .ui-switch:disabled {
1590
+ border-color: GrayText;
1591
+ }
1592
+ .ui-switch:disabled .ui-switch-thumb {
1593
+ background: GrayText;
1594
+ }
1595
+ }
1314
1596
  .ui-select {
1315
1597
  position: relative;
1316
1598
  display: flex;
@@ -1518,23 +1800,49 @@ html.ui-theme-fade * {
1518
1800
  height: 24px;
1519
1801
  background: none;
1520
1802
  }
1803
+ /* Two columns when the grid itself is 640 px wide or more (a container query, not the window): inside a 400 px
1804
+ Drawer it stays one column. */
1521
1805
  .ui-formgrid {
1806
+ container-type: inline-size;
1807
+ }
1808
+ .ui-formgrid-in {
1522
1809
  display: grid;
1523
1810
  grid-template-columns: minmax(0, 1fr);
1524
1811
  gap: var(--space-4) var(--space-5);
1525
1812
  }
1526
- @media (min-width: 960px) {
1527
- .ui-formgrid {
1813
+ @container (min-width: 640px) {
1814
+ .ui-formgrid-in {
1528
1815
  grid-template-columns: repeat(2, minmax(0, 1fr));
1529
1816
  }
1530
1817
  }
1531
- .ui-formgrid > .is-full {
1818
+ .ui-formgrid-in > .is-full {
1532
1819
  grid-column: 1 / -1;
1533
1820
  }
1821
+ /* Every field fills its column, date fields too (240 / 280 px on their own). */
1822
+ .ui-formgrid-in .ui-datefield {
1823
+ width: 100%;
1824
+ }
1825
+ /* The y labels take the width they need (--axis-w, measured by BarChart), so 「1,500,000」 stays inside the card. */
1534
1826
  .ui-bars {
1535
1827
  position: relative;
1536
- height: 200px;
1537
- margin-left: 32px;
1828
+ height: var(--bars-h, 200px);
1829
+ margin-left: var(--axis-w, 32px);
1830
+ }
1831
+ /* height="fill": as tall as the parent leaves (a Card stretched by its Grid row, under its title), at least 160 px. */
1832
+ .ui-chart.is-fill {
1833
+ display: flex;
1834
+ flex-direction: column;
1835
+ flex: 1 1 auto;
1836
+ min-height: 0;
1837
+ }
1838
+ .ui-card:has(> .ui-chart.is-fill) {
1839
+ display: flex;
1840
+ flex-direction: column;
1841
+ }
1842
+ .ui-chart.is-fill > .ui-bars {
1843
+ flex: 1 1 auto;
1844
+ height: auto;
1845
+ min-height: 160px;
1538
1846
  }
1539
1847
  .ui-bars-grid {
1540
1848
  position: absolute;
@@ -1549,6 +1857,7 @@ html.ui-theme-fade * {
1549
1857
  position: absolute;
1550
1858
  right: calc(100% + 6px);
1551
1859
  top: -9px;
1860
+ white-space: nowrap;
1552
1861
  }
1553
1862
  .ui-bars-row {
1554
1863
  position: absolute;
@@ -1584,7 +1893,7 @@ html.ui-theme-fade * {
1584
1893
  top: auto;
1585
1894
  }
1586
1895
  .ui-bars-labels {
1587
- margin-left: 32px;
1896
+ margin-left: var(--axis-w, 32px);
1588
1897
  gap: 8px;
1589
1898
  }
1590
1899
  @media (prefers-reduced-motion: reduce) {
@@ -1631,6 +1940,18 @@ html.ui-theme-fade * {
1631
1940
  color: var(--success-text);
1632
1941
  font-weight: 600;
1633
1942
  }
1943
+ /* Forced colors (Windows high contrast): backgrounds are replaced, so the track gets an outline and the fill keeps a
1944
+ system colour of its own. */
1945
+ @media (forced-colors: active) {
1946
+ .ui-progress-track {
1947
+ border: 1px solid CanvasText;
1948
+ }
1949
+ .ui-progress-fill,
1950
+ .ui-progress.is-done .ui-progress-fill {
1951
+ forced-color-adjust: none;
1952
+ background: Highlight;
1953
+ }
1954
+ }
1634
1955
  .ui-loading {
1635
1956
  position: relative;
1636
1957
  height: 8px;
@@ -1915,14 +2236,29 @@ html.ui-theme-fade * {
1915
2236
  gap: 10px;
1916
2237
  min-width: 0;
1917
2238
  }
1918
- /* Phones: the project switcher's name gives way before the page title, which keeps its width up to 45 % of the bar
1919
- before it is cut, rather than 「A…」. Wider, the title shrinks as before. */
2239
+ /* The project switcher gives way before the page title: the title keeps its whole width, or 45 % of the bar when it is
2240
+ longer, before it is cut, rather than 「A…」 (browsers without calc-size() shrink both as before). On phones it never
2241
+ takes more than that 45 %. */
2242
+ .ui-topbar-title {
2243
+ min-width: 0;
2244
+ min-width: calc-size(max-content, min(size, 45%));
2245
+ }
1920
2246
  @media (max-width: 599px) {
1921
2247
  .ui-topbar-title {
1922
2248
  flex: 0 0 auto;
1923
2249
  max-width: 45%;
1924
2250
  }
1925
2251
  }
2252
+ /* tags: right after the title, the title's size (a Tag with an icon takes the size of the text beside it). */
2253
+ .ui-topbar-tags {
2254
+ flex: 0 0 auto;
2255
+ display: flex;
2256
+ align-items: center;
2257
+ gap: var(--space-2);
2258
+ margin-left: calc(var(--space-2) - var(--space-4));
2259
+ font-size: var(--text-h4);
2260
+ white-space: nowrap;
2261
+ }
1926
2262
  .ui-search {
1927
2263
  display: inline-flex;
1928
2264
  align-items: center;
@@ -1952,6 +2288,10 @@ html.ui-theme-fade * {
1952
2288
  padding: 0 var(--space-3) 0 var(--space-4);
1953
2289
  gap: var(--space-2);
1954
2290
  }
2291
+ .ui-topbar-tags {
2292
+ margin-left: 0;
2293
+ font-size: inherit;
2294
+ }
1955
2295
  .ui-topbar .ui-search {
1956
2296
  display: none;
1957
2297
  }
@@ -2188,13 +2528,16 @@ html.ui-theme-fade * {
2188
2528
  .ui-nav-collapse:hover {
2189
2529
  background: var(--surface-sub);
2190
2530
  }
2191
- /* Pin and collapse at the bottom left: side by side at 240 px, one above the other at 72 px. */
2531
+ /* Pin and collapse at the bottom left: side by side at 240 px, one above the other at 72 px. Their 22 px icons sit on
2532
+ the same vertical line as the item icons above (10 px item padding + half the icon = 21 px from the list's edge),
2533
+ so the 48 px buttons start 3 px left of the list. */
2192
2534
  .ui-nav-foot {
2193
2535
  flex: 0 0 auto;
2194
2536
  display: flex;
2195
2537
  flex-wrap: wrap;
2196
2538
  gap: 4px;
2197
2539
  margin-top: 8px;
2540
+ margin-left: calc(21px - var(--touch-target) / 2);
2198
2541
  }
2199
2542
  .ui-nav-foot > .ui-nav-collapse {
2200
2543
  margin-top: 0;
@@ -2263,14 +2606,12 @@ html.ui-theme-fade * {
2263
2606
  align-items: center;
2264
2607
  gap: 10px;
2265
2608
  width: 100%;
2266
- height: 36px;
2267
2609
  padding: 0 10px;
2268
2610
  border: 0;
2269
2611
  border-radius: var(--radius-sm);
2270
2612
  background: transparent;
2271
2613
  color: var(--ink);
2272
2614
  font: inherit;
2273
- font-size: var(--text-compact);
2274
2615
  text-align: left;
2275
2616
  white-space: nowrap;
2276
2617
  cursor: pointer;
@@ -2323,6 +2664,50 @@ html.ui-theme-fade * {
2323
2664
  .ui-menu-item {
2324
2665
  box-sizing: border-box;
2325
2666
  }
2667
+ /* PageHeader: title, status and one line of facts on the left; the actions at the right end of the first line. When
2668
+ they do not fit beside at least 8 characters of title, the actions move to a row of their own under it. */
2669
+ .ui-pagehead {
2670
+ display: flex;
2671
+ flex-wrap: wrap;
2672
+ align-items: flex-start;
2673
+ gap: var(--space-3) var(--space-4);
2674
+ }
2675
+ .ui-pagehead-main {
2676
+ flex: 1 1 16em;
2677
+ min-width: min(16em, 100%);
2678
+ display: flex;
2679
+ flex-direction: column;
2680
+ gap: var(--space-1);
2681
+ }
2682
+ .ui-pagehead-title {
2683
+ min-width: 0;
2684
+ margin: 0;
2685
+ font-size: var(--text-h4);
2686
+ line-height: 40px;
2687
+ font-weight: 700;
2688
+ white-space: nowrap;
2689
+ overflow: hidden;
2690
+ text-overflow: ellipsis;
2691
+ }
2692
+ /* The status and the facts on one line, one size: the Badge takes the size of the text beside it. */
2693
+ .ui-pagehead-meta {
2694
+ display: flex;
2695
+ flex-wrap: wrap;
2696
+ align-items: center;
2697
+ gap: var(--space-1) var(--space-4);
2698
+ color: var(--ink-muted);
2699
+ font-size: var(--text-compact);
2700
+ }
2701
+ .ui-pagehead-status {
2702
+ display: inline-flex;
2703
+ }
2704
+ .ui-pagehead-actions {
2705
+ flex: none;
2706
+ margin-left: auto;
2707
+ display: flex;
2708
+ align-items: center;
2709
+ gap: var(--space-2);
2710
+ }
2326
2711
  .ui-pop-count {
2327
2712
  min-width: 20px;
2328
2713
  height: 20px;
@@ -2460,6 +2845,35 @@ html.ui-theme-fade * {
2460
2845
  font-size: var(--text-h4);
2461
2846
  line-height: inherit;
2462
2847
  }
2848
+ .ui-drawer-heading {
2849
+ min-width: 0;
2850
+ }
2851
+ .ui-drawer-desc {
2852
+ margin: var(--space-1) 0 0;
2853
+ font-size: var(--text-compact);
2854
+ color: var(--ink-muted);
2855
+ }
2856
+ /* Unsaved changes: the question takes the footer's place, in the drawer, with 繼續編輯 and 放棄 under it. */
2857
+ .ui-drawer-foot.is-asking {
2858
+ flex-direction: column;
2859
+ align-items: stretch;
2860
+ gap: var(--space-3);
2861
+ }
2862
+ .ui-drawer-ask-title {
2863
+ font-size: var(--text-control);
2864
+ font-weight: 700;
2865
+ color: var(--ink);
2866
+ }
2867
+ .ui-drawer-ask-text {
2868
+ margin-top: var(--space-1);
2869
+ font-size: var(--text-compact);
2870
+ color: var(--ink);
2871
+ }
2872
+ .ui-drawer-ask-actions {
2873
+ display: flex;
2874
+ justify-content: flex-end;
2875
+ gap: var(--space-2);
2876
+ }
2463
2877
  .ui-themepick {
2464
2878
  display: grid;
2465
2879
  grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -2571,21 +2985,15 @@ html.ui-theme-fade * {
2571
2985
  width: 130px;
2572
2986
  font-family: var(--font-mono);
2573
2987
  }
2574
- .ui-link {
2575
- color: var(--accent-text);
2576
- font-weight: 600;
2577
- text-decoration: none;
2578
- }
2579
- .ui-link:hover {
2580
- text-decoration: underline;
2581
- }
2988
+ /* The page is the plain page ground (bg) and the card sits on it as a raised surface, in light and dark alike. */
2582
2989
  .ui-loginpage {
2583
- min-height: 100%;
2990
+ min-height: 100dvh;
2991
+ box-sizing: border-box;
2584
2992
  display: flex;
2585
2993
  align-items: center;
2586
2994
  justify-content: center;
2587
2995
  padding: var(--space-6);
2588
- background: var(--surface-sub);
2996
+ background: var(--bg);
2589
2997
  }
2590
2998
  .ui-logincard {
2591
2999
  width: 360px;
@@ -2593,6 +3001,7 @@ html.ui-theme-fade * {
2593
3001
  box-sizing: border-box;
2594
3002
  padding: 28px;
2595
3003
  border-radius: var(--radius-lg);
3004
+ border: 1px solid var(--line);
2596
3005
  background: var(--surface);
2597
3006
  box-shadow: var(--shadow-card);
2598
3007
  display: flex;
@@ -2605,6 +3014,15 @@ html.ui-theme-fade * {
2605
3014
  gap: 10px;
2606
3015
  font-weight: 700;
2607
3016
  }
3017
+ .ui-login-logo {
3018
+ display: inline-flex;
3019
+ flex: none;
3020
+ height: 32px;
3021
+ }
3022
+ .ui-login-logo > :is(svg, img) {
3023
+ height: 32px;
3024
+ width: auto;
3025
+ }
2608
3026
  .ui-login-title {
2609
3027
  margin: 0;
2610
3028
  font-size: var(--text-h3);
@@ -2628,7 +3046,7 @@ html.ui-theme-fade * {
2628
3046
  width: 100%;
2629
3047
  justify-content: center;
2630
3048
  }
2631
- .ui-login-pwlabel .ui-link {
3049
+ .ui-login-forgot {
2632
3050
  font-size: var(--text-compact);
2633
3051
  }
2634
3052
  .ui-bell {
@@ -3058,15 +3476,21 @@ html.ui-theme-fade * {
3058
3476
  .ui-dt-tools {
3059
3477
  flex-wrap: wrap;
3060
3478
  }
3061
- .ui-dt-tools > .ui-dt-search,
3479
+ /* The search field takes the room the buttons leave; when both do not fit, the buttons go to the next row,
3480
+ right-aligned, and the field fills its row. */
3481
+ .ui-dt-tools > .ui-dt-search {
3482
+ flex: 1 1 240px;
3483
+ min-width: 200px;
3484
+ }
3062
3485
  .ui-dt-tools > .ui-dt-search + .ui-dt-actions {
3063
- flex: 1 1 100%;
3064
- min-width: 0;
3486
+ flex: none;
3487
+ max-width: 100%;
3488
+ margin-left: auto;
3065
3489
  }
3066
3490
  }
3067
- /* Under 480 px: 「排序」 and the number of levels instead of the whole sort. With copy, columns and zoom as well (not
3068
- on phones, which hide them), 「篩選」「排序」「欄位」 keep only their icons and counts; the words stay in the
3069
- accessible names. The buttons wrap only when even that does not fit. */
3491
+ /* Under 480 px: the search field and the buttons back on one row, the field taking the room left. 「排序」 and the
3492
+ number of levels instead of the whole sort; 「篩選」「排序」 keep only their icons and counts, the words stay in the
3493
+ accessible names. */
3070
3494
  @container ui-dt (max-width: 479px) {
3071
3495
  .ui-dt-sortbtn-text {
3072
3496
  display: none;
@@ -3077,7 +3501,23 @@ html.ui-theme-fade * {
3077
3501
  .ui-dt-actions > .ui-dt-sortbtn {
3078
3502
  min-width: 0;
3079
3503
  }
3080
- .ui-dt-actions:has(> .ui-dt-menubtn) .ui-dt-btntext {
3504
+ /* One row: the search field takes the room left, the buttons keep to their icons. */
3505
+ .ui-dt-tools {
3506
+ flex-wrap: nowrap;
3507
+ }
3508
+ .ui-dt-tools > .ui-dt-search {
3509
+ flex: 1 1 0;
3510
+ min-width: 100px;
3511
+ }
3512
+ /* The summary tabs keep a row of their own above. */
3513
+ .ui-dt-tools.has-summary {
3514
+ flex-wrap: wrap;
3515
+ }
3516
+ .ui-dt-tools > .ui-dt-search + .ui-dt-actions {
3517
+ flex: none;
3518
+ flex-wrap: nowrap;
3519
+ }
3520
+ .ui-dt-actions .ui-dt-btntext {
3081
3521
  position: absolute;
3082
3522
  width: 1px;
3083
3523
  height: 1px;
@@ -3085,18 +3525,56 @@ html.ui-theme-fade * {
3085
3525
  clip: rect(0 0 0 0);
3086
3526
  white-space: nowrap;
3087
3527
  }
3088
- .ui-dt-actions:has(> .ui-dt-menubtn) :is(.ui-dt-filterbtn, .ui-dt-sortbtn) {
3528
+ .ui-dt-actions :is(.ui-dt-filterbtn, .ui-dt-sortbtn) {
3089
3529
  padding-inline: 10px;
3090
3530
  }
3091
3531
  .ui-dt-actions {
3092
3532
  flex-wrap: wrap;
3093
3533
  }
3094
3534
  }
3095
- /* Phones, also for tools that moved into a Card title row (outside the table, so not reached by the container). */
3535
+ /* With summary tabs: the tabs first. A row of their own (scrolling sideways when they are wider) unless the tabs, the
3536
+ search field at 240 px and the buttons all fit on one row (DataTable measures it: is-onerow). Every part is 40 px. */
3537
+ .ui-dt-tools.has-summary {
3538
+ flex-wrap: wrap;
3539
+ row-gap: var(--space-3);
3540
+ }
3541
+ .ui-dt-sumwrap {
3542
+ flex: 1 1 100%;
3543
+ min-width: 0;
3544
+ display: flex;
3545
+ }
3546
+ .ui-dt-tools.is-onerow {
3547
+ flex-wrap: nowrap;
3548
+ }
3549
+ .ui-dt-tools.is-onerow > .ui-dt-sumwrap {
3550
+ /* Measured to fit: the tabs keep their width, the search field gives way down to 240 px. */
3551
+ flex: none;
3552
+ margin-right: var(--space-2);
3553
+ }
3554
+ .ui-dt-tools.is-onerow > .ui-dt-search {
3555
+ flex: 1 1 320px;
3556
+ min-width: 240px;
3557
+ max-width: 400px;
3558
+ margin-left: auto;
3559
+ }
3560
+ .ui-dt-tools.is-onerow > .ui-dt-actions {
3561
+ flex: none;
3562
+ }
3563
+ .ui-dt-summary .ui-tab {
3564
+ min-width: 0;
3565
+ height: 32px;
3566
+ padding: 0 var(--space-3);
3567
+ }
3568
+ /* Phones, also for tools that moved into a Card title row (outside the table, so not reached by the container). The
3569
+ buttons are as tall as the 48 px search field beside them. */
3096
3570
  @media (max-width: 599px) {
3097
3571
  .ui-dt-sortbtn-text {
3098
3572
  display: none;
3099
3573
  }
3574
+ .ui-dt-tools:has(> .ui-dt-search) > .ui-dt-actions > :is(.ui-dt-filterbtn, .ui-dt-sortbtn),
3575
+ .ui-dt-tools:has(> .ui-dt-search) > .ui-dt-actions > .ui-dt-primary > * {
3576
+ height: var(--touch-target);
3577
+ }
3100
3578
  .ui-dt-sortbtn-short {
3101
3579
  display: inline-flex;
3102
3580
  }
@@ -3142,14 +3620,16 @@ html.ui-theme-fade * {
3142
3620
  min-width: min-content;
3143
3621
  }
3144
3622
  .ui-dt-row {
3623
+ /* The row's ground in one variable, so the row actions drawn over its end (.ui-dt-acts) take the same color. */
3624
+ --dt-row-bg: var(--surface);
3145
3625
  display: grid;
3146
3626
  align-items: center;
3147
3627
  min-height: 48px;
3148
3628
  border-bottom: 1px solid var(--line);
3149
- background: var(--surface);
3629
+ background: var(--dt-row-bg);
3150
3630
  }
3151
3631
  .ui-dt-body .ui-dt-row.is-even {
3152
- background: var(--dt-zebra);
3632
+ --dt-row-bg: var(--dt-zebra);
3153
3633
  }
3154
3634
  .ui-dt-body {
3155
3635
  position: relative;
@@ -3158,7 +3638,7 @@ html.ui-theme-fade * {
3158
3638
  transition: background-color 0.12s ease;
3159
3639
  }
3160
3640
  .ui-dt-body .ui-dt-row:hover {
3161
- background: var(--dt-hover);
3641
+ --dt-row-bg: var(--dt-hover);
3162
3642
  }
3163
3643
  /* EC: rows with details or a page (rowHref) are clickable as a whole; the hover above already shows it. */
3164
3644
  .ui-dt-body .ui-dt-row:is(.has-exp, .has-href) {
@@ -3175,7 +3655,7 @@ html.ui-theme-fade * {
3175
3655
  .ui-dt-body .ui-dt-row.is-selected,
3176
3656
  .ui-dt-body .ui-dt-row.is-selected:hover {
3177
3657
  --dt-mark: inset 3px 0 0 var(--accent);
3178
- background: var(--accent-soft);
3658
+ --dt-row-bg: var(--accent-soft);
3179
3659
  }
3180
3660
  .ui-dt-body .ui-dt-row > .ui-dt-cell:first-child {
3181
3661
  box-shadow: var(--dt-mark);
@@ -3254,11 +3734,36 @@ html.ui-theme-fade * {
3254
3734
  border-right: 1px solid var(--line);
3255
3735
  overflow: hidden;
3256
3736
  }
3257
- .ui-dt-cell:last-child {
3737
+ .ui-dt-cell:last-child,
3738
+ .ui-dt-cell.is-lastcol {
3258
3739
  border-right: 0;
3259
3740
  }
3741
+ /* mono: IDs, codes and paths in Geist Mono with figures of one width, the row link too. */
3742
+ .ui-dt-cell.is-mono {
3743
+ font-family: var(--font-mono);
3744
+ font-variant-numeric: tabular-nums;
3745
+ }
3746
+ .ui-dt-cell.is-mono .ui-dt-rowlink {
3747
+ font-weight: 500;
3748
+ }
3749
+ /* Measures the text's size for the column widths (DataTable's measuring effect): never seen. */
3750
+ .ui-dt-probe {
3751
+ position: absolute;
3752
+ visibility: hidden;
3753
+ pointer-events: none;
3754
+ white-space: nowrap;
3755
+ }
3756
+ .ui-dt-probe::before {
3757
+ content: '0,000,000 字';
3758
+ }
3759
+ /* An empty cell's 「—」: muted, so it does not read as content. */
3760
+ .ui-dt-none {
3761
+ color: var(--ink-muted);
3762
+ }
3260
3763
  .ui-dt-cell.is-num {
3261
- justify-content: flex-end;
3764
+ /* safe: a number wider than its cell (text spacing added before the column is measured again) is cut at its end,
3765
+ never at its first digits. */
3766
+ justify-content: safe flex-end;
3262
3767
  text-align: right;
3263
3768
  font-family: var(--font-mono);
3264
3769
  font-variant-numeric: tabular-nums;
@@ -3280,19 +3785,33 @@ html.ui-theme-fade * {
3280
3785
  .ui-dt-head .ui-dt-cell {
3281
3786
  font-family: var(--font-sans);
3282
3787
  }
3283
- /* A2: the right border of each heading drags (internal/tableTools ColResize, shared with Markdown tables). */
3788
+ /* A2: the right border of each heading drags (internal/tableTools ColResize, shared with Markdown tables). Its hit
3789
+ area is 24 px wide (WCAG 2.5.8), centred on the border: 12 px over this heading's padding and 12 px over the next
3790
+ one's, so it never covers a sort button (which has no padding of its own here). The heading lets it reach past its
3791
+ edge; the sort button cuts a heading that does not fit instead. */
3792
+ .ui-dt-head .ui-dt-cell {
3793
+ overflow: visible;
3794
+ }
3284
3795
  .ui-dt-head .ui-dt-cell:not(.is-sticky) {
3285
3796
  position: relative;
3286
3797
  }
3287
3798
  .ui-dt-head .ui-col-resize {
3799
+ right: -12px;
3800
+ width: 24px;
3801
+ }
3802
+ /* The last heading has no neighbour: its border is the table's edge, so the 24 px stay inside, over its padding. */
3803
+ .ui-dt-head .ui-dt-cell.is-lastcol .ui-col-resize {
3288
3804
  right: 0;
3289
- width: 8px;
3290
3805
  }
3291
- .ui-dt-head .ui-col-resize::after {
3806
+ .ui-dt-head .ui-dt-cell.is-lastcol .ui-col-resize::after {
3292
3807
  left: auto;
3293
- right: -1px;
3808
+ right: 0;
3294
3809
  transform: none;
3295
3810
  }
3811
+ /* The last column keeps 24 px free at its end for that border (unless the row actions' room is already there). */
3812
+ .ui-dt:not(.has-acts) .ui-dt-row > .ui-dt-cell.is-lastcol {
3813
+ padding-right: 24px;
3814
+ }
3296
3815
  /* B2: 「放大表格」 above the table's top right, as on Markdown tables. */
3297
3816
  .ui-dt-scroll.is-paged {
3298
3817
  max-height: none;
@@ -3306,8 +3825,9 @@ html.ui-theme-fade * {
3306
3825
  align-items: center;
3307
3826
  gap: 4px;
3308
3827
  min-height: 32px;
3309
- margin: 0 -4px;
3310
- padding: 0 4px;
3828
+ max-width: 100%;
3829
+ min-width: 0;
3830
+ padding: 0;
3311
3831
  border: 0;
3312
3832
  border-radius: var(--radius-sm);
3313
3833
  background: transparent;
@@ -3319,6 +3839,11 @@ html.ui-theme-fade * {
3319
3839
  .ui-dt-cell.is-num .ui-dt-sort {
3320
3840
  flex-direction: row-reverse;
3321
3841
  }
3842
+ .ui-dt-sort > span:first-child {
3843
+ min-width: 0;
3844
+ overflow: hidden;
3845
+ text-overflow: ellipsis;
3846
+ }
3322
3847
  .ui-dt-arrow {
3323
3848
  opacity: 0;
3324
3849
  color: var(--ink-muted);
@@ -3334,6 +3859,10 @@ html.ui-theme-fade * {
3334
3859
  .ui-dt-sort.is-on {
3335
3860
  color: var(--accent-text);
3336
3861
  }
3862
+ /* The sort button has no padding (the column border's hit area sits right beside it): its ring goes outside. */
3863
+ .ui-dt-head .ui-dt-sort:focus-visible {
3864
+ outline-offset: 2px;
3865
+ }
3337
3866
  .ui-dt-sort.is-on .ui-dt-arrow {
3338
3867
  opacity: 1;
3339
3868
  }
@@ -3341,58 +3870,101 @@ html.ui-theme-fade * {
3341
3870
  padding: 0;
3342
3871
  cursor: pointer;
3343
3872
  }
3344
- .ui-dt-sel > *,
3345
- .ui-dt-acts > * {
3346
- transition: opacity 0.12s ease;
3873
+ /* The checkbox column: 40 px, no border of its own (it belongs to the row, like the caret). The header's checkbox is
3874
+ always shown, so the column reads as a column of checkboxes; a row's shows when the row is hovered or has keyboard
3875
+ focus, and on every row once one is selected. */
3876
+ .ui-dt-cell.ui-dt-sel,
3877
+ .ui-dt-cell.ui-dt-exp {
3878
+ padding: 0;
3879
+ justify-content: center;
3880
+ border-right: 0;
3347
3881
  }
3348
- .ui-dt-sel > * {
3882
+ .ui-dt-body .ui-dt-sel > * {
3349
3883
  opacity: 0;
3884
+ transition: opacity 0.12s ease;
3350
3885
  }
3351
3886
  .ui-dt-row:hover .ui-dt-sel > *,
3352
3887
  .ui-dt-row:focus-within .ui-dt-sel > *,
3353
3888
  .ui-dt.has-sel .ui-dt-sel > * {
3354
3889
  opacity: 1;
3355
3890
  }
3356
- .ui-dt-acts {
3891
+ /* Row actions take no column: they are drawn over the row's right end while the row is hovered or has keyboard focus,
3892
+ on the row's own ground (zebra, hover, selected) with a short fade, so the text under them is covered cleanly. */
3893
+ .ui-dt-row.has-acts {
3894
+ position: relative;
3895
+ }
3896
+ .ui-dt-body .ui-dt-cell.ui-dt-acts {
3897
+ position: absolute;
3898
+ top: 0;
3899
+ right: 0;
3900
+ bottom: 0;
3357
3901
  justify-content: flex-end;
3358
3902
  gap: 2px;
3359
- padding: 0 8px;
3360
- }
3361
- .ui-dt-acts > * {
3903
+ padding: 0 var(--space-2) 0 var(--space-6);
3904
+ border-right: 0;
3905
+ background: linear-gradient(to right, transparent, var(--dt-row-bg) var(--space-6));
3362
3906
  opacity: 0;
3907
+ transition: opacity 0.12s ease;
3908
+ }
3909
+ .ui-dt-row:hover > .ui-dt-acts,
3910
+ .ui-dt-row:focus-within > .ui-dt-acts {
3911
+ opacity: 1;
3912
+ }
3913
+ /* IconButtons in a row are quiet whatever their variant: 32 px, no border, ink-muted until hovered. */
3914
+ .ui-dt-acts .ui-iconbtn {
3915
+ width: 32px;
3916
+ height: 32px;
3917
+ border: 0;
3918
+ border-radius: var(--radius-sm);
3919
+ color: var(--ink-muted);
3363
3920
  }
3364
- .ui-dt-row:hover .ui-dt-acts > *,
3365
- .ui-dt-row:focus-within .ui-dt-acts > * {
3366
- opacity: 1;
3921
+ .ui-dt-acts .ui-iconbtn:hover {
3922
+ color: var(--ink);
3923
+ background: color-mix(in srgb, var(--dt-row-bg), var(--ink) 8%);
3367
3924
  }
3925
+ /* Touch screens have no hover: the actions always show, and every row keeps their width free at its end. */
3368
3926
  @media (hover: none) {
3369
3927
  .ui-dt-sel > *,
3370
- .ui-dt-acts > *,
3928
+ .ui-dt-body .ui-dt-sel > *,
3371
3929
  .ui-dt-arrow {
3372
3930
  opacity: 1;
3373
3931
  }
3932
+ .ui-dt-body .ui-dt-cell.ui-dt-acts {
3933
+ opacity: 1;
3934
+ }
3935
+ }
3936
+ /* The last cell keeps the row actions' width (--dt-acts-w, measured) free at its end, in the header, the rows and the
3937
+ totals alike: the actions never cover a date or a number, and no empty column is drawn for them. */
3938
+ .ui-dt.has-acts .ui-dt-row > .ui-dt-cell.is-lastcol {
3939
+ padding-right: calc(12px + var(--dt-acts-w, 72px));
3374
3940
  }
3941
+ /* While rows are selected: a toolbar above the table (the header row stays), on accent-soft. */
3375
3942
  .ui-dt-bulk {
3376
3943
  display: flex;
3377
- gap: 12px;
3378
- padding-right: 8px;
3944
+ align-items: center;
3945
+ gap: var(--space-3);
3946
+ min-height: var(--control-height);
3947
+ padding: var(--space-1) var(--space-2) var(--space-1) var(--space-4);
3948
+ border-radius: var(--radius-md);
3379
3949
  background: var(--accent-soft);
3380
3950
  color: var(--accent-text);
3381
3951
  }
3382
- .ui-dt-bulk .ui-dt-cell {
3383
- border-right: 0;
3384
- }
3385
3952
  .ui-dt-bulk-count {
3386
3953
  font-size: var(--text-compact);
3954
+ font-weight: 600;
3955
+ white-space: nowrap;
3387
3956
  }
3388
3957
  .ui-dt-bulk-actions {
3389
3958
  margin-left: auto;
3390
3959
  display: flex;
3960
+ flex-wrap: wrap;
3961
+ justify-content: flex-end;
3391
3962
  gap: 8px;
3392
3963
  }
3393
3964
  .ui-dt-bulk-close {
3394
- width: 32px;
3395
- height: 32px;
3965
+ flex: none;
3966
+ width: var(--control-height);
3967
+ height: var(--control-height);
3396
3968
  border: 0;
3397
3969
  border-radius: var(--radius-sm);
3398
3970
  background: transparent;
@@ -3435,19 +4007,39 @@ html.ui-theme-fade * {
3435
4007
  font-weight: 600;
3436
4008
  cursor: pointer;
3437
4009
  }
4010
+ /* The current page: quiet, accent text on accent-soft (not a solid fill that reads as a second primary button). */
3438
4011
  .ui-dt-page.is-on {
3439
- background: var(--accent);
4012
+ background: var(--accent-soft);
3440
4013
  border-color: var(--accent);
3441
- color: var(--on-accent);
4014
+ color: var(--accent-text);
4015
+ }
4016
+ .ui-dt-page:not(:disabled):not(.is-on):hover {
4017
+ background: var(--surface-sub);
3442
4018
  }
4019
+ /* No previous or next page: no border and muted, still 4.5:1 for the arrow (not a faded button under 3:1). */
3443
4020
  .ui-dt-page:disabled {
3444
- opacity: 0.4;
4021
+ border-color: transparent;
4022
+ background: transparent;
4023
+ color: var(--ink-muted);
3445
4024
  cursor: default;
3446
4025
  }
3447
4026
 
4027
+ /* The summary tabs and the page's primary action (action) on one row, the action at its right end. */
4028
+ .ui-dt-top {
4029
+ display: flex;
4030
+ align-items: center;
4031
+ gap: var(--space-3);
4032
+ min-width: 0;
4033
+ }
4034
+ .ui-dt-primary {
4035
+ flex: none;
4036
+ margin-left: auto;
4037
+ display: flex;
4038
+ align-items: center;
4039
+ }
3448
4040
  .ui-dt-summary {
3449
- margin-bottom: var(--space-3);
3450
- align-self: flex-start;
4041
+ flex: 0 1 auto;
4042
+ min-width: 0;
3451
4043
  /* Wider than the table (phones): the row scrolls sideways, the edge with more tabs fades (Tabs), and it comes to rest
3452
4044
  on a whole tab rather than in the middle of a word. */
3453
4045
  scroll-snap-type: x mandatory;
@@ -3545,13 +4137,16 @@ html.ui-theme-fade * {
3545
4137
  width: auto;
3546
4138
  min-width: 0;
3547
4139
  }
3548
- .ui-dt-head:not(.ui-dt-bulk) {
3549
- display: none;
4140
+ /* In a Card the cards' box is the Card itself: no second shadow, a line between the toolbar and the first row. */
4141
+ .ui-card .ui-dt-scroll {
4142
+ box-shadow: none;
4143
+ border-radius: 0;
3550
4144
  }
3551
- .ui-dt-bulk {
3552
- position: static;
3553
- border: 0;
3554
- border-radius: var(--radius-lg) var(--radius-lg) 0 0;
4145
+ .ui-card.is-flush > .ui-dt > .ui-dt-scroller > .ui-dt-scroll {
4146
+ border-top: 1px solid var(--line);
4147
+ }
4148
+ .ui-dt-head {
4149
+ display: none;
3555
4150
  }
3556
4151
  .ui-dt-body .ui-dt-row {
3557
4152
  display: grid;
@@ -3593,17 +4188,38 @@ html.ui-theme-fade * {
3593
4188
  and break mid-word (「ucp_worker_progre / ss」). */
3594
4189
  overflow-wrap: break-word;
3595
4190
  }
3596
- .ui-dt-body .ui-dt-cell[data-label]::before {
4191
+ /* Each field on one line: its name (small, muted) in the left 40 %, the value in the rest, wrapping there. A name
4192
+ too long for its 40 % is cut with …; the value never moves under it. */
4193
+ .ui-dt-body .ui-dt-cell[data-label]:not(.is-m-title, .is-m-status) {
4194
+ position: relative;
4195
+ min-height: 20px;
4196
+ margin-top: var(--space-1);
4197
+ padding-left: calc(40% + var(--space-3));
4198
+ }
4199
+ /* The value has 60 % of the card: a long date (「2026/11/13(五) 05:00」) wraps there instead of running out. */
4200
+ .ui-dt-body .ui-dt-cell .ui-dt-time,
4201
+ .ui-dt-body .ui-dt-cell.is-num {
4202
+ white-space: normal;
4203
+ }
4204
+ .ui-dt-body .ui-dt-cell[data-label]:not(.is-m-title, .is-m-status)::before {
3597
4205
  content: attr(data-label);
3598
- display: block;
3599
- margin-bottom: 0;
4206
+ position: absolute;
4207
+ top: 0;
4208
+ left: 0;
4209
+ width: 40%;
4210
+ overflow: hidden;
4211
+ text-overflow: ellipsis;
3600
4212
  color: var(--ink-muted);
3601
4213
  font-family: var(--font-sans);
3602
- font-size: var(--text-mini);
3603
- line-height: 18px;
4214
+ font-size: var(--text-small);
4215
+ line-height: inherit;
3604
4216
  font-weight: 400;
3605
4217
  white-space: nowrap;
3606
4218
  }
4219
+ .ui-dt .ui-dt-body .ui-dt-row > .ui-dt-cell.is-lastcol,
4220
+ .ui-dt .ui-dt-total > .ui-dt-cell.is-lastcol {
4221
+ padding-right: 0;
4222
+ }
3607
4223
  .ui-dt-body .ui-dt-cell.ui-dt-sel {
3608
4224
  grid-column: 1;
3609
4225
  grid-row: 1;
@@ -3631,17 +4247,31 @@ html.ui-theme-fade * {
3631
4247
  .ui-dt-body .ui-dt-cell.is-m-hide {
3632
4248
  display: none;
3633
4249
  }
4250
+ /* Phone cards: the actions on a line of their own at the card's end, right-aligned and always shown, so the status
4251
+ at the title row's end lines up on every card whether or not it has actions. The 32 px quiet buttons (48 px touch
4252
+ area) pull into the card's padding. */
3634
4253
  .ui-dt-body .ui-dt-cell.ui-dt-acts {
3635
- grid-column: 4;
3636
- grid-row: 1;
4254
+ position: static;
4255
+ grid-column: 1 / -1;
4256
+ grid-row: auto;
3637
4257
  display: flex;
3638
4258
  justify-content: flex-end;
3639
4259
  align-items: center;
3640
4260
  gap: 4px;
3641
- margin: 0 0 0 var(--space-2);
4261
+ width: auto;
4262
+ margin: 0 -8px -6px 0;
4263
+ padding: 0;
4264
+ background: none;
4265
+ opacity: 1;
4266
+ }
4267
+ .ui-dt-body .ui-dt-cell.ui-dt-acts:empty {
4268
+ display: none;
4269
+ }
4270
+ .ui-dt.has-acts .ui-dt-row > .ui-dt-cell.is-lastcol {
4271
+ padding-right: 0;
3642
4272
  }
3643
4273
  .ui-dt-sel > *,
3644
- .ui-dt-acts > * {
4274
+ .ui-dt-body .ui-dt-sel > * {
3645
4275
  opacity: 1;
3646
4276
  }
3647
4277
  .ui-dt-body .ui-dt-cell.is-long > .ui-dt-long {
@@ -3651,9 +4281,9 @@ html.ui-theme-fade * {
3651
4281
  /* Equal widths while every tab fits; else each keeps its text whole and the row scrolls. */
3652
4282
  .ui-dt-summary {
3653
4283
  display: grid;
4284
+ flex: 1 1 auto;
3654
4285
  grid-auto-flow: column;
3655
4286
  grid-auto-columns: minmax(max-content, 1fr);
3656
- align-self: stretch;
3657
4287
  }
3658
4288
  }
3659
4289
  @media (max-width: 599px) {
@@ -3721,9 +4351,9 @@ html.ui-theme-fade * {
3721
4351
  background: var(--accent);
3722
4352
  }
3723
4353
  .ui-dt-view-n {
3724
- margin-left: 6px;
3725
- font-family: var(--font-mono);
3726
- font-size: var(--text-mini);
4354
+ margin-left: 2px;
4355
+ font-family: var(--font-sans);
4356
+ font-variant-numeric: tabular-nums;
3727
4357
  color: var(--ink-muted);
3728
4358
  font-weight: 400;
3729
4359
  }
@@ -3760,7 +4390,7 @@ html.ui-theme-fade * {
3760
4390
  white-space: nowrap;
3761
4391
  }
3762
4392
  .ui-dt-sortpop {
3763
- width: 400px;
4393
+ width: 480px;
3764
4394
  max-width: min(calc(100vw - 16px), var(--available-width, 100vw));
3765
4395
  padding: 16px;
3766
4396
  box-sizing: border-box;
@@ -3853,6 +4483,11 @@ html.ui-theme-fade * {
3853
4483
  color: var(--accent-text);
3854
4484
  font-weight: 600;
3855
4485
  }
4486
+ /* 上移 and 下移: quiet 32 px IconButtons, the single-pointer way to reorder levels. */
4487
+ .ui-dt-sortmove {
4488
+ flex: none;
4489
+ display: inline-flex;
4490
+ }
3856
4491
  .ui-dt-sortnone {
3857
4492
  margin: 0;
3858
4493
  font-size: var(--text-small);
@@ -3957,6 +4592,12 @@ html.ui-theme-fade * {
3957
4592
  min-width: 0;
3958
4593
  font-family: var(--font-mono);
3959
4594
  }
4595
+ /* Touch screens: the from and to fields are full 48 px targets. */
4596
+ @media (pointer: coarse) {
4597
+ .ui-dt-range-inputs .ui-input {
4598
+ height: var(--touch-target);
4599
+ }
4600
+ }
3960
4601
  .ui-mark {
3961
4602
  background: var(--mark);
3962
4603
  color: inherit;
@@ -4048,18 +4689,28 @@ html.ui-theme-fade * {
4048
4689
  .ui-card.is-flush > .ui-dt:first-child {
4049
4690
  padding-top: var(--space-4);
4050
4691
  }
4051
- .ui-card.is-flush > .ui-dt > :not(.ui-dt-scroller, .ui-dt-summary) {
4692
+ .ui-card.is-flush > .ui-dt > :not(.ui-dt-scroller) {
4052
4693
  padding-inline: var(--space-4);
4053
4694
  }
4054
- /* The summary tabs draw their own track: kept off the card's edges by a margin, not padded inside the track. */
4055
- .ui-card.is-flush > .ui-dt > .ui-dt-summary {
4056
- margin-inline: var(--space-4);
4057
- max-width: calc(100% - 2 * var(--space-4));
4695
+ /* Nothing under the table (no page numbers, no scroll hint): the last row ends at the card's edge, without an empty
4696
+ band and a second line under it. */
4697
+ .ui-card.is-flush > .ui-dt:not(:has(> .ui-dt-foot, > .ui-scroll-hint)) {
4698
+ padding-bottom: 0;
4699
+ }
4700
+ .ui-card.is-flush > .ui-dt:not(:has(> .ui-dt-foot, > .ui-scroll-hint)) > .ui-dt-scroller > .ui-dt-scroll {
4701
+ border-bottom: 0;
4058
4702
  }
4059
4703
  .ui-card.is-flush > .ui-dt .ui-dt-scroll {
4060
4704
  border-inline: 0;
4061
4705
  border-radius: 0;
4062
4706
  }
4707
+ /* In a padless Card the first column's text starts at the Card's content edge (the Card padding, 16 px), the same
4708
+ left edge as the toolbar above and the KPI cards and Cards around it. */
4709
+ @media (min-width: 600px) {
4710
+ .ui-card.is-flush > .ui-dt .ui-dt-row > .ui-dt-cell:first-child:not(.ui-dt-sel, .ui-dt-exp) {
4711
+ padding-left: var(--space-4);
4712
+ }
4713
+ }
4063
4714
  .ui-topbar-end > .ui-projsw,
4064
4715
  .ui-projsw-text {
4065
4716
  min-width: 0;
@@ -4093,43 +4744,44 @@ html.ui-theme-fade * {
4093
4744
  cursor: default;
4094
4745
  opacity: 1;
4095
4746
  }
4096
- /* PA: the dot's shape tells the status too, not only its colour (phones show the dot alone): live a filled dot,
4097
- stale a ring, offline a ring with a slash. */
4098
- .ui-projsw-dot {
4099
- flex: 0 0 10px;
4100
- width: 10px;
4101
- height: 10px;
4102
- box-sizing: border-box;
4103
- border-radius: var(--radius-full);
4104
- background: var(--success-text);
4105
- }
4106
- .ui-projsw.is-stale .ui-projsw-dot {
4107
- background: transparent;
4108
- border: 2px solid var(--warning-text);
4747
+ /* The status is a Badge's mark (its shape tells the status too: live a filled circle, stale a ring with !, offline a
4748
+ ring with a slash); its words are the part after the name. */
4749
+ .ui-projsw-mark {
4750
+ flex: none;
4751
+ display: inline-flex;
4109
4752
  }
4110
- .ui-projsw.is-offline .ui-projsw-dot {
4111
- background: linear-gradient(135deg, transparent 42%, var(--ink-muted) 42% 58%, transparent 58%);
4112
- border: 2px solid var(--ink-muted);
4753
+ .ui-projsw-badge .ui-badge-text {
4754
+ display: none;
4113
4755
  }
4756
+ /* Name and status on one line of a one-line box: when both do not fit, the status wraps to a second line that is
4757
+ cut off, so it goes away whole (never 「web-a… ..」); then the name alone is cut with one 「…」. */
4114
4758
  .ui-projsw-text {
4115
4759
  display: flex;
4760
+ flex-wrap: wrap;
4116
4761
  min-width: 0;
4762
+ height: 20px;
4763
+ line-height: 20px;
4764
+ overflow: hidden;
4117
4765
  white-space: nowrap;
4118
4766
  }
4119
- /* The name keeps its room; the status gives way first, then the name is cut with 「…」. */
4120
4767
  .ui-projsw-name {
4121
4768
  flex: 0 1 auto;
4122
- min-width: 3em;
4769
+ min-width: 0;
4123
4770
  overflow: hidden;
4124
4771
  text-overflow: ellipsis;
4125
4772
  }
4773
+ /* pre: the status starts with 「 · 」, and a flex item drops its leading space otherwise (「web· production」). */
4126
4774
  .ui-projsw-status {
4127
- flex: 0 1000 auto;
4128
- min-width: 0;
4129
- overflow: hidden;
4130
- text-overflow: ellipsis;
4775
+ flex: none;
4776
+ white-space: pre;
4777
+ color: var(--ink-muted);
4778
+ font-weight: 400;
4779
+ }
4780
+ .ui-projsw.is-stale .ui-projsw-status {
4781
+ color: var(--warning-text);
4782
+ font-weight: 600;
4131
4783
  }
4132
- /* Phones: the dot shows the status; the words are in title and the name read out. */
4784
+ /* Phones: the mark shows the status; the words are in title and the name read out. */
4133
4785
  @media (max-width: 599px) {
4134
4786
  .ui-projsw-status {
4135
4787
  display: none;
@@ -4214,12 +4866,30 @@ html.ui-theme-fade * {
4214
4866
  padding: 0 var(--space-3);
4215
4867
  font: inherit;
4216
4868
  font-family: var(--font-mono);
4217
- font-size: var(--text-compact);
4869
+ font-size: var(--text-control);
4218
4870
  text-align: left;
4219
4871
  cursor: pointer;
4220
4872
  }
4221
- .ui-rangefield .ui-icon {
4873
+ /* The text first, the calendar icon at the right end: the same side as DatePicker's button and Select's chevron. */
4874
+ .ui-rangefield-value {
4875
+ flex: 1 1 auto;
4876
+ min-width: 0;
4877
+ overflow: hidden;
4878
+ text-overflow: ellipsis;
4879
+ white-space: nowrap;
4880
+ }
4881
+ .ui-rangefield-value.is-placeholder {
4882
+ font-family: var(--font-sans);
4883
+ color: var(--ink-muted);
4884
+ }
4885
+ .ui-rangefield .ui-rangefield-icon {
4886
+ flex: none;
4887
+ color: var(--ink-muted);
4888
+ }
4889
+ .ui-rangefield:disabled {
4890
+ background: var(--surface-sub);
4222
4891
  color: var(--ink-muted);
4892
+ cursor: not-allowed;
4223
4893
  }
4224
4894
  .ui-rangepop {
4225
4895
  display: flex;
@@ -4249,6 +4919,9 @@ html.ui-theme-fade * {
4249
4919
  .ui-quick-btn:hover {
4250
4920
  background: var(--surface-sub);
4251
4921
  }
4922
+ .ui-quick-btn.is-muted {
4923
+ color: var(--ink-muted);
4924
+ }
4252
4925
  .ui-quick-btn.is-on {
4253
4926
  background: var(--accent-soft);
4254
4927
  color: var(--accent-text);
@@ -4442,7 +5115,9 @@ html.ui-theme-fade * {
4442
5115
  text-align: center;
4443
5116
  }
4444
5117
  .ui-errorpage-code {
4445
- font-family: var(--font-mono);
5118
+ /* A display number, not code: the text font with figures of one width (no slashed zero). */
5119
+ font-family: var(--font-sans);
5120
+ font-variant-numeric: tabular-nums;
4446
5121
  font-size: 96px; /* token-exempt: ErrorPage status code, one use */
4447
5122
  line-height: 1;
4448
5123
  font-weight: 700;
@@ -4522,12 +5197,14 @@ html.ui-theme-fade * {
4522
5197
  .ui-settings-content {
4523
5198
  flex: 1 1 auto;
4524
5199
  min-width: 0;
5200
+ /* Fields 760 px wide at most: a 1000 px name field reads as a text area. */
5201
+ max-width: 760px;
4525
5202
  display: flex;
4526
5203
  flex-direction: column;
4527
- gap: var(--space-4);
5204
+ gap: var(--space-8);
4528
5205
  }
4529
5206
  .ui-settings-section {
4530
- padding: 18px;
5207
+ padding: var(--space-4);
4531
5208
  border-radius: var(--radius-lg);
4532
5209
  background: var(--surface);
4533
5210
  box-shadow: var(--shadow-card);
@@ -4536,155 +5213,86 @@ html.ui-theme-fade * {
4536
5213
  gap: 12px;
4537
5214
  }
4538
5215
  .ui-settings-h {
4539
- margin: 0;
4540
- font-size: var(--text-lead);
4541
- font-weight: 700;
4542
- }
4543
- .ui-settings-desc {
4544
- margin: -6px 0 0;
4545
- font-size: var(--text-compact);
4546
- color: var(--ink-muted);
4547
- }
4548
- .ui-settings-toast {
4549
- position: fixed;
4550
- right: 24px;
4551
- bottom: 24px;
4552
- z-index: var(--z-palette);
4553
- }
4554
- @media (max-width: 599px) {
4555
- .ui-settings-body {
4556
- flex-direction: column;
4557
- }
4558
- .ui-settings-nav {
4559
- position: static;
4560
- flex-direction: row;
4561
- overflow-x: auto;
4562
- flex-basis: auto;
4563
- }
4564
- .ui-settings-cat.is-on::before {
4565
- left: 8px;
4566
- right: 8px;
4567
- top: auto;
4568
- bottom: 0;
4569
- width: auto;
4570
- height: 3px;
4571
- border-radius: 3px 3px 0 0;
4572
- }
4573
- }
4574
- .ui-danger {
4575
- padding: 18px;
4576
- border: 1px solid var(--danger);
4577
- border-radius: var(--radius-lg);
4578
- background: var(--surface);
4579
- display: flex;
4580
- flex-direction: column;
4581
- gap: 8px;
4582
- }
4583
- .ui-danger-title {
4584
- margin: 0;
4585
- font-size: var(--text-lead);
4586
- font-weight: 700;
4587
- color: var(--danger-text);
4588
- }
4589
- .ui-danger-row {
4590
- display: flex;
4591
- justify-content: space-between;
4592
- align-items: center;
4593
- gap: 12px;
4594
- flex-wrap: wrap;
4595
- }
4596
- .ui-danger-row p {
4597
- margin: 0;
4598
- font-size: var(--text-compact);
4599
- color: var(--ink-muted);
4600
- }
4601
- /* Inline code */
4602
- .ui-code {
4603
- font-family: var(--font-mono);
4604
- font-size: 0.875em;
4605
- padding: 1px 5px;
4606
- border-radius: var(--radius-xs);
4607
- background: var(--surface-sub);
4608
- color: var(--ink);
4609
- overflow-wrap: anywhere;
4610
- }
4611
- /* In a table (DataTable rows and their details, Markdown tables) every other row is surface-sub, the same as the code
4612
- background, so code there is surface with a 1 px line border: it reads the same on both row colours and on the
4613
- hovered row. Inset shadow, not a border, so the size and line height do not change. */
4614
- :is(.ui-dt-body, .ui-dt-detail, .ui-md-table td) .ui-code {
4615
- background: var(--surface);
4616
- box-shadow: inset 0 0 0 1px var(--line);
4617
- }
4618
- .ui-code.is-short {
4619
- white-space: nowrap;
4620
- }
4621
- .ui-code.is-link {
4622
- border: 0;
4623
- color: var(--accent-text);
4624
- font-weight: inherit;
4625
- line-height: inherit;
4626
- text-decoration: underline;
4627
- text-underline-offset: 2px;
4628
- cursor: pointer;
4629
- }
4630
- .ui-code.is-link:hover {
4631
- text-decoration-thickness: 2px;
4632
- }
4633
- /* Dark: accent-text on the chip's surface-sub is 3.9:1; a quarter of ink brings it to 5:1 (at least 4.5:1 for 14 px text). */
4634
- [data-theme='dark'] .ui-code.is-link {
4635
- color: color-mix(in srgb, var(--accent-text), var(--ink) 25%);
4636
- }
4637
- /* A name (function, class, variable) and a location (file:line) that point somewhere: no chip, no underline until
4638
- hover or keyboard focus. Three classes so they win over the dark link colour and the table chip above. */
4639
- .ui-code.is-link.is-name,
4640
- .ui-code.is-link.is-location {
4641
- padding: 0;
4642
- background: none;
4643
- box-shadow: none;
4644
- text-decoration: none;
4645
- text-underline-offset: 3px;
4646
- text-decoration-thickness: 1px;
4647
- }
4648
- .ui-code.is-link.is-name {
4649
- color: var(--code-link-ink, var(--accent-text));
4650
- }
4651
- /* Dark: accent-text on a surface-sub table row is 3.9:1; a quarter of ink brings it above 4.5:1, as for the chip. */
4652
- [data-theme='dark'] :is(.ui-dt-body, .ui-dt-detail, .ui-md-table td) .ui-code.is-link:is(.is-name, .is-location) {
4653
- --code-link-ink: color-mix(in srgb, var(--accent-text), var(--ink) 25%);
5216
+ margin: 0;
5217
+ font-size: var(--text-title);
5218
+ font-weight: 700;
4654
5219
  }
4655
- /* One step smaller: the 13 px of secondary text. Never breaks inside. */
4656
- .ui-code.is-link.is-location {
5220
+ .ui-settings-desc {
5221
+ margin: -6px 0 0;
5222
+ font-size: var(--text-compact);
4657
5223
  color: var(--ink-muted);
4658
- font-size: var(--text-small);
4659
- white-space: nowrap;
4660
5224
  }
4661
- .ui-code.is-link.is-name:is(:hover, :focus-visible),
4662
- .ui-code.is-link.is-location:is(:hover, :focus-visible) {
4663
- text-decoration: underline;
4664
- text-decoration-thickness: 1px;
5225
+ /* SettingsRow: label and sentence on the left, the control on the right; the whole row is the label. Rows are
5226
+ separated by a line, the first one has none. */
5227
+ .ui-settings-row {
5228
+ display: flex;
5229
+ align-items: center;
5230
+ justify-content: space-between;
5231
+ gap: var(--space-4);
5232
+ min-height: var(--touch-target);
5233
+ cursor: pointer;
4665
5234
  }
4666
- .ui-code.is-link.is-location:is(:hover, :focus-visible) {
4667
- color: var(--code-link-ink, var(--accent-text));
5235
+ .ui-settings-row + .ui-settings-row {
5236
+ padding-top: var(--space-3);
5237
+ border-top: 1px solid var(--line);
4668
5238
  }
4669
- .ui-code.is-link.is-name:focus-visible,
4670
- .ui-code.is-link.is-location:focus-visible {
4671
- border-radius: var(--radius-xs);
5239
+ .ui-settings-rowtext {
5240
+ display: flex;
5241
+ flex-direction: column;
5242
+ min-width: 0;
4672
5243
  }
4673
- .ui-pal-detail .ui-code {
4674
- padding: 0;
4675
- background: transparent;
4676
- color: inherit;
5244
+ .ui-settings-rowdesc {
5245
+ font-size: var(--text-compact);
5246
+ color: var(--ink-muted);
4677
5247
  }
4678
- .ui-sug-line .ui-code {
5248
+ @media (max-width: 599px) {
5249
+ .ui-settings-body {
5250
+ flex-direction: column;
5251
+ align-items: stretch;
5252
+ }
5253
+ .ui-settings-nav {
5254
+ position: static;
5255
+ flex-direction: row;
5256
+ overflow-x: auto;
5257
+ flex-basis: auto;
5258
+ }
5259
+ .ui-settings-cat.is-on::before {
5260
+ left: 8px;
5261
+ right: 8px;
5262
+ top: auto;
5263
+ bottom: 0;
5264
+ width: auto;
5265
+ height: 3px;
5266
+ border-radius: 3px 3px 0 0;
5267
+ }
5268
+ }
5269
+ /* A card like the SettingsSections beside it (same shadow and padding); only the title is red. */
5270
+ .ui-danger {
5271
+ padding: var(--space-4);
5272
+ border-radius: var(--radius-lg);
4679
5273
  background: var(--surface);
5274
+ box-shadow: var(--shadow-card);
5275
+ display: flex;
5276
+ flex-direction: column;
5277
+ gap: 8px;
4680
5278
  }
4681
- .ui-md-table .ui-code {
4682
- white-space: normal;
4683
- overflow-wrap: break-word;
5279
+ .ui-danger-title {
5280
+ margin: 0;
5281
+ font-size: var(--text-title);
5282
+ font-weight: 700;
5283
+ color: var(--danger-text);
4684
5284
  }
4685
- /* A command wraps at its spaces; a path or a name in code never breaks inside. */
4686
- .ui-md-table .ui-code.is-link {
4687
- white-space: nowrap;
5285
+ .ui-danger-row {
5286
+ display: flex;
5287
+ justify-content: space-between;
5288
+ align-items: center;
5289
+ gap: 12px;
5290
+ flex-wrap: wrap;
5291
+ }
5292
+ .ui-danger-row p {
5293
+ margin: 0;
5294
+ font-size: var(--text-compact);
5295
+ color: var(--ink-muted);
4688
5296
  }
4689
5297
  /* AiMark: a small gray 「AI 撰寫」 at the end of a sentence written by AI (A2), the same style as other source marks. */
4690
5298
  .ui-aimark {
@@ -4705,29 +5313,36 @@ html.ui-theme-fade * {
4705
5313
  color: var(--ink-muted);
4706
5314
  white-space: nowrap;
4707
5315
  }
4708
- /* Tag variant="forecast" and "demo": an icon and words, no fill, the size of the text beside them (a mark beside the
4709
- brand is as large as the brand). Forecast is in the accent text color; demo keeps the color of the text around it. */
4710
- .ui-tag.is-forecast,
4711
- .ui-tag.is-demo {
5316
+ /* With an icon (where values come from: 預測, 示範資料): an icon and words, no fill, the size of the text beside them (a
5317
+ mark beside the brand is as large as the brand). */
5318
+ .ui-tag.has-icon {
4712
5319
  display: inline-flex;
4713
5320
  align-items: center;
4714
5321
  gap: 0.3em;
4715
5322
  font-size: inherit;
4716
- font-weight: 600;
4717
5323
  line-height: inherit;
4718
- }
4719
- .ui-tag.is-forecast {
4720
- color: var(--accent-text);
4721
- }
4722
- .ui-tag.is-demo {
4723
5324
  color: inherit;
4724
5325
  }
4725
- .ui-tag.is-forecast > svg,
4726
- .ui-tag.is-demo > svg {
5326
+ .ui-tag.has-icon > svg {
4727
5327
  flex: none;
4728
5328
  width: 1em;
4729
5329
  height: 1em;
4730
5330
  }
5331
+ .ui-tag.is-neutral {
5332
+ color: var(--ink-muted);
5333
+ }
5334
+ .ui-tag.is-info {
5335
+ color: var(--accent-text);
5336
+ }
5337
+ .ui-tag.is-success {
5338
+ color: var(--success-text);
5339
+ }
5340
+ .ui-tag.is-warning {
5341
+ color: var(--warning-text);
5342
+ }
5343
+ .ui-tag.is-danger {
5344
+ color: var(--danger-text);
5345
+ }
4731
5346
  /* TreeList */
4732
5347
  .ui-tree {
4733
5348
  container-type: inline-size;
@@ -4749,9 +5364,10 @@ html.ui-theme-fade * {
4749
5364
  padding: 16px 20px;
4750
5365
  border-bottom: 1px solid var(--line);
4751
5366
  }
5367
+ /* The same size as a Card title (text-title, 17 px). */
4752
5368
  .ui-tree-title {
4753
5369
  margin: 0;
4754
- font-size: var(--text-h4);
5370
+ font-size: var(--text-title);
4755
5371
  font-weight: 700;
4756
5372
  line-height: 1.3;
4757
5373
  white-space: nowrap;
@@ -4777,7 +5393,7 @@ html.ui-theme-fade * {
4777
5393
  font-weight: 400;
4778
5394
  font-size: var(--text-small);
4779
5395
  color: var(--ink-muted);
4780
- font-family: var(--font-mono);
5396
+ font-variant-numeric: tabular-nums;
4781
5397
  }
4782
5398
  .ui-tree {
4783
5399
  --tl-base: 12px;
@@ -4937,9 +5553,10 @@ html.ui-theme-fade * {
4937
5553
  color: var(--ink-muted);
4938
5554
  white-space: nowrap;
4939
5555
  }
5556
+ /* One secondary size beside the name (13 px, like the file count), not a third one. */
4940
5557
  .ui-tree-newcount {
4941
5558
  flex: 0 0 auto;
4942
- font-size: var(--text-mini);
5559
+ font-size: var(--text-small);
4943
5560
  font-weight: 700;
4944
5561
  color: var(--accent-text);
4945
5562
  white-space: nowrap;
@@ -4956,6 +5573,7 @@ html.ui-theme-fade * {
4956
5573
  .ui-tree-meta > span {
4957
5574
  white-space: nowrap;
4958
5575
  }
5576
+ /* Date and size: their figures in Geist Mono with one width (.ui-num), as in DataTable; the words in the text font. */
4959
5577
  .ui-tree-col {
4960
5578
  flex: 0 0 auto;
4961
5579
  font-size: var(--text-small);
@@ -5251,10 +5869,6 @@ html.ui-theme-fade * {
5251
5869
  padding-left: 20px;
5252
5870
  padding-right: 20px;
5253
5871
  }
5254
- .ui-card-head:has(> .ui-dt-tools.is-inhead) {
5255
- flex-wrap: wrap;
5256
- row-gap: var(--space-2);
5257
- }
5258
5872
  /* The title keeps about 12 characters before the tools move to a row of their own under it, right-aligned. */
5259
5873
  .ui-card-head:has(> .ui-dt-tools.is-inhead) > .ui-card-title {
5260
5874
  flex: 1 1 12em;
@@ -5276,8 +5890,9 @@ html.ui-theme-fade * {
5276
5890
  }
5277
5891
  .ui-card-head {
5278
5892
  display: flex;
5893
+ flex-wrap: wrap;
5279
5894
  align-items: center;
5280
- gap: var(--space-3);
5895
+ gap: var(--space-2) var(--space-3);
5281
5896
  min-height: 40px;
5282
5897
  margin-bottom: var(--space-3);
5283
5898
  }
@@ -5293,9 +5908,11 @@ html.ui-theme-fade * {
5293
5908
  .ui-card.is-flush > .ui-card-head:only-child {
5294
5909
  padding-bottom: var(--space-4);
5295
5910
  }
5911
+ /* The title keeps at least 8 characters: when the actions do not fit beside that, they move to a row of their own
5912
+ under it, right-aligned, instead of cutting the title to 「訂..」. */
5296
5913
  .ui-card-title {
5297
- flex: 1 1 auto;
5298
- min-width: 0;
5914
+ flex: 1 1 8em;
5915
+ min-width: min(8em, 100%);
5299
5916
  margin: 0;
5300
5917
  font-size: var(--text-title);
5301
5918
  font-weight: 700;
@@ -5311,7 +5928,7 @@ html.ui-theme-fade * {
5311
5928
  /* Always at the right end, with or without a title beside them. */
5312
5929
  margin-left: auto;
5313
5930
  }
5314
- :is(.ui-card, .ui-tree, .ui-settings-section, .ui-dialog, .ui-drawer) :is(.ui-tree, .ui-kpi, .ui-settings-section, .ui-alert) {
5931
+ :is(.ui-card, .ui-tree, .ui-settings-section, .ui-dialog, .ui-drawer) :is(.ui-tree, .ui-kpi, .ui-settings-section, .ui-danger, .ui-alert) {
5315
5932
  box-shadow: none;
5316
5933
  }
5317
5934
  :is(.ui-card, .ui-settings-section) :is(.ui-kpi, .ui-alert) {
@@ -5322,7 +5939,9 @@ html.ui-theme-fade * {
5322
5939
  flex-direction: column;
5323
5940
  gap: 6px;
5324
5941
  min-width: 0;
5325
- padding: 18px;
5942
+ box-sizing: border-box;
5943
+ /* The Card padding: a KPI row and the Cards under it share one left edge. */
5944
+ padding: var(--space-4);
5326
5945
  border-radius: var(--radius-lg);
5327
5946
  background: var(--surface);
5328
5947
  box-shadow: var(--shadow-card);
@@ -5382,8 +6001,13 @@ html.ui-theme-fade * {
5382
6001
  justify-items: end;
5383
6002
  vertical-align: bottom;
5384
6003
  }
6004
+ /* 萬 and 億 of an abbreviated figure: drawn like the unit (the text font, half size, muted), not as big as the digits. */
5385
6005
  .ui-kpi-cjk {
6006
+ margin-left: 4px;
5386
6007
  font-family: var(--font-sans);
6008
+ font-size: 0.5em;
6009
+ font-weight: 600;
6010
+ color: var(--ink-muted);
5387
6011
  }
5388
6012
  .ui-kpi-sizer,
5389
6013
  .ui-kpi-live {
@@ -5417,7 +6041,11 @@ html.ui-theme-fade * {
5417
6041
  .ui-kpi-verdict.is-danger {
5418
6042
  color: var(--danger-text);
5419
6043
  }
6044
+ /* In a row of compact KPIs (ConsoleLayout's top bar): every card the same width while they fit, each at least as wide
6045
+ as its content. */
5420
6046
  .ui-console-kpis > .ui-kpi {
6047
+ flex: 1 1 0;
6048
+ min-width: max-content;
5421
6049
  padding: 6px var(--space-4);
5422
6050
  border-radius: 0;
5423
6051
  background: transparent;
@@ -6351,9 +6979,10 @@ html.ui-theme-fade * {
6351
6979
  .ui-cv .is-string {
6352
6980
  color: var(--code-constant);
6353
6981
  }
6982
+ /* Comments are gray and upright: the fonts have no italic face, and a slanted CJK comment (synthetic italic) reads
6983
+ badly. */
6354
6984
  .ui-cv .is-comment {
6355
6985
  color: var(--ink-muted);
6356
- font-style: italic;
6357
6986
  }
6358
6987
  .ui-cv-more {
6359
6988
  display: inline-flex;
@@ -6431,10 +7060,18 @@ html.ui-theme-fade * {
6431
7060
  fill: var(--accent-text);
6432
7061
  color: var(--accent-text);
6433
7062
  }
7063
+ /* Dimmed (not related to what is selected or hovered): the shapes and lines fade, the text turns ink-muted and keeps
7064
+ 4.5:1, so a dimmed name can still be read and clicked. Not opacity on the whole node, which took its text under 3:1. */
6434
7065
  .ui-graph .is-dim {
6435
- opacity: 0.4;
7066
+ color: var(--ink-muted);
7067
+ }
7068
+ .ui-graph :is(rect, path, line, polyline, polygon, circle, ellipse):is(.is-dim, .is-dim *) {
7069
+ opacity: 0.35;
6436
7070
  transition: opacity var(--dur-hover) ease;
6437
7071
  }
7072
+ .ui-graph text:is(.is-dim, .is-dim *) {
7073
+ fill: var(--ink-muted);
7074
+ }
6438
7075
  .ui-graph-legend {
6439
7076
  display: flex;
6440
7077
  flex-wrap: wrap;
@@ -6711,8 +7348,33 @@ html.ui-theme-fade * {
6711
7348
  .ui-lg-arrow.is-related {
6712
7349
  fill: var(--accent);
6713
7350
  }
6714
- .ui-lg .is-dim {
6715
- opacity: 0.4;
7351
+ /* Dimmed (not related to the selection): lines, arrows and the boxes' fills and bars fade; every text turns ink-muted
7352
+ and keeps 4.5:1, so a dimmed box can still be read and picked. Not opacity on a whole box, which took its name under
7353
+ 3:1. */
7354
+ .ui-lg-edge.is-dim,
7355
+ .ui-lg-arrow.is-dim {
7356
+ opacity: 0.35;
7357
+ }
7358
+ .ui-lg-label.is-dim,
7359
+ .ui-lg-li.is-dim,
7360
+ .ui-lg-li.is-dim .ui-lg-libtn,
7361
+ .ui-lg-li.is-dim .ui-lg-limeta,
7362
+ .ui-lg-numlist li.is-dim {
7363
+ color: var(--ink-muted);
7364
+ }
7365
+ .ui-lg-node.is-dim {
7366
+ background: color-mix(in srgb, var(--graph-node) 35%, var(--ui-graph-bg, var(--surface)));
7367
+ box-shadow: inset 4px 0 0 color-mix(in srgb, var(--graph-edge) 35%, var(--ui-graph-bg, var(--surface)));
7368
+ color: var(--ink-muted);
7369
+ }
7370
+ .ui-lg-node.is-dim:hover {
7371
+ background: var(--surface-sub);
7372
+ }
7373
+ .ui-lg-node.is-dim.is-external {
7374
+ border-color: color-mix(in srgb, var(--line-strong) 50%, var(--ui-graph-bg, var(--surface)));
7375
+ }
7376
+ .ui-lg-node.is-dim :is(.ui-lg-track, .ui-lg-track > span) {
7377
+ opacity: 0.35;
6716
7378
  }
6717
7379
  /* Selectable edges (onSelectEdge): an invisible 12 px path over each line takes clicks and focus. It sits above the lines,
6718
7380
  under the boxes and labels, and comes after the boxes in tab order. */
@@ -6749,18 +7411,20 @@ html.ui-theme-fade * {
6749
7411
  pointer-events: auto;
6750
7412
  cursor: pointer;
6751
7413
  }
6752
- .ui-lg-label.is-clickable.is-hover {
7414
+ /* Hover on a line, its label or its number (is-hl, set on every part of that line without a new render). */
7415
+ .ui-lg-label.is-clickable.is-hl {
6753
7416
  text-decoration: underline;
6754
7417
  }
6755
- /* Hover on a line or its label: the line gets a little darker. */
6756
- .ui-lg-edge.is-hover:not(.is-related) {
7418
+ /* Hover on a selectable line or its label: the line gets a little darker and 2 px wider. */
7419
+ .ui-lg.has-pick .ui-lg-edge.is-hl:not(.is-related) {
6757
7420
  stroke: color-mix(in srgb, var(--graph-edge), var(--ink) 35%);
7421
+ stroke-width: calc(var(--lg-w) + 2);
6758
7422
  }
6759
- .ui-lg-edge.is-hover:not(.is-related) + .ui-lg-arrow {
7423
+ .ui-lg.has-pick .ui-lg-edge.is-hl:not(.is-related) + .ui-lg-arrow {
6760
7424
  fill: color-mix(in srgb, var(--graph-edge), var(--ink) 35%);
6761
7425
  }
6762
7426
  /* edgeLabels 'hover': a label stays in its place but hidden until its line is hovered, focused or selected. */
6763
- .ui-lg-label.is-quiet {
7427
+ .ui-lg-label.is-quiet:not(.is-hl) {
6764
7428
  opacity: 0;
6765
7429
  pointer-events: none;
6766
7430
  }
@@ -6813,7 +7477,7 @@ html.ui-theme-fade * {
6813
7477
  inset 4px 0 0 var(--accent),
6814
7478
  inset 0 0 0 2px var(--accent);
6815
7479
  }
6816
- /* Outside the repository: a dashed outline on the page's surface, no bar on the left, 「repo 外」 under the name. */
7480
+ /* Outside the repository: a dashed outline on the page's surface, no bar on the left, its label (externalLabel) under the name. */
6817
7481
  .ui-lg-node.is-external {
6818
7482
  padding-left: 12px;
6819
7483
  background: var(--surface);
@@ -6893,7 +7557,7 @@ html.ui-theme-fade * {
6893
7557
  visibility: hidden;
6894
7558
  z-index: calc(var(--z-sticky) + 1);
6895
7559
  }
6896
- .ui-lg-label.is-numbered.is-shown {
7560
+ .ui-lg-label.is-numbered:is(.is-shown, .is-hl) {
6897
7561
  visibility: visible;
6898
7562
  }
6899
7563
  /* A line's number: a 20 px dot on the line, the same number as in the list under the diagram. */
@@ -6913,12 +7577,13 @@ html.ui-theme-fade * {
6913
7577
  text-align: center;
6914
7578
  pointer-events: auto;
6915
7579
  }
6916
- .ui-lg-num.is-on {
7580
+ .ui-lg-num:is(.is-on, .is-hl) {
6917
7581
  background: var(--accent);
6918
7582
  color: var(--on-accent);
6919
7583
  }
6920
- .ui-lg-num.is-dim {
6921
- opacity: 0.35;
7584
+ /* Dimmed: a muted dot, its number still 4.5:1. */
7585
+ .ui-lg-num.is-dim:not(.is-on, .is-hl) {
7586
+ background: var(--ink-muted);
6922
7587
  }
6923
7588
  .ui-lg-num.is-static {
6924
7589
  position: static;
@@ -6940,9 +7605,6 @@ html.ui-theme-fade * {
6940
7605
  align-items: flex-start;
6941
7606
  gap: var(--space-2);
6942
7607
  }
6943
- .ui-lg-numlist li.is-dim {
6944
- opacity: 0.45;
6945
- }
6946
7608
  .ui-lg-label.is-related {
6947
7609
  color: var(--accent-text);
6948
7610
  }
@@ -7123,6 +7785,11 @@ html.ui-theme-fade * {
7123
7785
  .ui-grid.is-6 {
7124
7786
  --cols: 6;
7125
7787
  }
7788
+ /* A ratio ([2, 1]): main and aside side by side from 960 px; one column below, the aside under the main. */
7789
+ .ui-grid.is-ratio {
7790
+ grid-template-columns: var(--grid-ratio);
7791
+ align-items: start;
7792
+ }
7126
7793
  @media (max-width: 1279px) {
7127
7794
  .ui-grid.is-4 {
7128
7795
  --cols: 2;
@@ -7135,6 +7802,9 @@ html.ui-theme-fade * {
7135
7802
  .ui-grid:not(.is-1) {
7136
7803
  --cols: 2;
7137
7804
  }
7805
+ .ui-grid.is-ratio {
7806
+ grid-template-columns: minmax(0, 1fr);
7807
+ }
7138
7808
  }
7139
7809
  @media (max-width: 599px) {
7140
7810
  .ui-grid {
@@ -7435,6 +8105,34 @@ html.ui-theme-fade * {
7435
8105
  text-underline-offset: 2px;
7436
8106
  cursor: pointer;
7437
8107
  }
8108
+ /* A list item that is one link (a reference list): the link fills the row, so the whole row is clickable, with the
8109
+ hover ground of other rows. 32 px with a mouse, 48 px on touch screens. The marker stays outside the row, where the
8110
+ other items' markers are; the text starts where theirs does and the ground reaches 6 px to its left. */
8111
+ .ui-md li.ui-md-rowitem + li.ui-md-rowitem {
8112
+ margin-top: 2px;
8113
+ }
8114
+ .ui-md-link.is-row {
8115
+ display: flex;
8116
+ align-items: center;
8117
+ box-sizing: border-box;
8118
+ min-height: 32px;
8119
+ margin-left: -6px;
8120
+ padding: 3px 8px 3px 6px;
8121
+ border-radius: var(--radius-sm);
8122
+ text-align: left;
8123
+ transition: background-color var(--dur-hover) ease;
8124
+ }
8125
+ .ui-md-link.is-row:hover {
8126
+ background: var(--surface-sub);
8127
+ }
8128
+ button.ui-md-link.is-row {
8129
+ width: calc(100% + 6px);
8130
+ }
8131
+ @media (pointer: coarse) {
8132
+ .ui-md-link.is-row {
8133
+ min-height: var(--touch-target);
8134
+ }
8135
+ }
7438
8136
  .ui-md-table-wrap {
7439
8137
  max-width: 100%;
7440
8138
  overflow-x: auto;
@@ -7534,9 +8232,10 @@ html.ui-theme-fade * {
7534
8232
  .ui-md-table th {
7535
8233
  position: relative;
7536
8234
  }
8235
+ /* The last border is the table's edge: its 24 px stay inside the last heading. */
7537
8236
  .ui-md-table th:last-child .ui-col-resize {
7538
8237
  right: 0;
7539
- width: 6px;
8238
+ width: 24px;
7540
8239
  }
7541
8240
  .ui-md-table th:last-child .ui-col-resize::after {
7542
8241
  left: auto;
@@ -7891,7 +8590,7 @@ html.ui-theme-fade * {
7891
8590
  }
7892
8591
  .ui-wb-exfoot {
7893
8592
  flex: none;
7894
- padding: 4px;
8593
+ padding: var(--space-2) var(--space-3);
7895
8594
  border-top: 1px solid var(--line);
7896
8595
  }
7897
8596
  /* Splitters: 8 px to grab, a 1 px line; a 2 px accent line on hover (after 150 ms), while dragging and on focus. */
@@ -8201,6 +8900,18 @@ html.ui-theme-fade * {
8201
8900
  .ui-wb-sheet > .ui-wb-split .ui-wb-split-line {
8202
8901
  display: none;
8203
8902
  }
8903
+ /* On touch screens the grip's touch area is 48 px tall: the 20 px grip plus a transparent area above it, over the
8904
+ bottom of the main view, so it never covers the panel's tab row below. */
8905
+ @media (pointer: coarse) {
8906
+ .ui-wb-sheet > .ui-wb-split.is-h::after {
8907
+ content: '';
8908
+ position: absolute;
8909
+ left: 0;
8910
+ right: 0;
8911
+ bottom: 0;
8912
+ height: var(--touch-target);
8913
+ }
8914
+ }
8204
8915
  .ui-wb-grab {
8205
8916
  flex: 0 0 20px;
8206
8917
  display: flex;
@@ -8255,14 +8966,15 @@ html.ui-theme-fade * {
8255
8966
  opacity: 0;
8256
8967
  }
8257
8968
  }
8258
- /* SegmentedControl: a 28 px switch between ways of showing the same thing; the selected part is a raised pill. */
8969
+ /* SegmentedControl: a 40 px switch between ways of showing the same thing (the height of a toolbar's controls);
8970
+ the selected part is a raised pill. */
8259
8971
  .ui-seg {
8260
8972
  position: relative;
8261
8973
  display: inline-flex;
8262
8974
  flex: none;
8263
8975
  gap: 2px;
8264
- height: 28px;
8265
- padding: 2px;
8976
+ height: var(--control-height);
8977
+ padding: 3px;
8266
8978
  box-sizing: border-box;
8267
8979
  border-radius: var(--radius-sm);
8268
8980
  background: var(--surface-sub);
@@ -8271,8 +8983,8 @@ html.ui-theme-fade * {
8271
8983
  /* Like the tab pill: a line-strong border shows the selection at 3:1 (icon-only items differ in color alone). */
8272
8984
  .ui-seg-ind {
8273
8985
  position: absolute;
8274
- top: 2px;
8275
- bottom: 2px;
8986
+ top: 3px;
8987
+ bottom: 3px;
8276
8988
  box-sizing: border-box;
8277
8989
  border: 1px solid var(--line-strong);
8278
8990
  border-radius: var(--radius-xs);
@@ -8285,14 +8997,14 @@ html.ui-theme-fade * {
8285
8997
  align-items: center;
8286
8998
  justify-content: center;
8287
8999
  gap: 6px;
8288
- height: 24px;
8289
- padding: 0 10px;
9000
+ height: 100%;
9001
+ padding: 0 var(--space-3);
8290
9002
  border: 0;
8291
9003
  border-radius: var(--radius-xs);
8292
9004
  background: none;
8293
9005
  color: var(--ink-muted);
8294
9006
  font: inherit;
8295
- font-size: var(--text-small);
9007
+ font-size: var(--text-control);
8296
9008
  line-height: 20px;
8297
9009
  white-space: nowrap;
8298
9010
  cursor: pointer;
@@ -8306,11 +9018,38 @@ html.ui-theme-fade * {
8306
9018
  font-weight: 600;
8307
9019
  }
8308
9020
  .ui-seg.is-icons .ui-seg-item {
8309
- width: 28px;
9021
+ width: 34px;
8310
9022
  padding: 0;
8311
9023
  }
9024
+ /* Icons only: the selected one is marked like the words are, ink in the outlined pill (not a color of its own). */
8312
9025
  .ui-seg.is-icons .ui-seg-item.is-selected {
8313
- color: var(--accent-text);
9026
+ color: var(--ink);
9027
+ }
9028
+ /* Workbench's mainBar is 36 px: the compact 28 px switch, like the bar's other buttons. */
9029
+ .ui-wb-mainbar .ui-seg {
9030
+ height: 28px;
9031
+ padding: 2px;
9032
+ }
9033
+ .ui-wb-mainbar .ui-seg-ind {
9034
+ top: 2px;
9035
+ bottom: 2px;
9036
+ }
9037
+ .ui-wb-mainbar .ui-seg-item {
9038
+ font-size: var(--text-small);
9039
+ }
9040
+ .ui-wb-mainbar .ui-seg.is-icons .ui-seg-item {
9041
+ width: 28px;
9042
+ }
9043
+ /* Touch screens: each part is a 48 px target (the whole switch 48 px tall). In Workbench's 36 px mainBar the switch
9044
+ keeps its 28 px look, like the bar's other buttons, and each part's touch area grows to 48 px (touch.css). */
9045
+ @media (pointer: coarse) {
9046
+ .ui-seg {
9047
+ height: var(--touch-target);
9048
+ }
9049
+ .ui-seg.is-icons .ui-seg-item,
9050
+ .ui-wb-mainbar .ui-seg.is-icons .ui-seg-item {
9051
+ width: 42px;
9052
+ }
8314
9053
  }
8315
9054
  @media (prefers-reduced-motion: reduce) {
8316
9055
  .ui-seg-ind {
@@ -8442,6 +9181,22 @@ html.ui-theme-fade * {
8442
9181
  .ui-meter-marks.is-stacked > span.is-danger {
8443
9182
  top: 18px;
8444
9183
  }
9184
+ /* Forced colors (Windows high contrast): the zones' backgrounds are replaced, so the track gets an outline and the
9185
+ value's dot and the level marks keep system colours of their own. */
9186
+ @media (forced-colors: active) {
9187
+ .ui-meter-track {
9188
+ border: 1px solid CanvasText;
9189
+ }
9190
+ .ui-meter-dot {
9191
+ forced-color-adjust: none;
9192
+ background: Highlight;
9193
+ box-shadow: 0 0 0 2px Canvas;
9194
+ }
9195
+ .ui-meter-mark {
9196
+ forced-color-adjust: none;
9197
+ background: CanvasText;
9198
+ }
9199
+ }
8445
9200
  .ui-zone[data-fill='heat-1'] {
8446
9201
  color: #ffffff;
8447
9202
  }
@@ -8620,7 +9375,6 @@ html.ui-theme-fade * {
8620
9375
  white-space: nowrap;
8621
9376
  }
8622
9377
  .ui-zone-unit {
8623
- margin-left: 4px;
8624
9378
  font-family: var(--font-sans);
8625
9379
  font-size: var(--text-body);
8626
9380
  font-weight: 500;
@@ -8647,7 +9401,8 @@ html.ui-theme-fade * {
8647
9401
  padding: 0;
8648
9402
  list-style: none;
8649
9403
  }
8650
- .ui-events > li {
9404
+ .ui-events > li,
9405
+ .ui-events-day > li {
8651
9406
  display: grid;
8652
9407
  grid-template-columns: auto 20px minmax(0, 1fr);
8653
9408
  gap: var(--space-3);
@@ -8655,7 +9410,13 @@ html.ui-theme-fade * {
8655
9410
  padding: var(--space-2) 4px;
8656
9411
  border-bottom: 1px solid var(--line);
8657
9412
  }
8658
- .ui-events > li:last-child {
9413
+ .ui-events-day {
9414
+ margin: 0;
9415
+ padding: 0;
9416
+ list-style: none;
9417
+ }
9418
+ .ui-events > li:last-child,
9419
+ .ui-events-day > li:last-child {
8659
9420
  border-bottom: 0;
8660
9421
  }
8661
9422
  .ui-events-time {
@@ -8669,11 +9430,32 @@ html.ui-theme-fade * {
8669
9430
  align-self: center;
8670
9431
  color: var(--ink-muted);
8671
9432
  }
8672
- .ui-events > li.is-alert .ui-events-kind {
9433
+ .ui-events li.is-tone-info .ui-events-kind {
9434
+ color: var(--accent-text);
9435
+ }
9436
+ .ui-events li.is-tone-success .ui-events-kind {
9437
+ color: var(--success-text);
9438
+ }
9439
+ .ui-events li.is-tone-warning .ui-events-kind {
8673
9440
  color: var(--warning-text);
8674
9441
  }
8675
- .ui-events > li.is-switch .ui-events-kind {
8676
- color: var(--accent-text);
9442
+ .ui-events li.is-tone-danger .ui-events-kind {
9443
+ color: var(--danger-text);
9444
+ }
9445
+ /* Several days: a date above each day, small and muted like the times. */
9446
+ .ui-events-date {
9447
+ padding: var(--space-3) 4px var(--space-1);
9448
+ color: var(--ink-muted);
9449
+ font-size: var(--text-small);
9450
+ font-weight: 600;
9451
+ }
9452
+ .ui-events-date:first-child {
9453
+ padding-top: 0;
9454
+ }
9455
+ /* Who did it: after the sentence, muted, the same size. */
9456
+ .ui-events-actor {
9457
+ margin-left: var(--space-2);
9458
+ color: var(--ink-muted);
8677
9459
  }
8678
9460
  .ui-events-empty {
8679
9461
  margin: 0;
@@ -8849,9 +9631,10 @@ html.ui-theme-fade * {
8849
9631
  position: absolute;
8850
9632
  top: 0;
8851
9633
  bottom: 0;
8852
- right: -6px;
9634
+ /* 24 px hit area centred on the border (WCAG 2.5.8): 12 px over each cell's padding. */
9635
+ right: -12px;
8853
9636
  z-index: var(--z-raised);
8854
- width: 11px;
9637
+ width: 24px;
8855
9638
  cursor: col-resize;
8856
9639
  touch-action: none;
8857
9640
  outline: none;
@@ -8873,7 +9656,25 @@ html.ui-theme-fade * {
8873
9656
  .ui-col-resize:focus-visible::after {
8874
9657
  width: 3px;
8875
9658
  }
8876
- /* A finger cannot hit an 11 px border: on touch screens the corner button shows the whole table instead. */
9659
+ /* A linked name or path in a table cell (InlineCode with a link): mono text in the link colour only, no chip, border
9660
+ or underline until hover or keyboard focus. The zebra rows and the hover ground stay calm. */
9661
+ :is(.ui-dt-body, .ui-dt-detail, .ui-md-table td) .ui-code.is-link:not(.is-location) {
9662
+ padding: 0;
9663
+ background: none;
9664
+ box-shadow: none;
9665
+ text-decoration: none;
9666
+ color: var(--code-link-ink, var(--accent-text));
9667
+ }
9668
+ :is(.ui-dt-body, .ui-dt-detail, .ui-md-table td) .ui-code.is-link:is(:hover, :focus-visible) {
9669
+ text-decoration: underline;
9670
+ text-decoration-thickness: 1px;
9671
+ text-underline-offset: 3px;
9672
+ }
9673
+ /* Dark: accent-text on a surface-sub row is 3.9:1; a quarter of ink brings it above 4.5:1. */
9674
+ [data-theme='dark'] :is(.ui-dt-body, .ui-dt-detail, .ui-md-table td) .ui-code.is-link {
9675
+ --code-link-ink: color-mix(in srgb, var(--accent-text), var(--ink) 25%);
9676
+ }
9677
+ /* A finger cannot drag a column border: on touch screens the corner button shows the whole table instead. */
8877
9678
  @media (pointer: coarse) {
8878
9679
  .ui-col-resize {
8879
9680
  display: none;
@@ -8943,7 +9744,7 @@ html.ui-theme-fade * {
8943
9744
  @media (pointer: coarse) {
8944
9745
  :where(
8945
9746
  button:not(.ui-term):not(.ui-code):not(.ui-cal-day):not(.ui-dt-view),
8946
- a.ui-link,
9747
+ a.ui-login-forgot,
8947
9748
  a.ui-btn,
8948
9749
  [role='tab']:not(.ui-dt-view),
8949
9750
  [role='switch'],
@@ -8959,7 +9760,7 @@ html.ui-theme-fade * {
8959
9760
  }
8960
9761
  :where(
8961
9762
  button:not(.ui-term):not(.ui-code):not(.ui-cal-day):not(.ui-dt-view),
8962
- a.ui-link,
9763
+ a.ui-login-forgot,
8963
9764
  a.ui-btn,
8964
9765
  [role='tab']:not(.ui-dt-view),
8965
9766
  [role='switch'],
@@ -9014,6 +9815,23 @@ html.ui-theme-fade * {
9014
9815
  width: var(--anchor-width);
9015
9816
  box-sizing: border-box;
9016
9817
  }
9818
+
9819
+ /* Every one-line row of an overlay list (Menu, Select, MultiSelect, Select's search list, DataTable's filter and sort
9820
+ panels): 40 px (control-height) and text-control, so all lists read and click alike. CommandPalette's results keep
9821
+ 48 px, as they carry a second line. */
9822
+ :is(.ui-menu-item, .ui-select-opt, .ui-dt-opt) {
9823
+ box-sizing: border-box;
9824
+ height: auto;
9825
+ min-height: var(--control-height);
9826
+ font-size: var(--text-control);
9827
+ }
9828
+ /* On touch screens a list option is a full 48 px row (touch-target), not a 40 px row with a hit area spilling over its
9829
+ neighbours. */
9830
+ @media (pointer: coarse) {
9831
+ [role='option'] {
9832
+ min-height: var(--touch-target);
9833
+ }
9834
+ }
9017
9835
  /* ---------- Focus ----------
9018
9836
  One focus style everywhere: a 2 px outline in --focus (the accent's text color, 3:1 or more on every ground in
9019
9837
  both themes), 2 px outside the control. Controls that sit flush in a container that clips (a tab row that
@@ -9028,6 +9846,7 @@ html.ui-theme-fade * {
9028
9846
  .ui-btn:focus-visible,
9029
9847
  .ui-iconbtn:focus-visible,
9030
9848
  .ui-toast-action:focus-visible,
9849
+ .ui-toast-close:focus-visible,
9031
9850
  .ui-input:focus-visible,
9032
9851
  :is(a, button).ui-nav-brand-link:focus-visible,
9033
9852
  .ui-nav-collapse:focus-visible,
@@ -9103,4 +9922,81 @@ a.ui-wb-brand:focus-visible,
9103
9922
  .ui-dt-cell :is(.ui-code.is-link.is-location, *):focus-visible {
9104
9923
  outline-offset: -2px;
9105
9924
  }
9925
+
9926
+ /* ---------- Forced colours (Windows high contrast) ----------
9927
+ The system replaces every colour with a few of its own and drops backgrounds and shadows, so anything that only a
9928
+ fill or a shadow shows would vanish: the focus outline, selection marks drawn as a filled bar or pill, status dots
9929
+ drawn as a background, the on state of a switch, check box or radio. These take system colours instead (Highlight
9930
+ for selection and focus, CanvasText for marks), and selected items get a 2 px outline or their mark back. */
9931
+ @media (forced-colors: active) {
9932
+ :focus-visible {
9933
+ outline-color: Highlight;
9934
+ }
9935
+ /* Selection marks drawn as a filled shape. */
9936
+ .ui-nav-bar,
9937
+ .ui-settings-cat.is-on::before,
9938
+ .ui-radio-dot {
9939
+ forced-color-adjust: none;
9940
+ background: Highlight;
9941
+ }
9942
+ /* Status dots drawn as a background (unread, needs attention). */
9943
+ .ui-noti-dot,
9944
+ .ui-tree-mark {
9945
+ forced-color-adjust: none;
9946
+ background: CanvasText;
9947
+ }
9948
+ /* Search matches. */
9949
+ .ui-mark {
9950
+ forced-color-adjust: none;
9951
+ background: Mark;
9952
+ color: MarkText;
9953
+ }
9954
+ /* Indicators that are a raised surface (tabs, segmented control): an outline in the highlight colour. */
9955
+ .ui-tabs-ind,
9956
+ .ui-seg-ind,
9957
+ .ui-tabbar-pill {
9958
+ border-color: Highlight;
9959
+ border-width: 2px;
9960
+ }
9961
+ /* Selected rows and options whose only sign was a tinted background. */
9962
+ .ui-tree-row.is-selected,
9963
+ .ui-dt-body .ui-dt-row.is-selected,
9964
+ .ui-projsw-opt.is-on,
9965
+ .ui-themepick-opt.is-on,
9966
+ .ui-swatch.is-on {
9967
+ outline: 2px solid Highlight;
9968
+ outline-offset: -2px;
9969
+ }
9970
+ /* On states drawn as a fill. */
9971
+ .ui-switch.is-on,
9972
+ .ui-check.is-on .ui-check-box,
9973
+ .ui-check-box.is-on {
9974
+ forced-color-adjust: none;
9975
+ border-color: Highlight;
9976
+ background: Highlight;
9977
+ color: HighlightText;
9978
+ }
9979
+ .ui-switch.is-on .ui-switch-thumb {
9980
+ forced-color-adjust: none;
9981
+ background: HighlightText;
9982
+ color: Highlight;
9983
+ }
9984
+ .ui-switch:not(.is-on) .ui-switch-thumb {
9985
+ forced-color-adjust: none;
9986
+ background: CanvasText;
9987
+ color: Canvas;
9988
+ }
9989
+ .ui-radio.is-on .ui-radio-ring {
9990
+ border-color: Highlight;
9991
+ }
9992
+ /* Cards and overlays lose their shadow: a 1 px border keeps their edge. */
9993
+ .ui-card,
9994
+ .ui-settings-section,
9995
+ .ui-danger,
9996
+ .ui-alert,
9997
+ .ui-kpi,
9998
+ .ui-tree:not(.is-bare) {
9999
+ border: 1px solid CanvasText;
10000
+ }
10001
+ }
9106
10002
  }