@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,54 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "screen": "probe-scroll.json",
4
+ "renderer": "ios",
5
+ "device": { "width": 390, "height": 844, "colorScheme": "light" },
6
+ "frames": {
7
+ "root": { "type": "column", "x": 45, "y": 0, "width": 300, "height": 844 },
8
+ "children.0": { "type": "container", "x": 45, "y": 0, "width": 108, "height": 48 },
9
+ "children.0.child": { "type": "single_child_scroll", "x": 45, "y": 0, "width": 108, "height": 48 },
10
+ "children.0.child.child": { "type": "column", "x": 45, "y": 0, "width": 108, "height": 48 },
11
+ "children.0.child.child.children.0": { "type": "card", "x": 45, "y": 0, "width": 108, "height": 48 },
12
+ "children.0.child.child.children.0.child": { "type": "container", "x": 49, "y": 4, "width": 100, "height": 40 },
13
+ "children.1": { "type": "container", "x": 45, "y": 48, "width": 108, "height": 120 },
14
+ "children.1.child": { "type": "single_child_scroll", "x": 45, "y": 48, "width": 108, "height": 120 },
15
+ "children.1.child.child": { "type": "column", "x": 45, "y": 48, "width": 108, "height": 208 },
16
+ "children.1.child.child.children.0": { "type": "card", "x": 45, "y": 48, "width": 108, "height": 208 },
17
+ "children.1.child.child.children.0.child": { "type": "container", "x": 49, "y": 52, "width": 100, "height": 200 },
18
+ "children.2": { "type": "container", "x": 45, "y": 168, "width": 300, "height": 120 },
19
+ "children.2.child": { "type": "single_child_scroll", "x": 45, "y": 168, "width": 300, "height": 120 },
20
+ "children.2.child.child": { "type": "column", "x": 45, "y": 168, "width": 300, "height": 48 },
21
+ "children.2.child.child.children.0": { "type": "card", "x": 45, "y": 168, "width": 108, "height": 48 },
22
+ "children.2.child.child.children.0.child": { "type": "container", "x": 49, "y": 172, "width": 100, "height": 40 },
23
+ "children.3": { "type": "single_child_scroll", "x": 45, "y": 288, "width": 108, "height": 48 },
24
+ "children.3.child": { "type": "column", "x": 45, "y": 288, "width": 108, "height": 48 },
25
+ "children.3.child.children.0": { "type": "card", "x": 45, "y": 288, "width": 108, "height": 48 },
26
+ "children.3.child.children.0.child": { "type": "container", "x": 49, "y": 292, "width": 100, "height": 40 },
27
+ "children.4": { "type": "container", "x": 45, "y": 336, "width": 108, "height": 150 },
28
+ "children.4.child": { "type": "column", "x": 45, "y": 336, "width": 108, "height": 150 },
29
+ "children.4.child.children.0": { "type": "card", "x": 45, "y": 336, "width": 48, "height": 48 },
30
+ "children.4.child.children.0.child": { "type": "container", "x": 49, "y": 340, "width": 40, "height": 40 },
31
+ "children.4.child.children.1": { "type": "expanded", "x": 45, "y": 384, "width": 108, "height": 102 },
32
+ "children.4.child.children.1.child": { "type": "single_child_scroll", "x": 45, "y": 384, "width": 108, "height": 102 },
33
+ "children.4.child.children.1.child.child": { "type": "column", "x": 45, "y": 384, "width": 108, "height": 48 },
34
+ "children.4.child.children.1.child.child.children.0": { "type": "card", "x": 45, "y": 384, "width": 108, "height": 48 },
35
+ "children.4.child.children.1.child.child.children.0.child": { "type": "container", "x": 49, "y": 388, "width": 100, "height": 40 },
36
+ "children.5": { "type": "container", "x": 45, "y": 486, "width": 128, "height": 68 },
37
+ "children.5.child": { "type": "single_child_scroll", "x": 45, "y": 486, "width": 128, "height": 68 },
38
+ "children.5.child.child": { "type": "column", "x": 55, "y": 496, "width": 108, "height": 48 },
39
+ "children.5.child.child.children.0": { "type": "card", "x": 55, "y": 496, "width": 108, "height": 48 },
40
+ "children.5.child.child.children.0.child": { "type": "container", "x": 59, "y": 500, "width": 100, "height": 40 },
41
+ "children.6": { "type": "container", "x": 45, "y": 554, "width": 300, "height": 120 },
42
+ "children.6.child": { "type": "single_child_scroll", "x": 45, "y": 554, "width": 300, "height": 120 },
43
+ "children.6.child.child": { "type": "column", "x": 45, "y": 626, "width": 300, "height": 48 },
44
+ "children.6.child.child.children.0": { "type": "card", "x": 45, "y": 626, "width": 108, "height": 48 },
45
+ "children.6.child.child.children.0.child": { "type": "container", "x": 49, "y": 630, "width": 100, "height": 40 },
46
+ "children.7": { "type": "container", "x": 45, "y": 674, "width": 216, "height": 48 },
47
+ "children.7.child": { "type": "single_child_scroll", "x": 45, "y": 674, "width": 216, "height": 48 },
48
+ "children.7.child.child": { "type": "row", "x": 45, "y": 674, "width": 216, "height": 48 },
49
+ "children.7.child.child.children.0": { "type": "card", "x": 45, "y": 674, "width": 108, "height": 48 },
50
+ "children.7.child.child.children.0.child": { "type": "container", "x": 49, "y": 678, "width": 100, "height": 40 },
51
+ "children.7.child.child.children.1": { "type": "card", "x": 153, "y": 674, "width": 108, "height": 48 },
52
+ "children.7.child.child.children.1.child": { "type": "container", "x": 157, "y": 678, "width": 100, "height": 40 }
53
+ }
54
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "screen": "probe-search-flutter.json",
4
+ "renderer": "ios",
5
+ "device": { "width": 390, "height": 844, "colorScheme": "light" },
6
+ "frames": {
7
+ "root": { "type": "column", "x": 0, "y": 0, "width": 390, "height": 844 },
8
+ "children.0": { "type": "search", "x": 0, "y": 0, "width": 390, "height": 56 },
9
+ "children.1": { "type": "row", "x": 0, "y": 56, "width": 390, "height": 56 },
10
+ "children.1.children.0": { "type": "search", "x": 0, "y": 56, "width": 800, "height": 56 },
11
+ "children.2": { "type": "single_child_scroll", "x": 0, "y": 112, "width": 390, "height": 56 },
12
+ "children.2.child": { "type": "container", "x": 0, "y": 112, "width": 1000, "height": 56 },
13
+ "children.2.child.child": { "type": "search", "x": 0, "y": 112, "width": 800, "height": 56 },
14
+ "children.3": { "type": "search", "x": 0, "y": 168, "width": 390, "height": 56 },
15
+ "children.4": { "type": "search", "x": 0, "y": 224, "width": 200, "height": 24 },
16
+ "children.5": { "type": "search", "x": 0, "y": 248, "width": 360, "height": 64 },
17
+ "children.6": { "type": "container", "x": 0, "y": 312, "width": 300, "height": 56 },
18
+ "children.6.child": { "type": "search", "x": 0, "y": 312, "width": 300, "height": 56 },
19
+ "children.7": { "type": "search", "x": 0, "y": 368, "width": 390, "height": 72 },
20
+ "children.8": { "type": "search", "x": 0, "y": 440, "width": 390, "height": 60 }
21
+ }
22
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "screen": "probe-size-constraints.json",
4
+ "renderer": "ios",
5
+ "device": { "width": 390, "height": 844, "colorScheme": "light" },
6
+ "frames": {
7
+ "root": { "type": "column", "x": 0, "y": 0, "width": 390, "height": 844 },
8
+ "children.0": { "type": "padding", "x": 0, "y": 0, "width": 390, "height": 48 },
9
+ "children.0.child": { "type": "card", "x": 145, "y": 0, "width": 100, "height": 48 },
10
+ "children.0.child.child": { "type": "text", "x": 149, "y": 4, "width": 200, "height": 40 },
11
+ "children.1": { "type": "padding", "x": 0, "y": 60, "width": 390, "height": 48 },
12
+ "children.1.child": { "type": "text_button", "x": 145, "y": 60, "width": 100, "height": 48 },
13
+ "children.2": { "type": "padding", "x": 0, "y": 120, "width": 390, "height": 48 },
14
+ "children.2.child": { "type": "icon_button", "x": 145, "y": 120, "width": 100, "height": 48 },
15
+ "children.3": { "type": "padding", "x": 0, "y": 180, "width": 390, "height": 56 },
16
+ "children.3.child": { "type": "search", "x": 145, "y": 180, "width": 100, "height": 56 },
17
+ "children.4": { "type": "padding", "x": 0, "y": 248, "width": 390, "height": 54 },
18
+ "children.4.child": { "type": "text", "x": 120, "y": 248, "width": 150, "height": 54 }
19
+ }
20
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "screen": "probe-spacer.json",
4
+ "renderer": "ios",
5
+ "device": { "width": 390, "height": 844, "colorScheme": "light" },
6
+ "frames": {
7
+ "root": { "type": "column", "x": 0, "y": 0, "width": 390, "height": 844 },
8
+ "children.0": { "type": "row", "x": 0, "y": 0, "width": 390, "height": 28 },
9
+ "children.0.children.0": { "type": "card", "x": 0, "y": 0, "width": 48, "height": 28 },
10
+ "children.0.children.0.child": { "type": "container", "x": 4, "y": 4, "width": 40, "height": 20 },
11
+ "children.0.children.1": { "type": "spacer", "x": 48, "y": 14, "width": 294, "height": 0 },
12
+ "children.0.children.2": { "type": "card", "x": 342, "y": 0, "width": 48, "height": 28 },
13
+ "children.0.children.2.child": { "type": "container", "x": 346, "y": 4, "width": 40, "height": 20 },
14
+ "children.1": { "type": "row", "x": 0, "y": 28, "width": 390, "height": 28 },
15
+ "children.1.children.0": { "type": "card", "x": 0, "y": 28, "width": 48, "height": 28 },
16
+ "children.1.children.0.child": { "type": "container", "x": 4, "y": 32, "width": 40, "height": 20 },
17
+ "children.1.children.1": { "type": "spacer", "x": 48, "y": 42, "width": 171, "height": 0 },
18
+ "children.1.children.2": { "type": "expanded", "x": 219, "y": 32, "width": 171, "height": 20 },
19
+ "children.1.children.2.child": { "type": "container", "x": 219, "y": 32, "width": 171, "height": 20 },
20
+ "children.2": { "type": "row", "x": 0, "y": 56, "width": 390, "height": 28 },
21
+ "children.2.children.0": { "type": "spacer", "x": 0, "y": 70, "width": 114, "height": 0 },
22
+ "children.2.children.1": { "type": "card", "x": 114, "y": 56, "width": 48, "height": 28 },
23
+ "children.2.children.1.child": { "type": "container", "x": 118, "y": 60, "width": 40, "height": 20 },
24
+ "children.2.children.2": { "type": "spacer", "x": 162, "y": 70, "width": 228, "height": 0 },
25
+ "children.3": { "type": "container", "x": 0, "y": 84, "width": 48, "height": 200 },
26
+ "children.3.child": { "type": "column", "x": 0, "y": 84, "width": 48, "height": 200 },
27
+ "children.3.child.children.0": { "type": "card", "x": 0, "y": 84, "width": 48, "height": 48 },
28
+ "children.3.child.children.0.child": { "type": "container", "x": 4, "y": 88, "width": 40, "height": 40 },
29
+ "children.3.child.children.1": { "type": "spacer", "x": 0, "y": 132, "width": 0, "height": 104 },
30
+ "children.3.child.children.2": { "type": "card", "x": 0, "y": 236, "width": 48, "height": 48 },
31
+ "children.3.child.children.2.child": { "type": "container", "x": 4, "y": 240, "width": 40, "height": 40 },
32
+ "children.4": { "type": "container", "x": 0, "y": 284, "width": 48, "height": 100 },
33
+ "children.4.child": { "type": "single_child_scroll", "x": 0, "y": 284, "width": 48, "height": 100 },
34
+ "children.4.child.child": { "type": "column", "x": 0, "y": 284, "width": 48, "height": 96 },
35
+ "children.4.child.child.children.0": { "type": "card", "x": 0, "y": 284, "width": 48, "height": 48 },
36
+ "children.4.child.child.children.0.child": { "type": "container", "x": 4, "y": 288, "width": 40, "height": 40 },
37
+ "children.4.child.child.children.1": { "type": "spacer", "x": 0, "y": 332, "width": 0, "height": 0 },
38
+ "children.4.child.child.children.2": { "type": "card", "x": 0, "y": 332, "width": 48, "height": 48 },
39
+ "children.4.child.child.children.2.child": { "type": "container", "x": 4, "y": 336, "width": 40, "height": 40 },
40
+ "children.5": { "type": "padding", "x": 0, "y": 384, "width": 8, "height": 8 },
41
+ "children.5.child": { "type": "spacer", "x": 4, "y": 388, "width": 0, "height": 0 }
42
+ }
43
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "screen": "probe-stat-progress-track.json",
4
+ "renderer": "ios",
5
+ "device": { "width": 390, "height": 844, "colorScheme": "light" },
6
+ "frames": {
7
+ "root": { "type": "column", "x": 0, "y": 0, "width": 390, "height": 844 },
8
+ "children.0": { "type": "stat_progress_track", "x": 0, "y": 0, "width": 390, "height": 24 },
9
+ "children.0.child": { "type": "text", "x": 8, "y": 4.33, "width": 28.67, "height": 15.67 },
10
+ "children.1": { "type": "stat_progress_track", "x": 0, "y": 40, "width": 390, "height": 24 },
11
+ "children.1.child": { "type": "text", "x": 8, "y": 44.33, "width": 232.67, "height": 15.67 },
12
+ "children.2": { "type": "stat_progress_track", "x": 0, "y": 80, "width": 390, "height": 12 }
13
+ }
14
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "screen": "probe-text-button-flutter.json",
4
+ "renderer": "ios",
5
+ "device": { "width": 390, "height": 844, "colorScheme": "light" },
6
+ "frames": {
7
+ "root": { "type": "column", "x": 0, "y": 0, "width": 390, "height": 844 },
8
+ "children.0": { "type": "text_button", "x": 0, "y": 0, "width": 64, "height": 48 },
9
+ "children.1": { "type": "text_button", "x": 0, "y": 48, "width": 64, "height": 40 },
10
+ "children.2": { "type": "text_button", "x": 0, "y": 88, "width": 68.33, "height": 48 },
11
+ "children.3": { "type": "text_button", "x": 0, "y": 136, "width": 68.33, "height": 48 },
12
+ "children.4": { "type": "text_button", "x": 0, "y": 184, "width": 68.33, "height": 48 },
13
+ "children.5": { "type": "text_button", "x": 0, "y": 232, "width": 68.33, "height": 48 },
14
+ "children.6": { "type": "text_button", "x": 0, "y": 280, "width": 74.33, "height": 48 },
15
+ "children.7": { "type": "text_button", "x": 0, "y": 328, "width": 86.33, "height": 48 },
16
+ "children.8": { "type": "text_button", "x": 0, "y": 376, "width": 100, "height": 50 },
17
+ "children.9": { "type": "text_button", "x": 0, "y": 426, "width": 100, "height": 76.33 },
18
+ "children.10": { "type": "text_button", "x": 0, "y": 502.33, "width": 200, "height": 48 },
19
+ "children.11": { "type": "text_button", "x": 0, "y": 550.33, "width": 56, "height": 40 },
20
+ "children.12": { "type": "container", "x": 0, "y": 590.33, "width": 150, "height": 60 },
21
+ "children.12.child": { "type": "text_button", "x": 0, "y": 590.33, "width": 150, "height": 60 },
22
+ "children.13": { "type": "row", "x": 0, "y": 650.33, "width": 390, "height": 48 },
23
+ "children.13.children.0": { "type": "text_button", "x": 0, "y": 650.33, "width": 64, "height": 48 },
24
+ "children.13.children.1": { "type": "container", "x": 64, "y": 664.33, "width": 40, "height": 20 },
25
+ "children.14": { "type": "text_button", "x": 0, "y": 698.33, "width": 200, "height": 48 }
26
+ }
27
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "screen": "probe-text-field-flutter.json",
4
+ "renderer": "ios",
5
+ "device": { "width": 390, "height": 844, "colorScheme": "light" },
6
+ "frames": {
7
+ "root": { "type": "column", "x": 0, "y": 0, "width": 390, "height": 844 },
8
+ "children.0": { "type": "text_field", "x": 0, "y": 0, "width": 390, "height": 48 },
9
+ "children.1": { "type": "text_field", "x": 0, "y": 48, "width": 390, "height": 56 },
10
+ "children.2": { "type": "text_field", "x": 0, "y": 104, "width": 390, "height": 56 },
11
+ "children.3": { "type": "text_field", "x": 0, "y": 160, "width": 390, "height": 32 },
12
+ "children.4": { "type": "text_field", "x": 0, "y": 192, "width": 390, "height": 88 },
13
+ "children.5": { "type": "container", "x": 0, "y": 280, "width": 300, "height": 120 },
14
+ "children.5.child": { "type": "text_field", "x": 0, "y": 280, "width": 300, "height": 120 },
15
+ "children.6": { "type": "container", "x": 0, "y": 400, "width": 300, "height": 120 },
16
+ "children.6.child": { "type": "text_field", "x": 0, "y": 400, "width": 300, "height": 120 },
17
+ "children.7": { "type": "text_field", "x": 0, "y": 520, "width": 200, "height": 48 },
18
+ "children.8": { "type": "row", "x": 0, "y": 568, "width": 390, "height": 48 },
19
+ "children.8.children.0": { "type": "text_field", "x": 0, "y": 568, "width": 0, "height": 48 },
20
+ "children.8.children.1": { "type": "container", "x": 0, "y": 582, "width": 40, "height": 20 },
21
+ "children.9": { "type": "row", "x": 0, "y": 616, "width": 390, "height": 48 },
22
+ "children.9.children.0": { "type": "expanded", "x": 0, "y": 616, "width": 350, "height": 48 },
23
+ "children.9.children.0.child": { "type": "text_field", "x": 0, "y": 616, "width": 350, "height": 48 },
24
+ "children.9.children.1": { "type": "container", "x": 350, "y": 630, "width": 40, "height": 20 },
25
+ "children.10": { "type": "text_field", "x": 0, "y": 664, "width": 390, "height": 68 },
26
+ "children.11": { "type": "text_field", "x": 0, "y": 732, "width": 390, "height": 48 }
27
+ }
28
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "screen": "probe-text.json",
4
+ "renderer": "ios",
5
+ "device": { "width": 390, "height": 844, "colorScheme": "light" },
6
+ "frames": {
7
+ "root": { "type": "column", "x": 0, "y": 0, "width": 390, "height": 844 },
8
+ "children.0": { "type": "text", "x": 0, "y": 0, "width": 104.33, "height": 17 },
9
+ "children.1": { "type": "row", "x": 0, "y": 17, "width": 390, "height": 17 },
10
+ "children.1.children.0": { "type": "text", "x": 0, "y": 17, "width": 50.33, "height": 17 },
11
+ "children.2": { "type": "container", "x": 0, "y": 34, "width": 300, "height": 60 },
12
+ "children.2.child": { "type": "text", "x": 0, "y": 34, "width": 300, "height": 60 },
13
+ "children.3": { "type": "container", "x": 0, "y": 94, "width": 300, "height": 60 },
14
+ "children.3.child": { "type": "text", "x": 0, "y": 94, "width": 300, "height": 60 },
15
+ "children.4": { "type": "text", "x": 0, "y": 154, "width": 390, "height": 17 },
16
+ "children.5": { "type": "container", "x": 0, "y": 171, "width": 200, "height": 33.67 },
17
+ "children.5.child": { "type": "text", "x": 0, "y": 171, "width": 200, "height": 33.67 },
18
+ "children.6": { "type": "container", "x": 0, "y": 204.67, "width": 200, "height": 33.67 },
19
+ "children.6.child": { "type": "text", "x": 0, "y": 204.67, "width": 200, "height": 33.67 },
20
+ "children.7": { "type": "container", "x": 0, "y": 238.33, "width": 200, "height": 33.67 },
21
+ "children.7.child": { "type": "text", "x": 0, "y": 238.33, "width": 200, "height": 33.67 },
22
+ "children.8": { "type": "container", "x": 0, "y": 272, "width": 200, "height": 33.67 },
23
+ "children.8.child": { "type": "text", "x": 0, "y": 272, "width": 200, "height": 33.67 },
24
+ "children.9": { "type": "container", "x": 0, "y": 305.67, "width": 179.67, "height": 33.67 },
25
+ "children.9.child": { "type": "text", "x": 0, "y": 305.67, "width": 179.67, "height": 33.67 },
26
+ "children.10": { "type": "text", "x": 0, "y": 339.33, "width": 137.67, "height": 42.33 },
27
+ "children.11": { "type": "container", "x": 0, "y": 381.67, "width": 300, "height": 60 },
28
+ "children.11.child": { "type": "text", "x": 0, "y": 381.67, "width": 300, "height": 60 }
29
+ }
30
+ }
@@ -0,0 +1,296 @@
1
+ {
2
+ "fractal": "1.0",
3
+ "data": {
4
+ "type": "column",
5
+ "data": {
6
+ "alignment": "start",
7
+ "spacing": 0,
8
+ "children": [
9
+ {
10
+ "type": "alert_banner",
11
+ "data": {
12
+ "content": {
13
+ "type": "container",
14
+ "data": {
15
+ "size": {
16
+ "width": 100,
17
+ "height": 20
18
+ },
19
+ "background_color": {
20
+ "color": "#2563EB"
21
+ }
22
+ }
23
+ },
24
+ "actions": [
25
+ {
26
+ "type": "container",
27
+ "data": {
28
+ "size": {
29
+ "width": 64,
30
+ "height": 36
31
+ },
32
+ "background_color": {
33
+ "color": "#16A34A"
34
+ }
35
+ }
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "type": "alert_banner",
42
+ "data": {
43
+ "content": {
44
+ "type": "container",
45
+ "data": {
46
+ "size": {
47
+ "width": 100,
48
+ "height": 20
49
+ },
50
+ "background_color": {
51
+ "color": "#2563EB"
52
+ }
53
+ }
54
+ },
55
+ "actions": [
56
+ {
57
+ "type": "container",
58
+ "data": {
59
+ "size": {
60
+ "width": 64,
61
+ "height": 36
62
+ },
63
+ "background_color": {
64
+ "color": "#16A34A"
65
+ }
66
+ }
67
+ },
68
+ {
69
+ "type": "container",
70
+ "data": {
71
+ "size": {
72
+ "width": 64,
73
+ "height": 36
74
+ },
75
+ "background_color": {
76
+ "color": "#16A34A"
77
+ }
78
+ }
79
+ }
80
+ ]
81
+ }
82
+ },
83
+ {
84
+ "type": "alert_banner",
85
+ "data": {
86
+ "content": {
87
+ "type": "container",
88
+ "data": {
89
+ "size": {
90
+ "width": 100,
91
+ "height": 20
92
+ },
93
+ "background_color": {
94
+ "color": "#2563EB"
95
+ }
96
+ }
97
+ },
98
+ "actions": [
99
+ {
100
+ "type": "container",
101
+ "data": {
102
+ "size": {
103
+ "width": 64,
104
+ "height": 36
105
+ },
106
+ "background_color": {
107
+ "color": "#16A34A"
108
+ }
109
+ }
110
+ }
111
+ ],
112
+ "force_actions_below": true
113
+ }
114
+ },
115
+ {
116
+ "type": "alert_banner",
117
+ "data": {
118
+ "content": {
119
+ "type": "container",
120
+ "data": {
121
+ "size": {
122
+ "width": 100,
123
+ "height": 20
124
+ },
125
+ "background_color": {
126
+ "color": "#2563EB"
127
+ }
128
+ }
129
+ },
130
+ "leading": {
131
+ "type": "container",
132
+ "data": {
133
+ "size": {
134
+ "width": 24,
135
+ "height": 24
136
+ },
137
+ "background_color": {
138
+ "color": "#DC2626"
139
+ }
140
+ }
141
+ },
142
+ "actions": [
143
+ {
144
+ "type": "container",
145
+ "data": {
146
+ "size": {
147
+ "width": 64,
148
+ "height": 36
149
+ },
150
+ "background_color": {
151
+ "color": "#16A34A"
152
+ }
153
+ }
154
+ }
155
+ ]
156
+ }
157
+ },
158
+ {
159
+ "type": "alert_banner",
160
+ "data": {
161
+ "regular_text": "Status: ",
162
+ "emphasized_text": "ok",
163
+ "actions": [
164
+ {
165
+ "type": "text_button",
166
+ "data": {
167
+ "text": "Dismiss"
168
+ }
169
+ }
170
+ ]
171
+ }
172
+ },
173
+ {
174
+ "type": "alert_banner",
175
+ "data": {
176
+ "content": {
177
+ "type": "text",
178
+ "data": {
179
+ "text": "Content block"
180
+ }
181
+ },
182
+ "actions": [
183
+ {
184
+ "type": "text_button",
185
+ "data": {
186
+ "text": "Dismiss"
187
+ }
188
+ }
189
+ ]
190
+ }
191
+ },
192
+ {
193
+ "type": "alert_banner",
194
+ "data": {
195
+ "content": {
196
+ "type": "container",
197
+ "data": {
198
+ "size": {
199
+ "width": 100,
200
+ "height": 20
201
+ },
202
+ "background_color": {
203
+ "color": "#2563EB"
204
+ }
205
+ }
206
+ },
207
+ "actions": [
208
+ {
209
+ "type": "container",
210
+ "data": {
211
+ "size": {
212
+ "width": 64,
213
+ "height": 36
214
+ },
215
+ "background_color": {
216
+ "color": "#16A34A"
217
+ }
218
+ }
219
+ }
220
+ ],
221
+ "elevation": 3
222
+ }
223
+ },
224
+ {
225
+ "type": "alert_banner",
226
+ "data": {
227
+ "content": {
228
+ "type": "container",
229
+ "data": {
230
+ "size": {
231
+ "width": 100,
232
+ "height": 20
233
+ },
234
+ "background_color": {
235
+ "color": "#2563EB"
236
+ }
237
+ }
238
+ },
239
+ "actions": [
240
+ {
241
+ "type": "container",
242
+ "data": {
243
+ "size": {
244
+ "width": 64,
245
+ "height": 36
246
+ },
247
+ "background_color": {
248
+ "color": "#16A34A"
249
+ }
250
+ }
251
+ }
252
+ ],
253
+ "padding": [
254
+ {
255
+ "anchor": "all",
256
+ "constant": 8
257
+ }
258
+ ]
259
+ }
260
+ },
261
+ {
262
+ "type": "alert_banner",
263
+ "data": {
264
+ "content": {
265
+ "type": "container",
266
+ "data": {
267
+ "size": {
268
+ "width": 100,
269
+ "height": 20
270
+ },
271
+ "background_color": {
272
+ "color": "#2563EB"
273
+ }
274
+ }
275
+ },
276
+ "actions": [
277
+ {
278
+ "type": "container",
279
+ "data": {
280
+ "size": {
281
+ "width": 64,
282
+ "height": 36
283
+ },
284
+ "background_color": {
285
+ "color": "#16A34A"
286
+ }
287
+ }
288
+ }
289
+ ],
290
+ "min_action_bar_height": 72
291
+ }
292
+ }
293
+ ]
294
+ }
295
+ }
296
+ }
@@ -0,0 +1 @@
1
+ {"fractal": "1.0", "data": {"type": "column", "data": {"alignment": "start", "spacing": 0, "children": [{"type": "alert_banner", "data": {"content": {"type": "text", "data": {"text": "Three actions"}}, "actions": [{"type": "text_button", "data": {"text": "Retry"}}, {"type": "text_button", "data": {"text": "Later"}}, {"type": "text_button", "data": {"text": "Dismiss"}}]}}, {"type": "alert_banner", "data": {"content": {"type": "container", "data": {"size": {"width": 100, "height": 20}, "background_color": {"color": "#2563EB"}}}, "actions": [{"type": "container", "data": {"size": {"width": 120, "height": 20}, "background_color": {"color": "#16A34A"}}}, {"type": "container", "data": {"size": {"width": 120, "height": 20}, "background_color": {"color": "#16A34A"}}}, {"type": "container", "data": {"size": {"width": 120, "height": 20}, "background_color": {"color": "#16A34A"}}}]}}, {"type": "alert_banner", "data": {"content": {"type": "text", "data": {"text": "Payment failed"}}, "actions": [{"type": "text_button", "data": {"text": "Update your payment method now"}}, {"type": "text_button", "data": {"text": "Remind me again tomorrow"}}], "overflow_alignment": "start"}}, {"type": "alert_banner", "data": {"leading": {"type": "container", "data": {"size": {"width": 24, "height": 24}, "background_color": {"color": "#DC2626"}}}, "content": {"type": "text", "data": {"text": "Forced below"}}, "actions": [{"type": "text_button", "data": {"text": "OK"}}], "force_actions_below": true}}, {"type": "alert_banner", "data": {"content": {"type": "row", "data": {"spacing": 8, "children": [{"type": "container", "data": {"size": {"width": 16, "height": 16}, "background_color": {"color": "#DC2626"}}}, {"type": "expanded", "data": {"child": {"type": "text", "data": {"text": "Row content"}}}}]}}, "actions": [{"type": "container", "data": {"size": {"width": 64, "height": 36}, "background_color": {"color": "#16A34A"}}}]}}, {"type": "alert_banner", "data": {"regular_text": "Big ", "emphasized_text": "text", "content_text_style": {"font_size": 18}}}, {"type": "alert_banner", "data": {"regular_text": "Tinted", "elevation": 2, "surface_tint_color": {"color": "#6750A4"}}}, {"type": "row", "data": {"spacing": 0, "text_direction": "rtl", "children": [{"type": "expanded", "data": {"child": {"type": "alert_banner", "data": {"leading": {"type": "container", "data": {"size": {"width": 24, "height": 24}, "background_color": {"color": "#DC2626"}}}, "content": {"type": "container", "data": {"size": {"width": 100, "height": 20}, "background_color": {"color": "#2563EB"}}}, "actions": [{"type": "container", "data": {"size": {"width": 64, "height": 36}, "background_color": {"color": "#16A34A"}}}]}}}}]}}, {"type": "row", "data": {"spacing": 0, "children": [{"type": "text_button", "data": {"text": "OK"}}, {"type": "text_button", "data": {"text": "A"}}]}}, {"type": "alert_banner", "data": {"content": {"type": "column", "data": {"alignment": "start", "spacing": 0, "children": [{"type": "text", "data": {"text": "Nested one"}}, {"type": "text", "data": {"text": "Nested two"}}]}}}}, {"type": "alert_banner", "data": {"regular_text": "Empty lists", "elevation": 2, "margin": [], "padding": []}}, {"type": "container", "data": {"size": {"height": 50}, "child": {"type": "alert_banner", "data": {"regular_text": "Forced tall", "background_color": {"color": "#FFD54F"}}}}}]}}}