@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,11 @@
1
+ # `probe-search-flutter.json`: layout differences
2
+
3
+ Generated by `node scripts/layout-report.ts`; see `../REPORT.md` for the classes and the tolerance. Do not edit by hand.
4
+
5
+ ## android
6
+
7
+ Matches iOS.
8
+
9
+ ## web
10
+
11
+ Matches iOS.
@@ -0,0 +1,11 @@
1
+ # `probe-spacer.json`: layout differences
2
+
3
+ Generated by `node scripts/layout-report.ts`; see `../REPORT.md` for the classes and the tolerance. Do not edit by hand.
4
+
5
+ ## android
6
+
7
+ Matches iOS.
8
+
9
+ ## web
10
+
11
+ Matches iOS.
@@ -0,0 +1,22 @@
1
+ # `probe-text-button-flutter.json`: layout differences
2
+
3
+ Generated by `node scripts/layout-report.ts`; see `../REPORT.md` for the classes and the tolerance. Do not edit by hand.
4
+
5
+ ## android
6
+
7
+ 9 differences, golden has 19 blocks: 6 size, placement, missing, extra or type; 3 moved.
8
+
9
+ | Block | Type | Class | iOS (x, y, w×h) | Measured | Delta |
10
+ | --- | --- | --- | --- | --- | --- |
11
+ | `children.9` | text_button | size | 0, 426, 100×76.33 | 0, 426, 100×56.67 | Δx 0, Δy 0, Δw 0, Δh -19.66 |
12
+ | `children.10` | text_button | placement | 0, 502.33, 200×48 | 0, 482.67, 200×48 | Δx 0, Δy -19.66, Δw 0, Δh 0 |
13
+ | `children.11` | text_button | placement | 0, 550.33, 56×40 | 0, 530.67, 56×40 | Δx 0, Δy -19.66, Δw 0, Δh 0 |
14
+ | `children.12` | container | placement | 0, 590.33, 150×60 | 0, 570.67, 150×60 | Δx 0, Δy -19.66, Δw 0, Δh 0 |
15
+ | `children.13` | row | placement | 0, 650.33, 390×48 | 0, 630.67, 390×48 | Δx 0, Δy -19.66, Δw 0, Δh 0 |
16
+ | `children.14` | text_button | placement | 0, 698.33, 200×48 | 0, 678.67, 200×48 | Δx 0, Δy -19.66, Δw 0, Δh 0 |
17
+
18
+ Moved with an ancestor: `children.12.child`, `children.13.children.0`, `children.13.children.1`
19
+
20
+ ## web
21
+
22
+ Matches iOS.
@@ -0,0 +1,11 @@
1
+ # `probe-text-field-flutter.json`: layout differences
2
+
3
+ Generated by `node scripts/layout-report.ts`; see `../REPORT.md` for the classes and the tolerance. Do not edit by hand.
4
+
5
+ ## android
6
+
7
+ Matches iOS.
8
+
9
+ ## web
10
+
11
+ Matches iOS.
@@ -0,0 +1,31 @@
1
+ # `probe-text.json`: layout differences
2
+
3
+ Generated by `node scripts/layout-report.ts`; see `../REPORT.md` for the classes and the tolerance. Do not edit by hand.
4
+
5
+ ## android
6
+
7
+ 12 differences, golden has 22 blocks: 9 size, placement, missing, extra or type; 3 moved.
8
+
9
+ | Block | Type | Class | iOS (x, y, w×h) | Measured | Delta |
10
+ | --- | --- | --- | --- | --- | --- |
11
+ | `children.2` | container | placement | 0, 34, 300×60 | 0, 32.67, 300×60 | Δx 0, Δy -1.33, Δw 0, Δh 0 |
12
+ | `children.3` | container | placement | 0, 94, 300×60 | 0, 92.67, 300×60 | Δx 0, Δy -1.33, Δw 0, Δh 0 |
13
+ | `children.5` | container | placement | 0, 171, 200×33.67 | 0, 169, 200×32.67 | Δx 0, Δy -2, Δw 0, Δh -1 |
14
+ | `children.6` | container | placement | 0, 204.67, 200×33.67 | 0, 201.67, 200×32.67 | Δx 0, Δy -3, Δw 0, Δh -1 |
15
+ | `children.7` | container | placement | 0, 238.33, 200×33.67 | 0, 234.33, 200×32.67 | Δx 0, Δy -4, Δw 0, Δh -1 |
16
+ | `children.8` | container | placement | 0, 272, 200×33.67 | 0, 267, 200×32.67 | Δx 0, Δy -5, Δw 0, Δh -1 |
17
+ | `children.9` | container | size | 0, 305.67, 179.67×33.67 | 0, 299.67, 195.67×32.67 | Δx 0, Δy -6, Δw +16, Δh -1 |
18
+ | `children.10` | text | placement | 0, 339.33, 137.67×42.33 | 0, 332.33, 132×42 | Δx 0, Δy -7, Δw -5.67, Δh -0.33 |
19
+ | `children.11` | container | placement | 0, 381.67, 300×60 | 0, 374.33, 300×60 | Δx 0, Δy -7.34, Δw 0, Δh 0 |
20
+
21
+ Moved with an ancestor: `children.8.child`, `children.9.child`, `children.11.child`
22
+
23
+ ## web
24
+
25
+ 3 differences, golden has 22 blocks: 3 size, placement, missing, extra or type; 0 moved.
26
+
27
+ | Block | Type | Class | iOS (x, y, w×h) | Measured | Delta |
28
+ | --- | --- | --- | --- | --- | --- |
29
+ | `children.9` | container | size | 0, 305.67, 179.67×33.67 | 0, 307, 200×34 | Δx 0, Δy +1.33, Δw +20.33, Δh +0.33 |
30
+ | `children.9.child` | text | size | 0, 305.67, 179.67×33.67 | 0, 307, 200×34 | Δx 0, Δy +1.33, Δw +20.33, Δh +0.33 |
31
+ | `children.11` | container | placement | 0, 381.67, 300×60 | 0, 383, 300×60 | Δx 0, Δy +1.33, Δw 0, Δh 0 |
@@ -0,0 +1,35 @@
1
+ # `wallet-home.json`: layout differences
2
+
3
+ Generated by `node scripts/layout-report.ts`; see `../REPORT.md` for the classes and the tolerance. Do not edit by hand.
4
+
5
+ ## android
6
+
7
+ 14 differences, golden has 119 blocks: 10 size, placement, missing, extra or type; 4 moved.
8
+
9
+ | Block | Type | Class | iOS (x, y, w×h) | Measured | Delta |
10
+ | --- | --- | --- | --- | --- | --- |
11
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.1` | padding | size | 45, 241.33, 293×54 | 45, 241, 293×57.33 | Δx 0, Δy -0.33, Δw 0, Δh +3.33 |
12
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.2` | padding | placement | 45, 295.33, 180×27.67 | 45, 298.33, 180×27.33 | Δx 0, Δy +3, Δw 0, Δh -0.34 |
13
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.3` | spacer | placement | 45, 323, 0×0 | 45, 325.67, 0×0 | Δx 0, Δy +2.67, Δw 0, Δh 0 |
14
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.4` | row | size | 45, 323, 293×49 | 45, 325.67, 293×53.33 | Δx 0, Δy +2.67, Δw 0, Δh +4.33 |
15
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.0` | column | placement | 45, 342.33, 76×29.67 | 45, 350, 76×29 | Δx 0, Δy +7.67, Δw 0, Δh -0.67 |
16
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.1` | column | placement | 133, 342.33, 48×29.67 | 133, 350, 48×29 | Δx 0, Δy +7.67, Δw 0, Δh -0.67 |
17
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.2` | spacer | placement | 193, 372, 51×0 | 193, 379, 51×0 | Δx 0, Δy +7, Δw 0, Δh 0 |
18
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.3` | column | size | 256, 323, 82×49 | 256, 325.67, 82×53.33 | Δx 0, Δy +2.67, Δw 0, Δh +4.33 |
19
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.3.children.0` | text | size | 284, 323, 54×32.33 | 284, 325.67, 54×37 | Δx 0, Δy +2.67, Δw 0, Δh +4.67 |
20
+ | `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.3.children.1` | text | placement | 256, 356.33, 82×15.67 | 256, 363.67, 82×15.33 | Δx 0, Δy +7.34, Δw 0, Δh -0.34 |
21
+
22
+ Moved with an ancestor: `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.0.children.0`, `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.0.children.1`, `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.1.children.0`, `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.1.children.1`
23
+
24
+ ## web
25
+
26
+ 33 differences, golden has 119 blocks: 4 size, placement, missing, extra or type; 29 moved.
27
+
28
+ | Block | Type | Class | iOS (x, y, w×h) | Measured | Delta |
29
+ | --- | --- | --- | --- | --- | --- |
30
+ | `child.children.0.child.child.child.children.0` | row | size | 20, 20, 350×19.33 | 20, 20, 350×18 | Δx 0, Δy 0, Δw 0, Δh -1.33 |
31
+ | `child.children.0.child.child.child.children.1` | row | placement | 20, 67.33, 350×58 | 20, 66, 350×58 | Δx 0, Δy -1.33, Δw 0, Δh 0 |
32
+ | `child.children.0.child.child.child.children.2` | padding | placement | 20, 153.33, 343×238 | 20, 152, 343×238 | Δx 0, Δy -1.33, Δw 0, Δh 0 |
33
+ | `child.children.0.child.child.child.children.3` | padding | placement | 20, 419.33, 350×115.33 | 20, 418, 350×116 | Δx 0, Δy -1.33, Δw 0, Δh +0.67 |
34
+
35
+ Moved with an ancestor: `child.children.0.child.child.child.children.1.children.0`, `child.children.0.child.child.child.children.1.children.2`, `child.children.0.child.child.child.children.1.children.3`, `child.children.0.child.child.child.children.2.child`, `child.children.0.child.child.child.children.2.child.child`, `child.children.0.child.child.child.children.2.child.child.child`, `child.children.0.child.child.child.children.2.child.child.child.child`, `child.children.0.child.child.child.children.2.child.child.child.child.children.0`, `child.children.0.child.child.child.children.2.child.child.child.child.children.0.children.0`, `child.children.0.child.child.child.children.2.child.child.child.child.children.0.children.0.child`, `child.children.0.child.child.child.children.2.child.child.child.child.children.0.children.1`, `child.children.0.child.child.child.children.2.child.child.child.child.children.0.children.2`, `child.children.0.child.child.child.children.2.child.child.child.child.children.1`, `child.children.0.child.child.child.children.2.child.child.child.child.children.2`, `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.0`, `child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.1`, `child.children.0.child.child.child.children.3.child`, `child.children.0.child.child.child.children.3.child.children.0`, `child.children.0.child.child.child.children.3.child.children.0.children.0`, `child.children.0.child.child.child.children.3.child.children.0.children.0.child`, `child.children.0.child.child.child.children.3.child.children.1`, `child.children.0.child.child.child.children.3.child.children.1.children.0`, `child.children.0.child.child.child.children.3.child.children.1.children.0.child`, `child.children.0.child.child.child.children.3.child.children.2`, `child.children.0.child.child.child.children.3.child.children.2.children.0`, `child.children.0.child.child.child.children.3.child.children.2.children.0.child`, `child.children.0.child.child.child.children.3.child.children.3`, `child.children.0.child.child.child.children.3.child.children.3.children.0`, `child.children.0.child.child.child.children.3.child.children.3.children.0.child`
@@ -0,0 +1,12 @@
1
+ {
2
+ "default": {
3
+ "position": 1,
4
+ "size": 1
5
+ },
6
+ "text": {
7
+ "types": ["text", "text_button", "text_field", "search", "dropdown_menu", "alert_banner", "stat_progress_track"],
8
+ "position": 4,
9
+ "size": 4,
10
+ "sizeRatio": 0.1
11
+ }
12
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "screen": "wallet-home.json",
4
+ "renderer": "ios",
5
+ "device": { "width": 390, "height": 844, "colorScheme": "light" },
6
+ "frames": {
7
+ "root": { "type": "container", "x": 0, "y": 0, "width": 390, "height": 844 },
8
+ "child": { "type": "column", "x": 0, "y": 0, "width": 390, "height": 844 },
9
+ "child.children.0": { "type": "expanded", "x": 0, "y": 0, "width": 390, "height": 762 },
10
+ "child.children.0.child": { "type": "single_child_scroll", "x": 0, "y": 0, "width": 390, "height": 762 },
11
+ "child.children.0.child.child": { "type": "padding", "x": 0, "y": 0, "width": 390, "height": 892.67 },
12
+ "child.children.0.child.child.child": { "type": "column", "x": 20, "y": 20, "width": 350, "height": 872.67 },
13
+ "child.children.0.child.child.child.children.0": { "type": "row", "x": 20, "y": 20, "width": 350, "height": 19.33 },
14
+ "child.children.0.child.child.child.children.0.children.0": { "type": "text", "x": 20, "y": 20, "width": 55, "height": 19.33 },
15
+ "child.children.0.child.child.child.children.0.children.1": { "type": "spacer", "x": 75, "y": 29.67, "width": 240, "height": 0 },
16
+ "child.children.0.child.child.child.children.0.children.2": { "type": "text", "x": 315, "y": 22.67, "width": 55, "height": 14 },
17
+ "child.children.0.child.child.child.children.1": { "type": "row", "x": 20, "y": 67.33, "width": 350, "height": 58 },
18
+ "child.children.0.child.child.child.children.1.children.0": { "type": "card", "x": 20, "y": 67.33, "width": 58, "height": 58 },
19
+ "child.children.0.child.child.child.children.1.children.0.child": { "type": "text", "x": 24, "y": 71.33, "width": 50, "height": 50 },
20
+ "child.children.0.child.child.child.children.1.children.1": { "type": "column", "x": 94, "y": 74, "width": 180, "height": 45 },
21
+ "child.children.0.child.child.child.children.1.children.1.children.0": { "type": "text", "x": 94, "y": 74, "width": 180, "height": 17 },
22
+ "child.children.0.child.child.child.children.1.children.1.children.1": { "type": "text", "x": 94, "y": 95, "width": 180, "height": 24 },
23
+ "child.children.0.child.child.child.children.1.children.2": { "type": "spacer", "x": 290, "y": 96.33, "width": 16, "height": 0 },
24
+ "child.children.0.child.child.child.children.1.children.3": { "type": "icon_button", "x": 322, "y": 72.33, "width": 48, "height": 48 },
25
+ "child.children.0.child.child.child.children.2": { "type": "padding", "x": 20, "y": 153.33, "width": 343, "height": 238 },
26
+ "child.children.0.child.child.child.children.2.child": { "type": "card", "x": 20, "y": 185.33, "width": 343, "height": 206 },
27
+ "child.children.0.child.child.child.children.2.child.child": { "type": "expanded", "x": 24, "y": 189.33, "width": 335, "height": 198 },
28
+ "child.children.0.child.child.child.children.2.child.child.child": { "type": "padding", "x": 24, "y": 189.33, "width": 335, "height": 198 },
29
+ "child.children.0.child.child.child.children.2.child.child.child.child": { "type": "column", "x": 45, "y": 211.33, "width": 293, "height": 158 },
30
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.0": { "type": "row", "x": 45, "y": 211.33, "width": 293, "height": 30 },
31
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.0.children.0": { "type": "card", "x": 45, "y": 211.33, "width": 36, "height": 30 },
32
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.0.children.0.child": { "type": "icon", "x": 49, "y": 215.33, "width": 28, "height": 22 },
33
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.0.children.1": { "type": "spacer", "x": 81, "y": 226.33, "width": 234, "height": 0 },
34
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.0.children.2": { "type": "icon", "x": 315, "y": 215, "width": 23, "height": 23 },
35
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.1": { "type": "padding", "x": 45, "y": 241.33, "width": 293, "height": 54 },
36
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.1.child": { "type": "text", "x": 45, "y": 271.33, "width": 293, "height": 24 },
37
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.2": { "type": "padding", "x": 45, "y": 295.33, "width": 180, "height": 27.67 },
38
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.2.child": { "type": "text", "x": 45, "y": 307.33, "width": 180, "height": 15.67 },
39
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.3": { "type": "spacer", "x": 45, "y": 323, "width": 0, "height": 0 },
40
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4": { "type": "row", "x": 45, "y": 323, "width": 293, "height": 49 },
41
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.0": { "type": "column", "x": 45, "y": 342.33, "width": 76, "height": 29.67 },
42
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.0.children.0": { "type": "text", "x": 45, "y": 342.33, "width": 76, "height": 11 },
43
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.0.children.1": { "type": "text", "x": 45, "y": 356.33, "width": 76, "height": 15.67 },
44
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.1": { "type": "column", "x": 133, "y": 342.33, "width": 48, "height": 29.67 },
45
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.1.children.0": { "type": "text", "x": 133, "y": 342.33, "width": 48, "height": 11 },
46
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.1.children.1": { "type": "text", "x": 133, "y": 356.33, "width": 48, "height": 15.67 },
47
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.2": { "type": "spacer", "x": 193, "y": 372, "width": 51, "height": 0 },
48
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.3": { "type": "column", "x": 256, "y": 323, "width": 82, "height": 49 },
49
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.3.children.0": { "type": "text", "x": 284, "y": 323, "width": 54, "height": 32.33 },
50
+ "child.children.0.child.child.child.children.2.child.child.child.child.children.4.children.3.children.1": { "type": "text", "x": 256, "y": 356.33, "width": 82, "height": 15.67 },
51
+ "child.children.0.child.child.child.children.3": { "type": "padding", "x": 20, "y": 419.33, "width": 350, "height": 115.33 },
52
+ "child.children.0.child.child.child.children.3.child": { "type": "row", "x": 20, "y": 449.33, "width": 350, "height": 85.33 },
53
+ "child.children.0.child.child.child.children.3.child.children.0": { "type": "column", "x": 20, "y": 449.33, "width": 68, "height": 85.33 },
54
+ "child.children.0.child.child.child.children.3.child.children.0.children.0": { "type": "card", "x": 23, "y": 449.33, "width": 62, "height": 62 },
55
+ "child.children.0.child.child.child.children.3.child.children.0.children.0.child": { "type": "icon", "x": 27, "y": 453.33, "width": 54, "height": 54 },
56
+ "child.children.0.child.child.child.children.3.child.children.0.children.1": { "type": "text", "x": 20, "y": 520.33, "width": 68, "height": 14.33 },
57
+ "child.children.0.child.child.child.children.3.child.children.1": { "type": "column", "x": 109, "y": 449.33, "width": 68, "height": 85.33 },
58
+ "child.children.0.child.child.child.children.3.child.children.1.children.0": { "type": "card", "x": 112, "y": 449.33, "width": 62, "height": 62 },
59
+ "child.children.0.child.child.child.children.3.child.children.1.children.0.child": { "type": "icon", "x": 116, "y": 453.33, "width": 54, "height": 54 },
60
+ "child.children.0.child.child.child.children.3.child.children.1.children.1": { "type": "text", "x": 109, "y": 520.33, "width": 68, "height": 14.33 },
61
+ "child.children.0.child.child.child.children.3.child.children.2": { "type": "column", "x": 198, "y": 449.33, "width": 68, "height": 85.33 },
62
+ "child.children.0.child.child.child.children.3.child.children.2.children.0": { "type": "card", "x": 201, "y": 449.33, "width": 62, "height": 62 },
63
+ "child.children.0.child.child.child.children.3.child.children.2.children.0.child": { "type": "icon", "x": 205, "y": 453.33, "width": 54, "height": 54 },
64
+ "child.children.0.child.child.child.children.3.child.children.2.children.1": { "type": "text", "x": 198, "y": 520.33, "width": 68, "height": 14.33 },
65
+ "child.children.0.child.child.child.children.3.child.children.3": { "type": "column", "x": 287, "y": 449.33, "width": 68, "height": 85.33 },
66
+ "child.children.0.child.child.child.children.3.child.children.3.children.0": { "type": "card", "x": 290, "y": 449.33, "width": 62, "height": 62 },
67
+ "child.children.0.child.child.child.children.3.child.children.3.children.0.child": { "type": "icon", "x": 294, "y": 453.33, "width": 54, "height": 54 },
68
+ "child.children.0.child.child.child.children.3.child.children.3.children.1": { "type": "text", "x": 287, "y": 520.33, "width": 68, "height": 14.33 },
69
+ "child.children.0.child.child.child.children.4": { "type": "padding", "x": 20, "y": 562.67, "width": 350, "height": 330 },
70
+ "child.children.0.child.child.child.children.4.child": { "type": "column", "x": 20, "y": 588.67, "width": 350, "height": 304 },
71
+ "child.children.0.child.child.child.children.4.child.children.0": { "type": "row", "x": 20, "y": 588.67, "width": 350, "height": 48 },
72
+ "child.children.0.child.child.child.children.4.child.children.0.children.0": { "type": "text", "x": 20, "y": 600.67, "width": 220, "height": 24 },
73
+ "child.children.0.child.child.child.children.4.child.children.0.children.1": { "type": "spacer", "x": 240, "y": 612.67, "width": 65, "height": 0 },
74
+ "child.children.0.child.child.child.children.4.child.children.0.children.2": { "type": "text_button", "x": 305, "y": 588.67, "width": 65, "height": 48 },
75
+ "child.children.0.child.child.child.children.4.child.children.1": { "type": "padding", "x": 20, "y": 636.67, "width": 350, "height": 64 },
76
+ "child.children.0.child.child.child.children.4.child.children.1.child": { "type": "row", "x": 20, "y": 652.67, "width": 350, "height": 48 },
77
+ "child.children.0.child.child.child.children.4.child.children.1.child.children.0": { "type": "card", "x": 20, "y": 652.67, "width": 48, "height": 48 },
78
+ "child.children.0.child.child.child.children.4.child.children.1.child.children.0.child": { "type": "icon", "x": 24, "y": 656.67, "width": 40, "height": 40 },
79
+ "child.children.0.child.child.child.children.4.child.children.1.child.children.1": { "type": "column", "x": 80, "y": 658.67, "width": 150, "height": 35.67 },
80
+ "child.children.0.child.child.child.children.4.child.children.1.child.children.1.children.0": { "type": "text", "x": 80, "y": 658.67, "width": 150, "height": 19.33 },
81
+ "child.children.0.child.child.child.children.4.child.children.1.child.children.1.children.1": { "type": "text", "x": 80, "y": 680, "width": 150, "height": 14.67 },
82
+ "child.children.0.child.child.child.children.4.child.children.1.child.children.2": { "type": "spacer", "x": 242, "y": 676.67, "width": 44, "height": 0 },
83
+ "child.children.0.child.child.child.children.4.child.children.1.child.children.3": { "type": "text", "x": 298, "y": 667.67, "width": 72, "height": 18 },
84
+ "child.children.0.child.child.child.children.4.child.children.2": { "type": "padding", "x": 20, "y": 700.67, "width": 350, "height": 64 },
85
+ "child.children.0.child.child.child.children.4.child.children.2.child": { "type": "row", "x": 20, "y": 716.67, "width": 350, "height": 48 },
86
+ "child.children.0.child.child.child.children.4.child.children.2.child.children.0": { "type": "card", "x": 20, "y": 716.67, "width": 48, "height": 48 },
87
+ "child.children.0.child.child.child.children.4.child.children.2.child.children.0.child": { "type": "icon", "x": 24, "y": 720.67, "width": 40, "height": 40 },
88
+ "child.children.0.child.child.child.children.4.child.children.2.child.children.1": { "type": "column", "x": 80, "y": 723, "width": 150, "height": 35.33 },
89
+ "child.children.0.child.child.child.children.4.child.children.2.child.children.1.children.0": { "type": "text", "x": 80, "y": 723, "width": 150, "height": 19.33 },
90
+ "child.children.0.child.child.child.children.4.child.children.2.child.children.1.children.1": { "type": "text", "x": 80, "y": 744.33, "width": 150, "height": 14.33 },
91
+ "child.children.0.child.child.child.children.4.child.children.2.child.children.2": { "type": "spacer", "x": 242, "y": 740.67, "width": 44, "height": 0 },
92
+ "child.children.0.child.child.child.children.4.child.children.2.child.children.3": { "type": "text", "x": 298, "y": 731.67, "width": 72, "height": 18 },
93
+ "child.children.0.child.child.child.children.4.child.children.3": { "type": "padding", "x": 20, "y": 764.67, "width": 350, "height": 64 },
94
+ "child.children.0.child.child.child.children.4.child.children.3.child": { "type": "row", "x": 20, "y": 780.67, "width": 350, "height": 48 },
95
+ "child.children.0.child.child.child.children.4.child.children.3.child.children.0": { "type": "card", "x": 20, "y": 780.67, "width": 48, "height": 48 },
96
+ "child.children.0.child.child.child.children.4.child.children.3.child.children.0.child": { "type": "icon", "x": 24, "y": 784.67, "width": 40, "height": 40 },
97
+ "child.children.0.child.child.child.children.4.child.children.3.child.children.1": { "type": "column", "x": 80, "y": 787, "width": 150, "height": 35.33 },
98
+ "child.children.0.child.child.child.children.4.child.children.3.child.children.1.children.0": { "type": "text", "x": 80, "y": 787, "width": 150, "height": 19.33 },
99
+ "child.children.0.child.child.child.children.4.child.children.3.child.children.1.children.1": { "type": "text", "x": 80, "y": 808.33, "width": 150, "height": 14.33 },
100
+ "child.children.0.child.child.child.children.4.child.children.3.child.children.2": { "type": "spacer", "x": 242, "y": 804.67, "width": 44, "height": 0 },
101
+ "child.children.0.child.child.child.children.4.child.children.3.child.children.3": { "type": "text", "x": 298, "y": 795.67, "width": 72, "height": 18 },
102
+ "child.children.0.child.child.child.children.4.child.children.4": { "type": "padding", "x": 20, "y": 828.67, "width": 350, "height": 64 },
103
+ "child.children.0.child.child.child.children.4.child.children.4.child": { "type": "row", "x": 20, "y": 844.67, "width": 350, "height": 48 },
104
+ "child.children.0.child.child.child.children.4.child.children.4.child.children.0": { "type": "card", "x": 20, "y": 844.67, "width": 48, "height": 48 },
105
+ "child.children.0.child.child.child.children.4.child.children.4.child.children.0.child": { "type": "icon", "x": 24, "y": 848.67, "width": 40, "height": 40 },
106
+ "child.children.0.child.child.child.children.4.child.children.4.child.children.1": { "type": "column", "x": 80, "y": 851, "width": 150, "height": 35.33 },
107
+ "child.children.0.child.child.child.children.4.child.children.4.child.children.1.children.0": { "type": "text", "x": 80, "y": 851, "width": 150, "height": 19.33 },
108
+ "child.children.0.child.child.child.children.4.child.children.4.child.children.1.children.1": { "type": "text", "x": 80, "y": 872.33, "width": 150, "height": 14.33 },
109
+ "child.children.0.child.child.child.children.4.child.children.4.child.children.2": { "type": "spacer", "x": 242, "y": 868.67, "width": 44, "height": 0 },
110
+ "child.children.0.child.child.child.children.4.child.children.4.child.children.3": { "type": "text", "x": 298, "y": 859.67, "width": 72, "height": 18 },
111
+ "child.children.1": { "type": "container", "x": 0, "y": 762, "width": 390, "height": 82 },
112
+ "child.children.1.child": { "type": "padding", "x": 0, "y": 762, "width": 390, "height": 82 },
113
+ "child.children.1.child.child": { "type": "row", "x": 18, "y": 772, "width": 354, "height": 72 },
114
+ "child.children.1.child.child.children.0": { "type": "column", "x": 18, "y": 772, "width": 75, "height": 72 },
115
+ "child.children.1.child.child.children.0.children.0": { "type": "icon", "x": 45.67, "y": 772, "width": 20, "height": 20 },
116
+ "child.children.1.child.child.children.0.children.1": { "type": "text", "x": 18, "y": 796, "width": 75, "height": 12 },
117
+ "child.children.1.child.child.children.1": { "type": "column", "x": 103, "y": 772, "width": 75, "height": 72 },
118
+ "child.children.1.child.child.children.1.children.0": { "type": "icon", "x": 130.67, "y": 772, "width": 20, "height": 20 },
119
+ "child.children.1.child.child.children.1.children.1": { "type": "text", "x": 103, "y": 796, "width": 75, "height": 12 },
120
+ "child.children.1.child.child.children.2": { "type": "column", "x": 188, "y": 772, "width": 75, "height": 72 },
121
+ "child.children.1.child.child.children.2.children.0": { "type": "icon", "x": 215.67, "y": 772, "width": 20, "height": 20 },
122
+ "child.children.1.child.child.children.2.children.1": { "type": "text", "x": 188, "y": 796, "width": 75, "height": 12 },
123
+ "child.children.1.child.child.children.3": { "type": "column", "x": 273, "y": 772, "width": 75, "height": 72 },
124
+ "child.children.1.child.child.children.3.children.0": { "type": "icon", "x": 300.67, "y": 772, "width": 20, "height": 20 },
125
+ "child.children.1.child.child.children.3.children.1": { "type": "text", "x": 273, "y": 796, "width": 75, "height": 12 }
126
+ }
127
+ }
@@ -0,0 +1,228 @@
1
+ [
2
+ {
3
+ "id": "R.screen-message",
4
+ "expect": "valid",
5
+ "response": {
6
+ "fractal": "1.0",
7
+ "messages": [
8
+ {
9
+ "screen": {
10
+ "fractal": "1.0",
11
+ "data": {
12
+ "type": "text",
13
+ "data": {
14
+ "text": "Booking confirmed"
15
+ }
16
+ }
17
+ }
18
+ }
19
+ ]
20
+ }
21
+ },
22
+ {
23
+ "id": "R.navigate-message",
24
+ "expect": "valid",
25
+ "response": {
26
+ "fractal": "1.0",
27
+ "messages": [
28
+ {
29
+ "navigate": {
30
+ "screen_id": "confirmation"
31
+ }
32
+ }
33
+ ]
34
+ }
35
+ },
36
+ {
37
+ "id": "R.error-message",
38
+ "expect": "valid",
39
+ "response": {
40
+ "fractal": "1.0",
41
+ "messages": [
42
+ {
43
+ "error": {
44
+ "code": "sold_out",
45
+ "message": "This flight is sold out."
46
+ }
47
+ }
48
+ ]
49
+ }
50
+ },
51
+ {
52
+ "id": "R.several-messages",
53
+ "expect": "valid",
54
+ "response": {
55
+ "fractal": "1.0",
56
+ "messages": [
57
+ {
58
+ "screen": {
59
+ "fractal": "1.0",
60
+ "data": {
61
+ "type": "text",
62
+ "data": {
63
+ "text": "Booking confirmed"
64
+ }
65
+ }
66
+ }
67
+ },
68
+ {
69
+ "navigate": {
70
+ "screen_id": "confirmation"
71
+ }
72
+ },
73
+ {
74
+ "error": {
75
+ "code": "sold_out",
76
+ "message": "This flight is sold out."
77
+ }
78
+ }
79
+ ]
80
+ }
81
+ },
82
+ {
83
+ "id": "R.empty-messages",
84
+ "expect": "invalid",
85
+ "response": {
86
+ "fractal": "1.0",
87
+ "messages": []
88
+ }
89
+ },
90
+ {
91
+ "id": "R.missing-messages",
92
+ "expect": "invalid",
93
+ "response": {
94
+ "fractal": "1.0"
95
+ }
96
+ },
97
+ {
98
+ "id": "R.message-with-two-kinds",
99
+ "expect": "invalid",
100
+ "response": {
101
+ "fractal": "1.0",
102
+ "messages": [
103
+ {
104
+ "navigate": {
105
+ "screen_id": "confirmation"
106
+ },
107
+ "error": {
108
+ "code": "sold_out",
109
+ "message": "This flight is sold out."
110
+ }
111
+ }
112
+ ]
113
+ }
114
+ },
115
+ {
116
+ "id": "R.message-with-no-kind",
117
+ "expect": "invalid",
118
+ "response": {
119
+ "fractal": "1.0",
120
+ "messages": [
121
+ {}
122
+ ]
123
+ }
124
+ },
125
+ {
126
+ "id": "R.unknown-message-key",
127
+ "expect": "invalid",
128
+ "response": {
129
+ "fractal": "1.0",
130
+ "messages": [
131
+ {
132
+ "update": {
133
+ "passenger_name": "Alex Rosario"
134
+ }
135
+ }
136
+ ]
137
+ }
138
+ },
139
+ {
140
+ "id": "R.navigate-without-screen-id",
141
+ "expect": "invalid",
142
+ "response": {
143
+ "fractal": "1.0",
144
+ "messages": [
145
+ {
146
+ "navigate": {}
147
+ }
148
+ ]
149
+ }
150
+ },
151
+ {
152
+ "id": "R.error-without-code",
153
+ "expect": "invalid",
154
+ "response": {
155
+ "fractal": "1.0",
156
+ "messages": [
157
+ {
158
+ "error": {
159
+ "message": "This flight is sold out."
160
+ }
161
+ }
162
+ ]
163
+ }
164
+ },
165
+ {
166
+ "id": "R.error-without-message",
167
+ "expect": "invalid",
168
+ "response": {
169
+ "fractal": "1.0",
170
+ "messages": [
171
+ {
172
+ "error": {
173
+ "code": "sold_out"
174
+ }
175
+ }
176
+ ]
177
+ }
178
+ },
179
+ {
180
+ "id": "R.invalid-screen-document",
181
+ "expect": "invalid",
182
+ "response": {
183
+ "fractal": "1.0",
184
+ "messages": [
185
+ {
186
+ "screen": {
187
+ "fractal": "1.0",
188
+ "data": {
189
+ "type": "text",
190
+ "data": {
191
+ "text": "x",
192
+ "alignment": "leading"
193
+ }
194
+ }
195
+ }
196
+ }
197
+ ]
198
+ }
199
+ },
200
+ {
201
+ "id": "R.bad-version",
202
+ "expect": "invalid",
203
+ "response": {
204
+ "fractal": "2.0",
205
+ "messages": [
206
+ {
207
+ "navigate": {
208
+ "screen_id": "confirmation"
209
+ }
210
+ }
211
+ ]
212
+ }
213
+ },
214
+ {
215
+ "id": "R.version-trailing-newline",
216
+ "expect": "invalid",
217
+ "response": {
218
+ "fractal": "1.0\n",
219
+ "messages": [
220
+ {
221
+ "navigate": {
222
+ "screen_id": "confirmation"
223
+ }
224
+ }
225
+ ]
226
+ }
227
+ }
228
+ ]