@ahoo-wang/wow-view-engine 10.0.0-alpha.7 → 10.0.0-beta.2

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 (403) hide show
  1. package/dist/{actions-BWlediub.js → actions-CThpS7Yj.js} +2479 -2437
  2. package/dist/actions-CThpS7Yj.js.map +1 -0
  3. package/dist/analysis/buckets.d.ts.map +1 -1
  4. package/dist/analysis/columns.d.ts +192 -0
  5. package/dist/analysis/columns.d.ts.map +1 -0
  6. package/dist/analysis/index.d.ts +1 -0
  7. package/dist/analysis/index.d.ts.map +1 -1
  8. package/dist/analysis/project.d.ts +2 -152
  9. package/dist/analysis/project.d.ts.map +1 -1
  10. package/dist/capabilities/analysis.d.ts.map +1 -1
  11. package/dist/capabilities/cache.d.ts +13 -0
  12. package/dist/capabilities/cache.d.ts.map +1 -1
  13. package/dist/capabilities/fields.d.ts +3 -17
  14. package/dist/capabilities/fields.d.ts.map +1 -1
  15. package/dist/capabilities/semantic.d.ts +24 -0
  16. package/dist/capabilities/semantic.d.ts.map +1 -0
  17. package/dist/dashboard/index.d.ts +1 -0
  18. package/dist/dashboard/index.d.ts.map +1 -1
  19. package/dist/dashboard/layout.d.ts +8 -40
  20. package/dist/dashboard/layout.d.ts.map +1 -1
  21. package/dist/dashboard/reorder.d.ts +43 -0
  22. package/dist/dashboard/reorder.d.ts.map +1 -0
  23. package/dist/dashboard/shape.d.ts +8 -0
  24. package/dist/dashboard/shape.d.ts.map +1 -0
  25. package/dist/dashboard/tabs.d.ts.map +1 -1
  26. package/dist/dashboard/validate.d.ts.map +1 -1
  27. package/dist/dashboard/validateContent.d.ts +3 -0
  28. package/dist/dashboard/validateContent.d.ts.map +1 -0
  29. package/dist/dashboard/validateFilters.d.ts.map +1 -1
  30. package/dist/{export-BCADqfu6.js → export-D6bnNjrA.js} +2 -2
  31. package/dist/{export-BCADqfu6.js.map → export-D6bnNjrA.js.map} +1 -1
  32. package/dist/filter/kinds/dateTime.d.ts.map +1 -1
  33. package/dist/filter/time.d.ts.map +1 -1
  34. package/dist/index.d.ts +10 -5
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +255 -220
  37. package/dist/index.js.map +1 -1
  38. package/dist/model/cartesian.d.ts +132 -0
  39. package/dist/model/cartesian.d.ts.map +1 -0
  40. package/dist/model/chart.d.ts +1 -130
  41. package/dist/model/chart.d.ts.map +1 -1
  42. package/dist/model/currency.d.ts +1 -1
  43. package/dist/model/currency.d.ts.map +1 -1
  44. package/dist/model/definition.d.ts +9 -0
  45. package/dist/model/definition.d.ts.map +1 -1
  46. package/dist/model/field.d.ts +3 -142
  47. package/dist/model/field.d.ts.map +1 -1
  48. package/dist/model/fieldNumeric.d.ts +78 -0
  49. package/dist/model/fieldNumeric.d.ts.map +1 -0
  50. package/dist/model/fieldTemporal.d.ts +68 -0
  51. package/dist/model/fieldTemporal.d.ts.map +1 -0
  52. package/dist/model/index.d.ts +3 -0
  53. package/dist/model/index.d.ts.map +1 -1
  54. package/dist/react/actionRunner.d.ts +17 -0
  55. package/dist/react/actionRunner.d.ts.map +1 -1
  56. package/dist/react/filterTree.d.ts +109 -0
  57. package/dist/react/filterTree.d.ts.map +1 -0
  58. package/dist/react/followUp.d.ts +105 -0
  59. package/dist/react/followUp.d.ts.map +1 -0
  60. package/dist/react/index.d.ts +6 -3
  61. package/dist/react/index.d.ts.map +1 -1
  62. package/dist/react/rulesClock.d.ts +20 -0
  63. package/dist/react/rulesClock.d.ts.map +1 -0
  64. package/dist/react/useAnalysisResult.d.ts +1 -80
  65. package/dist/react/useAnalysisResult.d.ts.map +1 -1
  66. package/dist/react/useFilterEditor.d.ts +24 -108
  67. package/dist/react/useFilterEditor.d.ts.map +1 -1
  68. package/dist/react/useRecordActions.d.ts +25 -0
  69. package/dist/react/useRecordActions.d.ts.map +1 -1
  70. package/dist/react/useRecordDetail.d.ts.map +1 -1
  71. package/dist/react/useRecordExport.d.ts.map +1 -1
  72. package/dist/react/useRecordTable.d.ts +6 -0
  73. package/dist/react/useRecordTable.d.ts.map +1 -1
  74. package/dist/react/useSaveCommands.d.ts +11 -0
  75. package/dist/react/useSaveCommands.d.ts.map +1 -1
  76. package/dist/react/useSearchBox.d.ts.map +1 -1
  77. package/dist/react/useStale.d.ts +24 -0
  78. package/dist/react/useStale.d.ts.map +1 -0
  79. package/dist/react/useWorkbench.d.ts +3 -61
  80. package/dist/react/useWorkbench.d.ts.map +1 -1
  81. package/dist/react/workbench/handOver.d.ts +1 -1
  82. package/dist/react/workbench/handOver.d.ts.map +1 -1
  83. package/dist/react/workbench/heldView.d.ts +112 -0
  84. package/dist/react/workbench/heldView.d.ts.map +1 -0
  85. package/dist/react/workbench/instanceSync.d.ts +5 -1
  86. package/dist/react/workbench/instanceSync.d.ts.map +1 -1
  87. package/dist/react/workbench/switching.d.ts +29 -0
  88. package/dist/react/workbench/switching.d.ts.map +1 -0
  89. package/dist/react-0RrtrG7t.js +4316 -0
  90. package/dist/react-0RrtrG7t.js.map +1 -0
  91. package/dist/react.js +1 -1
  92. package/dist/record/compile.d.ts +3 -1
  93. package/dist/record/compile.d.ts.map +1 -1
  94. package/dist/record/index.d.ts +1 -0
  95. package/dist/record/index.d.ts.map +1 -1
  96. package/dist/record/kanban.d.ts.map +1 -1
  97. package/dist/record/path.d.ts +10 -0
  98. package/dist/record/path.d.ts.map +1 -1
  99. package/dist/record/project.d.ts +9 -66
  100. package/dist/record/project.d.ts.map +1 -1
  101. package/dist/record/summaries.d.ts +68 -0
  102. package/dist/record/summaries.d.ts.map +1 -0
  103. package/dist/runtime/actions.d.ts +39 -0
  104. package/dist/runtime/actions.d.ts.map +1 -1
  105. package/dist/runtime/autoApply.d.ts +17 -2
  106. package/dist/runtime/autoApply.d.ts.map +1 -1
  107. package/dist/runtime/capabilities.d.ts +15 -1
  108. package/dist/runtime/capabilities.d.ts.map +1 -1
  109. package/dist/runtime/commandChecks.d.ts +8 -4
  110. package/dist/runtime/commandChecks.d.ts.map +1 -1
  111. package/dist/runtime/dashboard/commands.d.ts +3 -1
  112. package/dist/runtime/dashboard/commands.d.ts.map +1 -1
  113. package/dist/runtime/dashboard/editing.d.ts +10 -1
  114. package/dist/runtime/dashboard/editing.d.ts.map +1 -1
  115. package/dist/runtime/dashboard/history.d.ts +8 -0
  116. package/dist/runtime/dashboard/history.d.ts.map +1 -1
  117. package/dist/runtime/dashboard/panelSync.d.ts +57 -0
  118. package/dist/runtime/dashboard/panelSync.d.ts.map +1 -0
  119. package/dist/runtime/dashboardRuntime.d.ts +3 -20
  120. package/dist/runtime/dashboardRuntime.d.ts.map +1 -1
  121. package/dist/runtime/datasetResources.d.ts +29 -1
  122. package/dist/runtime/datasetResources.d.ts.map +1 -1
  123. package/dist/runtime/define/spec.d.ts +2 -1
  124. package/dist/runtime/define/spec.d.ts.map +1 -1
  125. package/dist/runtime/failure/failures.d.ts.map +1 -1
  126. package/dist/runtime/failure/issueReport.d.ts.map +1 -1
  127. package/dist/runtime/generations.d.ts +89 -0
  128. package/dist/runtime/generations.d.ts.map +1 -0
  129. package/dist/runtime/instanceWrites.d.ts.map +1 -1
  130. package/dist/runtime/panelViews.d.ts.map +1 -1
  131. package/dist/runtime/permissions.d.ts.map +1 -1
  132. package/dist/runtime/preferences.d.ts +37 -11
  133. package/dist/runtime/preferences.d.ts.map +1 -1
  134. package/dist/runtime/recordRuntime.d.ts +13 -0
  135. package/dist/runtime/recordRuntime.d.ts.map +1 -1
  136. package/dist/runtime/resources.d.ts +4 -1
  137. package/dist/runtime/resources.d.ts.map +1 -1
  138. package/dist/runtime/restyle.d.ts +17 -12
  139. package/dist/runtime/restyle.d.ts.map +1 -1
  140. package/dist/runtime/summaries.d.ts +16 -2
  141. package/dist/runtime/summaries.d.ts.map +1 -1
  142. package/dist/runtime/tabMemory.d.ts +11 -4
  143. package/dist/runtime/tabMemory.d.ts.map +1 -1
  144. package/dist/runtime/validateDefinition.d.ts.map +1 -1
  145. package/dist/runtime/validateSystemViews.d.ts +10 -0
  146. package/dist/runtime/validateSystemViews.d.ts.map +1 -0
  147. package/dist/runtime/viewEngine.d.ts +11 -6
  148. package/dist/runtime/viewEngine.d.ts.map +1 -1
  149. package/dist/runtime/viewOpening.d.ts +30 -0
  150. package/dist/runtime/viewOpening.d.ts.map +1 -0
  151. package/dist/runtime/viewRuntime.d.ts +3 -1
  152. package/dist/runtime/viewRuntime.d.ts.map +1 -1
  153. package/dist/runtime/viewRuntimeTypes.d.ts +29 -3
  154. package/dist/runtime/viewRuntimeTypes.d.ts.map +1 -1
  155. package/dist/runtime/write.d.ts +11 -0
  156. package/dist/runtime/write.d.ts.map +1 -1
  157. package/dist/runtime/writeEffects.d.ts +16 -0
  158. package/dist/runtime/writeEffects.d.ts.map +1 -0
  159. package/dist/runtime/writeLedger.d.ts +13 -12
  160. package/dist/runtime/writeLedger.d.ts.map +1 -1
  161. package/dist/store/MemoryViewStore.d.ts +8 -0
  162. package/dist/store/MemoryViewStore.d.ts.map +1 -1
  163. package/dist/store/ViewStore.d.ts +16 -0
  164. package/dist/store/ViewStore.d.ts.map +1 -1
  165. package/dist/styles.css +1 -1
  166. package/dist/testing/filter.d.ts +13 -5
  167. package/dist/testing/filter.d.ts.map +1 -1
  168. package/dist/testing/source.d.ts +8 -0
  169. package/dist/testing/source.d.ts.map +1 -1
  170. package/dist/testing.js +133 -134
  171. package/dist/testing.js.map +1 -1
  172. package/dist/theme-check.mjs +206 -222
  173. package/dist/theme-source.css +265 -109
  174. package/dist/theme-tokens.json +293 -441
  175. package/dist/themes/contrast.css +12 -12
  176. package/dist/themes.css +12 -276
  177. package/dist/ui/DashboardWorkbench.d.ts +2 -2
  178. package/dist/ui/DataWorkbench.d.ts +2 -2
  179. package/dist/ui/ViewHost.d.ts +11 -1
  180. package/dist/ui/ViewHost.d.ts.map +1 -1
  181. package/dist/ui/actions/ActionButtons.d.ts +7 -1
  182. package/dist/ui/actions/ActionButtons.d.ts.map +1 -1
  183. package/dist/ui/actions/ActionDialog.d.ts.map +1 -1
  184. package/dist/ui/actions/ActionSurface.d.ts +6 -0
  185. package/dist/ui/actions/ActionSurface.d.ts.map +1 -1
  186. package/dist/ui/actions/BulkStatus.d.ts.map +1 -1
  187. package/dist/ui/analysis/DimensionCard.d.ts.map +1 -1
  188. package/dist/ui/analysis/DisplayTab.d.ts.map +1 -1
  189. package/dist/ui/analysis/ElementsSlot.d.ts.map +1 -1
  190. package/dist/ui/analysis/HavingRows.d.ts.map +1 -1
  191. package/dist/ui/analysis/MetricSlot.d.ts.map +1 -1
  192. package/dist/ui/analysis/RangeSlot.d.ts.map +1 -1
  193. package/dist/ui/analysis/TopRow.d.ts.map +1 -1
  194. package/dist/ui/analysis/cartesianSpec.d.ts +1 -1
  195. package/dist/ui/analysis/exportOffer.d.ts.map +1 -1
  196. package/dist/ui/charts/EChart.d.ts +5 -7
  197. package/dist/ui/charts/EChart.d.ts.map +1 -1
  198. package/dist/ui/charts/MetricCard.d.ts.map +1 -1
  199. package/dist/ui/charts/PieSlices.d.ts.map +1 -1
  200. package/dist/ui/charts/candlestickOption.d.ts +1 -1
  201. package/dist/ui/charts/cartesianPlan.d.ts +0 -30
  202. package/dist/ui/charts/cartesianPlan.d.ts.map +1 -1
  203. package/dist/ui/charts/cartesianStacks.d.ts +36 -0
  204. package/dist/ui/charts/cartesianStacks.d.ts.map +1 -0
  205. package/dist/ui/charts/cartesianTooltip.d.ts.map +1 -1
  206. package/dist/ui/charts/pieOption.d.ts +10 -0
  207. package/dist/ui/charts/pieOption.d.ts.map +1 -1
  208. package/dist/ui/charts/theme.d.ts +35 -12
  209. package/dist/ui/charts/theme.d.ts.map +1 -1
  210. package/dist/ui/charts/waterfallOption.d.ts +4 -3
  211. package/dist/ui/charts/waterfallOption.d.ts.map +1 -1
  212. package/dist/ui/columns/ColumnRegion.d.ts +27 -0
  213. package/dist/ui/columns/ColumnRegion.d.ts.map +1 -0
  214. package/dist/ui/columns/ColumnSettings.d.ts.map +1 -1
  215. package/dist/ui/dashboard/DashboardPanelCard.d.ts.map +1 -1
  216. package/dist/ui/dashboard/FilterSheet.d.ts.map +1 -1
  217. package/dist/ui/dashboard/FilterWiring.d.ts.map +1 -1
  218. package/dist/ui/dashboard/OpensNumber.d.ts +17 -0
  219. package/dist/ui/dashboard/OpensNumber.d.ts.map +1 -0
  220. package/dist/ui/dashboard/PanelHeader.d.ts +18 -0
  221. package/dist/ui/dashboard/PanelHeader.d.ts.map +1 -0
  222. package/dist/ui/dashboard/gridWidth.d.ts +6 -0
  223. package/dist/ui/dashboard/gridWidth.d.ts.map +1 -1
  224. package/dist/ui/embed/EmbeddedAnalysis.d.ts.map +1 -1
  225. package/dist/ui/embed/EmbeddedRecord.d.ts.map +1 -1
  226. package/dist/ui/filter/AppliedBar.d.ts.map +1 -1
  227. package/dist/ui/filter/ConditionPill.d.ts.map +1 -1
  228. package/dist/ui/filter/NestedPredicate.d.ts +23 -0
  229. package/dist/ui/filter/NestedPredicate.d.ts.map +1 -0
  230. package/dist/ui/filter/inputs/number.d.ts +1 -1
  231. package/dist/ui/filter/inputs/number.d.ts.map +1 -1
  232. package/dist/ui/filter/inputs/shared.d.ts +1 -1
  233. package/dist/ui/filter/inputs/shared.d.ts.map +1 -1
  234. package/dist/ui/index.d.ts +3 -2
  235. package/dist/ui/index.d.ts.map +1 -1
  236. package/dist/ui/kit/DragHandle.d.ts +7 -1
  237. package/dist/ui/kit/DragHandle.d.ts.map +1 -1
  238. package/dist/ui/kit/IconButton.d.ts +10 -1
  239. package/dist/ui/kit/IconButton.d.ts.map +1 -1
  240. package/dist/ui/kit/PendingDot.d.ts +2 -1
  241. package/dist/ui/kit/PendingDot.d.ts.map +1 -1
  242. package/dist/ui/kit/alerts.d.ts.map +1 -1
  243. package/dist/ui/kit/characterKeys.d.ts +10 -0
  244. package/dist/ui/kit/characterKeys.d.ts.map +1 -0
  245. package/dist/ui/kit/display.d.ts +0 -31
  246. package/dist/ui/kit/display.d.ts.map +1 -1
  247. package/dist/ui/kit/displayTime.d.ts +58 -0
  248. package/dist/ui/kit/displayTime.d.ts.map +1 -0
  249. package/dist/ui/kit/frames.d.ts +233 -0
  250. package/dist/ui/kit/frames.d.ts.map +1 -0
  251. package/dist/ui/kit/keptFocus.d.ts +35 -0
  252. package/dist/ui/kit/keptFocus.d.ts.map +1 -0
  253. package/dist/ui/kit/pills.d.ts +70 -0
  254. package/dist/ui/kit/pills.d.ts.map +1 -0
  255. package/dist/ui/kit/popupLayer.d.ts +160 -0
  256. package/dist/ui/kit/popupLayer.d.ts.map +1 -0
  257. package/dist/ui/kit/popups.d.ts +20 -3
  258. package/dist/ui/kit/popups.d.ts.map +1 -1
  259. package/dist/ui/kit/presets.d.ts +1 -5
  260. package/dist/ui/kit/presets.d.ts.map +1 -1
  261. package/dist/ui/kit/stale.d.ts +30 -0
  262. package/dist/ui/kit/stale.d.ts.map +1 -0
  263. package/dist/ui/kit/variants.d.ts +11 -313
  264. package/dist/ui/kit/variants.d.ts.map +1 -1
  265. package/dist/ui/manage/ViewManager.d.ts.map +1 -1
  266. package/dist/ui/manage/ViewManagerRow.d.ts.map +1 -1
  267. package/dist/ui/messages/actions.d.ts +1 -0
  268. package/dist/ui/messages/actions.d.ts.map +1 -1
  269. package/dist/ui/messages/analysis.d.ts +1 -438
  270. package/dist/ui/messages/analysis.d.ts.map +1 -1
  271. package/dist/ui/messages/chart.d.ts +257 -0
  272. package/dist/ui/messages/chart.d.ts.map +1 -0
  273. package/dist/ui/messages/chartIssues.d.ts +95 -0
  274. package/dist/ui/messages/chartIssues.d.ts.map +1 -0
  275. package/dist/ui/messages/chartReading.d.ts +112 -0
  276. package/dist/ui/messages/chartReading.d.ts.map +1 -0
  277. package/dist/ui/messages/dashboard.d.ts +1 -0
  278. package/dist/ui/messages/dashboard.d.ts.map +1 -1
  279. package/dist/ui/messages/definition.d.ts +3 -0
  280. package/dist/ui/messages/definition.d.ts.map +1 -1
  281. package/dist/ui/messages/en.d.ts +416 -409
  282. package/dist/ui/messages/en.d.ts.map +1 -1
  283. package/dist/ui/messages/save.d.ts +1 -0
  284. package/dist/ui/messages/save.d.ts.map +1 -1
  285. package/dist/ui/messages/scope.d.ts +1 -0
  286. package/dist/ui/messages/scope.d.ts.map +1 -1
  287. package/dist/ui/messages/view.d.ts +1 -1
  288. package/dist/ui/messages/view.d.ts.map +1 -1
  289. package/dist/ui/messages/zh-CN/actions.d.ts +33 -0
  290. package/dist/ui/messages/zh-CN/actions.d.ts.map +1 -0
  291. package/dist/ui/messages/zh-CN/analysis.d.ts +286 -0
  292. package/dist/ui/messages/zh-CN/analysis.d.ts.map +1 -0
  293. package/dist/ui/messages/zh-CN/building.d.ts +64 -0
  294. package/dist/ui/messages/zh-CN/building.d.ts.map +1 -0
  295. package/dist/ui/messages/zh-CN/bulk.d.ts +28 -0
  296. package/dist/ui/messages/zh-CN/bulk.d.ts.map +1 -0
  297. package/dist/ui/messages/zh-CN/capabilities.d.ts +42 -0
  298. package/dist/ui/messages/zh-CN/capabilities.d.ts.map +1 -0
  299. package/dist/ui/messages/zh-CN/chart.d.ts +256 -0
  300. package/dist/ui/messages/zh-CN/chart.d.ts.map +1 -0
  301. package/dist/ui/messages/zh-CN/chartIssues.d.ts +96 -0
  302. package/dist/ui/messages/zh-CN/chartIssues.d.ts.map +1 -0
  303. package/dist/ui/messages/zh-CN/chartReading.d.ts +112 -0
  304. package/dist/ui/messages/zh-CN/chartReading.d.ts.map +1 -0
  305. package/dist/ui/messages/zh-CN/clicks.d.ts +85 -0
  306. package/dist/ui/messages/zh-CN/clicks.d.ts.map +1 -0
  307. package/dist/ui/messages/zh-CN/config.d.ts +17 -0
  308. package/dist/ui/messages/zh-CN/config.d.ts.map +1 -0
  309. package/dist/ui/messages/zh-CN/dashboard.d.ts +316 -0
  310. package/dist/ui/messages/zh-CN/dashboard.d.ts.map +1 -0
  311. package/dist/ui/messages/zh-CN/datasets.d.ts +15 -0
  312. package/dist/ui/messages/zh-CN/datasets.d.ts.map +1 -0
  313. package/dist/ui/messages/zh-CN/definition.d.ts +78 -0
  314. package/dist/ui/messages/zh-CN/definition.d.ts.map +1 -0
  315. package/dist/ui/messages/zh-CN/embed.d.ts +13 -0
  316. package/dist/ui/messages/zh-CN/embed.d.ts.map +1 -0
  317. package/dist/ui/messages/zh-CN/export.d.ts +46 -0
  318. package/dist/ui/messages/zh-CN/export.d.ts.map +1 -0
  319. package/dist/ui/messages/zh-CN/filter.d.ts +269 -0
  320. package/dist/ui/messages/zh-CN/filter.d.ts.map +1 -0
  321. package/dist/ui/messages/zh-CN/filters.d.ts +80 -0
  322. package/dist/ui/messages/zh-CN/filters.d.ts.map +1 -0
  323. package/dist/ui/messages/zh-CN/header.d.ts +25 -0
  324. package/dist/ui/messages/zh-CN/header.d.ts.map +1 -0
  325. package/dist/ui/messages/zh-CN/manage.d.ts +46 -0
  326. package/dist/ui/messages/zh-CN/manage.d.ts.map +1 -0
  327. package/dist/ui/messages/zh-CN/record.d.ts +205 -0
  328. package/dist/ui/messages/zh-CN/record.d.ts.map +1 -0
  329. package/dist/ui/messages/zh-CN/refresh.d.ts +17 -0
  330. package/dist/ui/messages/zh-CN/refresh.d.ts.map +1 -0
  331. package/dist/ui/messages/zh-CN/render.d.ts +12 -0
  332. package/dist/ui/messages/zh-CN/render.d.ts.map +1 -0
  333. package/dist/ui/messages/zh-CN/reorder.d.ts +14 -0
  334. package/dist/ui/messages/zh-CN/reorder.d.ts.map +1 -0
  335. package/dist/ui/messages/zh-CN/save.d.ts +62 -0
  336. package/dist/ui/messages/zh-CN/save.d.ts.map +1 -0
  337. package/dist/ui/messages/zh-CN/scope.d.ts +27 -0
  338. package/dist/ui/messages/zh-CN/scope.d.ts.map +1 -0
  339. package/dist/ui/messages/zh-CN/status.d.ts +36 -0
  340. package/dist/ui/messages/zh-CN/status.d.ts.map +1 -0
  341. package/dist/ui/messages/zh-CN/view.d.ts +175 -0
  342. package/dist/ui/messages/zh-CN/view.d.ts.map +1 -0
  343. package/dist/ui/messages/zh-CN/workbench.d.ts +18 -0
  344. package/dist/ui/messages/zh-CN/workbench.d.ts.map +1 -0
  345. package/dist/ui/messages/zh-CN.d.ts +4 -0
  346. package/dist/ui/messages/zh-CN.d.ts.map +1 -1
  347. package/dist/ui/record/DetailStructure.d.ts.map +1 -1
  348. package/dist/ui/record/RecordCards.d.ts +3 -1
  349. package/dist/ui/record/RecordCards.d.ts.map +1 -1
  350. package/dist/ui/record/RecordDetail.d.ts +7 -1
  351. package/dist/ui/record/RecordDetail.d.ts.map +1 -1
  352. package/dist/ui/record/RecordKanban.d.ts +3 -1
  353. package/dist/ui/record/RecordKanban.d.ts.map +1 -1
  354. package/dist/ui/record/RecordTable.d.ts +6 -1
  355. package/dist/ui/record/RecordTable.d.ts.map +1 -1
  356. package/dist/ui/record/RowCheckbox.d.ts.map +1 -1
  357. package/dist/ui/record/SortableHeader.d.ts.map +1 -1
  358. package/dist/ui/record/cells.d.ts.map +1 -1
  359. package/dist/ui/record/exportOffer.d.ts.map +1 -1
  360. package/dist/ui/sort/SortSettings.d.ts.map +1 -1
  361. package/dist/ui/sort/SortSummary.d.ts +73 -0
  362. package/dist/ui/sort/SortSummary.d.ts.map +1 -0
  363. package/dist/ui/theme/entry.d.ts +223 -0
  364. package/dist/ui/theme/entry.d.ts.map +1 -0
  365. package/dist/ui/theme/pairs.d.ts +1 -12
  366. package/dist/ui/theme/pairs.d.ts.map +1 -1
  367. package/dist/ui/theme/tokens.d.ts +152 -215
  368. package/dist/ui/theme/tokens.d.ts.map +1 -1
  369. package/dist/ui/workbench/AnalysisParts.d.ts.map +1 -1
  370. package/dist/ui/workbench/MoreViewActions.d.ts.map +1 -1
  371. package/dist/ui/workbench/OpenViewColumn.d.ts +28 -0
  372. package/dist/ui/workbench/OpenViewColumn.d.ts.map +1 -0
  373. package/dist/ui/workbench/OpeningSkeleton.d.ts.map +1 -1
  374. package/dist/ui/workbench/RecordParts.d.ts.map +1 -1
  375. package/dist/ui/workbench/SaveActions.d.ts.map +1 -1
  376. package/dist/ui/workbench/SaveAsDialog.d.ts +7 -1
  377. package/dist/ui/workbench/SaveAsDialog.d.ts.map +1 -1
  378. package/dist/ui/workbench/SearchBox.d.ts.map +1 -1
  379. package/dist/ui/workbench/Sidebar.d.ts.map +1 -1
  380. package/dist/ui/workbench/TitleBar.d.ts.map +1 -1
  381. package/dist/ui/workbench/ViewEngineProvider.d.ts +3 -1
  382. package/dist/ui/workbench/ViewEngineProvider.d.ts.map +1 -1
  383. package/dist/ui/workbench/ViewList.d.ts.map +1 -1
  384. package/dist/ui/workbench/WorkbenchShell.d.ts +6 -9
  385. package/dist/ui/workbench/WorkbenchShell.d.ts.map +1 -1
  386. package/dist/ui/workbench/WriteOutcome.d.ts.map +1 -1
  387. package/dist/ui/workbench/address.d.ts +4 -2
  388. package/dist/ui/workbench/address.d.ts.map +1 -1
  389. package/dist/ui/workbench/useSidebarFold.d.ts +16 -27
  390. package/dist/ui/workbench/useSidebarFold.d.ts.map +1 -1
  391. package/dist/ui/workbench/useWorkbenchFolds.d.ts +1 -1
  392. package/dist/ui/workbench/useWorkbenchFolds.d.ts.map +1 -1
  393. package/dist/ui.js +13891 -13604
  394. package/dist/ui.js.map +1 -1
  395. package/dist/{viewRuntimeTypes-BCdG5xRp.js → viewEngine-DL-S0OAZ.js} +1937 -1622
  396. package/dist/viewEngine-DL-S0OAZ.js.map +1 -0
  397. package/package.json +18 -18
  398. package/dist/actions-BWlediub.js.map +0 -1
  399. package/dist/react-D1wSQhlr.js +0 -4196
  400. package/dist/react-D1wSQhlr.js.map +0 -1
  401. package/dist/themes/azure.css +0 -126
  402. package/dist/themes/porcelain.css +0 -136
  403. package/dist/viewRuntimeTypes-BCdG5xRp.js.map +0 -1
@@ -0,0 +1,160 @@
1
+ /**
2
+ * What every popup here stands on: the surface's theme carried onto a portal
3
+ * that is outside it, and a layer of its own.
4
+ *
5
+ * A popup is portalled to `<body>`, outside `.fve-root`, so its class takes
6
+ * the root's in front (`themedClass`), its style the surface's type and host
7
+ * variables (`useSurfaceType`) and the popup layer (`layered`, `POPUP_LAYER`).
8
+ * Beside them are the classes each popup and positioner is drawn with: the
9
+ * registry's own, copied verbatim from `components/` (which
10
+ * `test/popups.test.tsx` holds in step by rendering both), and the few this
11
+ * package adds on purpose, each named and said why. The popups themselves are
12
+ * `popups.tsx`.
13
+ */
14
+ import type * as React from 'react';
15
+ type ClassName<S> = string | ((state: S) => string | undefined) | undefined;
16
+ /** A popup's own class with `base` in front, whichever form it takes. */
17
+ export declare function withClass<S>(base: string, className: ClassName<S>): ClassName<S>;
18
+ /** The popup's own class with the root's in front, whichever form it takes. */
19
+ export declare function themedClass<S>(className: ClassName<S>): ClassName<S>;
20
+ type Style<S> = React.CSSProperties | ((state: S) => React.CSSProperties | undefined) | undefined;
21
+ /**
22
+ * A popup's own style over the layer below, whichever form it takes.
23
+ *
24
+ * Merged rather than replaced, and in this order: a caller that sets an
25
+ * unrelated property keeps the layer, and a caller that really means to move
26
+ * this one popup still wins. Replacing would be the worse half of both — a
27
+ * dialog's backdrop stays on the layer whatever its popup does, so a popup
28
+ * that lost it would end up behind the dimming it brought with it.
29
+ */
30
+ export declare function layered<S>(style: Style<S>): Style<S>;
31
+ /**
32
+ * A popup's own style over the type of the surface it opened from, and over
33
+ * the host variables that surface was handed (`tokens`), which are on no
34
+ * ancestor of the portal either.
35
+ *
36
+ * The popup is portalled to `<body>`, so the family it would inherit is the
37
+ * body's, and a host that sets its type on an application frame rather than
38
+ * on the body leaves that at the browser's serif default. The stylesheet sets
39
+ * a root in `var(--_fve-surface-font, var(--fve-font-sans))`, and this writes the
40
+ * surface's computed family into the first on the popup itself — the one
41
+ * element of the portal the stylesheet reaches — so the popup reads exactly
42
+ * as the surface does, whichever preset, host variable or inherited family
43
+ * put it there. It is a custom property rather than `font-family`, so the
44
+ * theme stays the stylesheet's to say; before the surface has read its own
45
+ * type there is nothing to write, and the style is the caller's alone.
46
+ */
47
+ export declare function useSurfaceType<S>(style: Style<S>): Style<S>;
48
+ /**
49
+ * The layer every popup here paints on, written as a style and not a class.
50
+ *
51
+ * The element that has to carry it is the *positioner*, the box Base UI puts
52
+ * around a popup to place it against its trigger — and the positioner is not
53
+ * a `.fve-root`. The build pins every rule of `src/styles.css` to
54
+ * `:where(.fve-root, .fve-root *)`, so the registry's own `isolate z-50` on
55
+ * the positioner matches nothing and it computes to `z-index: auto`; and the
56
+ * `z-50` on the content inside it cannot escape, because the layout engine
57
+ * writes `transform: translate(x, y)` on the positioner, which makes it a
58
+ * stacking context. A popup left that way paints at level 0 and stays on top
59
+ * only because its portal appends it to the end of `<body>` — so anything a
60
+ * host raises above level 0 covers every popup this package opens. A style
61
+ * needs neither the stylesheet nor a root to apply, which is the one thing
62
+ * that is true wherever a portal puts the popup.
63
+ *
64
+ * `--fve-popup-z-index` is the host's way in: a page whose own chrome stacks
65
+ * above 50 sets it on `:root` like any `--fve-*` token, and every popup here
66
+ * moves together. Below it the dialog's two elements read the same variable,
67
+ * so one number governs the lot.
68
+ */
69
+ export declare const POPUP_LAYER: React.CSSProperties;
70
+ /**
71
+ * How hard a destructive question dims what is behind it.
72
+ *
73
+ * The registry's own backdrop — `bg-black/10` for both the dialog and the
74
+ * alert dialog — is a tint, and it is the same tint twice: an alert dialog
75
+ * raised from inside a dialog puts 10% black over 10% black, which comes to
76
+ * 19% and reads as one flat surface with a second white card on it. The
77
+ * number below is the dim a modal question is usually given, and it is a
78
+ * deliberate departure from the vendored class rather than drift, which is
79
+ * why it is named here and not folded into the copies above. It is not a
80
+ * theme colour: black at an opacity is what a backdrop is in this registry,
81
+ * light theme and dark alike, and `--fve-*` moves what is *under* it.
82
+ *
83
+ * Only the destructive dialog takes it. A plain `Dialog` — save-as, the
84
+ * manager, the export window — is a place to do something rather than a
85
+ * question with a cost, and the registry's tint is right for those: they
86
+ * are the ones a user reads the page *around*.
87
+ */
88
+ export declare const ALERT_DIALOG_BACKDROP_DIM = "fve:bg-black/50";
89
+ /**
90
+ * The edge the destructive dialog's own card is raised by, over the ring the
91
+ * registry gives it.
92
+ *
93
+ * A scrim separates two surfaces by darkening the lower one, and near black
94
+ * there is nothing left to darken: the dark theme paints both this card and
95
+ * the manager under it in `--popover` (`oklch(0.205)`), and 50% black takes
96
+ * the lower one from `rgb(23,23,23)` to `rgb(12,12,12)` — **1.09:1**, which
97
+ * is below even the 1.5 this package holds a dark hairline to. So the upper
98
+ * layer carries its own edge: the registry's `ring-foreground/10` is a hint
99
+ * on a page that has nothing else on it, and this is the same ring at the
100
+ * weight a card standing on another card needs. It is a semantic token at a
101
+ * different opacity, so it flips with the theme and moves with the host's
102
+ * `--fve-foreground` like the ring it replaces.
103
+ *
104
+ * It is the one class this copy adds to the vendored popup's, which is why
105
+ * it is named here rather than edited into `ALERT_DIALOG_POPUP_CLASS` — the
106
+ * copy stays a copy, and `test/popups.test.tsx` names this addition
107
+ * alongside the root class when it compares the two renders.
108
+ */
109
+ export declare const ALERT_DIALOG_RAISED = "fve:ring-foreground/40";
110
+ /** The vendored positioner's classes, copied verbatim from `components/`. */
111
+ export declare const POSITIONER_CLASS = "fve:isolate fve:z-50";
112
+ export declare const MENU_POSITIONER_CLASS = "fve:isolate fve:z-50 fve:outline-none";
113
+ /** The vendored popups' classes, copied verbatim from `components/`. */
114
+ export declare const ALERT_DIALOG_POPUP_CLASS = "fve:group/alert-dialog-content fve:fixed fve:top-1/2 fve:left-1/2 fve:z-50 fve:grid fve:w-full fve:max-h-[calc(100dvh-2rem)] fve:overflow-y-auto fve:[overflow-wrap:anywhere] fve:-translate-x-1/2 fve:-translate-y-1/2 fve:gap-4 fve:rounded-xl fve:bg-popover fve:p-4 fve:text-popover-foreground fve:ring-1 fve:ring-foreground/10 fve:duration-100 fve:outline-none fve:data-[size=default]:max-w-xs fve:data-[size=sm]:max-w-xs fve:data-[size=default]:sm:max-w-sm fve:data-open:animate-in fve:data-open:fade-in-0 fve:data-open:zoom-in-95 fve:data-closed:animate-out fve:data-closed:fade-out-0 fve:data-closed:zoom-out-95";
115
+ export declare const COMBOBOX_POPUP_CLASS = "fve:group/combobox-content fve:relative fve:max-h-(--available-height) fve:w-(--anchor-width) fve:max-w-(--available-width) fve:min-w-[calc(var(--anchor-width)+--spacing(7))] fve:origin-(--transform-origin) fve:overflow-hidden fve:rounded-lg fve:bg-popover fve:text-popover-foreground fve:shadow-md fve:ring-1 fve:ring-foreground/10 fve:duration-100 fve:data-[chips=true]:min-w-(--anchor-width) fve:data-[side=bottom]:slide-in-from-top-2 fve:data-[side=inline-end]:slide-in-from-left-2 fve:data-[side=inline-start]:slide-in-from-right-2 fve:data-[side=left]:slide-in-from-right-2 fve:data-[side=right]:slide-in-from-left-2 fve:data-[side=top]:slide-in-from-bottom-2 fve:*:data-[slot=input-group]:m-1 fve:*:data-[slot=input-group]:mb-0 fve:*:data-[slot=input-group]:h-8 fve:*:data-[slot=input-group]:border-input/30 fve:*:data-[slot=input-group]:bg-input/30 fve:*:data-[slot=input-group]:shadow-none fve:data-open:animate-in fve:data-open:fade-in-0 fve:data-open:zoom-in-95 fve:data-closed:animate-out fve:data-closed:fade-out-0 fve:data-closed:zoom-out-95";
116
+ /**
117
+ * A dialog never runs past the viewport: taller content scrolls inside it
118
+ * (`max-h` one rem from each edge). A dialog whose body is a long list makes
119
+ * that list the scroller instead, so its heading stays (`ViewManager`).
120
+ *
121
+ * Nor does it run past its own width: a word with no break in it — a
122
+ * record's key such as `payment-service:payment:…:(0):pay-0012` — breaks
123
+ * where it must (`overflow-wrap: anywhere`, which also lets the grid track
124
+ * shrink to the dialog). Left to the vendored grid, the key held the track
125
+ * at its own width and pushed the dialog's buttons out of sight.
126
+ */
127
+ export declare const DIALOG_POPUP_CLASS = "fve:fixed fve:top-1/2 fve:left-1/2 fve:z-50 fve:grid fve:w-full fve:max-w-[calc(100%-2rem)] fve:max-h-[calc(100dvh-2rem)] fve:overflow-y-auto fve:[overflow-wrap:anywhere] fve:-translate-x-1/2 fve:-translate-y-1/2 fve:gap-4 fve:rounded-xl fve:bg-popover fve:p-4 fve:text-sm fve:text-popover-foreground fve:ring-1 fve:ring-foreground/10 fve:duration-100 fve:outline-none fve:sm:max-w-sm fve:data-open:animate-in fve:data-open:fade-in-0 fve:data-open:zoom-in-95 fve:data-closed:animate-out fve:data-closed:fade-out-0 fve:data-closed:zoom-out-95";
128
+ /**
129
+ * The menu and the popover depart from the registry by one more class each:
130
+ * `relative`. Each is a scroll port, and Base UI positions the positioner
131
+ * around it and leaves the popup static, so an absolute descendant — an
132
+ * `sr-only` word — is placed against the positioner, outside the popup's
133
+ * clip: a long one's last words hang below it and make the page scroll (a
134
+ * menu 2000px long made a 640px page 2515px tall). The select's and the
135
+ * combobox's popups are `relative` in the registry already.
136
+ */
137
+ export declare const MENU_POPUP_CLASS = "fve:relative fve:z-50 fve:max-h-(--available-height) fve:w-(--anchor-width) fve:min-w-32 fve:origin-(--transform-origin) fve:overflow-x-hidden fve:overflow-y-auto fve:rounded-lg fve:bg-popover fve:p-1 fve:text-popover-foreground fve:shadow-md fve:ring-1 fve:ring-foreground/10 fve:duration-100 fve:outline-none fve:data-[side=bottom]:slide-in-from-top-2 fve:data-[side=inline-end]:slide-in-from-left-2 fve:data-[side=inline-start]:slide-in-from-right-2 fve:data-[side=left]:slide-in-from-right-2 fve:data-[side=right]:slide-in-from-left-2 fve:data-[side=top]:slide-in-from-bottom-2 fve:data-open:animate-in fve:data-open:fade-in-0 fve:data-open:zoom-in-95 fve:data-closed:animate-out fve:data-closed:overflow-hidden fve:data-closed:fade-out-0 fve:data-closed:zoom-out-95";
138
+ /**
139
+ * The one place the copy is deliberately not the registry's: a popover that
140
+ * is taller than the room under its trigger scrolls instead of running off
141
+ * the screen.
142
+ *
143
+ * Every other popup here already does — the select's list, the menu and the
144
+ * combobox all carry `max-h-(--available-height)` with an `overflow-y-auto`
145
+ * under it, and Base UI writes that variable on every positioner, popover's
146
+ * included. The registry's popover is written for the short ones (a form of
147
+ * three fields, a confirmation), and this package opens long ones in it: the
148
+ * column settings list one row per column, and on a twenty-column table the
149
+ * popup grew past the viewport with no way to reach the bottom of it — the
150
+ * page behind does not scroll a portalled popup, and the popup had no
151
+ * scroll port of its own. `test/popups.test.tsx` knows about this pair of
152
+ * classes by name, so the copy is still held to the registry everywhere
153
+ * else.
154
+ */
155
+ export declare const POPOVER_POPUP_CLASS = "fve:relative fve:z-50 fve:flex fve:max-h-(--available-height) fve:w-72 fve:origin-(--transform-origin) fve:flex-col fve:gap-2.5 fve:overflow-y-auto fve:rounded-lg fve:bg-popover fve:p-2.5 fve:text-sm fve:text-popover-foreground fve:shadow-md fve:ring-1 fve:ring-foreground/10 fve:outline-hidden fve:duration-100 fve:data-[side=bottom]:slide-in-from-top-2 fve:data-[side=inline-end]:slide-in-from-left-2 fve:data-[side=inline-start]:slide-in-from-right-2 fve:data-[side=left]:slide-in-from-right-2 fve:data-[side=right]:slide-in-from-left-2 fve:data-[side=top]:slide-in-from-bottom-2 fve:data-open:animate-in fve:data-open:fade-in-0 fve:data-open:zoom-in-95 fve:data-closed:animate-out fve:data-closed:fade-out-0 fve:data-closed:zoom-out-95";
156
+ export declare const SELECT_POPUP_CLASS = "fve:relative fve:isolate fve:z-50 fve:max-h-(--available-height) fve:w-(--anchor-width) fve:min-w-36 fve:origin-(--transform-origin) fve:overflow-x-hidden fve:overflow-y-auto fve:rounded-lg fve:bg-popover fve:text-popover-foreground fve:shadow-md fve:ring-1 fve:ring-foreground/10 fve:duration-100 fve:data-[align-trigger=true]:animate-none fve:data-[side=bottom]:slide-in-from-top-2 fve:data-[side=inline-end]:slide-in-from-left-2 fve:data-[side=inline-start]:slide-in-from-right-2 fve:data-[side=left]:slide-in-from-right-2 fve:data-[side=right]:slide-in-from-left-2 fve:data-[side=top]:slide-in-from-bottom-2 fve:data-open:animate-in fve:data-open:fade-in-0 fve:data-open:zoom-in-95 fve:data-closed:animate-out fve:data-closed:fade-out-0 fve:data-closed:zoom-out-95";
157
+ export declare const TOOLTIP_POPUP_CLASS = "fve:z-50 fve:inline-flex fve:w-fit fve:max-w-xs fve:origin-(--transform-origin) fve:items-center fve:gap-1.5 fve:rounded-md fve:bg-foreground fve:px-3 fve:py-1.5 fve:text-xs fve:text-background fve:has-data-[slot=kbd]:pr-1.5 fve:data-[side=bottom]:slide-in-from-top-2 fve:data-[side=inline-end]:slide-in-from-left-2 fve:data-[side=inline-start]:slide-in-from-right-2 fve:data-[side=left]:slide-in-from-right-2 fve:data-[side=right]:slide-in-from-left-2 fve:data-[side=top]:slide-in-from-bottom-2 fve:**:data-[slot=kbd]:relative fve:**:data-[slot=kbd]:isolate fve:**:data-[slot=kbd]:z-50 fve:**:data-[slot=kbd]:rounded-sm fve:data-[state=delayed-open]:animate-in fve:data-[state=delayed-open]:fade-in-0 fve:data-[state=delayed-open]:zoom-in-95 fve:data-open:animate-in fve:data-open:fade-in-0 fve:data-open:zoom-in-95 fve:data-closed:animate-out fve:data-closed:fade-out-0 fve:data-closed:zoom-out-95";
158
+ export declare const TOOLTIP_ARROW_CLASS = "fve:z-50 fve:size-2.5 fve:translate-y-[calc(-50%-2px)] fve:rotate-45 fve:rounded-[2px] fve:bg-foreground fve:fill-foreground fve:data-[side=bottom]:top-1 fve:data-[side=inline-end]:top-1/2! fve:data-[side=inline-end]:-left-1 fve:data-[side=inline-end]:-translate-y-1/2 fve:data-[side=inline-start]:top-1/2! fve:data-[side=inline-start]:-right-1 fve:data-[side=inline-start]:-translate-y-1/2 fve:data-[side=left]:top-1/2! fve:data-[side=left]:-right-1 fve:data-[side=left]:-translate-y-1/2 fve:data-[side=right]:top-1/2! fve:data-[side=right]:-left-1 fve:data-[side=right]:-translate-y-1/2 fve:data-[side=top]:-bottom-2.5";
159
+ export {};
160
+ //# sourceMappingURL=popupLayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popupLayer.d.ts","sourceRoot":"","sources":["../../../src/ui/kit/popupLayer.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,KAA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iCACkgC,CAAC;AACpiC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,kiBACkgB,CAAC;AACliB;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,uwBACyuB,CAAC;AACvwB;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB,wuBACusB,CAAC;AACxuB,eAAO,MAAM,kBAAkB,qwBACquB,CAAC;AACrwB,eAAO,MAAM,mBAAmB,w4BACu2B,CAAC;AACx4B,eAAO,MAAM,mBAAmB,inBACglB,CAAC"}
@@ -8,6 +8,25 @@ import { PopoverContent as VendoredPopoverContent } from '../components/popover.
8
8
  import { SelectContent as VendoredSelectContent } from '../components/select.js';
9
9
  import { TooltipContent as VendoredTooltipContent } from '../components/tooltip.js';
10
10
  import type * as React from 'react';
11
+ /**
12
+ * The popups this package renders, themed and on a layer of their own.
13
+ *
14
+ * Every token and base rule of the theme hangs off `.fve-root`, so the host
15
+ * page stays untouched. A popup — a select's list, a menu, a popover, a
16
+ * tooltip, a dialog, a combobox — is portalled to the document body, outside
17
+ * that root, and would render without a background or a border. So each one
18
+ * is composed here rather than taken from the registry as it ships: the
19
+ * markup is a faithful copy of the vendored component's, with the root class
20
+ * and the surface's mode on the portalled elements — the pinned `colorMode`
21
+ * when there is one, otherwise the mode the surface resolved from the cascade, so
22
+ * a `.dark` on any ancestor reaches the popup and the class does not have to
23
+ * sit on `<html>`. The stylesheet's `color-scheme` stays the source of
24
+ * truth; nothing here decides the mode. `components/*.tsx` stay as the
25
+ * registry ships them and are updated with `shadcn add --diff`; keep the
26
+ * copies below, and their classes in `popupLayer.ts`, in step when they are,
27
+ * which `test/popups.test.tsx` holds them to by rendering both and comparing
28
+ * what comes out.
29
+ */
11
30
  /**
12
31
  * The destructive dialog's two portalled elements, themed like the plain one.
13
32
  *
@@ -58,12 +77,10 @@ export declare function DialogContent({ className, children, style, showCloseBut
58
77
  * width and at most four fifths of the height, scrolling inside itself, so
59
78
  * the top of the page stays in view above it.
60
79
  */
61
- export declare function SheetContent({ className, children, style, side, showCloseButton, overlayClassName, finalFocus, ...props }: DialogPrimitive.Popup.Props & {
80
+ export declare function SheetContent({ className, children, style, side, showCloseButton, finalFocus, ...props }: DialogPrimitive.Popup.Props & {
62
81
  side?: 'right' | 'bottom';
63
82
  /** The registry's close button; left out where the content has its own. */
64
83
  showCloseButton?: boolean;
65
- /** Classes for the backdrop, beside the root class it always wears. */
66
- overlayClassName?: string;
67
84
  }): React.JSX.Element;
68
85
  type MenuContentProps = React.ComponentProps<typeof VendoredDropdownMenuContent> & {
69
86
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"popups.d.ts","sourceRoot":"","sources":["../../../src/ui/kit/popups.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAM5D,OAAO,EAGL,KAAK,kBAAkB,IAAI,0BAA0B,EACtD,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,KAAK,eAAe,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAC5F,OAAO,EAIL,KAAK,aAAa,IAAI,qBAAqB,EAC5C,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,mBAAmB,IAAI,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AACzG,OAAO,EAAE,KAAK,cAAc,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACzF,OAAO,EAGL,KAAK,aAAa,IAAI,qBAAqB,EAC5C,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,cAAc,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAwNzF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,IAAgB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own look, and the default.
9
- * - `azure` — a Chinese enterprise admin look: a clear blue, 6px corners,
10
- * white cards on a grey page, a type stack with the Chinese faces first.
11
- * - `porcelain` — a native desktop look: the system type, larger corners,
12
- * soft shadows, near-neutral greys.
13
9
  * - `contrast` — high contrast: text at 7:1, edges at 4.5:1, chart
14
10
  * patterns on.
15
11
  *
@@ -19,7 +15,7 @@
19
15
  * There are no display names: the engine draws no picker, and a host that
20
16
  * does names them in its own words.
21
17
  */
22
- export declare const BUILT_IN_PRESETS: readonly ["neutral", "azure", "porcelain", "contrast"];
18
+ export declare const BUILT_IN_PRESETS: readonly ["neutral", "contrast"];
23
19
  /** The name of a preset the package ships. */
24
20
  export type BuiltInPreset = (typeof BUILT_IN_PRESETS)[number];
25
21
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../src/ui/kit/presets.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,gBAAgB,wDAKnB,CAAC;AAEX,8CAA8C;AAC9C,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEvD;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../src/ui/kit/presets.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,gBAAgB,kCAAmC,CAAC;AAEjE,8CAA8C;AAC9C,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEvD;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * How a result says the rows on screen answer an older question than the one
3
+ * on its way (`answeringAnew`): kept, and faded, for as long as the answer
4
+ * takes. One recipe for every result the engine draws — an analysis, a
5
+ * record table, its cards and its kanban, in a workbench, an embed and a
6
+ * board's panel — so a slow answer looks like one still working wherever it
7
+ * is, and never like the new rows.
8
+ *
9
+ * It was the analysis result's alone (2026-09-23 audit), and a record table
10
+ * or a board's panel kept its old rows at full strength under conditions
11
+ * that had already changed. A refresh of the same question is not this: its
12
+ * rows are the answer to what is being asked, and they stay as they are.
13
+ *
14
+ * `STALE` is the fade, worn by the element that carries `data-stale`: it
15
+ * must be one that generates a box, since `opacity` paints nothing on a
16
+ * `display: contents` element.
17
+ */
18
+ export declare const STALE = "fve:data-[stale]:opacity-70 fve:data-[stale]:transition-opacity";
19
+ /**
20
+ * The fade's attribute and `aria-busy`, for an element that holds the rows
21
+ * and nothing that speaks: a table, a grid of cards, a panel's body. A block
22
+ * that says 「正在查询」 from inside itself — a result block with its live
23
+ * region — writes `data-stale` alone: `aria-busy` on it, and the sentence is
24
+ * never read.
25
+ */
26
+ export declare function staleProps(stale: boolean | undefined): {
27
+ 'data-stale'?: true;
28
+ 'aria-busy'?: true;
29
+ };
30
+ //# sourceMappingURL=stale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stale.d.ts","sourceRoot":"","sources":["../../../src/ui/kit/stale.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK,oEACiD,CAAC;AAEpE;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG;IACtD,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB,CAEA"}