@fractal-io-technology/spec 0.0.0-stage → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +165 -2
  3. package/conformance/1.0/action-cases.json +227 -0
  4. package/conformance/1.0/bind-cases.json +768 -0
  5. package/conformance/1.0/cases.json +25139 -0
  6. package/conformance/1.0/layout/01-onboarding-start.json +95 -0
  7. package/conformance/1.0/layout/02-home-discover.json +177 -0
  8. package/conformance/1.0/layout/03-filters.json +186 -0
  9. package/conformance/1.0/layout/README.md +145 -0
  10. package/conformance/1.0/layout/REPORT.md +222 -0
  11. package/conformance/1.0/layout/alert.json +22 -0
  12. package/conformance/1.0/layout/iphone-14-15-pro-107.json +272 -0
  13. package/conformance/1.0/layout/live_status_on_its_way_4.ios.json +100 -0
  14. package/conformance/1.0/layout/lucy-booking-mobile.json +261 -0
  15. package/conformance/1.0/layout/lucy-booking-tablet.json +817 -0
  16. package/conformance/1.0/layout/lucy-booking.json +185 -0
  17. package/conformance/1.0/layout/lucy-header.json +84 -0
  18. package/conformance/1.0/layout/lucy-welcome-pin-mobile.json +31 -0
  19. package/conformance/1.0/layout/lucy-welcome-pin.json +31 -0
  20. package/conformance/1.0/layout/measured/android/01-onboarding-start.json +95 -0
  21. package/conformance/1.0/layout/measured/android/02-home-discover.json +177 -0
  22. package/conformance/1.0/layout/measured/android/03-filters.json +186 -0
  23. package/conformance/1.0/layout/measured/android/alert.json +22 -0
  24. package/conformance/1.0/layout/measured/android/iphone-14-15-pro-107.json +272 -0
  25. package/conformance/1.0/layout/measured/android/live_status_on_its_way_4.ios.json +100 -0
  26. package/conformance/1.0/layout/measured/android/lucy-booking-mobile.json +261 -0
  27. package/conformance/1.0/layout/measured/android/lucy-booking-tablet.json +817 -0
  28. package/conformance/1.0/layout/measured/android/lucy-booking.json +185 -0
  29. package/conformance/1.0/layout/measured/android/lucy-header.json +84 -0
  30. package/conformance/1.0/layout/measured/android/lucy-welcome-pin-mobile.json +31 -0
  31. package/conformance/1.0/layout/measured/android/lucy-welcome-pin.json +31 -0
  32. package/conformance/1.0/layout/measured/android/navigation-bar.json +46 -0
  33. package/conformance/1.0/layout/measured/android/probe-alert-banner-flutter.json +37 -0
  34. package/conformance/1.0/layout/measured/android/probe-alert-banner-regression-flutter.json +51 -0
  35. package/conformance/1.0/layout/measured/android/probe-alert-banner-stack-flutter.json +29 -0
  36. package/conformance/1.0/layout/measured/android/probe-card.json +35 -0
  37. package/conformance/1.0/layout/measured/android/probe-check-box-flutter.json +20 -0
  38. package/conformance/1.0/layout/measured/android/probe-container-height.json +21 -0
  39. package/conformance/1.0/layout/measured/android/probe-divider.json +55 -0
  40. package/conformance/1.0/layout/measured/android/probe-dropdown-menu-flutter.json +24 -0
  41. package/conformance/1.0/layout/measured/android/probe-dropdown-menu-max-lines.json +11 -0
  42. package/conformance/1.0/layout/measured/android/probe-expanded.json +31 -0
  43. package/conformance/1.0/layout/measured/android/probe-failed-decode.json +11 -0
  44. package/conformance/1.0/layout/measured/android/probe-flex.json +43 -0
  45. package/conformance/1.0/layout/measured/android/probe-grid-flutter.json +78 -0
  46. package/conformance/1.0/layout/measured/android/probe-grid.json +29 -0
  47. package/conformance/1.0/layout/measured/android/probe-icon-button-flutter.json +25 -0
  48. package/conformance/1.0/layout/measured/android/probe-icon-flutter.json +19 -0
  49. package/conformance/1.0/layout/measured/android/probe-icon-sizing.json +36 -0
  50. package/conformance/1.0/layout/measured/android/probe-image-flutter.json +24 -0
  51. package/conformance/1.0/layout/measured/android/probe-list-flutter.json +79 -0
  52. package/conformance/1.0/layout/measured/android/probe-list-regression-flutter.json +94 -0
  53. package/conformance/1.0/layout/measured/android/probe-list-row-flutter.json +86 -0
  54. package/conformance/1.0/layout/measured/android/probe-list-styles.json +45 -0
  55. package/conformance/1.0/layout/measured/android/probe-pin-input-parity.json +18 -0
  56. package/conformance/1.0/layout/measured/android/probe-progress-track-flutter.json +41 -0
  57. package/conformance/1.0/layout/measured/android/probe-progress-track-regression-flutter.json +57 -0
  58. package/conformance/1.0/layout/measured/android/probe-row-column.json +84 -0
  59. package/conformance/1.0/layout/measured/android/probe-scroll.json +54 -0
  60. package/conformance/1.0/layout/measured/android/probe-search-flutter.json +22 -0
  61. package/conformance/1.0/layout/measured/android/probe-size-constraints.json +20 -0
  62. package/conformance/1.0/layout/measured/android/probe-spacer.json +43 -0
  63. package/conformance/1.0/layout/measured/android/probe-stat-progress-track.json +14 -0
  64. package/conformance/1.0/layout/measured/android/probe-text-button-flutter.json +27 -0
  65. package/conformance/1.0/layout/measured/android/probe-text-field-flutter.json +28 -0
  66. package/conformance/1.0/layout/measured/android/probe-text.json +30 -0
  67. package/conformance/1.0/layout/measured/android/wallet-home.json +127 -0
  68. package/conformance/1.0/layout/measured/web/01-onboarding-start.json +95 -0
  69. package/conformance/1.0/layout/measured/web/02-home-discover.json +177 -0
  70. package/conformance/1.0/layout/measured/web/03-filters.json +186 -0
  71. package/conformance/1.0/layout/measured/web/alert.json +22 -0
  72. package/conformance/1.0/layout/measured/web/iphone-14-15-pro-107.json +272 -0
  73. package/conformance/1.0/layout/measured/web/live_status_on_its_way_4.ios.json +100 -0
  74. package/conformance/1.0/layout/measured/web/lucy-booking-mobile.json +261 -0
  75. package/conformance/1.0/layout/measured/web/lucy-booking-tablet.json +817 -0
  76. package/conformance/1.0/layout/measured/web/lucy-booking.json +185 -0
  77. package/conformance/1.0/layout/measured/web/lucy-header.json +84 -0
  78. package/conformance/1.0/layout/measured/web/lucy-welcome-pin-mobile.json +31 -0
  79. package/conformance/1.0/layout/measured/web/lucy-welcome-pin.json +31 -0
  80. package/conformance/1.0/layout/measured/web/navigation-bar.json +46 -0
  81. package/conformance/1.0/layout/measured/web/probe-alert-banner-flutter.json +37 -0
  82. package/conformance/1.0/layout/measured/web/probe-alert-banner-regression-flutter.json +51 -0
  83. package/conformance/1.0/layout/measured/web/probe-alert-banner-stack-flutter.json +29 -0
  84. package/conformance/1.0/layout/measured/web/probe-card.json +35 -0
  85. package/conformance/1.0/layout/measured/web/probe-check-box-flutter.json +20 -0
  86. package/conformance/1.0/layout/measured/web/probe-container-height.json +21 -0
  87. package/conformance/1.0/layout/measured/web/probe-divider.json +55 -0
  88. package/conformance/1.0/layout/measured/web/probe-dropdown-menu-flutter.json +24 -0
  89. package/conformance/1.0/layout/measured/web/probe-dropdown-menu-max-lines.json +11 -0
  90. package/conformance/1.0/layout/measured/web/probe-expanded.json +31 -0
  91. package/conformance/1.0/layout/measured/web/probe-failed-decode.json +15 -0
  92. package/conformance/1.0/layout/measured/web/probe-flex.json +43 -0
  93. package/conformance/1.0/layout/measured/web/probe-grid-flutter.json +78 -0
  94. package/conformance/1.0/layout/measured/web/probe-grid.json +29 -0
  95. package/conformance/1.0/layout/measured/web/probe-icon-button-flutter.json +25 -0
  96. package/conformance/1.0/layout/measured/web/probe-icon-flutter.json +19 -0
  97. package/conformance/1.0/layout/measured/web/probe-icon-sizing.json +36 -0
  98. package/conformance/1.0/layout/measured/web/probe-image-flutter.json +24 -0
  99. package/conformance/1.0/layout/measured/web/probe-list-flutter.json +79 -0
  100. package/conformance/1.0/layout/measured/web/probe-list-regression-flutter.json +94 -0
  101. package/conformance/1.0/layout/measured/web/probe-list-row-flutter.json +86 -0
  102. package/conformance/1.0/layout/measured/web/probe-list-styles.json +45 -0
  103. package/conformance/1.0/layout/measured/web/probe-pin-input-parity.json +18 -0
  104. package/conformance/1.0/layout/measured/web/probe-progress-track-flutter.json +41 -0
  105. package/conformance/1.0/layout/measured/web/probe-progress-track-regression-flutter.json +57 -0
  106. package/conformance/1.0/layout/measured/web/probe-row-column.json +84 -0
  107. package/conformance/1.0/layout/measured/web/probe-scroll.json +54 -0
  108. package/conformance/1.0/layout/measured/web/probe-search-flutter.json +22 -0
  109. package/conformance/1.0/layout/measured/web/probe-size-constraints.json +20 -0
  110. package/conformance/1.0/layout/measured/web/probe-spacer.json +43 -0
  111. package/conformance/1.0/layout/measured/web/probe-stat-progress-track.json +14 -0
  112. package/conformance/1.0/layout/measured/web/probe-text-button-flutter.json +27 -0
  113. package/conformance/1.0/layout/measured/web/probe-text-field-flutter.json +28 -0
  114. package/conformance/1.0/layout/measured/web/probe-text.json +30 -0
  115. package/conformance/1.0/layout/measured/web/wallet-home.json +127 -0
  116. package/conformance/1.0/layout/navigation-bar.json +46 -0
  117. package/conformance/1.0/layout/probe-alert-banner-flutter.json +37 -0
  118. package/conformance/1.0/layout/probe-alert-banner-regression-flutter.json +51 -0
  119. package/conformance/1.0/layout/probe-alert-banner-stack-flutter.json +29 -0
  120. package/conformance/1.0/layout/probe-card.json +35 -0
  121. package/conformance/1.0/layout/probe-check-box-flutter.json +20 -0
  122. package/conformance/1.0/layout/probe-container-height.json +21 -0
  123. package/conformance/1.0/layout/probe-divider.json +55 -0
  124. package/conformance/1.0/layout/probe-dropdown-menu-flutter.json +24 -0
  125. package/conformance/1.0/layout/probe-dropdown-menu-max-lines.json +11 -0
  126. package/conformance/1.0/layout/probe-expanded.json +31 -0
  127. package/conformance/1.0/layout/probe-failed-decode.json +13 -0
  128. package/conformance/1.0/layout/probe-flex.json +43 -0
  129. package/conformance/1.0/layout/probe-grid-flutter.json +78 -0
  130. package/conformance/1.0/layout/probe-grid.json +29 -0
  131. package/conformance/1.0/layout/probe-icon-button-flutter.json +25 -0
  132. package/conformance/1.0/layout/probe-icon-flutter.json +19 -0
  133. package/conformance/1.0/layout/probe-icon-sizing.json +36 -0
  134. package/conformance/1.0/layout/probe-image-flutter.json +24 -0
  135. package/conformance/1.0/layout/probe-list-flutter.json +79 -0
  136. package/conformance/1.0/layout/probe-list-regression-flutter.json +94 -0
  137. package/conformance/1.0/layout/probe-list-row-flutter.json +86 -0
  138. package/conformance/1.0/layout/probe-list-styles.json +45 -0
  139. package/conformance/1.0/layout/probe-pin-input-parity.json +18 -0
  140. package/conformance/1.0/layout/probe-progress-track-flutter.json +41 -0
  141. package/conformance/1.0/layout/probe-progress-track-regression-flutter.json +57 -0
  142. package/conformance/1.0/layout/probe-row-column.json +84 -0
  143. package/conformance/1.0/layout/probe-scroll.json +54 -0
  144. package/conformance/1.0/layout/probe-search-flutter.json +22 -0
  145. package/conformance/1.0/layout/probe-size-constraints.json +20 -0
  146. package/conformance/1.0/layout/probe-spacer.json +43 -0
  147. package/conformance/1.0/layout/probe-stat-progress-track.json +14 -0
  148. package/conformance/1.0/layout/probe-text-button-flutter.json +27 -0
  149. package/conformance/1.0/layout/probe-text-field-flutter.json +28 -0
  150. package/conformance/1.0/layout/probe-text.json +30 -0
  151. package/conformance/1.0/layout/probes/probe-alert-banner-flutter.json +296 -0
  152. package/conformance/1.0/layout/probes/probe-alert-banner-regression-flutter.json +1 -0
  153. package/conformance/1.0/layout/probes/probe-alert-banner-stack-flutter.json +219 -0
  154. package/conformance/1.0/layout/probes/probe-card.json +252 -0
  155. package/conformance/1.0/layout/probes/probe-check-box-flutter.json +86 -0
  156. package/conformance/1.0/layout/probes/probe-container-height.json +147 -0
  157. package/conformance/1.0/layout/probes/probe-divider.json +469 -0
  158. package/conformance/1.0/layout/probes/probe-dropdown-menu-flutter.json +293 -0
  159. package/conformance/1.0/layout/probes/probe-dropdown-menu-max-lines.json +54 -0
  160. package/conformance/1.0/layout/probes/probe-expanded.json +208 -0
  161. package/conformance/1.0/layout/probes/probe-failed-decode.json +96 -0
  162. package/conformance/1.0/layout/probes/probe-flex.json +353 -0
  163. package/conformance/1.0/layout/probes/probe-grid-flutter.json +584 -0
  164. package/conformance/1.0/layout/probes/probe-grid.json +209 -0
  165. package/conformance/1.0/layout/probes/probe-icon-button-flutter.json +143 -0
  166. package/conformance/1.0/layout/probes/probe-icon-flutter.json +89 -0
  167. package/conformance/1.0/layout/probes/probe-icon-sizing.json +219 -0
  168. package/conformance/1.0/layout/probes/probe-image-flutter.json +130 -0
  169. package/conformance/1.0/layout/probes/probe-list-flutter.json +732 -0
  170. package/conformance/1.0/layout/probes/probe-list-regression-flutter.json +815 -0
  171. package/conformance/1.0/layout/probes/probe-list-row-flutter.json +734 -0
  172. package/conformance/1.0/layout/probes/probe-list-styles.json +332 -0
  173. package/conformance/1.0/layout/probes/probe-pin-input-parity.json +87 -0
  174. package/conformance/1.0/layout/probes/probe-progress-track-flutter.json +298 -0
  175. package/conformance/1.0/layout/probes/probe-progress-track-regression-flutter.json +525 -0
  176. package/conformance/1.0/layout/probes/probe-row-column.json +784 -0
  177. package/conformance/1.0/layout/probes/probe-scroll.json +378 -0
  178. package/conformance/1.0/layout/probes/probe-search-flutter.json +138 -0
  179. package/conformance/1.0/layout/probes/probe-size-constraints.json +157 -0
  180. package/conformance/1.0/layout/probes/probe-spacer.json +291 -0
  181. package/conformance/1.0/layout/probes/probe-stat-progress-track.json +87 -0
  182. package/conformance/1.0/layout/probes/probe-text-button-flutter.json +163 -0
  183. package/conformance/1.0/layout/probes/probe-text-field-flutter.json +170 -0
  184. package/conformance/1.0/layout/probes/probe-text.json +202 -0
  185. package/conformance/1.0/layout/report/01-onboarding-start.md +49 -0
  186. package/conformance/1.0/layout/report/02-home-discover.md +98 -0
  187. package/conformance/1.0/layout/report/03-filters.md +85 -0
  188. package/conformance/1.0/layout/report/alert.md +27 -0
  189. package/conformance/1.0/layout/report/iphone-14-15-pro-107.md +47 -0
  190. package/conformance/1.0/layout/report/live_status_on_its_way_4.ios.md +60 -0
  191. package/conformance/1.0/layout/report/lucy-booking-mobile.md +81 -0
  192. package/conformance/1.0/layout/report/lucy-booking-tablet.md +279 -0
  193. package/conformance/1.0/layout/report/lucy-booking.md +117 -0
  194. package/conformance/1.0/layout/report/lucy-header.md +64 -0
  195. package/conformance/1.0/layout/report/lucy-welcome-pin-mobile.md +15 -0
  196. package/conformance/1.0/layout/report/lucy-welcome-pin.md +11 -0
  197. package/conformance/1.0/layout/report/navigation-bar.md +23 -0
  198. package/conformance/1.0/layout/report/probe-alert-banner-flutter.md +11 -0
  199. package/conformance/1.0/layout/report/probe-alert-banner-regression-flutter.md +27 -0
  200. package/conformance/1.0/layout/report/probe-alert-banner-stack-flutter.md +11 -0
  201. package/conformance/1.0/layout/report/probe-card.md +11 -0
  202. package/conformance/1.0/layout/report/probe-check-box-flutter.md +17 -0
  203. package/conformance/1.0/layout/report/probe-divider.md +11 -0
  204. package/conformance/1.0/layout/report/probe-dropdown-menu-flutter.md +15 -0
  205. package/conformance/1.0/layout/report/probe-dropdown-menu-max-lines.md +15 -0
  206. package/conformance/1.0/layout/report/probe-flex.md +23 -0
  207. package/conformance/1.0/layout/report/probe-grid-flutter.md +11 -0
  208. package/conformance/1.0/layout/report/probe-icon-button-flutter.md +11 -0
  209. package/conformance/1.0/layout/report/probe-icon-flutter.md +11 -0
  210. package/conformance/1.0/layout/report/probe-image-flutter.md +11 -0
  211. package/conformance/1.0/layout/report/probe-list-flutter.md +11 -0
  212. package/conformance/1.0/layout/report/probe-list-regression-flutter.md +27 -0
  213. package/conformance/1.0/layout/report/probe-list-row-flutter.md +11 -0
  214. package/conformance/1.0/layout/report/probe-pin-input-parity.md +11 -0
  215. package/conformance/1.0/layout/report/probe-progress-track-flutter.md +11 -0
  216. package/conformance/1.0/layout/report/probe-progress-track-regression-flutter.md +20 -0
  217. package/conformance/1.0/layout/report/probe-row-column.md +20 -0
  218. package/conformance/1.0/layout/report/probe-scroll.md +11 -0
  219. package/conformance/1.0/layout/report/probe-search-flutter.md +11 -0
  220. package/conformance/1.0/layout/report/probe-spacer.md +11 -0
  221. package/conformance/1.0/layout/report/probe-text-button-flutter.md +22 -0
  222. package/conformance/1.0/layout/report/probe-text-field-flutter.md +11 -0
  223. package/conformance/1.0/layout/report/probe-text.md +31 -0
  224. package/conformance/1.0/layout/report/wallet-home.md +35 -0
  225. package/conformance/1.0/layout/tolerance.json +12 -0
  226. package/conformance/1.0/layout/wallet-home.json +127 -0
  227. package/conformance/1.0/response-cases.json +228 -0
  228. package/conformance/1.0/screen-cases.json +198 -0
  229. package/conformance/1.0/screens/01-onboarding-start.json +994 -0
  230. package/conformance/1.0/screens/02-home-discover.json +2165 -0
  231. package/conformance/1.0/screens/03-filters.json +2290 -0
  232. package/conformance/1.0/screens/alert.json +231 -0
  233. package/conformance/1.0/screens/iphone-14-15-pro-107.json +3149 -0
  234. package/conformance/1.0/screens/live_status_on_its_way_4.ios.json +1313 -0
  235. package/conformance/1.0/screens/lucy-booking-mobile.json +3063 -0
  236. package/conformance/1.0/screens/lucy-booking-tablet.json +10371 -0
  237. package/conformance/1.0/screens/lucy-booking.json +2130 -0
  238. package/conformance/1.0/screens/lucy-header.json +1201 -0
  239. package/conformance/1.0/screens/lucy-welcome-pin-mobile.json +417 -0
  240. package/conformance/1.0/screens/lucy-welcome-pin.json +409 -0
  241. package/conformance/1.0/screens/navigation-bar.json +542 -0
  242. package/conformance/1.0/screens/wallet-home.json +1585 -0
  243. package/dist/action.d.ts +10616 -0
  244. package/dist/action.d.ts.map +1 -0
  245. package/dist/action.js +92 -0
  246. package/dist/action.js.map +1 -0
  247. package/dist/bind.d.ts +32 -0
  248. package/dist/bind.d.ts.map +1 -0
  249. package/dist/bind.js +102 -0
  250. package/dist/bind.js.map +1 -0
  251. package/dist/block-ref.d.ts +17 -0
  252. package/dist/block-ref.d.ts.map +1 -0
  253. package/dist/block-ref.js +17 -0
  254. package/dist/block-ref.js.map +1 -0
  255. package/dist/block-types.d.ts +26 -0
  256. package/dist/block-types.d.ts.map +1 -0
  257. package/dist/block-types.js +39 -0
  258. package/dist/block-types.js.map +1 -0
  259. package/dist/block.d.ts +20908 -0
  260. package/dist/block.d.ts.map +1 -0
  261. package/dist/block.js +81 -0
  262. package/dist/block.js.map +1 -0
  263. package/dist/blocks/display.d.ts +1915 -0
  264. package/dist/blocks/display.d.ts.map +1 -0
  265. package/dist/blocks/display.js +433 -0
  266. package/dist/blocks/display.js.map +1 -0
  267. package/dist/blocks/input.d.ts +7148 -0
  268. package/dist/blocks/input.d.ts.map +1 -0
  269. package/dist/blocks/input.js +855 -0
  270. package/dist/blocks/input.js.map +1 -0
  271. package/dist/blocks/layout.d.ts +2482 -0
  272. package/dist/blocks/layout.d.ts.map +1 -0
  273. package/dist/blocks/layout.js +266 -0
  274. package/dist/blocks/layout.js.map +1 -0
  275. package/dist/blocks/list.d.ts +980 -0
  276. package/dist/blocks/list.d.ts.map +1 -0
  277. package/dist/blocks/list.js +286 -0
  278. package/dist/blocks/list.js.map +1 -0
  279. package/dist/common.d.ts +958 -0
  280. package/dist/common.d.ts.map +1 -0
  281. package/dist/common.js +108 -0
  282. package/dist/common.js.map +1 -0
  283. package/dist/deprecated.d.ts +11 -0
  284. package/dist/deprecated.d.ts.map +1 -0
  285. package/dist/deprecated.js +26 -0
  286. package/dist/deprecated.js.map +1 -0
  287. package/dist/index.d.ts +20 -0
  288. package/dist/index.d.ts.map +1 -0
  289. package/dist/index.js +15 -0
  290. package/dist/index.js.map +1 -0
  291. package/dist/layout.d.ts +103 -0
  292. package/dist/layout.d.ts.map +1 -0
  293. package/dist/layout.js +113 -0
  294. package/dist/layout.js.map +1 -0
  295. package/dist/properties.d.ts +787 -0
  296. package/dist/properties.d.ts.map +1 -0
  297. package/dist/properties.js +447 -0
  298. package/dist/properties.js.map +1 -0
  299. package/dist/screen.d.ts +10494 -0
  300. package/dist/screen.d.ts.map +1 -0
  301. package/dist/screen.js +32 -0
  302. package/dist/screen.js.map +1 -0
  303. package/package.json +57 -4
  304. package/schema/1.0/action.json +109 -0
  305. package/schema/1.0/block.json +5886 -0
  306. package/schema/1.0/response.json +91 -0
  307. package/schema/1.0/screen.json +22 -0
  308. package/src/README.md +135 -0
  309. package/src/action.ts +119 -0
  310. package/src/bind.ts +114 -0
  311. package/src/block-ref.ts +18 -0
  312. package/src/block-types.ts +55 -0
  313. package/src/block.ts +116 -0
  314. package/src/blocks/display.ts +543 -0
  315. package/src/blocks/input.ts +1031 -0
  316. package/src/blocks/layout.ts +322 -0
  317. package/src/blocks/list.ts +355 -0
  318. package/src/common.ts +133 -0
  319. package/src/deprecated.ts +40 -0
  320. package/src/index.ts +31 -0
  321. package/src/layout.ts +194 -0
  322. package/src/properties.ts +516 -0
  323. package/src/screen.ts +39 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../src/properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AAEH,uEAAuE;AACvE,eAAO,MAAM,SAAS,aAAmB,CAAC;AAW1C,mFAAmF;AACnF,eAAO,MAAM,WAAW;;;kBAItB,CAAC;AAIH;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;EAU1B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;EAAqC,CAAC;AAE3E;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B;;;;;;EAA4D,CAAC;AAEtG;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;;EAAsF,CAAC;AAE3H,mHAAmH;AACnH,eAAO,MAAM,kBAAkB;;;EAAyB,CAAC;AAEzD,6GAA6G;AAC7G,eAAO,MAAM,uBAAuB;;;EAAyB,CAAC;AAE9D,kHAAkH;AAClH,eAAO,MAAM,kBAAkB;;;EAAwC,CAAC;AAExE;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;EAAiE,CAAC;AAElG,kGAAkG;AAClG,eAAO,MAAM,WAAW;;;;EAAwC,CAAC;AAEjE,2EAA2E;AAC3E,eAAO,MAAM,UAAU;;;kBAGrB,CAAC;AAEH;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;EAA8F,CAAC;AAE5H;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;kBAAqE,CAAC;AAErG,kFAAkF;AAClF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;kBAG3B,CAAC;AAEH,4FAA4F;AAC5F,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;EAM1B,CAAC;AAEH,KAAK,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc,EAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAA;CAAE,CAAC;AAEvG;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAQ1D,CAAC;AAEF,sGAAsG;AACtG,eAAO,MAAM,WAAW;;;;;;;;;;kBAItB,CAAC"}
@@ -0,0 +1,447 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Reusable property schemas shared by several blocks. Each mirrors a Swift
4
+ * decoder under `fractal_core_blocks-ios/Sources/Properties`, `Sources/Utils`
5
+ * or `Sources/EventManagement`.
6
+ *
7
+ * Conventions (see src/README.md):
8
+ * - JSON keys are the snake_case names from the Swift `CodingKeys`.
9
+ * - `decodeIfPresent` / Swift optionals become `.optional()`; `decode` becomes
10
+ * required.
11
+ * - Swift `Double` is `z.number()`, Swift `Int` is an integer number.
12
+ * - Objects are strict: unknown keys are rejected even though the Swift
13
+ * decoders would ignore them, so that typos never reach a device unnoticed.
14
+ */
15
+ /** Swift `Int`: JSON numbers with a fractional part fail to decode. */
16
+ export const intSchema = z.number().int();
17
+ // --- Color -----------------------------------------------------------------
18
+ /**
19
+ * The only hex form of the contract: optional `#`, then exactly 6 hex digits
20
+ * (`#RRGGBB`). Transparency is never part of the hex: it goes in `alpha`.
21
+ * `#RGB`, `#RGBA` and `#RRGGBBAA` are rejected.
22
+ */
23
+ const HEX_COLOR_PATTERN = /^#?[0-9a-fA-F]{6}$/;
24
+ /** Swift: FIOCoreColorProperty (Sources/Properties/FIOCoreColorProperty.swift). */
25
+ export const colorSchema = z.strictObject({
26
+ color: z.string().regex(HEX_COLOR_PATTERN, "Expected #RRGGBB (put transparency in alpha)"),
27
+ /** iOS clamps to 0...1; the schema only accepts that range. */
28
+ alpha: z.number().min(0).max(1).optional(),
29
+ });
30
+ // --- Layout ----------------------------------------------------------------
31
+ /**
32
+ * The 9-value alignment of the contract: a vertical part (`top`, `center`,
33
+ * `bottom`) and a horizontal part (`start`, `center`, `end`), with `center`
34
+ * alone for the middle. `start` / `end` follow the layout direction.
35
+ *
36
+ * Swift: FIOCoreAlignment (Sources/Properties/FIOCoreAlignment.swift), which
37
+ * also decodes the gradient points and the background image anchor
38
+ * (`unitPointSchema`). Decoding fails for any other string, which drops the
39
+ * whole block.
40
+ */
41
+ export const alignmentSchema = z.enum([
42
+ "top_start",
43
+ "top_center",
44
+ "top_end",
45
+ "center_start",
46
+ "center",
47
+ "center_end",
48
+ "bottom_start",
49
+ "bottom_center",
50
+ "bottom_end",
51
+ ]);
52
+ /**
53
+ * Cross-axis alignment of a multi-child stack (`row`, `column`): `start`,
54
+ * `center` or `end` along the axis the stack does not lay out on (vertical for
55
+ * a row, horizontal for a column).
56
+ */
57
+ export const crossAxisAlignmentSchema = z.enum(["start", "center", "end"]);
58
+ /**
59
+ * Flutter `CrossAxisAlignment` of a `row` / `column` (contract 2.0): the stack enum plus `stretch`
60
+ * (a non-flex child is forced to the maximum cross extent when it is bounded) and `baseline` (row
61
+ * children aligned on their `text_baseline`; in a column it acts as `start`). Row and column only:
62
+ * `grid` and the list family keep `crossAxisAlignmentSchema`. Absent = `center`.
63
+ */
64
+ export const flexCrossAxisAlignmentSchema = z.enum(["start", "center", "end", "stretch", "baseline"]);
65
+ /**
66
+ * Flutter `MainAxisAlignment`: where a `row` / `column` places its children along the main axis.
67
+ * Negative free space counts as 0; `space_between` with fewer than 2 children is `start`;
68
+ * `space_around` / `space_evenly` with one child is `center`. Absent = `start`.
69
+ */
70
+ export const mainAxisAlignmentSchema = z.enum(["start", "end", "center", "space_between", "space_around", "space_evenly"]);
71
+ /** Flutter `MainAxisSize`: `max` (the default) fills a bounded main axis and hugs an unbounded one; `min` hugs. */
72
+ export const mainAxisSizeSchema = z.enum(["max", "min"]);
73
+ /** Flutter `VerticalDirection`: `down` (the default) lays a column out top to bottom, `up` bottom to top. */
74
+ export const verticalDirectionSchema = z.enum(["down", "up"]);
75
+ /** Flutter `TextBaseline`, used by the `baseline` cross-axis alignment. Absent with `baseline` = `alphabetic`. */
76
+ export const textBaselineSchema = z.enum(["alphabetic", "ideographic"]);
77
+ /**
78
+ * Flutter `TextAlign` (contract 2.0): `start` (the default) / `end` follow the text direction,
79
+ * `left` / `right` are absolute, `justify` stretches every line but the last to the width.
80
+ * Shared by `text` and `text_field`. Swift: FIOCoreTextAlignment (Sources/Utils/FIOCoreTextAlignment.swift).
81
+ */
82
+ export const textAlignmentSchema = z.enum(["start", "center", "end", "left", "right", "justify"]);
83
+ /** Swift: FIOCoreLayoutShape, declared in Sources/Blocks/List/FIOCoreListViewModelBlock.swift. */
84
+ export const shapeSchema = z.enum(["circle", "rect", "capsule"]);
85
+ /** Swift: FIOCoreSizeBlock (Sources/Properties/FIOCoreSizeBlock.swift). */
86
+ export const sizeSchema = z.strictObject({
87
+ height: z.number().optional(),
88
+ width: z.number().optional(),
89
+ });
90
+ /**
91
+ * Edge anchors of every padding list: `padding`, `margin`, the text button and
92
+ * list row paddings, and `text_field.decoration.content_padding`. `start` /
93
+ * `end` follow the layout direction (Flutter `EdgeInsetsDirectional`); `left` /
94
+ * `right` are absolute (Flutter `EdgeInsets`); `horizontal` / `vertical` set
95
+ * both edges of an axis (Flutter `EdgeInsets.symmetric`). Resolution is shared
96
+ * by every consumer (Swift: `[FIOCorePaddingBlock].constant(for:)` in
97
+ * Sources/Properties/FIOCorePaddingBlock.swift): for each edge, a specific
98
+ * anchor (`top`, `bottom`, `start`, `end`, `left`, `right`) wins over its axis
99
+ * (`horizontal`, `vertical`), which wins over `"all"`; when a directional and an
100
+ * absolute anchor name the same physical edge (`start` and `left` in a
101
+ * left-to-right layout), they add up, as Flutter's mixed insets do. The first
102
+ * entry of a repeated anchor wins. The native decoders read `anchor` as a free
103
+ * `String` and silently ignore any other value.
104
+ */
105
+ export const edgeAnchorSchema = z.enum(["top", "bottom", "start", "end", "left", "right", "horizontal", "vertical", "all"]);
106
+ /**
107
+ * One padding entry (Swift: FIOCorePaddingBlock, Sources/Properties/FIOCorePaddingBlock.swift).
108
+ * A present but empty array reads as no padding (`hasPadding` in
109
+ * Sources/Commons/FIOCoreCommonBlockViewModel.swift requires a non-empty array);
110
+ * an absent key means the same.
111
+ */
112
+ export const paddingEntrySchema = z.strictObject({ anchor: edgeAnchorSchema, constant: z.number() });
113
+ /** Swift: FIOCoreLayoutSizeBlock (Sources/Utils/FIOCoreLayoutSizeBlock.swift). */
114
+ export const layoutSizeSchema = z.strictObject({
115
+ constant: z.number().optional(),
116
+ alignment: alignmentSchema.optional(),
117
+ });
118
+ /** Swift: FIOCoreLayoutDimensionBlock (Sources/Utils/FIOCoreLayoutDimensionBlock.swift). */
119
+ export const layoutDimensionSchema = z.strictObject({
120
+ max_width: layoutSizeSchema.optional(),
121
+ max_height: layoutSizeSchema.optional(),
122
+ });
123
+ // --- Gradient, background image, overlays ----------------------------------
124
+ /**
125
+ * Points of a gradient (`start`, `end`) and the background image `anchor`:
126
+ * the same 9 values as `alignmentSchema`.
127
+ */
128
+ export const unitPointSchema = alignmentSchema;
129
+ /** Swift: FIOCoreGradientStopProperty (Sources/Properties/FIOCoreGradientStopProperty.swift). */
130
+ export const gradientStopSchema = z.strictObject({
131
+ color: colorSchema,
132
+ /**
133
+ * Optional: a stop without a location gets `i / (n - 1)` by its index in
134
+ * `stops` (a single stop gets 0), so evenly spaced colors need no locations.
135
+ */
136
+ location: z.number().optional(),
137
+ });
138
+ /**
139
+ * Swift: FIOCoreGradientProperty (Sources/Properties/FIOCoreGradientProperty.swift).
140
+ *
141
+ * `stops` is the only way to list the colors. A gradient without any color
142
+ * renders nothing, so the schema requires at least one stop.
143
+ */
144
+ export const gradientSchema = z.strictObject({
145
+ stops: z.array(gradientStopSchema).min(1, "A gradient needs at least one entry in `stops`"),
146
+ start: unitPointSchema.optional(),
147
+ end: unitPointSchema.optional(),
148
+ });
149
+ /** Swift: FIOCoreAxisPairProperty (Sources/Properties/FIOCoreAxisPairProperty.swift). */
150
+ export const axisPairSchema = z.strictObject({
151
+ x: z.number().optional(),
152
+ y: z.number().optional(),
153
+ });
154
+ /**
155
+ * Swift: FIOCoreBackgroundImageProperty (Sources/Properties/FIOCoreBackgroundImageProperty.swift).
156
+ * `content_mode` is a free `String` in Swift, but only `fill` and `fit` have
157
+ * an effect (`fioCoreAspect` in Sources/Utils/Extensions/View+FIOCoreBackground.swift).
158
+ */
159
+ export const backgroundImageSchema = z.strictObject({
160
+ image_url: z.string().optional(),
161
+ content_mode: z.enum(["fill", "fit"]).optional(),
162
+ scale: axisPairSchema.optional(),
163
+ offset: axisPairSchema.optional(),
164
+ anchor: unitPointSchema.optional(),
165
+ });
166
+ /**
167
+ * Swift: FIOCoreBlendMode (Sources/Utils/FIOCoreBlendMode.swift).
168
+ * iOS falls back to `normal` for unknown strings; the schema does not.
169
+ */
170
+ export const blendModeSchema = z.enum([
171
+ "normal",
172
+ "multiply",
173
+ "screen",
174
+ "overlay",
175
+ "darken",
176
+ "lighten",
177
+ "color_dodge",
178
+ "color_burn",
179
+ "hard_light",
180
+ "soft_light",
181
+ "difference",
182
+ "exclusion",
183
+ "hue",
184
+ "saturation",
185
+ "color",
186
+ "luminosity",
187
+ ]);
188
+ // --- Images (Flutter Image / paintImage) ------------------------------------
189
+ /**
190
+ * Flutter `BoxFit`: how a picture is inscribed into its box (`image.fit`). Absent = `scale_down`
191
+ * (`paintImage` in `painting/decoration_image.dart`: `fit ??= centerSlice == null ? BoxFit.scaleDown
192
+ * : BoxFit.fill`; the contract has no `centerSlice`).
193
+ */
194
+ export const boxFitSchema = z.enum(["fill", "contain", "cover", "fit_width", "fit_height", "none", "scale_down"]);
195
+ /** Flutter `ImageRepeat` (`image.repeat`): `no_repeat` (the default), `repeat`, `repeat_x`, `repeat_y`. */
196
+ export const imageRepeatSchema = z.enum(["no_repeat", "repeat", "repeat_x", "repeat_y"]);
197
+ /** Flutter `FilterQuality` (`image.filter_quality`): `none`, `low`, `medium` (the default), `high`. */
198
+ export const filterQualitySchema = z.enum(["none", "low", "medium", "high"]);
199
+ /**
200
+ * Flutter `BlendMode` of `image.color_blend_mode` (S22, image only): every value of
201
+ * `blendModeSchema` plus the Porter-Duff modes `src_in` (the default), `src_over`, `src_atop`,
202
+ * `dst_in`, `dst_over`, `src`, `dst`, `clear`, `xor`. `blendModeSchema` (container, overlays) is
203
+ * unchanged.
204
+ */
205
+ export const imageBlendModeSchema = z.enum([
206
+ ...blendModeSchema.options,
207
+ "src_in",
208
+ "src_over",
209
+ "src_atop",
210
+ "dst_in",
211
+ "dst_over",
212
+ "src",
213
+ "dst",
214
+ "clear",
215
+ "xor",
216
+ ]);
217
+ /** Swift: FIOCoreOverlayProperty (Sources/Properties/FIOCoreOverlayProperty.swift). */
218
+ export const overlaySchema = z.strictObject({
219
+ color: colorSchema.optional(),
220
+ gradient: gradientSchema.optional(),
221
+ blend_mode: blendModeSchema.optional(),
222
+ opacity: z.number().min(0).max(1).optional(),
223
+ });
224
+ // --- Box model (Flutter Container) -----------------------------------------
225
+ /**
226
+ * Flutter `BoxConstraints`: bounds of a box. `size.width` / `size.height`
227
+ * tighten them (an exact size, clamped into these bounds). Every value is
228
+ * non-negative.
229
+ */
230
+ export const boxConstraintsSchema = z.strictObject({
231
+ min_width: z.number().min(0).optional(),
232
+ max_width: z.number().min(0).optional(),
233
+ min_height: z.number().min(0).optional(),
234
+ max_height: z.number().min(0).optional(),
235
+ });
236
+ /**
237
+ * Flutter `BorderRadiusDirectional`: one radius per corner, overriding
238
+ * `corner_radius` for that corner. `start` / `end` follow the layout direction.
239
+ */
240
+ export const cornerRadiiSchema = z.strictObject({
241
+ top_start: z.number().min(0).optional(),
242
+ top_end: z.number().min(0).optional(),
243
+ bottom_start: z.number().min(0).optional(),
244
+ bottom_end: z.number().min(0).optional(),
245
+ });
246
+ /** Flutter `Clip`. `none` (the default) lets the child overflow the shape. */
247
+ export const clipBehaviorSchema = z.enum(["none", "hard_edge", "anti_alias", "anti_alias_with_save_layer"]);
248
+ /**
249
+ * Flutter `ScrollPhysics` of a scrollable block (`single_child_scroll`, `grid`): `never` = no user
250
+ * scrolling; `bouncing` / `clamping` = the platform's closest overscroll. Absent = the platform default.
251
+ */
252
+ export const scrollPhysicsSchema = z.enum(["bouncing", "clamping", "never"]);
253
+ /** Flutter `ScrollViewKeyboardDismissBehavior` (`single_child_scroll`, `grid`): `manual` (the default) or `on_drag`. */
254
+ export const keyboardDismissBehaviorSchema = z.enum(["manual", "on_drag"]);
255
+ // --- Buttons (Flutter ButtonStyle) ------------------------------------------
256
+ /**
257
+ * Flutter `MaterialTapTargetSize` of a button: `padded` (the default on Android and iOS,
258
+ * `ThemeData.materialTapTargetSize`) makes the layout frame at least 48 × 48
259
+ * (`kMinInteractiveDimension`, plus the visual density adjustment) with the visual centered and
260
+ * the whole frame tappable; `shrink_wrap` keeps the frame at the visual size.
261
+ */
262
+ export const tapTargetSizeSchema = z.enum(["padded", "shrink_wrap"]);
263
+ /**
264
+ * Flutter `VisualDensity` of a button: `standard` (0, 0; the default), `comfortable` (-1, -1) or
265
+ * `compact` (-2, -2). Each step is 4 points (`baseSizeAdjustment`): it is added to the minimum size,
266
+ * to the vertical padding and to the padded tap target; the horizontal padding never shrinks.
267
+ */
268
+ export const visualDensitySchema = z.enum(["standard", "comfortable", "compact"]);
269
+ /**
270
+ * Flutter `Size` of a `ButtonStyle` (`minimumSize`, `maximumSize`): a width and a height in
271
+ * points, each >= 0. Unlike Flutter, either axis may be left out; what a left-out axis means is
272
+ * set by the key that uses it.
273
+ */
274
+ export const buttonSizeSchema = z.strictObject({
275
+ width: z.number().min(0).optional(),
276
+ height: z.number().min(0).optional(),
277
+ });
278
+ /**
279
+ * A paint-only 2D transform (a subset of Flutter's `Matrix4`), composed
280
+ * translate, then rotate, then scale, around the transform alignment.
281
+ */
282
+ export const transformSchema = z.strictObject({
283
+ rotation_degrees: z.number().optional(),
284
+ scale_x: z.number().optional(),
285
+ scale_y: z.number().optional(),
286
+ translate_x: z.number().optional(),
287
+ translate_y: z.number().optional(),
288
+ });
289
+ // --- Shadow and borders ----------------------------------------------------
290
+ /**
291
+ * Swift: FIOCoreShadow (declared in Sources/Blocks/Card/FIOCoreCardDataBlock.swift).
292
+ * `x` and `y` are Swift `Int`, so fractional offsets fail to decode.
293
+ */
294
+ export const shadowSchema = z.strictObject({
295
+ radius: z.number().optional(),
296
+ x: intSchema.optional(),
297
+ y: intSchema.optional(),
298
+ color: colorSchema.optional(),
299
+ });
300
+ /** Swift: FIOCoreBorder (declared in Sources/Blocks/Card/FIOCoreCardDataBlock.swift). */
301
+ export const borderSchema = z.strictObject({
302
+ color: colorSchema,
303
+ width: z.number().optional(),
304
+ });
305
+ /**
306
+ * Swift: FIOCoreTextFieldBorderType (Sources/Utils/FIOCoreTextFieldBorderType.swift).
307
+ * iOS falls back to `none` for unknown strings; the schema does not.
308
+ */
309
+ export const textFieldBorderTypeSchema = z.enum(["outline", "underline", "none"]);
310
+ /** Swift: FIOCoreTextFieldBorder (Sources/Utils/FIOCoreTextFieldBorder.swift). */
311
+ export const textFieldBorderSchema = z.strictObject({
312
+ type: textFieldBorderTypeSchema.optional(),
313
+ color: colorSchema.optional(),
314
+ width: z.number().optional(),
315
+ corner_radius: z.number().optional(),
316
+ });
317
+ // --- Text styling ----------------------------------------------------------
318
+ /** Swift: FIOCoreFontWeight (Sources/Utils/FIOCoreFontWeight.swift). Every value is snake_case. */
319
+ export const fontWeightSchema = z.enum([
320
+ "ultra_light",
321
+ "thin",
322
+ "light",
323
+ "regular",
324
+ "medium",
325
+ "semi_bold",
326
+ "bold",
327
+ "heavy",
328
+ "black",
329
+ ]);
330
+ /** Swift: FIOCoreFontDesign (Sources/Utils/FIOCoreFontDesign.swift). */
331
+ export const fontDesignSchema = z.enum(["default", "rounded", "monospaced", "serif"]);
332
+ /** Flutter `TextDecoration`; `overline` added in 2.0. Swift: FIOCoreTextDecoration (Sources/Utils/FIOCoreTextDecoration.swift). */
333
+ export const textDecorationSchema = z.enum(["none", "underline", "line_through", "overline"]);
334
+ /** Flutter `TextDecorationStyle`: how the `decoration` line is drawn. Absent = `solid`. */
335
+ export const textDecorationStyleSchema = z.enum(["solid", "double", "dotted", "dashed", "wavy"]);
336
+ /** Flutter `TextLeadingDistribution`: how the extra leading of `height` is split above and below the glyphs. */
337
+ export const textLeadingDistributionSchema = z.enum(["proportional", "even"]);
338
+ /** Swift: FIOCoreTextShadow (Sources/Utils/FIOCoreTextShadow.swift). */
339
+ export const textShadowSchema = z.strictObject({
340
+ color: colorSchema.optional(),
341
+ blur_radius: z.number().optional(),
342
+ offset_x: z.number().optional(),
343
+ offset_y: z.number().optional(),
344
+ });
345
+ /**
346
+ * Flutter `TextStyle` (contract 2.0), shared by every block that styles text (`text`, `text_field`,
347
+ * `text_button`, `pin_input`, `check_box`, `search`, ...). Swift: FIOCoreTextStyleBlock
348
+ * (Sources/Utils/FIOCoreTextStyleBlock.swift). The text color key is `foreground_color` on the wire.
349
+ * Defaults (S7): `font_size` 14 (Flutter's `getParagraphStyle` default); `height` absent = the font's
350
+ * own metrics; `decoration_style` `solid`; `decoration_color` = the text color; `decoration_thickness`
351
+ * absent = the font's (it is a multiplier of it). `word_spacing` and every `shadows` entry are drawn;
352
+ * a shadow entry defaults to opaque black, offset 0, blur 0 (Flutter `Shadow`).
353
+ * `line_height` (points) is an extension, deprecated in favor of `height` and still honored when
354
+ * `height` is absent.
355
+ */
356
+ export const textStyleSchema = z.strictObject({
357
+ foreground_color: colorSchema.optional(),
358
+ font_size: z.number().optional(),
359
+ font_weight: fontWeightSchema.optional(),
360
+ font_family: z.string().optional(),
361
+ /** Flutter `fontFamilyFallback`: families tried in order when `font_family` lacks a glyph. */
362
+ font_family_fallback: z.array(z.string()).optional(),
363
+ font_design: fontDesignSchema.optional(),
364
+ italic: z.boolean().optional(),
365
+ letter_spacing: z.number().optional(),
366
+ word_spacing: z.number().optional(),
367
+ /** Flutter `height`: the line height as a multiple of `font_size`; absent = the font's metrics. */
368
+ height: z.number().optional(),
369
+ /** Flutter `leadingDistribution`; absent = `proportional` (the `TextHeightBehavior` default). */
370
+ leading_distribution: textLeadingDistributionSchema.optional(),
371
+ line_height: z
372
+ .number()
373
+ .optional()
374
+ .describe("Deprecated since 2.0: the line height in points (an extension), honored only when `height` is absent. Use `height`.")
375
+ .meta({ deprecated: true }),
376
+ /** Flutter `backgroundColor`: painted behind the glyphs of each line. */
377
+ background_color: colorSchema.optional(),
378
+ decoration: textDecorationSchema.optional(),
379
+ decoration_color: colorSchema.optional(),
380
+ decoration_style: textDecorationStyleSchema.optional(),
381
+ /** Flutter `decorationThickness`: a multiplier of the font's decoration thickness. */
382
+ decoration_thickness: z.number().optional(),
383
+ shadows: z.array(textShadowSchema).optional(),
384
+ });
385
+ /**
386
+ * Swift: FIOCoreTextOverflow (Sources/Utils/FIOCoreTextOverflow.swift).
387
+ * iOS falls back to `clip` for unknown strings; the schema does not.
388
+ */
389
+ export const textOverflowSchema = z.enum(["clip", "ellipsis", "fade", "visible"]);
390
+ /**
391
+ * Swift: FIOCoreTextDirection (Sources/Utils/FIOCoreTextDirection.swift).
392
+ * iOS falls back to `ltr` for unknown strings; the schema does not.
393
+ */
394
+ export const textDirectionSchema = z.enum(["ltr", "rtl"]);
395
+ /** Flutter `TextWidthBasis`: `parent` (the default) or `longest_line` (exactly the longest wrapped line). */
396
+ export const textWidthBasisSchema = z.enum(["parent", "longest_line"]);
397
+ /** Flutter `TextHeightBehavior`: whether `height` applies above the first line and below the last (both default true). */
398
+ export const textHeightBehaviorSchema = z.strictObject({
399
+ apply_height_to_first_ascent: z.boolean().optional(),
400
+ apply_height_to_last_descent: z.boolean().optional(),
401
+ });
402
+ /**
403
+ * The `Text` widget's own parameters (contract 2.0). Swift: FIOCoreTextConfigBlock
404
+ * (Sources/Utils/FIOCoreTextConfigBlock.swift). Defaults (S7): `soft_wrap` true, `overflow` `clip`,
405
+ * `max_lines` none, `text_direction` ambient, `text_width_basis` `parent`.
406
+ */
407
+ export const textConfigSchema = z.strictObject({
408
+ max_lines: intSchema.optional(),
409
+ overflow: textOverflowSchema.optional(),
410
+ soft_wrap: z.boolean().optional(),
411
+ text_direction: textDirectionSchema.optional(),
412
+ locale: z.string().optional(),
413
+ text_scaler: z.number().optional(),
414
+ semantics_label: z.string().optional(),
415
+ /** Flutter `semanticsIdentifier`: an identifier for the semantics node, not announced to the user. */
416
+ semantics_identifier: z.string().optional(),
417
+ text_width_basis: textWidthBasisSchema.optional(),
418
+ text_height_behavior: textHeightBehaviorSchema.optional(),
419
+ });
420
+ // --- Events ----------------------------------------------------------------
421
+ /** Swift: FIOCoreEventType (Sources/EventManagement/FIOCoreBlockEventDefinition.swift). */
422
+ export const eventTypeSchema = z.enum([
423
+ "on_tap",
424
+ "on_large_tap",
425
+ "on_double_tap",
426
+ "on_change",
427
+ "on_complete",
428
+ ]);
429
+ /**
430
+ * Values iOS can decode into `event_data` (`FIOCoreAnyDecodable`): numbers,
431
+ * strings, booleans, arrays and objects. JSON `null` is not supported and
432
+ * makes iOS drop the whole `event_data`.
433
+ */
434
+ export const eventDataValueSchema = z.lazy(() => z.union([
435
+ z.string(),
436
+ z.number(),
437
+ z.boolean(),
438
+ z.array(eventDataValueSchema),
439
+ z.record(z.string(), eventDataValueSchema),
440
+ ]));
441
+ /** Swift: FIOCoreBlockEventDefinition (Sources/EventManagement/FIOCoreBlockEventDefinition.swift). */
442
+ export const eventSchema = z.strictObject({
443
+ event_id: z.string(),
444
+ event_type: eventTypeSchema,
445
+ event_data: z.record(z.string(), eventDataValueSchema).optional(),
446
+ });
447
+ //# sourceMappingURL=properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"properties.js","sourceRoot":"","sources":["../src/properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AAEH,uEAAuE;AACvE,MAAM,CAAC,MAA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