@ezpg/app-ui 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (422) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/lib/module/adjust/dial-strip.js +2 -2
  3. package/lib/module/adjust/dial-strip.js.map +1 -1
  4. package/lib/module/adjust/font-controls.js +76 -0
  5. package/lib/module/adjust/font-controls.js.map +1 -0
  6. package/lib/module/adjust/index.js +1 -0
  7. package/lib/module/adjust/index.js.map +1 -1
  8. package/lib/module/blocks/action-grid/action-grid.js +71 -0
  9. package/lib/module/blocks/action-grid/action-grid.js.map +1 -0
  10. package/lib/module/blocks/action-grid/index.js +4 -0
  11. package/lib/module/blocks/action-grid/index.js.map +1 -0
  12. package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js +74 -32
  13. package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js.map +1 -1
  14. package/lib/module/blocks/code-input/code-input.js +103 -0
  15. package/lib/module/blocks/code-input/code-input.js.map +1 -0
  16. package/lib/module/blocks/code-input/index.js +4 -0
  17. package/lib/module/blocks/code-input/index.js.map +1 -0
  18. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +26 -3
  19. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js.map +1 -1
  20. package/lib/module/blocks/consent-list/consent-list.js +116 -0
  21. package/lib/module/blocks/consent-list/consent-list.js.map +1 -0
  22. package/lib/module/blocks/consent-list/index.js +4 -0
  23. package/lib/module/blocks/consent-list/index.js.map +1 -0
  24. package/lib/module/blocks/image-grid/image-grid.js +5 -44
  25. package/lib/module/blocks/image-grid/image-grid.js.map +1 -1
  26. package/lib/module/blocks/inbox-row/inbox-row.js +120 -0
  27. package/lib/module/blocks/inbox-row/inbox-row.js.map +1 -0
  28. package/lib/module/blocks/inbox-row/index.js +4 -0
  29. package/lib/module/blocks/inbox-row/index.js.map +1 -0
  30. package/lib/module/blocks/index.js +11 -0
  31. package/lib/module/blocks/index.js.map +1 -1
  32. package/lib/module/blocks/invite-card/index.js +4 -0
  33. package/lib/module/blocks/invite-card/index.js.map +1 -0
  34. package/lib/module/blocks/invite-card/invite-card.js +156 -0
  35. package/lib/module/blocks/invite-card/invite-card.js.map +1 -0
  36. package/lib/module/blocks/oauth-buttons/index.js +1 -1
  37. package/lib/module/blocks/oauth-buttons/index.js.map +1 -1
  38. package/lib/module/blocks/oauth-buttons/logos.js +7 -0
  39. package/lib/module/blocks/oauth-buttons/logos.js.map +1 -0
  40. package/lib/module/blocks/oauth-buttons/oauth-buttons.js +84 -5
  41. package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -1
  42. package/lib/module/blocks/product-tile/index.js +4 -0
  43. package/lib/module/blocks/product-tile/index.js.map +1 -0
  44. package/lib/module/blocks/product-tile/product-tile.js +60 -0
  45. package/lib/module/blocks/product-tile/product-tile.js.map +1 -0
  46. package/lib/module/blocks/quick-actions/index.js +4 -0
  47. package/lib/module/blocks/quick-actions/index.js.map +1 -0
  48. package/lib/module/blocks/quick-actions/quick-actions.js +52 -0
  49. package/lib/module/blocks/quick-actions/quick-actions.js.map +1 -0
  50. package/lib/module/blocks/setup-guide/index.js +4 -0
  51. package/lib/module/blocks/setup-guide/index.js.map +1 -0
  52. package/lib/module/blocks/setup-guide/setup-guide.js +102 -0
  53. package/lib/module/blocks/setup-guide/setup-guide.js.map +1 -0
  54. package/lib/module/blocks/site-summary/index.js +4 -0
  55. package/lib/module/blocks/site-summary/index.js.map +1 -0
  56. package/lib/module/blocks/site-summary/site-summary.js +81 -0
  57. package/lib/module/blocks/site-summary/site-summary.js.map +1 -0
  58. package/lib/module/blocks/stage-bar/index.js +4 -0
  59. package/lib/module/blocks/stage-bar/index.js.map +1 -0
  60. package/lib/module/blocks/stage-bar/stage-bar.js +89 -0
  61. package/lib/module/blocks/stage-bar/stage-bar.js.map +1 -0
  62. package/lib/module/blocks/stat-card/stat-card.js +18 -4
  63. package/lib/module/blocks/stat-card/stat-card.js.map +1 -1
  64. package/lib/module/blocks/step-screen/step-screen.js +54 -27
  65. package/lib/module/blocks/step-screen/step-screen.js.map +1 -1
  66. package/lib/module/blocks/store-sheet/index.js +4 -0
  67. package/lib/module/blocks/store-sheet/index.js.map +1 -0
  68. package/lib/module/blocks/store-sheet/store-sheet.js +90 -0
  69. package/lib/module/blocks/store-sheet/store-sheet.js.map +1 -0
  70. package/lib/module/blocks/task-tiles/index.js +4 -0
  71. package/lib/module/blocks/task-tiles/index.js.map +1 -0
  72. package/lib/module/blocks/task-tiles/task-tiles.js +67 -0
  73. package/lib/module/blocks/task-tiles/task-tiles.js.map +1 -0
  74. package/lib/module/charts/index.js +1 -0
  75. package/lib/module/charts/index.js.map +1 -1
  76. package/lib/module/charts/mini-bars.js +75 -0
  77. package/lib/module/charts/mini-bars.js.map +1 -0
  78. package/lib/module/components/avatar/avatar.js +100 -0
  79. package/lib/module/components/avatar/avatar.js.map +1 -0
  80. package/lib/module/components/avatar/index.js +4 -0
  81. package/lib/module/components/avatar/index.js.map +1 -0
  82. package/lib/module/components/calendar/calendar.js +200 -103
  83. package/lib/module/components/calendar/calendar.js.map +1 -1
  84. package/lib/module/components/check-list/check-list.js +54 -0
  85. package/lib/module/components/check-list/check-list.js.map +1 -0
  86. package/lib/module/components/check-list/index.js +4 -0
  87. package/lib/module/components/check-list/index.js.map +1 -0
  88. package/lib/module/components/chip/chip.js +33 -6
  89. package/lib/module/components/chip/chip.js.map +1 -1
  90. package/lib/module/components/chip/index.js.map +1 -1
  91. package/lib/module/components/chip-group/chip-group.js +42 -17
  92. package/lib/module/components/chip-group/chip-group.js.map +1 -1
  93. package/lib/module/components/circle-grid/circle-grid.js +141 -0
  94. package/lib/module/components/circle-grid/circle-grid.js.map +1 -0
  95. package/lib/module/components/circle-grid/index.js +4 -0
  96. package/lib/module/components/circle-grid/index.js.map +1 -0
  97. package/lib/module/components/empty-state/empty-state.js +15 -0
  98. package/lib/module/components/empty-state/empty-state.js.map +1 -1
  99. package/lib/module/components/field/field.js +10 -5
  100. package/lib/module/components/field/field.js.map +1 -1
  101. package/lib/module/components/field-group/field-group.js +39 -0
  102. package/lib/module/components/field-group/field-group.js.map +1 -0
  103. package/lib/module/components/field-group/index.js +4 -0
  104. package/lib/module/components/field-group/index.js.map +1 -0
  105. package/lib/module/components/list-row/list-row.js +52 -6
  106. package/lib/module/components/list-row/list-row.js.map +1 -1
  107. package/lib/module/components/page-header/index.js +5 -0
  108. package/lib/module/components/page-header/index.js.map +1 -0
  109. package/lib/module/components/page-header/page-header.js +110 -0
  110. package/lib/module/components/page-header/page-header.js.map +1 -0
  111. package/lib/module/components/page-header/store-header.js +134 -0
  112. package/lib/module/components/page-header/store-header.js.map +1 -0
  113. package/lib/module/components/photo/index.js +1 -0
  114. package/lib/module/components/photo/index.js.map +1 -1
  115. package/lib/module/components/photo/photo.js +15 -3
  116. package/lib/module/components/photo/photo.js.map +1 -1
  117. package/lib/module/components/progress-circle/index.js +4 -0
  118. package/lib/module/components/progress-circle/index.js.map +1 -0
  119. package/lib/module/components/progress-circle/progress-circle.js +49 -0
  120. package/lib/module/components/progress-circle/progress-circle.js.map +1 -0
  121. package/lib/module/components/result-mark/index.js +4 -0
  122. package/lib/module/components/result-mark/index.js.map +1 -0
  123. package/lib/module/components/result-mark/result-mark.js +42 -0
  124. package/lib/module/components/result-mark/result-mark.js.map +1 -0
  125. package/lib/module/components/sheet/index.js +1 -1
  126. package/lib/module/components/sheet/index.js.map +1 -1
  127. package/lib/module/components/sheet/sheet.js +27 -1
  128. package/lib/module/components/sheet/sheet.js.map +1 -1
  129. package/lib/module/components/status-steps/index.js +4 -0
  130. package/lib/module/components/status-steps/index.js.map +1 -0
  131. package/lib/module/components/status-steps/status-steps.js +96 -0
  132. package/lib/module/components/status-steps/status-steps.js.map +1 -0
  133. package/lib/module/components/step-slider/index.js +4 -0
  134. package/lib/module/components/step-slider/index.js.map +1 -0
  135. package/lib/module/components/step-slider/step-slider.js +167 -0
  136. package/lib/module/components/step-slider/step-slider.js.map +1 -0
  137. package/lib/module/components/text-links/index.js +4 -0
  138. package/lib/module/components/text-links/index.js.map +1 -0
  139. package/lib/module/components/text-links/text-links.js +48 -0
  140. package/lib/module/components/text-links/text-links.js.map +1 -0
  141. package/lib/module/index.js +12 -1
  142. package/lib/module/index.js.map +1 -1
  143. package/lib/module/internal/bell.js +4 -0
  144. package/lib/module/internal/bell.js.map +1 -0
  145. package/lib/module/internal/glyphs.js +47 -1
  146. package/lib/module/internal/glyphs.js.map +1 -1
  147. package/lib/module/internal/line-icons.js +21 -0
  148. package/lib/module/internal/line-icons.js.map +1 -0
  149. package/lib/module/internal/tab-icons.js +10 -0
  150. package/lib/module/internal/tab-icons.js.map +1 -0
  151. package/lib/module/templates/calendar-template.js +42 -0
  152. package/lib/module/templates/calendar-template.js.map +1 -0
  153. package/lib/module/templates/index.js +2 -0
  154. package/lib/module/templates/index.js.map +1 -1
  155. package/lib/module/templates/intro-template.js +1 -1
  156. package/lib/module/templates/list-template.js +50 -5
  157. package/lib/module/templates/list-template.js.map +1 -1
  158. package/lib/module/templates/notice-template.js +138 -0
  159. package/lib/module/templates/notice-template.js.map +1 -0
  160. package/lib/module/templates/parts.js +41 -0
  161. package/lib/module/templates/parts.js.map +1 -1
  162. package/lib/module/templates/result-template.js +17 -3
  163. package/lib/module/templates/result-template.js.map +1 -1
  164. package/lib/module/templates/scroll-templates.js +49 -1
  165. package/lib/module/templates/scroll-templates.js.map +1 -1
  166. package/lib/module/templates/system-template.js +18 -2
  167. package/lib/module/templates/system-template.js.map +1 -1
  168. package/lib/module/theme/base.js +1 -0
  169. package/lib/module/theme/base.js.map +1 -1
  170. package/lib/typescript/src/adjust/dial-strip.d.ts +1 -0
  171. package/lib/typescript/src/adjust/dial-strip.d.ts.map +1 -1
  172. package/lib/typescript/src/adjust/font-controls.d.ts +21 -0
  173. package/lib/typescript/src/adjust/font-controls.d.ts.map +1 -0
  174. package/lib/typescript/src/adjust/index.d.ts +1 -0
  175. package/lib/typescript/src/adjust/index.d.ts.map +1 -1
  176. package/lib/typescript/src/blocks/action-grid/action-grid.d.ts +15 -0
  177. package/lib/typescript/src/blocks/action-grid/action-grid.d.ts.map +1 -0
  178. package/lib/typescript/src/blocks/action-grid/index.d.ts +2 -0
  179. package/lib/typescript/src/blocks/action-grid/index.d.ts.map +1 -0
  180. package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts +3 -1
  181. package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts.map +1 -1
  182. package/lib/typescript/src/blocks/code-input/code-input.d.ts +14 -0
  183. package/lib/typescript/src/blocks/code-input/code-input.d.ts.map +1 -0
  184. package/lib/typescript/src/blocks/code-input/index.d.ts +2 -0
  185. package/lib/typescript/src/blocks/code-input/index.d.ts.map +1 -0
  186. package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts +1 -1
  187. package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts.map +1 -1
  188. package/lib/typescript/src/blocks/consent-list/consent-list.d.ts +18 -0
  189. package/lib/typescript/src/blocks/consent-list/consent-list.d.ts.map +1 -0
  190. package/lib/typescript/src/blocks/consent-list/index.d.ts +2 -0
  191. package/lib/typescript/src/blocks/consent-list/index.d.ts.map +1 -0
  192. package/lib/typescript/src/blocks/image-grid/image-grid.d.ts.map +1 -1
  193. package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts +15 -0
  194. package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts.map +1 -0
  195. package/lib/typescript/src/blocks/inbox-row/index.d.ts +2 -0
  196. package/lib/typescript/src/blocks/inbox-row/index.d.ts.map +1 -0
  197. package/lib/typescript/src/blocks/index.d.ts +11 -0
  198. package/lib/typescript/src/blocks/index.d.ts.map +1 -1
  199. package/lib/typescript/src/blocks/invite-card/index.d.ts +2 -0
  200. package/lib/typescript/src/blocks/invite-card/index.d.ts.map +1 -0
  201. package/lib/typescript/src/blocks/invite-card/invite-card.d.ts +15 -0
  202. package/lib/typescript/src/blocks/invite-card/invite-card.d.ts.map +1 -0
  203. package/lib/typescript/src/blocks/oauth-buttons/index.d.ts +1 -1
  204. package/lib/typescript/src/blocks/oauth-buttons/index.d.ts.map +1 -1
  205. package/lib/typescript/src/blocks/oauth-buttons/logos.d.ts +5 -0
  206. package/lib/typescript/src/blocks/oauth-buttons/logos.d.ts.map +1 -0
  207. package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts +3 -0
  208. package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -1
  209. package/lib/typescript/src/blocks/product-tile/index.d.ts +2 -0
  210. package/lib/typescript/src/blocks/product-tile/index.d.ts.map +1 -0
  211. package/lib/typescript/src/blocks/product-tile/product-tile.d.ts +12 -0
  212. package/lib/typescript/src/blocks/product-tile/product-tile.d.ts.map +1 -0
  213. package/lib/typescript/src/blocks/quick-actions/index.d.ts +2 -0
  214. package/lib/typescript/src/blocks/quick-actions/index.d.ts.map +1 -0
  215. package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts +14 -0
  216. package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts.map +1 -0
  217. package/lib/typescript/src/blocks/setup-guide/index.d.ts +2 -0
  218. package/lib/typescript/src/blocks/setup-guide/index.d.ts.map +1 -0
  219. package/lib/typescript/src/blocks/setup-guide/setup-guide.d.ts +14 -0
  220. package/lib/typescript/src/blocks/setup-guide/setup-guide.d.ts.map +1 -0
  221. package/lib/typescript/src/blocks/site-summary/index.d.ts +2 -0
  222. package/lib/typescript/src/blocks/site-summary/index.d.ts.map +1 -0
  223. package/lib/typescript/src/blocks/site-summary/site-summary.d.ts +18 -0
  224. package/lib/typescript/src/blocks/site-summary/site-summary.d.ts.map +1 -0
  225. package/lib/typescript/src/blocks/stage-bar/index.d.ts +2 -0
  226. package/lib/typescript/src/blocks/stage-bar/index.d.ts.map +1 -0
  227. package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts +15 -0
  228. package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts.map +1 -0
  229. package/lib/typescript/src/blocks/stat-card/stat-card.d.ts +2 -1
  230. package/lib/typescript/src/blocks/stat-card/stat-card.d.ts.map +1 -1
  231. package/lib/typescript/src/blocks/step-screen/step-screen.d.ts +5 -2
  232. package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -1
  233. package/lib/typescript/src/blocks/store-sheet/index.d.ts +2 -0
  234. package/lib/typescript/src/blocks/store-sheet/index.d.ts.map +1 -0
  235. package/lib/typescript/src/blocks/store-sheet/store-sheet.d.ts +16 -0
  236. package/lib/typescript/src/blocks/store-sheet/store-sheet.d.ts.map +1 -0
  237. package/lib/typescript/src/blocks/task-tiles/index.d.ts +2 -0
  238. package/lib/typescript/src/blocks/task-tiles/index.d.ts.map +1 -0
  239. package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts +16 -0
  240. package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts.map +1 -0
  241. package/lib/typescript/src/charts/index.d.ts +1 -0
  242. package/lib/typescript/src/charts/index.d.ts.map +1 -1
  243. package/lib/typescript/src/charts/mini-bars.d.ts +11 -0
  244. package/lib/typescript/src/charts/mini-bars.d.ts.map +1 -0
  245. package/lib/typescript/src/components/avatar/avatar.d.ts +13 -0
  246. package/lib/typescript/src/components/avatar/avatar.d.ts.map +1 -0
  247. package/lib/typescript/src/components/avatar/index.d.ts +2 -0
  248. package/lib/typescript/src/components/avatar/index.d.ts.map +1 -0
  249. package/lib/typescript/src/components/calendar/calendar.d.ts +4 -1
  250. package/lib/typescript/src/components/calendar/calendar.d.ts.map +1 -1
  251. package/lib/typescript/src/components/check-list/check-list.d.ts +5 -0
  252. package/lib/typescript/src/components/check-list/check-list.d.ts.map +1 -0
  253. package/lib/typescript/src/components/check-list/index.d.ts +2 -0
  254. package/lib/typescript/src/components/check-list/index.d.ts.map +1 -0
  255. package/lib/typescript/src/components/chip/chip.d.ts +5 -1
  256. package/lib/typescript/src/components/chip/chip.d.ts.map +1 -1
  257. package/lib/typescript/src/components/chip/index.d.ts +1 -1
  258. package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
  259. package/lib/typescript/src/components/chip-group/chip-group.d.ts +4 -0
  260. package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -1
  261. package/lib/typescript/src/components/circle-grid/circle-grid.d.ts +17 -0
  262. package/lib/typescript/src/components/circle-grid/circle-grid.d.ts.map +1 -0
  263. package/lib/typescript/src/components/circle-grid/index.d.ts +2 -0
  264. package/lib/typescript/src/components/circle-grid/index.d.ts.map +1 -0
  265. package/lib/typescript/src/components/empty-state/empty-state.d.ts +6 -1
  266. package/lib/typescript/src/components/empty-state/empty-state.d.ts.map +1 -1
  267. package/lib/typescript/src/components/field/field.d.ts +2 -1
  268. package/lib/typescript/src/components/field/field.d.ts.map +1 -1
  269. package/lib/typescript/src/components/field-group/field-group.d.ts +10 -0
  270. package/lib/typescript/src/components/field-group/field-group.d.ts.map +1 -0
  271. package/lib/typescript/src/components/field-group/index.d.ts +2 -0
  272. package/lib/typescript/src/components/field-group/index.d.ts.map +1 -0
  273. package/lib/typescript/src/components/list-row/list-row.d.ts +6 -1
  274. package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -1
  275. package/lib/typescript/src/components/page-header/index.d.ts +3 -0
  276. package/lib/typescript/src/components/page-header/index.d.ts.map +1 -0
  277. package/lib/typescript/src/components/page-header/page-header.d.ts +23 -0
  278. package/lib/typescript/src/components/page-header/page-header.d.ts.map +1 -0
  279. package/lib/typescript/src/components/page-header/store-header.d.ts +17 -0
  280. package/lib/typescript/src/components/page-header/store-header.d.ts.map +1 -0
  281. package/lib/typescript/src/components/photo/index.d.ts +1 -0
  282. package/lib/typescript/src/components/photo/index.d.ts.map +1 -1
  283. package/lib/typescript/src/components/photo/photo.d.ts +2 -0
  284. package/lib/typescript/src/components/photo/photo.d.ts.map +1 -1
  285. package/lib/typescript/src/components/progress-circle/index.d.ts +2 -0
  286. package/lib/typescript/src/components/progress-circle/index.d.ts.map +1 -0
  287. package/lib/typescript/src/components/progress-circle/progress-circle.d.ts +8 -0
  288. package/lib/typescript/src/components/progress-circle/progress-circle.d.ts.map +1 -0
  289. package/lib/typescript/src/components/result-mark/index.d.ts +2 -0
  290. package/lib/typescript/src/components/result-mark/index.d.ts.map +1 -0
  291. package/lib/typescript/src/components/result-mark/result-mark.d.ts +7 -0
  292. package/lib/typescript/src/components/result-mark/result-mark.d.ts.map +1 -0
  293. package/lib/typescript/src/components/sheet/index.d.ts +1 -1
  294. package/lib/typescript/src/components/sheet/index.d.ts.map +1 -1
  295. package/lib/typescript/src/components/sheet/sheet.d.ts +9 -0
  296. package/lib/typescript/src/components/sheet/sheet.d.ts.map +1 -1
  297. package/lib/typescript/src/components/status-steps/index.d.ts +2 -0
  298. package/lib/typescript/src/components/status-steps/index.d.ts.map +1 -0
  299. package/lib/typescript/src/components/status-steps/status-steps.d.ts +8 -0
  300. package/lib/typescript/src/components/status-steps/status-steps.d.ts.map +1 -0
  301. package/lib/typescript/src/components/step-slider/index.d.ts +2 -0
  302. package/lib/typescript/src/components/step-slider/index.d.ts.map +1 -0
  303. package/lib/typescript/src/components/step-slider/step-slider.d.ts +13 -0
  304. package/lib/typescript/src/components/step-slider/step-slider.d.ts.map +1 -0
  305. package/lib/typescript/src/components/text-links/index.d.ts +2 -0
  306. package/lib/typescript/src/components/text-links/index.d.ts.map +1 -0
  307. package/lib/typescript/src/components/text-links/text-links.d.ts +9 -0
  308. package/lib/typescript/src/components/text-links/text-links.d.ts.map +1 -0
  309. package/lib/typescript/src/index.d.ts +12 -1
  310. package/lib/typescript/src/index.d.ts.map +1 -1
  311. package/lib/typescript/src/internal/bell.d.ts +2 -0
  312. package/lib/typescript/src/internal/bell.d.ts.map +1 -0
  313. package/lib/typescript/src/internal/glyphs.d.ts +26 -0
  314. package/lib/typescript/src/internal/glyphs.d.ts.map +1 -1
  315. package/lib/typescript/src/internal/line-icons.d.ts +19 -0
  316. package/lib/typescript/src/internal/line-icons.d.ts.map +1 -0
  317. package/lib/typescript/src/internal/tab-icons.d.ts +8 -0
  318. package/lib/typescript/src/internal/tab-icons.d.ts.map +1 -0
  319. package/lib/typescript/src/templates/calendar-template.d.ts +11 -0
  320. package/lib/typescript/src/templates/calendar-template.d.ts.map +1 -0
  321. package/lib/typescript/src/templates/index.d.ts +4 -0
  322. package/lib/typescript/src/templates/index.d.ts.map +1 -1
  323. package/lib/typescript/src/templates/list-template.d.ts +9 -1
  324. package/lib/typescript/src/templates/list-template.d.ts.map +1 -1
  325. package/lib/typescript/src/templates/notice-template.d.ts +23 -0
  326. package/lib/typescript/src/templates/notice-template.d.ts.map +1 -0
  327. package/lib/typescript/src/templates/parts.d.ts +3 -2
  328. package/lib/typescript/src/templates/parts.d.ts.map +1 -1
  329. package/lib/typescript/src/templates/result-template.d.ts +3 -1
  330. package/lib/typescript/src/templates/result-template.d.ts.map +1 -1
  331. package/lib/typescript/src/templates/scroll-templates.d.ts +4 -1
  332. package/lib/typescript/src/templates/scroll-templates.d.ts.map +1 -1
  333. package/lib/typescript/src/templates/system-template.d.ts +4 -1
  334. package/lib/typescript/src/templates/system-template.d.ts.map +1 -1
  335. package/lib/typescript/src/theme/base.d.ts +1 -0
  336. package/lib/typescript/src/theme/base.d.ts.map +1 -1
  337. package/package.json +1 -1
  338. package/src/adjust/dial-strip.tsx +3 -2
  339. package/src/adjust/font-controls.tsx +86 -0
  340. package/src/adjust/index.ts +5 -0
  341. package/src/blocks/action-grid/action-grid.tsx +79 -0
  342. package/src/blocks/action-grid/index.ts +5 -0
  343. package/src/blocks/bulk-ship-list/bulk-ship-list.tsx +66 -23
  344. package/src/blocks/code-input/code-input.tsx +111 -0
  345. package/src/blocks/code-input/index.ts +1 -0
  346. package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +24 -4
  347. package/src/blocks/consent-list/consent-list.tsx +129 -0
  348. package/src/blocks/consent-list/index.ts +5 -0
  349. package/src/blocks/image-grid/image-grid.tsx +3 -48
  350. package/src/blocks/inbox-row/inbox-row.tsx +114 -0
  351. package/src/blocks/inbox-row/index.ts +1 -0
  352. package/src/blocks/index.tsx +11 -0
  353. package/src/blocks/invite-card/index.ts +1 -0
  354. package/src/blocks/invite-card/invite-card.tsx +151 -0
  355. package/src/blocks/oauth-buttons/index.ts +1 -0
  356. package/src/blocks/oauth-buttons/logos.ts +10 -0
  357. package/src/blocks/oauth-buttons/oauth-buttons.tsx +61 -3
  358. package/src/blocks/product-tile/index.ts +5 -0
  359. package/src/blocks/product-tile/product-tile.tsx +54 -0
  360. package/src/blocks/quick-actions/index.ts +5 -0
  361. package/src/blocks/quick-actions/quick-actions.tsx +61 -0
  362. package/src/blocks/setup-guide/index.ts +5 -0
  363. package/src/blocks/setup-guide/setup-guide.tsx +103 -0
  364. package/src/blocks/site-summary/index.ts +5 -0
  365. package/src/blocks/site-summary/site-summary.tsx +95 -0
  366. package/src/blocks/stage-bar/index.ts +1 -0
  367. package/src/blocks/stage-bar/stage-bar.tsx +107 -0
  368. package/src/blocks/stat-card/stat-card.tsx +10 -1
  369. package/src/blocks/step-screen/step-screen.tsx +70 -34
  370. package/src/blocks/store-sheet/index.ts +5 -0
  371. package/src/blocks/store-sheet/store-sheet.tsx +94 -0
  372. package/src/blocks/task-tiles/index.ts +1 -0
  373. package/src/blocks/task-tiles/task-tiles.tsx +75 -0
  374. package/src/charts/index.ts +1 -0
  375. package/src/charts/mini-bars.tsx +82 -0
  376. package/src/components/avatar/avatar.tsx +95 -0
  377. package/src/components/avatar/index.ts +1 -0
  378. package/src/components/calendar/calendar.tsx +213 -91
  379. package/src/components/check-list/check-list.tsx +46 -0
  380. package/src/components/check-list/index.ts +1 -0
  381. package/src/components/chip/chip.tsx +36 -6
  382. package/src/components/chip/index.ts +1 -1
  383. package/src/components/chip-group/chip-group.tsx +48 -21
  384. package/src/components/circle-grid/circle-grid.tsx +154 -0
  385. package/src/components/circle-grid/index.ts +5 -0
  386. package/src/components/empty-state/empty-state.tsx +26 -0
  387. package/src/components/field/field.tsx +8 -5
  388. package/src/components/field-group/field-group.tsx +40 -0
  389. package/src/components/field-group/index.ts +1 -0
  390. package/src/components/list-row/list-row.tsx +71 -4
  391. package/src/components/page-header/index.ts +14 -0
  392. package/src/components/page-header/page-header.tsx +122 -0
  393. package/src/components/page-header/store-header.tsx +138 -0
  394. package/src/components/photo/index.ts +1 -0
  395. package/src/components/photo/photo.tsx +19 -3
  396. package/src/components/progress-circle/index.ts +1 -0
  397. package/src/components/progress-circle/progress-circle.tsx +55 -0
  398. package/src/components/result-mark/index.ts +1 -0
  399. package/src/components/result-mark/result-mark.tsx +45 -0
  400. package/src/components/sheet/index.ts +6 -1
  401. package/src/components/sheet/sheet.tsx +33 -0
  402. package/src/components/status-steps/index.ts +1 -0
  403. package/src/components/status-steps/status-steps.tsx +84 -0
  404. package/src/components/step-slider/index.ts +1 -0
  405. package/src/components/step-slider/step-slider.tsx +153 -0
  406. package/src/components/text-links/index.ts +1 -0
  407. package/src/components/text-links/text-links.tsx +43 -0
  408. package/src/index.tsx +37 -0
  409. package/src/internal/bell.ts +2 -0
  410. package/src/internal/glyphs.tsx +69 -1
  411. package/src/internal/line-icons.ts +53 -0
  412. package/src/internal/tab-icons.ts +19 -0
  413. package/src/templates/calendar-template.tsx +46 -0
  414. package/src/templates/index.ts +4 -0
  415. package/src/templates/intro-template.tsx +1 -1
  416. package/src/templates/list-template.tsx +54 -0
  417. package/src/templates/notice-template.tsx +150 -0
  418. package/src/templates/parts.tsx +41 -1
  419. package/src/templates/result-template.tsx +26 -8
  420. package/src/templates/scroll-templates.tsx +55 -3
  421. package/src/templates/system-template.tsx +33 -2
  422. package/src/theme/base.ts +8 -0
@@ -0,0 +1,10 @@
1
+ export const GOOGLE_G =
2
+ 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAVdElEQVR4nN2daZAdV3WAv3O73xstM5qx0GZbHgkLbDCWjR2DKSPbBYQlIY4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+EJn3dqz3KScM3TmWtNCbPR14MwWHPCgeSoFo4NNvvOqy7hmxfFb3H5y2h9gvGfXXXx+xx0czKbIaZD5XkhOk4zUw3WmXY/76muaj1nIamvtF7e7eDABTVFNUZu4uFAbEOPDMkVTn5/6/ZRrl67gzpdczuqF80+5/jPyCdC9rd186JEP8dODW2JXLY/xYCOauSXBahXeiQMMgbaEWFLd36uoViBqA2zaBa4E6PJSRtL5fOAFl/CeCy443arP7Edov773AT69/S52TB3wEJMyoNZKDEhoGurBs0yzD1WI7jsDagWngQmqCRo0rBukh4nPv2bJSu580TpWL5iZxfEz/hnkI/lRvrDzPr665wdsnzoQAbo4MOnSvLoG1r4GR+kDoboqxn8RjsT706SuhTaNWldCbXD14lV84Hkv5pqlM/uX9LP2Ie6drf3818Ft/P32u9kx9QzWhzJl963e740FoowDe3smAurDHR8SBS1EU6xP0QbWm+26xWv46wvWcc2SlbNRzbn5FPwDT/2ML+/ZxDee+oWDJ+K+VDddobq+ag79/CA47TNdZpwynA5x6+qrWbf42VzzrFWzVi+YI4BBDuWTbBp/mG/u/zk/HH+EJ6cOTNP/7ad97kgIufF9adWEkXQhFw+uYt1ZF3D14udy9eI1s16XWKIz+d9hjLWeZuuRMbYcGePXR8c4lE8y1nqa8XySQ9lkrSEZaSxkOFnAosYCLhkcZVG6gEsGV7F20Sij8xb3HT+cC/lffXpjzHg3yt4AAAAASUVORK5CYII=';
3
+
4
+ export const NAVER_N =
5
+ 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAACzElEQVR4nN3bLW9TARTG8T8kRVBzEZQENSZmxlIEbCQT5RMMMTVddJsgJyYmKkk2TbFTE0ySICaW8CLIsmG2BKoQF0HNVRVFzCzBjXvOec59PkDPzS856z1P1lvz+XyOYSZVydMPQ6azynLMP/n4YkSv89h8zm3rAQvtDjvLW9ZjwmIOCDBY2uDlw+ceo9zjAggwXhtStNpe49ziBli02hyub3uNc4sbIECvs8JgacNzpHlcA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G3IR0OQBFTA7sjDc6yATkKRUwNTCWfpOR8iy2mxpxBGvTMZ/LUMDUwSMpAIO6EIpeigaoNoqmBh5AO/aCIkYH5ZHcr0uANKGLTuu5AGtTnE2Iq2Bi4DemgNq5pY6BqF6jCDGMU1kEBGwOXIh0uo/6GAjYGLqGCpE8F4ilG4V/wxNhAtsQyc2+aLRQLH9DEL+CBbR83aBJLIL6iib9STv1924OakCbSKs+nibWwxGVlguRlpDQ+2JHfqK/5yNpvUtklbP9D2kg0jjKt7GLgGKSP8ayd0/pA3sbzWTQiTfbw9u1tWtl1pPlnpMsfNpV9VqhKrod1q1VwpKPQy7QBEXzmOr5BekyyMU/wXWS+BuVJP6gEEn11NHCjzUG+s20pLXf719Y8QSNPRDJ+3kfcHKHupYHWUxcaBl6LbM30LYiXoTTPaa8Z7wnzfKb/XcRLk6t5gsqKg3yrkW8RH3Lrmu4K0ina2ZrNyPJ3Y2EQ//mz4IH2mpc3qUJmlnfC577mCeoJ1/lOQ9JXLvKCpPE0bwgUUL9I/mHNLD5FcZmnZZ5Qtj0TGIkfsfgdfsiKiB3I1uZIv/sG+LGaGuibpd6ecm86Ien5kywOkefn1FwtvNDdHc4nmfGyVls2n5X9Eu6COd/xfJ9BmbJve5Ivo/gS2VbFF0MMG8MLtJpz4bkl9UIi/dUuqi2jPrHNAzYl2L4xuZHvIdskWxJ25PaUrQIm8uKOwIN8V98G6kFkq27l3LLdydKOUaxNVJvQFpHqXvqeVA305AIAAAD//885/dUAAAAGSURBVAMAdi1VlPgNv9EAAAAASUVORK5CYII=';
@@ -1,6 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import {
3
3
  ActivityIndicator,
4
+ Image,
4
5
  Platform,
5
6
  Text,
6
7
  View,
@@ -8,6 +9,7 @@ import {
8
9
  type ViewStyle,
9
10
  } from 'react-native';
10
11
  import { PressableBase } from '../../internal/pressable-base';
12
+ import { APPLE_LOGO, GOOGLE_G, KAKAO_SYMBOL, NAVER_N } from './logos';
11
13
  import { makeStyles } from '../../utils/styles';
12
14
 
13
15
  export type OAuthProvider = 'kakao' | 'naver' | 'google' | 'apple';
@@ -26,7 +28,7 @@ const BRAND: Record<
26
28
  { bg: string; fg: string; border?: string; label: string }
27
29
  > = {
28
30
  kakao: { bg: '#FEE500', fg: 'rgba(0, 0, 0, 0.85)', label: '카카오 로그인' },
29
- naver: { bg: '#03C75A', fg: '#FFFFFF', label: '네이버 로그인' },
31
+ naver: { bg: '#03A94D', fg: '#FFFFFF', label: '네이버 로그인' },
30
32
  google: {
31
33
  bg: '#FFFFFF',
32
34
  fg: '#1F1F1F',
@@ -36,7 +38,26 @@ const BRAND: Record<
36
38
  apple: { bg: '#000000', fg: '#FFFFFF', label: 'Apple로 로그인' },
37
39
  };
38
40
 
39
- const HEIGHT = 48;
41
+ const HEIGHT = 52;
42
+ const LOGO = 18;
43
+
44
+ const LOGOS: Partial<Record<OAuthProvider, ReactNode>> = {
45
+ kakao: (
46
+ <Image
47
+ source={{ uri: KAKAO_SYMBOL }}
48
+ style={{ width: LOGO, height: LOGO }}
49
+ />
50
+ ),
51
+ naver: (
52
+ <Image source={{ uri: NAVER_N }} style={{ width: LOGO, height: LOGO }} />
53
+ ),
54
+ google: (
55
+ <Image source={{ uri: GOOGLE_G }} style={{ width: LOGO, height: LOGO }} />
56
+ ),
57
+ apple: (
58
+ <Image source={{ uri: APPLE_LOGO }} style={{ width: LOGO, height: LOGO }} />
59
+ ),
60
+ };
40
61
 
41
62
  const useStyles = makeStyles((t) => ({
42
63
  root: { gap: t.space[2] },
@@ -89,7 +110,9 @@ export function OAuthButtons({
89
110
  },
90
111
  ]}
91
112
  >
92
- {icons[p] ? <View style={s.icon}>{icons[p]}</View> : null}
113
+ {(icons[p] ?? LOGOS[p]) ? (
114
+ <View style={s.icon}>{icons[p] ?? LOGOS[p]}</View>
115
+ ) : null}
93
116
  {loading === p ? (
94
117
  <ActivityIndicator size="small" color={brand.fg} />
95
118
  ) : (
@@ -103,3 +126,38 @@ export function OAuthButtons({
103
126
  </View>
104
127
  );
105
128
  }
129
+
130
+ const MARK = 24;
131
+
132
+ const markStyles = makeStyles((t) => ({
133
+ mark: {
134
+ width: MARK,
135
+ height: MARK,
136
+ borderRadius: t.radius.full,
137
+ alignItems: 'center',
138
+ justifyContent: 'center',
139
+ borderWidth: 1,
140
+ },
141
+ logo: { width: t.space[3], height: t.space[3] },
142
+ }));
143
+
144
+ export function OAuthMark({ provider }: { provider: OAuthProvider }) {
145
+ const s = markStyles();
146
+ const brand = BRAND[provider];
147
+ const logo = {
148
+ kakao: KAKAO_SYMBOL,
149
+ naver: NAVER_N,
150
+ google: GOOGLE_G,
151
+ apple: APPLE_LOGO,
152
+ }[provider];
153
+ return (
154
+ <View
155
+ style={[
156
+ s.mark,
157
+ { backgroundColor: brand.bg, borderColor: brand.border ?? brand.bg },
158
+ ]}
159
+ >
160
+ <Image source={{ uri: logo }} style={s.logo} />
161
+ </View>
162
+ );
163
+ }
@@ -0,0 +1,5 @@
1
+ export {
2
+ ProductTile,
3
+ ProductTileSpacer,
4
+ type ProductTileProps,
5
+ } from './product-tile';
@@ -0,0 +1,54 @@
1
+ import { View, type StyleProp, type ViewStyle } from 'react-native';
2
+ import { Photo } from '../../components/photo/photo';
3
+ import { Text } from '../../components/text/text';
4
+ import { PressableBase } from '../../internal/pressable-base';
5
+ import { makeStyles } from '../../utils/styles';
6
+
7
+ export type ProductTileProps = {
8
+ name: string;
9
+ price: string;
10
+ state?: string;
11
+ image?: string | null;
12
+ onPress?: () => void;
13
+ style?: StyleProp<ViewStyle>;
14
+ };
15
+
16
+ const useStyles = makeStyles((t) => ({
17
+ root: { flex: 1, gap: t.space[1] },
18
+ body: { gap: t.space[1] / 2, paddingTop: t.space[1] },
19
+ }));
20
+
21
+ export function ProductTile({
22
+ name,
23
+ price,
24
+ state,
25
+ image,
26
+ onPress,
27
+ style,
28
+ }: ProductTileProps) {
29
+ const s = useStyles();
30
+ return (
31
+ <PressableBase
32
+ onPress={onPress}
33
+ disabled={!onPress}
34
+ accessibilityLabel={[name, price, state].filter(Boolean).join(' ')}
35
+ style={[s.root, style]}
36
+ >
37
+ <Photo source={{ uri: image ?? '' }} seed={name} />
38
+ <View style={s.body}>
39
+ <Text numberOfLines={1}>{name}</Text>
40
+ <Text weight="bold">{price}</Text>
41
+ {state ? (
42
+ <Text variant="caption" tone="muted">
43
+ {state}
44
+ </Text>
45
+ ) : null}
46
+ </View>
47
+ </PressableBase>
48
+ );
49
+ }
50
+
51
+ export function ProductTileSpacer() {
52
+ const s = useStyles();
53
+ return <View style={s.root} />;
54
+ }
@@ -0,0 +1,5 @@
1
+ export {
2
+ QuickActions,
3
+ type QuickAction,
4
+ type QuickActionsProps,
5
+ } from './quick-actions';
@@ -0,0 +1,61 @@
1
+ import { View, type StyleProp, type ViewStyle } from 'react-native';
2
+ import { Text } from '../../components/text/text';
3
+ import { renderIcon, type IconSlot } from '../../internal/icon';
4
+ import { PressableBase } from '../../internal/pressable-base';
5
+ import { useTheme } from '../../theme/theme-provider';
6
+ import { makeStyles } from '../../utils/styles';
7
+
8
+ export type QuickAction = {
9
+ key: string;
10
+ icon: IconSlot;
11
+ label: string;
12
+ onPress: () => void;
13
+ };
14
+
15
+ export type QuickActionsProps = {
16
+ items: readonly QuickAction[];
17
+ style?: StyleProp<ViewStyle>;
18
+ };
19
+
20
+ const useStyles = makeStyles((t) => ({
21
+ root: {
22
+ flexDirection: 'row',
23
+ gap: t.space[2],
24
+ paddingHorizontal: t.layout.screenX,
25
+ },
26
+ item: {
27
+ flex: 1,
28
+ alignItems: 'center',
29
+ gap: t.space[1],
30
+ paddingVertical: t.space[3],
31
+ borderRadius: t.radius.lg,
32
+ backgroundColor: t.colors.muted,
33
+ },
34
+ pressed: { backgroundColor: t.colors.border },
35
+ }));
36
+
37
+ export function QuickActions({ items, style }: QuickActionsProps) {
38
+ const t = useTheme();
39
+ const s = useStyles();
40
+ return (
41
+ <View style={[s.root, style]}>
42
+ {items.map((item) => (
43
+ <PressableBase
44
+ key={item.key}
45
+ onPress={item.onPress}
46
+ accessibilityLabel={item.label}
47
+ style={s.item}
48
+ pressedStyle={s.pressed}
49
+ >
50
+ {renderIcon(item.icon, {
51
+ color: t.colors.foreground,
52
+ size: t.iconSize.md,
53
+ })}
54
+ <Text variant="caption" numberOfLines={1}>
55
+ {item.label}
56
+ </Text>
57
+ </PressableBase>
58
+ ))}
59
+ </View>
60
+ );
61
+ }
@@ -0,0 +1,5 @@
1
+ export {
2
+ SetupGuide,
3
+ type SetupGuideProps,
4
+ type SetupStep,
5
+ } from './setup-guide';
@@ -0,0 +1,103 @@
1
+ import { View, type StyleProp, type ViewStyle } from 'react-native';
2
+ import { ListRow } from '../../components/list-row/list-row';
3
+ import { Text } from '../../components/text/text';
4
+ import { CheckGlyph } from '../../internal/glyphs';
5
+ import { useTheme } from '../../theme/theme-provider';
6
+ import { makeStyles } from '../../utils/styles';
7
+
8
+ export type SetupStep = {
9
+ key: string;
10
+ label: string;
11
+ done: boolean;
12
+ onPress?: () => void;
13
+ };
14
+
15
+ export type SetupGuideProps = {
16
+ title: string;
17
+ steps: readonly SetupStep[];
18
+ style?: StyleProp<ViewStyle>;
19
+ };
20
+
21
+ const MARK = 24;
22
+ const RING = 1.5;
23
+ const TRACK = 4;
24
+
25
+ const useStyles = makeStyles((t) => ({
26
+ head: {
27
+ flexDirection: 'row',
28
+ justifyContent: 'space-between',
29
+ paddingTop: t.space[2],
30
+ paddingBottom: t.space[2],
31
+ paddingHorizontal: t.layout.screenX,
32
+ },
33
+ track: {
34
+ height: TRACK,
35
+ marginHorizontal: t.layout.screenX,
36
+ marginBottom: t.space[1],
37
+ borderRadius: t.radius.full,
38
+ backgroundColor: t.colors.border,
39
+ overflow: 'hidden',
40
+ },
41
+ fill: { height: TRACK, backgroundColor: t.colors.mutedForeground },
42
+ mark: {
43
+ width: MARK,
44
+ height: MARK,
45
+ alignItems: 'center',
46
+ justifyContent: 'center',
47
+ },
48
+ ring: {
49
+ width: MARK,
50
+ height: MARK,
51
+ borderRadius: t.radius.full,
52
+ borderWidth: RING,
53
+ borderColor: t.colors.input,
54
+ },
55
+ }));
56
+
57
+ export function SetupGuide({ title, steps, style }: SetupGuideProps) {
58
+ const t = useTheme();
59
+ const s = useStyles();
60
+ const done = steps.filter((step) => step.done).length;
61
+ return (
62
+ <View style={style}>
63
+ <View style={s.head}>
64
+ <Text variant="label" weight="medium" tone="muted">
65
+ {title}
66
+ </Text>
67
+ <Text variant="label" weight="medium" tone="muted">
68
+ {`${done} / ${steps.length}`}
69
+ </Text>
70
+ </View>
71
+ <View
72
+ accessibilityRole="progressbar"
73
+ accessibilityValue={{ min: 0, max: steps.length, now: done }}
74
+ style={s.track}
75
+ >
76
+ <View
77
+ style={[
78
+ s.fill,
79
+ { width: `${steps.length ? (done / steps.length) * 100 : 0}%` },
80
+ ]}
81
+ />
82
+ </View>
83
+ {steps.map((step) => (
84
+ <ListRow
85
+ key={step.key}
86
+ title={step.label}
87
+ leading={
88
+ step.done ? (
89
+ <View style={s.mark}>
90
+ <CheckGlyph color={t.colors.foreground} size={t.iconSize.md} />
91
+ </View>
92
+ ) : (
93
+ <View style={s.ring} />
94
+ )
95
+ }
96
+ chevron={!step.done}
97
+ onPress={step.done ? undefined : step.onPress}
98
+ accessibilityState={{ checked: step.done }}
99
+ />
100
+ ))}
101
+ </View>
102
+ );
103
+ }
@@ -0,0 +1,5 @@
1
+ export {
2
+ SiteSummary,
3
+ type SiteSummaryAction,
4
+ type SiteSummaryProps,
5
+ } from './site-summary';
@@ -0,0 +1,95 @@
1
+ import type { ReactNode } from 'react';
2
+ import { View, type StyleProp, type ViewStyle } from 'react-native';
3
+ import { Button } from '../../components/button/button';
4
+ import { Text } from '../../components/text/text';
5
+ import type { IconSlot } from '../../internal/icon';
6
+ import { makeStyles } from '../../utils/styles';
7
+
8
+ export type SiteSummaryAction = {
9
+ label: string;
10
+ icon?: IconSlot;
11
+ onPress: () => void;
12
+ };
13
+
14
+ export type SiteSummaryProps = {
15
+ preview: ReactNode;
16
+ overline?: string;
17
+ title: string;
18
+ caption?: string;
19
+ actions?: readonly SiteSummaryAction[];
20
+ style?: StyleProp<ViewStyle>;
21
+ };
22
+
23
+ const FRAME = 4;
24
+
25
+ const useStyles = makeStyles((t) => ({
26
+ root: {
27
+ flexDirection: 'row',
28
+ alignItems: 'flex-start',
29
+ gap: t.space[4],
30
+ paddingHorizontal: t.layout.screenX,
31
+ paddingVertical: t.space[2],
32
+ },
33
+ frame: {
34
+ width: t.space[16] + t.space[8],
35
+ aspectRatio: 1 / 2,
36
+ borderWidth: FRAME,
37
+ borderColor: t.colors.foreground,
38
+ borderRadius: t.radius.lg,
39
+ overflow: 'hidden',
40
+ backgroundColor: t.colors.background,
41
+ },
42
+ body: { flex: 1, gap: t.space[1], paddingTop: t.space[2] },
43
+ actions: {
44
+ flexDirection: 'row',
45
+ flexWrap: 'wrap',
46
+ gap: t.space[2],
47
+ paddingTop: t.space[2],
48
+ },
49
+ }));
50
+
51
+ export function SiteSummary({
52
+ preview,
53
+ overline,
54
+ title,
55
+ caption,
56
+ actions = [],
57
+ style,
58
+ }: SiteSummaryProps) {
59
+ const s = useStyles();
60
+ return (
61
+ <View style={[s.root, style]}>
62
+ <View style={s.frame}>{preview}</View>
63
+ <View style={s.body}>
64
+ {overline ? (
65
+ <Text variant="caption" tone="muted">
66
+ {overline}
67
+ </Text>
68
+ ) : null}
69
+ <Text variant="title" weight="bold" numberOfLines={2}>
70
+ {title}
71
+ </Text>
72
+ {caption ? (
73
+ <Text variant="caption" tone="muted" numberOfLines={2}>
74
+ {caption}
75
+ </Text>
76
+ ) : null}
77
+ {actions.length ? (
78
+ <View style={s.actions}>
79
+ {actions.map((action) => (
80
+ <Button
81
+ key={action.label}
82
+ variant="outline"
83
+ size="sm"
84
+ leftIcon={action.icon}
85
+ onPress={action.onPress}
86
+ >
87
+ {action.label}
88
+ </Button>
89
+ ))}
90
+ </View>
91
+ ) : null}
92
+ </View>
93
+ </View>
94
+ );
95
+ }
@@ -0,0 +1 @@
1
+ export { StageBar, type StageBarItem, type StageBarProps } from './stage-bar';
@@ -0,0 +1,107 @@
1
+ import { Fragment } from 'react';
2
+ import { View, type StyleProp, type ViewStyle } from 'react-native';
3
+ import { Text } from '../../components/text/text';
4
+ import { ChevronGlyph } from '../../internal/glyphs';
5
+ import { PressableBase } from '../../internal/pressable-base';
6
+ import { useTheme } from '../../theme/theme-provider';
7
+ import { makeStyles } from '../../utils/styles';
8
+
9
+ export type StageBarItem<T extends string> = {
10
+ value: T;
11
+ label: string;
12
+ count?: number;
13
+ flow?: boolean;
14
+ };
15
+
16
+ export type StageBarProps<T extends string> = {
17
+ items: readonly StageBarItem<T>[];
18
+ value: T | null;
19
+ onValueChange: (value: T | null) => void;
20
+ style?: StyleProp<ViewStyle>;
21
+ };
22
+
23
+ const useStyles = makeStyles((t) => ({
24
+ root: {
25
+ flexDirection: 'row',
26
+ alignItems: 'center',
27
+ marginHorizontal: t.layout.screenX,
28
+ padding: t.space[1],
29
+ borderRadius: t.radius.lg,
30
+ backgroundColor: t.colors.muted,
31
+ },
32
+ stage: {
33
+ flex: 1,
34
+ alignItems: 'center',
35
+ gap: t.space[1] / 2,
36
+ paddingVertical: t.space[2],
37
+ borderRadius: t.radius.md,
38
+ },
39
+ on: { backgroundColor: t.colors.background, boxShadow: t.shadow.sm },
40
+ count: {
41
+ fontSize: t.typography.title.fontSize,
42
+ lineHeight: t.typography.title.lineHeight,
43
+ fontVariant: ['tabular-nums'],
44
+ },
45
+ split: {
46
+ width: 1,
47
+ alignSelf: 'stretch',
48
+ marginVertical: t.space[2],
49
+ backgroundColor: t.colors.border,
50
+ },
51
+ }));
52
+
53
+ export function StageBar<T extends string>({
54
+ items,
55
+ value,
56
+ onValueChange,
57
+ style,
58
+ }: StageBarProps<T>) {
59
+ const t = useTheme();
60
+ const s = useStyles();
61
+ return (
62
+ <View style={[s.root, style]} accessibilityRole="tablist">
63
+ {items.map((item, i) => {
64
+ const on = item.value === value;
65
+ const next = items[i + 1];
66
+ const live = (item.count ?? 0) > 0;
67
+ return (
68
+ <Fragment key={item.value}>
69
+ <PressableBase
70
+ accessibilityRole="tab"
71
+ accessibilityState={{ selected: on }}
72
+ accessibilityLabel={`${item.label} ${item.count ?? 0}`}
73
+ onPress={() => onValueChange(on ? null : item.value)}
74
+ style={[s.stage, on && s.on]}
75
+ >
76
+ <Text
77
+ weight="bold"
78
+ tone={live ? 'primary' : 'muted'}
79
+ style={s.count}
80
+ >
81
+ {item.count ?? 0}
82
+ </Text>
83
+ <Text
84
+ variant="caption"
85
+ weight={on ? 'bold' : undefined}
86
+ tone={on ? 'default' : 'muted'}
87
+ numberOfLines={1}
88
+ >
89
+ {item.label}
90
+ </Text>
91
+ </PressableBase>
92
+ {next ? (
93
+ next.flow === false ? (
94
+ <View style={s.split} />
95
+ ) : (
96
+ <ChevronGlyph
97
+ color={t.colors.mutedForeground}
98
+ size={t.iconSize.sm}
99
+ />
100
+ )
101
+ ) : null}
102
+ </Fragment>
103
+ );
104
+ })}
105
+ </View>
106
+ );
107
+ }
@@ -6,6 +6,7 @@ import { Card } from '../internal/card';
6
6
 
7
7
  export type StatCardProps = {
8
8
  label: string;
9
+ meta?: string;
9
10
  value: string;
10
11
  change?: number | null;
11
12
  chart?: ReactNode;
@@ -16,6 +17,7 @@ export type StatCardProps = {
16
17
  const useStyles = makeStyles((t) => ({
17
18
  row: { flexDirection: 'row', alignItems: 'flex-end', gap: t.space[3] },
18
19
  body: { flex: 1, gap: t.space[1] },
20
+ head: { flexDirection: 'row', justifyContent: 'space-between' },
19
21
  value: {
20
22
  flexDirection: 'row',
21
23
  flexWrap: 'wrap',
@@ -27,6 +29,7 @@ const useStyles = makeStyles((t) => ({
27
29
 
28
30
  export function StatCard({
29
31
  label,
32
+ meta,
30
33
  value,
31
34
  change,
32
35
  chart,
@@ -47,9 +50,15 @@ export function StatCard({
47
50
  }`}
48
51
  style={style}
49
52
  >
53
+ {meta ? (
54
+ <View style={s.head}>
55
+ <Text tone="muted">{label}</Text>
56
+ <Text tone="muted">{meta}</Text>
57
+ </View>
58
+ ) : null}
50
59
  <View style={s.row}>
51
60
  <View style={s.body}>
52
- <Text tone="muted">{label}</Text>
61
+ {meta ? null : <Text tone="muted">{label}</Text>}
53
62
  <View style={s.value}>
54
63
  <Text variant="title" weight="bold">
55
64
  {value}