@ezpg/app-ui 0.20.0 → 0.22.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 (313) hide show
  1. package/CHANGELOG.md +37 -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-tabs.js +81 -0
  7. package/lib/module/adjust/axis-tabs.js.map +1 -0
  8. package/lib/module/adjust/axis-wheel.js +286 -0
  9. package/lib/module/adjust/axis-wheel.js.map +1 -0
  10. package/lib/module/adjust/index.js +4 -0
  11. package/lib/module/adjust/index.js.map +1 -1
  12. package/lib/module/adjust/store-sample.js +436 -0
  13. package/lib/module/adjust/store-sample.js.map +1 -0
  14. package/lib/module/blocks/choice-art/choice-art.js +589 -0
  15. package/lib/module/blocks/choice-art/choice-art.js.map +1 -0
  16. package/lib/module/blocks/choice-art/index.js +4 -0
  17. package/lib/module/blocks/choice-art/index.js.map +1 -0
  18. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +1 -1
  19. package/lib/module/blocks/detail-editor/compare-slider.js +5 -2
  20. package/lib/module/blocks/detail-editor/compare-slider.js.map +1 -1
  21. package/lib/module/blocks/detail-editor/detail-canvas.js +192 -61
  22. package/lib/module/blocks/detail-editor/detail-canvas.js.map +1 -1
  23. package/lib/module/blocks/detail-editor/detail-types.js +57 -0
  24. package/lib/module/blocks/detail-editor/detail-types.js.map +1 -1
  25. package/lib/module/blocks/detail-editor/draft-preview.js +22 -0
  26. package/lib/module/blocks/detail-editor/draft-preview.js.map +1 -1
  27. package/lib/module/blocks/detail-editor/focus-context.js +1 -0
  28. package/lib/module/blocks/detail-editor/focus-context.js.map +1 -1
  29. package/lib/module/blocks/detail-editor/index.js +2 -2
  30. package/lib/module/blocks/detail-editor/index.js.map +1 -1
  31. package/lib/module/blocks/detail-editor/keep-words.js +34 -0
  32. package/lib/module/blocks/detail-editor/keep-words.js.map +1 -0
  33. package/lib/module/blocks/detail-editor/layout-picker.js +192 -8
  34. package/lib/module/blocks/detail-editor/layout-picker.js.map +1 -1
  35. package/lib/module/blocks/detail-request/detail-request.js +213 -0
  36. package/lib/module/blocks/detail-request/detail-request.js.map +1 -0
  37. package/lib/module/blocks/detail-request/index.js +4 -0
  38. package/lib/module/blocks/detail-request/index.js.map +1 -0
  39. package/lib/module/blocks/detail-studio/action-chips.js +72 -0
  40. package/lib/module/blocks/detail-studio/action-chips.js.map +1 -0
  41. package/lib/module/blocks/detail-studio/adjust-tiles.js +3 -3
  42. package/lib/module/blocks/detail-studio/adjust-tiles.js.map +1 -1
  43. package/lib/module/blocks/detail-studio/asset-grid.js +33 -16
  44. package/lib/module/blocks/detail-studio/asset-grid.js.map +1 -1
  45. package/lib/module/blocks/detail-studio/confirm-row.js +3 -0
  46. package/lib/module/blocks/detail-studio/confirm-row.js.map +1 -1
  47. package/lib/module/blocks/detail-studio/detail-studio-template.js +2 -6
  48. package/lib/module/blocks/detail-studio/detail-studio-template.js.map +1 -1
  49. package/lib/module/blocks/detail-studio/edge-fade.js +74 -0
  50. package/lib/module/blocks/detail-studio/edge-fade.js.map +1 -0
  51. package/lib/module/blocks/detail-studio/image-prompt.js +8 -10
  52. package/lib/module/blocks/detail-studio/image-prompt.js.map +1 -1
  53. package/lib/module/blocks/detail-studio/index.js +7 -5
  54. package/lib/module/blocks/detail-studio/index.js.map +1 -1
  55. package/lib/module/blocks/detail-studio/rewrite-tray.js +17 -64
  56. package/lib/module/blocks/detail-studio/rewrite-tray.js.map +1 -1
  57. package/lib/module/blocks/detail-studio/section-cover.js +41 -0
  58. package/lib/module/blocks/detail-studio/section-cover.js.map +1 -0
  59. package/lib/module/blocks/detail-studio/section-edit-template.js +103 -12
  60. package/lib/module/blocks/detail-studio/section-edit-template.js.map +1 -1
  61. package/lib/module/blocks/detail-studio/section-kind-grid.js +2 -3
  62. package/lib/module/blocks/detail-studio/section-kind-grid.js.map +1 -1
  63. package/lib/module/blocks/detail-studio/section-settings.js +127 -61
  64. package/lib/module/blocks/detail-studio/section-settings.js.map +1 -1
  65. package/lib/module/blocks/detail-studio/studio-bar.js +46 -25
  66. package/lib/module/blocks/detail-studio/studio-bar.js.map +1 -1
  67. package/lib/module/blocks/detail-studio/studio-dock.js +21 -39
  68. package/lib/module/blocks/detail-studio/studio-dock.js.map +1 -1
  69. package/lib/module/blocks/detail-studio/studio-glyphs.js +92 -0
  70. package/lib/module/blocks/detail-studio/studio-glyphs.js.map +1 -0
  71. package/lib/module/blocks/detail-studio/studio-sheet.js +5 -3
  72. package/lib/module/blocks/detail-studio/studio-sheet.js.map +1 -1
  73. package/lib/module/blocks/detail-studio/studio-steps.js +60 -0
  74. package/lib/module/blocks/detail-studio/studio-steps.js.map +1 -0
  75. package/lib/module/blocks/detail-studio/studio-toggle.js +130 -0
  76. package/lib/module/blocks/detail-studio/studio-toggle.js.map +1 -0
  77. package/lib/module/blocks/detail-studio/{photo-tool-bar.js → studio-tools.js} +63 -42
  78. package/lib/module/blocks/detail-studio/studio-tools.js.map +1 -0
  79. package/lib/module/blocks/detail-studio/text-format-panel.js +16 -8
  80. package/lib/module/blocks/detail-studio/text-format-panel.js.map +1 -1
  81. package/lib/module/blocks/index.js +2 -0
  82. package/lib/module/blocks/index.js.map +1 -1
  83. package/lib/module/components/button/button.js +13 -5
  84. package/lib/module/components/button/button.js.map +1 -1
  85. package/lib/module/components/chip/chip.js +5 -1
  86. package/lib/module/components/chip/chip.js.map +1 -1
  87. package/lib/module/components/chip-group/chip-group.js +1 -0
  88. package/lib/module/components/chip-group/chip-group.js.map +1 -1
  89. package/lib/module/components/credit/credit.js +6 -2
  90. package/lib/module/components/credit/credit.js.map +1 -1
  91. package/lib/module/components/dropdown-menu/dropdown-menu.js +9 -4
  92. package/lib/module/components/dropdown-menu/dropdown-menu.js.map +1 -1
  93. package/lib/module/components/page-header/page-header.js +25 -1
  94. package/lib/module/components/page-header/page-header.js.map +1 -1
  95. package/lib/module/components/segmented-control/segmented-control.js +3 -1
  96. package/lib/module/components/segmented-control/segmented-control.js.map +1 -1
  97. package/lib/module/components/skeleton/skeleton.js +4 -2
  98. package/lib/module/components/skeleton/skeleton.js.map +1 -1
  99. package/lib/module/components/slider/slider.js +53 -16
  100. package/lib/module/components/slider/slider.js.map +1 -1
  101. package/lib/module/components/toast/index.js.map +1 -1
  102. package/lib/module/components/toast/toast.js +8 -4
  103. package/lib/module/components/toast/toast.js.map +1 -1
  104. package/lib/module/index.js +1 -1
  105. package/lib/module/index.js.map +1 -1
  106. package/lib/module/internal/glyphs.js +459 -1
  107. package/lib/module/internal/glyphs.js.map +1 -1
  108. package/lib/module/internal/line-icons.js +1 -0
  109. package/lib/module/internal/line-icons.js.map +1 -1
  110. package/lib/module/internal/retry-glyph.js +5 -2
  111. package/lib/module/internal/retry-glyph.js.map +1 -1
  112. package/lib/module/internal/undo-glyph.js +11 -8
  113. package/lib/module/internal/undo-glyph.js.map +1 -1
  114. package/lib/module/sortable/section-board.js +73 -89
  115. package/lib/module/sortable/section-board.js.map +1 -1
  116. package/lib/module/templates/design-pick-template.js +8 -1
  117. package/lib/module/templates/design-pick-template.js.map +1 -1
  118. package/lib/module/templates/index.js +1 -0
  119. package/lib/module/templates/index.js.map +1 -1
  120. package/lib/module/templates/intro-template.js +3 -3
  121. package/lib/module/templates/intro-template.js.map +1 -1
  122. package/lib/module/templates/preview-edit-template.js +422 -0
  123. package/lib/module/templates/preview-edit-template.js.map +1 -0
  124. package/lib/module/templates/result-template.js +2 -1
  125. package/lib/module/templates/result-template.js.map +1 -1
  126. package/lib/typescript/src/adjust/adjust-template.d.ts.map +1 -1
  127. package/lib/typescript/src/adjust/axis-adjust.d.ts +25 -0
  128. package/lib/typescript/src/adjust/axis-adjust.d.ts.map +1 -0
  129. package/lib/typescript/src/adjust/axis-tabs.d.ts +15 -0
  130. package/lib/typescript/src/adjust/axis-tabs.d.ts.map +1 -0
  131. package/lib/typescript/src/adjust/axis-wheel.d.ts +15 -0
  132. package/lib/typescript/src/adjust/axis-wheel.d.ts.map +1 -0
  133. package/lib/typescript/src/adjust/index.d.ts +4 -0
  134. package/lib/typescript/src/adjust/index.d.ts.map +1 -1
  135. package/lib/typescript/src/adjust/store-sample.d.ts +46 -0
  136. package/lib/typescript/src/adjust/store-sample.d.ts.map +1 -0
  137. package/lib/typescript/src/blocks/choice-art/choice-art.d.ts +73 -0
  138. package/lib/typescript/src/blocks/choice-art/choice-art.d.ts.map +1 -0
  139. package/lib/typescript/src/blocks/choice-art/index.d.ts +2 -0
  140. package/lib/typescript/src/blocks/choice-art/index.d.ts.map +1 -0
  141. package/lib/typescript/src/blocks/detail-editor/compare-slider.d.ts +2 -1
  142. package/lib/typescript/src/blocks/detail-editor/compare-slider.d.ts.map +1 -1
  143. package/lib/typescript/src/blocks/detail-editor/detail-canvas.d.ts +3 -1
  144. package/lib/typescript/src/blocks/detail-editor/detail-canvas.d.ts.map +1 -1
  145. package/lib/typescript/src/blocks/detail-editor/detail-types.d.ts +11 -0
  146. package/lib/typescript/src/blocks/detail-editor/detail-types.d.ts.map +1 -1
  147. package/lib/typescript/src/blocks/detail-editor/draft-preview.d.ts +4 -1
  148. package/lib/typescript/src/blocks/detail-editor/draft-preview.d.ts.map +1 -1
  149. package/lib/typescript/src/blocks/detail-editor/focus-context.d.ts +9 -0
  150. package/lib/typescript/src/blocks/detail-editor/focus-context.d.ts.map +1 -1
  151. package/lib/typescript/src/blocks/detail-editor/index.d.ts +3 -2
  152. package/lib/typescript/src/blocks/detail-editor/index.d.ts.map +1 -1
  153. package/lib/typescript/src/blocks/detail-editor/keep-words.d.ts +2 -0
  154. package/lib/typescript/src/blocks/detail-editor/keep-words.d.ts.map +1 -0
  155. package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts +6 -1
  156. package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts.map +1 -1
  157. package/lib/typescript/src/blocks/detail-request/detail-request.d.ts +24 -0
  158. package/lib/typescript/src/blocks/detail-request/detail-request.d.ts.map +1 -0
  159. package/lib/typescript/src/blocks/detail-request/index.d.ts +2 -0
  160. package/lib/typescript/src/blocks/detail-request/index.d.ts.map +1 -0
  161. package/lib/typescript/src/blocks/detail-studio/action-chips.d.ts +12 -0
  162. package/lib/typescript/src/blocks/detail-studio/action-chips.d.ts.map +1 -0
  163. package/lib/typescript/src/blocks/detail-studio/asset-grid.d.ts.map +1 -1
  164. package/lib/typescript/src/blocks/detail-studio/confirm-row.d.ts.map +1 -1
  165. package/lib/typescript/src/blocks/detail-studio/detail-studio-template.d.ts.map +1 -1
  166. package/lib/typescript/src/blocks/detail-studio/edge-fade.d.ts +10 -0
  167. package/lib/typescript/src/blocks/detail-studio/edge-fade.d.ts.map +1 -0
  168. package/lib/typescript/src/blocks/detail-studio/image-prompt.d.ts.map +1 -1
  169. package/lib/typescript/src/blocks/detail-studio/index.d.ts +7 -5
  170. package/lib/typescript/src/blocks/detail-studio/index.d.ts.map +1 -1
  171. package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts +3 -3
  172. package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts.map +1 -1
  173. package/lib/typescript/src/blocks/detail-studio/section-cover.d.ts +7 -0
  174. package/lib/typescript/src/blocks/detail-studio/section-cover.d.ts.map +1 -0
  175. package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts +9 -0
  176. package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts.map +1 -1
  177. package/lib/typescript/src/blocks/detail-studio/section-kind-grid.d.ts.map +1 -1
  178. package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts +11 -13
  179. package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts.map +1 -1
  180. package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts +6 -2
  181. package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts.map +1 -1
  182. package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts +0 -2
  183. package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts.map +1 -1
  184. package/lib/typescript/src/blocks/detail-studio/studio-glyphs.d.ts +6 -0
  185. package/lib/typescript/src/blocks/detail-studio/studio-glyphs.d.ts.map +1 -0
  186. package/lib/typescript/src/blocks/detail-studio/studio-sheet.d.ts.map +1 -1
  187. package/lib/typescript/src/blocks/detail-studio/studio-steps.d.ts +11 -0
  188. package/lib/typescript/src/blocks/detail-studio/studio-steps.d.ts.map +1 -0
  189. package/lib/typescript/src/blocks/detail-studio/studio-toggle.d.ts +14 -0
  190. package/lib/typescript/src/blocks/detail-studio/studio-toggle.d.ts.map +1 -0
  191. package/lib/typescript/src/blocks/detail-studio/studio-tools.d.ts +19 -0
  192. package/lib/typescript/src/blocks/detail-studio/studio-tools.d.ts.map +1 -0
  193. package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts +2 -1
  194. package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts.map +1 -1
  195. package/lib/typescript/src/blocks/index.d.ts +2 -0
  196. package/lib/typescript/src/blocks/index.d.ts.map +1 -1
  197. package/lib/typescript/src/components/button/button.d.ts +3 -1
  198. package/lib/typescript/src/components/button/button.d.ts.map +1 -1
  199. package/lib/typescript/src/components/chip/chip.d.ts +2 -1
  200. package/lib/typescript/src/components/chip/chip.d.ts.map +1 -1
  201. package/lib/typescript/src/components/chip-group/chip-group.d.ts +1 -0
  202. package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -1
  203. package/lib/typescript/src/components/credit/credit.d.ts +1 -0
  204. package/lib/typescript/src/components/credit/credit.d.ts.map +1 -1
  205. package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts +2 -0
  206. package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  207. package/lib/typescript/src/components/page-header/page-header.d.ts +1 -0
  208. package/lib/typescript/src/components/page-header/page-header.d.ts.map +1 -1
  209. package/lib/typescript/src/components/segmented-control/segmented-control.d.ts +2 -0
  210. package/lib/typescript/src/components/segmented-control/segmented-control.d.ts.map +1 -1
  211. package/lib/typescript/src/components/skeleton/skeleton.d.ts +2 -1
  212. package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -1
  213. package/lib/typescript/src/components/slider/slider.d.ts +2 -1
  214. package/lib/typescript/src/components/slider/slider.d.ts.map +1 -1
  215. package/lib/typescript/src/components/toast/index.d.ts +1 -1
  216. package/lib/typescript/src/components/toast/index.d.ts.map +1 -1
  217. package/lib/typescript/src/components/toast/toast.d.ts +4 -1
  218. package/lib/typescript/src/components/toast/toast.d.ts.map +1 -1
  219. package/lib/typescript/src/index.d.ts +1 -1
  220. package/lib/typescript/src/index.d.ts.map +1 -1
  221. package/lib/typescript/src/internal/glyphs.d.ts +13 -0
  222. package/lib/typescript/src/internal/glyphs.d.ts.map +1 -1
  223. package/lib/typescript/src/internal/line-icons.d.ts +1 -0
  224. package/lib/typescript/src/internal/line-icons.d.ts.map +1 -1
  225. package/lib/typescript/src/internal/retry-glyph.d.ts.map +1 -1
  226. package/lib/typescript/src/internal/undo-glyph.d.ts.map +1 -1
  227. package/lib/typescript/src/sortable/section-board.d.ts.map +1 -1
  228. package/lib/typescript/src/templates/design-pick-template.d.ts.map +1 -1
  229. package/lib/typescript/src/templates/index.d.ts +2 -0
  230. package/lib/typescript/src/templates/index.d.ts.map +1 -1
  231. package/lib/typescript/src/templates/intro-template.d.ts.map +1 -1
  232. package/lib/typescript/src/templates/preview-edit-template.d.ts +39 -0
  233. package/lib/typescript/src/templates/preview-edit-template.d.ts.map +1 -0
  234. package/lib/typescript/src/templates/result-template.d.ts +2 -1
  235. package/lib/typescript/src/templates/result-template.d.ts.map +1 -1
  236. package/package.json +1 -1
  237. package/src/adjust/adjust-template.tsx +1 -0
  238. package/src/adjust/axis-adjust.tsx +206 -0
  239. package/src/adjust/axis-tabs.tsx +81 -0
  240. package/src/adjust/axis-wheel.tsx +309 -0
  241. package/src/adjust/index.ts +15 -0
  242. package/src/adjust/store-sample.tsx +519 -0
  243. package/src/blocks/choice-art/choice-art.tsx +500 -0
  244. package/src/blocks/choice-art/index.ts +29 -0
  245. package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +1 -1
  246. package/src/blocks/detail-editor/compare-slider.tsx +3 -1
  247. package/src/blocks/detail-editor/detail-canvas.tsx +264 -69
  248. package/src/blocks/detail-editor/detail-types.ts +37 -0
  249. package/src/blocks/detail-editor/draft-preview.tsx +46 -2
  250. package/src/blocks/detail-editor/focus-context.ts +13 -0
  251. package/src/blocks/detail-editor/index.ts +11 -1
  252. package/src/blocks/detail-editor/keep-words.ts +36 -0
  253. package/src/blocks/detail-editor/layout-picker.tsx +188 -6
  254. package/src/blocks/detail-request/detail-request.tsx +198 -0
  255. package/src/blocks/detail-request/index.ts +11 -0
  256. package/src/blocks/detail-studio/action-chips.tsx +77 -0
  257. package/src/blocks/detail-studio/adjust-tiles.tsx +3 -3
  258. package/src/blocks/detail-studio/asset-grid.tsx +30 -16
  259. package/src/blocks/detail-studio/confirm-row.tsx +3 -0
  260. package/src/blocks/detail-studio/detail-studio-template.tsx +2 -6
  261. package/src/blocks/detail-studio/edge-fade.tsx +76 -0
  262. package/src/blocks/detail-studio/image-prompt.tsx +6 -9
  263. package/src/blocks/detail-studio/index.ts +19 -16
  264. package/src/blocks/detail-studio/rewrite-tray.tsx +16 -56
  265. package/src/blocks/detail-studio/section-cover.tsx +44 -0
  266. package/src/blocks/detail-studio/section-edit-template.tsx +138 -13
  267. package/src/blocks/detail-studio/section-kind-grid.tsx +2 -2
  268. package/src/blocks/detail-studio/section-settings.tsx +124 -69
  269. package/src/blocks/detail-studio/studio-bar.tsx +61 -41
  270. package/src/blocks/detail-studio/studio-dock.tsx +19 -37
  271. package/src/blocks/detail-studio/studio-glyphs.tsx +77 -0
  272. package/src/blocks/detail-studio/studio-sheet.tsx +7 -3
  273. package/src/blocks/detail-studio/studio-steps.tsx +58 -0
  274. package/src/blocks/detail-studio/studio-toggle.tsx +130 -0
  275. package/src/blocks/detail-studio/studio-tools.tsx +126 -0
  276. package/src/blocks/detail-studio/text-format-panel.tsx +26 -14
  277. package/src/blocks/index.tsx +2 -0
  278. package/src/components/button/button.tsx +12 -5
  279. package/src/components/chip/chip.tsx +9 -1
  280. package/src/components/chip-group/chip-group.tsx +2 -0
  281. package/src/components/credit/credit.tsx +9 -2
  282. package/src/components/dropdown-menu/dropdown-menu.tsx +18 -7
  283. package/src/components/page-header/page-header.tsx +28 -1
  284. package/src/components/segmented-control/segmented-control.tsx +10 -2
  285. package/src/components/skeleton/skeleton.tsx +5 -2
  286. package/src/components/slider/slider.tsx +66 -14
  287. package/src/components/toast/index.ts +1 -0
  288. package/src/components/toast/toast.tsx +12 -4
  289. package/src/index.tsx +13 -0
  290. package/src/internal/glyphs.tsx +411 -0
  291. package/src/internal/line-icons.ts +2 -0
  292. package/src/internal/retry-glyph.tsx +7 -2
  293. package/src/internal/undo-glyph.tsx +12 -11
  294. package/src/sortable/section-board.tsx +71 -76
  295. package/src/templates/design-pick-template.tsx +9 -1
  296. package/src/templates/index.ts +7 -0
  297. package/src/templates/intro-template.tsx +14 -12
  298. package/src/templates/preview-edit-template.tsx +467 -0
  299. package/src/templates/result-template.tsx +3 -0
  300. package/lib/module/blocks/detail-studio/keyboard-bar.js +0 -67
  301. package/lib/module/blocks/detail-studio/keyboard-bar.js.map +0 -1
  302. package/lib/module/blocks/detail-studio/photo-tool-bar.js.map +0 -1
  303. package/lib/module/blocks/detail-studio/section-thumb.js +0 -49
  304. package/lib/module/blocks/detail-studio/section-thumb.js.map +0 -1
  305. package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts +0 -18
  306. package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts.map +0 -1
  307. package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts +0 -19
  308. package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts.map +0 -1
  309. package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts +0 -14
  310. package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts.map +0 -1
  311. package/src/blocks/detail-studio/keyboard-bar.tsx +0 -73
  312. package/src/blocks/detail-studio/photo-tool-bar.tsx +0 -100
  313. package/src/blocks/detail-studio/section-thumb.tsx +0 -41
@@ -22,6 +22,7 @@ export type SkeletonProps = {
22
22
  width?: DimensionValue;
23
23
  height?: DimensionValue;
24
24
  radius?: number;
25
+ sheen?: boolean;
25
26
  style?: StyleProp<ViewStyle>;
26
27
  };
27
28
 
@@ -36,6 +37,7 @@ export function Skeleton({
36
37
  width = '100%',
37
38
  height = 16,
38
39
  radius,
40
+ sheen = false,
39
41
  style,
40
42
  }: SkeletonProps) {
41
43
  const t = useTheme();
@@ -57,8 +59,9 @@ export function Skeleton({
57
59
  return () => cancelAnimation(sweep);
58
60
  }, [reduced, span, sweep]);
59
61
 
62
+ const resting = sheen && reduced;
60
63
  const band = useAnimatedStyle(() => ({
61
- transform: [{ translateX: -span + span * 2 * sweep.value }],
64
+ transform: [{ translateX: resting ? 0 : -span + span * 2 * sweep.value }],
62
65
  }));
63
66
 
64
67
  const measure = (event: LayoutChangeEvent) =>
@@ -82,7 +85,7 @@ export function Skeleton({
82
85
  style,
83
86
  ]}
84
87
  >
85
- {reduced || span === 0 ? null : (
88
+ {(reduced && !sheen) || span === 0 ? null : (
86
89
  <Animated.View
87
90
  style={[
88
91
  styles.band,
@@ -20,11 +20,14 @@ export type SliderProps = {
20
20
  start?: ReactNode;
21
21
  end?: ReactNode;
22
22
  accessibilityLabel: string;
23
+ size?: 'md' | 'sm';
23
24
  style?: StyleProp<ViewStyle>;
24
25
  };
25
26
 
26
27
  const TRACK = 6;
27
28
  const THUMB = 28;
29
+ const TRACK_SM = 4;
30
+ const THUMB_SM = 24;
28
31
  const TICK_WIDTH = 2;
29
32
  const TICK_HEIGHT = 16;
30
33
  const NUDGE = 10;
@@ -74,6 +77,25 @@ const useStyles = makeStyles((t) => ({
74
77
  t.scheme === 'dark' ? t.colors.foreground : t.colors.surface,
75
78
  boxShadow: t.shadow.md,
76
79
  },
80
+ rootSm: { gap: t.space[3] },
81
+ trackSm: {
82
+ top: (t.minTouchSize - TRACK_SM) / 2,
83
+ height: TRACK_SM,
84
+ backgroundColor: t.colors.border,
85
+ },
86
+ fillSm: { top: (t.minTouchSize - TRACK_SM) / 2, height: TRACK_SM },
87
+ thumbSm: {
88
+ top: (t.minTouchSize - THUMB_SM) / 2,
89
+ width: THUMB_SM,
90
+ height: THUMB_SM,
91
+ },
92
+ slotSm: { width: 'auto' },
93
+ labelSm: { width: t.space[8] },
94
+ valueSm: {
95
+ width: t.space[8],
96
+ textAlign: 'right',
97
+ color: t.colors.title,
98
+ },
77
99
  }));
78
100
 
79
101
  export function Slider({
@@ -87,13 +109,32 @@ export function Slider({
87
109
  start,
88
110
  end,
89
111
  accessibilityLabel,
112
+ size = 'md',
90
113
  style,
91
114
  }: SliderProps) {
92
115
  const s = useStyles();
116
+ const sm = size === 'sm';
117
+ const thumb = sm ? THUMB_SM : THUMB;
93
118
  const [width, setWidth] = useState(0);
94
119
  const span = max - min;
95
- const latest = useRef({ value, onChange, onSlidingStart, min, span, width });
96
- latest.current = { value, onChange, onSlidingStart, min, span, width };
120
+ const latest = useRef({
121
+ value,
122
+ onChange,
123
+ onSlidingStart,
124
+ min,
125
+ span,
126
+ width,
127
+ thumb,
128
+ });
129
+ latest.current = {
130
+ value,
131
+ onChange,
132
+ onSlidingStart,
133
+ min,
134
+ span,
135
+ width,
136
+ thumb,
137
+ };
97
138
  const origin = useRef(0);
98
139
  const pick = (x: number) => {
99
140
  const {
@@ -102,10 +143,11 @@ export function Slider({
102
143
  span: n,
103
144
  value: now,
104
145
  onChange: change,
146
+ thumb: knob,
105
147
  } = latest.current;
106
148
  if (w <= 0 || n <= 0) return;
107
- const room = w - THUMB;
108
- const at = Math.max(0, Math.min(room, x - THUMB / 2));
149
+ const room = w - knob;
150
+ const at = Math.max(0, Math.min(room, x - knob / 2));
109
151
  const next = lo + (at / room) * n;
110
152
  if (next !== now) change(next);
111
153
  };
@@ -128,16 +170,21 @@ export function Slider({
128
170
  span > 0 ? (Math.min(max, Math.max(min, value)) - min) / span : 0;
129
171
  const base = sliderOrigin(min, max);
130
172
  const baseRatio = span > 0 ? (base - min) / span : 0;
131
- const room = Math.max(0, width - THUMB);
173
+ const room = Math.max(0, width - thumb);
132
174
  const left = ratio * room;
133
- const center = left + THUMB / 2;
134
- const baseCenter = base === min ? 0 : baseRatio * room + THUMB / 2;
175
+ const center = left + thumb / 2;
176
+ const baseCenter = base === min ? 0 : baseRatio * room + thumb / 2;
135
177
  return (
136
- <View style={[s.root, style]}>
178
+ <View style={[s.root, sm && s.rootSm, style]}>
137
179
  {start ? (
138
- <View style={s.slotStart}>{start}</View>
180
+ <View style={[s.slotStart, sm && s.slotSm]}>{start}</View>
139
181
  ) : startLabel ? (
140
- <Text variant="caption" tone="muted" numberOfLines={1} style={s.end}>
182
+ <Text
183
+ variant="caption"
184
+ tone="muted"
185
+ numberOfLines={1}
186
+ style={[s.end, sm && s.labelSm]}
187
+ >
141
188
  {startLabel}
142
189
  </Text>
143
190
  ) : null}
@@ -160,13 +207,14 @@ export function Slider({
160
207
  }
161
208
  style={s.area}
162
209
  >
163
- <View style={s.track} pointerEvents="none" />
210
+ <View style={[s.track, sm && s.trackSm]} pointerEvents="none" />
164
211
  {width > 0 ? (
165
212
  <>
166
213
  <View
167
214
  testID="slider-fill"
168
215
  style={[
169
216
  s.fill,
217
+ sm && s.fillSm,
170
218
  {
171
219
  left: Math.min(baseCenter, center),
172
220
  width: Math.abs(center - baseCenter),
@@ -181,18 +229,22 @@ export function Slider({
181
229
  pointerEvents="none"
182
230
  />
183
231
  ) : null}
184
- <View style={[s.thumb, { left }]} pointerEvents="none" />
232
+ <View
233
+ style={[s.thumb, sm && s.thumbSm, { left }]}
234
+ pointerEvents="none"
235
+ />
185
236
  </>
186
237
  ) : null}
187
238
  </View>
188
239
  {end ? (
189
- <View style={s.slotEnd}>{end}</View>
240
+ <View style={[s.slotEnd, sm && s.slotSm]}>{end}</View>
190
241
  ) : endLabel ? (
191
242
  <Text
192
243
  variant="caption"
193
244
  tone="muted"
245
+ weight={sm ? 'semibold' : undefined}
194
246
  numberOfLines={1}
195
- style={s.endRight}
247
+ style={[s.endRight, sm && s.valueSm]}
196
248
  >
197
249
  {endLabel}
198
250
  </Text>
@@ -3,6 +3,7 @@ export {
3
3
  ToastProvider,
4
4
  useToast,
5
5
  type ToastAction,
6
+ type ToastHostProps,
6
7
  type ToastOptions,
7
8
  type ToastProviderProps,
8
9
  type ToastTone,
@@ -154,12 +154,20 @@ const useStyles = makeStyles((t) => ({
154
154
  },
155
155
  }));
156
156
 
157
- export function ToastHost() {
157
+ export type ToastHostProps = { bottom?: number };
158
+
159
+ export function ToastHost({ bottom }: ToastHostProps = {}) {
158
160
  const store = useContext(StoreContext);
159
- return store ? <ToastHostInner store={store} /> : null;
161
+ return store ? <ToastHostInner store={store} bottom={bottom} /> : null;
160
162
  }
161
163
 
162
- function ToastHostInner({ store }: { store: ToastStore }) {
164
+ function ToastHostInner({
165
+ store,
166
+ bottom,
167
+ }: {
168
+ store: ToastStore;
169
+ bottom?: number;
170
+ }) {
163
171
  const t = useTheme();
164
172
  const s = useStyles();
165
173
  const id = useId();
@@ -211,7 +219,7 @@ function ToastHostInner({ store }: { store: ToastStore }) {
211
219
  return (
212
220
  <View
213
221
  pointerEvents="box-none"
214
- style={[s.layer, { bottom: t.space[4] + store.bottomInset }]}
222
+ style={[s.layer, { bottom: bottom ?? t.space[4] + store.bottomInset }]}
215
223
  >
216
224
  <Animated.View
217
225
  accessibilityRole="alert"
package/src/index.tsx CHANGED
@@ -72,6 +72,19 @@ export {
72
72
  CropGlyph,
73
73
  EraserGlyph,
74
74
  BucketGlyph,
75
+ FocusGlyph,
76
+ MonitorGlyph,
77
+ MobileGlyph,
78
+ ColumnsGlyph,
79
+ TwoColumnsGlyph,
80
+ TagGlyph,
81
+ SortGlyph,
82
+ PositionGlyph,
83
+ ResizeGlyph,
84
+ OverlayGlyph,
85
+ MailGlyph,
86
+ TicketGlyph,
87
+ ButtonGlyph,
75
88
  } from './internal/glyphs';
76
89
  export { contrastRatio, pickForeground } from './utils/color';
77
90
 
@@ -16,6 +16,7 @@ import {
16
16
  EYE,
17
17
  EYE_OFF,
18
18
  FILE,
19
+ FOCUS,
19
20
  GLOBE,
20
21
  IMAGES,
21
22
  KEYBOARD,
@@ -320,3 +321,413 @@ export const SlidersGlyph = imageGlyph(SLIDERS);
320
321
  export const CropGlyph = imageGlyph(CROP);
321
322
  export const EraserGlyph = imageGlyph(ERASER);
322
323
  export const BucketGlyph = imageGlyph(BUCKET);
324
+ export const FocusGlyph = imageGlyph(FOCUS);
325
+
326
+ function lineOf(size: number) {
327
+ return Math.max(1.5, size / 12);
328
+ }
329
+
330
+ export function MonitorGlyph({ color, size }: IconRenderProps) {
331
+ const stroke = lineOf(size);
332
+ return (
333
+ <View style={{ width: size, height: size, alignItems: 'center' }}>
334
+ <View
335
+ style={{
336
+ marginTop: size * 0.16,
337
+ width: size * 0.8,
338
+ height: size * 0.54,
339
+ borderWidth: stroke,
340
+ borderRadius: size * 0.08,
341
+ borderColor: color,
342
+ }}
343
+ />
344
+ <View
345
+ style={{ width: stroke, height: size * 0.12, backgroundColor: color }}
346
+ />
347
+ <View
348
+ style={{
349
+ width: size * 0.36,
350
+ height: stroke,
351
+ borderRadius: stroke,
352
+ backgroundColor: color,
353
+ }}
354
+ />
355
+ </View>
356
+ );
357
+ }
358
+
359
+ export function MobileGlyph({ color, size }: IconRenderProps) {
360
+ const stroke = lineOf(size);
361
+ return (
362
+ <View style={[styles.center, { width: size, height: size }]}>
363
+ <View
364
+ style={{
365
+ width: size * 0.48,
366
+ height: size * 0.78,
367
+ alignItems: 'center',
368
+ justifyContent: 'flex-end',
369
+ paddingBottom: size * 0.08,
370
+ borderWidth: stroke,
371
+ borderRadius: size * 0.12,
372
+ borderColor: color,
373
+ }}
374
+ >
375
+ <View
376
+ style={{
377
+ width: size * 0.12,
378
+ height: stroke,
379
+ borderRadius: stroke,
380
+ backgroundColor: color,
381
+ }}
382
+ />
383
+ </View>
384
+ </View>
385
+ );
386
+ }
387
+
388
+ function columnsGlyph(count: number) {
389
+ return function Columns({ color, size }: IconRenderProps) {
390
+ const stroke = lineOf(size);
391
+ const column = {
392
+ width: size * (count > 2 ? 0.2 : 0.26),
393
+ height: size * 0.66,
394
+ borderWidth: stroke,
395
+ borderRadius: size * 0.06,
396
+ borderColor: color,
397
+ };
398
+ return (
399
+ <View
400
+ style={[
401
+ styles.center,
402
+ { width: size, height: size, flexDirection: 'row', gap: size * 0.06 },
403
+ ]}
404
+ >
405
+ {Array.from({ length: count }, (_, i) => (
406
+ <View key={i} style={column} />
407
+ ))}
408
+ </View>
409
+ );
410
+ };
411
+ }
412
+
413
+ export const ColumnsGlyph = columnsGlyph(3);
414
+
415
+ export const TwoColumnsGlyph = columnsGlyph(2);
416
+
417
+ export function TagGlyph({ color, size }: IconRenderProps) {
418
+ const stroke = lineOf(size);
419
+ const height = size * 0.46;
420
+ const body = size * 0.4;
421
+ const tip = height / Math.SQRT2;
422
+ const hole = stroke * 1.3;
423
+ const round = size * 0.08;
424
+ return (
425
+ <View style={[styles.center, { width: size, height: size }]}>
426
+ <View
427
+ style={{
428
+ width: body + height / 2,
429
+ height,
430
+ transform: [{ rotate: '45deg' }],
431
+ }}
432
+ >
433
+ <View
434
+ style={{
435
+ position: 'absolute',
436
+ left: height / 2,
437
+ top: 0,
438
+ width: body,
439
+ height,
440
+ borderRightWidth: stroke,
441
+ borderTopWidth: stroke,
442
+ borderBottomWidth: stroke,
443
+ borderTopRightRadius: round,
444
+ borderBottomRightRadius: round,
445
+ borderColor: color,
446
+ }}
447
+ />
448
+ <View
449
+ style={{
450
+ position: 'absolute',
451
+ left: (height - tip) / 2,
452
+ top: (height - tip) / 2,
453
+ width: tip,
454
+ height: tip,
455
+ borderLeftWidth: stroke,
456
+ borderBottomWidth: stroke,
457
+ borderBottomLeftRadius: round * 0.75,
458
+ borderColor: color,
459
+ transform: [{ rotate: '45deg' }],
460
+ }}
461
+ />
462
+ <View
463
+ style={{
464
+ position: 'absolute',
465
+ left: height / 2 - hole / 2,
466
+ top: (height - hole) / 2,
467
+ width: hole,
468
+ height: hole,
469
+ borderRadius: hole,
470
+ backgroundColor: color,
471
+ }}
472
+ />
473
+ </View>
474
+ </View>
475
+ );
476
+ }
477
+
478
+ export function SortGlyph({ color, size }: IconRenderProps) {
479
+ const stroke = lineOf(size);
480
+ const head = size * 0.24;
481
+ const shaft = {
482
+ position: 'absolute' as const,
483
+ top: size * 0.16,
484
+ width: stroke,
485
+ height: size * 0.68,
486
+ borderRadius: stroke,
487
+ backgroundColor: color,
488
+ };
489
+ const tip = {
490
+ position: 'absolute' as const,
491
+ width: head,
492
+ height: head,
493
+ borderColor: color,
494
+ transform: [{ rotate: '45deg' }],
495
+ };
496
+ const left = size * 0.3;
497
+ const right = size * 0.7;
498
+ return (
499
+ <View style={{ width: size, height: size }}>
500
+ <View style={[shaft, { left: left - stroke / 2 }]} />
501
+ <View
502
+ style={[
503
+ tip,
504
+ {
505
+ left: left - head / 2,
506
+ top: size * 0.84 - head * 1.2,
507
+ borderRightWidth: stroke,
508
+ borderBottomWidth: stroke,
509
+ },
510
+ ]}
511
+ />
512
+ <View style={[shaft, { left: right - stroke / 2 }]} />
513
+ <View
514
+ style={[
515
+ tip,
516
+ {
517
+ left: right - head / 2,
518
+ top: size * 0.16 + head * 0.2,
519
+ borderLeftWidth: stroke,
520
+ borderTopWidth: stroke,
521
+ },
522
+ ]}
523
+ />
524
+ </View>
525
+ );
526
+ }
527
+
528
+ export function PositionGlyph({ color, size }: IconRenderProps) {
529
+ const stroke = lineOf(size);
530
+ const box = size * 0.78;
531
+ const dot = size * 0.26;
532
+ return (
533
+ <View style={[styles.center, { width: size, height: size }]}>
534
+ <View
535
+ style={{
536
+ width: box,
537
+ height: box * 0.92,
538
+ alignItems: 'flex-end',
539
+ justifyContent: 'flex-end',
540
+ padding: size * 0.1,
541
+ borderWidth: stroke,
542
+ borderRadius: size * 0.12,
543
+ borderColor: color,
544
+ }}
545
+ >
546
+ <View
547
+ style={{
548
+ width: dot,
549
+ height: dot,
550
+ borderRadius: size * 0.04,
551
+ backgroundColor: color,
552
+ }}
553
+ />
554
+ </View>
555
+ </View>
556
+ );
557
+ }
558
+
559
+ export function ResizeGlyph({ color, size }: IconRenderProps) {
560
+ const stroke = lineOf(size);
561
+ const arm = size * 0.3;
562
+ const line = {
563
+ position: 'absolute' as const,
564
+ left: size * 0.12,
565
+ top: (size - stroke) / 2,
566
+ width: size * 0.76,
567
+ height: stroke,
568
+ borderRadius: stroke,
569
+ backgroundColor: color,
570
+ transform: [{ rotate: '-45deg' }],
571
+ };
572
+ const corner = {
573
+ position: 'absolute' as const,
574
+ width: arm,
575
+ height: arm,
576
+ borderColor: color,
577
+ };
578
+ return (
579
+ <View style={{ width: size, height: size }}>
580
+ <View style={line} />
581
+ <View
582
+ style={[
583
+ corner,
584
+ {
585
+ right: size * 0.14,
586
+ top: size * 0.14,
587
+ borderTopWidth: stroke,
588
+ borderRightWidth: stroke,
589
+ },
590
+ ]}
591
+ />
592
+ <View
593
+ style={[
594
+ corner,
595
+ {
596
+ left: size * 0.14,
597
+ bottom: size * 0.14,
598
+ borderBottomWidth: stroke,
599
+ borderLeftWidth: stroke,
600
+ },
601
+ ]}
602
+ />
603
+ </View>
604
+ );
605
+ }
606
+
607
+ export function OverlayGlyph({ color, size }: IconRenderProps) {
608
+ const stroke = lineOf(size);
609
+ const box = size * 0.78;
610
+ const hatch = {
611
+ position: 'absolute' as const,
612
+ width: box * 1.6,
613
+ height: stroke * 0.85,
614
+ backgroundColor: color,
615
+ transform: [{ rotate: '-45deg' }],
616
+ };
617
+ return (
618
+ <View style={[styles.center, { width: size, height: size }]}>
619
+ <View
620
+ style={[
621
+ styles.center,
622
+ {
623
+ width: box,
624
+ height: box * 0.92,
625
+ overflow: 'hidden',
626
+ borderWidth: stroke,
627
+ borderRadius: size * 0.12,
628
+ borderColor: color,
629
+ },
630
+ ]}
631
+ >
632
+ <View style={[hatch, { top: box * 0.06 }]} />
633
+ <View style={hatch} />
634
+ <View style={[hatch, { bottom: box * 0.06 }]} />
635
+ </View>
636
+ </View>
637
+ );
638
+ }
639
+
640
+ export function MailGlyph({ color, size }: IconRenderProps) {
641
+ const stroke = lineOf(size);
642
+ const width = size * 0.8;
643
+ const height = size * 0.6;
644
+ const flap = width * 0.58;
645
+ return (
646
+ <View style={[styles.center, { width: size, height: size }]}>
647
+ <View
648
+ style={{
649
+ width,
650
+ height,
651
+ alignItems: 'center',
652
+ overflow: 'hidden',
653
+ borderWidth: stroke,
654
+ borderRadius: size * 0.08,
655
+ borderColor: color,
656
+ }}
657
+ >
658
+ <View
659
+ style={{
660
+ width: flap,
661
+ height: flap,
662
+ marginTop: -flap * 0.62,
663
+ borderRightWidth: stroke,
664
+ borderBottomWidth: stroke,
665
+ borderColor: color,
666
+ transform: [{ rotate: '45deg' }],
667
+ }}
668
+ />
669
+ </View>
670
+ </View>
671
+ );
672
+ }
673
+
674
+ export function TicketGlyph({ color, size }: IconRenderProps) {
675
+ const stroke = lineOf(size);
676
+ const height = size * 0.6;
677
+ const dash = {
678
+ width: stroke,
679
+ height: height * 0.16,
680
+ borderRadius: stroke,
681
+ backgroundColor: color,
682
+ };
683
+ return (
684
+ <View style={[styles.center, { width: size, height: size }]}>
685
+ <View
686
+ style={{
687
+ width: size * 0.82,
688
+ height,
689
+ justifyContent: 'center',
690
+ paddingLeft: size * 0.24,
691
+ borderWidth: stroke,
692
+ borderRadius: size * 0.1,
693
+ borderColor: color,
694
+ }}
695
+ >
696
+ <View style={{ gap: height * 0.1 }}>
697
+ <View style={dash} />
698
+ <View style={dash} />
699
+ <View style={dash} />
700
+ </View>
701
+ </View>
702
+ </View>
703
+ );
704
+ }
705
+
706
+ export function ButtonGlyph({ color, size }: IconRenderProps) {
707
+ const stroke = lineOf(size);
708
+ return (
709
+ <View style={[styles.center, { width: size, height: size }]}>
710
+ <View
711
+ style={[
712
+ styles.center,
713
+ {
714
+ width: size * 0.84,
715
+ height: size * 0.46,
716
+ borderWidth: stroke,
717
+ borderRadius: size,
718
+ borderColor: color,
719
+ },
720
+ ]}
721
+ >
722
+ <View
723
+ style={{
724
+ width: size * 0.4,
725
+ height: stroke,
726
+ borderRadius: stroke,
727
+ backgroundColor: color,
728
+ }}
729
+ />
730
+ </View>
731
+ </View>
732
+ );
733
+ }
@@ -105,3 +105,5 @@ export const ERASER =
105
105
  'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAAAsTAAALEwEAmpwYAAADVklEQVR42u2dy2oUQRSGa1ZqdOHG6Au470xGn0ESfQHNCwhidIII4sadtyS4cOvKCOLWVRIF3ajPYbLTURzBhWA8DdWiwXRXd9flnFP/Dz8ETdIz39e36a7qGIMgCIIgCIIgCCI/A+qQukQd2y7ZfxsAT7jMUlepu9S9A7prv2cWuPyu8SvUaQ34/Z3an8EW0TOHqRstwO/vM+oRYOyWEtxWD/hV31CPAmca+JDQEf6mR/hVt7A78gv/nT3jWbVfQ0Ik+F+oC//5+UX7f5AQcJ//lXq25vfMUT/hmJAGPiQwgA8JDOBDAgP4kMAAPiQwgA8JDOBDAgP4WUvgAj9LCdzgZyWBK/y/JXzWKoE7fNUSpMBXKUEafFUSpMJXIUE6fNEStMAXKaHNbcSRoLO4kePtzU07dglrfsIt4YVJMAJP65rfdUsYA35aCdNYA4Jzg99GwsMY8LczhO8qYSfkseA49WPG8Kucb3j/Rag1fwfw/+R9DYOLIeC/Bvx/shbrbKjNQNn7Jp9EEdB2iPgv6pVMBHwIvQvqOj4/BwkXQh+E+06OKCVcVQp/PvRpqK+ZKRollPAnDe/7QaxPuI8yk+AC/xv1RMzLCzcykeACv+x102MebtdrO9oluMJ/anrMQN/o+SFLqwRX+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