@argusvane/datum-form-test 0.0.0-stage → 0.1.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 (552) hide show
  1. package/LICENSE +21 -0
  2. package/NOTICE +26 -0
  3. package/README.md +52 -2
  4. package/bin/datum-form-test.mjs +11 -0
  5. package/dist/bundle-size.txt +3 -0
  6. package/dist/cli.mjs +3 -0
  7. package/dist/datum-form-test.LICENSE.txt +510 -0
  8. package/dist/index.mjs +68728 -0
  9. package/dist/types/engine/form-engine/agent/builder/agent-texts-en.d.ts +53 -0
  10. package/dist/types/engine/form-engine/builder/controller/builder-controller.d.ts +2534 -0
  11. package/dist/types/engine/form-engine/builder/controller/dependents.d.ts +122 -0
  12. package/dist/types/engine/form-engine/builder/controller/language-edits.d.ts +48 -0
  13. package/dist/types/engine/form-engine/builder/controller/simulated-options.d.ts +20 -0
  14. package/dist/types/engine/form-engine/builder/controller/translation-rules.d.ts +71 -0
  15. package/dist/types/engine/form-engine/builder/controller/try-submission.d.ts +45 -0
  16. package/dist/types/engine/form-engine/builder/data/data-loader.d.ts +6 -0
  17. package/dist/types/engine/form-engine/builder/data/data-model-import.d.ts +119 -0
  18. package/dist/types/engine/form-engine/builder/data/data-model-plan.d.ts +52 -0
  19. package/dist/types/engine/form-engine/builder/data/data-surface.d.ts +139 -0
  20. package/dist/types/engine/form-engine/builder/data/data-texts-en.d.ts +205 -0
  21. package/dist/types/engine/form-engine/builder/data/schema-rows.d.ts +56 -0
  22. package/dist/types/engine/form-engine/builder/data-model/compare.d.ts +37 -0
  23. package/dist/types/engine/form-engine/builder/data-model/data-model.d.ts +113 -0
  24. package/dist/types/engine/form-engine/builder/data-model/example.d.ts +6 -0
  25. package/dist/types/engine/form-engine/builder/data-model/from-form.d.ts +43 -0
  26. package/dist/types/engine/form-engine/builder/data-model/from-json-schema.d.ts +22 -0
  27. package/dist/types/engine/form-engine/builder/data-model/from-sample.d.ts +13 -0
  28. package/dist/types/engine/form-engine/builder/data-model/generate.d.ts +101 -0
  29. package/dist/types/engine/form-engine/builder/data-model/index.d.ts +10 -0
  30. package/dist/types/engine/form-engine/builder/data-model/mapping.d.ts +26 -0
  31. package/dist/types/engine/form-engine/builder/data-model/read-input.d.ts +39 -0
  32. package/dist/types/engine/form-engine/builder/data-model/to-json-schema.d.ts +10 -0
  33. package/dist/types/engine/form-engine/builder/definition-budget.d.ts +27 -0
  34. package/dist/types/engine/form-engine/builder/drag-drop/html5-drag-drop.d.ts +57 -0
  35. package/dist/types/engine/form-engine/builder/drag-drop/move-legality.d.ts +23 -0
  36. package/dist/types/engine/form-engine/builder/drag-drop/move-texts-en.d.ts +22 -0
  37. package/dist/types/engine/form-engine/builder/drag-drop/move-ui.d.ts +72 -0
  38. package/dist/types/engine/form-engine/builder/form-tests/tests-accept.d.ts +18 -0
  39. package/dist/types/engine/form-engine/builder/form-tests/tests-add-step.d.ts +51 -0
  40. package/dist/types/engine/form-engine/builder/form-tests/tests-completions.d.ts +66 -0
  41. package/dist/types/engine/form-engine/builder/form-tests/tests-coverage.d.ts +32 -0
  42. package/dist/types/engine/form-engine/builder/form-tests/tests-editor-loader.d.ts +10 -0
  43. package/dist/types/engine/form-engine/builder/form-tests/tests-editor-texts-en.d.ts +72 -0
  44. package/dist/types/engine/form-engine/builder/form-tests/tests-editor.d.ts +50 -0
  45. package/dist/types/engine/form-engine/builder/form-tests/tests-model.d.ts +422 -0
  46. package/dist/types/engine/form-engine/builder/form-tests/tests-panel-styles.d.ts +8 -0
  47. package/dist/types/engine/form-engine/builder/form-tests/tests-panel-texts-en.d.ts +174 -0
  48. package/dist/types/engine/form-engine/builder/form-tests/tests-record.d.ts +55 -0
  49. package/dist/types/engine/form-engine/builder/form-tests/tests-rename.d.ts +93 -0
  50. package/dist/types/engine/form-engine/builder/form-tests/tests-rules.d.ts +42 -0
  51. package/dist/types/engine/form-engine/builder/form-tests/tests-runner.d.ts +2 -0
  52. package/dist/types/engine/form-engine/builder/form-tests/tests-scaffold.d.ts +13 -0
  53. package/dist/types/engine/form-engine/builder/form-tests/tests-textarea.d.ts +88 -0
  54. package/dist/types/engine/form-engine/builder/form-tests/tests-texts-en.d.ts +222 -0
  55. package/dist/types/engine/form-engine/builder/form-tests/tests-words.d.ts +12 -0
  56. package/dist/types/engine/form-engine/builder/formula/feel-functions.d.ts +98 -0
  57. package/dist/types/engine/form-engine/builder/formula/feel-print.d.ts +47 -0
  58. package/dist/types/engine/form-engine/builder/formula/formula-editor-loader.d.ts +16 -0
  59. package/dist/types/engine/form-engine/builder/formula/formula-editor-styles.d.ts +19 -0
  60. package/dist/types/engine/form-engine/builder/formula/formula-editor.d.ts +104 -0
  61. package/dist/types/engine/form-engine/builder/formula/formula-fields.d.ts +44 -0
  62. package/dist/types/engine/form-engine/builder/formula/formula-textarea.d.ts +75 -0
  63. package/dist/types/engine/form-engine/builder/formula/formula-texts-en.d.ts +18 -0
  64. package/dist/types/engine/form-engine/builder/formula/rename.d.ts +98 -0
  65. package/dist/types/engine/form-engine/builder/history/command-history.d.ts +31 -0
  66. package/dist/types/engine/form-engine/builder/history/form-steps-on-page.d.ts +104 -0
  67. package/dist/types/engine/form-engine/builder/history/rename-step.d.ts +68 -0
  68. package/dist/types/engine/form-engine/builder/index.d.ts +48 -0
  69. package/dist/types/engine/form-engine/builder/journey-designer/journey-authoring-texts-en.d.ts +20 -0
  70. package/dist/types/engine/form-engine/builder/journey-designer/journey-authoring.d.ts +119 -0
  71. package/dist/types/engine/form-engine/builder/journey-designer/journey-builder-mode.d.ts +385 -0
  72. package/dist/types/engine/form-engine/builder/journey-designer/journey-catalog.d.ts +212 -0
  73. package/dist/types/engine/form-engine/builder/journey-designer/journey-checks.d.ts +175 -0
  74. package/dist/types/engine/form-engine/builder/journey-designer/journey-components.d.ts +183 -0
  75. package/dist/types/engine/form-engine/builder/journey-designer/journey-config-rename.d.ts +43 -0
  76. package/dist/types/engine/form-engine/builder/journey-designer/journey-designer-panels.d.ts +67 -0
  77. package/dist/types/engine/form-engine/builder/journey-designer/journey-designer.d.ts +296 -0
  78. package/dist/types/engine/form-engine/builder/journey-designer/journey-finding-words.d.ts +30 -0
  79. package/dist/types/engine/form-engine/builder/journey-designer/journey-findings.d.ts +74 -0
  80. package/dist/types/engine/form-engine/builder/journey-designer/journey-from-form.d.ts +89 -0
  81. package/dist/types/engine/form-engine/builder/journey-designer/journey-mode-loader.d.ts +19 -0
  82. package/dist/types/engine/form-engine/builder/journey-designer/journey-mode-model.d.ts +100 -0
  83. package/dist/types/engine/form-engine/builder/journey-designer/journey-preview-texts-en.d.ts +28 -0
  84. package/dist/types/engine/form-engine/builder/journey-designer/journey-preview.d.ts +163 -0
  85. package/dist/types/engine/form-engine/builder/journey-designer/journey-references.d.ts +104 -0
  86. package/dist/types/engine/form-engine/builder/journey-designer/journey-texts-en.d.ts +151 -0
  87. package/dist/types/engine/form-engine/builder/journey-designer/journey-texts.d.ts +51 -0
  88. package/dist/types/engine/form-engine/builder/journey-designer/journey-tree.d.ts +139 -0
  89. package/dist/types/engine/form-engine/builder/journey-designer/journey-try-map.d.ts +49 -0
  90. package/dist/types/engine/form-engine/builder/journey-designer/step-canvas-adapter.d.ts +253 -0
  91. package/dist/types/engine/form-engine/builder/journey-designer/step-history.d.ts +71 -0
  92. package/dist/types/engine/form-engine/builder/journey-designer/step-review.d.ts +79 -0
  93. package/dist/types/engine/form-engine/builder/journey-designer/step-view.d.ts +75 -0
  94. package/dist/types/engine/form-engine/builder/journey-map/journey-map-layout.d.ts +135 -0
  95. package/dist/types/engine/form-engine/builder/journey-map/journey-map-model.d.ts +346 -0
  96. package/dist/types/engine/form-engine/builder/journey-map/journey-map-preferences.d.ts +30 -0
  97. package/dist/types/engine/form-engine/builder/journey-map/journey-map-styles.d.ts +32 -0
  98. package/dist/types/engine/form-engine/builder/journey-map/journey-map-svg.d.ts +17 -0
  99. package/dist/types/engine/form-engine/builder/journey-map/journey-map-texts-en.d.ts +138 -0
  100. package/dist/types/engine/form-engine/builder/journey-map/journey-map.d.ts +138 -0
  101. package/dist/types/engine/form-engine/builder/languages/engine-texts.d.ts +19 -0
  102. package/dist/types/engine/form-engine/builder/languages/exchange.d.ts +199 -0
  103. package/dist/types/engine/form-engine/builder/languages/languages-cells.d.ts +106 -0
  104. package/dist/types/engine/form-engine/builder/languages/languages-exchange-dialog.d.ts +58 -0
  105. package/dist/types/engine/form-engine/builder/languages/languages-exchange-texts-en.d.ts +101 -0
  106. package/dist/types/engine/form-engine/builder/languages/languages-loader.d.ts +7 -0
  107. package/dist/types/engine/form-engine/builder/languages/languages-model.d.ts +180 -0
  108. package/dist/types/engine/form-engine/builder/languages/languages-surface.d.ts +418 -0
  109. package/dist/types/engine/form-engine/builder/languages/languages-texts-en.d.ts +174 -0
  110. package/dist/types/engine/form-engine/builder/logic/builder-texts.d.ts +1127 -0
  111. package/dist/types/engine/form-engine/builder/logic/coverage.d.ts +86 -0
  112. package/dist/types/engine/form-engine/builder/logic/index.d.ts +5 -0
  113. package/dist/types/engine/form-engine/builder/logic/logic-journey-host.d.ts +92 -0
  114. package/dist/types/engine/form-engine/builder/logic/logic-loader.d.ts +7 -0
  115. package/dist/types/engine/form-engine/builder/logic/logic-model.d.ts +158 -0
  116. package/dist/types/engine/form-engine/builder/logic/logic-surface.d.ts +359 -0
  117. package/dist/types/engine/form-engine/builder/logic/logic-texts-en.d.ts +216 -0
  118. package/dist/types/engine/form-engine/builder/logic/logic-types.d.ts +183 -0
  119. package/dist/types/engine/form-engine/builder/overview/overview-loader.d.ts +7 -0
  120. package/dist/types/engine/form-engine/builder/overview/overview-surface.d.ts +84 -0
  121. package/dist/types/engine/form-engine/builder/overview/overview-texts-en.d.ts +27 -0
  122. package/dist/types/engine/form-engine/builder/palette/command-palette.d.ts +46 -0
  123. package/dist/types/engine/form-engine/builder/palette/palette-filter.d.ts +37 -0
  124. package/dist/types/engine/form-engine/builder/palette/palette-loader.d.ts +6 -0
  125. package/dist/types/engine/form-engine/builder/palette/palette-texts-en.d.ts +18 -0
  126. package/dist/types/engine/form-engine/builder/pdf-designer/layout-bindings.d.ts +13 -0
  127. package/dist/types/engine/form-engine/builder/pdf-designer/layout-catalog.d.ts +108 -0
  128. package/dist/types/engine/form-engine/builder/pdf-designer/layout-conditions.d.ts +172 -0
  129. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-builder-mode.d.ts +406 -0
  130. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-canvas-adapters.d.ts +55 -0
  131. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-designer-chunk.d.ts +13 -0
  132. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-designer-loader.d.ts +10 -0
  133. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-designer-panels.d.ts +89 -0
  134. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-designer.d.ts +95 -0
  135. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-layout-texts.d.ts +86 -0
  136. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-mode-loader.d.ts +17 -0
  137. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-mode-model.d.ts +88 -0
  138. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-panel-styles.d.ts +1 -0
  139. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-template-designer.d.ts +139 -0
  140. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-template-source.d.ts +22 -0
  141. package/dist/types/engine/form-engine/builder/pdf-designer/pdf-texts-en.d.ts +405 -0
  142. package/dist/types/engine/form-engine/builder/pdf-designer/template-mode.d.ts +186 -0
  143. package/dist/types/engine/form-engine/builder/pdf-designer/template-pages.d.ts +57 -0
  144. package/dist/types/engine/form-engine/builder/popover-place.d.ts +14 -0
  145. package/dist/types/engine/form-engine/builder/preview/builder-preview-runtime.d.ts +284 -0
  146. package/dist/types/engine/form-engine/builder/print/print-breaks.d.ts +46 -0
  147. package/dist/types/engine/form-engine/builder/print/print-loader.d.ts +6 -0
  148. package/dist/types/engine/form-engine/builder/print/print-preview.d.ts +121 -0
  149. package/dist/types/engine/form-engine/builder/print/print-samples.d.ts +43 -0
  150. package/dist/types/engine/form-engine/builder/print/print-settings-model.d.ts +138 -0
  151. package/dist/types/engine/form-engine/builder/print/print-styles.d.ts +1 -0
  152. package/dist/types/engine/form-engine/builder/print/print-surface.d.ts +284 -0
  153. package/dist/types/engine/form-engine/builder/print/print-texts-en.d.ts +104 -0
  154. package/dist/types/engine/form-engine/builder/property-editor/component-editor-context.d.ts +8 -0
  155. package/dist/types/engine/form-engine/builder/property-editor/component-json.d.ts +83 -0
  156. package/dist/types/engine/form-engine/builder/property-editor/condition-words.d.ts +26 -0
  157. package/dist/types/engine/form-engine/builder/property-editor/css-classes.d.ts +84 -0
  158. package/dist/types/engine/form-engine/builder/property-editor/editor-composer.d.ts +9 -0
  159. package/dist/types/engine/form-engine/builder/property-editor/inspector-model.d.ts +376 -0
  160. package/dist/types/engine/form-engine/builder/property-editor/rule-source.d.ts +8 -0
  161. package/dist/types/engine/form-engine/builder/property-editor/rules-model.d.ts +179 -0
  162. package/dist/types/engine/form-engine/builder/tree-editor/nested-tree-view.d.ts +43 -0
  163. package/dist/types/engine/form-engine/builder/tree-editor/slot-constraints.d.ts +17 -0
  164. package/dist/types/engine/form-engine/builder/tree-editor/tree-editor.d.ts +185 -0
  165. package/dist/types/engine/form-engine/builder/web-component/assistants-settings.d.ts +43 -0
  166. package/dist/types/engine/form-engine/builder/web-component/builder-chrome-panel.d.ts +179 -0
  167. package/dist/types/engine/form-engine/builder/web-component/builder-features.d.ts +97 -0
  168. package/dist/types/engine/form-engine/builder/web-component/builder-form-fields-panel.d.ts +42 -0
  169. package/dist/types/engine/form-engine/builder/web-component/builder-modes.d.ts +704 -0
  170. package/dist/types/engine/form-engine/builder/web-component/builder-outline.d.ts +24 -0
  171. package/dist/types/engine/form-engine/builder/web-component/builder-panels.d.ts +1872 -0
  172. package/dist/types/engine/form-engine/builder/web-component/builder-shared.d.ts +917 -0
  173. package/dist/types/engine/form-engine/builder/web-component/builder-tests-panel.d.ts +454 -0
  174. package/dist/types/engine/form-engine/builder/web-component/builder-theme-registry.d.ts +36 -0
  175. package/dist/types/engine/form-engine/builder/web-component/builder-variables-panel.d.ts +158 -0
  176. package/dist/types/engine/form-engine/builder/web-component/canvas-hooks.d.ts +53 -0
  177. package/dist/types/engine/form-engine/builder/web-component/chrome-panel-loader.d.ts +17 -0
  178. package/dist/types/engine/form-engine/builder/web-component/default-builder-element.d.ts +2012 -0
  179. package/dist/types/engine/form-engine/builder/web-component/definition-size.d.ts +12 -0
  180. package/dist/types/engine/form-engine/builder/web-component/dialog-frame.d.ts +36 -0
  181. package/dist/types/engine/form-engine/builder/web-component/formula-settings.d.ts +31 -0
  182. package/dist/types/engine/form-engine/builder/web-component/host-control-styles.d.ts +38 -0
  183. package/dist/types/engine/form-engine/builder/web-component/json-viewer-loader.d.ts +18 -0
  184. package/dist/types/engine/form-engine/builder/web-component/json-viewer.d.ts +38 -0
  185. package/dist/types/engine/form-engine/builder/web-component/modal-place.d.ts +55 -0
  186. package/dist/types/engine/form-engine/builder/web-component/palette-glyphs.d.ts +14 -0
  187. package/dist/types/engine/form-engine/builder/web-component/panel-memory.d.ts +68 -0
  188. package/dist/types/engine/form-engine/builder/web-component/phone-menu.d.ts +67 -0
  189. package/dist/types/engine/form-engine/builder/web-component/phone-styles.d.ts +30 -0
  190. package/dist/types/engine/form-engine/builder/web-component/remote-images.d.ts +25 -0
  191. package/dist/types/engine/form-engine/builder/web-component/sheet-gestures.d.ts +59 -0
  192. package/dist/types/engine/form-engine/builder/web-component/starter-submit.d.ts +14 -0
  193. package/dist/types/engine/form-engine/builder/web-component/studio-dark-theme.d.ts +22 -0
  194. package/dist/types/engine/form-engine/builder/web-component/studio-tokens.d.ts +46 -0
  195. package/dist/types/engine/form-engine/builder/web-component/surface-sheet.d.ts +31 -0
  196. package/dist/types/engine/form-engine/builder/web-component/tests-panel-loader.d.ts +17 -0
  197. package/dist/types/engine/form-engine/builder/web-component/toolbar-roving.d.ts +21 -0
  198. package/dist/types/engine/form-engine/builder/web-component/try-it-types.d.ts +262 -0
  199. package/dist/types/engine/form-engine/builder/web-component/try-it.d.ts +85 -0
  200. package/dist/types/engine/form-engine/builder/web-component/try-texts-en.d.ts +64 -0
  201. package/dist/types/engine/form-engine/builder/web-component/variables-panel-loader.d.ts +17 -0
  202. package/dist/types/engine/form-engine/core/accessibility/accessibility-semantics.d.ts +51 -0
  203. package/dist/types/engine/form-engine/core/accessibility/keyboard-navigation.d.ts +8 -0
  204. package/dist/types/engine/form-engine/core/crypto/sha256.d.ts +18 -0
  205. package/dist/types/engine/form-engine/core/errors/error-navigation.d.ts +14 -0
  206. package/dist/types/engine/form-engine/core/errors/form-error.d.ts +32 -0
  207. package/dist/types/engine/form-engine/core/events/event-bus.d.ts +18 -0
  208. package/dist/types/engine/form-engine/core/events/event-types.d.ts +236 -0
  209. package/dist/types/engine/form-engine/core/events/hooks.d.ts +107 -0
  210. package/dist/types/engine/form-engine/core/expressions/compile.d.ts +565 -0
  211. package/dist/types/engine/form-engine/core/expressions/condition-shape.d.ts +11 -0
  212. package/dist/types/engine/form-engine/core/expressions/definition-structure.d.ts +329 -0
  213. package/dist/types/engine/form-engine/core/expressions/expression.d.ts +102 -0
  214. package/dist/types/engine/form-engine/core/expressions/formula-types.d.ts +114 -0
  215. package/dist/types/engine/form-engine/core/expressions/formula.d.ts +150 -0
  216. package/dist/types/engine/form-engine/core/expressions/function-docs.d.ts +13 -0
  217. package/dist/types/engine/form-engine/core/expressions/function-table.d.ts +396 -0
  218. package/dist/types/engine/form-engine/core/expressions/inspect.d.ts +292 -0
  219. package/dist/types/engine/form-engine/core/form-tests/form-test-lint.d.ts +28 -0
  220. package/dist/types/engine/form-engine/core/form-tests/form-test-parse.d.ts +200 -0
  221. package/dist/types/engine/form-engine/core/form-tests/form-test-read.d.ts +11 -0
  222. package/dist/types/engine/form-engine/core/form-tests/form-test-run.d.ts +58 -0
  223. package/dist/types/engine/form-engine/core/form-tests/form-test-types.d.ts +413 -0
  224. package/dist/types/engine/form-engine/core/form-tests/index.d.ts +7 -0
  225. package/dist/types/engine/form-engine/core/index.d.ts +75 -0
  226. package/dist/types/engine/form-engine/core/journey/journey-diagnostics.d.ts +249 -0
  227. package/dist/types/engine/form-engine/core/journey/journey-flow.d.ts +77 -0
  228. package/dist/types/engine/form-engine/core/journey/journey-path.d.ts +213 -0
  229. package/dist/types/engine/form-engine/core/journey/journey-server-check.d.ts +66 -0
  230. package/dist/types/engine/form-engine/core/journey/journey-shared.d.ts +39 -0
  231. package/dist/types/engine/form-engine/core/journey/journey-types.d.ts +246 -0
  232. package/dist/types/engine/form-engine/core/journey/presentation.d.ts +163 -0
  233. package/dist/types/engine/form-engine/core/journey/worked-out-text.d.ts +10 -0
  234. package/dist/types/engine/form-engine/core/localization/form-texts.d.ts +283 -0
  235. package/dist/types/engine/form-engine/core/localization/locale-documents.d.ts +74 -0
  236. package/dist/types/engine/form-engine/core/localization/localized-text.d.ts +21 -0
  237. package/dist/types/engine/form-engine/core/localization/supported-locales.d.ts +49 -0
  238. package/dist/types/engine/form-engine/core/localization/translations.d.ts +312 -0
  239. package/dist/types/engine/form-engine/core/localization/validation-messages.d.ts +120 -0
  240. package/dist/types/engine/form-engine/core/schema/agent-tools-setting.d.ts +5 -0
  241. package/dist/types/engine/form-engine/core/schema/answer-kinds.d.ts +92 -0
  242. package/dist/types/engine/form-engine/core/schema/button-group.d.ts +24 -0
  243. package/dist/types/engine/form-engine/core/schema/button.d.ts +75 -0
  244. package/dist/types/engine/form-engine/core/schema/collection.d.ts +29 -0
  245. package/dist/types/engine/form-engine/core/schema/component-classes.d.ts +26 -0
  246. package/dist/types/engine/form-engine/core/schema/component-kinds.d.ts +76 -0
  247. package/dist/types/engine/form-engine/core/schema/contracts.d.ts +614 -0
  248. package/dist/types/engine/form-engine/core/schema/control-hints.d.ts +45 -0
  249. package/dist/types/engine/form-engine/core/schema/data-grid.d.ts +138 -0
  250. package/dist/types/engine/form-engine/core/schema/data-source-capability.d.ts +20 -0
  251. package/dist/types/engine/form-engine/core/schema/file-upload.d.ts +114 -0
  252. package/dist/types/engine/form-engine/core/schema/form-chrome.d.ts +301 -0
  253. package/dist/types/engine/form-engine/core/schema/grid.d.ts +88 -0
  254. package/dist/types/engine/form-engine/core/schema/image.d.ts +19 -0
  255. package/dist/types/engine/form-engine/core/schema/inline-options.d.ts +69 -0
  256. package/dist/types/engine/form-engine/core/schema/journey.d.ts +336 -0
  257. package/dist/types/engine/form-engine/core/schema/legend-mark.d.ts +10 -0
  258. package/dist/types/engine/form-engine/core/schema/length-limits.d.ts +33 -0
  259. package/dist/types/engine/form-engine/core/schema/pattern-validity.d.ts +2 -0
  260. package/dist/types/engine/form-engine/core/schema/pdf-layout-read.d.ts +508 -0
  261. package/dist/types/engine/form-engine/core/schema/pdf-layout-table.d.ts +25 -0
  262. package/dist/types/engine/form-engine/core/schema/pdf-layout.d.ts +224 -0
  263. package/dist/types/engine/form-engine/core/schema/pdf-renditions.d.ts +46 -0
  264. package/dist/types/engine/form-engine/core/schema/pdf-signature-configuration.d.ts +6 -0
  265. package/dist/types/engine/form-engine/core/schema/print.d.ts +76 -0
  266. package/dist/types/engine/form-engine/core/schema/signature.d.ts +13 -0
  267. package/dist/types/engine/form-engine/core/schema/static-html.d.ts +44 -0
  268. package/dist/types/engine/form-engine/core/schema/steps.d.ts +28 -0
  269. package/dist/types/engine/form-engine/core/schema/types.d.ts +186 -0
  270. package/dist/types/engine/form-engine/core/schema/validate-on-setting.d.ts +16 -0
  271. package/dist/types/engine/form-engine/core/state/answer-shape.d.ts +28 -0
  272. package/dist/types/engine/form-engine/core/state/effective-state.d.ts +42 -0
  273. package/dist/types/engine/form-engine/core/state/form-state.d.ts +160 -0
  274. package/dist/types/engine/form-engine/core/state/hidden-value-policy.d.ts +34 -0
  275. package/dist/types/engine/form-engine/core/state/host-context.d.ts +24 -0
  276. package/dist/types/engine/form-engine/core/state/semantic-state.d.ts +19 -0
  277. package/dist/types/engine/form-engine/core/state/submittable-fold.d.ts +460 -0
  278. package/dist/types/engine/form-engine/core/submission/canonical-submission.d.ts +62 -0
  279. package/dist/types/engine/form-engine/core/submission/envelope-completeness.d.ts +20 -0
  280. package/dist/types/engine/form-engine/core/submission/form-notice.d.ts +43 -0
  281. package/dist/types/engine/form-engine/core/submission/jcs.d.ts +20 -0
  282. package/dist/types/engine/form-engine/core/submission/signing.d.ts +110 -0
  283. package/dist/types/engine/form-engine/core/submission/submission-file.d.ts +34 -0
  284. package/dist/types/engine/form-engine/core/submission/submission-handler.d.ts +25 -0
  285. package/dist/types/engine/form-engine/core/submission/submission-modes.d.ts +11 -0
  286. package/dist/types/engine/form-engine/core/submission/webauthn-assertion.d.ts +41 -0
  287. package/dist/types/engine/form-engine/core/text/placeholders.d.ts +20 -0
  288. package/dist/types/engine/form-engine/core/text/spreadsheet-cell.d.ts +14 -0
  289. package/dist/types/engine/form-engine/core/tree/component-id.d.ts +14 -0
  290. package/dist/types/engine/form-engine/core/tree/component-path.d.ts +6 -0
  291. package/dist/types/engine/form-engine/core/tree/component-tree.d.ts +60 -0
  292. package/dist/types/engine/form-engine/core/tree/data-scope.d.ts +151 -0
  293. package/dist/types/engine/form-engine/core/tree/nesting.d.ts +10 -0
  294. package/dist/types/engine/form-engine/core/tree/prototype-names.d.ts +6 -0
  295. package/dist/types/engine/form-engine/data/client/client-data-source-runtime.d.ts +7 -0
  296. package/dist/types/engine/form-engine/data/client/registered-client-data-source-runtime.d.ts +6 -0
  297. package/dist/types/engine/form-engine/data/host/data-source-set.d.ts +46 -0
  298. package/dist/types/engine/form-engine/data/index.d.ts +9 -0
  299. package/dist/types/engine/form-engine/data/providers/data-source-provider-registry.d.ts +11 -0
  300. package/dist/types/engine/form-engine/data/providers/registered-data-source-runtime.d.ts +10 -0
  301. package/dist/types/engine/form-engine/data/providers/remote-data-source-provider.d.ts +30 -0
  302. package/dist/types/engine/form-engine/data/providers/static-data-source-provider.d.ts +20 -0
  303. package/dist/types/engine/form-engine/data/server/registered-server-data-source-runtime.d.ts +6 -0
  304. package/dist/types/engine/form-engine/data/server/server-data-source-runtime.d.ts +7 -0
  305. package/dist/types/engine/form-engine/index.d.ts +29 -0
  306. package/dist/types/engine/form-engine/persistence/core/draft-compatibility.d.ts +22 -0
  307. package/dist/types/engine/form-engine/persistence/core/draft-store.d.ts +96 -0
  308. package/dist/types/engine/form-engine/persistence/file-draft/draft-file.d.ts +3 -0
  309. package/dist/types/engine/form-engine/persistence/index.d.ts +7 -0
  310. package/dist/types/engine/form-engine/persistence/indexeddb/indexeddb-draft-store.d.ts +15 -0
  311. package/dist/types/engine/form-engine/persistence/local-storage/browser-local-draft-store.d.ts +22 -0
  312. package/dist/types/engine/form-engine/persistence/local-storage/in-memory-draft-store.d.ts +8 -0
  313. package/dist/types/engine/form-engine/persistence/server/server-draft-store.d.ts +15 -0
  314. package/dist/types/engine/form-engine/plugins/component-adapters.d.ts +66 -0
  315. package/dist/types/engine/form-engine/plugins/index.d.ts +4 -0
  316. package/dist/types/engine/form-engine/plugins/lifecycle/plugin-lifecycle.d.ts +11 -0
  317. package/dist/types/engine/form-engine/plugins/manifest/load-plugin-manifest.d.ts +23 -0
  318. package/dist/types/engine/form-engine/plugins/platform/plugin-platform.d.ts +81 -0
  319. package/dist/types/engine/form-engine/registry/capabilities/drawing-capabilities.d.ts +52 -0
  320. package/dist/types/engine/form-engine/registry/capabilities/field-capabilities.d.ts +205 -0
  321. package/dist/types/engine/form-engine/registry/components/component-registry.d.ts +9 -0
  322. package/dist/types/engine/form-engine/registry/data-sources/data-source-registry.d.ts +9 -0
  323. package/dist/types/engine/form-engine/registry/engine-component-types.d.ts +20 -0
  324. package/dist/types/engine/form-engine/registry/engine-version.d.ts +5 -0
  325. package/dist/types/engine/form-engine/registry/formula-functions/formula-function-registry.d.ts +33 -0
  326. package/dist/types/engine/form-engine/registry/index.d.ts +13 -0
  327. package/dist/types/engine/form-engine/registry/kinds.d.ts +83 -0
  328. package/dist/types/engine/form-engine/registry/pdf/pdf-rendition-registry.d.ts +15 -0
  329. package/dist/types/engine/form-engine/registry/plugins/plugin-registry.d.ts +14 -0
  330. package/dist/types/engine/form-engine/registry/submission/submission-handler-registry.d.ts +7 -0
  331. package/dist/types/engine/form-engine/registry/validators/validator-registry.d.ts +6 -0
  332. package/dist/types/engine/form-engine/registry/version-range.d.ts +15 -0
  333. package/dist/types/engine/form-engine/registry/versioned-theme-registry.d.ts +30 -0
  334. package/dist/types/engine/form-engine/registry/versioning.d.ts +5 -0
  335. package/dist/types/engine/form-engine/render/core/component-model.d.ts +292 -0
  336. package/dist/types/engine/form-engine/render/core/component-options.d.ts +58 -0
  337. package/dist/types/engine/form-engine/render/core/css-rules.d.ts +68 -0
  338. package/dist/types/engine/form-engine/render/core/error-accessibility.d.ts +23 -0
  339. package/dist/types/engine/form-engine/render/core/error-summary.d.ts +62 -0
  340. package/dist/types/engine/form-engine/render/core/error-wording.d.ts +104 -0
  341. package/dist/types/engine/form-engine/render/core/escape-html.d.ts +2 -0
  342. package/dist/types/engine/form-engine/render/core/file-storage.d.ts +59 -0
  343. package/dist/types/engine/form-engine/render/core/host-data-sources.d.ts +44 -0
  344. package/dist/types/engine/form-engine/render/core/journey-render-kit-default.d.ts +5 -0
  345. package/dist/types/engine/form-engine/render/core/journey-render-kit-eager.d.ts +10 -0
  346. package/dist/types/engine/form-engine/render/core/journey-render-kit-factory.d.ts +13 -0
  347. package/dist/types/engine/form-engine/render/core/journey-render-kit.d.ts +61 -0
  348. package/dist/types/engine/form-engine/render/core/journey-render.d.ts +132 -0
  349. package/dist/types/engine/form-engine/render/core/journey-review-kit-eager.d.ts +9 -0
  350. package/dist/types/engine/form-engine/render/core/journey-review-kit.d.ts +33 -0
  351. package/dist/types/engine/form-engine/render/core/journey-review.d.ts +134 -0
  352. package/dist/types/engine/form-engine/render/core/presentation-tree.d.ts +374 -0
  353. package/dist/types/engine/form-engine/render/core/print-options.d.ts +89 -0
  354. package/dist/types/engine/form-engine/render/core/render-contracts.d.ts +7 -0
  355. package/dist/types/engine/form-engine/render/core/render-orchestrator.d.ts +139 -0
  356. package/dist/types/engine/form-engine/render/core/render-policy.d.ts +52 -0
  357. package/dist/types/engine/form-engine/render/core/runtime-render-bridge.d.ts +154 -0
  358. package/dist/types/engine/form-engine/render/core/scalar-text.d.ts +10 -0
  359. package/dist/types/engine/form-engine/render/core/tab-slots.d.ts +25 -0
  360. package/dist/types/engine/form-engine/render/core/token-style-vars.d.ts +45 -0
  361. package/dist/types/engine/form-engine/render/icons/builtin-icons.d.ts +24 -0
  362. package/dist/types/engine/form-engine/render/icons/icon-names.d.ts +67 -0
  363. package/dist/types/engine/form-engine/render/icons/icon-set.d.ts +102 -0
  364. package/dist/types/engine/form-engine/render/index.d.ts +68 -0
  365. package/dist/types/engine/form-engine/render/live/announcer.d.ts +10 -0
  366. package/dist/types/engine/form-engine/render/live/assets-feature.d.ts +12 -0
  367. package/dist/types/engine/form-engine/render/live/assets-policy.d.ts +6 -0
  368. package/dist/types/engine/form-engine/render/live/assets.d.ts +109 -0
  369. package/dist/types/engine/form-engine/render/live/binding-registry.d.ts +46 -0
  370. package/dist/types/engine/form-engine/render/live/buttons.d.ts +12 -0
  371. package/dist/types/engine/form-engine/render/live/chrome.d.ts +15 -0
  372. package/dist/types/engine/form-engine/render/live/component-text.d.ts +10 -0
  373. package/dist/types/engine/form-engine/render/live/contract.d.ts +1267 -0
  374. package/dist/types/engine/form-engine/render/live/data-grid.d.ts +51 -0
  375. package/dist/types/engine/form-engine/render/live/datum/buttons.d.ts +44 -0
  376. package/dist/types/engine/form-engine/render/live/datum/choice-fields.d.ts +8 -0
  377. package/dist/types/engine/form-engine/render/live/datum/chrome-files.d.ts +43 -0
  378. package/dist/types/engine/form-engine/render/live/datum/chrome.d.ts +49 -0
  379. package/dist/types/engine/form-engine/render/live/datum/container-kit.d.ts +66 -0
  380. package/dist/types/engine/form-engine/render/live/datum/containers.d.ts +25 -0
  381. package/dist/types/engine/form-engine/render/live/datum/content.d.ts +5 -0
  382. package/dist/types/engine/form-engine/render/live/datum/css.d.ts +40 -0
  383. package/dist/types/engine/form-engine/render/live/datum/date.d.ts +66 -0
  384. package/dist/types/engine/form-engine/render/live/datum/default-tokens.d.ts +30 -0
  385. package/dist/types/engine/form-engine/render/live/datum/field-scaffold.d.ts +131 -0
  386. package/dist/types/engine/form-engine/render/live/datum/file.d.ts +6 -0
  387. package/dist/types/engine/form-engine/render/live/datum/frames.d.ts +33 -0
  388. package/dist/types/engine/form-engine/render/live/datum/grid.d.ts +26 -0
  389. package/dist/types/engine/form-engine/render/live/datum/groups.d.ts +45 -0
  390. package/dist/types/engine/form-engine/render/live/datum/icons.d.ts +18 -0
  391. package/dist/types/engine/form-engine/render/live/datum/leaf-kit.d.ts +17 -0
  392. package/dist/types/engine/form-engine/render/live/datum/month-names.d.ts +2 -0
  393. package/dist/types/engine/form-engine/render/live/datum/notice.d.ts +25 -0
  394. package/dist/types/engine/form-engine/render/live/datum/options.d.ts +133 -0
  395. package/dist/types/engine/form-engine/render/live/datum/page.d.ts +13 -0
  396. package/dist/types/engine/form-engine/render/live/datum/parts.d.ts +120 -0
  397. package/dist/types/engine/form-engine/render/live/datum/signature.d.ts +25 -0
  398. package/dist/types/engine/form-engine/render/live/datum/steps.d.ts +30 -0
  399. package/dist/types/engine/form-engine/render/live/datum/summary.d.ts +26 -0
  400. package/dist/types/engine/form-engine/render/live/datum/tabs.d.ts +23 -0
  401. package/dist/types/engine/form-engine/render/live/datum/text-fields.d.ts +7 -0
  402. package/dist/types/engine/form-engine/render/live/datum/tokens.d.ts +1030 -0
  403. package/dist/types/engine/form-engine/render/live/error-target.d.ts +12 -0
  404. package/dist/types/engine/form-engine/render/live/field-preview.d.ts +22 -0
  405. package/dist/types/engine/form-engine/render/live/fields.d.ts +26 -0
  406. package/dist/types/engine/form-engine/render/live/files.d.ts +20 -0
  407. package/dist/types/engine/form-engine/render/live/form-notices.d.ts +17 -0
  408. package/dist/types/engine/form-engine/render/live/guards.d.ts +37 -0
  409. package/dist/types/engine/form-engine/render/live/journey-page.d.ts +45 -0
  410. package/dist/types/engine/form-engine/render/live/journey-review.d.ts +50 -0
  411. package/dist/types/engine/form-engine/render/live/lit.d.ts +48 -0
  412. package/dist/types/engine/form-engine/render/live/look-classes.d.ts +27 -0
  413. package/dist/types/engine/form-engine/render/live/media-labels.d.ts +16 -0
  414. package/dist/types/engine/form-engine/render/live/mount.d.ts +450 -0
  415. package/dist/types/engine/form-engine/render/live/notices.d.ts +3 -0
  416. package/dist/types/engine/form-engine/render/live/readonly-sizing.d.ts +14 -0
  417. package/dist/types/engine/form-engine/render/live/renderer.d.ts +12 -0
  418. package/dist/types/engine/form-engine/render/live/sources.d.ts +4 -0
  419. package/dist/types/engine/form-engine/render/live/steps.d.ts +6 -0
  420. package/dist/types/engine/form-engine/render/live/summary.d.ts +33 -0
  421. package/dist/types/engine/form-engine/render/live/tabs.d.ts +8 -0
  422. package/dist/types/engine/form-engine/render/live/tooltips.d.ts +30 -0
  423. package/dist/types/engine/form-engine/render/pdf/default-layout.d.ts +51 -0
  424. package/dist/types/engine/form-engine/render/pdf/pdf-abi.d.ts +819 -0
  425. package/dist/types/engine/form-engine/render/pdf/pdf-agent-signer.d.ts +92 -0
  426. package/dist/types/engine/form-engine/render/pdf/pdf-attachments.d.ts +76 -0
  427. package/dist/types/engine/form-engine/render/pdf/pdf-components.d.ts +282 -0
  428. package/dist/types/engine/form-engine/render/pdf/pdf-designer-styles.d.ts +12 -0
  429. package/dist/types/engine/form-engine/render/pdf/pdf-document.d.ts +412 -0
  430. package/dist/types/engine/form-engine/render/pdf/pdf-layout-selection.d.ts +54 -0
  431. package/dist/types/engine/form-engine/render/pdf/pdf-pages.d.ts +25 -0
  432. package/dist/types/engine/form-engine/render/pdf/pdf-provider.d.ts +219 -0
  433. package/dist/types/engine/form-engine/render/pdf/pdf-render-mode.d.ts +2 -0
  434. package/dist/types/engine/form-engine/render/pdf/pdf-render-model.d.ts +124 -0
  435. package/dist/types/engine/form-engine/render/pdf/pdf-renditions.d.ts +160 -0
  436. package/dist/types/engine/form-engine/render/pdf/pdf-service.d.ts +161 -0
  437. package/dist/types/engine/form-engine/render/pdf/pdf-signer.d.ts +26 -0
  438. package/dist/types/engine/form-engine/render/pdf/pdf-template-components.d.ts +168 -0
  439. package/dist/types/engine/form-engine/render/pdf/pdf-template-constants.d.ts +14 -0
  440. package/dist/types/engine/form-engine/render/pdf/pdf-template.d.ts +84 -0
  441. package/dist/types/engine/form-engine/render/pdf/pdf-text-addresses.d.ts +20 -0
  442. package/dist/types/engine/form-engine/render/pdf/pdf-theme-defaults.d.ts +410 -0
  443. package/dist/types/engine/form-engine/render/pdf/pdf-theme-registry.d.ts +25 -0
  444. package/dist/types/engine/form-engine/render/pdf/pdf-theme.d.ts +91 -0
  445. package/dist/types/engine/form-engine/render/pdf/pdf-values.d.ts +47 -0
  446. package/dist/types/engine/form-engine/render/pdf/standard-renditions.d.ts +33 -0
  447. package/dist/types/engine/form-engine/render/pdf/template-text.d.ts +52 -0
  448. package/dist/types/engine/form-engine/render/print/answer-text.d.ts +3 -0
  449. package/dist/types/engine/form-engine/render/print/basic.d.ts +18 -0
  450. package/dist/types/engine/form-engine/render/print/datum.d.ts +2 -0
  451. package/dist/types/engine/form-engine/render/print/document.d.ts +65 -0
  452. package/dist/types/engine/form-engine/render/print/field-answer.d.ts +47 -0
  453. package/dist/types/engine/form-engine/render/print/index.d.ts +12 -0
  454. package/dist/types/engine/form-engine/render/print/model.d.ts +346 -0
  455. package/dist/types/engine/form-engine/render/print/safe-html.d.ts +41 -0
  456. package/dist/types/engine/form-engine/render/print/slot-text.d.ts +30 -0
  457. package/dist/types/engine/form-engine/render/print/theme.d.ts +86 -0
  458. package/dist/types/engine/form-engine/render/react/interactive-renderer.d.ts +9 -0
  459. package/dist/types/engine/form-engine/render/readonly/readonly-renderer.d.ts +12 -0
  460. package/dist/types/engine/form-engine/render/web-component/custom-element-base.d.ts +3 -0
  461. package/dist/types/engine/form-engine/render/web-component/form-features.d.ts +76 -0
  462. package/dist/types/engine/form-engine/render/web-component/form-host-element.d.ts +310 -0
  463. package/dist/types/engine/form-engine/render/web-component/form-renderer-element.d.ts +846 -0
  464. package/dist/types/engine/form-engine/render/web-component/locale-select-element.d.ts +24 -0
  465. package/dist/types/engine/form-engine/render/web-component/pdf-download.d.ts +75 -0
  466. package/dist/types/engine/form-engine/render/web-component/print-frame.d.ts +85 -0
  467. package/dist/types/engine/form-engine/render/web-component/print-pipeline.d.ts +11 -0
  468. package/dist/types/engine/form-engine/render/web-component/print-policy.d.ts +2 -0
  469. package/dist/types/engine/form-engine/render/web-component/submission-download.d.ts +47 -0
  470. package/dist/types/engine/form-engine/render/web-component/typed-answers.d.ts +26 -0
  471. package/dist/types/engine/form-engine/render/webauthn/assertion.d.ts +69 -0
  472. package/dist/types/engine/form-engine/render/webauthn/authenticator-data.d.ts +21 -0
  473. package/dist/types/engine/form-engine/render/webauthn/errors.d.ts +30 -0
  474. package/dist/types/engine/form-engine/render/webauthn/registration-verify.d.ts +44 -0
  475. package/dist/types/engine/form-engine/render/webauthn/registration.d.ts +77 -0
  476. package/dist/types/engine/form-engine/render/webauthn/signal.d.ts +27 -0
  477. package/dist/types/engine/form-engine/render/webauthn/signing-provider.d.ts +70 -0
  478. package/dist/types/engine/form-engine/rules/dependencies/calculation-cycle.d.ts +25 -0
  479. package/dist/types/engine/form-engine/rules/dependencies/dependency-extractor.d.ts +9 -0
  480. package/dist/types/engine/form-engine/rules/dependencies/dependency-graph.d.ts +26 -0
  481. package/dist/types/engine/form-engine/rules/evaluator/evaluator.d.ts +209 -0
  482. package/dist/types/engine/form-engine/rules/evaluator/functions-date.d.ts +26 -0
  483. package/dist/types/engine/form-engine/rules/evaluator/functions-list.d.ts +28 -0
  484. package/dist/types/engine/form-engine/rules/evaluator/functions-number.d.ts +6 -0
  485. package/dist/types/engine/form-engine/rules/evaluator/functions-text.d.ts +23 -0
  486. package/dist/types/engine/form-engine/runtime/browser/collection-runtime.d.ts +34 -0
  487. package/dist/types/engine/form-engine/runtime/browser/draft-read.d.ts +27 -0
  488. package/dist/types/engine/form-engine/runtime/browser/form-runtime.d.ts +1470 -0
  489. package/dist/types/engine/form-engine/runtime/browser/form-test-runtime-driver.d.ts +83 -0
  490. package/dist/types/engine/form-engine/runtime/browser/journey/journey-action.d.ts +42 -0
  491. package/dist/types/engine/form-engine/runtime/browser/journey/journey-navigation.d.ts +200 -0
  492. package/dist/types/engine/form-engine/runtime/browser/journey/journey-presentation-overlay.d.ts +69 -0
  493. package/dist/types/engine/form-engine/runtime/browser/journey/journey-server-checks.d.ts +89 -0
  494. package/dist/types/engine/form-engine/runtime/browser/journey-engine-eager.d.ts +11 -0
  495. package/dist/types/engine/form-engine/runtime/browser/journey-engine.d.ts +462 -0
  496. package/dist/types/engine/form-engine/runtime/browser/path-validation-runs.d.ts +91 -0
  497. package/dist/types/engine/form-engine/runtime/browser/runtime-orchestrator.d.ts +530 -0
  498. package/dist/types/engine/form-engine/runtime/browser/submission-key.d.ts +12 -0
  499. package/dist/types/engine/form-engine/runtime/index.d.ts +8 -0
  500. package/dist/types/engine/form-engine/validation/core/error-store.d.ts +70 -0
  501. package/dist/types/engine/form-engine/validation/core/field-constraints.d.ts +293 -0
  502. package/dist/types/engine/form-engine/validation/core/test-vectors.d.ts +20 -0
  503. package/dist/types/engine/form-engine/validation/core/validation-pipeline.d.ts +65 -0
  504. package/dist/types/engine/form-engine/validation/parity/browser-adapter.d.ts +4 -0
  505. package/dist/types/engine/form-engine/validation/parity/formula-function-parity.d.ts +27 -0
  506. package/dist/types/engine/form-engine/validation/parity/index.d.ts +7 -0
  507. package/dist/types/engine/form-engine/validation/parity/parity-runner.d.ts +21 -0
  508. package/dist/types/engine/form-engine/validation/parity/runtime-adapter.d.ts +9 -0
  509. package/dist/types/engine/form-engine/validation/parity/server-adapter.d.ts +7 -0
  510. package/dist/types/engine/form-engine/validation/parity/vectors.d.ts +28 -0
  511. package/dist/types/engine/form-engine/validation/parity/wasm-adapter.d.ts +9 -0
  512. package/dist/types/engine/form-engine/validation/server/server-validation.d.ts +49 -0
  513. package/dist/types/engine/form-engine/validation/wasm/form-test-kernel-driver.d.ts +95 -0
  514. package/dist/types/engine/form-engine/validation/wasm/in-process-host.d.ts +56 -0
  515. package/dist/types/engine/form-engine/validation/wasm/portable-kernel.d.ts +1926 -0
  516. package/dist/types/engine/form-engine/validation/wasm/portable-options.d.ts +282 -0
  517. package/dist/types/engine/form-engine/validation/wasm/wasm-validation-host.d.ts +429 -0
  518. package/dist/types/engine/form-engine/verification/gate-inputs.d.ts +26 -0
  519. package/dist/types/engine/form-engine/verification/release-gates.d.ts +32 -0
  520. package/dist/types/engine/form-engine/verification/telemetry-bridge.d.ts +15 -0
  521. package/dist/types/engine/form-engine/verification/telemetry-sinks.d.ts +13 -0
  522. package/dist/types/engine/form-engine/verification/telemetry.d.ts +29 -0
  523. package/dist/types/packages/form-test/src/api.d.ts +75 -0
  524. package/dist/types/packages/form-test/src/args.d.ts +27 -0
  525. package/dist/types/packages/form-test/src/cli.d.ts +10 -0
  526. package/dist/types/packages/form-test/src/coverage.d.ts +11 -0
  527. package/dist/types/packages/form-test/src/drivers.d.ts +23 -0
  528. package/dist/types/packages/form-test/src/exit-codes.d.ts +17 -0
  529. package/dist/types/packages/form-test/src/index.d.ts +28 -0
  530. package/dist/types/packages/form-test/src/load.d.ts +25 -0
  531. package/dist/types/packages/form-test/src/parity.d.ts +14 -0
  532. package/dist/types/packages/form-test/src/report/json.d.ts +7 -0
  533. package/dist/types/packages/form-test/src/report/junit.d.ts +14 -0
  534. package/dist/types/packages/form-test/src/report/markdown.d.ts +14 -0
  535. package/dist/types/packages/form-test/src/report/model.d.ts +137 -0
  536. package/dist/types/packages/form-test/src/report/schema.d.ts +449 -0
  537. package/dist/types/packages/form-test/src/report/words.d.ts +48 -0
  538. package/dist/types/packages/form-test/src/run.d.ts +15 -0
  539. package/dist/types/packages/form-test/src/version.d.ts +3 -0
  540. package/dist/types/packages/form-test/src/vitest.d.ts +43 -0
  541. package/dist/types/packages/quickjs-wasm-host/src/fresh-sandbox-host.d.ts +70 -0
  542. package/dist/types/packages/quickjs-wasm-host/src/heap-recycle.d.ts +44 -0
  543. package/dist/types/packages/quickjs-wasm-host/src/index.d.ts +4 -0
  544. package/dist/types/packages/quickjs-wasm-host/src/program-host.d.ts +179 -0
  545. package/dist/types/packages/quickjs-wasm-host/src/quickjs-wasm-host-adapter.d.ts +218 -0
  546. package/dist/types/packages/quickjs-wasm-host/src/sandbox-program.d.ts +108 -0
  547. package/dist/vitest.mjs +189 -0
  548. package/fixtures/clock.json +35 -0
  549. package/fixtures/failing.datum-test +2 -0
  550. package/fixtures/main.datum-test +17 -0
  551. package/fixtures/main.json +435 -0
  552. package/package.json +93 -4
@@ -0,0 +1,51 @@
1
+ /**
2
+ * The data grid and the repeating section: a collection-bound container whose
3
+ * children are the template of one row. A {@link LiveFeature} (`createDataGridFeature()`) the host
4
+ * lists in `features`; the adapter draws the rows and their buttons, and the renderer owns:
5
+ *
6
+ * - the rows, from the presentation fold: keyed by the row's identity (`PresentationGridRow.key`,
7
+ * the runtime's stable entry key), so a removal or a move leaves each remaining row's nodes, its
8
+ * answers and its focus with it. `GridState.eachRow` draws them keyed; an adapter never maps `rows`;
9
+ * - the buttons: `add`, `remove`, `moveUp` and `moveDown` are present only when pressing them
10
+ * would be accepted now (the fold has applied the grid's offers, its bounds and a lock);
11
+ * `offers` says which the grid has at all, so an adapter draws the others disabled and a button
12
+ * the grid does not offer not at all. Each press goes to the runtime (`addRow`, `removeRow`,
13
+ * `reorderRow`); a refusal is reported as `datum-binding-error {hook:"grid"}`;
14
+ * - focus after a row button, once the draw that shows the rows it left has landed and the new
15
+ * fields are ready: the new row's first control after Add; the row now in a removed one's place
16
+ * (the previous row after the last was removed), the Add button when none is left; the moved
17
+ * row's button that was pressed (its first control where that button is now disabled);
18
+ * - the layout: `table` for `auto` and `table`, `stacked` for `stacked` and a repeating section
19
+ * (`GridState.responsive` says the author left it to the form: `auto`), and `stacked` whatever
20
+ * the author chose for an adapter that draws no table (`GridAdapter.layouts`), which is chosen
21
+ * before the rows are drawn. In the table layout the cells' labels are hidden (the column
22
+ * heading names them, and a hidden label still names the control); a cell that holds a
23
+ * container keeps its labels (`GridCell.group`). Under `auto` the labels are kept and the
24
+ * binding's stylesheet hides them while the grid is wide;
25
+ * - the grid's own errors, shown when the form shows inline errors.
26
+ *
27
+ * The Add button carries `GridState.addId`; `gridAddId` names it for the summary, whose entry for a
28
+ * cell error no row owns goes there. `defaultGridAdapter` is the look Datum draws when neither the
29
+ * binding nor the Datum binding has a grid adapter.
30
+ */
31
+ import { type GridAdapter } from "./contract.js";
32
+ import type { LiveContext, LiveFeature } from "./mount.js";
33
+ /** The look Datum draws a data grid with when neither the binding nor the Datum binding has a grid adapter (`datum/grid.ts`). */
34
+ export declare const defaultGridAdapter: GridAdapter;
35
+ /** The id of a grid's Add button: what a summary entry for a cell error no row owns focuses. */
36
+ export declare const gridAddId: (gridId: string) => string;
37
+ /** What the renderer needs of the runtime for a grid's buttons. */
38
+ export interface GridRuntime {
39
+ /** Appends a row; returns its index. Throws when the grid refuses (a bound). */
40
+ addRow?(collectionPath: string, row?: Record<string, unknown>): number;
41
+ removeRow?(collectionPath: string, rowIndex: number): void;
42
+ reorderRow?(collectionPath: string, fromIndex: number, toIndex: number): void;
43
+ }
44
+ /**
45
+ * Focus for an error the grid itself owns (its row count, a cell error no row owns): the Add
46
+ * button where it is there and can be pressed, else the grid's first row control. `false` when
47
+ * `gridId` is no grid drawn here, or the grid offers neither.
48
+ */
49
+ export declare function focusGridOwner(live: LiveContext, gridId: string): boolean;
50
+ /** The data grid and repeating section as a renderer module. */
51
+ export declare function createDataGridFeature(): LiveFeature;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Datum's button and button group.
3
+ *
4
+ * A button is an action control, not a value-bearing field: no label, hint or error around it,
5
+ * and a press writes nothing to the form. It carries the marks the renderer's buttons module
6
+ * hears (`data-button-action`, `data-button-signature`, contract.ts), and the renderer reports
7
+ * the press as `datum-form-action`, so the adapter has no handler of its own.
8
+ *
9
+ * - Emphasis and size are classes (`datum-form__button--primary`, `--sm`), never inline colours:
10
+ * the palette belongs to the stylesheet, so a form authored as primary and secondary keeps that
11
+ * relationship in any palette. A button with neither is the plain accent button.
12
+ * - A read-only or disabled field draws a `disabled` button. While the form is submitting or
13
+ * changing page (`busy`) the button of an action is `aria-disabled`, so a second press cannot
14
+ * start a second action. While a page is changing it stays focusable, so the person's place is
15
+ * not lost. While a submission runs the renderer makes the form's body `inert` (focus leaves it
16
+ * until the lock lifts, and then goes back to the control that had it).
17
+ * - The state's `action`, `variant` and `size` are used when the state builder gave them; else
18
+ * they are read from the component's model, which carries the same values.
19
+ *
20
+ * The button group is a flowing row of its buttons: a plain box, or a list with one item per
21
+ * button where a form draws it so (`list`).
22
+ */
23
+ import type { FieldAdapter, FieldState, GroupAdapter } from "../contract.js";
24
+ /** What a button state holds, from the state when the renderer's state builder gave it, else the model. */
25
+ export interface ButtonFigures {
26
+ action: string | undefined;
27
+ variant: string | undefined;
28
+ size: string | undefined;
29
+ signature: string | undefined;
30
+ }
31
+ /** A button's action, emphasis, size and signing provider. */
32
+ export declare function buttonFiguresOf(state: FieldState): ButtonFigures;
33
+ /** The class list of a button: the base, its emphasis and its size. */
34
+ export declare function buttonClassName(figures: Pick<ButtonFigures, "variant" | "size">): string;
35
+ /** Datum's `button`. */
36
+ export declare const datumButton: FieldAdapter;
37
+ /** What a host chooses about a button group. */
38
+ export interface DatumButtonGroupOptions {
39
+ /** `list` draws a `<ul>` with one `<li>` per button (a design system's button list); `div` a plain box. */
40
+ buttonGroup?: "div" | "list";
41
+ }
42
+ /** Datum's `button-group`. */
43
+ export declare function createDatumButtonGroup(options?: DatumButtonGroupOptions): GroupAdapter;
44
+ export declare const datumButtonGroup: GroupAdapter;
@@ -0,0 +1,8 @@
1
+ import type { Adapter, CheckboxesFieldState, CheckboxFieldState, FieldAdapter, RadioFieldState, SelectFieldState } from "../contract.js";
2
+ import { type DatumFieldOptions, type DatumFieldOptionsInput } from "./field-scaffold.js";
3
+ export declare function createRadioAdapter(options?: DatumFieldOptions): FieldAdapter<RadioFieldState>;
4
+ export declare function createCheckboxesAdapter(options?: DatumFieldOptions): FieldAdapter<CheckboxesFieldState>;
5
+ export declare function createCheckboxAdapter(options?: DatumFieldOptions): FieldAdapter<CheckboxFieldState>;
6
+ export declare function createSelectAdapter(options?: DatumFieldOptions): FieldAdapter<SelectFieldState>;
7
+ /** The Datum adapters of the choice group, by the engine type they draw. */
8
+ export declare function datumChoiceComponents(input?: DatumFieldOptionsInput): Record<string, Adapter>;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * The parts of the Datum binding that draw the form's chrome and its non-field lines: the
3
+ * chrome parts and the language switcher, the error summary, the host's receipt, the in-flight
4
+ * line and the required note, plus the leaf components that hold no value or hold a file: buttons
5
+ * and their group, the file field, the signature component and the static `html` and `image`
6
+ * blocks; and the stylesheet and the form element's classes that style all of them.
7
+ *
8
+ * The result is a slice of a {@link LiveBinding}: the binding assembly spreads it in beside the
9
+ * field and container adapters, and a host's `extendBinding` overrides wrap or patch single
10
+ * entries. Every adapter answers its capabilities (contract.ts `CapabilityAnswers`); the
11
+ * renderer's modules for the same parts (`buttons.ts`, `form-notices.ts`, `chrome.ts`,
12
+ * `summary.ts`, `files.ts`) are listed as `features` by whoever mounts the form.
13
+ */
14
+ import type { LiveBinding } from "../contract.js";
15
+ import { type LanguageLinksOptions } from "./chrome.js";
16
+ import { type DatumCssOptions, type DatumDrawnControls } from "./css.js";
17
+ import type { DatumFieldOptionsInput } from "./field-scaffold.js";
18
+ import { type DatumSummaryOptions } from "./summary.js";
19
+ /** What a host chooses about these parts of the Datum look. */
20
+ export interface DatumChromeFilesOptions {
21
+ /** The order of a field's parts and the native-control choices, for the file and signature fields. */
22
+ fields?: DatumFieldOptionsInput;
23
+ /** The error summary's heading level and list. */
24
+ summary?: DatumSummaryOptions;
25
+ /** A button group drawn as a plain box or a list of items. */
26
+ buttonGroup?: "div" | "list";
27
+ /** The switcher drawn as links (GC Design System's toggle, Québec's side-by-side links) rather than a select. */
28
+ languageLinks?: LanguageLinksOptions;
29
+ /** The tokens, dark set and rules of the look (`datumCss`). */
30
+ css?: DatumCssOptions;
31
+ /** Drawn controls the form element opts into (`datumFormClass`). */
32
+ drawn?: DatumDrawnControls;
33
+ }
34
+ /** The slice of the Datum binding these parts make. */
35
+ export type DatumChromeFilesParts = Required<Pick<LiveBinding, "components" | "chrome" | "languageSwitcher" | "summary" | "notice" | "status" | "requiredNote" | "css">> & {
36
+ formClass: (context: {
37
+ colorScheme: "light" | "dark";
38
+ locale: string;
39
+ }) => string;
40
+ };
41
+ /** The component types these parts draw. */
42
+ export declare const DATUM_CHROME_FILES_TYPES: readonly string[];
43
+ export declare function createDatumChromeFiles(options?: DatumChromeFilesOptions): DatumChromeFilesParts;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Datum's drawing of the form's chrome parts: the picture, heading, paragraph, markup,
3
+ * the form's own title and description, and the language switcher, in the header and footer.
4
+ *
5
+ * The renderer (`chrome.ts` in the parent folder) decides which parts there are, resolves their
6
+ * texts for the locale, checks a picture's URL and reduces a part's markup to the allowlist; each
7
+ * adapter here only draws the resolved part. A `group` is the renderer's own row of parts, drawn
8
+ * around the parts it holds, so Datum has no adapter for it: its markup is the renderer's.
9
+ *
10
+ * - The form's title as the caption of a journey page is a paragraph (`caption`), never a second
11
+ * heading: the page's own heading is the main one.
12
+ * - The switcher is a labelled select, one option per locale, each with its `lang` so a screen
13
+ * reader pronounces "Français" in French. {@link createLanguageLinks} is the other way design
14
+ * systems draw it: links, the current language as plain text or a marked link.
15
+ */
16
+ import type { ChromeAdapter, LanguageSwitcherState, LiveBinding } from "../contract.js";
17
+ import { type TemplateResult } from "../lit.js";
18
+ /** The part types Datum draws itself. */
19
+ export declare const datumChrome: Readonly<Record<string, ChromeAdapter>>;
20
+ /** Datum's switcher: a labelled `<select>` of the form's locales. A refusal puts the select back to the current locale. */
21
+ export declare function datumLanguageSwitcher(state: LanguageSwitcherState): TemplateResult;
22
+ /** How a switcher drawn as links looks. */
23
+ export interface LanguageLinksOptions {
24
+ /**
25
+ * How the current language shows: left out (a toggle names only the other language), as plain
26
+ * text (the default), or as a link marked current.
27
+ */
28
+ current?: "omit" | "text" | "link";
29
+ /** A visually hidden heading before the links, worded from `languageSelection`. Default: on. */
30
+ heading?: boolean;
31
+ /** An `<abbr>` with the language's subtag beside its name, for a stylesheet to pick between. */
32
+ abbreviation?: boolean;
33
+ /** Text drawn between entries ("|"). Default: none. */
34
+ separator?: string;
35
+ /**
36
+ * The name a language shows regardless of the form's own label for the locale, keyed by its
37
+ * primary subtag: a toggle always says "Français" or "English", never "Français (Canada)". A
38
+ * language not listed keeps the locale's label.
39
+ */
40
+ names?: Readonly<Record<string, string>>;
41
+ /** Extra class on the wrapper (a design system's own hook). */
42
+ className?: string;
43
+ /** Extra class on each link. */
44
+ linkClass?: string;
45
+ }
46
+ /** The BCP-47 primary subtag, `fr` from `fr-CA`, which is what a toggle abbreviates to. */
47
+ export declare function languageOf(code: string): string;
48
+ /** A switcher drawn as links rather than a select, for `LiveBinding.languageSwitcher`. */
49
+ export declare function createLanguageLinks(options?: LanguageLinksOptions): NonNullable<LiveBinding["languageSwitcher"]>;
@@ -0,0 +1,66 @@
1
+ /**
2
+ * What Datum's container adapters share: the choices that move a container's drawing
3
+ * (`DatumContainerControls`), headings, class lists, and the layout rules.
4
+ *
5
+ * Containers draw `datum-form__*` classes the Datum stylesheet is written against. A layout's
6
+ * columns and spans are never written as an inline style (a CSP that forbids `style-src-attr`
7
+ * would drop it): the stylesheet holds the rules (`DATUM_CONTAINER_CSS`), and the one number a rule
8
+ * needs (a grid's column count, a cell's span) is set as a custom property through the CSSOM.
9
+ */
10
+ import { type TemplateResult } from "../lit.js";
11
+ import type { GridState, GroupState, View } from "../contract.js";
12
+ import { type DatumParts } from "./parts.js";
13
+ /**
14
+ * The choices of the Datum binding that move a container's drawing, each the engine's own
15
+ * default unless a host says otherwise (`createDatumBinding({controls})`). They are the design
16
+ * systems' own differences, kept as seams: USWDS draws a panel as a plain card, GOV.UK's steps
17
+ * are pages, and so on. Names and meanings are those of a design system's markup.
18
+ */
19
+ export interface DatumContainerControls {
20
+ /** Whether a panel (and a tab's flat section) is a named region. */
21
+ panelRegion: "named" | "none";
22
+ /** What a steps container's steps are: announced regions with a live progress line, or plain sections under a caption. */
23
+ stepPages: "announced" | "plain";
24
+ /** What the steps indicator's entries are: buttons, or static text. */
25
+ stepSegments: "buttons" | "text";
26
+ /** Whether one step's panel is a named region. */
27
+ stepRegion: "named" | "none";
28
+ /** Where the steps' progress line stands among the indicator's list. */
29
+ stepProgress: "afterList" | "beforeList";
30
+ /** The order of the steps' Back and Continue. */
31
+ actionOrder: "backFirst" | "nextFirst";
32
+ /** What a button group is drawn as: a plain box, or a list of items. */
33
+ buttonGroup: "div" | "list";
34
+ /** Whether a group's fieldset is described by its hint (`described`), or by nothing (`none`). */
35
+ groupDescription: "described" | "none";
36
+ /** A data grid's own error is an alert, or plain text (the summary is then the page's one alert). The fields' `inlineErrors`. */
37
+ inlineErrors: "alert" | "plain";
38
+ }
39
+ export declare const DEFAULT_CONTAINER_CONTROLS: Readonly<DatumContainerControls>;
40
+ /** The controls with each unknown or missing choice replaced by the engine's own. */
41
+ export declare function resolveContainerControls(controls: Partial<DatumContainerControls> | undefined): Readonly<DatumContainerControls>;
42
+ /** The host's part templates the containers draw: the legend's mark, a grid's error, the steps' Back. */
43
+ export type DatumContainerParts = Pick<DatumParts, "labelMarks" | "errorMessage" | "stepBack">;
44
+ /**
45
+ * The legend mark a labelled container asks for (`configuration.legendMark`), drawn through the
46
+ * `labelMarks` part: announced, since a group has no required state to carry it.
47
+ */
48
+ export declare function legendMarkView(s: GroupState | GridState, parts: Readonly<DatumContainerParts> | undefined): View;
49
+ /** A data grid's own error, through the `errorMessage` part: an alert unless the form's inline errors are plain. */
50
+ export declare function containerErrorView(s: GridState, inlineErrors: "alert" | "plain", parts: Readonly<DatumContainerParts> | undefined): View;
51
+ /** The heading level clamped to what HTML has: a form nested deep still gets a real heading. */
52
+ export declare function headingLevel(level: number): 1 | 2 | 3 | 4 | 5 | 6;
53
+ /** A heading element of `level`; `focusable` makes it `tabindex="-1"`, a target for the renderer's focus. */
54
+ export declare function heading(level: number, attributes: {
55
+ id?: string | undefined;
56
+ className: string;
57
+ focusable?: boolean;
58
+ }, content: View | string): TemplateResult;
59
+ /** A class list from names, skipping empty ones: the leaf kit's one helper. */
60
+ export { classes } from "./leaf-kit.js";
61
+ /**
62
+ * The `ref` callback that sets one style property (a custom property, a width) on its element
63
+ * through the CSSOM, so no `style` attribute is written and a CSP that forbids inline styles
64
+ * leaves it alone.
65
+ */
66
+ export declare function styleProperty(name: string, value: string | number | undefined): (element?: Element) => void;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The Datum adapters of the containers, by the engine type each draws: the group containers
3
+ * (`groups.ts`), tabs, steps and the data grid. `datumContainerComponents(options)` is what the
4
+ * Datum binding spreads into its `components`; `options.controls` are the container choices a
5
+ * design system's markup differs in (`DatumContainerControls`).
6
+ *
7
+ * The engine types with no shell of their own are drawn too: the form root and a `tab`
8
+ * container (no group; the renderer names the `<form>` by the root's label) and
9
+ * `repeatingSection` (the data grid, or the generic group).
10
+ *
11
+ * A collection-bound container (a repeating section) may be any container type, so every group
12
+ * type also holds the data grid's adapter: the lookup picks the adapter of the node's kind, and a
13
+ * node that is a grid is drawn as one whatever its type.
14
+ */
15
+ import type { AdapterEntry } from "../contract.js";
16
+ import { type DatumContainerControls } from "./container-kit.js";
17
+ import { DATUM_CONTAINER_CSS } from "./groups.js";
18
+ import type { DatumParts } from "./parts.js";
19
+ export interface DatumContainerOptions {
20
+ controls?: Partial<DatumContainerControls> | undefined;
21
+ /** The host's part templates the containers draw (`stepBack`). */
22
+ parts?: Pick<DatumParts, "stepBack" | "labelMarks" | "errorMessage"> | undefined;
23
+ }
24
+ export { DATUM_CONTAINER_CSS };
25
+ export declare function datumContainerComponents(options?: DatumContainerOptions): Record<string, AdapterEntry>;
@@ -0,0 +1,5 @@
1
+ import type { FieldAdapter } from "../contract.js";
2
+ /** Datum's `html` block. */
3
+ export declare const datumHtml: FieldAdapter;
4
+ /** Datum's `image`. */
5
+ export declare const datumImage: FieldAdapter;
@@ -0,0 +1,40 @@
1
+ import type { DatumTokens } from "./tokens.js";
2
+ export declare const DATUM_STYLES = "\n\n :host { display: block; }\n * { box-sizing: border-box; }\n /*\n * The form states its own typography rather than inheriting it.\n *\n * Isolation is not only about keeping the form's CSS in (which the shadow root\n * handles) \u2014 it is equally about keeping the host's out. font-family, font-size,\n * line-height and color all inherit through a shadow boundary, so a form rendered\n * inside a styled host silently took that host's typography: the builder canvas showed the\n * builder theme's own font on the previewed form, which made the preview a lie about what the\n * live form would look like. Every inherited property that affects appearance is therefore\n * set here, from the binding's own tokens, with the engine default as the fallback.\n *\n * The form also owns its surface and its colour scheme. --color-surface is the\n * page the form expects to sit on: transparent by default, so a form with no tokens set takes the\n * host's page as it always has, while a dark set paints its own and the builder's sheet\n * follows it. --color-scheme (light | dark) becomes the CSS color-scheme, so the native parts\n * a stylesheet cannot reach \u2014 date pickers, select popups, scrollbars \u2014 follow the scheme too.\n */\n .datum-form {\n display: grid;\n gap: var(--spacing-field-gap, 12px);\n font-family: var(--font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif);\n font-size: var(--font-size, 14px);\n line-height: var(--line-height, 1.45);\n color: var(--color-text, #14212b);\n background: var(--color-surface, transparent);\n color-scheme: var(--color-scheme, normal);\n text-align: start;\n font-weight: 400;\n font-style: normal;\n letter-spacing: normal;\n /*\n * The root is a size container named datum-form, so a binding's css can follow the width\n * the form actually has rather than the viewport's (gcds-error-summary tightens its\n * padding under 24em of its own width). A block-level root takes its inline size from its\n * parent, so inline-size containment changes nothing about how the form is laid out.\n */\n container: datum-form / inline-size;\n }\n /*\n * The frame around the form by preset: outlined is a bordered panel on the\n * form's surface, paper a sheet with its own fill hovering over the page; seamless (the\n * default) adds nothing and gets no class. Every value is a frame token with the binding's\n * general token, then the engine's literal, as its fallback: a binding restyles a built-in\n * through the tokens, or draws it (and frames of its own) through .datum-form--frame-<id>\n * rules in its css.\n */\n .datum-form--frame-outlined, .datum-form--frame-paper {\n padding: var(--spacing-frame-padding, 24px);\n border: 1px solid var(--color-frame-border, var(--color-border, #a9bbcb));\n border-radius: var(--radius-frame, 10px);\n }\n .datum-form--frame-paper {\n background: var(--color-frame-surface, var(--color-surface, #fff));\n box-shadow: var(--shadow-frame, 0 1px 2px rgba(13, 36, 53, .06), 0 8px 24px rgba(13, 36, 53, .07));\n }\n /*\n * The fields column may be capped (each field, and each box a container draws, directly in\n * the form): every government design system limits a form's line length (USWDS 30rem, Ontario 48rem, Qu\u00E9bec 825px); a binding sets it here rather than\n * fighting the host's layout in css. None by default: the form is as wide as its host.\n */\n .datum-form > .datum-live-field,\n .datum-form > .datum-live-container > *,\n .datum-form > .datum-form__journey-actions { max-width: var(--layout-max-width, none); min-width: 0; }\n .datum-form__field { display: grid; gap: var(--spacing-field-inner-gap, 4px); min-width: 0; }\n /*\n * Form controls do not inherit font by default; without this they fall to the UA's. The\n * reset is written with :where() so it adds no specificity beyond the root class: a binding's\n * bare class rule (.datum-form__button--lg { font-size }) then outranks it by cascade order\n * alone, instead of every binding having to scope such a rule under .datum-form to win.\n */\n .datum-form :where(input, select, textarea, button) { font-family: inherit; font-size: inherit; line-height: inherit; }\n /*\n * Every value-bearing control carries datum-form__control and its kind (--text, --number,\n * --date, --select, --textarea; --checkbox, --radio, --file). The engine's rules and every\n * binding's address controls through these, and a host-registered type puts the same classes\n * on its own control to take the binding's box.\n */\n .datum-form__control--text,\n .datum-form__control--number,\n .datum-form__control--date,\n .datum-form__control--select,\n .datum-form__control--textarea {\n /*\n * The input border defaults to 3:1 against the control's own background (WCAG 1.4.11's\n * non-text minimum), a step darker than the panel outlines around it. A binding sets\n * --color-border for both, or --color-input-border to treat inputs on their own, and\n * --color-input-bg for the control itself \u2014 a dark set's input is a raised dark, not white.\n */\n border: var(--control-border-width, 1px) solid var(--color-input-border, var(--color-border, #7e95ab));\n border-radius: var(--radius-control, 8px);\n padding: var(--control-padding, 7px 9px);\n min-height: var(--control-min-height, auto);\n max-width: var(--control-max-width, none);\n color: inherit;\n background: var(--color-input-bg, #fff);\n }\n .datum-form__control--textarea { resize: vertical; min-height: var(--textarea-min-height, 72px); }\n /*\n * A box between its prefix and suffix: one row, the affixes drawn as the box's\n * own edges \u2014 same border, the light fill, the muted text \u2014 and the corners between them\n * squared so the three read as one control. The box takes the rest of the row.\n */\n .datum-form__control-group { display: flex; align-items: stretch; max-width: var(--control-max-width, none); }\n .datum-form__control-group > .datum-form__control { flex: 1 1 auto; min-width: 0; max-width: none; }\n .datum-form__affix {\n display: inline-flex; align-items: center; flex: 0 0 auto; white-space: nowrap;\n padding: var(--control-padding, 7px 9px);\n border: var(--control-border-width, 1px) solid var(--color-input-border, var(--color-border, #7e95ab));\n border-radius: var(--radius-control, 8px);\n background: var(--color-light, #eef3f8);\n color: var(--color-muted, #536b7f);\n font-size: var(--font-size, 14px);\n }\n /* The shared edges and inner corners, over a binding's own affix and box rules (a border shorthand, a typed box selector). */\n .datum-form__control-group > .datum-form__affix--prefix { border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }\n .datum-form__control-group > .datum-form__affix--suffix { border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }\n .datum-form__control-group > .datum-form__affix--prefix + .datum-form__control { border-top-left-radius: 0; border-bottom-left-radius: 0; }\n .datum-form__control-group > .datum-form__control:has(+ .datum-form__affix--suffix) { border-top-right-radius: 0; border-bottom-right-radius: 0; }\n .datum-form__control-group > .datum-form__control:focus-visible { position: relative; z-index: 1; }\n /*\n * An invalid box says so in its line, not in its message alone (WCAG 1.4.1: the error colour\n * is the second cue beside the text). The state is already on the control (aria-invalid) and the\n * field (--invalid); written at one class of specificity, after the kind rules and before a\n * binding's css, so a design system's own invalid border outranks it by order and one that draws\n * none gets this. Boxed kinds only: a choice keeps its mark.\n */\n .datum-form__control--text:where([aria-invalid=\"true\"]),\n .datum-form__control--number:where([aria-invalid=\"true\"]),\n .datum-form__control--date:where([aria-invalid=\"true\"]),\n .datum-form__control--select:where([aria-invalid=\"true\"]),\n .datum-form__control--textarea:where([aria-invalid=\"true\"]),\n :where([data-invalid]) .datum-form__affix { border-color: var(--color-error, #c53a3a); }\n /*\n * A disabled box does not look like a live one: the sunken fill (--color-disabled-bg, the\n * light fill unless a binding says otherwise), the panel line, the muted ink and the not-allowed\n * cursor. WebKit paints a disabled control's text through -webkit-text-fill-color. Not in\n * read-only mode, where the answers are the point of the page (the rule above keeps them at\n * full contrast), and at the same one-class specificity as the invalid rule, so a binding that\n * draws its own disabled state keeps it.\n */\n :where(.datum-form:not([data-mode=\"readonly\"])) .datum-form__control--text:where(:disabled),\n :where(.datum-form:not([data-mode=\"readonly\"])) .datum-form__control--number:where(:disabled),\n :where(.datum-form:not([data-mode=\"readonly\"])) .datum-form__control--date:where(:disabled),\n :where(.datum-form:not([data-mode=\"readonly\"])) .datum-form__control--select:where(:disabled),\n :where(.datum-form:not([data-mode=\"readonly\"])) .datum-form__control--textarea:where(:disabled) {\n background: var(--color-disabled-bg, var(--color-light, #eef3f8));\n border-color: var(--color-border, #a9bbcb);\n color: var(--color-muted, #536b7f);\n -webkit-text-fill-color: currentColor;\n }\n :where(.datum-form:not([data-mode=\"readonly\"])) .datum-form__control:where(:disabled) { cursor: not-allowed; }\n /*\n * A read-only textarea is displaying an answer, not collecting one, so it shows all of it:\n * no scrollbar, no resize grip, and no minimum height holding open space a short answer does\n * not need. Scoped past the rule above, which would otherwise keep the 72px floor.\n *\n * The height itself is measured and set by the renderer (sizeReadOnlyTextareas), with the\n * rows attribute \u2014 the value's own line count \u2014 as the floor wherever no script runs.\n *\n * Deliberately *not* field-sizing: content. It looks like the CSS-native answer, but the\n * rows attribute becomes a maximum under it, so the box stops at the authored row count and\n * clips the rest \u2014 and because it also caps what the element reports while measuring, it\n * silently defeats the measurement too.\n */\n .datum-form .datum-form__control--textarea[readonly] {\n resize: none;\n overflow: hidden;\n min-height: 0;\n }\n /*\n * In read-only mode the live renderer draws every control read-only, never disabled\n * (text boxes readonly, choices refused and aria-readonly), so they keep focus and full contrast\n * as drawn. A control a rule disables in that mode is a UA \"not available\" cue,\n * greyed with a washed-out fill; a review's answers are the point of the page, so it too stays\n * at full contrast, in the binding's own ink on the binding's own input background. WebKit paints\n * a disabled control's text through -webkit-text-fill-color and, on iOS, fades the whole\n * control, so both are reset too.\n */\n .datum-form[data-mode=\"readonly\"] .datum-form__control--text:disabled,\n .datum-form[data-mode=\"readonly\"] .datum-form__control--number:disabled,\n .datum-form[data-mode=\"readonly\"] .datum-form__control--date:disabled,\n .datum-form[data-mode=\"readonly\"] .datum-form__control--select:disabled,\n .datum-form[data-mode=\"readonly\"] .datum-form__control--textarea:disabled {\n color: inherit;\n -webkit-text-fill-color: currentColor;\n opacity: 1;\n cursor: default;\n }\n /*\n * A field is a grid, so a checkbox would otherwise stretch across the whole column. Aligned\n * with start rather than left because the form's dir follows the locale: this reads as\n * left-hand in LTR and flips with the rest of the form in RTL.\n */\n .datum-form__field > .datum-form__control--checkbox { justify-self: start; accent-color: var(--color-choice-mark, var(--color-accent, auto)); }\n /* A fieldset in the browser default sense, not the visual one: the group draws no box. */\n .datum-form__radio-group,\n .datum-form__checkbox-group { border: 0; margin: 0; padding: 0; display: grid; gap: var(--spacing-option-gap, 6px); }\n .datum-form__radio-group legend,\n .datum-form__checkbox-group legend { padding: 0; }\n /*\n * The date-parts fieldset draws no box either, and a fieldset's UA min-width\n * would keep it from shrinking inside a grid column; the legend is the field's label.\n */\n .datum-form__date-group { border: 0; margin: 0; padding: 0; min-width: 0; }\n .datum-form__date-group legend { padding: 0; }\n /*\n * The parts sit side by side with a gap, each its word over its own box, sized by the box's\n * size attribute; a row too narrow for the three (a phone, a data grid's cell) wraps them.\n */\n .datum-form__date-parts { display: flex; flex-wrap: wrap; align-items: end; gap: var(--spacing-field-gap, 12px); }\n .datum-form__date-part { display: grid; gap: var(--spacing-field-inner-gap, 4px); max-width: 100%; min-width: 0; }\n .datum-form__date-part select { max-width: 100%; }\n /*\n * A lone checkbox is an option on its own: its box at the start of the label's line, the label,\n * hint and error in a column beside it, as a checkbox in a group is drawn. The box takes the\n * first row of the first column; every other part flows down the second.\n */\n .datum-form__field--checkbox { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--spacing-option-row-gap, 8px); align-items: center; }\n .datum-form__field--checkbox > * { grid-column: 2; }\n .datum-form__field--checkbox > .datum-form__control--checkbox { grid-column: 1; grid-row: 1; margin: 0; }\n /* WCAG 2.5.8: a choice row is at least 24 px tall, so its label and box are a real target. */\n .datum-form__radio-option,\n .datum-form__checkbox-option { min-height: var(--target-min-size, 24px); }\n .datum-form__radio-option,\n .datum-form__checkbox-option { display: flex; gap: var(--spacing-option-row-gap, 8px); align-items: center; }\n /* An option with a hint stacks its label and hint beside the box, the box on the label's line. */\n .datum-form__radio-option:has(.datum-form__option-hint),\n .datum-form__checkbox-option:has(.datum-form__option-hint) { align-items: start; }\n .datum-form__option-text { display: grid; gap: var(--spacing-option-text-gap, 2px); }\n .datum-form__option-hint { font-size: var(--font-size-hint, 12px); color: var(--color-muted, #536b7f); }\n /* The tick and the dot take the binding's accent; a form with no tokens set keeps the UA's. */\n .datum-form__radio-option .datum-form__control--radio,\n .datum-form__checkbox-option .datum-form__control--checkbox { margin: 0; accent-color: var(--color-choice-mark, var(--color-accent, auto)); }\n /*\n * Drawn choice marks, select chevron and error icon: opt-in\n * through DatumControls, each a root class these rules hang off. The box is drawn from the\n * control tokens and the glyph is a mask over a token-coloured fill \u2014 an icon token carries\n * the SVG and the colour comes from the palette (a data-URI background image could not read\n * a token). A host with a glyph of its own sets the icon token to its SVG (svgDataUri). Under forced colours the native controls\n * return and the masks go, since a mask's fill is what forced colours replace.\n */\n .datum-form--choice-marks-drawn .datum-form__control--checkbox,\n .datum-form--choice-marks-drawn .datum-form__control--radio {\n appearance: none; display: inline-grid; place-items: center; flex: none;\n width: var(--size-choice, 16px); height: var(--size-choice, 16px);\n border: var(--width-choice-border, var(--control-border-width, 1px)) solid var(--color-input-border, var(--color-border, #7e95ab));\n background: var(--color-input-bg, #fff); cursor: pointer;\n }\n .datum-form--choice-marks-drawn .datum-form__control--checkbox { border-radius: var(--radius-choice, 4px); }\n .datum-form--choice-marks-drawn .datum-form__control--radio { border-radius: 50%; }\n .datum-form--choice-marks-drawn .datum-form__control--checkbox::before,\n .datum-form--choice-marks-drawn .datum-form__control--radio::before {\n content: \"\"; width: 100%; height: 100%; transform: scale(0);\n background-color: var(--color-choice-mark, var(--color-accent, #2f6feb));\n -webkit-mask: var(--icon-check, url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M2.5%208.5l3.5%203.5%207.5-8%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\")) center / contain no-repeat;\n mask: var(--icon-check, url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M2.5%208.5l3.5%203.5%207.5-8%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\")) center / contain no-repeat;\n }\n .datum-form--choice-marks-drawn .datum-form__control--radio::before {\n -webkit-mask: var(--icon-radio, url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3C%2Fsvg%3E\")) center / contain no-repeat;\n mask: var(--icon-radio, url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3C%2Fsvg%3E\")) center / contain no-repeat;\n }\n .datum-form--choice-marks-drawn .datum-form__control--checkbox:checked::before,\n .datum-form--choice-marks-drawn .datum-form__control--radio:checked::before { transform: scale(1); }\n .datum-form--choice-marks-drawn .datum-form__control--checkbox:disabled,\n .datum-form--choice-marks-drawn .datum-form__control--radio:disabled { opacity: var(--opacity-button-disabled, .5); cursor: not-allowed; }\n .datum-form__select-face { position: relative; display: grid; }\n .datum-form__select-face > .datum-form__control--select {\n appearance: none;\n padding-inline-end: calc(var(--spacing-chevron-inset, 9px) * 2 + var(--size-chevron, 12px));\n }\n .datum-form__select-face::after {\n content: \"\"; position: absolute; top: 50%; inset-inline-end: var(--spacing-chevron-inset, 9px);\n width: var(--size-chevron, 12px); height: var(--size-chevron, 12px); transform: translateY(-50%);\n background-color: currentColor; pointer-events: none;\n -webkit-mask: var(--icon-chevron, url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M3%206l5%205%205-5%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\")) center / contain no-repeat;\n mask: var(--icon-chevron, url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M3%206l5%205%205-5%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\")) center / contain no-repeat;\n }\n .datum-form--error-icon-drawn .datum-form__error::before {\n content: \"\"; display: inline-block; vertical-align: middle;\n width: var(--size-error-icon, 1em); height: var(--size-error-icon, 1em); margin-inline-end: var(--spacing-error-icon-gap, .35em);\n background-color: currentColor;\n -webkit-mask: var(--icon-error, url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%226.5%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%204.5v4.5%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2211.75%22%20r%3D%221.1%22%2F%3E%3C%2Fsvg%3E\")) center / contain no-repeat;\n mask: var(--icon-error, url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%226.5%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%204.5v4.5%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2211.75%22%20r%3D%221.1%22%2F%3E%3C%2Fsvg%3E\")) center / contain no-repeat;\n }\n @media (forced-colors: active) {\n .datum-form--choice-marks-drawn .datum-form__control--checkbox,\n .datum-form--choice-marks-drawn .datum-form__control--radio,\n .datum-form__select-face > .datum-form__control--select { appearance: auto; }\n .datum-form--choice-marks-drawn .datum-form__control--checkbox::before,\n .datum-form--choice-marks-drawn .datum-form__control--radio::before,\n .datum-form__select-face::after { display: none; }\n .datum-form--error-icon-drawn .datum-form__error::before { forced-color-adjust: none; background-color: CanvasText; }\n }\n /* A file picker sized to its own button, not stretched across the field's grid column. */\n .datum-form__file .datum-form__control--file { justify-self: start; max-width: 100%; min-width: 0; }\n /*\n * The browser's picker drawn in the form's look: its button an outlined button in the accent\n * (the file rows' Remove is the quieter one), the \"No file chosen\" line in the form's own type.\n */\n .datum-form__control--file { font: inherit; color: inherit; border-radius: var(--radius-button, 8px); }\n .datum-form__control--file::file-selector-button {\n font: inherit; color: var(--color-accent, #2f6feb); background: var(--color-input-bg, #fff);\n border: var(--width-button-border, 1px) solid var(--color-accent, #2f6feb); border-radius: var(--radius-button, 8px);\n padding: var(--button-padding-sm, 4px 10px); margin-inline-end: var(--spacing-file-item-gap, 8px); cursor: pointer;\n }\n .datum-form__control--file:where(:hover:not(:disabled))::file-selector-button { filter: var(--button-hover-filter, none); }\n .datum-form__control--file:disabled { cursor: not-allowed; }\n .datum-form__control--file:disabled::file-selector-button { opacity: var(--opacity-button-disabled, .5); cursor: not-allowed; }\n /*\n * An image is a block that never overflows the form; the frame a missing picture draws (where\n * the builder's author selects it to give a URL) is a dashed panel holding its caption.\n */\n .datum-form__image { margin: 0; }\n .datum-form__image img { display: block; max-width: 100%; height: auto; }\n .datum-form__image--empty {\n display: grid; place-items: center; min-height: 6rem; padding: var(--padding-panel-body, 12px);\n border: var(--width-panel-border, 1px) dashed var(--color-border, #a9bbcb); border-radius: var(--radius-panel, 10px);\n color: var(--color-muted, #536b7f); font-size: var(--font-size-hint, 12px);\n }\n .datum-form__file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--spacing-file-list-gap, 4px); }\n .datum-form__file-item { display: flex; align-items: center; gap: var(--spacing-file-item-gap, 8px); flex-wrap: wrap; font-size: var(--font-size-file-item, 13px); }\n /* The name is a download when the bytes are embedded \u2014 it reads as the link it is. */\n .datum-form__file-name:where(button) {\n font: inherit; background: none; border: 0; padding: 0; text-align: start;\n color: var(--color-accent, #2f6feb); text-decoration: underline; cursor: pointer;\n }\n .datum-form__file-size, .datum-form__file-empty { font-size: var(--font-size-file-meta, 12px); color: var(--color-muted, #536b7f); }\n .datum-form__file-remove {\n font: inherit; font-size: var(--font-size-file-remove, 12px); color: inherit; background: none;\n border: var(--width-file-remove-border, 1px) solid var(--color-border, #a9bbcb); border-radius: var(--radius-file-remove, 6px); padding: var(--padding-file-remove, 2px 8px); cursor: pointer;\n }\n /*\n * A labelled container is a <fieldset> its legend names (gcds-fieldset, GOV.UK's and USWDS's\n * fieldset), in the browser default sense, not the visual one: the UA box, inline margin and\n * min-width go. The legend floats: an out-of-flow legend is not the fieldset's rendered\n * legend (HTML \u00A715.3.13), so it lays out as an ordinary grid item the gap spaces, where a\n * rendered legend sits outside the grid and loses it \u2014 and a grid item ignores its float.\n */\n .datum-form__group { display: grid; gap: var(--spacing-group-gap, 6px); border: 0; margin: 0; padding: 0; min-width: 0; }\n .datum-form__group > .datum-form__group-label { float: left; padding: 0; }\n /*\n * Headings \u2014 the form's title, a group's legend, a panel's title, the chrome heading and a\n * notice's title \u2014 take the binding's heading face (--font-family-heading, the body face\n * unless set) at their own size tokens; a design system with a serif heading face or a\n * legend scale of its own sets those rather than restating every heading rule.\n */\n .datum-form__group-label { margin: 0; justify-self: var(--field-part-justify, auto); font-family: var(--font-family-heading, inherit); font-weight: var(--font-weight-heading, 600); font-size: var(--font-size-group-label, 15px); line-height: inherit; }\n /* A group's description reads as a hint under its heading; the grid's gap spaces it. */\n .datum-form__group-description { margin: 0; max-width: var(--text-max-width, none); font-size: var(--font-size-hint, 12px); color: var(--color-muted, #536b7f); }\n /* The form's own heading (FormBodyOptions.title); the grid's gap spaces it from the fields. */\n .datum-form__title { margin: 0; font-family: var(--font-family-heading, inherit); font-size: var(--font-size-title, 20px); font-weight: var(--font-weight-heading, 600); line-height: var(--line-height-title, 1.25); }\n /*\n * Chrome (FormBodyOptions.chrome): rows of the form's own grid above and\n * below the fields, so the binding's gap token spaces them like everything else. Each region\n * is a stack of rows, one per part; a row places its part by the part's align \u2014 a language\n * switcher at the end of its row (the top-right corner in LTR, and with the rest of an RTL\n * form the top-left), which is where one is looked for; content at the start. A group puts\n * several parts on one row, wrapping when the row is too narrow.\n */\n .datum-form__header, .datum-form__footer { display: grid; gap: var(--spacing-chrome-gap, 8px); }\n .datum-form__chrome-row { display: grid; }\n .datum-form__chrome-row--start { justify-items: start; }\n .datum-form__chrome-row--center { justify-items: center; }\n .datum-form__chrome-row--end { justify-items: end; }\n .datum-form__chrome-row--start > *, .datum-form__chrome-row--center > *, .datum-form__chrome-row--end > * { max-width: 100%; }\n .datum-form__chrome-row > .datum-form__chrome-group,\n .datum-form__chrome-row > .datum-form__chrome-html,\n .datum-form__chrome-row > .datum-form__chrome-text,\n .datum-form__chrome-row > .datum-form__chrome-description { justify-self: stretch; }\n .datum-form__chrome-group { display: flex; flex-wrap: wrap; gap: var(--spacing-chrome-group-gap, 8px 16px); }\n .datum-form__chrome-group--start { justify-content: flex-start; }\n .datum-form__chrome-group--center { justify-content: center; }\n .datum-form__chrome-group--end { justify-content: flex-end; }\n .datum-form__chrome-group--space-between { justify-content: space-between; }\n .datum-form__chrome-group--valign-start { align-items: flex-start; }\n .datum-form__chrome-group--valign-center { align-items: center; }\n .datum-form__chrome-group--valign-end { align-items: flex-end; }\n .datum-form__chrome-image { margin: 0; }\n .datum-form__chrome-image img { display: block; max-width: 100%; height: auto; }\n .datum-form__chrome-heading { margin: 0; font-family: var(--font-family-heading, inherit); font-size: var(--font-size-heading, 17px); font-weight: var(--font-weight-heading, 600); line-height: var(--line-height-heading, 1.3); }\n .datum-form__chrome-text { margin: 0; font-size: var(--font-size-chrome-text, 14px); line-height: var(--line-height-chrome-text, 1.5); }\n .datum-form__chrome-description { margin: 0; font-size: var(--font-size-chrome-text, 14px); line-height: var(--line-height-chrome-text, 1.5); color: var(--color-muted, #536b7f); }\n .datum-form__language-switcher { display: inline-flex; align-items: center; gap: var(--spacing-language-switcher-gap, 6px); }\n .datum-form__language-switcher-label { font-weight: var(--font-weight-language-switcher, 600); font-size: var(--font-size-language-switcher, 13px); }\n .datum-form__language-switcher-select {\n border: var(--control-border-width, 1px) solid var(--color-input-border, var(--color-border, #7e95ab)); border-radius: var(--radius-control, 8px); padding: var(--padding-language-switcher, 5px 8px);\n color: inherit; background: var(--color-input-bg, #fff); cursor: pointer;\n }\n /* Hidden from sight, still announced \u2014 see containerLabelHtml. */\n .datum-form__visually-hidden {\n position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;\n overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;\n }\n /*\n * A field is a grid, so its text parts \u2014 label, hint, error, count, a group's legend, the\n * required note \u2014 stretch to the column unless the binding says otherwise (auto is the grid's\n * own value, so a form with no tokens set lays its parts out as a plain grid does); a design\n * system whose label is as wide as its words (GC Design System, USWDS) sets\n * --field-part-justify to start once, instead of a rule per part (datum/tokens.ts).\n */\n .datum-form__label { justify-self: var(--field-part-justify, auto); font-weight: var(--font-weight-label, 600); font-size: var(--font-size-label, 14px); }\n /*\n * The optional marker after a label (\"(optional)\") and the note above the fields that\n * explains the required marker: both worded by the binding or the page (FormTextCatalog),\n * neither drawn unless worded, both read as secondary text.\n */\n .datum-form__optional { font-weight: 400; color: var(--color-muted, #536b7f); }\n .datum-form__required-note { margin: 0; justify-self: var(--field-part-justify, auto); font-size: var(--font-size-hint, 12px); color: var(--color-muted, #536b7f); }\n /*\n * The help mark and its bubble. The bubble is anchored to the mark's left edge, so it never\n * runs off the start of a form whose labels sit at the left margin, and it opens downward:\n * upward would put it under whatever a host floats over the top of the form \u2014 an app bar,\n * a toolbar \u2014 for exactly the first field a person tries it on. Downward it covers only the\n * field's own description and control, and only while the pointer rests on the mark.\n */\n .datum-form__tooltip, [data-tooltip] { position: relative; display: inline-block; vertical-align: text-top; }\n .datum-form__tooltip-mark, [data-tooltip-mark] {\n display: inline-grid; place-items: center;\n width: var(--size-tooltip-mark, 15px); height: var(--size-tooltip-mark, 15px); border-radius: 50%;\n border: 1px solid currentColor; opacity: .55;\n font-size: 10px; font-weight: 700; line-height: 1; cursor: help;\n }\n .datum-form__tooltip-text, [data-tooltip-text] {\n position: absolute; left: -4px; top: calc(100% + 7px); z-index: 3;\n width: max-content; max-width: min(280px, 70vw);\n padding: var(--padding-tooltip, 6px 9px); border-radius: var(--radius-tooltip, 6px);\n background: var(--color-dark, #1f2933); color: var(--color-on-dark, #fff);\n font-size: var(--font-size-tooltip, 12px); font-weight: 400; line-height: 1.35; text-align: start; white-space: normal;\n box-shadow: var(--shadow-tooltip, 0 4px 12px rgba(13, 36, 53, .2));\n opacity: 0; visibility: hidden; pointer-events: none;\n transition: opacity .12s ease, visibility .12s;\n }\n .datum-form__tooltip-text::after, [data-tooltip-text]::after {\n content: \"\"; position: absolute; bottom: 100%; left: 9px;\n border: 5px solid transparent; border-bottom-color: var(--color-dark, #1f2933);\n }\n /*\n * Shown while the mark is hovered or holds focus (WCAG 1.4.13), until Escape dismisses it\n * (the renderer sets data-dismissed); the bubble takes the pointer while shown, so a\n * person can move onto it to read it at length, and a transparent bridge (the mark's row and the\n * gap, as wide as the bubble can be) keeps the hover from breaking on the way. Written at the specificity the old hover-only rule had, so a binding's\n * own .datum-form__tooltip:hover rule still outranks it by order.\n */\n :is(.datum-form__tooltip, [data-tooltip]):where(:hover, :focus-within):not([data-dismissed]) :is(.datum-form__tooltip-text, [data-tooltip-text]) { opacity: 1; visibility: visible; pointer-events: auto; }\n :is(.datum-form__tooltip, [data-tooltip]):where(:hover, :focus-within):not([data-dismissed])::after { content: \"\"; position: absolute; left: -4px; top: 0; width: min(280px, 70vw); height: calc(100% + 8px); cursor: help; }\n /*\n * Hints, errors and counts may be capped to a reading line (--text-max-width, none by default;\n * Datum's tokens set 65ch, the line length GC Design System holds its text to).\n */\n .datum-form__description { justify-self: var(--field-part-justify, auto); max-width: var(--text-max-width, none); font-size: var(--font-size-hint, 12px); color: var(--color-muted, #536b7f); }\n /* The character count: a hint under the control, the error colour once over the limit. */\n .datum-form__count { display: block; justify-self: var(--field-part-justify, auto); margin-top: var(--spacing-field-inner-gap, 4px); max-width: var(--text-max-width, none); font-size: var(--font-size-hint, 12px); color: var(--color-muted, #536b7f); }\n .datum-form__count--over { color: var(--color-error, #c53a3a); font-weight: var(--font-weight-error, 400); }\n /*\n * Errors read the binding's own error colour; the summary box takes a tint and an edge of it.\n * Every colour below is a token with the engine's literal as the fallback, so a binding that\n * sets none draws the engine's colours and a dark set can move all of them at once.\n */\n .datum-form__error { justify-self: var(--field-part-justify, auto); max-width: var(--text-max-width, none); font-size: var(--font-size-error, 12px); font-weight: var(--font-weight-error, 400); color: var(--color-error, #c53a3a); }\n /* The summary, the status line and a notice share one message box: its edge, corners and padding. */\n .datum-form__summary {\n border: var(--width-message-border, 1px) solid var(--color-error-border, #efc6c6); background: var(--color-error-bg, #fff5f5);\n border-radius: var(--radius-message, 8px); padding: var(--padding-message, 8px 10px);\n }\n /* A component nothing draws: a note in the summary's box, naming the type, dashed to say something is missing. */\n .datum-form__unknown {\n border: var(--width-message-border, 1px) dashed var(--color-error-border, #efc6c6); background: var(--color-error-bg, #fff5f5);\n border-radius: var(--radius-message, 8px); padding: var(--padding-message, 8px 10px);\n }\n .datum-form__unknown-title { margin: 0; font-family: var(--font-family-heading, inherit); font-size: inherit; font-weight: var(--font-weight-heading, 600); line-height: inherit; color: var(--color-error, #c53a3a); }\n .datum-form__unknown-text { margin: 0; font-size: var(--font-size-error, 12px); }\n .datum-form__summary:focus-visible { outline: 2px solid var(--color-error, #c53a3a); outline-offset: 2px; }\n /* The heading is a real one (a level under the form's), sized like the text around it. */\n .datum-form__summary-heading { margin: 0; font-family: var(--font-family-heading, inherit); font-size: inherit; font-weight: var(--font-weight-heading, 600); line-height: inherit; }\n .datum-form__summary :is(ul, ol) { margin: 6px 0 0; padding-left: 18px; }\n .datum-form__summary li > a,\n .datum-form__summary li > button { display: inline-flex; align-items: center; min-height: var(--target-min-size, 24px); }\n /* Each entry is a link to its field; a click moves focus rather than navigating. */\n .datum-form__summary a { color: var(--color-error, #c53a3a); }\n .datum-form__summary button {\n background: none; border: none; color: var(--color-error, #c53a3a); cursor: pointer; padding: 0;\n }\n /*\n * A submission in flight: the status line says so, with a ring turning beside\n * it, and the regions the person could act on \u2014 inert already \u2014 dim under it. No fade: a\n * submit that settles within a frame paints and unpaints before the screen shows either.\n */\n .datum-form__status {\n display: flex; align-items: center; gap: 8px;\n border: var(--width-message-border, 1px) solid var(--color-border, #a9bbcb); background: var(--color-light, #eef3f8);\n border-radius: var(--radius-message, 8px); padding: var(--padding-message, 8px 10px);\n }\n .datum-form__status-spinner {\n flex: none; width: 14px; height: 14px; border-radius: 50%;\n border: 2px solid currentColor; border-inline-end-color: transparent;\n animation: datum-form-spin .8s linear infinite;\n }\n @keyframes datum-form-spin { to { transform: rotate(360deg); } }\n @media (prefers-reduced-motion: reduce) { .datum-form__status-spinner { animation: none; } }\n .datum-form--submitting { cursor: progress; }\n .datum-form--submitting > .datum-form__header,\n .datum-form--submitting > .datum-form__journey-back,\n .datum-form--submitting > .datum-live-field,\n .datum-form--submitting > .datum-live-container > *,\n .datum-form--submitting > .datum-form__journey-actions,\n .datum-form--submitting > .datum-form__footer { opacity: .6; pointer-events: none; }\n /* The host's receipt: the summary's shape, in the outcome's colour. */\n .datum-form__notice {\n display: grid; gap: 6px; border-radius: var(--radius-message, 8px); padding: var(--padding-notice, 10px 12px);\n border: var(--width-message-border, 1px) solid var(--color-success, #2f855a); border-inline-start-width: var(--width-notice-bar, 4px);\n background: var(--color-light, #eef3f8);\n }\n .datum-form__notice--info { border-color: var(--color-info, #2b8aa8); }\n .datum-form__notice--warning { border-color: var(--color-warning, #e8a317); background: var(--color-warning-bg, var(--color-light, #eef3f8)); }\n .datum-form__notice--error { border-color: var(--color-error, #c53a3a); background: var(--color-error-bg, #fff5f5); color: var(--color-error, #c53a3a); }\n .datum-form__notice:focus-visible { outline: 2px solid var(--color-success, #2f855a); outline-offset: 2px; }\n .datum-form__notice--info:focus-visible { outline-color: var(--color-info, #2b8aa8); }\n /* Amber is under 3:1 on a light page, so a warning's focus ring is the form's own ring colour, not its edge. */\n .datum-form__notice--warning:focus-visible { outline-color: var(--focus-ring-color, var(--color-accent, #2f6feb)); }\n .datum-form__notice--error:focus-visible { outline-color: var(--color-error, #c53a3a); }\n .datum-form__notice-title { margin: 0; font-family: var(--font-family-heading, inherit); font-size: var(--font-size-notice-title, 15px); font-weight: var(--font-weight-heading, 600); line-height: inherit; }\n .datum-form__notice-text { margin: 0; }\n .datum-form__notice-details { display: grid; gap: 4px; margin: 0; }\n .datum-form__notice-detail { display: grid; grid-template-columns: max-content 1fr; gap: 0 12px; }\n .datum-form__notice-detail dt { font-weight: 600; }\n .datum-form__notice-detail dd { margin: 0; font-variant-numeric: tabular-nums; }\n .datum-form__button {\n justify-self: start;\n border: var(--width-button-border, 1px) solid var(--color-accent, #2f6feb);\n background: var(--color-accent, #2f6feb);\n color: var(--color-on-accent, #fff); border-radius: var(--radius-button, 8px); padding: var(--button-padding, 8px 16px);\n font-size: var(--button-font-size, 14px); font-weight: var(--button-font-weight, 400); cursor: pointer;\n }\n .datum-form__button:disabled { opacity: var(--opacity-button-disabled, .5); cursor: not-allowed; }\n /*\n * Hover and press, as a filter over whatever fill the variant has \u2014 none by default, so the\n * default look is unchanged; a design system that darkens every button the same way\n * (a brightness filter) sets the two tokens once. Written with :where() so the rule\n * stays at one class of specificity and a binding's own --variant:hover rule outranks it.\n */\n .datum-form__button:where(:hover:not(:disabled)) { filter: var(--button-hover-filter, none); }\n .datum-form__button:where(:active:not(:disabled)) { filter: var(--button-active-filter, none); }\n /*\n * Keyboard focus, drawn by the form rather than left to the UA's ring: the binding's focus\n * tokens, falling back to a two-pixel ring in the accent, on everything a person tabs to.\n * :focus-visible, so a pointer press draws none, as the UA would not. --focus-ring-inset is\n * for a design system that also thickens the control's own edge under the ring (GOV.UK's\n * inset shadow); it is a box-shadow, none by default.\n */\n .datum-form__control:focus-visible,\n .datum-form__button:focus-visible,\n .datum-form__file-remove:focus-visible,\n .datum-form__file-name:focus-visible,\n .datum-form__summary a:focus-visible,\n .datum-form__summary button:focus-visible,\n .datum-form__tab:focus-visible,\n .datum-form__step-label:focus-visible,\n .datum-form__tooltip-mark:focus-visible,\n [data-tooltip-mark]:focus-visible,\n :where(.datum-form__html) a:focus-visible,\n .datum-form__journey-back:focus-visible {\n outline: var(--focus-ring-width, 2px) solid var(--focus-ring-color, var(--color-accent, #2f6feb));\n outline-offset: var(--focus-ring-offset, 2px);\n box-shadow: var(--focus-ring-inset, none);\n }\n /*\n * Button emphasis. Each variant reads its own token and falls back to a default\n * palette, so a binding that defines none still gets a usable set, and one that defines\n * color-success recolours every success button in every form at once. The default (no\n * variant class) stays the accent-coloured button forms already had.\n */\n /* Primary restates the default rather than relying on it, so every variant has a rule. */\n .datum-form__button--primary {\n background: var(--color-accent, #2f6feb); border-color: var(--color-accent, #2f6feb);\n color: var(--color-on-accent, #fff);\n }\n /* Start: the large size in the success green, bold \u2014 a binding restates it as its own start button. */\n .datum-form__button--start {\n background: var(--color-success, #2f855a); border-color: var(--color-success, #2f855a);\n color: var(--color-on-accent, #fff);\n padding: var(--button-padding-lg, 11px 22px); font-size: var(--button-font-size-lg, 16px); font-weight: var(--button-font-weight-start, 600); border-radius: var(--radius-button-lg, var(--radius-button, 10px));\n }\n /*\n * Secondary: filled in the secondary colour by default; the outline button most design\n * systems draw is two tokens (color-secondary-bg: transparent; color-on-secondary: the\n * secondary colour), no rule.\n */\n .datum-form__button--secondary {\n background: var(--color-secondary-bg, var(--color-secondary, #5b6b7a)); border-color: var(--color-secondary, #5b6b7a);\n color: var(--color-on-secondary, var(--color-on-accent, #fff));\n }\n .datum-form__button--success {\n background: var(--color-success, #2f855a); border-color: var(--color-success, #2f855a);\n }\n .datum-form__button--danger {\n background: var(--color-danger, var(--color-error, #c92a2a));\n border-color: var(--color-danger, var(--color-error, #c92a2a));\n }\n /*\n * Dark text on amber: the palette's own dark, which stays dark under the dark set too \u2014 or\n * --color-on-warning, for a dark palette whose \"dark\" is a light grey the yellow cannot\n * carry.\n */\n .datum-form__button--warning {\n background: var(--color-warning, #e8a317); border-color: var(--color-warning, #e8a317);\n color: var(--color-on-warning, var(--color-dark, #14212b));\n }\n .datum-form__button--info {\n background: var(--color-info, #2b8aa8); border-color: var(--color-info, #2b8aa8);\n }\n .datum-form__button--light {\n background: var(--color-light, #eef3f8); border-color: var(--color-border, #a9bbcb);\n color: var(--color-text, #14212b);\n }\n .datum-form__button--dark {\n background: var(--color-dark, #1f2933); border-color: var(--color-dark, #1f2933);\n color: var(--color-on-dark, #fff);\n }\n /* A button that reads as a link, for a secondary action that should not compete. */\n .datum-form__button--link {\n background: none; border-color: transparent; padding-left: 2px; padding-right: 2px;\n color: var(--color-accent, #2f6feb); text-decoration: underline;\n }\n /* Bare classes suffice: the font reset above is :where()-scoped, so these win by order. */\n .datum-form__button--sm { padding: var(--button-padding-sm, 4px 10px); font-size: var(--button-font-size-sm, 12px); border-radius: var(--radius-button-sm, var(--radius-button, 6px)); }\n .datum-form__button--lg { padding: var(--button-padding-lg, 11px 22px); font-size: var(--button-font-size-lg, 16px); border-radius: var(--radius-button-lg, var(--radius-button, 10px)); }\n\n /*\n * Author-written content (the html component). Given the same margin discipline as the rest\n * of the form \u2014 the form's own grid owns the spacing between components, so the block's last\n * child must not add another gap under it.\n */\n /*\n * The native date picker's button is a focus stop of its own, and Chrome draws its ring there\n * (outline: auto) in the browser's colour; no author state selector reaches it (:focus and\n * :focus-visible after the pseudo-element never match), so the binding's ring colour and offset\n * are set outright \u2014 they show only while the UA's ring does.\n */\n .datum-form__control--date::-webkit-calendar-picker-indicator {\n outline-color: var(--focus-ring-color, var(--color-accent, #2f6feb));\n outline-offset: var(--focus-ring-offset, 2px);\n }\n .datum-form__html > :first-child { margin-top: 0; }\n .datum-form__html > :last-child { margin-bottom: 0; }\n .datum-form__html img { max-width: 100%; height: auto; }\n .datum-form__html table { border-collapse: collapse; }\n .datum-form__html th, .datum-form__html td {\n border: 1px solid var(--color-border, #a9bbcb); padding: var(--padding-table-cell, 4px 8px); text-align: start;\n }\n .datum-form__layout { gap: var(--spacing-field-gap, 12px); }\n .datum-form__layout--stack { display: grid; }\n\n .datum-form__panel {\n display: grid;\n border: var(--width-panel-border, 1px) solid var(--color-border, #a9bbcb);\n border-radius: var(--radius-panel, 10px);\n background: var(--color-panel, #fff);\n overflow: hidden;\n }\n .datum-form__panel-header {\n padding: var(--padding-panel-header, 8px 12px);\n background: var(--color-panel-header, #eef3f8);\n border-bottom: var(--width-panel-border, 1px) solid var(--color-border, #a9bbcb);\n }\n .datum-form__panel-title { margin: 0; font-family: var(--font-family-heading, inherit); font-weight: var(--font-weight-heading, 600); font-size: var(--font-size-panel-title, 14px); line-height: inherit; }\n .datum-form__panel-body { display: grid; gap: var(--spacing-field-gap, 12px); padding: var(--padding-panel-body, 12px); }\n /*\n * The panel's looks (the classes the binding declares, look-classes.ts). With none the panel is\n * the card above. Each look changes only the box, never the heading: it stays a real heading\n * drawn at the same size in all four. Plain has no box at all, so it also has no padding to\n * inset the fields from the heading and no clip, which would cut off a focus ring that sits\n * outside a field.\n */\n .datum-form__panel.panel-plain { gap: var(--spacing-field-gap, 12px); border: 0; border-radius: 0; background: none; overflow: visible; }\n .datum-form__panel.panel-plain > .datum-form__panel-header { padding: 0; background: none; border-bottom: 0; }\n .datum-form__panel.panel-plain > .datum-form__panel-body { padding: 0; }\n .datum-form__panel.panel-outlined { background: none; }\n .datum-form__panel.panel-outlined > .datum-form__panel-header { background: none; border-bottom: 0; padding-bottom: 0; }\n .datum-form__panel.panel-shaded { border: 0; background: var(--color-panel-header, #eef3f8); }\n .datum-form__panel.panel-shaded > .datum-form__panel-header { background: none; border-bottom: 0; padding-bottom: 0; }\n\n .datum-form__tabs { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__tablist {\n display: flex; flex-wrap: wrap; gap: var(--spacing-tab-gap, 2px);\n border-bottom: var(--width-tab-border, 1px) solid var(--color-border, #a9bbcb);\n }\n .datum-form__tab {\n border: var(--width-tab-border, 1px) solid transparent; border-bottom: none; background: none;\n border-radius: var(--radius-tab, 8px 8px 0 0); padding: var(--padding-tab, 7px 12px); cursor: pointer;\n color: inherit; font: inherit; font-size: var(--font-size-tab, 14px);\n /* Keeps the active tab's bottom edge flush with the list's rule. */\n margin-bottom: calc(-1 * var(--width-tab-border, 1px));\n }\n .datum-form__tab.is-active {\n border-color: var(--color-border, #a9bbcb);\n border-bottom-color: var(--color-panel, #fff);\n background: var(--color-panel, #fff);\n font-weight: var(--font-weight-tab-active, 600);\n }\n .datum-form__tabpanel { display: grid; gap: var(--spacing-field-gap, 12px); }\n /* An author display beats the UA's [hidden] rule, so the inactive panels say so themselves (print re-shows them). */\n .datum-form__tabpanel[hidden] { display: none; }\n /*\n * A tabs container under a breakpoint (DatumControls.tabsFrom): its list items draw no box\n * (the tab stays the tab's box, as without them), the list keeps no list look, and the\n * title and the panel headings show only where the panels stack (the contents view) \u2014 a\n * binding whose design system heads a tab panel too shows them in its own css.\n */\n .datum-form__tab-item { display: contents; }\n :where(.datum-form__tabs--responsive) > .datum-form__tablist { margin: 0; padding: 0; list-style: none; }\n .datum-form__tabs-title[hidden] { display: none; }\n :where(.datum-form__tabs--responsive[data-tabs-view=\"tabs\"] > .datum-form__tabpanel) > .datum-form__tabpanel-heading { display: none; }\n .datum-form__tabpanel-heading:focus { outline: none; }\n .datum-form__tabpanel-heading:focus-visible { outline: var(--focus-ring-width, 2px) solid var(--focus-ring-color, var(--color-accent, #2f6feb)); outline-offset: var(--focus-ring-offset, 2px); }\n .datum-form__tabs-title, .datum-form__tabpanel-heading { margin: 0; font-family: var(--font-family-heading, inherit); font-weight: var(--font-weight-heading, 600); font-size: var(--font-size-heading, 17px); line-height: inherit; }\n\n /*\n * A multi-step form: the indicator's entries in a row that wraps, each a\n * numbered label over a segment coloured by its status; the progress line under it; the\n * panels; then Back and Continue. The engine's look is plain; every design-system binding\n * restates its own indicator (USWDS's segments and counter, the \"Step n of total\" caption\n * of Ontario, GOV.UK, GCDS and Qu\u00E9bec) over these classes.\n */\n .datum-form__steps { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__step-indicator { display: grid; gap: var(--spacing-step-gap, 6px); }\n .datum-form__step-list { display: flex; flex-wrap: wrap; gap: var(--spacing-step-gap, 6px); margin: 0; padding: 0; list-style: none; counter-reset: none; }\n .datum-form__step { flex: 1 1 8rem; min-width: 0; border-top: var(--width-step-bar, 4px) solid var(--color-border, #a9bbcb); padding-top: 6px; }\n .datum-form__step--completed { border-top-color: var(--color-success, #2f855a); }\n .datum-form__step--active { border-top-color: var(--color-accent, #2f6feb); }\n .datum-form__step-label {\n display: inline-flex; align-items: baseline; gap: 6px; max-width: 100%;\n border: 0; background: none; padding: 0; color: var(--color-muted, #536b7f); font: inherit; font-size: var(--font-size-hint, 12px); text-align: left; cursor: pointer;\n }\n .datum-form__step-label[aria-disabled=\"true\"], span.datum-form__step-label { cursor: default; }\n .datum-form__step--active .datum-form__step-label { color: var(--color-text, #14212b); font-weight: 600; }\n .datum-form__step-number { display: inline-flex; align-items: center; justify-content: center; width: var(--size-step-number, 1.5em); height: var(--size-step-number, 1.5em); border-radius: 50%; background: var(--color-light, #eef3f8); color: inherit; font-size: 0.9em; }\n .datum-form__step--active .datum-form__step-number { background: var(--color-accent, #2f6feb); color: var(--color-on-accent, #fff); }\n .datum-form__step--completed .datum-form__step-number { background: var(--color-success, #2f855a); color: var(--color-on-accent, #fff); }\n .datum-form__step-progress { display: flex; align-items: baseline; gap: 6px; margin: 0; font-size: var(--font-size-hint, 12px); color: var(--color-muted, #536b7f); }\n .datum-form__step-counter { display: none; }\n .datum-form__step-current { display: none; }\n .datum-form__step-panels { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__step-panel { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__step-panel[hidden] { display: none; }\n .datum-form__step-heading { margin: 0; font-family: var(--font-family-heading, inherit); font-weight: var(--font-weight-heading, 600); font-size: var(--font-size-heading, 17px); line-height: inherit; }\n /* The tag inside the heading is a binding's to draw (gcds-stepper's); the progress line carries the count by default. */\n .datum-form__step-tag { display: none; }\n .datum-form__step-heading:focus { outline: none; }\n .datum-form__step-heading:focus-visible { outline: var(--focus-ring-width, 2px) solid var(--focus-ring-color, var(--color-accent, #2f6feb)); outline-offset: var(--focus-ring-offset, 2px); }\n .datum-form__step-body { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__step-actions { display: flex; flex-wrap: wrap; gap: var(--spacing-actions-gap, 8px); }\n /* A button activateStep hid: a binding's own display on the button (GOV.UK's inline-block Back link) must not bring it back. */\n .datum-form .datum-form__step-actions > [hidden] { display: none; }\n\n /* A button group: a wrapping row; as a list, no markers or indent. */\n .datum-form__button-group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spacing-field-gap, 12px); margin: 0; padding: 0; list-style: none; }\n .datum-form__button-group-item { display: flex; }\n\n /*\n * A grid column stacks its children like the form itself does. The min-width: 0 rules let\n * a control shrink with its track instead of holding its intrinsic width and pushing the\n * neighbouring column out \u2014 a grid item's automatic minimum is its content's, all the way\n * down to the input, so every box between the cell and the control has to give it up.\n */\n .datum-form__grid-column {\n display: grid; gap: var(--spacing-field-gap, 12px); align-content: start; min-width: 0;\n }\n .datum-form__grid-column > *,\n .datum-form__grid-column .datum-form__field,\n .datum-form__grid-column .datum-form__field > * { min-width: 0; }\n\n /*\n * Authored column widths: the grid is a row of twelve tracks and each cell spans its share\n * (--datum-grid-span, written by the shell). A cell with no span \u2014 a slot the grid no\n * longer declares \u2014 takes the whole row. Fixed tracks cannot auto-fit, so below 600px of\n * the grid's own width every cell takes the whole row instead: the phone-width stacking an\n * equal-column grid gets for free, keyed off the grid rather than the viewport so that the\n * builder's preview width shows it too.\n */\n .datum-form__layout--grid[data-column-widths] { container-type: inline-size; }\n .datum-form__layout--grid[data-column-widths] > .datum-form__grid-column {\n grid-column: span var(--datum-grid-span, 12);\n }\n @container (max-width: 600px) {\n .datum-form__layout--grid[data-column-widths] > .datum-form__grid-column { grid-column: 1 / -1; }\n }\n\n .datum-form__datagrid { container-type: inline-size; container-name: datum-datagrid; }\n .datum-form__datagrid-scroll { overflow-x: auto; }\n .datum-form__datagrid-table { width: 100%; border-collapse: collapse; }\n .datum-form__datagrid-colhead, .datum-form__datagrid-rownum { text-align: start; vertical-align: bottom; }\n /*\n * A row's heading (\"Row 1\") starts the row, its line level with the text in the row's first\n * boxes (a box's padding and border), not under its tallest cell.\n */\n .datum-form__datagrid-rownum { vertical-align: top; padding-block-start: 10px; }\n .datum-form__datagrid-cell { vertical-align: top; min-width: 0; }\n .datum-form__datagrid-rownum, .datum-form__datagrid-actions { width: 1%; white-space: nowrap; }\n .datum-form__datagrid-actions { vertical-align: top; }\n .datum-form__datagrid-cell :is(.datum-form__control--text, .datum-form__control--number, .datum-form__control--date, .datum-form__control--select, .datum-form__control--textarea, .datum-form__control-group) { width: 100%; min-width: 0; box-sizing: border-box; }\n /* A date's parts keep their own widths in a cell, side by side, rather than each taking the cell's width. */\n .datum-form__datagrid-cell .datum-form__date-part :is(.datum-form__control--text, .datum-form__control--select) { width: auto; }\n .datum-form__datagrid-add { justify-self: start; }\n /* Row numbers off: the row's name stays for assistive technology, out of view in every layout. */\n .datum-form__datagrid-rowname { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }\n .datum-form__datagrid:where([data-layout=\"table\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > .datum-form__datagrid-cell:where(:not([data-cell-group], .datum-form__datagrid-slot)) .datum-form__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }\n .datum-form__datagrid:where([data-layout=\"stacked\"], :not([data-layout])) > :where(div) > :where(table), .datum-form__datagrid:where([data-layout=\"stacked\"], :not([data-layout])) > :where(div) > :where(table) > :where(tbody), .datum-form__datagrid:where([data-layout=\"stacked\"], :not([data-layout])) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-cell, .datum-form__datagrid-actions, .datum-form__datagrid-rownum) { display: block; width: auto; white-space: normal; }\n .datum-form__datagrid:where([data-layout=\"stacked\"], :not([data-layout])) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__datagrid:where([data-layout=\"stacked\"], :not([data-layout])) > :where(div) > :where(table) > .datum-form__datagrid-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }\n @container datum-datagrid (width >= 40rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > .datum-form__datagrid-cell:where(:not([data-cell-group], .datum-form__datagrid-slot)) .datum-form__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n @container datum-datagrid (width < 40rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"]) > :where(div) > :where(table), .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"]) > :where(div) > :where(table) > :where(tbody), .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-cell, .datum-form__datagrid-actions, .datum-form__datagrid-rownum) { display: block; width: auto; white-space: normal; }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"]) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"]) > :where(div) > :where(table) > .datum-form__datagrid-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n @container datum-datagrid (width >= 45rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"5\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > .datum-form__datagrid-cell:where(:not([data-cell-group], .datum-form__datagrid-slot)) .datum-form__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n @container datum-datagrid (width < 45rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"5\"]) > :where(div) > :where(table), .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"5\"]) > :where(div) > :where(table) > :where(tbody), .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"5\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-cell, .datum-form__datagrid-actions, .datum-form__datagrid-rownum) { display: block; width: auto; white-space: normal; }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"5\"]) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"5\"]) > :where(div) > :where(table) > .datum-form__datagrid-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n @container datum-datagrid (width >= 54rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"6\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > .datum-form__datagrid-cell:where(:not([data-cell-group], .datum-form__datagrid-slot)) .datum-form__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n @container datum-datagrid (width < 54rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"6\"]) > :where(div) > :where(table), .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"6\"]) > :where(div) > :where(table) > :where(tbody), .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"6\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-cell, .datum-form__datagrid-actions, .datum-form__datagrid-rownum) { display: block; width: auto; white-space: normal; }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"6\"]) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"6\"]) > :where(div) > :where(table) > .datum-form__datagrid-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n @container datum-datagrid (width >= 63rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"7\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > .datum-form__datagrid-cell:where(:not([data-cell-group], .datum-form__datagrid-slot)) .datum-form__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n @container datum-datagrid (width < 63rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"7\"]) > :where(div) > :where(table), .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"7\"]) > :where(div) > :where(table) > :where(tbody), .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"7\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-cell, .datum-form__datagrid-actions, .datum-form__datagrid-rownum) { display: block; width: auto; white-space: normal; }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"7\"]) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"7\"]) > :where(div) > :where(table) > .datum-form__datagrid-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n @container datum-datagrid (width >= 72rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where(:not([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"], [data-columns=\"5\"], [data-columns=\"6\"], [data-columns=\"7\"])) > :where(div) > :where(table) > :where(tbody) > :where(tr) > .datum-form__datagrid-cell:where(:not([data-cell-group], .datum-form__datagrid-slot)) .datum-form__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n @container datum-datagrid (width < 72rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where(:not([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"], [data-columns=\"5\"], [data-columns=\"6\"], [data-columns=\"7\"])) > :where(div) > :where(table), .datum-form__datagrid:where([data-layout=\"auto\"]):where(:not([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"], [data-columns=\"5\"], [data-columns=\"6\"], [data-columns=\"7\"])) > :where(div) > :where(table) > :where(tbody), .datum-form__datagrid:where([data-layout=\"auto\"]):where(:not([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"], [data-columns=\"5\"], [data-columns=\"6\"], [data-columns=\"7\"])) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-cell, .datum-form__datagrid-actions, .datum-form__datagrid-rownum) { display: block; width: auto; white-space: normal; }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where(:not([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"], [data-columns=\"5\"], [data-columns=\"6\"], [data-columns=\"7\"])) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { display: grid; gap: var(--spacing-field-gap, 12px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where(:not([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"], [data-columns=\"5\"], [data-columns=\"6\"], [data-columns=\"7\"])) > :where(div) > :where(table) > .datum-form__datagrid-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }\n .datum-form__datagrid-template > table { table-layout: fixed; }\n .datum-form__datagrid-slot > [data-dropzone] { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--spacing-field-gap, 12px); }\n .datum-form__datagrid-slot > [data-dropzone] > [data-component-id] { flex: 1 1 10rem; min-width: 0; }\n /* The template row sits under the column headings, which name its fields: their own labels would\n read twice, so they are hidden while the headings are drawn (a group column keeps its fields'\n labels, as in a row). Headings off, the labels show. */\n .datum-form__datagrid-template > table:has(> .datum-form__datagrid-head) .datum-form__datagrid-slot > [data-dropzone] > [data-component-id] > .datum-form__field > .datum-form__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }\n\n .datum-form__datagrid-colhead, .datum-form__datagrid-rownum, .datum-form__datagrid-cell, .datum-form__datagrid-actions { padding: var(--padding-table-cell, 4px 8px); border-bottom: var(--width-panel-border, 1px) solid var(--color-border, #a9bbcb); }\n .datum-form__datagrid-colhead { font-weight: var(--font-weight-heading, 600); }\n .datum-form__datagrid-rownum { font-weight: var(--font-weight-heading, 600); color: var(--color-muted, #536b7f); }\n .datum-form__datagrid-actions .datum-form__button + .datum-form__button { margin-inline-start: var(--spacing-actions-gap, 8px); }\n .datum-form__datagrid-empty { margin: 0; color: var(--color-muted, #536b7f); }\n .datum-form__datagrid:where([data-layout=\"stacked\"], :not([data-layout])) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { border: var(--width-panel-border, 1px) solid var(--color-border, #a9bbcb); border-radius: var(--radius-panel, 10px); padding: var(--padding-panel-body, 12px); margin-bottom: var(--spacing-group-gap, 6px); }\n .datum-form__datagrid:where([data-layout=\"stacked\"], :not([data-layout])) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-rownum, .datum-form__datagrid-cell, .datum-form__datagrid-actions) { padding: 0; border-bottom: 0; }\n @container datum-datagrid (width < 40rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"]) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { border: var(--width-panel-border, 1px) solid var(--color-border, #a9bbcb); border-radius: var(--radius-panel, 10px); padding: var(--padding-panel-body, 12px); margin-bottom: var(--spacing-group-gap, 6px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-rownum, .datum-form__datagrid-cell, .datum-form__datagrid-actions) { padding: 0; border-bottom: 0; } }\n @container datum-datagrid (width < 45rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"5\"]) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { border: var(--width-panel-border, 1px) solid var(--color-border, #a9bbcb); border-radius: var(--radius-panel, 10px); padding: var(--padding-panel-body, 12px); margin-bottom: var(--spacing-group-gap, 6px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"5\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-rownum, .datum-form__datagrid-cell, .datum-form__datagrid-actions) { padding: 0; border-bottom: 0; } }\n @container datum-datagrid (width < 54rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"6\"]) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { border: var(--width-panel-border, 1px) solid var(--color-border, #a9bbcb); border-radius: var(--radius-panel, 10px); padding: var(--padding-panel-body, 12px); margin-bottom: var(--spacing-group-gap, 6px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"6\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-rownum, .datum-form__datagrid-cell, .datum-form__datagrid-actions) { padding: 0; border-bottom: 0; } }\n @container datum-datagrid (width < 63rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"7\"]) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { border: var(--width-panel-border, 1px) solid var(--color-border, #a9bbcb); border-radius: var(--radius-panel, 10px); padding: var(--padding-panel-body, 12px); margin-bottom: var(--spacing-group-gap, 6px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where([data-columns=\"7\"]) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-rownum, .datum-form__datagrid-cell, .datum-form__datagrid-actions) { padding: 0; border-bottom: 0; } }\n @container datum-datagrid (width < 72rem) { .datum-form__datagrid:where([data-layout=\"auto\"]):where(:not([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"], [data-columns=\"5\"], [data-columns=\"6\"], [data-columns=\"7\"])) > :where(div) > :where(table) > :where(tbody) > .datum-form__datagrid-row { border: var(--width-panel-border, 1px) solid var(--color-border, #a9bbcb); border-radius: var(--radius-panel, 10px); padding: var(--padding-panel-body, 12px); margin-bottom: var(--spacing-group-gap, 6px); }\n .datum-form__datagrid:where([data-layout=\"auto\"]):where(:not([data-columns=\"1\"], [data-columns=\"2\"], [data-columns=\"3\"], [data-columns=\"4\"], [data-columns=\"5\"], [data-columns=\"6\"], [data-columns=\"7\"])) > :where(div) > :where(table) > :where(tbody) > :where(tr) > :where(.datum-form__datagrid-rownum, .datum-form__datagrid-cell, .datum-form__datagrid-actions) { padding: 0; border-bottom: 0; } }\n\n .datum-form__journey-back {\n justify-self: start; font: inherit; background: none; border: 0; padding: 0;\n color: var(--color-accent, #2f6feb); text-decoration: underline; cursor: pointer;\n }\n .datum-form__journey-back { display: inline-flex; align-items: center; min-height: var(--target-min-size, 24px); min-width: var(--target-min-size, 24px); }\n .datum-form__journey-back[inert] { opacity: .6; }\n .datum-form__journey-actions > .datum-form__button { min-height: var(--target-touch-size, 44px); }\n .datum-form__journey-title { margin: 0; font-size: var(--font-size-hint, 12px); color: var(--color-muted, #536b7f); }\n .datum-form__journey-heading { margin: 0; font-family: var(--font-family-heading, inherit); font-size: var(--font-size-title, 20px); font-weight: var(--font-weight-heading, 600); line-height: var(--line-height-title, 1.25); }\n .datum-form__journey-heading:focus { outline: none; }\n .datum-form__journey-heading:focus-visible { outline: var(--focus-ring-width, 2px) solid var(--focus-ring-color, var(--color-accent, #2f6feb)); outline-offset: var(--focus-ring-offset, 2px); }\n .datum-form__journey-progress { display: block; font-size: var(--font-size-hint, 12px); font-weight: normal; color: var(--color-muted, #536b7f); }\n .datum-form__journey-description { margin: 0; }\n .datum-form__journey-redirect { margin: 0; font-size: var(--font-size-hint, 12px); color: var(--color-muted, #536b7f); }\n .datum-form[data-journey-page-focus]:focus { outline: none; }\n .datum-form__journey-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spacing-actions-gap, 8px); }\n .datum-form__journey-actions > .datum-form__button[aria-busy=\"true\"] { cursor: progress; }\n\n /*\n * Marks the renderer owns on a field's wrapper (the binding draws their looks): warnings and\n * info apart from the errors, a file dragged over a file field, and a press on the file face.\n */\n .datum-live-notices { display: grid; gap: var(--spacing-field-inner-gap, 4px); justify-self: var(--field-part-justify, auto); max-width: var(--text-max-width, none); font-size: var(--font-size-hint, 12px); color: var(--color-muted, #536b7f); }\n .datum-live-notice { margin: 0; padding-inline-start: 8px; border-inline-start: 3px solid var(--color-info, #2b8aa8); }\n .datum-live-notice[data-severity=\"warning\"] { border-inline-start-color: var(--color-warning, #e8a317); }\n .datum-live-notice > strong { font-weight: 600; margin-inline-end: .25em; color: var(--color-text, #14212b); }\n .datum-live-field[data-file-drag] .datum-form__control--file { outline: 2px dashed var(--focus-ring-color, var(--color-accent, #2f6feb)); outline-offset: 2px; }\n .datum-live-field[data-file-press] .datum-form__control--file { opacity: .85; }\n .datum-form[aria-busy=\"true\"] .datum-form__button[aria-disabled=\"true\"] { opacity: var(--opacity-button-disabled, .5); cursor: progress; }\n\n @media print {\n .datum-form .datum-form__tabpanel[hidden], .datum-form .datum-form__step-panel[hidden] { display: grid; }\n .datum-form .datum-form__button,\n .datum-form .datum-form__file-remove,\n .datum-form .datum-form__step-actions,\n .datum-form .datum-form__journey-actions,\n .datum-form .datum-form__journey-back,\n .datum-form .datum-form__language-switcher,\n .datum-form .datum-form__tooltip,\n .datum-form [data-tooltip],\n .datum-form .datum-form__tablist,\n .datum-form .datum-form__step-indicator,\n .datum-form .datum-form__file input[type=\"file\"] { display: none; }\n .datum-form .datum-form__tabpanel-heading { display: block; }\n .datum-form .datum-form__tabpanel[data-tab-label]::before { content: attr(data-tab-label); display: block; font-weight: var(--font-weight-heading, 600); font-size: var(--font-size-heading, 17px); }\n .datum-form .datum-form__tabpanel + .datum-form__tabpanel, .datum-form .datum-form__step-panel + .datum-form__step-panel { margin-block-start: 1rem; }\n }";
3
+ /** The drawn controls a form opts into (each a root class the sheet's opt-in rules hang off); the native control otherwise. */
4
+ export interface DatumDrawnControls {
5
+ /** Checkboxes and radios drawn from the control tokens and a masked tick or dot. */
6
+ choiceMarks?: "native" | "drawn";
7
+ /** A select drawn with a chevron of its own. */
8
+ selectChevron?: "native" | "drawn";
9
+ /** An inline error led by a drawn icon, so colour is not its only cue (WCAG 1.4.1). */
10
+ errorIcon?: "native" | "drawn";
11
+ }
12
+ /** Datum's own choice: native marks and chevron, a drawn error icon. */
13
+ export declare const DATUM_DRAWN_CONTROLS: Readonly<Required<DatumDrawnControls>>;
14
+ /** The classes of the form element: `datum-form`, the dark palette's, and one per drawn control. */
15
+ export declare function datumFormClass(context: {
16
+ colorScheme: "light" | "dark";
17
+ }, drawn?: DatumDrawnControls, extra?: string): string;
18
+ /** What a host changes about the Datum look. */
19
+ export interface DatumCssOptions {
20
+ /** Tokens over the studio light set (a token the manifest does not name is a private one the host's own css reads). */
21
+ tokens?: DatumTokens;
22
+ /** Tokens over the studio dark set, applied under `.datum-form--dark`. */
23
+ dark?: DatumTokens;
24
+ /** Tokens that change with the viewport or the form's own width (`ResponsiveTokens`). */
25
+ responsiveTokens?: ReadonlyArray<{
26
+ media?: string;
27
+ container?: string;
28
+ tokens: Record<string, string>;
29
+ }>;
30
+ /** Rules after the sheet and the token sets: a host's own. */
31
+ css?: readonly string[];
32
+ }
33
+ /** `tokens` as one rule on `selector`; a name or value that would break out of its declaration is dropped. */
34
+ export declare function datumTokenRule(selector: string, tokens: Readonly<Record<string, string>>): string;
35
+ /**
36
+ * The Datum binding's css: the sheet, then the light token set (the studio look, with the host's
37
+ * tokens over it) on `.datum-form`, the dark set on `.datum-form--dark`, the responsive sets, the
38
+ * studio's choice rule and the host's own rules. The dark palette's two rules follow the dark set.
39
+ */
40
+ export declare function datumCss(options?: DatumCssOptions): string;
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Datum's date: three boxes (day, month, year) in a fieldset, the pattern every government design
3
+ * system prescribes in place of the browser's date picker. The renderer composes the one stored
4
+ * `YYYY-MM-DD` answer from the parts the adapter reports (`on.parts`), keeps a date typed in part
5
+ * as it was typed, and tells validation what is missing; the adapter only draws the boxes.
6
+ * `control: "native"` draws the browser's own date box instead (the browser's own look): one `<input type="date">` that reports the whole answer (`on.input`).
7
+ *
8
+ * `createDatumDateAdapter(options)` is the seam: the parts' order, a fixed one or one by
9
+ * locale; whether the month is a select of names or a two-digit box; the boxes' widths; a class
10
+ * per part; the `autocomplete` base; a hidden hint per part. The words ("Day", "Month", "Year",
11
+ * the select's first option, each part's hint) come from the form's texts. The label, description,
12
+ * control and error stand in the order `fieldOrder` gives, and `controls` moves the ARIA states
13
+ * (`ariaStates`, `groupDescription`, `groupError`, `inlineErrors`).
14
+ *
15
+ * Writes: a box reports all three parts as they stand on every keystroke (`interim`), and again
16
+ * settled on `change`; the field is "left" (`on.commit()`) only when focus moves out of the whole
17
+ * group, so tabbing from day to month checks nothing. Focus goes to the first part the date still
18
+ * lacks, in the order drawn.
19
+ */
20
+ import type { DateFieldState, DateParts, FieldAdapter } from "../contract.js";
21
+ import type { FieldStateBuilder } from "../fields.js";
22
+ import { type DatumFieldOptions } from "./field-scaffold.js";
23
+ export type DatePartName = "day" | "month" | "year";
24
+ export interface DatumDateOptions {
25
+ /** Three part boxes (the default), or the browser's date box. */
26
+ control?: "parts" | "native" | undefined;
27
+ /** The parts in reading order, or a function of the locale. Default: day, month, year. */
28
+ order?: readonly DatePartName[] | ((locale: string) => readonly DatePartName[]) | undefined;
29
+ /** The month control: a select of month names, or a two-digit text box (the default). */
30
+ month?: "select" | "text" | undefined;
31
+ /** A select's option text: the month's name alone, or numbered ("01 - January"). */
32
+ monthLabel?: "long" | "numbered" | undefined;
33
+ /** The text boxes' `size` (characters). Default: day 2, month 2, year 4. */
34
+ sizes?: Partial<Record<DatePartName, number>> | undefined;
35
+ /** An extra class per part wrapper, for a design system's own width classes. */
36
+ partClass?: ((part: DatePartName) => string | undefined) | undefined;
37
+ /** The `autocomplete` base the parts complete with (`bday` completes `bday-day`); the component's own wins. */
38
+ autocomplete?: string | undefined;
39
+ /** Each part described by a visually hidden hint of its own (`dateDayHint` ...), before the error. Default: off. */
40
+ partHints?: boolean | undefined;
41
+ }
42
+ export declare const DEFAULT_DATE_PART_ORDER: readonly DatePartName[];
43
+ /** A declared order validated as a field's parts are: every part once, unknown names dropped, an incomplete one falls back. */
44
+ export declare function normalizeDatePartOrder(order: readonly string[] | undefined): readonly DatePartName[];
45
+ /** The parts of an ISO `YYYY-MM-DD` value; empty strings for anything else. */
46
+ export declare function parseIsoDateParts(value: unknown): DateParts;
47
+ /**
48
+ * The state of a date for the renderer's fields module (`createFieldsFeature({ date })`): the
49
+ * parts as the boxes show them, which for a date typed in part is what was typed (the stored
50
+ * answer is empty until all three are in), and the parts still lacking, in the order the
51
+ * adapter draws them (focus goes to the first). That order is the `dateOrder` of the binding the
52
+ * adapter drawing the date comes from (the binding's own, or Datum's standing behind it), so no
53
+ * host configures it per binding; `order` stands in for a binding that declares none.
54
+ */
55
+ export declare function createDatumDateStateBuilder(options?: Pick<DatumDateOptions, "order">): FieldStateBuilder;
56
+ export declare function createDatumDateAdapter(options?: DatumDateOptions, field?: DatumFieldOptions): FieldAdapter<DateFieldState>;
57
+ /**
58
+ * Where focus goes on a date drawn as part boxes: the first box the date still lacks, in the
59
+ * order the boxes stand, else the first (an impossible day). Read from the boxes, which hold what
60
+ * was typed even when no draw has followed. Any binding whose date draws its boxes marked
61
+ * `data-value-part` (`day`, `month`, `year`) in the field's own tree takes it as it is
62
+ * (`datum.components.date.focusTarget`).
63
+ */
64
+ export declare function datePartsFocusTarget(wrapper: HTMLElement): HTMLElement | null;
65
+ /** Datum's date with the engine's own choices: day, month, year; the month a two-digit box. */
66
+ export declare const datumDateAdapter: FieldAdapter<DateFieldState>;