@ezpg/app-ui 0.21.0 → 0.23.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 (486) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/lib/module/adjust/adjust-template.js +1 -0
  3. package/lib/module/adjust/adjust-template.js.map +1 -1
  4. package/lib/module/adjust/axis-adjust.js +181 -0
  5. package/lib/module/adjust/axis-adjust.js.map +1 -0
  6. package/lib/module/adjust/axis-dial.js +2 -2
  7. package/lib/module/adjust/axis-dial.js.map +1 -1
  8. package/lib/module/adjust/axis-tabs.js +81 -0
  9. package/lib/module/adjust/axis-tabs.js.map +1 -0
  10. package/lib/module/adjust/axis-wheel.js +286 -0
  11. package/lib/module/adjust/axis-wheel.js.map +1 -0
  12. package/lib/module/adjust/dial-strip.js +6 -4
  13. package/lib/module/adjust/dial-strip.js.map +1 -1
  14. package/lib/module/adjust/index.js +4 -0
  15. package/lib/module/adjust/index.js.map +1 -1
  16. package/lib/module/adjust/store-sample.js +436 -0
  17. package/lib/module/adjust/store-sample.js.map +1 -0
  18. package/lib/module/blocks/chat-message/chat-message.js +1 -0
  19. package/lib/module/blocks/chat-message/chat-message.js.map +1 -1
  20. package/lib/module/blocks/choice-art/choice-art.js +2 -0
  21. package/lib/module/blocks/choice-art/choice-art.js.map +1 -1
  22. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +1 -1
  23. package/lib/module/blocks/color-tune/store-sample.js +13 -6
  24. package/lib/module/blocks/color-tune/store-sample.js.map +1 -1
  25. package/lib/module/blocks/color-tune/swatch-card.js +1 -1
  26. package/lib/module/blocks/color-tune/swatch-card.js.map +1 -1
  27. package/lib/module/blocks/detail-editor/compare-slider.js +6 -2
  28. package/lib/module/blocks/detail-editor/compare-slider.js.map +1 -1
  29. package/lib/module/blocks/detail-editor/detail-canvas.js +195 -61
  30. package/lib/module/blocks/detail-editor/detail-canvas.js.map +1 -1
  31. package/lib/module/blocks/detail-editor/detail-types.js +57 -0
  32. package/lib/module/blocks/detail-editor/detail-types.js.map +1 -1
  33. package/lib/module/blocks/detail-editor/draft-preview.js +22 -0
  34. package/lib/module/blocks/detail-editor/draft-preview.js.map +1 -1
  35. package/lib/module/blocks/detail-editor/focus-context.js +1 -0
  36. package/lib/module/blocks/detail-editor/focus-context.js.map +1 -1
  37. package/lib/module/blocks/detail-editor/index.js +2 -2
  38. package/lib/module/blocks/detail-editor/index.js.map +1 -1
  39. package/lib/module/blocks/detail-editor/keep-words.js +34 -0
  40. package/lib/module/blocks/detail-editor/keep-words.js.map +1 -0
  41. package/lib/module/blocks/detail-editor/layout-picker.js +195 -8
  42. package/lib/module/blocks/detail-editor/layout-picker.js.map +1 -1
  43. package/lib/module/blocks/detail-request/detail-request.js +213 -0
  44. package/lib/module/blocks/detail-request/detail-request.js.map +1 -0
  45. package/lib/module/blocks/detail-request/index.js +4 -0
  46. package/lib/module/blocks/detail-request/index.js.map +1 -0
  47. package/lib/module/blocks/detail-studio/action-chips.js +73 -0
  48. package/lib/module/blocks/detail-studio/action-chips.js.map +1 -0
  49. package/lib/module/blocks/detail-studio/adjust-tiles.js +4 -3
  50. package/lib/module/blocks/detail-studio/adjust-tiles.js.map +1 -1
  51. package/lib/module/blocks/detail-studio/asset-grid.js +33 -16
  52. package/lib/module/blocks/detail-studio/asset-grid.js.map +1 -1
  53. package/lib/module/blocks/detail-studio/confirm-row.js +3 -0
  54. package/lib/module/blocks/detail-studio/confirm-row.js.map +1 -1
  55. package/lib/module/blocks/detail-studio/detail-studio-template.js +2 -6
  56. package/lib/module/blocks/detail-studio/detail-studio-template.js.map +1 -1
  57. package/lib/module/blocks/detail-studio/edge-fade.js +74 -0
  58. package/lib/module/blocks/detail-studio/edge-fade.js.map +1 -0
  59. package/lib/module/blocks/detail-studio/image-prompt.js +9 -10
  60. package/lib/module/blocks/detail-studio/image-prompt.js.map +1 -1
  61. package/lib/module/blocks/detail-studio/index.js +7 -5
  62. package/lib/module/blocks/detail-studio/index.js.map +1 -1
  63. package/lib/module/blocks/detail-studio/rewrite-tray.js +17 -64
  64. package/lib/module/blocks/detail-studio/rewrite-tray.js.map +1 -1
  65. package/lib/module/blocks/detail-studio/section-cover.js +41 -0
  66. package/lib/module/blocks/detail-studio/section-cover.js.map +1 -0
  67. package/lib/module/blocks/detail-studio/section-edit-template.js +103 -12
  68. package/lib/module/blocks/detail-studio/section-edit-template.js.map +1 -1
  69. package/lib/module/blocks/detail-studio/section-kind-grid.js +4 -3
  70. package/lib/module/blocks/detail-studio/section-kind-grid.js.map +1 -1
  71. package/lib/module/blocks/detail-studio/section-settings.js +127 -61
  72. package/lib/module/blocks/detail-studio/section-settings.js.map +1 -1
  73. package/lib/module/blocks/detail-studio/studio-bar.js +46 -25
  74. package/lib/module/blocks/detail-studio/studio-bar.js.map +1 -1
  75. package/lib/module/blocks/detail-studio/studio-dock.js +21 -39
  76. package/lib/module/blocks/detail-studio/studio-dock.js.map +1 -1
  77. package/lib/module/blocks/detail-studio/studio-glyphs.js +92 -0
  78. package/lib/module/blocks/detail-studio/studio-glyphs.js.map +1 -0
  79. package/lib/module/blocks/detail-studio/studio-sheet.js +5 -3
  80. package/lib/module/blocks/detail-studio/studio-sheet.js.map +1 -1
  81. package/lib/module/blocks/detail-studio/studio-steps.js +60 -0
  82. package/lib/module/blocks/detail-studio/studio-steps.js.map +1 -0
  83. package/lib/module/blocks/detail-studio/studio-toggle.js +130 -0
  84. package/lib/module/blocks/detail-studio/studio-toggle.js.map +1 -0
  85. package/lib/module/blocks/detail-studio/{photo-tool-bar.js → studio-tools.js} +63 -42
  86. package/lib/module/blocks/detail-studio/studio-tools.js.map +1 -0
  87. package/lib/module/blocks/detail-studio/text-format-panel.js +20 -8
  88. package/lib/module/blocks/detail-studio/text-format-panel.js.map +1 -1
  89. package/lib/module/blocks/draft-box/draft-box.js +3 -0
  90. package/lib/module/blocks/draft-box/draft-box.js.map +1 -1
  91. package/lib/module/blocks/index.js +1 -0
  92. package/lib/module/blocks/index.js.map +1 -1
  93. package/lib/module/blocks/oauth-buttons/oauth-buttons.js +1 -0
  94. package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -1
  95. package/lib/module/blocks/order-block/order-block.js +19 -5
  96. package/lib/module/blocks/order-block/order-block.js.map +1 -1
  97. package/lib/module/blocks/product-tile/product-tile.js +4 -1
  98. package/lib/module/blocks/product-tile/product-tile.js.map +1 -1
  99. package/lib/module/blocks/question-accordion/question-accordion.js +1 -2
  100. package/lib/module/blocks/question-accordion/question-accordion.js.map +1 -1
  101. package/lib/module/blocks/question-pager/question-pager.js +2 -1
  102. package/lib/module/blocks/question-pager/question-pager.js.map +1 -1
  103. package/lib/module/blocks/review-card/review-card.js +4 -0
  104. package/lib/module/blocks/review-card/review-card.js.map +1 -1
  105. package/lib/module/blocks/send-bar/send-bar.js +1 -0
  106. package/lib/module/blocks/send-bar/send-bar.js.map +1 -1
  107. package/lib/module/blocks/stage-bar/stage-bar.js +3 -2
  108. package/lib/module/blocks/stage-bar/stage-bar.js.map +1 -1
  109. package/lib/module/blocks/stat-card/stat-card.js +4 -1
  110. package/lib/module/blocks/stat-card/stat-card.js.map +1 -1
  111. package/lib/module/blocks/step-screen/step-screen.js +5 -2
  112. package/lib/module/blocks/step-screen/step-screen.js.map +1 -1
  113. package/lib/module/blocks/store-top/store-top.js +8 -3
  114. package/lib/module/blocks/store-top/store-top.js.map +1 -1
  115. package/lib/module/blocks/summary-cards/summary-cards.js +10 -3
  116. package/lib/module/blocks/summary-cards/summary-cards.js.map +1 -1
  117. package/lib/module/blocks/task-tiles/task-tiles.js +3 -2
  118. package/lib/module/blocks/task-tiles/task-tiles.js.map +1 -1
  119. package/lib/module/components/amount-summary/amount-summary.js +7 -1
  120. package/lib/module/components/amount-summary/amount-summary.js.map +1 -1
  121. package/lib/module/components/button/button.js +19 -5
  122. package/lib/module/components/button/button.js.map +1 -1
  123. package/lib/module/components/calendar/calendar.js +7 -4
  124. package/lib/module/components/calendar/calendar.js.map +1 -1
  125. package/lib/module/components/chip/chip.js +7 -3
  126. package/lib/module/components/chip/chip.js.map +1 -1
  127. package/lib/module/components/chip-group/chip-group.js +1 -0
  128. package/lib/module/components/chip-group/chip-group.js.map +1 -1
  129. package/lib/module/components/circle-grid/circle-grid.js +1 -0
  130. package/lib/module/components/circle-grid/circle-grid.js.map +1 -1
  131. package/lib/module/components/credit/credit.js +8 -4
  132. package/lib/module/components/credit/credit.js.map +1 -1
  133. package/lib/module/components/dialog/dialog.js +2 -0
  134. package/lib/module/components/dialog/dialog.js.map +1 -1
  135. package/lib/module/components/dropdown-menu/dropdown-menu.js +9 -4
  136. package/lib/module/components/dropdown-menu/dropdown-menu.js.map +1 -1
  137. package/lib/module/components/empty-state/empty-state.js +1 -0
  138. package/lib/module/components/empty-state/empty-state.js.map +1 -1
  139. package/lib/module/components/fact-list/fact-list.js +1 -0
  140. package/lib/module/components/fact-list/fact-list.js.map +1 -1
  141. package/lib/module/components/field/field.js +4 -0
  142. package/lib/module/components/field/field.js.map +1 -1
  143. package/lib/module/components/filter-tabs/filter-tabs.js +2 -1
  144. package/lib/module/components/filter-tabs/filter-tabs.js.map +1 -1
  145. package/lib/module/components/list-row/list-row.js +23 -6
  146. package/lib/module/components/list-row/list-row.js.map +1 -1
  147. package/lib/module/components/page-header/page-header.js +1 -0
  148. package/lib/module/components/page-header/page-header.js.map +1 -1
  149. package/lib/module/components/pill/pill.js +1 -0
  150. package/lib/module/components/pill/pill.js.map +1 -1
  151. package/lib/module/components/segmented-control/segmented-control.js +5 -1
  152. package/lib/module/components/segmented-control/segmented-control.js.map +1 -1
  153. package/lib/module/components/segmented-tabs/segmented-tabs.js +3 -2
  154. package/lib/module/components/segmented-tabs/segmented-tabs.js.map +1 -1
  155. package/lib/module/components/skeleton/skeleton.js +4 -2
  156. package/lib/module/components/skeleton/skeleton.js.map +1 -1
  157. package/lib/module/components/slider/slider.js +53 -16
  158. package/lib/module/components/slider/slider.js.map +1 -1
  159. package/lib/module/components/status-steps/status-steps.js +2 -0
  160. package/lib/module/components/status-steps/status-steps.js.map +1 -1
  161. package/lib/module/components/text/figures.js +82 -0
  162. package/lib/module/components/text/figures.js.map +1 -0
  163. package/lib/module/components/text/index.js +1 -0
  164. package/lib/module/components/text/index.js.map +1 -1
  165. package/lib/module/components/text/metrics.js +5 -0
  166. package/lib/module/components/text/metrics.js.map +1 -0
  167. package/lib/module/components/text/text.js +31 -2
  168. package/lib/module/components/text/text.js.map +1 -1
  169. package/lib/module/components/tile-grid/tile-grid.js +3 -2
  170. package/lib/module/components/tile-grid/tile-grid.js.map +1 -1
  171. package/lib/module/components/toast/toast.js +4 -1
  172. package/lib/module/components/toast/toast.js.map +1 -1
  173. package/lib/module/components/value-rows/value-rows.js +8 -1
  174. package/lib/module/components/value-rows/value-rows.js.map +1 -1
  175. package/lib/module/index.js +1 -1
  176. package/lib/module/index.js.map +1 -1
  177. package/lib/module/internal/field-label.js +2 -0
  178. package/lib/module/internal/field-label.js.map +1 -1
  179. package/lib/module/internal/glyphs.js +2 -1
  180. package/lib/module/internal/glyphs.js.map +1 -1
  181. package/lib/module/internal/line-icons.js +1 -0
  182. package/lib/module/internal/line-icons.js.map +1 -1
  183. package/lib/module/internal/retry-glyph.js +5 -2
  184. package/lib/module/internal/retry-glyph.js.map +1 -1
  185. package/lib/module/internal/roll-text.js +10 -2
  186. package/lib/module/internal/roll-text.js.map +1 -1
  187. package/lib/module/internal/sample-tiles.js +2 -0
  188. package/lib/module/internal/sample-tiles.js.map +1 -1
  189. package/lib/module/internal/undo-glyph.js +11 -8
  190. package/lib/module/internal/undo-glyph.js.map +1 -1
  191. package/lib/module/sortable/section-board.js +75 -89
  192. package/lib/module/sortable/section-board.js.map +1 -1
  193. package/lib/module/templates/design-pick-template.js +9 -1
  194. package/lib/module/templates/design-pick-template.js.map +1 -1
  195. package/lib/module/templates/intro-template.js +3 -3
  196. package/lib/module/templates/intro-template.js.map +1 -1
  197. package/lib/module/templates/preview-edit-template.js +3 -0
  198. package/lib/module/templates/preview-edit-template.js.map +1 -1
  199. package/lib/module/templates/result-template.js +2 -1
  200. package/lib/module/templates/result-template.js.map +1 -1
  201. package/lib/module/templates/scroll-templates.js +12 -2
  202. package/lib/module/templates/scroll-templates.js.map +1 -1
  203. package/lib/module/templates/sheet-form-template.js +4 -0
  204. package/lib/module/templates/sheet-form-template.js.map +1 -1
  205. package/lib/module/theme/base.js +16 -9
  206. package/lib/module/theme/base.js.map +1 -1
  207. package/lib/module/theme/create-theme.js +6 -2
  208. package/lib/module/theme/create-theme.js.map +1 -1
  209. package/lib/module/theme/tokens.js +23 -2
  210. package/lib/module/theme/tokens.js.map +1 -1
  211. package/lib/typescript/src/adjust/adjust-template.d.ts.map +1 -1
  212. package/lib/typescript/src/adjust/axis-adjust.d.ts +25 -0
  213. package/lib/typescript/src/adjust/axis-adjust.d.ts.map +1 -0
  214. package/lib/typescript/src/adjust/axis-tabs.d.ts +15 -0
  215. package/lib/typescript/src/adjust/axis-tabs.d.ts.map +1 -0
  216. package/lib/typescript/src/adjust/axis-wheel.d.ts +15 -0
  217. package/lib/typescript/src/adjust/axis-wheel.d.ts.map +1 -0
  218. package/lib/typescript/src/adjust/dial-strip.d.ts.map +1 -1
  219. package/lib/typescript/src/adjust/index.d.ts +4 -0
  220. package/lib/typescript/src/adjust/index.d.ts.map +1 -1
  221. package/lib/typescript/src/adjust/store-sample.d.ts +46 -0
  222. package/lib/typescript/src/adjust/store-sample.d.ts.map +1 -0
  223. package/lib/typescript/src/blocks/chat-message/chat-message.d.ts.map +1 -1
  224. package/lib/typescript/src/blocks/choice-art/choice-art.d.ts.map +1 -1
  225. package/lib/typescript/src/blocks/color-tune/store-sample.d.ts.map +1 -1
  226. package/lib/typescript/src/blocks/detail-editor/compare-slider.d.ts +2 -1
  227. package/lib/typescript/src/blocks/detail-editor/compare-slider.d.ts.map +1 -1
  228. package/lib/typescript/src/blocks/detail-editor/detail-canvas.d.ts +3 -1
  229. package/lib/typescript/src/blocks/detail-editor/detail-canvas.d.ts.map +1 -1
  230. package/lib/typescript/src/blocks/detail-editor/detail-types.d.ts +11 -0
  231. package/lib/typescript/src/blocks/detail-editor/detail-types.d.ts.map +1 -1
  232. package/lib/typescript/src/blocks/detail-editor/draft-preview.d.ts +4 -1
  233. package/lib/typescript/src/blocks/detail-editor/draft-preview.d.ts.map +1 -1
  234. package/lib/typescript/src/blocks/detail-editor/focus-context.d.ts +9 -0
  235. package/lib/typescript/src/blocks/detail-editor/focus-context.d.ts.map +1 -1
  236. package/lib/typescript/src/blocks/detail-editor/index.d.ts +3 -2
  237. package/lib/typescript/src/blocks/detail-editor/index.d.ts.map +1 -1
  238. package/lib/typescript/src/blocks/detail-editor/keep-words.d.ts +2 -0
  239. package/lib/typescript/src/blocks/detail-editor/keep-words.d.ts.map +1 -0
  240. package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts +6 -1
  241. package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts.map +1 -1
  242. package/lib/typescript/src/blocks/detail-request/detail-request.d.ts +24 -0
  243. package/lib/typescript/src/blocks/detail-request/detail-request.d.ts.map +1 -0
  244. package/lib/typescript/src/blocks/detail-request/index.d.ts +2 -0
  245. package/lib/typescript/src/blocks/detail-request/index.d.ts.map +1 -0
  246. package/lib/typescript/src/blocks/detail-studio/action-chips.d.ts +12 -0
  247. package/lib/typescript/src/blocks/detail-studio/action-chips.d.ts.map +1 -0
  248. package/lib/typescript/src/blocks/detail-studio/adjust-tiles.d.ts.map +1 -1
  249. package/lib/typescript/src/blocks/detail-studio/asset-grid.d.ts.map +1 -1
  250. package/lib/typescript/src/blocks/detail-studio/confirm-row.d.ts.map +1 -1
  251. package/lib/typescript/src/blocks/detail-studio/detail-studio-template.d.ts.map +1 -1
  252. package/lib/typescript/src/blocks/detail-studio/edge-fade.d.ts +10 -0
  253. package/lib/typescript/src/blocks/detail-studio/edge-fade.d.ts.map +1 -0
  254. package/lib/typescript/src/blocks/detail-studio/image-prompt.d.ts.map +1 -1
  255. package/lib/typescript/src/blocks/detail-studio/index.d.ts +7 -5
  256. package/lib/typescript/src/blocks/detail-studio/index.d.ts.map +1 -1
  257. package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts +3 -3
  258. package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts.map +1 -1
  259. package/lib/typescript/src/blocks/detail-studio/section-cover.d.ts +7 -0
  260. package/lib/typescript/src/blocks/detail-studio/section-cover.d.ts.map +1 -0
  261. package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts +9 -0
  262. package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts.map +1 -1
  263. package/lib/typescript/src/blocks/detail-studio/section-kind-grid.d.ts.map +1 -1
  264. package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts +11 -13
  265. package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts.map +1 -1
  266. package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts +6 -2
  267. package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts.map +1 -1
  268. package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts +0 -2
  269. package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts.map +1 -1
  270. package/lib/typescript/src/blocks/detail-studio/studio-glyphs.d.ts +6 -0
  271. package/lib/typescript/src/blocks/detail-studio/studio-glyphs.d.ts.map +1 -0
  272. package/lib/typescript/src/blocks/detail-studio/studio-sheet.d.ts.map +1 -1
  273. package/lib/typescript/src/blocks/detail-studio/studio-steps.d.ts +11 -0
  274. package/lib/typescript/src/blocks/detail-studio/studio-steps.d.ts.map +1 -0
  275. package/lib/typescript/src/blocks/detail-studio/studio-toggle.d.ts +14 -0
  276. package/lib/typescript/src/blocks/detail-studio/studio-toggle.d.ts.map +1 -0
  277. package/lib/typescript/src/blocks/detail-studio/studio-tools.d.ts +19 -0
  278. package/lib/typescript/src/blocks/detail-studio/studio-tools.d.ts.map +1 -0
  279. package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts +2 -1
  280. package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts.map +1 -1
  281. package/lib/typescript/src/blocks/draft-box/draft-box.d.ts.map +1 -1
  282. package/lib/typescript/src/blocks/index.d.ts +1 -0
  283. package/lib/typescript/src/blocks/index.d.ts.map +1 -1
  284. package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -1
  285. package/lib/typescript/src/blocks/order-block/order-block.d.ts.map +1 -1
  286. package/lib/typescript/src/blocks/product-tile/product-tile.d.ts.map +1 -1
  287. package/lib/typescript/src/blocks/question-accordion/question-accordion.d.ts.map +1 -1
  288. package/lib/typescript/src/blocks/question-pager/question-pager.d.ts.map +1 -1
  289. package/lib/typescript/src/blocks/review-card/review-card.d.ts.map +1 -1
  290. package/lib/typescript/src/blocks/send-bar/send-bar.d.ts.map +1 -1
  291. package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts.map +1 -1
  292. package/lib/typescript/src/blocks/stat-card/stat-card.d.ts.map +1 -1
  293. package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -1
  294. package/lib/typescript/src/blocks/store-top/store-top.d.ts.map +1 -1
  295. package/lib/typescript/src/blocks/summary-cards/summary-cards.d.ts.map +1 -1
  296. package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts.map +1 -1
  297. package/lib/typescript/src/components/amount-summary/amount-summary.d.ts.map +1 -1
  298. package/lib/typescript/src/components/button/button.d.ts +3 -1
  299. package/lib/typescript/src/components/button/button.d.ts.map +1 -1
  300. package/lib/typescript/src/components/calendar/calendar.d.ts.map +1 -1
  301. package/lib/typescript/src/components/chip/chip.d.ts +2 -1
  302. package/lib/typescript/src/components/chip/chip.d.ts.map +1 -1
  303. package/lib/typescript/src/components/chip-group/chip-group.d.ts +1 -0
  304. package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -1
  305. package/lib/typescript/src/components/circle-grid/circle-grid.d.ts.map +1 -1
  306. package/lib/typescript/src/components/credit/credit.d.ts +1 -0
  307. package/lib/typescript/src/components/credit/credit.d.ts.map +1 -1
  308. package/lib/typescript/src/components/dialog/dialog.d.ts.map +1 -1
  309. package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts +2 -0
  310. package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  311. package/lib/typescript/src/components/empty-state/empty-state.d.ts.map +1 -1
  312. package/lib/typescript/src/components/fact-list/fact-list.d.ts.map +1 -1
  313. package/lib/typescript/src/components/field/field.d.ts.map +1 -1
  314. package/lib/typescript/src/components/filter-tabs/filter-tabs.d.ts.map +1 -1
  315. package/lib/typescript/src/components/list-row/list-row.d.ts +3 -1
  316. package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -1
  317. package/lib/typescript/src/components/page-header/page-header.d.ts.map +1 -1
  318. package/lib/typescript/src/components/pill/pill.d.ts.map +1 -1
  319. package/lib/typescript/src/components/segmented-control/segmented-control.d.ts +2 -0
  320. package/lib/typescript/src/components/segmented-control/segmented-control.d.ts.map +1 -1
  321. package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts.map +1 -1
  322. package/lib/typescript/src/components/skeleton/skeleton.d.ts +2 -1
  323. package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -1
  324. package/lib/typescript/src/components/slider/slider.d.ts +2 -1
  325. package/lib/typescript/src/components/slider/slider.d.ts.map +1 -1
  326. package/lib/typescript/src/components/status-steps/status-steps.d.ts.map +1 -1
  327. package/lib/typescript/src/components/text/figures.d.ts +12 -0
  328. package/lib/typescript/src/components/text/figures.d.ts.map +1 -0
  329. package/lib/typescript/src/components/text/index.d.ts +1 -0
  330. package/lib/typescript/src/components/text/index.d.ts.map +1 -1
  331. package/lib/typescript/src/components/text/metrics.d.ts +6 -0
  332. package/lib/typescript/src/components/text/metrics.d.ts.map +1 -0
  333. package/lib/typescript/src/components/text/text.d.ts +2 -2
  334. package/lib/typescript/src/components/text/text.d.ts.map +1 -1
  335. package/lib/typescript/src/components/tile-grid/tile-grid.d.ts.map +1 -1
  336. package/lib/typescript/src/components/toast/toast.d.ts.map +1 -1
  337. package/lib/typescript/src/components/value-rows/value-rows.d.ts.map +1 -1
  338. package/lib/typescript/src/index.d.ts +1 -1
  339. package/lib/typescript/src/index.d.ts.map +1 -1
  340. package/lib/typescript/src/internal/field-label.d.ts.map +1 -1
  341. package/lib/typescript/src/internal/glyphs.d.ts +1 -0
  342. package/lib/typescript/src/internal/glyphs.d.ts.map +1 -1
  343. package/lib/typescript/src/internal/line-icons.d.ts +1 -0
  344. package/lib/typescript/src/internal/line-icons.d.ts.map +1 -1
  345. package/lib/typescript/src/internal/retry-glyph.d.ts.map +1 -1
  346. package/lib/typescript/src/internal/roll-text.d.ts +3 -2
  347. package/lib/typescript/src/internal/roll-text.d.ts.map +1 -1
  348. package/lib/typescript/src/internal/sample-tiles.d.ts +2 -0
  349. package/lib/typescript/src/internal/sample-tiles.d.ts.map +1 -1
  350. package/lib/typescript/src/internal/undo-glyph.d.ts.map +1 -1
  351. package/lib/typescript/src/sortable/section-board.d.ts.map +1 -1
  352. package/lib/typescript/src/templates/design-pick-template.d.ts.map +1 -1
  353. package/lib/typescript/src/templates/intro-template.d.ts.map +1 -1
  354. package/lib/typescript/src/templates/preview-edit-template.d.ts.map +1 -1
  355. package/lib/typescript/src/templates/result-template.d.ts +2 -1
  356. package/lib/typescript/src/templates/result-template.d.ts.map +1 -1
  357. package/lib/typescript/src/templates/scroll-templates.d.ts.map +1 -1
  358. package/lib/typescript/src/templates/sheet-form-template.d.ts.map +1 -1
  359. package/lib/typescript/src/theme/base.d.ts +9 -2
  360. package/lib/typescript/src/theme/base.d.ts.map +1 -1
  361. package/lib/typescript/src/theme/create-theme.d.ts.map +1 -1
  362. package/lib/typescript/src/theme/tokens.d.ts +3 -1
  363. package/lib/typescript/src/theme/tokens.d.ts.map +1 -1
  364. package/lib/typescript/src/types/index.d.ts +12 -0
  365. package/lib/typescript/src/types/index.d.ts.map +1 -1
  366. package/package.json +1 -1
  367. package/src/adjust/adjust-template.tsx +1 -0
  368. package/src/adjust/axis-adjust.tsx +206 -0
  369. package/src/adjust/axis-dial.tsx +2 -2
  370. package/src/adjust/axis-tabs.tsx +81 -0
  371. package/src/adjust/axis-wheel.tsx +309 -0
  372. package/src/adjust/dial-strip.tsx +5 -3
  373. package/src/adjust/index.ts +15 -0
  374. package/src/adjust/store-sample.tsx +519 -0
  375. package/src/blocks/chat-message/chat-message.tsx +1 -0
  376. package/src/blocks/choice-art/choice-art.tsx +2 -0
  377. package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +1 -1
  378. package/src/blocks/color-tune/store-sample.tsx +11 -6
  379. package/src/blocks/color-tune/swatch-card.tsx +1 -1
  380. package/src/blocks/detail-editor/compare-slider.tsx +4 -1
  381. package/src/blocks/detail-editor/detail-canvas.tsx +267 -69
  382. package/src/blocks/detail-editor/detail-types.ts +37 -0
  383. package/src/blocks/detail-editor/draft-preview.tsx +46 -2
  384. package/src/blocks/detail-editor/focus-context.ts +13 -0
  385. package/src/blocks/detail-editor/index.ts +11 -1
  386. package/src/blocks/detail-editor/keep-words.ts +36 -0
  387. package/src/blocks/detail-editor/layout-picker.tsx +191 -6
  388. package/src/blocks/detail-request/detail-request.tsx +198 -0
  389. package/src/blocks/detail-request/index.ts +11 -0
  390. package/src/blocks/detail-studio/action-chips.tsx +78 -0
  391. package/src/blocks/detail-studio/adjust-tiles.tsx +4 -3
  392. package/src/blocks/detail-studio/asset-grid.tsx +30 -16
  393. package/src/blocks/detail-studio/confirm-row.tsx +3 -0
  394. package/src/blocks/detail-studio/detail-studio-template.tsx +2 -6
  395. package/src/blocks/detail-studio/edge-fade.tsx +76 -0
  396. package/src/blocks/detail-studio/image-prompt.tsx +7 -9
  397. package/src/blocks/detail-studio/index.ts +19 -16
  398. package/src/blocks/detail-studio/rewrite-tray.tsx +16 -56
  399. package/src/blocks/detail-studio/section-cover.tsx +44 -0
  400. package/src/blocks/detail-studio/section-edit-template.tsx +138 -13
  401. package/src/blocks/detail-studio/section-kind-grid.tsx +4 -2
  402. package/src/blocks/detail-studio/section-settings.tsx +124 -69
  403. package/src/blocks/detail-studio/studio-bar.tsx +61 -41
  404. package/src/blocks/detail-studio/studio-dock.tsx +19 -37
  405. package/src/blocks/detail-studio/studio-glyphs.tsx +77 -0
  406. package/src/blocks/detail-studio/studio-sheet.tsx +7 -3
  407. package/src/blocks/detail-studio/studio-steps.tsx +58 -0
  408. package/src/blocks/detail-studio/studio-toggle.tsx +130 -0
  409. package/src/blocks/detail-studio/studio-tools.tsx +126 -0
  410. package/src/blocks/detail-studio/text-format-panel.tsx +30 -14
  411. package/src/blocks/draft-box/draft-box.tsx +3 -0
  412. package/src/blocks/index.tsx +1 -0
  413. package/src/blocks/oauth-buttons/oauth-buttons.tsx +1 -0
  414. package/src/blocks/order-block/order-block.tsx +20 -4
  415. package/src/blocks/product-tile/product-tile.tsx +4 -1
  416. package/src/blocks/question-accordion/question-accordion.tsx +0 -1
  417. package/src/blocks/question-pager/question-pager.tsx +2 -1
  418. package/src/blocks/review-card/review-card.tsx +4 -0
  419. package/src/blocks/send-bar/send-bar.tsx +1 -0
  420. package/src/blocks/stage-bar/stage-bar.tsx +3 -2
  421. package/src/blocks/stat-card/stat-card.tsx +2 -1
  422. package/src/blocks/step-screen/step-screen.tsx +5 -2
  423. package/src/blocks/store-top/store-top.tsx +7 -2
  424. package/src/blocks/summary-cards/summary-cards.tsx +4 -3
  425. package/src/blocks/task-tiles/task-tiles.tsx +2 -1
  426. package/src/components/amount-summary/amount-summary.tsx +9 -3
  427. package/src/components/button/button.tsx +18 -5
  428. package/src/components/calendar/calendar.tsx +5 -2
  429. package/src/components/chip/chip.tsx +11 -2
  430. package/src/components/chip-group/chip-group.tsx +2 -0
  431. package/src/components/circle-grid/circle-grid.tsx +5 -1
  432. package/src/components/credit/credit.tsx +11 -4
  433. package/src/components/dialog/dialog.tsx +2 -0
  434. package/src/components/dropdown-menu/dropdown-menu.tsx +18 -7
  435. package/src/components/empty-state/empty-state.tsx +1 -0
  436. package/src/components/fact-list/fact-list.tsx +1 -0
  437. package/src/components/field/field.tsx +4 -0
  438. package/src/components/filter-tabs/filter-tabs.tsx +2 -1
  439. package/src/components/list-row/list-row.tsx +40 -5
  440. package/src/components/page-header/page-header.tsx +1 -0
  441. package/src/components/pill/pill.tsx +1 -0
  442. package/src/components/segmented-control/segmented-control.tsx +12 -2
  443. package/src/components/segmented-tabs/segmented-tabs.tsx +2 -1
  444. package/src/components/skeleton/skeleton.tsx +5 -2
  445. package/src/components/slider/slider.tsx +66 -14
  446. package/src/components/status-steps/status-steps.tsx +2 -0
  447. package/src/components/text/figures.tsx +92 -0
  448. package/src/components/text/index.ts +7 -0
  449. package/src/components/text/metrics.ts +5 -0
  450. package/src/components/text/text.tsx +60 -16
  451. package/src/components/tile-grid/tile-grid.tsx +3 -2
  452. package/src/components/toast/toast.tsx +7 -1
  453. package/src/components/value-rows/value-rows.tsx +9 -1
  454. package/src/index.tsx +1 -0
  455. package/src/internal/field-label.tsx +2 -0
  456. package/src/internal/glyphs.tsx +2 -0
  457. package/src/internal/line-icons.ts +2 -0
  458. package/src/internal/retry-glyph.tsx +7 -2
  459. package/src/internal/roll-text.tsx +12 -2
  460. package/src/internal/sample-tiles.tsx +2 -0
  461. package/src/internal/undo-glyph.tsx +12 -11
  462. package/src/sortable/section-board.tsx +73 -76
  463. package/src/templates/design-pick-template.tsx +10 -1
  464. package/src/templates/intro-template.tsx +14 -12
  465. package/src/templates/preview-edit-template.tsx +3 -0
  466. package/src/templates/result-template.tsx +3 -0
  467. package/src/templates/scroll-templates.tsx +11 -2
  468. package/src/templates/sheet-form-template.tsx +4 -0
  469. package/src/theme/base.ts +9 -2
  470. package/src/theme/create-theme.ts +9 -2
  471. package/src/theme/tokens.ts +37 -3
  472. package/src/types/index.ts +13 -0
  473. package/lib/module/blocks/detail-studio/keyboard-bar.js +0 -67
  474. package/lib/module/blocks/detail-studio/keyboard-bar.js.map +0 -1
  475. package/lib/module/blocks/detail-studio/photo-tool-bar.js.map +0 -1
  476. package/lib/module/blocks/detail-studio/section-thumb.js +0 -49
  477. package/lib/module/blocks/detail-studio/section-thumb.js.map +0 -1
  478. package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts +0 -18
  479. package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts.map +0 -1
  480. package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts +0 -19
  481. package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts.map +0 -1
  482. package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts +0 -14
  483. package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts.map +0 -1
  484. package/src/blocks/detail-studio/keyboard-bar.tsx +0 -73
  485. package/src/blocks/detail-studio/photo-tool-bar.tsx +0 -100
  486. package/src/blocks/detail-studio/section-thumb.tsx +0 -41
@@ -0,0 +1,130 @@
1
+ import type { ReactNode } from 'react';
2
+ import { Text as RNText, View } from 'react-native';
3
+ import Animated, {
4
+ interpolateColor,
5
+ useAnimatedStyle,
6
+ } from 'react-native-reanimated';
7
+ import { haptic } from '../../internal/haptics';
8
+ import { useSwitch } from '../../internal/motion';
9
+ import { PressableBase } from '../../internal/pressable-base';
10
+ import { useTheme } from '../../theme/theme-provider';
11
+ import { makeStyles } from '../../utils/styles';
12
+
13
+ export type StudioToggleProps = {
14
+ label: string;
15
+ value: boolean;
16
+ onValueChange: (value: boolean) => void;
17
+ disabled?: boolean;
18
+ children?: ReactNode;
19
+ };
20
+
21
+ export type StudioToggleListProps = {
22
+ children: ReactNode;
23
+ };
24
+
25
+ const TRACK = 26;
26
+ const KNOB = 22;
27
+
28
+ const useStyles = makeStyles((t) => {
29
+ const inset = (TRACK - KNOB) / 2;
30
+ return {
31
+ list: { marginHorizontal: -t.space[4] },
32
+ row: {
33
+ height: t.controlSize.lg,
34
+ flexDirection: 'row',
35
+ alignItems: 'center',
36
+ gap: t.space[3],
37
+ paddingHorizontal: t.space[5],
38
+ },
39
+ label: {
40
+ ...t.typography.body,
41
+ flex: 1,
42
+ fontFamily: t.fontFamily,
43
+ color: t.colors.title,
44
+ },
45
+ track: {
46
+ width: t.controlSize.sm,
47
+ height: TRACK,
48
+ borderRadius: t.radius.full,
49
+ },
50
+ thumb: {
51
+ position: 'absolute',
52
+ top: inset,
53
+ left: inset,
54
+ width: KNOB,
55
+ height: KNOB,
56
+ borderRadius: t.radius.full,
57
+ backgroundColor: t.colors.raised,
58
+ boxShadow: t.shadow.sm,
59
+ },
60
+ extra: {
61
+ paddingTop: t.space[1],
62
+ paddingBottom: t.space[3],
63
+ paddingHorizontal: t.space[5],
64
+ },
65
+ off: { opacity: t.opacity.disabled },
66
+ };
67
+ });
68
+
69
+ function Knob({ on }: { on: boolean }) {
70
+ const t = useTheme();
71
+ const s = useStyles();
72
+ const travel = t.controlSize.sm - TRACK;
73
+ const off = t.colors.border;
74
+ const lit = t.colors.primary;
75
+ const progress = useSwitch(on, 'base');
76
+ const track = useAnimatedStyle(() => ({
77
+ backgroundColor: interpolateColor(progress.value, [0, 1], [off, lit]),
78
+ }));
79
+ const thumb = useAnimatedStyle(() => ({
80
+ transform: [{ translateX: travel * progress.value }],
81
+ }));
82
+ return (
83
+ <Animated.View testID="studio-switch" style={[s.track, track]}>
84
+ <Animated.View style={[s.thumb, thumb]} />
85
+ </Animated.View>
86
+ );
87
+ }
88
+
89
+ export function StudioToggle({
90
+ label,
91
+ value,
92
+ onValueChange,
93
+ disabled,
94
+ children,
95
+ }: StudioToggleProps) {
96
+ const t = useTheme();
97
+ const s = useStyles();
98
+ return (
99
+ <View>
100
+ <PressableBase
101
+ feedback="row"
102
+ accessibilityRole="switch"
103
+ accessibilityLabel={label}
104
+ accessibilityState={{ checked: value, disabled }}
105
+ disabled={disabled}
106
+ disabledStyle={s.off}
107
+ onPress={() => {
108
+ haptic('select');
109
+ onValueChange(!value);
110
+ }}
111
+ style={s.row}
112
+ >
113
+ <RNText
114
+ numberOfLines={1}
115
+ maxFontSizeMultiplier={t.maxFontScale}
116
+ style={s.label}
117
+ >
118
+ {label}
119
+ </RNText>
120
+ <Knob on={value} />
121
+ </PressableBase>
122
+ {children ? <View style={s.extra}>{children}</View> : null}
123
+ </View>
124
+ );
125
+ }
126
+
127
+ export function StudioToggleList({ children }: StudioToggleListProps) {
128
+ const s = useStyles();
129
+ return <View style={s.list}>{children}</View>;
130
+ }
@@ -0,0 +1,126 @@
1
+ import { useRef, type ComponentRef } from 'react';
2
+ import { View } from 'react-native';
3
+ import { CreditCost } from '../../components/credit/credit';
4
+ import type { SectionAnchor } from '../../components/dropdown-menu/dropdown-menu';
5
+ import { Text } from '../../components/text/text';
6
+ import { renderIcon, type IconSlot } from '../../internal/icon';
7
+ import { PressableBase } from '../../internal/pressable-base';
8
+ import { useTheme } from '../../theme/theme-provider';
9
+ import { makeStyles } from '../../utils/styles';
10
+
11
+ export type StudioToolItem = {
12
+ key: string;
13
+ icon: IconSlot;
14
+ label: string;
15
+ onPress: (anchor?: SectionAnchor) => void;
16
+ menu?: boolean;
17
+ active?: boolean;
18
+ accent?: boolean;
19
+ disabled?: boolean;
20
+ cost?: number | null;
21
+ };
22
+
23
+ export type StudioToolsProps = {
24
+ items: readonly StudioToolItem[];
25
+ docked?: boolean;
26
+ };
27
+
28
+ const useStyles = makeStyles((t) => ({
29
+ bar: {
30
+ paddingVertical: t.space[2],
31
+ paddingHorizontal: t.space[2],
32
+ borderTopWidth: 1,
33
+ borderTopColor: t.colors.border,
34
+ backgroundColor: t.colors.surface,
35
+ },
36
+ row: { flexDirection: 'row', gap: t.space[1] },
37
+ inset: { paddingHorizontal: t.space[2] },
38
+ cell: { flex: 1 },
39
+ item: {
40
+ alignItems: 'center',
41
+ gap: t.space[1],
42
+ paddingVertical: t.space[1],
43
+ },
44
+ circle: {
45
+ width: t.minTouchSize,
46
+ height: t.minTouchSize,
47
+ borderRadius: t.radius.full,
48
+ alignItems: 'center',
49
+ justifyContent: 'center',
50
+ backgroundColor: t.colors.background,
51
+ },
52
+ on: { backgroundColor: t.colors.primaryTint },
53
+ cost: { position: 'absolute', top: 0, right: 0 },
54
+ }));
55
+
56
+ export function StudioTools({ items, docked = true }: StudioToolsProps) {
57
+ const t = useTheme();
58
+ const s = useStyles();
59
+ const cells = useRef<Record<string, ComponentRef<typeof View> | null>>({});
60
+ const press = (item: StudioToolItem) => {
61
+ const cell = item.menu ? cells.current[item.key] : null;
62
+ if (!cell) {
63
+ item.onPress();
64
+ return;
65
+ }
66
+ cell.measureInWindow((x, y, width, height) =>
67
+ item.onPress({ x, y, width, height })
68
+ );
69
+ };
70
+ return (
71
+ <View accessibilityRole="toolbar" style={[s.row, docked ? s.bar : s.inset]}>
72
+ {items.map((item) => {
73
+ const hot = !item.disabled && (item.active || item.accent);
74
+ const color = item.disabled
75
+ ? t.colors.disabledForeground
76
+ : hot
77
+ ? t.colors.selectForeground
78
+ : t.colors.title;
79
+ return (
80
+ <View
81
+ key={item.key}
82
+ ref={(node) => {
83
+ cells.current[item.key] = node;
84
+ }}
85
+ collapsable={false}
86
+ style={s.cell}
87
+ >
88
+ <PressableBase
89
+ onPress={() => press(item)}
90
+ disabled={item.disabled}
91
+ disabledStyle={{}}
92
+ feedback="small"
93
+ accessibilityLabel={item.label}
94
+ accessibilityState={
95
+ item.active === undefined
96
+ ? undefined
97
+ : { selected: item.active }
98
+ }
99
+ style={s.item}
100
+ >
101
+ <View style={[s.circle, hot && s.on]}>
102
+ {renderIcon(item.icon, { color, size: t.iconSize.md })}
103
+ </View>
104
+ <Text
105
+ variant="caption"
106
+ numberOfLines={1}
107
+ weight={hot ? 'semibold' : undefined}
108
+ style={{ color }}
109
+ >
110
+ {item.label}
111
+ </Text>
112
+ {item.cost != null ? (
113
+ <View pointerEvents="none" style={s.cost}>
114
+ <CreditCost
115
+ value={item.cost}
116
+ tone={item.disabled ? 'disabled' : 'muted'}
117
+ />
118
+ </View>
119
+ ) : null}
120
+ </PressableBase>
121
+ </View>
122
+ );
123
+ })}
124
+ </View>
125
+ );
126
+ }
@@ -1,4 +1,4 @@
1
- import { Text as RNText, View } from 'react-native';
1
+ import { Text as RNText, View, type TextStyle } from 'react-native';
2
2
  import { SegmentedControl } from '../../components/segmented-control/segmented-control';
3
3
  import { Slider } from '../../components/slider/slider';
4
4
  import {
@@ -29,6 +29,7 @@ export type TextFormatPanelProps = {
29
29
  onSlidingStart?: () => void;
30
30
  tab: TextFormatTab;
31
31
  onTabChange: (tab: TextFormatTab) => void;
32
+ tabs?: readonly TextFormatTab[];
32
33
  sample?: string;
33
34
  colors?: readonly ColorSwatch[];
34
35
  bottomInset?: number;
@@ -45,10 +46,14 @@ const TABS: { value: TextFormatTab; label: string }[] = [
45
46
  { value: 'effect', label: '효과' },
46
47
  ];
47
48
 
48
- const WEIGHTS: { value: DetailWeight; label: string }[] = [
49
- { value: 'regular', label: '보통' },
50
- { value: 'bold', label: '굵게' },
51
- { value: 'heavy', label: '아주 굵게' },
49
+ const WEIGHTS: {
50
+ value: DetailWeight;
51
+ label: string;
52
+ weight: TextStyle['fontWeight'];
53
+ }[] = [
54
+ { value: 'regular', label: '보통', weight: '400' },
55
+ { value: 'bold', label: '굵게', weight: '600' },
56
+ { value: 'heavy', label: '아주 굵게', weight: '700' },
52
57
  ];
53
58
 
54
59
  const ALIGNS = [
@@ -67,13 +72,17 @@ const useStyles = makeStyles((t) => ({
67
72
  },
68
73
  small: {
69
74
  fontSize: t.typography.eyebrow.fontSize,
75
+ fontFamily: t.fontFamily,
76
+ letterSpacing: t.typography.eyebrow.letterSpacing,
70
77
  lineHeight: t.typography.eyebrow.lineHeight,
71
78
  color: t.colors.mutedForeground,
72
79
  },
73
80
  swatches: { paddingTop: t.space[4], paddingHorizontal: t.space[1] },
74
81
  large: {
75
- fontSize: t.typography.display.fontSize,
76
- lineHeight: t.typography.display.lineHeight,
82
+ fontSize: t.typography.screenTitle.fontSize,
83
+ fontFamily: t.fontFamily,
84
+ letterSpacing: t.typography.screenTitle.letterSpacing,
85
+ lineHeight: t.typography.screenTitle.lineHeight,
77
86
  color: t.colors.title,
78
87
  },
79
88
  }));
@@ -86,6 +95,7 @@ export function TextFormatPanel({
86
95
  onSlidingStart,
87
96
  tab,
88
97
  onTabChange,
98
+ tabs,
89
99
  sample = '가나다',
90
100
  colors,
91
101
  bottomInset = 0,
@@ -95,6 +105,7 @@ export function TextFormatPanel({
95
105
  const size = value.size ?? 5;
96
106
  const line = value.line ?? 5;
97
107
  const tracking = value.tracking ?? 0;
108
+ const shown = tabs ? TABS.filter((item) => tabs.includes(item.value)) : TABS;
98
109
 
99
110
  const body = () => {
100
111
  switch (tab) {
@@ -111,6 +122,7 @@ export function TextFormatPanel({
111
122
  return (
112
123
  <>
113
124
  <Slider
125
+ size="sm"
114
126
  value={size}
115
127
  min={1}
116
128
  max={10}
@@ -139,6 +151,7 @@ export function TextFormatPanel({
139
151
  return (
140
152
  <>
141
153
  <Slider
154
+ size="sm"
142
155
  value={line}
143
156
  min={1}
144
157
  max={10}
@@ -149,6 +162,7 @@ export function TextFormatPanel({
149
162
  accessibilityLabel="줄 간격"
150
163
  />
151
164
  <Slider
165
+ size="sm"
152
166
  value={tracking}
153
167
  min={-5}
154
168
  max={10}
@@ -191,13 +205,15 @@ export function TextFormatPanel({
191
205
 
192
206
  return (
193
207
  <View style={[s.panel, { height: FORMAT_PANEL + bottomInset }]}>
194
- <View style={s.tabs}>
195
- <SegmentedControl
196
- items={TABS}
197
- value={tab}
198
- onValueChange={onTabChange}
199
- />
200
- </View>
208
+ {shown.length > 1 ? (
209
+ <View style={s.tabs}>
210
+ <SegmentedControl
211
+ items={shown}
212
+ value={tab}
213
+ onValueChange={onTabChange}
214
+ />
215
+ </View>
216
+ ) : null}
201
217
  <View style={s.body}>{body()}</View>
202
218
  </View>
203
219
  );
@@ -33,6 +33,7 @@ const useStyles = makeStyles((t) => ({
33
33
  label: {
34
34
  fontFamily: t.fontFamily,
35
35
  fontSize: t.typography.eyebrow.fontSize,
36
+ letterSpacing: t.typography.eyebrow.letterSpacing,
36
37
  lineHeight: t.typography.eyebrow.lineHeight,
37
38
  fontWeight: '600',
38
39
  color: t.colors.primary,
@@ -41,12 +42,14 @@ const useStyles = makeStyles((t) => ({
41
42
  flexShrink: 1,
42
43
  fontFamily: t.fontFamily,
43
44
  fontSize: t.typography.eyebrow.fontSize,
45
+ letterSpacing: t.typography.eyebrow.letterSpacing,
44
46
  lineHeight: t.typography.eyebrow.lineHeight,
45
47
  color: t.colors.mutedForeground,
46
48
  },
47
49
  text: {
48
50
  fontFamily: t.fontFamily,
49
51
  fontSize: t.typography.body.fontSize,
52
+ letterSpacing: t.typography.body.letterSpacing,
50
53
  lineHeight: t.typography.body.lineHeight,
51
54
  color: t.colors.title,
52
55
  },
@@ -42,3 +42,4 @@ export * from './scan-modal';
42
42
  export * from './summary-cards';
43
43
  export * from './request-card';
44
44
  export * from './photo-grid';
45
+ export * from './detail-request';
@@ -76,6 +76,7 @@ const useStyles = makeStyles((t) => ({
76
76
  icon: { position: 'absolute', left: t.space[4] },
77
77
  label: {
78
78
  fontSize: t.typography.body.fontSize,
79
+ letterSpacing: t.typography.body.letterSpacing,
79
80
  fontWeight: '600',
80
81
  fontFamily: t.fontFamily,
81
82
  },
@@ -9,6 +9,7 @@ import type { IconSlot } from '../../internal/icon';
9
9
  import { PressableBase } from '../../internal/pressable-base';
10
10
  import { useTheme } from '../../theme/theme-provider';
11
11
  import { makeStyles } from '../../utils/styles';
12
+ import { Figures, Won } from '../../components/text/figures';
12
13
 
13
14
  export type OrderBlockAction = {
14
15
  label: string;
@@ -50,6 +51,7 @@ const useStyles = makeStyles((t) => ({
50
51
  overline: {
51
52
  fontFamily: t.fontFamily,
52
53
  fontSize: t.typography.eyebrow.fontSize,
54
+ letterSpacing: t.typography.eyebrow.letterSpacing,
53
55
  lineHeight: t.typography.eyebrow.lineHeight,
54
56
  fontWeight: '500',
55
57
  color: t.colors.mutedForeground,
@@ -57,6 +59,7 @@ const useStyles = makeStyles((t) => ({
57
59
  title: {
58
60
  fontFamily: t.fontFamily,
59
61
  fontSize: t.typography.bodyLg.fontSize,
62
+ letterSpacing: t.typography.bodyLg.letterSpacing,
60
63
  lineHeight: t.typography.bodyLg.lineHeight,
61
64
  fontWeight: '500',
62
65
  color: t.colors.title,
@@ -64,6 +67,7 @@ const useStyles = makeStyles((t) => ({
64
67
  meta: {
65
68
  fontFamily: t.fontFamily,
66
69
  fontSize: t.typography.label.fontSize,
70
+ letterSpacing: t.typography.label.letterSpacing,
67
71
  lineHeight: t.typography.label.lineHeight,
68
72
  color: t.colors.mutedForeground,
69
73
  },
@@ -71,10 +75,10 @@ const useStyles = makeStyles((t) => ({
71
75
  marginTop: 'auto',
72
76
  fontFamily: t.fontFamily,
73
77
  fontSize: t.typography.bodyLg.fontSize,
78
+ letterSpacing: t.typography.bodyLg.letterSpacing,
74
79
  lineHeight: t.typography.bodyLg.lineHeight,
75
- fontWeight: '600',
80
+ fontWeight: '500',
76
81
  color: t.colors.title,
77
- fontVariant: ['tabular-nums'],
78
82
  },
79
83
  bottom: {
80
84
  flexDirection: 'row',
@@ -108,6 +112,7 @@ const useStyles = makeStyles((t) => ({
108
112
  swipeLabel: {
109
113
  fontFamily: t.fontFamily,
110
114
  fontSize: t.typography.body.fontSize,
115
+ letterSpacing: t.typography.body.letterSpacing,
111
116
  lineHeight: t.typography.body.lineHeight,
112
117
  fontWeight: '600',
113
118
  color: t.colors.primaryForeground,
@@ -182,7 +187,13 @@ export function OrderBlock({
182
187
  numberOfLines={1}
183
188
  maxFontSizeMultiplier={t.maxFontScale}
184
189
  >
185
- {title}
190
+ <Figures
191
+ size={t.typography.bodyLg.fontSize}
192
+ tracking={t.typography.bodyLg.letterSpacing}
193
+ scope="more"
194
+ >
195
+ {title}
196
+ </Figures>
186
197
  </Text>
187
198
  <Text
188
199
  style={s.meta}
@@ -192,7 +203,12 @@ export function OrderBlock({
192
203
  {meta}
193
204
  </Text>
194
205
  <Text style={s.amount} maxFontSizeMultiplier={t.maxFontScale}>
195
- {amount}
206
+ <Won
207
+ size={t.typography.bodyLg.fontSize}
208
+ tracking={t.typography.bodyLg.letterSpacing}
209
+ >
210
+ {amount}
211
+ </Won>
196
212
  </Text>
197
213
  </View>
198
214
  </PressableBase>
@@ -1,6 +1,7 @@
1
1
  import { View, type StyleProp, type ViewStyle } from 'react-native';
2
2
  import { Photo } from '../../components/photo/photo';
3
3
  import { Text } from '../../components/text/text';
4
+ import { Won } from '../../components/text/figures';
4
5
  import { PressableBase } from '../../internal/pressable-base';
5
6
  import { makeStyles } from '../../utils/styles';
6
7
 
@@ -37,7 +38,9 @@ export function ProductTile({
37
38
  <Photo source={{ uri: image ?? '' }} seed={name} />
38
39
  <View style={s.body}>
39
40
  <Text numberOfLines={1}>{name}</Text>
40
- <Text weight="semibold">{price}</Text>
41
+ <Text weight="semibold">
42
+ <Won>{price}</Won>
43
+ </Text>
41
44
  {state ? (
42
45
  <Text variant="caption" tone="muted">
43
46
  {state}
@@ -47,7 +47,6 @@ const useStyles = makeStyles((t) => ({
47
47
  ...t.typography.caption,
48
48
  fontWeight: '500',
49
49
  color: t.colors.ring,
50
- fontVariant: ['tabular-nums'],
51
50
  },
52
51
  label: { ...t.typography.label, color: t.colors.mutedForeground },
53
52
  summary: {
@@ -88,11 +88,12 @@ const useStyles = makeStyles((t) => ({
88
88
  tabText: {
89
89
  fontFamily: t.fontFamily,
90
90
  fontSize: t.typography.label.fontSize,
91
+ letterSpacing: t.typography.label.letterSpacing,
91
92
  lineHeight: t.typography.label.lineHeight,
92
93
  fontWeight: '500',
93
94
  color: t.colors.faint,
94
95
  },
95
- tabActiveText: { fontWeight: '700', color: t.colors.title },
96
+ tabActiveText: { fontWeight: '600', color: t.colors.title },
96
97
  tabDoneText: { color: t.colors.mutedForeground },
97
98
  area: { flex: 1, marginHorizontal: -t.layout.screenX },
98
99
  flow: {
@@ -40,12 +40,14 @@ const useStyles = makeStyles((t) => ({
40
40
  flex: 1,
41
41
  fontFamily: t.fontFamily,
42
42
  fontSize: t.typography.eyebrow.fontSize,
43
+ letterSpacing: t.typography.eyebrow.letterSpacing,
43
44
  lineHeight: t.typography.eyebrow.lineHeight,
44
45
  color: t.colors.mutedForeground,
45
46
  },
46
47
  body: {
47
48
  fontFamily: t.fontFamily,
48
49
  fontSize: t.typography.body.fontSize,
50
+ letterSpacing: t.typography.body.letterSpacing,
49
51
  lineHeight: t.typography.body.lineHeight,
50
52
  color: t.colors.title,
51
53
  },
@@ -62,6 +64,7 @@ const useStyles = makeStyles((t) => ({
62
64
  flexShrink: 1,
63
65
  fontFamily: t.fontFamily,
64
66
  fontSize: t.typography.eyebrow.fontSize,
67
+ letterSpacing: t.typography.eyebrow.letterSpacing,
65
68
  lineHeight: t.typography.eyebrow.lineHeight,
66
69
  color: t.colors.mutedForeground,
67
70
  },
@@ -72,6 +75,7 @@ const useStyles = makeStyles((t) => ({
72
75
  borderLeftColor: t.colors.muted,
73
76
  fontFamily: t.fontFamily,
74
77
  fontSize: t.typography.label.fontSize,
78
+ letterSpacing: t.typography.label.letterSpacing,
75
79
  lineHeight: t.typography.label.lineHeight,
76
80
  color: t.colors.mutedForeground,
77
81
  },
@@ -45,6 +45,7 @@ const useStyles = makeStyles((t) => ({
45
45
  backgroundColor: t.colors.muted,
46
46
  fontFamily: t.fontFamily,
47
47
  fontSize: t.typography.body.fontSize,
48
+ letterSpacing: t.typography.body.letterSpacing,
48
49
  lineHeight: t.typography.body.lineHeight,
49
50
  color: t.colors.title,
50
51
  },
@@ -60,14 +60,15 @@ const useStyles = makeStyles((t) => ({
60
60
  count: {
61
61
  fontFamily: t.fontFamily,
62
62
  fontSize: t.typography.title.fontSize,
63
+ letterSpacing: t.typography.title.letterSpacing,
63
64
  lineHeight: t.typography.title.lineHeight,
64
- fontWeight: '600',
65
- fontVariant: ['tabular-nums'],
65
+ fontWeight: '500',
66
66
  },
67
67
  zero: { fontWeight: '400' },
68
68
  label: {
69
69
  fontFamily: t.fontFamily,
70
70
  fontSize: t.typography.eyebrow.fontSize,
71
+ letterSpacing: t.typography.eyebrow.letterSpacing,
71
72
  lineHeight: t.typography.eyebrow.lineHeight,
72
73
  color: t.colors.mutedForeground,
73
74
  },
@@ -2,6 +2,7 @@ import type { ReactNode } from 'react';
2
2
  import { View, type StyleProp, type ViewStyle } from 'react-native';
3
3
  import { Text } from '../../components/text/text';
4
4
  import { makeStyles } from '../../utils/styles';
5
+ import { Won } from '../../components/text/figures';
5
6
  import { Card } from '../internal/card';
6
7
 
7
8
  export type StatCardProps = {
@@ -61,7 +62,7 @@ export function StatCard({
61
62
  {meta ? null : <Text tone="muted">{label}</Text>}
62
63
  <View style={s.value}>
63
64
  <Text variant="title" weight="semibold">
64
- {value}
65
+ <Won>{value}</Won>
65
66
  </Text>
66
67
  {hasChange ? (
67
68
  <Text
@@ -55,13 +55,14 @@ export type StepScreenProps = {
55
55
 
56
56
  const TITLE_SIZE = 26;
57
57
  const TITLE_LEADING = 34;
58
- const TITLE_TRACKING = -0.8;
58
+ const TITLE_TRACKING = -0.57;
59
59
  const DOCK = 68;
60
60
  const DOCK_GO = 112;
61
61
  const DOCK_RADIUS = 14;
62
62
  const DOCK_THUMB = 44;
63
63
  const DOCK_LABEL_SIZE = 16;
64
64
  const DOCK_LABEL_LEADING = 22;
65
+ const DOCK_LABEL_TRACKING = -0.19;
65
66
  const THUMB_INSET = '14%';
66
67
  const THUMB_PHOTO = '72%';
67
68
 
@@ -81,8 +82,9 @@ const useStyles = makeStyles((t) => ({
81
82
  countText: {
82
83
  fontFamily: t.fontFamily,
83
84
  fontSize: t.typography.body.fontSize,
85
+ letterSpacing: t.typography.body.letterSpacing,
84
86
  lineHeight: t.typography.body.lineHeight,
85
- fontWeight: '600',
87
+ fontWeight: '500',
86
88
  color: t.colors.faint,
87
89
  },
88
90
  countNow: { color: t.colors.title },
@@ -173,6 +175,7 @@ const useStyles = makeStyles((t) => ({
173
175
  fontFamily: t.fontFamily,
174
176
  fontSize: DOCK_LABEL_SIZE,
175
177
  lineHeight: DOCK_LABEL_LEADING,
178
+ letterSpacing: DOCK_LABEL_TRACKING,
176
179
  fontWeight: '600',
177
180
  color: t.colors.title,
178
181
  },