mlform 0.1.2 → 0.1.4

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 (299) hide show
  1. package/README.md +241 -88
  2. package/dist/design-system-CrrSGfFB.js +1352 -0
  3. package/dist/engine-nnhWPT2L.js +5301 -0
  4. package/dist/kit-Dt_1Fxlc.js +76 -0
  5. package/dist/mlform/design-system.mjs +2 -0
  6. package/dist/mlform/engine.mjs +3 -0
  7. package/dist/mlform/kit.mjs +3 -0
  8. package/dist/mlform/primitives.mjs +2 -0
  9. package/dist/mlform/questionnaire.mjs +640 -0
  10. package/dist/mlform/transport.mjs +2 -0
  11. package/dist/mlform.mjs +4 -709
  12. package/dist/primitives-Pi-ztAr6.js +5063 -0
  13. package/dist/transport-A1RsnZhD.js +2143 -0
  14. package/dist/types/src/design-system/constants.d.ts +34 -0
  15. package/dist/types/src/design-system/contract/component-keys.d.ts +2 -0
  16. package/dist/types/src/design-system/contract/component-tokens.d.ts +5 -0
  17. package/dist/types/src/design-system/contract/global-tokens.d.ts +7 -0
  18. package/dist/types/src/design-system/contract/index.d.ts +4 -0
  19. package/dist/types/src/design-system/contract/token-keys.d.ts +12 -0
  20. package/dist/types/src/design-system/index.d.ts +8 -0
  21. package/dist/types/src/design-system/recipes/contrast.d.ts +2 -0
  22. package/dist/types/src/design-system/recipes/default.d.ts +2 -0
  23. package/dist/types/src/design-system/recipes/index.d.ts +4 -0
  24. package/dist/types/src/design-system/recipes/minimal.d.ts +2 -0
  25. package/dist/types/src/design-system/recipes/soft.d.ts +2 -0
  26. package/dist/types/src/design-system/registry/builtins.d.ts +5 -0
  27. package/dist/types/src/design-system/registry/create-registry.d.ts +2 -0
  28. package/dist/types/src/design-system/registry/deep-freeze.d.ts +5 -0
  29. package/dist/types/src/design-system/registry/define-recipe.d.ts +2 -0
  30. package/dist/types/src/design-system/registry/define-theme.d.ts +2 -0
  31. package/dist/types/src/design-system/registry/define-token-maps.d.ts +6 -0
  32. package/dist/types/src/design-system/registry/index.d.ts +5 -0
  33. package/dist/types/src/design-system/resolve/diagnostics.d.ts +9 -0
  34. package/dist/types/src/design-system/resolve/index.d.ts +5 -0
  35. package/dist/types/src/design-system/resolve/merge-config.d.ts +2 -0
  36. package/dist/types/src/design-system/resolve/migrate-tokens.d.ts +44 -0
  37. package/dist/types/src/design-system/resolve/resolve-mode.d.ts +6 -0
  38. package/dist/types/src/design-system/resolve/resolve-recipe.d.ts +2 -0
  39. package/dist/types/src/design-system/resolve/resolve-theme.d.ts +2 -0
  40. package/dist/types/src/design-system/resolve/resolve-tokens.d.ts +2 -0
  41. package/dist/types/src/design-system/runtime/apply-tokens.d.ts +4 -0
  42. package/dist/types/src/design-system/runtime/attach-design-system.d.ts +11 -0
  43. package/dist/types/src/design-system/runtime/create-stylesheet.d.ts +11 -0
  44. package/dist/types/src/design-system/runtime/declarations.d.ts +5 -0
  45. package/dist/types/src/design-system/runtime/design-system-controller.d.ts +9 -0
  46. package/dist/types/src/design-system/runtime/host-state.d.ts +3 -0
  47. package/dist/types/src/design-system/runtime/hydrate-design-system.d.ts +25 -0
  48. package/dist/types/src/design-system/runtime/index.d.ts +8 -0
  49. package/dist/types/src/design-system/themes/cobalt.d.ts +2 -0
  50. package/dist/types/src/design-system/themes/graphite.d.ts +2 -0
  51. package/dist/types/src/design-system/themes/index.d.ts +5 -0
  52. package/dist/types/src/design-system/themes/neutral.d.ts +2 -0
  53. package/dist/types/src/design-system/themes/sage.d.ts +2 -0
  54. package/dist/types/src/design-system/themes/sunset.d.ts +2 -0
  55. package/dist/types/src/design-system/tokens/base.d.ts +5 -0
  56. package/dist/types/src/design-system/tokens/contrast.d.ts +8 -0
  57. package/dist/types/src/design-system/tokens/density.d.ts +9 -0
  58. package/dist/types/src/design-system/tokens/forced-colors.d.ts +12 -0
  59. package/dist/types/src/design-system/tokens/index.d.ts +5 -0
  60. package/dist/types/src/design-system/tokens/motion.d.ts +2 -0
  61. package/dist/types/src/design-system/types.d.ts +225 -0
  62. package/dist/types/src/engine/builtins/fields/boolean.d.ts +8 -0
  63. package/dist/types/src/engine/builtins/fields/category.d.ts +11 -0
  64. package/dist/types/src/engine/builtins/fields/date.d.ts +9 -0
  65. package/dist/types/src/engine/builtins/fields/long-text.d.ts +10 -0
  66. package/dist/types/src/engine/builtins/fields/multi-choice.d.ts +12 -0
  67. package/dist/types/src/engine/builtins/fields/number.d.ts +11 -0
  68. package/dist/types/src/engine/builtins/fields/rating.d.ts +9 -0
  69. package/dist/types/src/engine/builtins/fields/series.d.ts +20 -0
  70. package/dist/types/src/engine/builtins/fields/single-choice.d.ts +12 -0
  71. package/dist/types/src/engine/builtins/fields/text.d.ts +10 -0
  72. package/dist/types/src/engine/builtins/index.d.ts +97 -0
  73. package/dist/types/src/engine/builtins/reports/classifier.d.ts +8 -0
  74. package/dist/types/src/engine/builtins/reports/regressor.d.ts +8 -0
  75. package/dist/types/src/engine/builtins/shared.d.ts +49 -0
  76. package/dist/types/src/engine/comparison.d.ts +2 -0
  77. package/dist/types/src/engine/constants.d.ts +51 -0
  78. package/dist/types/src/engine/declarative/explanation.d.ts +2 -0
  79. package/dist/types/src/engine/declarative/field.d.ts +2 -0
  80. package/dist/types/src/engine/declarative/presentation.d.ts +61 -0
  81. package/dist/types/src/engine/declarative/report.d.ts +2 -0
  82. package/dist/types/src/engine/equality.d.ts +4 -0
  83. package/dist/types/src/engine/errors.d.ts +28 -0
  84. package/dist/types/src/engine/explanations/controller.d.ts +13 -0
  85. package/dist/types/src/engine/explanations/index.d.ts +1 -0
  86. package/dist/types/src/engine/fields/controller.d.ts +30 -0
  87. package/dist/types/src/engine/fields/index.d.ts +1 -0
  88. package/dist/types/src/engine/form.d.ts +2 -0
  89. package/dist/types/src/engine/index.d.ts +11 -0
  90. package/dist/types/src/engine/paths.d.ts +2 -0
  91. package/dist/types/src/engine/registry/index.d.ts +26 -0
  92. package/dist/types/src/engine/reports/controller.d.ts +19 -0
  93. package/dist/types/src/engine/reports/index.d.ts +1 -0
  94. package/dist/types/src/engine/schema/index.d.ts +7 -0
  95. package/dist/types/src/engine/state/engine.d.ts +60 -0
  96. package/dist/types/src/engine/state/index.d.ts +3 -0
  97. package/dist/types/src/engine/state/snapshots.d.ts +5 -0
  98. package/dist/types/src/engine/state/store.d.ts +13 -0
  99. package/dist/types/src/engine/submission/abort.d.ts +15 -0
  100. package/dist/types/src/engine/submission/explanations.d.ts +2 -0
  101. package/dist/types/src/engine/submission/index.d.ts +5 -0
  102. package/dist/types/src/engine/submission/lifecycle.d.ts +16 -0
  103. package/dist/types/src/engine/submission/pipeline.d.ts +2 -0
  104. package/dist/types/src/engine/submission/reports.d.ts +12 -0
  105. package/dist/types/src/engine/submission/request.d.ts +23 -0
  106. package/dist/types/src/engine/submission/result.d.ts +4 -0
  107. package/dist/types/src/engine/submission/submitter.d.ts +40 -0
  108. package/dist/types/src/engine/types/explanation.d.ts +109 -0
  109. package/dist/types/src/engine/types/field.d.ts +172 -0
  110. package/dist/types/src/engine/types/form.d.ts +120 -0
  111. package/dist/types/src/engine/types/index.d.ts +9 -0
  112. package/dist/types/src/engine/types/pipeline.d.ts +31 -0
  113. package/dist/types/src/engine/types/registry.d.ts +17 -0
  114. package/dist/types/src/engine/types/report.d.ts +87 -0
  115. package/dist/types/src/engine/types/transport.d.ts +41 -0
  116. package/dist/types/src/engine/utils.d.ts +9 -0
  117. package/dist/types/src/engine/validation/conditions.d.ts +11 -0
  118. package/dist/types/src/engine/validation/field.d.ts +29 -0
  119. package/dist/types/src/engine/validation/form.d.ts +35 -0
  120. package/dist/types/src/engine/validation/index.d.ts +3 -0
  121. package/dist/types/src/engine/values.d.ts +2 -0
  122. package/dist/types/src/index.d.ts +7 -0
  123. package/dist/types/src/kit/constants.d.ts +4 -0
  124. package/dist/types/src/kit/defaults.d.ts +11 -0
  125. package/dist/types/src/kit/index.d.ts +4 -0
  126. package/dist/types/src/kit/mount-form.d.ts +3 -0
  127. package/dist/types/src/kit/types.d.ts +52 -0
  128. package/dist/types/src/primitives/base-async-report-element.d.ts +19 -0
  129. package/dist/types/src/primitives/base-explanation-element.d.ts +21 -0
  130. package/dist/types/src/primitives/base-field-element.d.ts +21 -0
  131. package/dist/types/src/primitives/base-report-element.d.ts +15 -0
  132. package/dist/types/src/primitives/components/declarative-explanation.d.ts +5 -0
  133. package/dist/types/src/primitives/components/declarative-field.d.ts +6 -0
  134. package/dist/types/src/primitives/components/declarative-report.d.ts +5 -0
  135. package/dist/types/src/primitives/components/explanation-panel.d.ts +22 -0
  136. package/dist/types/src/primitives/components/field-frame.d.ts +21 -0
  137. package/dist/types/src/primitives/components/form-errors.d.ts +19 -0
  138. package/dist/types/src/primitives/components/form-root.d.ts +29 -0
  139. package/dist/types/src/primitives/components/presentation.d.ts +4 -0
  140. package/dist/types/src/primitives/components/report-frame.d.ts +22 -0
  141. package/dist/types/src/primitives/components/submit-button.d.ts +21 -0
  142. package/dist/types/src/primitives/components/unsupported-component.d.ts +14 -0
  143. package/dist/types/src/primitives/constants.d.ts +94 -0
  144. package/dist/types/src/primitives/controller-binding.d.ts +32 -0
  145. package/dist/types/src/primitives/fields/boolean-field.d.ts +6 -0
  146. package/dist/types/src/primitives/fields/category-field.d.ts +6 -0
  147. package/dist/types/src/primitives/fields/date-field.d.ts +6 -0
  148. package/dist/types/src/primitives/fields/long-text-field.d.ts +6 -0
  149. package/dist/types/src/primitives/fields/multi-choice-field.d.ts +6 -0
  150. package/dist/types/src/primitives/fields/number-field.d.ts +8 -0
  151. package/dist/types/src/primitives/fields/rating-field.d.ts +6 -0
  152. package/dist/types/src/primitives/fields/series-field.d.ts +8 -0
  153. package/dist/types/src/primitives/fields/single-choice-field.d.ts +6 -0
  154. package/dist/types/src/primitives/fields/text-field.d.ts +6 -0
  155. package/dist/types/src/primitives/index.d.ts +8 -0
  156. package/dist/types/src/primitives/mount-form.d.ts +4 -0
  157. package/dist/types/src/primitives/register.d.ts +0 -0
  158. package/dist/types/src/primitives/registry.d.ts +3 -0
  159. package/dist/types/src/primitives/reports/classifier-report.d.ts +5 -0
  160. package/dist/types/src/primitives/reports/regressor-report.d.ts +5 -0
  161. package/dist/types/src/primitives/types.d.ts +128 -0
  162. package/dist/types/src/primitives/utils.d.ts +3 -0
  163. package/dist/types/src/questionnaire/constants.d.ts +31 -0
  164. package/dist/types/src/questionnaire/defaults.d.ts +8 -0
  165. package/dist/types/src/questionnaire/engine/controller.d.ts +12 -0
  166. package/dist/types/src/questionnaire/engine/schema.d.ts +9 -0
  167. package/dist/types/src/questionnaire/errors.d.ts +3 -0
  168. package/dist/types/src/questionnaire/index.d.ts +6 -0
  169. package/dist/types/src/questionnaire/mount.d.ts +3 -0
  170. package/dist/types/src/questionnaire/primitives/components/questionnaire-root.d.ts +23 -0
  171. package/dist/types/src/questionnaire/primitives/components/step-indicator.d.ts +14 -0
  172. package/dist/types/src/questionnaire/primitives/register.d.ts +0 -0
  173. package/dist/types/src/questionnaire/types.d.ts +69 -0
  174. package/dist/types/src/shared/errors.d.ts +3 -0
  175. package/dist/types/src/shared/index.d.ts +1 -0
  176. package/dist/types/src/transport/capabilities.d.ts +7 -0
  177. package/dist/types/src/transport/clone.d.ts +6 -0
  178. package/dist/types/src/transport/composition/fallback.d.ts +2 -0
  179. package/dist/types/src/transport/composition/fanout.d.ts +3 -0
  180. package/dist/types/src/transport/composition/hedged.d.ts +2 -0
  181. package/dist/types/src/transport/composition/index.d.ts +7 -0
  182. package/dist/types/src/transport/composition/load-balancing.d.ts +2 -0
  183. package/dist/types/src/transport/composition/pipeline.d.ts +2 -0
  184. package/dist/types/src/transport/composition/racing.d.ts +2 -0
  185. package/dist/types/src/transport/composition/routing.d.ts +3 -0
  186. package/dist/types/src/transport/constants.d.ts +34 -0
  187. package/dist/types/src/transport/errors.d.ts +36 -0
  188. package/dist/types/src/transport/index.d.ts +9 -0
  189. package/dist/types/src/transport/internal.d.ts +110 -0
  190. package/dist/types/src/transport/middleware/auth.d.ts +2 -0
  191. package/dist/types/src/transport/middleware/cache.d.ts +2 -0
  192. package/dist/types/src/transport/middleware/circuit-breaker.d.ts +2 -0
  193. package/dist/types/src/transport/middleware/dedup.d.ts +2 -0
  194. package/dist/types/src/transport/middleware/index.d.ts +12 -0
  195. package/dist/types/src/transport/middleware/logging.d.ts +2 -0
  196. package/dist/types/src/transport/middleware/metrics.d.ts +2 -0
  197. package/dist/types/src/transport/middleware/pipe.d.ts +2 -0
  198. package/dist/types/src/transport/middleware/rate-limit.d.ts +2 -0
  199. package/dist/types/src/transport/middleware/retry.d.ts +2 -0
  200. package/dist/types/src/transport/middleware/timeout.d.ts +2 -0
  201. package/dist/types/src/transport/middleware/tracing.d.ts +2 -0
  202. package/dist/types/src/transport/middleware/transform.d.ts +3 -0
  203. package/dist/types/src/transport/policy-context.d.ts +3 -0
  204. package/dist/types/src/transport/protocols/graphql.d.ts +2 -0
  205. package/dist/types/src/transport/protocols/grpc.d.ts +5 -0
  206. package/dist/types/src/transport/protocols/index.d.ts +5 -0
  207. package/dist/types/src/transport/protocols/json.d.ts +2 -0
  208. package/dist/types/src/transport/protocols/sse.d.ts +2 -0
  209. package/dist/types/src/transport/protocols/websocket.d.ts +2 -0
  210. package/dist/types/src/transport/runtime.d.ts +4 -0
  211. package/dist/types/src/transport/state/cache-store.d.ts +2 -0
  212. package/dist/types/src/transport/state/circuit-breaker.d.ts +2 -0
  213. package/dist/types/src/transport/state/health.d.ts +2 -0
  214. package/dist/types/src/transport/state/index.d.ts +5 -0
  215. package/dist/types/src/transport/state/rate-limiter.d.ts +2 -0
  216. package/dist/types/src/transport/state/session.d.ts +2 -0
  217. package/dist/types/src/transport/types/capabilities.d.ts +35 -0
  218. package/dist/types/src/transport/types/core.d.ts +57 -0
  219. package/dist/types/src/transport/types/events.d.ts +50 -0
  220. package/dist/types/src/transport/types/index.d.ts +7 -0
  221. package/dist/types/src/transport/types/middleware.d.ts +3 -0
  222. package/dist/types/src/transport/types/options.d.ts +258 -0
  223. package/dist/types/src/transport/types/session.d.ts +48 -0
  224. package/dist/types/src/transport/types/state.d.ts +46 -0
  225. package/package.json +93 -37
  226. package/dist/FieldStrategy-pPekBtH-.js +0 -2318
  227. package/dist/ModelTypes-B9_veCKB.js +0 -5
  228. package/dist/ReportStrategy-DY3GC_mJ.js +0 -23
  229. package/dist/boolean-field-Cd3uhIPj.js +0 -104
  230. package/dist/category-field-D_Ms1x9u.js +0 -73
  231. package/dist/classifier-prediction-C5QzorTo.js +0 -193
  232. package/dist/custom-element-ttkHUa8w.js +0 -13
  233. package/dist/date-field-Cg_ja679.js +0 -162
  234. package/dist/error-card-BwjPChwf.js +0 -195
  235. package/dist/field-wrapper-DqIQl76d.js +0 -177
  236. package/dist/ml-layout-Dx63KKf7.js +0 -332
  237. package/dist/mlform/extensions.mjs +0 -38
  238. package/dist/mlform/strategies.mjs +0 -292
  239. package/dist/number-field-CC2DrVEb.js +0 -165
  240. package/dist/property-jKFNMQpR.js +0 -561
  241. package/dist/range-field-Cr7LEtsJ.js +0 -98
  242. package/dist/regressor-prediction-C18dHlfK.js +0 -236
  243. package/dist/src/core/app/DescriptorItem.d.ts +0 -6
  244. package/dist/src/core/app/DescriptorRegistry.d.ts +0 -13
  245. package/dist/src/core/app/DescriptorService.d.ts +0 -22
  246. package/dist/src/core/app/DescriptorStrategy.d.ts +0 -11
  247. package/dist/src/core/app/index.d.ts +0 -4
  248. package/dist/src/core/domain/index.d.ts +0 -24
  249. package/dist/src/core/index.d.ts +0 -3
  250. package/dist/src/core/ui/error-card.d.ts +0 -38
  251. package/dist/src/core/ui/field-wrapper.d.ts +0 -23
  252. package/dist/src/core/ui/index.d.ts +0 -3
  253. package/dist/src/core/ui/ml-layout.d.ts +0 -23
  254. package/dist/src/extensions/app/FieldStrategy.d.ts +0 -10
  255. package/dist/src/extensions/app/ReportStrategy.d.ts +0 -9
  256. package/dist/src/extensions/app/index.d.ts +0 -2
  257. package/dist/src/extensions/domain/BaseField.d.ts +0 -7
  258. package/dist/src/extensions/domain/BaseModel.d.ts +0 -6
  259. package/dist/src/extensions/domain/index.d.ts +0 -2
  260. package/dist/src/extensions/index.d.ts +0 -3
  261. package/dist/src/extensions/ui/field-element.d.ts +0 -9
  262. package/dist/src/extensions/ui/index.d.ts +0 -1
  263. package/dist/src/index.d.ts +0 -1
  264. package/dist/src/mlform/index.d.ts +0 -1
  265. package/dist/src/mlform/mlform.d.ts +0 -27
  266. package/dist/src/mlform/mlform.types.d.ts +0 -11
  267. package/dist/src/strategies/app/BooleanStrategy.d.ts +0 -12
  268. package/dist/src/strategies/app/CategoryStrategy.d.ts +0 -13
  269. package/dist/src/strategies/app/ClassifierStrategy.d.ts +0 -15
  270. package/dist/src/strategies/app/DateStrategy.d.ts +0 -15
  271. package/dist/src/strategies/app/NumberStrategy.d.ts +0 -29
  272. package/dist/src/strategies/app/RegressorStrategy.d.ts +0 -15
  273. package/dist/src/strategies/app/TextStrategy.d.ts +0 -16
  274. package/dist/src/strategies/app/index.d.ts +0 -7
  275. package/dist/src/strategies/domain/BooleanField.d.ts +0 -10
  276. package/dist/src/strategies/domain/CategoryField.d.ts +0 -11
  277. package/dist/src/strategies/domain/ClassifierModel.d.ts +0 -11
  278. package/dist/src/strategies/domain/DateField.d.ts +0 -13
  279. package/dist/src/strategies/domain/FieldTypes.d.ts +0 -7
  280. package/dist/src/strategies/domain/ModelTypes.d.ts +0 -4
  281. package/dist/src/strategies/domain/NumberField.d.ts +0 -15
  282. package/dist/src/strategies/domain/RegressorModel.d.ts +0 -11
  283. package/dist/src/strategies/domain/TextField.d.ts +0 -14
  284. package/dist/src/strategies/domain/index.d.ts +0 -9
  285. package/dist/src/strategies/index.d.ts +0 -1
  286. package/dist/src/strategies/ui/boolean-field.d.ts +0 -13
  287. package/dist/src/strategies/ui/category-field.d.ts +0 -14
  288. package/dist/src/strategies/ui/classifier-prediction.d.ts +0 -39
  289. package/dist/src/strategies/ui/date-field.d.ts +0 -18
  290. package/dist/src/strategies/ui/index.d.ts +0 -8
  291. package/dist/src/strategies/ui/number-field.d.ts +0 -19
  292. package/dist/src/strategies/ui/range-field.d.ts +0 -17
  293. package/dist/src/strategies/ui/regressor-prediction.d.ts +0 -29
  294. package/dist/src/strategies/ui/text-field.d.ts +0 -17
  295. package/dist/state-CLlTRyl1.js +0 -12
  296. package/dist/test/_fixtures/DummyField.d.ts +0 -9
  297. package/dist/test/setup.d.ts +0 -1
  298. package/dist/test/unit/DummyField.test.d.ts +0 -1
  299. package/dist/text-field-DwP-Fa1w.js +0 -114
@@ -0,0 +1,34 @@
1
+ export declare const designSystemEventNames: {
2
+ readonly change: "ml-design-system-change";
3
+ };
4
+ export declare const designSystemMediaQueries: {
5
+ readonly prefersDarkScheme: "(prefers-color-scheme: dark)";
6
+ readonly prefersReducedMotion: "(prefers-reduced-motion: reduce)";
7
+ readonly prefersMoreContrast: "(prefers-contrast: more)";
8
+ readonly forcedColors: "(forced-colors: active)";
9
+ };
10
+ export declare const designSystemHostAttributeNames: {
11
+ readonly explicitScheme: "data-color-scheme";
12
+ readonly inheritedScheme: "data-mlf-scheme";
13
+ readonly effectiveScheme: "data-mlf-effective-scheme";
14
+ readonly themeId: "data-mlf-theme-id";
15
+ readonly variantId: "data-mlf-variant-id";
16
+ readonly recipeId: "data-mlf-recipe-id";
17
+ readonly density: "data-mlf-density";
18
+ readonly motion: "data-mlf-motion";
19
+ readonly signature: "data-mlf-signature";
20
+ readonly style: "style";
21
+ readonly class: "class";
22
+ };
23
+ /**
24
+ * Attributes observed on the HOST element — only externally-controlled scheme
25
+ * attributes. Excludes `style` and our own `data-mlf-*` writes to prevent
26
+ * self-triggering the MutationObserver on every `applyResolvedDesignSystem` call.
27
+ */
28
+ export declare const designSystemHostObservedAttributeFilter: readonly ["data-color-scheme"];
29
+ /**
30
+ * Attributes observed on ANCESTOR elements for inherited scheme detection.
31
+ * Includes `style` and `class` because an ancestor may set `color-scheme`
32
+ * via CSS or a class selector.
33
+ */
34
+ export declare const designSystemAncestorObservedAttributeFilter: readonly ["data-mlf-scheme", "data-mlf-effective-scheme", "data-color-scheme", "style", "class"];
@@ -0,0 +1,2 @@
1
+ export declare const componentKeys: readonly ["shell", "hero", "field", "report", "input", "submit", "error", "toggle", "status", "chart"];
2
+ export type ComponentKey = (typeof componentKeys)[number];
@@ -0,0 +1,5 @@
1
+ import { ComponentKey } from './component-keys';
2
+ export type ComponentTokenManifest = {
3
+ tokens: Record<string, string>;
4
+ };
5
+ export declare const componentTokenDefaults: Record<ComponentKey, ComponentTokenManifest>;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Canonical neutral-light color values. Single source of truth shared by
3
+ * `globalTokenDefaults` (fallback layer) and `neutralTheme.schemes.light`.
4
+ * Edit here; both consumers update automatically.
5
+ */
6
+ export declare const neutralLightColorTokens: Record<string, string>;
7
+ export declare const globalTokenDefaults: Record<string, string>;
@@ -0,0 +1,4 @@
1
+ export { componentKeys, type ComponentKey } from './component-keys';
2
+ export { componentTokenDefaults, type ComponentTokenManifest } from './component-tokens';
3
+ export { globalTokenDefaults } from './global-tokens';
4
+ export { mlfTokenKeys, type MlfTokenKey } from './token-keys';
@@ -0,0 +1,12 @@
1
+ /**
2
+ * All `--mlf-*` CSS custom property keys defined by the design system.
3
+ *
4
+ * Use with `(string & {})` to get IDE autocompletion while still accepting
5
+ * arbitrary custom properties:
6
+ *
7
+ * ```ts
8
+ * const tokens: Record<MlfTokenKey | (string & {}), string> = { ... };
9
+ * ```
10
+ */
11
+ export declare const mlfTokenKeys: readonly ["--mlf-font-family-body", "--mlf-font-family-heading", "--mlf-font-family-ui", "--mlf-font-family-mono", "--mlf-font-size-xs", "--mlf-font-size-sm", "--mlf-font-size-md", "--mlf-font-size-lg", "--mlf-font-size-xl", "--mlf-font-size-2xl", "--mlf-line-height-tight", "--mlf-line-height-normal", "--mlf-space-1", "--mlf-space-2", "--mlf-space-3", "--mlf-space-4", "--mlf-space-5", "--mlf-space-6", "--mlf-space-7", "--mlf-space-8", "--mlf-radius-sm", "--mlf-radius-md", "--mlf-radius-lg", "--mlf-radius-xl", "--mlf-radius-pill", "--mlf-border-width", "--mlf-ring-width", "--mlf-shadow-sm", "--mlf-shadow-md", "--mlf-shadow-lg", "--mlf-motion-fast", "--mlf-motion-base", "--mlf-motion-slow", "--mlf-transition-duration", "--mlf-transition-easing", "--mlf-layout-gap", "--mlf-section-gap", "--mlf-pane-gap", "--mlf-shell-gap", "--mlf-control-height", "--mlf-control-padding-inline", "--mlf-control-padding-block", "--mlf-pane-min-width", "--mlf-color-bg", "--mlf-color-surface", "--mlf-color-surface-muted", "--mlf-color-surface-elevated", "--mlf-color-text", "--mlf-color-text-muted", "--mlf-color-text-inverse", "--mlf-color-border", "--mlf-color-border-strong", "--mlf-color-accent", "--mlf-color-accent-hover", "--mlf-color-accent-soft", "--mlf-color-success", "--mlf-color-warning", "--mlf-color-danger", "--mlf-color-danger-soft", "--mlf-color-focus-ring", "--mlf-color-overlay", "--mlf-color-hover-surface", "--mlf-color-chart-track", "--mlf-shell-color", "--mlf-shell-bg", "--mlf-shell-overlay", "--mlf-shell-panel-bg", "--mlf-shell-panel-border", "--mlf-shell-panel-shadow-soft", "--mlf-shell-panel-shadow", "--mlf-shell-header-bg", "--mlf-shell-header-blur", "--mlf-shell-action-bg", "--mlf-shell-left-min-width", "--mlf-shell-left-max-width", "--mlf-shell-right-min-width", "--mlf-hero-bg", "--mlf-hero-border", "--mlf-hero-shadow", "--mlf-hero-radius", "--mlf-hero-eyebrow-color", "--mlf-hero-status-bg", "--mlf-field-bg", "--mlf-field-border", "--mlf-field-border-invalid", "--mlf-field-shadow", "--mlf-field-radius", "--mlf-field-label-color", "--mlf-field-description-color", "--mlf-field-meta-bg", "--mlf-field-meta-color", "--mlf-field-error-bg", "--mlf-field-error-color", "--mlf-report-bg", "--mlf-report-border", "--mlf-report-shadow", "--mlf-report-radius", "--mlf-report-label-color", "--mlf-report-description-color", "--mlf-report-meta-bg", "--mlf-report-meta-color", "--mlf-report-empty-bg", "--mlf-report-empty-color", "--mlf-report-hero-bg", "--mlf-report-error-bg", "--mlf-report-error-color", "--mlf-input-bg", "--mlf-input-bg-disabled", "--mlf-input-border", "--mlf-input-border-focus", "--mlf-input-text", "--mlf-input-placeholder", "--mlf-input-radius", "--mlf-input-shadow-focus", "--mlf-submit-bg", "--mlf-submit-bg-hover", "--mlf-submit-color", "--mlf-submit-shadow", "--mlf-submit-shadow-hover", "--mlf-submit-radius", "--mlf-submit-focus-ring", "--mlf-error-bg", "--mlf-error-border", "--mlf-error-color", "--mlf-toggle-bg", "--mlf-toggle-border", "--mlf-toggle-text", "--mlf-toggle-accent", "--mlf-status-bg", "--mlf-status-color", "--mlf-chart-track-bg", "--mlf-chart-fill-bg"];
12
+ export type MlfTokenKey = (typeof mlfTokenKeys)[number];
@@ -0,0 +1,8 @@
1
+ export type { AttachDesignSystemOptions, AttachedDesignSystem, ComponentManifest, Density, DesignSystemConfig, DesignSystemControllerOptions, DesignSystemMode, DesignSystemRegistry, DesignSystemRegistryChangeEvent, DesignSystemRegistryChangeListener, DesignSystemRegistryChangeType, DesignSystemScheme, DesignSystemTransitionContext, DesignSystemTransition, DesignSystemWarning, DesignSystemWarningCode, EffectiveModeSource, Motion, GlobalTokenKey, GlobalTokenMap, ComponentTokenKey, ComponentTokenMap, RecipeManifest, ResolvedComponentConfig, ResolvedDesignSystem, ResolveDesignSystemRuntimeOptions, ThemeManifest, ThemeScheme, ThemeVariant, TokenMap, } from './types';
2
+ export { componentKeys, componentTokenDefaults, globalTokenDefaults, mlfTokenKeys, } from './contract';
3
+ export type { MlfTokenKey } from './contract';
4
+ export { builtinRecipes, builtinThemes, builtinDesignSystemRegistry, createBuiltinDesignSystemRegistry, createDesignSystemRegistry, defineComponentTokens, defineGlobalTokens, defineRecipe, defineTheme, } from './registry';
5
+ export { mergeDesignSystemConfig, migrateTokens, migrateThemeTokens, resolveDesignSystem, } from './resolve';
6
+ export type { TokenMigration, TokenMigrationConflict } from './resolve';
7
+ export { attachDesignSystem, applyResolvedDesignSystem, createDesignSystemStylesheet, createResolvedDesignSystemSignature, DesignSystemController, getResolvedDesignSystemHostAttributes, hydrateDesignSystem, writeDesignSystemTokenDeclarations, } from './runtime';
8
+ export type { CreateDesignSystemStylesheetOptions } from './runtime';
@@ -0,0 +1,2 @@
1
+ import { RecipeManifest } from '../types';
2
+ export declare const contrastRecipe: RecipeManifest;
@@ -0,0 +1,2 @@
1
+ import { RecipeManifest } from '../types';
2
+ export declare const defaultRecipe: RecipeManifest;
@@ -0,0 +1,4 @@
1
+ export { contrastRecipe } from './contrast';
2
+ export { defaultRecipe } from './default';
3
+ export { minimalRecipe } from './minimal';
4
+ export { softRecipe } from './soft';
@@ -0,0 +1,2 @@
1
+ import { RecipeManifest } from '../types';
2
+ export declare const minimalRecipe: RecipeManifest;
@@ -0,0 +1,2 @@
1
+ import { RecipeManifest } from '../types';
2
+ export declare const softRecipe: RecipeManifest;
@@ -0,0 +1,5 @@
1
+ import { RecipeManifest, ThemeManifest } from '../types';
2
+ export declare const builtinThemes: ThemeManifest[];
3
+ export declare const builtinRecipes: RecipeManifest[];
4
+ export declare const createBuiltinDesignSystemRegistry: () => import('..').DesignSystemRegistry;
5
+ export declare const builtinDesignSystemRegistry: import('..').DesignSystemRegistry;
@@ -0,0 +1,2 @@
1
+ import { DesignSystemRegistry } from '../types';
2
+ export declare const createDesignSystemRegistry: () => DesignSystemRegistry;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Recursively freezes an object and all nested plain objects/arrays.
3
+ * Returns the same reference typed as readonly.
4
+ */
5
+ export declare const deepFreeze: <T>(value: T) => T;
@@ -0,0 +1,2 @@
1
+ import { RecipeManifest } from '../types';
2
+ export declare const defineRecipe: (recipe: RecipeManifest) => RecipeManifest;
@@ -0,0 +1,2 @@
1
+ import { ThemeManifest } from '../types';
2
+ export declare const defineTheme: (theme: ThemeManifest) => ThemeManifest;
@@ -0,0 +1,6 @@
1
+ import { ComponentKey } from '../contract';
2
+ import { ComponentTokenMap, GlobalTokenMap } from '../types';
3
+ export declare const defineGlobalTokens: <const T extends GlobalTokenMap>(tokens: T) => T;
4
+ export declare const defineComponentTokens: <K extends ComponentKey, const T extends ComponentTokenMap<K>>(component: K, tokens: T) => {
5
+ tokens: T;
6
+ };
@@ -0,0 +1,5 @@
1
+ export { builtinDesignSystemRegistry, builtinRecipes, builtinThemes, createBuiltinDesignSystemRegistry, } from './builtins';
2
+ export { createDesignSystemRegistry } from './create-registry';
3
+ export { defineRecipe } from './define-recipe';
4
+ export { defineComponentTokens, defineGlobalTokens } from './define-token-maps';
5
+ export { defineTheme } from './define-theme';
@@ -0,0 +1,9 @@
1
+ import { DesignSystemConfig, DesignSystemScheme, DesignSystemRegistry, DesignSystemWarning, RecipeManifest, ThemeManifest } from '../types';
2
+ export declare const collectDesignSystemWarnings: (config: DesignSystemConfig, registry: DesignSystemRegistry, theme: ThemeManifest, recipe: RecipeManifest) => DesignSystemWarning[];
3
+ export declare const collectThemeVariantWarnings: (config: DesignSystemConfig, theme: ThemeManifest, effectiveScheme: DesignSystemScheme) => DesignSystemWarning[];
4
+ /**
5
+ * Post-resolution check: validates that `var(--mlf-*)` references in resolved
6
+ * token values point to tokens that actually exist in the resolved set.
7
+ */
8
+ export declare const collectBrokenReferenceWarnings: (resolvedTokens: Record<string, string>) => DesignSystemWarning[];
9
+ export declare const assertDesignSystemWarnings: (config: DesignSystemConfig, warnings: DesignSystemWarning[]) => void;
@@ -0,0 +1,5 @@
1
+ import { DesignSystemConfig, DesignSystemRegistry, ResolveDesignSystemRuntimeOptions, ResolvedDesignSystem } from '../types';
2
+ export declare const resolveDesignSystem: (config?: DesignSystemConfig, registry?: DesignSystemRegistry, runtimeOptions?: ResolveDesignSystemRuntimeOptions) => ResolvedDesignSystem;
3
+ export { mergeDesignSystemConfig } from './merge-config';
4
+ export { migrateTokens, migrateThemeTokens } from './migrate-tokens';
5
+ export type { TokenMigration, TokenMigrationConflict } from './migrate-tokens';
@@ -0,0 +1,2 @@
1
+ import { DesignSystemConfig } from '../types';
2
+ export declare const mergeDesignSystemConfig: (...configs: Array<DesignSystemConfig | undefined>) => DesignSystemConfig;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * A single token rename: `from` → `to`. When applied, any occurrence of
3
+ * `from` in a token map is rewritten to `to`, preserving the value.
4
+ */
5
+ export interface TokenMigration {
6
+ from: string;
7
+ to: string;
8
+ }
9
+ /**
10
+ * Strategy when both `from` (renamed to `to`) and `to` already exist:
11
+ *
12
+ * - `"source-wins"` — the migrated (renamed) value overwrites the existing `to` value.
13
+ * Use when the old key's value is the authoritative one.
14
+ * - `"target-wins"` — the existing `to` value is kept; the migrated value is dropped.
15
+ * Use when the new key's value should take precedence.
16
+ * - A custom function receives both values and returns the winner.
17
+ */
18
+ export type TokenMigrationConflict = "source-wins" | "target-wins" | ((sourceValue: string, targetValue: string, key: string) => string);
19
+ /**
20
+ * Apply a list of token migrations to a token map. Renames keys in-place
21
+ * (by returning a new map).
22
+ *
23
+ * @param tokens - The token map to migrate.
24
+ * @param migrations - List of `{ from, to }` renames.
25
+ * @param onConflict - Strategy when both `from` and `to` exist. Defaults to `"source-wins"`.
26
+ *
27
+ * ```ts
28
+ * const v2Migrations: TokenMigration[] = [
29
+ * { from: "--mlf-color-primary", to: "--mlf-color-accent" },
30
+ * ];
31
+ * const upgraded = migrateTokens(legacyTokens, v2Migrations, "target-wins");
32
+ * ```
33
+ */
34
+ export declare const migrateTokens: (tokens: Record<string, string>, migrations: TokenMigration[], onConflict?: TokenMigrationConflict) => Record<string, string>;
35
+ /**
36
+ * Apply token migrations to all token maps inside a theme manifest.
37
+ * Returns a new plain object (not frozen — pass through `defineTheme` to freeze).
38
+ */
39
+ export declare const migrateThemeTokens: <T extends {
40
+ schemes: Record<string, {
41
+ tokens: Record<string, string>;
42
+ } | undefined>;
43
+ sharedTokens?: Record<string, string>;
44
+ }>(theme: T, migrations: TokenMigration[]) => T;
@@ -0,0 +1,6 @@
1
+ import { DesignSystemConfig, EffectiveModeSource, ResolveDesignSystemRuntimeOptions, ThemeManifest } from '../types';
2
+ export declare const resolveMode: (config: DesignSystemConfig, theme: ThemeManifest, options?: ResolveDesignSystemRuntimeOptions) => {
3
+ requestedMode: NonNullable<DesignSystemConfig["mode"]>;
4
+ effectiveScheme: "light" | "dark";
5
+ effectiveModeSource: EffectiveModeSource;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { DesignSystemConfig, DesignSystemRegistry, RecipeManifest } from '../types';
2
+ export declare const resolveRecipe: (config: DesignSystemConfig, registry: DesignSystemRegistry) => RecipeManifest;
@@ -0,0 +1,2 @@
1
+ import { DesignSystemConfig, DesignSystemRegistry, ThemeManifest } from '../types';
2
+ export declare const resolveTheme: (config: DesignSystemConfig, registry: DesignSystemRegistry) => ThemeManifest;
@@ -0,0 +1,2 @@
1
+ import { DesignSystemConfig, DesignSystemWarning, RecipeManifest, ResolveDesignSystemRuntimeOptions, ResolvedDesignSystem, ThemeManifest } from '../types';
2
+ export declare const resolveTokens: (config: DesignSystemConfig, theme: ThemeManifest, recipe: RecipeManifest, effectiveScheme: "light" | "dark", requestedMode: ResolvedDesignSystem["requestedMode"], effectiveModeSource: ResolvedDesignSystem["effectiveModeSource"], warnings: DesignSystemWarning[], runtimeOptions?: ResolveDesignSystemRuntimeOptions) => ResolvedDesignSystem;
@@ -0,0 +1,4 @@
1
+ import { DesignSystemTransition, ResolvedDesignSystem } from '../types';
2
+ export declare const managedDesignSystemAttributes: readonly ["data-mlf-theme-id", "data-mlf-variant-id", "data-mlf-recipe-id", "data-mlf-effective-scheme", "data-mlf-scheme", "data-mlf-density", "data-mlf-motion", "data-mlf-signature"];
3
+ export declare const applyResolvedDesignSystem: (host: HTMLElement, resolved: ResolvedDesignSystem, transition?: DesignSystemTransition) => Set<string>;
4
+ export declare const restoreManagedDesignSystem: (host: HTMLElement, tokens: Iterable<string>, originalAttributes: ReadonlyMap<string, string | null>, originalTokenValues: ReadonlyMap<string, string | null>, originalColorScheme: string | null) => void;
@@ -0,0 +1,11 @@
1
+ import { AttachDesignSystemOptions, AttachedDesignSystem } from '../types';
2
+ /**
3
+ * Attach a design system to a host element.
4
+ *
5
+ * **DOM required.** This function accesses `HTMLElement`, `MutationObserver`,
6
+ * and `window.matchMedia` and must run in a browser environment. It is not
7
+ * suitable for SSR / Node.js contexts. Use `resolveDesignSystem` directly for
8
+ * server-side token resolution without DOM side effects.
9
+ */
10
+ export declare const createAttachedDesignSystem: (host: HTMLElement, options?: AttachDesignSystemOptions, hydrate?: boolean) => AttachedDesignSystem;
11
+ export declare const attachDesignSystem: (host: HTMLElement, options?: AttachDesignSystemOptions) => AttachedDesignSystem;
@@ -0,0 +1,11 @@
1
+ import { ResolvedDesignSystem } from '../types';
2
+ export interface CreateDesignSystemStylesheetOptions {
3
+ /** CSS selector for the rule block. Defaults to `":host"`. */
4
+ selector?: string;
5
+ /**
6
+ * When set, wraps the output in a `@layer <name> { ... }` block for
7
+ * cascade layer control.
8
+ */
9
+ layer?: string;
10
+ }
11
+ export declare const createDesignSystemStylesheet: (resolved: ResolvedDesignSystem, selectorOrOptions?: string | CreateDesignSystemStylesheetOptions) => string;
@@ -0,0 +1,5 @@
1
+ import { ResolvedDesignSystem } from '../types';
2
+ export type StyleDeclarationTarget = Pick<CSSStyleDeclaration, "setProperty">;
3
+ export declare const validateDesignSystemSelector: (selector: string) => void;
4
+ export declare const getDesignSystemTokenEntries: (resolved: ResolvedDesignSystem) => Array<[string, string]>;
5
+ export declare const writeDesignSystemTokenDeclarations: (target: StyleDeclarationTarget, resolved: ResolvedDesignSystem) => Set<string>;
@@ -0,0 +1,9 @@
1
+ import { DesignSystemControllerOptions, ResolvedDesignSystem } from '../types';
2
+ export declare class DesignSystemController {
3
+ #private;
4
+ constructor({ host, registry, getConfig, onChange, transition, hydrate, }: DesignSystemControllerOptions);
5
+ get resolved(): ResolvedDesignSystem | null;
6
+ connect(): void;
7
+ disconnect(): void;
8
+ refresh(): void;
9
+ }
@@ -0,0 +1,3 @@
1
+ import { ResolvedDesignSystem } from '../types';
2
+ export declare const createResolvedDesignSystemSignature: (resolved: ResolvedDesignSystem) => string;
3
+ export declare const getResolvedDesignSystemHostAttributes: (resolved: ResolvedDesignSystem) => Record<string, string>;
@@ -0,0 +1,25 @@
1
+ import { AttachDesignSystemOptions, AttachedDesignSystem } from '../types';
2
+ /**
3
+ * Hydrate a server-rendered design system onto a host element.
4
+ *
5
+ * Call this on the client after the server has rendered a `<style>` block
6
+ * (via `createDesignSystemStylesheet`) and set `data-mlf-*` attributes on
7
+ * the host. The controller attaches, reads the current DOM state, and takes
8
+ * over reactivity (media queries, inherited scheme, config updates) without
9
+ * a visible flash — the SSR tokens are already applied.
10
+ *
11
+ * Usage:
12
+ * ```ts
13
+ * // Server: resolve + render stylesheet into <head> or shadow root
14
+ * const resolved = resolveDesignSystem(config, registry, { systemScheme: "light" });
15
+ * const css = createDesignSystemStylesheet(resolved, { selector: "#form-host" });
16
+ * const attrs = getResolvedDesignSystemHostAttributes(resolved);
17
+ *
18
+ * // Client: hydrate — controller picks up where SSR left off
19
+ * const ds = hydrateDesignSystem(document.getElementById("form-host")!, {
20
+ * config,
21
+ * registry,
22
+ * });
23
+ * ```
24
+ */
25
+ export declare const hydrateDesignSystem: (host: HTMLElement, options?: AttachDesignSystemOptions) => AttachedDesignSystem;
@@ -0,0 +1,8 @@
1
+ export { attachDesignSystem } from './attach-design-system';
2
+ export { applyResolvedDesignSystem } from './apply-tokens';
3
+ export { createDesignSystemStylesheet } from './create-stylesheet';
4
+ export type { CreateDesignSystemStylesheetOptions } from './create-stylesheet';
5
+ export { writeDesignSystemTokenDeclarations } from './declarations';
6
+ export { DesignSystemController } from './design-system-controller';
7
+ export { hydrateDesignSystem } from './hydrate-design-system';
8
+ export { createResolvedDesignSystemSignature, getResolvedDesignSystemHostAttributes, } from './host-state';
@@ -0,0 +1,2 @@
1
+ import { ThemeManifest } from '../types';
2
+ export declare const cobaltTheme: ThemeManifest;
@@ -0,0 +1,2 @@
1
+ import { ThemeManifest } from '../types';
2
+ export declare const graphiteTheme: ThemeManifest;
@@ -0,0 +1,5 @@
1
+ export { cobaltTheme } from './cobalt';
2
+ export { graphiteTheme } from './graphite';
3
+ export { neutralTheme } from './neutral';
4
+ export { sageTheme } from './sage';
5
+ export { sunsetTheme } from './sunset';
@@ -0,0 +1,2 @@
1
+ import { ThemeManifest } from '../types';
2
+ export declare const neutralTheme: ThemeManifest;
@@ -0,0 +1,2 @@
1
+ import { ThemeManifest } from '../types';
2
+ export declare const sageTheme: ThemeManifest;
@@ -0,0 +1,2 @@
1
+ import { ThemeManifest } from '../types';
2
+ export declare const sunsetTheme: ThemeManifest;
@@ -0,0 +1,5 @@
1
+ import { componentKeys } from '../contract';
2
+ export declare const flattenComponentTokens: (components: Partial<Record<(typeof componentKeys)[number], {
3
+ tokens?: Record<string, string>;
4
+ }>>) => Record<string, string>;
5
+ export declare const baseTokenBundle: Record<string, string>;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Token overrides applied when `prefers-contrast: more` is active and
3
+ * the consumer has not explicitly set contrast-sensitive tokens.
4
+ *
5
+ * These increase border widths, strengthen border colors, and remove
6
+ * semi-transparent backgrounds that reduce legibility under high contrast.
7
+ */
8
+ export declare const contrastTokenOverrides: Record<string, string>;
@@ -0,0 +1,9 @@
1
+ import { Density } from '../types';
2
+ /**
3
+ * Density token overrides for each density level. All three levels are
4
+ * explicit so readers can compare values without cross-referencing
5
+ * `globalTokenDefaults`. The `comfortable` values intentionally mirror
6
+ * the baseline in `globalTokenDefaults` — they are authoritative here,
7
+ * and `globalTokenDefaults` inherits the same values.
8
+ */
9
+ export declare const densityTokenScales: Record<Density, Record<string, string>>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Token overrides applied when `forced-colors: active` is detected (e.g.
3
+ * Windows High Contrast Mode). Maps semantic tokens to CSS system colors
4
+ * so the browser's forced-color palette is respected.
5
+ *
6
+ * Component tokens that normally use gradients are flattened to solid
7
+ * system colors — gradients cannot render system colors reliably in all
8
+ * forced-colors implementations.
9
+ *
10
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/system-color
11
+ */
12
+ export declare const forcedColorsTokenOverrides: Record<string, string>;
@@ -0,0 +1,5 @@
1
+ export { baseTokenBundle, flattenComponentTokens } from './base';
2
+ export { contrastTokenOverrides } from './contrast';
3
+ export { densityTokenScales } from './density';
4
+ export { forcedColorsTokenOverrides } from './forced-colors';
5
+ export { motionTokenScales } from './motion';
@@ -0,0 +1,2 @@
1
+ import { Motion } from '../types';
2
+ export declare const motionTokenScales: Record<Motion, Record<string, string>>;