@ezpg/app-ui 0.19.0 → 0.20.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 (1300) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/lib/module/adjust/axis-dial-group.js +48 -0
  3. package/lib/module/adjust/axis-dial-group.js.map +1 -0
  4. package/lib/module/adjust/axis-dial.js +288 -0
  5. package/lib/module/adjust/axis-dial.js.map +1 -0
  6. package/lib/module/adjust/brand-feel-art.js +155 -0
  7. package/lib/module/adjust/brand-feel-art.js.map +1 -0
  8. package/lib/module/adjust/dial-strip.js +51 -18
  9. package/lib/module/adjust/dial-strip.js.map +1 -1
  10. package/lib/module/adjust/index.js +4 -1
  11. package/lib/module/adjust/index.js.map +1 -1
  12. package/lib/module/blocks/art-frame/art-frame.js +27 -0
  13. package/lib/module/blocks/art-frame/art-frame.js.map +1 -0
  14. package/lib/module/blocks/art-frame/index.js +4 -0
  15. package/lib/module/blocks/art-frame/index.js.map +1 -0
  16. package/lib/module/blocks/brand-palette-art/brand-palette-art.js +111 -0
  17. package/lib/module/blocks/brand-palette-art/brand-palette-art.js.map +1 -0
  18. package/lib/module/blocks/brand-palette-art/index.js +4 -0
  19. package/lib/module/blocks/brand-palette-art/index.js.map +1 -0
  20. package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js +99 -43
  21. package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js.map +1 -1
  22. package/lib/module/blocks/bulk-ship-list/index.js +1 -1
  23. package/lib/module/blocks/bulk-ship-list/index.js.map +1 -1
  24. package/lib/module/blocks/chat-message/chat-message.js +60 -0
  25. package/lib/module/blocks/chat-message/chat-message.js.map +1 -0
  26. package/lib/module/blocks/chat-message/index.js +4 -0
  27. package/lib/module/blocks/chat-message/index.js.map +1 -0
  28. package/lib/module/blocks/claim-status/claim-status.js +12 -0
  29. package/lib/module/blocks/claim-status/claim-status.js.map +1 -0
  30. package/lib/module/blocks/claim-status/index.js +4 -0
  31. package/lib/module/blocks/claim-status/index.js.map +1 -0
  32. package/lib/module/blocks/color-band-list/color-band-list.js +94 -0
  33. package/lib/module/blocks/color-band-list/color-band-list.js.map +1 -0
  34. package/lib/module/blocks/color-band-list/index.js +4 -0
  35. package/lib/module/blocks/color-band-list/index.js.map +1 -0
  36. package/lib/module/blocks/color-family-tabs/color-family-tabs.js +80 -0
  37. package/lib/module/blocks/color-family-tabs/color-family-tabs.js.map +1 -0
  38. package/lib/module/blocks/color-family-tabs/index.js +4 -0
  39. package/lib/module/blocks/color-family-tabs/index.js.map +1 -0
  40. package/lib/module/blocks/color-hero/color-hero.js +96 -0
  41. package/lib/module/blocks/color-hero/color-hero.js.map +1 -0
  42. package/lib/module/blocks/color-hero/index.js +4 -0
  43. package/lib/module/blocks/color-hero/index.js.map +1 -0
  44. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +66 -5
  45. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js.map +1 -1
  46. package/lib/module/blocks/color-tune/color-tune.js +92 -0
  47. package/lib/module/blocks/color-tune/color-tune.js.map +1 -0
  48. package/lib/module/blocks/color-tune/index.js +7 -0
  49. package/lib/module/blocks/color-tune/index.js.map +1 -0
  50. package/lib/module/blocks/color-tune/store-sample.js +291 -0
  51. package/lib/module/blocks/color-tune/store-sample.js.map +1 -0
  52. package/lib/module/blocks/color-tune/swatch-card.js +126 -0
  53. package/lib/module/blocks/color-tune/swatch-card.js.map +1 -0
  54. package/lib/module/blocks/color-tune/tone-slider.js +206 -0
  55. package/lib/module/blocks/color-tune/tone-slider.js.map +1 -0
  56. package/lib/module/blocks/consent-list/consent-list.js +11 -4
  57. package/lib/module/blocks/consent-list/consent-list.js.map +1 -1
  58. package/lib/module/blocks/detail-editor/compare-slider.js +90 -20
  59. package/lib/module/blocks/detail-editor/compare-slider.js.map +1 -1
  60. package/lib/module/blocks/detail-editor/detail-canvas.js +516 -39
  61. package/lib/module/blocks/detail-editor/detail-canvas.js.map +1 -1
  62. package/lib/module/blocks/detail-editor/detail-types.js +29 -0
  63. package/lib/module/blocks/detail-editor/detail-types.js.map +1 -1
  64. package/lib/module/blocks/detail-editor/effect-picker.js +54 -0
  65. package/lib/module/blocks/detail-editor/effect-picker.js.map +1 -0
  66. package/lib/module/blocks/detail-editor/font-picker.js +36 -2
  67. package/lib/module/blocks/detail-editor/font-picker.js.map +1 -1
  68. package/lib/module/blocks/detail-editor/index.js +2 -7
  69. package/lib/module/blocks/detail-editor/index.js.map +1 -1
  70. package/lib/module/blocks/detail-editor/layout-picker.js +104 -13
  71. package/lib/module/blocks/detail-editor/layout-picker.js.map +1 -1
  72. package/lib/module/blocks/detail-editor/structure-picker.js +3 -2
  73. package/lib/module/blocks/detail-editor/structure-picker.js.map +1 -1
  74. package/lib/module/blocks/detail-studio/adjust-tiles.js +80 -0
  75. package/lib/module/blocks/detail-studio/adjust-tiles.js.map +1 -0
  76. package/lib/module/blocks/detail-studio/asset-grid.js +243 -0
  77. package/lib/module/blocks/detail-studio/asset-grid.js.map +1 -0
  78. package/lib/module/blocks/detail-studio/confirm-row.js +37 -0
  79. package/lib/module/blocks/detail-studio/confirm-row.js.map +1 -0
  80. package/lib/module/blocks/detail-studio/detail-studio-template.js +41 -0
  81. package/lib/module/blocks/detail-studio/detail-studio-template.js.map +1 -0
  82. package/lib/module/blocks/detail-studio/image-prompt.js +140 -0
  83. package/lib/module/blocks/detail-studio/image-prompt.js.map +1 -0
  84. package/lib/module/blocks/detail-studio/index.js +19 -0
  85. package/lib/module/blocks/detail-studio/index.js.map +1 -0
  86. package/lib/module/blocks/detail-studio/keyboard-bar.js +67 -0
  87. package/lib/module/blocks/detail-studio/keyboard-bar.js.map +1 -0
  88. package/lib/module/blocks/detail-studio/photo-tool-bar.js +100 -0
  89. package/lib/module/blocks/detail-studio/photo-tool-bar.js.map +1 -0
  90. package/lib/module/blocks/detail-studio/rewrite-tray.js +90 -0
  91. package/lib/module/blocks/detail-studio/rewrite-tray.js.map +1 -0
  92. package/lib/module/blocks/detail-studio/section-edit-template.js +114 -0
  93. package/lib/module/blocks/detail-studio/section-edit-template.js.map +1 -0
  94. package/lib/module/blocks/detail-studio/section-kind-grid.js +287 -0
  95. package/lib/module/blocks/detail-studio/section-kind-grid.js.map +1 -0
  96. package/lib/module/blocks/detail-studio/section-settings.js +100 -0
  97. package/lib/module/blocks/detail-studio/section-settings.js.map +1 -0
  98. package/lib/module/blocks/detail-studio/section-thumb.js +49 -0
  99. package/lib/module/blocks/detail-studio/section-thumb.js.map +1 -0
  100. package/lib/module/blocks/detail-studio/studio-bar.js +150 -0
  101. package/lib/module/blocks/detail-studio/studio-bar.js.map +1 -0
  102. package/lib/module/blocks/detail-studio/studio-dock.js +81 -0
  103. package/lib/module/blocks/detail-studio/studio-dock.js.map +1 -0
  104. package/lib/module/blocks/detail-studio/studio-sheet.js +55 -0
  105. package/lib/module/blocks/detail-studio/studio-sheet.js.map +1 -0
  106. package/lib/module/blocks/detail-studio/text-format-panel.js +212 -0
  107. package/lib/module/blocks/detail-studio/text-format-panel.js.map +1 -0
  108. package/lib/module/blocks/draft-box/draft-box.js +97 -0
  109. package/lib/module/blocks/draft-box/draft-box.js.map +1 -0
  110. package/lib/module/blocks/draft-box/index.js +4 -0
  111. package/lib/module/blocks/draft-box/index.js.map +1 -0
  112. package/lib/module/blocks/feed-row/feed-row.js +168 -0
  113. package/lib/module/blocks/feed-row/feed-row.js.map +1 -0
  114. package/lib/module/blocks/feed-row/index.js +4 -0
  115. package/lib/module/blocks/feed-row/index.js.map +1 -0
  116. package/lib/module/blocks/generation-progress/generation-progress.js +2 -2
  117. package/lib/module/blocks/generation-progress/generation-progress.js.map +1 -1
  118. package/lib/module/blocks/index.js +20 -19
  119. package/lib/module/blocks/index.js.map +1 -1
  120. package/lib/module/blocks/internal/card.js +9 -52
  121. package/lib/module/blocks/internal/card.js.map +1 -1
  122. package/lib/module/blocks/invite-card/invite-card.js +7 -6
  123. package/lib/module/blocks/invite-card/invite-card.js.map +1 -1
  124. package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js +2 -2
  125. package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js.map +1 -1
  126. package/lib/module/blocks/mockup-strip/index.js +4 -0
  127. package/lib/module/blocks/mockup-strip/index.js.map +1 -0
  128. package/lib/module/blocks/mockup-strip/mockup-strip.js +56 -0
  129. package/lib/module/blocks/mockup-strip/mockup-strip.js.map +1 -0
  130. package/lib/module/blocks/oauth-buttons/oauth-buttons.js +4 -0
  131. package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -1
  132. package/lib/module/blocks/order-block/index.js +4 -0
  133. package/lib/module/blocks/order-block/index.js.map +1 -0
  134. package/lib/module/blocks/order-block/order-block.js +196 -0
  135. package/lib/module/blocks/order-block/order-block.js.map +1 -0
  136. package/lib/module/blocks/order-status/index.js +4 -0
  137. package/lib/module/blocks/order-status/index.js.map +1 -0
  138. package/lib/module/blocks/order-status/order-status.js +23 -0
  139. package/lib/module/blocks/order-status/order-status.js.map +1 -0
  140. package/lib/module/blocks/palette-block/index.js +4 -0
  141. package/lib/module/blocks/palette-block/index.js.map +1 -0
  142. package/lib/module/blocks/palette-block/palette-block.js +312 -0
  143. package/lib/module/blocks/palette-block/palette-block.js.map +1 -0
  144. package/lib/module/blocks/photo-field/index.js +4 -0
  145. package/lib/module/blocks/photo-field/index.js.map +1 -0
  146. package/lib/module/blocks/photo-field/photo-field.js +215 -0
  147. package/lib/module/blocks/photo-field/photo-field.js.map +1 -0
  148. package/lib/module/blocks/photo-grid/photo-grid.js +12 -11
  149. package/lib/module/blocks/photo-grid/photo-grid.js.map +1 -1
  150. package/lib/module/blocks/product-tile/product-tile.js +2 -2
  151. package/lib/module/blocks/product-tile/product-tile.js.map +1 -1
  152. package/lib/module/blocks/question-accordion/question-accordion.js +4 -3
  153. package/lib/module/blocks/question-accordion/question-accordion.js.map +1 -1
  154. package/lib/module/blocks/question-pager/index.js +4 -0
  155. package/lib/module/blocks/question-pager/index.js.map +1 -0
  156. package/lib/module/blocks/question-pager/question-pager.js +394 -0
  157. package/lib/module/blocks/question-pager/question-pager.js.map +1 -0
  158. package/lib/module/blocks/quick-actions/quick-actions.js +17 -6
  159. package/lib/module/blocks/quick-actions/quick-actions.js.map +1 -1
  160. package/lib/module/blocks/request-card/request-card.js +4 -6
  161. package/lib/module/blocks/request-card/request-card.js.map +1 -1
  162. package/lib/module/blocks/review-card/index.js +4 -0
  163. package/lib/module/blocks/review-card/index.js.map +1 -0
  164. package/lib/module/blocks/review-card/review-card.js +155 -0
  165. package/lib/module/blocks/review-card/review-card.js.map +1 -0
  166. package/lib/module/blocks/scan-modal/scan-modal.js +42 -6
  167. package/lib/module/blocks/scan-modal/scan-modal.js.map +1 -1
  168. package/lib/module/blocks/selection-bar/selection-bar.js +87 -29
  169. package/lib/module/blocks/selection-bar/selection-bar.js.map +1 -1
  170. package/lib/module/blocks/send-bar/index.js +4 -0
  171. package/lib/module/blocks/send-bar/index.js.map +1 -0
  172. package/lib/module/blocks/send-bar/send-bar.js +99 -0
  173. package/lib/module/blocks/send-bar/send-bar.js.map +1 -0
  174. package/lib/module/blocks/service-state-banner/service-state-banner.js +2 -2
  175. package/lib/module/blocks/service-state-banner/service-state-banner.js.map +1 -1
  176. package/lib/module/blocks/setup-guide/setup-guide.js +1 -1
  177. package/lib/module/blocks/setup-guide/setup-guide.js.map +1 -1
  178. package/lib/module/blocks/slider-list/slider-list.js +51 -15
  179. package/lib/module/blocks/slider-list/slider-list.js.map +1 -1
  180. package/lib/module/blocks/stage-bar/stage-bar.js +87 -29
  181. package/lib/module/blocks/stage-bar/stage-bar.js.map +1 -1
  182. package/lib/module/blocks/stat-card/stat-card.js +2 -2
  183. package/lib/module/blocks/stat-card/stat-card.js.map +1 -1
  184. package/lib/module/blocks/step-screen/index.js.map +1 -1
  185. package/lib/module/blocks/step-screen/step-screen.js +214 -65
  186. package/lib/module/blocks/step-screen/step-screen.js.map +1 -1
  187. package/lib/module/blocks/store-sheet/store-sheet.js +2 -5
  188. package/lib/module/blocks/store-sheet/store-sheet.js.map +1 -1
  189. package/lib/module/blocks/store-top/index.js +4 -0
  190. package/lib/module/blocks/store-top/index.js.map +1 -0
  191. package/lib/module/blocks/store-top/store-top.js +249 -0
  192. package/lib/module/blocks/store-top/store-top.js.map +1 -0
  193. package/lib/module/blocks/summary-cards/summary-cards.js +13 -103
  194. package/lib/module/blocks/summary-cards/summary-cards.js.map +1 -1
  195. package/lib/module/blocks/task-tiles/task-tiles.js +2 -6
  196. package/lib/module/blocks/task-tiles/task-tiles.js.map +1 -1
  197. package/lib/module/blocks/token-sample/index.js +4 -0
  198. package/lib/module/blocks/token-sample/index.js.map +1 -0
  199. package/lib/module/blocks/token-sample/token-sample.js +72 -0
  200. package/lib/module/blocks/token-sample/token-sample.js.map +1 -0
  201. package/lib/module/blocks/tone-strip/index.js +4 -0
  202. package/lib/module/blocks/tone-strip/index.js.map +1 -0
  203. package/lib/module/blocks/tone-strip/tone-strip.js +34 -0
  204. package/lib/module/blocks/tone-strip/tone-strip.js.map +1 -0
  205. package/lib/module/charts/day-bars.js +64 -0
  206. package/lib/module/charts/day-bars.js.map +1 -0
  207. package/lib/module/charts/index.js +2 -2
  208. package/lib/module/charts/index.js.map +1 -1
  209. package/lib/module/charts/mini-bars.js +1 -1
  210. package/lib/module/charts/mini-bars.js.map +1 -1
  211. package/lib/module/charts/progress-ring.js +55 -0
  212. package/lib/module/charts/progress-ring.js.map +1 -0
  213. package/lib/module/charts.js +0 -1
  214. package/lib/module/charts.js.map +1 -1
  215. package/lib/module/components/action-row/action-row.js +34 -0
  216. package/lib/module/components/action-row/action-row.js.map +1 -0
  217. package/lib/module/components/action-row/index.js +4 -0
  218. package/lib/module/components/action-row/index.js.map +1 -0
  219. package/lib/module/components/amount-summary/amount-summary.js +125 -0
  220. package/lib/module/components/amount-summary/amount-summary.js.map +1 -0
  221. package/lib/module/components/amount-summary/index.js +4 -0
  222. package/lib/module/components/amount-summary/index.js.map +1 -0
  223. package/lib/module/components/bubble/bubble.js +46 -0
  224. package/lib/module/components/bubble/bubble.js.map +1 -0
  225. package/lib/module/components/bubble/index.js +4 -0
  226. package/lib/module/components/bubble/index.js.map +1 -0
  227. package/lib/module/components/button/button.js +122 -32
  228. package/lib/module/components/button/button.js.map +1 -1
  229. package/lib/module/components/button/index.js +1 -0
  230. package/lib/module/components/button/index.js.map +1 -1
  231. package/lib/module/components/button/use-finish.js +30 -0
  232. package/lib/module/components/button/use-finish.js.map +1 -0
  233. package/lib/module/components/calendar/calendar.js +15 -10
  234. package/lib/module/components/calendar/calendar.js.map +1 -1
  235. package/lib/module/components/card-block/card-block.js +23 -0
  236. package/lib/module/components/card-block/card-block.js.map +1 -0
  237. package/lib/module/components/card-block/index.js +4 -0
  238. package/lib/module/components/card-block/index.js.map +1 -0
  239. package/lib/module/components/checkbox/checkbox.js +16 -8
  240. package/lib/module/components/checkbox/checkbox.js.map +1 -1
  241. package/lib/module/components/chip/chip.js +56 -31
  242. package/lib/module/components/chip/chip.js.map +1 -1
  243. package/lib/module/components/chip/index.js.map +1 -1
  244. package/lib/module/components/chip-group/chip-group.js +24 -15
  245. package/lib/module/components/chip-group/chip-group.js.map +1 -1
  246. package/lib/module/components/circle-grid/circle-grid.js +115 -59
  247. package/lib/module/components/circle-grid/circle-grid.js.map +1 -1
  248. package/lib/module/components/credit/credit.js +69 -0
  249. package/lib/module/components/credit/credit.js.map +1 -0
  250. package/lib/module/components/credit/index.js +4 -0
  251. package/lib/module/components/credit/index.js.map +1 -0
  252. package/lib/module/components/dialog/dialog.js +8 -5
  253. package/lib/module/components/dialog/dialog.js.map +1 -1
  254. package/lib/module/components/dropdown-menu/dropdown-menu.js +102 -0
  255. package/lib/module/components/dropdown-menu/dropdown-menu.js.map +1 -0
  256. package/lib/module/components/dropdown-menu/index.js +4 -0
  257. package/lib/module/components/dropdown-menu/index.js.map +1 -0
  258. package/lib/module/components/empty-state/empty-state.js +6 -6
  259. package/lib/module/components/empty-state/empty-state.js.map +1 -1
  260. package/lib/module/components/fact-list/fact-list.js +37 -0
  261. package/lib/module/components/fact-list/fact-list.js.map +1 -0
  262. package/lib/module/components/fact-list/index.js +4 -0
  263. package/lib/module/components/fact-list/index.js.map +1 -0
  264. package/lib/module/components/field/field.js +126 -32
  265. package/lib/module/components/field/field.js.map +1 -1
  266. package/lib/module/components/filter-tabs/filter-tabs.js +175 -0
  267. package/lib/module/components/filter-tabs/filter-tabs.js.map +1 -0
  268. package/lib/module/components/filter-tabs/index.js +4 -0
  269. package/lib/module/components/filter-tabs/index.js.map +1 -0
  270. package/lib/module/components/floating-tab-bar/floating-tab-bar.js +66 -31
  271. package/lib/module/components/floating-tab-bar/floating-tab-bar.js.map +1 -1
  272. package/lib/module/components/icon-button/icon-button.js +56 -0
  273. package/lib/module/components/icon-button/icon-button.js.map +1 -0
  274. package/lib/module/components/icon-button/index.js +4 -0
  275. package/lib/module/components/icon-button/index.js.map +1 -0
  276. package/lib/module/components/list-row/list-row.js +42 -19
  277. package/lib/module/components/list-row/list-row.js.map +1 -1
  278. package/lib/module/components/page-header/page-header.js +6 -9
  279. package/lib/module/components/page-header/page-header.js.map +1 -1
  280. package/lib/module/components/page-header/store-header.js +2 -2
  281. package/lib/module/components/page-header/store-header.js.map +1 -1
  282. package/lib/module/components/photo/photo.js +8 -1
  283. package/lib/module/components/photo/photo.js.map +1 -1
  284. package/lib/module/components/pill/index.js +4 -0
  285. package/lib/module/components/pill/index.js.map +1 -0
  286. package/lib/module/components/pill/pill.js +73 -0
  287. package/lib/module/components/pill/pill.js.map +1 -0
  288. package/lib/module/components/price/index.js +1 -1
  289. package/lib/module/components/price/index.js.map +1 -1
  290. package/lib/module/components/price/price.js +0 -62
  291. package/lib/module/components/price/price.js.map +1 -1
  292. package/lib/module/components/progress-bar/progress-bar.js +3 -3
  293. package/lib/module/components/progress-bar/progress-bar.js.map +1 -1
  294. package/lib/module/components/progress-circle/progress-circle.js +6 -2
  295. package/lib/module/components/progress-circle/progress-circle.js.map +1 -1
  296. package/lib/module/components/result-mark/result-mark.js +3 -5
  297. package/lib/module/components/result-mark/result-mark.js.map +1 -1
  298. package/lib/module/components/search-field/search-field.js +5 -2
  299. package/lib/module/components/search-field/search-field.js.map +1 -1
  300. package/lib/module/components/section-tabs/section-tabs.js +97 -31
  301. package/lib/module/components/section-tabs/section-tabs.js.map +1 -1
  302. package/lib/module/components/segmented-control/index.js +4 -0
  303. package/lib/module/components/segmented-control/index.js.map +1 -0
  304. package/lib/module/components/segmented-control/segmented-control.js +74 -0
  305. package/lib/module/components/segmented-control/segmented-control.js.map +1 -0
  306. package/lib/module/components/segmented-tabs/segmented-tabs.js +102 -45
  307. package/lib/module/components/segmented-tabs/segmented-tabs.js.map +1 -1
  308. package/lib/module/components/sheet/index.js.map +1 -1
  309. package/lib/module/components/sheet/sheet.js +93 -16
  310. package/lib/module/components/sheet/sheet.js.map +1 -1
  311. package/lib/module/components/skeleton/skeleton.js +44 -24
  312. package/lib/module/components/skeleton/skeleton.js.map +1 -1
  313. package/lib/module/components/slider/slider.js +72 -14
  314. package/lib/module/components/slider/slider.js.map +1 -1
  315. package/lib/module/components/status-badge/status-badge.js +21 -6
  316. package/lib/module/components/status-badge/status-badge.js.map +1 -1
  317. package/lib/module/components/status-steps/status-steps.js +249 -41
  318. package/lib/module/components/status-steps/status-steps.js.map +1 -1
  319. package/lib/module/components/stepper/stepper.js +5 -11
  320. package/lib/module/components/stepper/stepper.js.map +1 -1
  321. package/lib/module/components/text/text.js +1 -4
  322. package/lib/module/components/text/text.js.map +1 -1
  323. package/lib/module/components/text-links/text-links.js +16 -4
  324. package/lib/module/components/text-links/text-links.js.map +1 -1
  325. package/lib/module/components/thumb-strip/index.js +4 -0
  326. package/lib/module/components/thumb-strip/index.js.map +1 -0
  327. package/lib/module/components/thumb-strip/thumb-strip.js +43 -0
  328. package/lib/module/components/thumb-strip/thumb-strip.js.map +1 -0
  329. package/lib/module/components/tile-grid/index.js +4 -0
  330. package/lib/module/components/tile-grid/index.js.map +1 -0
  331. package/lib/module/components/tile-grid/tile-grid.js +245 -0
  332. package/lib/module/components/tile-grid/tile-grid.js.map +1 -0
  333. package/lib/module/components/toast/toast.js +53 -21
  334. package/lib/module/components/toast/toast.js.map +1 -1
  335. package/lib/module/components/value-rows/index.js +4 -0
  336. package/lib/module/components/value-rows/index.js.map +1 -0
  337. package/lib/module/components/value-rows/value-rows.js +71 -0
  338. package/lib/module/components/value-rows/value-rows.js.map +1 -0
  339. package/lib/module/components/wizard-steps/wizard-steps.js +1 -1
  340. package/lib/module/components/wizard-steps/wizard-steps.js.map +1 -1
  341. package/lib/module/index.js +17 -2
  342. package/lib/module/index.js.map +1 -1
  343. package/lib/module/internal/check-disc.js +40 -0
  344. package/lib/module/internal/check-disc.js.map +1 -0
  345. package/lib/module/internal/drawn-check.js +49 -0
  346. package/lib/module/internal/drawn-check.js.map +1 -0
  347. package/lib/module/internal/field-label.js +55 -0
  348. package/lib/module/internal/field-label.js.map +1 -0
  349. package/lib/module/internal/glyphs.js +86 -43
  350. package/lib/module/internal/glyphs.js.map +1 -1
  351. package/lib/module/internal/haptics.js +10 -0
  352. package/lib/module/internal/haptics.js.map +1 -0
  353. package/lib/module/internal/line-icons.js +27 -0
  354. package/lib/module/internal/line-icons.js.map +1 -1
  355. package/lib/module/internal/motion.js +62 -0
  356. package/lib/module/internal/motion.js.map +1 -0
  357. package/lib/module/internal/overlay.js +12 -5
  358. package/lib/module/internal/overlay.js.map +1 -1
  359. package/lib/module/internal/pop-check.js +31 -0
  360. package/lib/module/internal/pop-check.js.map +1 -0
  361. package/lib/module/internal/pressable-base.js +101 -11
  362. package/lib/module/internal/pressable-base.js.map +1 -1
  363. package/lib/module/internal/pulse.js +56 -0
  364. package/lib/module/internal/pulse.js.map +1 -0
  365. package/lib/module/internal/retry-glyph.js +52 -0
  366. package/lib/module/internal/retry-glyph.js.map +1 -0
  367. package/lib/module/internal/roll-text.js +51 -0
  368. package/lib/module/internal/roll-text.js.map +1 -0
  369. package/lib/module/internal/sample-tiles.js +83 -0
  370. package/lib/module/internal/sample-tiles.js.map +1 -0
  371. package/lib/module/internal/selection.js +12 -0
  372. package/lib/module/internal/selection.js.map +1 -0
  373. package/lib/module/internal/settle.js +23 -0
  374. package/lib/module/internal/settle.js.map +1 -0
  375. package/lib/module/internal/sheet-head.js +93 -0
  376. package/lib/module/internal/sheet-head.js.map +1 -0
  377. package/lib/module/internal/steady-text.js +42 -0
  378. package/lib/module/internal/steady-text.js.map +1 -0
  379. package/lib/module/internal/tab-icons.js +0 -2
  380. package/lib/module/internal/tab-icons.js.map +1 -1
  381. package/lib/module/internal/undo-glyph.js +57 -0
  382. package/lib/module/internal/undo-glyph.js.map +1 -0
  383. package/lib/module/internal/use-slide.js +81 -0
  384. package/lib/module/internal/use-slide.js.map +1 -0
  385. package/lib/module/sortable/index.js +1 -1
  386. package/lib/module/sortable/index.js.map +1 -1
  387. package/lib/module/sortable/section-board.js +396 -0
  388. package/lib/module/sortable/section-board.js.map +1 -0
  389. package/lib/module/sortable/sortable-grid.js +3 -1
  390. package/lib/module/sortable/sortable-grid.js.map +1 -1
  391. package/lib/module/sortable.js +1 -2
  392. package/lib/module/sortable.js.map +1 -1
  393. package/lib/module/templates/calendar-template.js +11 -1
  394. package/lib/module/templates/calendar-template.js.map +1 -1
  395. package/lib/module/templates/design-pick-template.js +243 -0
  396. package/lib/module/templates/design-pick-template.js.map +1 -0
  397. package/lib/module/templates/index.js +1 -1
  398. package/lib/module/templates/index.js.map +1 -1
  399. package/lib/module/templates/intro-template.js +4 -20
  400. package/lib/module/templates/intro-template.js.map +1 -1
  401. package/lib/module/templates/list-template.js +34 -31
  402. package/lib/module/templates/list-template.js.map +1 -1
  403. package/lib/module/templates/notice-template.js +12 -31
  404. package/lib/module/templates/notice-template.js.map +1 -1
  405. package/lib/module/templates/parts.js +108 -46
  406. package/lib/module/templates/parts.js.map +1 -1
  407. package/lib/module/templates/preview-template.js +1 -4
  408. package/lib/module/templates/preview-template.js.map +1 -1
  409. package/lib/module/templates/result-template.js +23 -39
  410. package/lib/module/templates/result-template.js.map +1 -1
  411. package/lib/module/templates/scroll-templates.js +80 -3
  412. package/lib/module/templates/scroll-templates.js.map +1 -1
  413. package/lib/module/templates/selection-template.js +10 -1
  414. package/lib/module/templates/selection-template.js.map +1 -1
  415. package/lib/module/templates/sheet-form-template.js +25 -21
  416. package/lib/module/templates/sheet-form-template.js.map +1 -1
  417. package/lib/module/theme/base.js +53 -7
  418. package/lib/module/theme/base.js.map +1 -1
  419. package/lib/module/theme/tokens.js +2 -1
  420. package/lib/module/theme/tokens.js.map +1 -1
  421. package/lib/module/utils/color.js +14 -0
  422. package/lib/module/utils/color.js.map +1 -1
  423. package/lib/module/utils/styles.js +8 -1
  424. package/lib/module/utils/styles.js.map +1 -1
  425. package/lib/typescript/src/adjust/axis-dial-group.d.ts +16 -0
  426. package/lib/typescript/src/adjust/axis-dial-group.d.ts.map +1 -0
  427. package/lib/typescript/src/adjust/axis-dial.d.ts +12 -0
  428. package/lib/typescript/src/adjust/axis-dial.d.ts.map +1 -0
  429. package/lib/typescript/src/adjust/brand-feel-art.d.ts +27 -0
  430. package/lib/typescript/src/adjust/brand-feel-art.d.ts.map +1 -0
  431. package/lib/typescript/src/adjust/dial-strip.d.ts +9 -1
  432. package/lib/typescript/src/adjust/dial-strip.d.ts.map +1 -1
  433. package/lib/typescript/src/adjust/index.d.ts +4 -1
  434. package/lib/typescript/src/adjust/index.d.ts.map +1 -1
  435. package/lib/typescript/src/blocks/art-frame/art-frame.d.ts +8 -0
  436. package/lib/typescript/src/blocks/art-frame/art-frame.d.ts.map +1 -0
  437. package/lib/typescript/src/blocks/art-frame/index.d.ts +2 -0
  438. package/lib/typescript/src/blocks/art-frame/index.d.ts.map +1 -0
  439. package/lib/typescript/src/blocks/brand-palette-art/brand-palette-art.d.ts +17 -0
  440. package/lib/typescript/src/blocks/brand-palette-art/brand-palette-art.d.ts.map +1 -0
  441. package/lib/typescript/src/blocks/brand-palette-art/index.d.ts +2 -0
  442. package/lib/typescript/src/blocks/brand-palette-art/index.d.ts.map +1 -0
  443. package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts +3 -0
  444. package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts.map +1 -1
  445. package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts +1 -1
  446. package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts.map +1 -1
  447. package/lib/typescript/src/blocks/chat-message/chat-message.d.ts +11 -0
  448. package/lib/typescript/src/blocks/chat-message/chat-message.d.ts.map +1 -0
  449. package/lib/typescript/src/blocks/chat-message/index.d.ts +2 -0
  450. package/lib/typescript/src/blocks/chat-message/index.d.ts.map +1 -0
  451. package/lib/typescript/src/blocks/claim-status/claim-status.d.ts +3 -0
  452. package/lib/typescript/src/blocks/claim-status/claim-status.d.ts.map +1 -0
  453. package/lib/typescript/src/blocks/claim-status/index.d.ts +2 -0
  454. package/lib/typescript/src/blocks/claim-status/index.d.ts.map +1 -0
  455. package/lib/typescript/src/blocks/color-band-list/color-band-list.d.ts +13 -0
  456. package/lib/typescript/src/blocks/color-band-list/color-band-list.d.ts.map +1 -0
  457. package/lib/typescript/src/blocks/color-band-list/index.d.ts +2 -0
  458. package/lib/typescript/src/blocks/color-band-list/index.d.ts.map +1 -0
  459. package/lib/typescript/src/blocks/color-family-tabs/color-family-tabs.d.ts +12 -0
  460. package/lib/typescript/src/blocks/color-family-tabs/color-family-tabs.d.ts.map +1 -0
  461. package/lib/typescript/src/blocks/color-family-tabs/index.d.ts +2 -0
  462. package/lib/typescript/src/blocks/color-family-tabs/index.d.ts.map +1 -0
  463. package/lib/typescript/src/blocks/color-hero/color-hero.d.ts +12 -0
  464. package/lib/typescript/src/blocks/color-hero/color-hero.d.ts.map +1 -0
  465. package/lib/typescript/src/blocks/color-hero/index.d.ts +2 -0
  466. package/lib/typescript/src/blocks/color-hero/index.d.ts.map +1 -0
  467. package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts +1 -1
  468. package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts.map +1 -1
  469. package/lib/typescript/src/blocks/color-tune/color-tune.d.ts +26 -0
  470. package/lib/typescript/src/blocks/color-tune/color-tune.d.ts.map +1 -0
  471. package/lib/typescript/src/blocks/color-tune/index.d.ts +5 -0
  472. package/lib/typescript/src/blocks/color-tune/index.d.ts.map +1 -0
  473. package/lib/typescript/src/blocks/color-tune/store-sample.d.ts +21 -0
  474. package/lib/typescript/src/blocks/color-tune/store-sample.d.ts.map +1 -0
  475. package/lib/typescript/src/blocks/color-tune/swatch-card.d.ts +11 -0
  476. package/lib/typescript/src/blocks/color-tune/swatch-card.d.ts.map +1 -0
  477. package/lib/typescript/src/blocks/color-tune/tone-slider.d.ts +13 -0
  478. package/lib/typescript/src/blocks/color-tune/tone-slider.d.ts.map +1 -0
  479. package/lib/typescript/src/blocks/consent-list/consent-list.d.ts.map +1 -1
  480. package/lib/typescript/src/blocks/detail-editor/compare-slider.d.ts +5 -1
  481. package/lib/typescript/src/blocks/detail-editor/compare-slider.d.ts.map +1 -1
  482. package/lib/typescript/src/blocks/detail-editor/detail-canvas.d.ts +34 -1
  483. package/lib/typescript/src/blocks/detail-editor/detail-canvas.d.ts.map +1 -1
  484. package/lib/typescript/src/blocks/detail-editor/detail-types.d.ts +13 -1
  485. package/lib/typescript/src/blocks/detail-editor/detail-types.d.ts.map +1 -1
  486. package/lib/typescript/src/blocks/detail-editor/effect-picker.d.ts +8 -0
  487. package/lib/typescript/src/blocks/detail-editor/effect-picker.d.ts.map +1 -0
  488. package/lib/typescript/src/blocks/detail-editor/font-picker.d.ts +2 -1
  489. package/lib/typescript/src/blocks/detail-editor/font-picker.d.ts.map +1 -1
  490. package/lib/typescript/src/blocks/detail-editor/index.d.ts +3 -8
  491. package/lib/typescript/src/blocks/detail-editor/index.d.ts.map +1 -1
  492. package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts +3 -2
  493. package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts.map +1 -1
  494. package/lib/typescript/src/blocks/detail-editor/structure-picker.d.ts.map +1 -1
  495. package/lib/typescript/src/blocks/detail-studio/adjust-tiles.d.ts +14 -0
  496. package/lib/typescript/src/blocks/detail-studio/adjust-tiles.d.ts.map +1 -0
  497. package/lib/typescript/src/blocks/detail-studio/asset-grid.d.ts +19 -0
  498. package/lib/typescript/src/blocks/detail-studio/asset-grid.d.ts.map +1 -0
  499. package/lib/typescript/src/blocks/detail-studio/confirm-row.d.ts +13 -0
  500. package/lib/typescript/src/blocks/detail-studio/confirm-row.d.ts.map +1 -0
  501. package/lib/typescript/src/blocks/detail-studio/detail-studio-template.d.ts +10 -0
  502. package/lib/typescript/src/blocks/detail-studio/detail-studio-template.d.ts.map +1 -0
  503. package/lib/typescript/src/blocks/detail-studio/image-prompt.d.ts +13 -0
  504. package/lib/typescript/src/blocks/detail-studio/image-prompt.d.ts.map +1 -0
  505. package/lib/typescript/src/blocks/detail-studio/index.d.ts +17 -0
  506. package/lib/typescript/src/blocks/detail-studio/index.d.ts.map +1 -0
  507. package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts +18 -0
  508. package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts.map +1 -0
  509. package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts +19 -0
  510. package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts.map +1 -0
  511. package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts +13 -0
  512. package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts.map +1 -0
  513. package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts +11 -0
  514. package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts.map +1 -0
  515. package/lib/typescript/src/blocks/detail-studio/section-kind-grid.d.ts +12 -0
  516. package/lib/typescript/src/blocks/detail-studio/section-kind-grid.d.ts.map +1 -0
  517. package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts +24 -0
  518. package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts.map +1 -0
  519. package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts +14 -0
  520. package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts.map +1 -0
  521. package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts +28 -0
  522. package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts.map +1 -0
  523. package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts +16 -0
  524. package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts.map +1 -0
  525. package/lib/typescript/src/blocks/detail-studio/studio-sheet.d.ts +13 -0
  526. package/lib/typescript/src/blocks/detail-studio/studio-sheet.d.ts.map +1 -0
  527. package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts +15 -0
  528. package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts.map +1 -0
  529. package/lib/typescript/src/blocks/draft-box/draft-box.d.ts +14 -0
  530. package/lib/typescript/src/blocks/draft-box/draft-box.d.ts.map +1 -0
  531. package/lib/typescript/src/blocks/draft-box/index.d.ts +2 -0
  532. package/lib/typescript/src/blocks/draft-box/index.d.ts.map +1 -0
  533. package/lib/typescript/src/blocks/feed-row/feed-row.d.ts +21 -0
  534. package/lib/typescript/src/blocks/feed-row/feed-row.d.ts.map +1 -0
  535. package/lib/typescript/src/blocks/feed-row/index.d.ts +2 -0
  536. package/lib/typescript/src/blocks/feed-row/index.d.ts.map +1 -0
  537. package/lib/typescript/src/blocks/index.d.ts +20 -19
  538. package/lib/typescript/src/blocks/index.d.ts.map +1 -1
  539. package/lib/typescript/src/blocks/internal/card.d.ts +1 -3
  540. package/lib/typescript/src/blocks/internal/card.d.ts.map +1 -1
  541. package/lib/typescript/src/blocks/invite-card/invite-card.d.ts.map +1 -1
  542. package/lib/typescript/src/blocks/mockup-strip/index.d.ts +2 -0
  543. package/lib/typescript/src/blocks/mockup-strip/index.d.ts.map +1 -0
  544. package/lib/typescript/src/blocks/mockup-strip/mockup-strip.d.ts +11 -0
  545. package/lib/typescript/src/blocks/mockup-strip/mockup-strip.d.ts.map +1 -0
  546. package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -1
  547. package/lib/typescript/src/blocks/order-block/index.d.ts +2 -0
  548. package/lib/typescript/src/blocks/order-block/index.d.ts.map +1 -0
  549. package/lib/typescript/src/blocks/order-block/order-block.d.ts +27 -0
  550. package/lib/typescript/src/blocks/order-block/order-block.d.ts.map +1 -0
  551. package/lib/typescript/src/blocks/order-status/index.d.ts +2 -0
  552. package/lib/typescript/src/blocks/order-status/index.d.ts.map +1 -0
  553. package/lib/typescript/src/blocks/order-status/order-status.d.ts +10 -0
  554. package/lib/typescript/src/blocks/order-status/order-status.d.ts.map +1 -0
  555. package/lib/typescript/src/blocks/palette-block/index.d.ts +2 -0
  556. package/lib/typescript/src/blocks/palette-block/index.d.ts.map +1 -0
  557. package/lib/typescript/src/blocks/palette-block/palette-block.d.ts +48 -0
  558. package/lib/typescript/src/blocks/palette-block/palette-block.d.ts.map +1 -0
  559. package/lib/typescript/src/blocks/photo-field/index.d.ts +2 -0
  560. package/lib/typescript/src/blocks/photo-field/index.d.ts.map +1 -0
  561. package/lib/typescript/src/blocks/photo-field/photo-field.d.ts +19 -0
  562. package/lib/typescript/src/blocks/photo-field/photo-field.d.ts.map +1 -0
  563. package/lib/typescript/src/blocks/photo-grid/photo-grid.d.ts.map +1 -1
  564. package/lib/typescript/src/blocks/question-accordion/question-accordion.d.ts.map +1 -1
  565. package/lib/typescript/src/blocks/question-pager/index.d.ts +2 -0
  566. package/lib/typescript/src/blocks/question-pager/index.d.ts.map +1 -0
  567. package/lib/typescript/src/blocks/question-pager/question-pager.d.ts +25 -0
  568. package/lib/typescript/src/blocks/question-pager/question-pager.d.ts.map +1 -0
  569. package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts +2 -1
  570. package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts.map +1 -1
  571. package/lib/typescript/src/blocks/request-card/request-card.d.ts.map +1 -1
  572. package/lib/typescript/src/blocks/review-card/index.d.ts +2 -0
  573. package/lib/typescript/src/blocks/review-card/index.d.ts.map +1 -0
  574. package/lib/typescript/src/blocks/review-card/review-card.d.ts +23 -0
  575. package/lib/typescript/src/blocks/review-card/review-card.d.ts.map +1 -0
  576. package/lib/typescript/src/blocks/scan-modal/scan-modal.d.ts +5 -1
  577. package/lib/typescript/src/blocks/scan-modal/scan-modal.d.ts.map +1 -1
  578. package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts +2 -1
  579. package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts.map +1 -1
  580. package/lib/typescript/src/blocks/send-bar/index.d.ts +2 -0
  581. package/lib/typescript/src/blocks/send-bar/index.d.ts.map +1 -0
  582. package/lib/typescript/src/blocks/send-bar/send-bar.d.ts +13 -0
  583. package/lib/typescript/src/blocks/send-bar/send-bar.d.ts.map +1 -0
  584. package/lib/typescript/src/blocks/service-state-banner/service-state-banner.d.ts.map +1 -1
  585. package/lib/typescript/src/blocks/slider-list/slider-list.d.ts.map +1 -1
  586. package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts.map +1 -1
  587. package/lib/typescript/src/blocks/step-screen/index.d.ts +1 -1
  588. package/lib/typescript/src/blocks/step-screen/index.d.ts.map +1 -1
  589. package/lib/typescript/src/blocks/step-screen/step-screen.d.ts +11 -2
  590. package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -1
  591. package/lib/typescript/src/blocks/store-sheet/store-sheet.d.ts.map +1 -1
  592. package/lib/typescript/src/blocks/store-top/index.d.ts +2 -0
  593. package/lib/typescript/src/blocks/store-top/index.d.ts.map +1 -0
  594. package/lib/typescript/src/blocks/store-top/store-top.d.ts +31 -0
  595. package/lib/typescript/src/blocks/store-top/store-top.d.ts.map +1 -0
  596. package/lib/typescript/src/blocks/summary-cards/summary-cards.d.ts +0 -17
  597. package/lib/typescript/src/blocks/summary-cards/summary-cards.d.ts.map +1 -1
  598. package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts.map +1 -1
  599. package/lib/typescript/src/blocks/token-sample/index.d.ts +2 -0
  600. package/lib/typescript/src/blocks/token-sample/index.d.ts.map +1 -0
  601. package/lib/typescript/src/blocks/token-sample/token-sample.d.ts +17 -0
  602. package/lib/typescript/src/blocks/token-sample/token-sample.d.ts.map +1 -0
  603. package/lib/typescript/src/blocks/tone-strip/index.d.ts +2 -0
  604. package/lib/typescript/src/blocks/tone-strip/index.d.ts.map +1 -0
  605. package/lib/typescript/src/blocks/tone-strip/tone-strip.d.ts +6 -0
  606. package/lib/typescript/src/blocks/tone-strip/tone-strip.d.ts.map +1 -0
  607. package/lib/typescript/src/charts/day-bars.d.ts +9 -0
  608. package/lib/typescript/src/charts/day-bars.d.ts.map +1 -0
  609. package/lib/typescript/src/charts/index.d.ts +2 -2
  610. package/lib/typescript/src/charts/index.d.ts.map +1 -1
  611. package/lib/typescript/src/charts/progress-ring.d.ts +9 -0
  612. package/lib/typescript/src/charts/progress-ring.d.ts.map +1 -0
  613. package/lib/typescript/src/charts.d.ts +0 -1
  614. package/lib/typescript/src/charts.d.ts.map +1 -1
  615. package/lib/typescript/src/components/action-row/action-row.d.ts +9 -0
  616. package/lib/typescript/src/components/action-row/action-row.d.ts.map +1 -0
  617. package/lib/typescript/src/components/action-row/index.d.ts +2 -0
  618. package/lib/typescript/src/components/action-row/index.d.ts.map +1 -0
  619. package/lib/typescript/src/components/amount-summary/amount-summary.d.ts +17 -0
  620. package/lib/typescript/src/components/amount-summary/amount-summary.d.ts.map +1 -0
  621. package/lib/typescript/src/components/amount-summary/index.d.ts +2 -0
  622. package/lib/typescript/src/components/amount-summary/index.d.ts.map +1 -0
  623. package/lib/typescript/src/components/bubble/bubble.d.ts +9 -0
  624. package/lib/typescript/src/components/bubble/bubble.d.ts.map +1 -0
  625. package/lib/typescript/src/components/bubble/index.d.ts +2 -0
  626. package/lib/typescript/src/components/bubble/index.d.ts.map +1 -0
  627. package/lib/typescript/src/components/button/button.d.ts +10 -5
  628. package/lib/typescript/src/components/button/button.d.ts.map +1 -1
  629. package/lib/typescript/src/components/button/index.d.ts +1 -0
  630. package/lib/typescript/src/components/button/index.d.ts.map +1 -1
  631. package/lib/typescript/src/components/button/use-finish.d.ts +6 -0
  632. package/lib/typescript/src/components/button/use-finish.d.ts.map +1 -0
  633. package/lib/typescript/src/components/calendar/calendar.d.ts.map +1 -1
  634. package/lib/typescript/src/components/card-block/card-block.d.ts +8 -0
  635. package/lib/typescript/src/components/card-block/card-block.d.ts.map +1 -0
  636. package/lib/typescript/src/components/card-block/index.d.ts +2 -0
  637. package/lib/typescript/src/components/card-block/index.d.ts.map +1 -0
  638. package/lib/typescript/src/components/checkbox/checkbox.d.ts.map +1 -1
  639. package/lib/typescript/src/components/chip/chip.d.ts +2 -3
  640. package/lib/typescript/src/components/chip/chip.d.ts.map +1 -1
  641. package/lib/typescript/src/components/chip/index.d.ts +1 -1
  642. package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
  643. package/lib/typescript/src/components/chip-group/chip-group.d.ts +3 -2
  644. package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -1
  645. package/lib/typescript/src/components/circle-grid/circle-grid.d.ts.map +1 -1
  646. package/lib/typescript/src/components/credit/credit.d.ts +11 -0
  647. package/lib/typescript/src/components/credit/credit.d.ts.map +1 -0
  648. package/lib/typescript/src/components/credit/index.d.ts +2 -0
  649. package/lib/typescript/src/components/credit/index.d.ts.map +1 -0
  650. package/lib/typescript/src/components/dialog/dialog.d.ts +2 -1
  651. package/lib/typescript/src/components/dialog/dialog.d.ts.map +1 -1
  652. package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts +24 -0
  653. package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
  654. package/lib/typescript/src/components/dropdown-menu/index.d.ts +2 -0
  655. package/lib/typescript/src/components/dropdown-menu/index.d.ts.map +1 -0
  656. package/lib/typescript/src/components/empty-state/empty-state.d.ts.map +1 -1
  657. package/lib/typescript/src/components/fact-list/fact-list.d.ts +11 -0
  658. package/lib/typescript/src/components/fact-list/fact-list.d.ts.map +1 -0
  659. package/lib/typescript/src/components/fact-list/index.d.ts +2 -0
  660. package/lib/typescript/src/components/fact-list/index.d.ts.map +1 -0
  661. package/lib/typescript/src/components/field/field.d.ts +7 -1
  662. package/lib/typescript/src/components/field/field.d.ts.map +1 -1
  663. package/lib/typescript/src/components/filter-tabs/filter-tabs.d.ts +14 -0
  664. package/lib/typescript/src/components/filter-tabs/filter-tabs.d.ts.map +1 -0
  665. package/lib/typescript/src/components/filter-tabs/index.d.ts +2 -0
  666. package/lib/typescript/src/components/filter-tabs/index.d.ts.map +1 -0
  667. package/lib/typescript/src/components/floating-tab-bar/floating-tab-bar.d.ts.map +1 -1
  668. package/lib/typescript/src/components/icon-button/icon-button.d.ts +11 -0
  669. package/lib/typescript/src/components/icon-button/icon-button.d.ts.map +1 -0
  670. package/lib/typescript/src/components/icon-button/index.d.ts +2 -0
  671. package/lib/typescript/src/components/icon-button/index.d.ts.map +1 -0
  672. package/lib/typescript/src/components/list-row/list-row.d.ts +3 -2
  673. package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -1
  674. package/lib/typescript/src/components/page-header/page-header.d.ts +2 -1
  675. package/lib/typescript/src/components/page-header/page-header.d.ts.map +1 -1
  676. package/lib/typescript/src/components/pill/index.d.ts +2 -0
  677. package/lib/typescript/src/components/pill/index.d.ts.map +1 -0
  678. package/lib/typescript/src/components/pill/pill.d.ts +9 -0
  679. package/lib/typescript/src/components/pill/pill.d.ts.map +1 -0
  680. package/lib/typescript/src/components/price/index.d.ts +1 -1
  681. package/lib/typescript/src/components/price/index.d.ts.map +1 -1
  682. package/lib/typescript/src/components/price/price.d.ts +0 -10
  683. package/lib/typescript/src/components/price/price.d.ts.map +1 -1
  684. package/lib/typescript/src/components/progress-circle/progress-circle.d.ts.map +1 -1
  685. package/lib/typescript/src/components/result-mark/result-mark.d.ts.map +1 -1
  686. package/lib/typescript/src/components/search-field/search-field.d.ts +2 -1
  687. package/lib/typescript/src/components/search-field/search-field.d.ts.map +1 -1
  688. package/lib/typescript/src/components/section-tabs/section-tabs.d.ts +2 -1
  689. package/lib/typescript/src/components/section-tabs/section-tabs.d.ts.map +1 -1
  690. package/lib/typescript/src/components/segmented-control/index.d.ts +2 -0
  691. package/lib/typescript/src/components/segmented-control/index.d.ts.map +1 -0
  692. package/lib/typescript/src/components/segmented-control/segmented-control.d.ts +13 -0
  693. package/lib/typescript/src/components/segmented-control/segmented-control.d.ts.map +1 -0
  694. package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts +1 -0
  695. package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts.map +1 -1
  696. package/lib/typescript/src/components/sheet/index.d.ts +1 -1
  697. package/lib/typescript/src/components/sheet/index.d.ts.map +1 -1
  698. package/lib/typescript/src/components/sheet/sheet.d.ts +9 -2
  699. package/lib/typescript/src/components/sheet/sheet.d.ts.map +1 -1
  700. package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -1
  701. package/lib/typescript/src/components/slider/slider.d.ts +5 -1
  702. package/lib/typescript/src/components/slider/slider.d.ts.map +1 -1
  703. package/lib/typescript/src/components/status-badge/status-badge.d.ts.map +1 -1
  704. package/lib/typescript/src/components/status-steps/status-steps.d.ts +6 -1
  705. package/lib/typescript/src/components/status-steps/status-steps.d.ts.map +1 -1
  706. package/lib/typescript/src/components/stepper/stepper.d.ts.map +1 -1
  707. package/lib/typescript/src/components/text/text.d.ts +1 -1
  708. package/lib/typescript/src/components/text/text.d.ts.map +1 -1
  709. package/lib/typescript/src/components/text-links/text-links.d.ts.map +1 -1
  710. package/lib/typescript/src/components/thumb-strip/index.d.ts +2 -0
  711. package/lib/typescript/src/components/thumb-strip/index.d.ts.map +1 -0
  712. package/lib/typescript/src/components/thumb-strip/thumb-strip.d.ts +8 -0
  713. package/lib/typescript/src/components/thumb-strip/thumb-strip.d.ts.map +1 -0
  714. package/lib/typescript/src/components/tile-grid/index.d.ts +2 -0
  715. package/lib/typescript/src/components/tile-grid/index.d.ts.map +1 -0
  716. package/lib/typescript/src/components/tile-grid/tile-grid.d.ts +16 -0
  717. package/lib/typescript/src/components/tile-grid/tile-grid.d.ts.map +1 -0
  718. package/lib/typescript/src/components/toast/toast.d.ts.map +1 -1
  719. package/lib/typescript/src/components/value-rows/index.d.ts +2 -0
  720. package/lib/typescript/src/components/value-rows/index.d.ts.map +1 -0
  721. package/lib/typescript/src/components/value-rows/value-rows.d.ts +18 -0
  722. package/lib/typescript/src/components/value-rows/value-rows.d.ts.map +1 -0
  723. package/lib/typescript/src/index.d.ts +17 -2
  724. package/lib/typescript/src/index.d.ts.map +1 -1
  725. package/lib/typescript/src/internal/check-disc.d.ts +7 -0
  726. package/lib/typescript/src/internal/check-disc.d.ts.map +1 -0
  727. package/lib/typescript/src/internal/drawn-check.d.ts +10 -0
  728. package/lib/typescript/src/internal/drawn-check.d.ts.map +1 -0
  729. package/lib/typescript/src/internal/field-label.d.ts +6 -0
  730. package/lib/typescript/src/internal/field-label.d.ts.map +1 -0
  731. package/lib/typescript/src/internal/glyphs.d.ts +29 -3
  732. package/lib/typescript/src/internal/glyphs.d.ts.map +1 -1
  733. package/lib/typescript/src/internal/haptics.d.ts +4 -0
  734. package/lib/typescript/src/internal/haptics.d.ts.map +1 -0
  735. package/lib/typescript/src/internal/line-icons.d.ts +27 -0
  736. package/lib/typescript/src/internal/line-icons.d.ts.map +1 -1
  737. package/lib/typescript/src/internal/motion.d.ts +19 -0
  738. package/lib/typescript/src/internal/motion.d.ts.map +1 -0
  739. package/lib/typescript/src/internal/overlay.d.ts +2 -0
  740. package/lib/typescript/src/internal/overlay.d.ts.map +1 -1
  741. package/lib/typescript/src/internal/pop-check.d.ts +5 -0
  742. package/lib/typescript/src/internal/pop-check.d.ts.map +1 -0
  743. package/lib/typescript/src/internal/pressable-base.d.ts +12 -2
  744. package/lib/typescript/src/internal/pressable-base.d.ts.map +1 -1
  745. package/lib/typescript/src/internal/pulse.d.ts +6 -0
  746. package/lib/typescript/src/internal/pulse.d.ts.map +1 -0
  747. package/lib/typescript/src/internal/retry-glyph.d.ts +5 -0
  748. package/lib/typescript/src/internal/retry-glyph.d.ts.map +1 -0
  749. package/lib/typescript/src/internal/roll-text.d.ts +9 -0
  750. package/lib/typescript/src/internal/roll-text.d.ts.map +1 -0
  751. package/lib/typescript/src/internal/sample-tiles.d.ts +18 -0
  752. package/lib/typescript/src/internal/sample-tiles.d.ts.map +1 -0
  753. package/lib/typescript/src/internal/selection.d.ts +3 -0
  754. package/lib/typescript/src/internal/selection.d.ts.map +1 -0
  755. package/lib/typescript/src/internal/settle.d.ts +7 -0
  756. package/lib/typescript/src/internal/settle.d.ts.map +1 -0
  757. package/lib/typescript/src/internal/sheet-head.d.ts +17 -0
  758. package/lib/typescript/src/internal/sheet-head.d.ts.map +1 -0
  759. package/lib/typescript/src/internal/steady-text.d.ts +11 -0
  760. package/lib/typescript/src/internal/steady-text.d.ts.map +1 -0
  761. package/lib/typescript/src/internal/tab-icons.d.ts +0 -2
  762. package/lib/typescript/src/internal/tab-icons.d.ts.map +1 -1
  763. package/lib/typescript/src/internal/undo-glyph.d.ts +5 -0
  764. package/lib/typescript/src/internal/undo-glyph.d.ts.map +1 -0
  765. package/lib/typescript/src/internal/use-slide.d.ts +24 -0
  766. package/lib/typescript/src/internal/use-slide.d.ts.map +1 -0
  767. package/lib/typescript/src/sortable/index.d.ts +1 -1
  768. package/lib/typescript/src/sortable/index.d.ts.map +1 -1
  769. package/lib/typescript/src/sortable/section-board.d.ts +24 -0
  770. package/lib/typescript/src/sortable/section-board.d.ts.map +1 -0
  771. package/lib/typescript/src/sortable/sortable-grid.d.ts +2 -1
  772. package/lib/typescript/src/sortable/sortable-grid.d.ts.map +1 -1
  773. package/lib/typescript/src/sortable.d.ts +1 -2
  774. package/lib/typescript/src/sortable.d.ts.map +1 -1
  775. package/lib/typescript/src/templates/calendar-template.d.ts +2 -0
  776. package/lib/typescript/src/templates/calendar-template.d.ts.map +1 -1
  777. package/lib/typescript/src/templates/design-pick-template.d.ts +29 -0
  778. package/lib/typescript/src/templates/design-pick-template.d.ts.map +1 -0
  779. package/lib/typescript/src/templates/index.d.ts +3 -3
  780. package/lib/typescript/src/templates/index.d.ts.map +1 -1
  781. package/lib/typescript/src/templates/intro-template.d.ts.map +1 -1
  782. package/lib/typescript/src/templates/list-template.d.ts +1 -1
  783. package/lib/typescript/src/templates/list-template.d.ts.map +1 -1
  784. package/lib/typescript/src/templates/notice-template.d.ts +1 -1
  785. package/lib/typescript/src/templates/notice-template.d.ts.map +1 -1
  786. package/lib/typescript/src/templates/parts.d.ts +30 -2
  787. package/lib/typescript/src/templates/parts.d.ts.map +1 -1
  788. package/lib/typescript/src/templates/preview-template.d.ts.map +1 -1
  789. package/lib/typescript/src/templates/result-template.d.ts +5 -1
  790. package/lib/typescript/src/templates/result-template.d.ts.map +1 -1
  791. package/lib/typescript/src/templates/scroll-templates.d.ts +20 -1
  792. package/lib/typescript/src/templates/scroll-templates.d.ts.map +1 -1
  793. package/lib/typescript/src/templates/selection-template.d.ts +2 -1
  794. package/lib/typescript/src/templates/selection-template.d.ts.map +1 -1
  795. package/lib/typescript/src/templates/sheet-form-template.d.ts +2 -1
  796. package/lib/typescript/src/templates/sheet-form-template.d.ts.map +1 -1
  797. package/lib/typescript/src/theme/base.d.ts +50 -4
  798. package/lib/typescript/src/theme/base.d.ts.map +1 -1
  799. package/lib/typescript/src/theme/tokens.d.ts.map +1 -1
  800. package/lib/typescript/src/types/index.d.ts +16 -40
  801. package/lib/typescript/src/types/index.d.ts.map +1 -1
  802. package/lib/typescript/src/utils/color.d.ts +2 -0
  803. package/lib/typescript/src/utils/color.d.ts.map +1 -1
  804. package/lib/typescript/src/utils/styles.d.ts +1 -0
  805. package/lib/typescript/src/utils/styles.d.ts.map +1 -1
  806. package/package.json +5 -11
  807. package/src/adjust/axis-dial-group.tsx +62 -0
  808. package/src/adjust/axis-dial.tsx +328 -0
  809. package/src/adjust/brand-feel-art.tsx +148 -0
  810. package/src/adjust/dial-strip.tsx +48 -17
  811. package/src/adjust/index.ts +19 -1
  812. package/src/blocks/art-frame/art-frame.tsx +26 -0
  813. package/src/blocks/art-frame/index.ts +1 -0
  814. package/src/blocks/brand-palette-art/brand-palette-art.tsx +104 -0
  815. package/src/blocks/brand-palette-art/index.ts +5 -0
  816. package/src/blocks/bulk-ship-list/bulk-ship-list.tsx +98 -41
  817. package/src/blocks/bulk-ship-list/index.ts +2 -0
  818. package/src/blocks/chat-message/chat-message.tsx +54 -0
  819. package/src/blocks/chat-message/index.ts +1 -0
  820. package/src/blocks/claim-status/claim-status.ts +18 -0
  821. package/src/blocks/claim-status/index.ts +1 -0
  822. package/src/blocks/color-band-list/color-band-list.tsx +97 -0
  823. package/src/blocks/color-band-list/index.ts +5 -0
  824. package/src/blocks/color-family-tabs/color-family-tabs.tsx +87 -0
  825. package/src/blocks/color-family-tabs/index.ts +5 -0
  826. package/src/blocks/color-hero/color-hero.tsx +102 -0
  827. package/src/blocks/color-hero/index.ts +1 -0
  828. package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +63 -6
  829. package/src/blocks/color-tune/color-tune.tsx +120 -0
  830. package/src/blocks/color-tune/index.ts +13 -0
  831. package/src/blocks/color-tune/store-sample.tsx +285 -0
  832. package/src/blocks/color-tune/swatch-card.tsx +126 -0
  833. package/src/blocks/color-tune/tone-slider.tsx +220 -0
  834. package/src/blocks/consent-list/consent-list.tsx +13 -8
  835. package/src/blocks/detail-editor/compare-slider.tsx +61 -13
  836. package/src/blocks/detail-editor/detail-canvas.tsx +631 -34
  837. package/src/blocks/detail-editor/detail-types.ts +60 -1
  838. package/src/blocks/detail-editor/effect-picker.tsx +78 -0
  839. package/src/blocks/detail-editor/font-picker.tsx +43 -2
  840. package/src/blocks/detail-editor/index.ts +7 -25
  841. package/src/blocks/detail-editor/layout-picker.tsx +102 -10
  842. package/src/blocks/detail-editor/structure-picker.tsx +6 -2
  843. package/src/blocks/detail-studio/adjust-tiles.tsx +88 -0
  844. package/src/blocks/detail-studio/asset-grid.tsx +238 -0
  845. package/src/blocks/detail-studio/confirm-row.tsx +48 -0
  846. package/src/blocks/detail-studio/detail-studio-template.tsx +51 -0
  847. package/src/blocks/detail-studio/image-prompt.tsx +149 -0
  848. package/src/blocks/detail-studio/index.ts +67 -0
  849. package/src/blocks/detail-studio/keyboard-bar.tsx +73 -0
  850. package/src/blocks/detail-studio/photo-tool-bar.tsx +100 -0
  851. package/src/blocks/detail-studio/rewrite-tray.tsx +85 -0
  852. package/src/blocks/detail-studio/section-edit-template.tsx +132 -0
  853. package/src/blocks/detail-studio/section-kind-grid.tsx +281 -0
  854. package/src/blocks/detail-studio/section-settings.tsx +115 -0
  855. package/src/blocks/detail-studio/section-thumb.tsx +41 -0
  856. package/src/blocks/detail-studio/studio-bar.tsx +173 -0
  857. package/src/blocks/detail-studio/studio-dock.tsx +89 -0
  858. package/src/blocks/detail-studio/studio-sheet.tsx +71 -0
  859. package/src/blocks/detail-studio/text-format-panel.tsx +204 -0
  860. package/src/blocks/draft-box/draft-box.tsx +103 -0
  861. package/src/blocks/draft-box/index.ts +1 -0
  862. package/src/blocks/feed-row/feed-row.tsx +178 -0
  863. package/src/blocks/feed-row/index.ts +1 -0
  864. package/src/blocks/generation-progress/generation-progress.tsx +2 -2
  865. package/src/blocks/index.tsx +20 -19
  866. package/src/blocks/internal/card.tsx +3 -48
  867. package/src/blocks/invite-card/invite-card.tsx +7 -6
  868. package/src/blocks/logo-candidate-grid/logo-candidate-grid.tsx +2 -2
  869. package/src/blocks/mockup-strip/index.ts +5 -0
  870. package/src/blocks/mockup-strip/mockup-strip.tsx +53 -0
  871. package/src/blocks/oauth-buttons/oauth-buttons.tsx +8 -1
  872. package/src/blocks/order-block/index.ts +6 -0
  873. package/src/blocks/order-block/order-block.tsx +216 -0
  874. package/src/blocks/order-status/index.ts +7 -0
  875. package/src/blocks/order-status/order-status.ts +38 -0
  876. package/src/blocks/palette-block/index.ts +15 -0
  877. package/src/blocks/palette-block/palette-block.tsx +308 -0
  878. package/src/blocks/photo-field/index.ts +5 -0
  879. package/src/blocks/photo-field/photo-field.tsx +240 -0
  880. package/src/blocks/photo-grid/photo-grid.tsx +10 -9
  881. package/src/blocks/product-tile/product-tile.tsx +2 -2
  882. package/src/blocks/question-accordion/question-accordion.tsx +3 -2
  883. package/src/blocks/question-pager/index.ts +7 -0
  884. package/src/blocks/question-pager/question-pager.tsx +415 -0
  885. package/src/blocks/quick-actions/quick-actions.tsx +20 -6
  886. package/src/blocks/request-card/request-card.tsx +13 -5
  887. package/src/blocks/review-card/index.ts +1 -0
  888. package/src/blocks/review-card/review-card.tsx +160 -0
  889. package/src/blocks/scan-modal/scan-modal.tsx +45 -3
  890. package/src/blocks/selection-bar/selection-bar.tsx +98 -20
  891. package/src/blocks/send-bar/index.ts +1 -0
  892. package/src/blocks/send-bar/send-bar.tsx +116 -0
  893. package/src/blocks/service-state-banner/service-state-banner.tsx +7 -2
  894. package/src/blocks/setup-guide/setup-guide.tsx +1 -1
  895. package/src/blocks/slider-list/slider-list.tsx +42 -15
  896. package/src/blocks/stage-bar/stage-bar.tsx +101 -33
  897. package/src/blocks/stat-card/stat-card.tsx +2 -2
  898. package/src/blocks/step-screen/index.ts +1 -0
  899. package/src/blocks/step-screen/step-screen.tsx +250 -60
  900. package/src/blocks/store-sheet/store-sheet.tsx +2 -3
  901. package/src/blocks/store-top/index.ts +6 -0
  902. package/src/blocks/store-top/store-top.tsx +244 -0
  903. package/src/blocks/summary-cards/summary-cards.tsx +13 -95
  904. package/src/blocks/task-tiles/task-tiles.tsx +2 -4
  905. package/src/blocks/token-sample/index.ts +1 -0
  906. package/src/blocks/token-sample/token-sample.tsx +66 -0
  907. package/src/blocks/tone-strip/index.ts +1 -0
  908. package/src/blocks/tone-strip/tone-strip.tsx +33 -0
  909. package/src/charts/day-bars.tsx +69 -0
  910. package/src/charts/index.ts +2 -2
  911. package/src/charts/mini-bars.tsx +1 -1
  912. package/src/charts/progress-ring.tsx +55 -0
  913. package/src/charts.tsx +0 -1
  914. package/src/components/action-row/action-row.tsx +26 -0
  915. package/src/components/action-row/index.ts +1 -0
  916. package/src/components/amount-summary/amount-summary.tsx +135 -0
  917. package/src/components/amount-summary/index.ts +5 -0
  918. package/src/components/bubble/bubble.tsx +47 -0
  919. package/src/components/bubble/index.ts +1 -0
  920. package/src/components/button/button.tsx +162 -40
  921. package/src/components/button/index.ts +1 -0
  922. package/src/components/button/use-finish.ts +32 -0
  923. package/src/components/calendar/calendar.tsx +24 -10
  924. package/src/components/card-block/card-block.tsx +21 -0
  925. package/src/components/card-block/index.ts +1 -0
  926. package/src/components/checkbox/checkbox.tsx +14 -9
  927. package/src/components/chip/chip.tsx +58 -32
  928. package/src/components/chip/index.ts +1 -1
  929. package/src/components/chip-group/chip-group.tsx +21 -17
  930. package/src/components/circle-grid/circle-grid.tsx +111 -54
  931. package/src/components/credit/credit.tsx +73 -0
  932. package/src/components/credit/index.ts +6 -0
  933. package/src/components/dialog/dialog.tsx +9 -5
  934. package/src/components/dropdown-menu/dropdown-menu.tsx +140 -0
  935. package/src/components/dropdown-menu/index.ts +6 -0
  936. package/src/components/empty-state/empty-state.tsx +5 -5
  937. package/src/components/fact-list/fact-list.tsx +46 -0
  938. package/src/components/fact-list/index.ts +1 -0
  939. package/src/components/field/field.tsx +160 -41
  940. package/src/components/filter-tabs/filter-tabs.tsx +191 -0
  941. package/src/components/filter-tabs/index.ts +5 -0
  942. package/src/components/floating-tab-bar/floating-tab-bar.tsx +75 -30
  943. package/src/components/icon-button/icon-button.tsx +65 -0
  944. package/src/components/icon-button/index.ts +1 -0
  945. package/src/components/list-row/list-row.tsx +42 -22
  946. package/src/components/page-header/page-header.tsx +12 -8
  947. package/src/components/page-header/store-header.tsx +2 -2
  948. package/src/components/photo/photo.tsx +8 -1
  949. package/src/components/pill/index.ts +1 -0
  950. package/src/components/pill/pill.tsx +67 -0
  951. package/src/components/price/index.ts +1 -1
  952. package/src/components/price/price.tsx +0 -76
  953. package/src/components/progress-bar/progress-bar.tsx +2 -2
  954. package/src/components/progress-circle/progress-circle.tsx +6 -2
  955. package/src/components/result-mark/result-mark.tsx +3 -5
  956. package/src/components/search-field/search-field.tsx +6 -2
  957. package/src/components/section-tabs/section-tabs.tsx +113 -32
  958. package/src/components/segmented-control/index.ts +5 -0
  959. package/src/components/segmented-control/segmented-control.tsx +82 -0
  960. package/src/components/segmented-tabs/segmented-tabs.tsx +127 -44
  961. package/src/components/sheet/index.ts +1 -0
  962. package/src/components/sheet/sheet.tsx +112 -20
  963. package/src/components/skeleton/skeleton.tsx +56 -26
  964. package/src/components/slider/slider.tsx +69 -9
  965. package/src/components/status-badge/status-badge.tsx +24 -2
  966. package/src/components/status-steps/status-steps.tsx +251 -47
  967. package/src/components/stepper/stepper.tsx +5 -7
  968. package/src/components/text/text.tsx +7 -3
  969. package/src/components/text-links/text-links.tsx +15 -3
  970. package/src/components/thumb-strip/index.ts +1 -0
  971. package/src/components/thumb-strip/thumb-strip.tsx +41 -0
  972. package/src/components/tile-grid/index.ts +1 -0
  973. package/src/components/tile-grid/tile-grid.tsx +259 -0
  974. package/src/components/toast/toast.tsx +58 -24
  975. package/src/components/value-rows/index.ts +6 -0
  976. package/src/components/value-rows/value-rows.tsx +84 -0
  977. package/src/components/wizard-steps/wizard-steps.tsx +1 -1
  978. package/src/index.tsx +44 -3
  979. package/src/internal/check-disc.tsx +43 -0
  980. package/src/internal/drawn-check.tsx +47 -0
  981. package/src/internal/field-label.tsx +60 -0
  982. package/src/internal/glyphs.tsx +108 -46
  983. package/src/internal/haptics.ts +11 -0
  984. package/src/internal/line-icons.ts +54 -0
  985. package/src/internal/motion.ts +82 -0
  986. package/src/internal/overlay.tsx +19 -5
  987. package/src/internal/pop-check.tsx +24 -0
  988. package/src/internal/pressable-base.tsx +131 -10
  989. package/src/internal/pulse.tsx +63 -0
  990. package/src/internal/retry-glyph.tsx +42 -0
  991. package/src/internal/roll-text.tsx +70 -0
  992. package/src/internal/sample-tiles.tsx +93 -0
  993. package/src/internal/selection.ts +18 -0
  994. package/src/internal/settle.tsx +21 -0
  995. package/src/internal/sheet-head.tsx +107 -0
  996. package/src/internal/steady-text.tsx +52 -0
  997. package/src/internal/tab-icons.ts +0 -6
  998. package/src/internal/undo-glyph.tsx +50 -0
  999. package/src/internal/use-slide.ts +71 -0
  1000. package/src/sortable/index.ts +4 -4
  1001. package/src/sortable/section-board.tsx +404 -0
  1002. package/src/sortable/sortable-grid.tsx +8 -2
  1003. package/src/sortable.tsx +1 -2
  1004. package/src/templates/calendar-template.tsx +8 -1
  1005. package/src/templates/design-pick-template.tsx +262 -0
  1006. package/src/templates/index.ts +7 -6
  1007. package/src/templates/intro-template.tsx +2 -17
  1008. package/src/templates/list-template.tsx +38 -32
  1009. package/src/templates/notice-template.tsx +10 -33
  1010. package/src/templates/parts.tsx +130 -53
  1011. package/src/templates/preview-template.tsx +1 -2
  1012. package/src/templates/result-template.tsx +22 -39
  1013. package/src/templates/scroll-templates.tsx +111 -3
  1014. package/src/templates/selection-template.tsx +8 -2
  1015. package/src/templates/sheet-form-template.tsx +30 -20
  1016. package/src/theme/base.ts +52 -4
  1017. package/src/theme/tokens.ts +2 -0
  1018. package/src/types/index.ts +25 -49
  1019. package/src/utils/color.ts +22 -0
  1020. package/src/utils/styles.ts +9 -0
  1021. package/lib/module/blocks/action-grid/action-grid.js +0 -71
  1022. package/lib/module/blocks/action-grid/action-grid.js.map +0 -1
  1023. package/lib/module/blocks/action-grid/index.js +0 -4
  1024. package/lib/module/blocks/action-grid/index.js.map +0 -1
  1025. package/lib/module/blocks/brand-profile-card/brand-profile-card.js +0 -88
  1026. package/lib/module/blocks/brand-profile-card/brand-profile-card.js.map +0 -1
  1027. package/lib/module/blocks/brand-profile-card/index.js +0 -4
  1028. package/lib/module/blocks/brand-profile-card/index.js.map +0 -1
  1029. package/lib/module/blocks/claim-row/claim-row.js +0 -107
  1030. package/lib/module/blocks/claim-row/claim-row.js.map +0 -1
  1031. package/lib/module/blocks/claim-row/index.js +0 -4
  1032. package/lib/module/blocks/claim-row/index.js.map +0 -1
  1033. package/lib/module/blocks/code-input/code-input.js +0 -103
  1034. package/lib/module/blocks/code-input/code-input.js.map +0 -1
  1035. package/lib/module/blocks/code-input/index.js +0 -4
  1036. package/lib/module/blocks/code-input/index.js.map +0 -1
  1037. package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js +0 -139
  1038. package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js.map +0 -1
  1039. package/lib/module/blocks/copy-variant-picker/index.js +0 -4
  1040. package/lib/module/blocks/copy-variant-picker/index.js.map +0 -1
  1041. package/lib/module/blocks/cover-photos/cover-photos.js +0 -165
  1042. package/lib/module/blocks/cover-photos/cover-photos.js.map +0 -1
  1043. package/lib/module/blocks/cover-photos/index.js +0 -4
  1044. package/lib/module/blocks/cover-photos/index.js.map +0 -1
  1045. package/lib/module/blocks/credit-wallet/credit-wallet.js +0 -121
  1046. package/lib/module/blocks/credit-wallet/credit-wallet.js.map +0 -1
  1047. package/lib/module/blocks/credit-wallet/index.js +0 -4
  1048. package/lib/module/blocks/credit-wallet/index.js.map +0 -1
  1049. package/lib/module/blocks/detail-editor/detail-composer.js +0 -254
  1050. package/lib/module/blocks/detail-editor/detail-composer.js.map +0 -1
  1051. package/lib/module/blocks/detail-editor/detail-editor-template.js +0 -102
  1052. package/lib/module/blocks/detail-editor/detail-editor-template.js.map +0 -1
  1053. package/lib/module/blocks/detail-editor/draft-strip.js +0 -97
  1054. package/lib/module/blocks/detail-editor/draft-strip.js.map +0 -1
  1055. package/lib/module/blocks/detail-editor/editor-bar.js +0 -96
  1056. package/lib/module/blocks/detail-editor/editor-bar.js.map +0 -1
  1057. package/lib/module/blocks/detail-editor/photo-tray.js +0 -144
  1058. package/lib/module/blocks/detail-editor/photo-tray.js.map +0 -1
  1059. package/lib/module/blocks/detail-editor/tool-row.js +0 -63
  1060. package/lib/module/blocks/detail-editor/tool-row.js.map +0 -1
  1061. package/lib/module/blocks/image-grid/image-grid.js +0 -238
  1062. package/lib/module/blocks/image-grid/image-grid.js.map +0 -1
  1063. package/lib/module/blocks/image-grid/index.js +0 -4
  1064. package/lib/module/blocks/image-grid/index.js.map +0 -1
  1065. package/lib/module/blocks/inbox-row/inbox-row.js +0 -120
  1066. package/lib/module/blocks/inbox-row/inbox-row.js.map +0 -1
  1067. package/lib/module/blocks/inbox-row/index.js +0 -4
  1068. package/lib/module/blocks/inbox-row/index.js.map +0 -1
  1069. package/lib/module/blocks/internal/format.js +0 -23
  1070. package/lib/module/blocks/internal/format.js.map +0 -1
  1071. package/lib/module/blocks/invoice-row/index.js +0 -4
  1072. package/lib/module/blocks/invoice-row/index.js.map +0 -1
  1073. package/lib/module/blocks/invoice-row/invoice-row.js +0 -99
  1074. package/lib/module/blocks/invoice-row/invoice-row.js.map +0 -1
  1075. package/lib/module/blocks/option-editor/index.js +0 -4
  1076. package/lib/module/blocks/option-editor/index.js.map +0 -1
  1077. package/lib/module/blocks/option-editor/option-editor.js +0 -143
  1078. package/lib/module/blocks/option-editor/option-editor.js.map +0 -1
  1079. package/lib/module/blocks/order-card/index.js +0 -4
  1080. package/lib/module/blocks/order-card/index.js.map +0 -1
  1081. package/lib/module/blocks/order-card/order-card.js +0 -173
  1082. package/lib/module/blocks/order-card/order-card.js.map +0 -1
  1083. package/lib/module/blocks/plan-card/index.js +0 -4
  1084. package/lib/module/blocks/plan-card/index.js.map +0 -1
  1085. package/lib/module/blocks/plan-card/plan-card.js +0 -137
  1086. package/lib/module/blocks/plan-card/plan-card.js.map +0 -1
  1087. package/lib/module/blocks/product-list-empty/index.js +0 -4
  1088. package/lib/module/blocks/product-list-empty/index.js.map +0 -1
  1089. package/lib/module/blocks/product-list-empty/product-list-empty.js +0 -153
  1090. package/lib/module/blocks/product-list-empty/product-list-empty.js.map +0 -1
  1091. package/lib/module/blocks/product-row/index.js +0 -4
  1092. package/lib/module/blocks/product-row/index.js.map +0 -1
  1093. package/lib/module/blocks/product-row/product-row.js +0 -92
  1094. package/lib/module/blocks/product-row/product-row.js.map +0 -1
  1095. package/lib/module/blocks/review-row/index.js +0 -4
  1096. package/lib/module/blocks/review-row/index.js.map +0 -1
  1097. package/lib/module/blocks/review-row/review-row.js +0 -276
  1098. package/lib/module/blocks/review-row/review-row.js.map +0 -1
  1099. package/lib/module/blocks/sales-chart/index.js +0 -4
  1100. package/lib/module/blocks/sales-chart/index.js.map +0 -1
  1101. package/lib/module/blocks/sales-chart/sales-chart.js +0 -124
  1102. package/lib/module/blocks/sales-chart/sales-chart.js.map +0 -1
  1103. package/lib/module/blocks/shipping-tracking-row/index.js +0 -4
  1104. package/lib/module/blocks/shipping-tracking-row/index.js.map +0 -1
  1105. package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js +0 -114
  1106. package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js.map +0 -1
  1107. package/lib/module/blocks/site-preview-frame/index.js +0 -4
  1108. package/lib/module/blocks/site-preview-frame/index.js.map +0 -1
  1109. package/lib/module/blocks/site-preview-frame/site-preview-frame.js +0 -121
  1110. package/lib/module/blocks/site-preview-frame/site-preview-frame.js.map +0 -1
  1111. package/lib/module/blocks/site-summary/index.js +0 -4
  1112. package/lib/module/blocks/site-summary/index.js.map +0 -1
  1113. package/lib/module/blocks/site-summary/site-summary.js +0 -81
  1114. package/lib/module/blocks/site-summary/site-summary.js.map +0 -1
  1115. package/lib/module/blocks/supply-item-card/index.js +0 -4
  1116. package/lib/module/blocks/supply-item-card/index.js.map +0 -1
  1117. package/lib/module/blocks/supply-item-card/supply-item-card.js +0 -145
  1118. package/lib/module/blocks/supply-item-card/supply-item-card.js.map +0 -1
  1119. package/lib/module/charts/line-chart.js +0 -124
  1120. package/lib/module/charts/line-chart.js.map +0 -1
  1121. package/lib/module/charts/scale.js +0 -39
  1122. package/lib/module/charts/scale.js.map +0 -1
  1123. package/lib/module/charts/sparkline.js +0 -49
  1124. package/lib/module/charts/sparkline.js.map +0 -1
  1125. package/lib/module/components/step-slider/index.js +0 -4
  1126. package/lib/module/components/step-slider/index.js.map +0 -1
  1127. package/lib/module/components/step-slider/step-slider.js +0 -167
  1128. package/lib/module/components/step-slider/step-slider.js.map +0 -1
  1129. package/lib/module/sortable/block-strip.js +0 -151
  1130. package/lib/module/sortable/block-strip.js.map +0 -1
  1131. package/lib/module/templates/editor-template.js +0 -142
  1132. package/lib/module/templates/editor-template.js.map +0 -1
  1133. package/lib/typescript/src/blocks/action-grid/action-grid.d.ts +0 -15
  1134. package/lib/typescript/src/blocks/action-grid/action-grid.d.ts.map +0 -1
  1135. package/lib/typescript/src/blocks/action-grid/index.d.ts +0 -2
  1136. package/lib/typescript/src/blocks/action-grid/index.d.ts.map +0 -1
  1137. package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts +0 -13
  1138. package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts.map +0 -1
  1139. package/lib/typescript/src/blocks/brand-profile-card/index.d.ts +0 -2
  1140. package/lib/typescript/src/blocks/brand-profile-card/index.d.ts.map +0 -1
  1141. package/lib/typescript/src/blocks/claim-row/claim-row.d.ts +0 -15
  1142. package/lib/typescript/src/blocks/claim-row/claim-row.d.ts.map +0 -1
  1143. package/lib/typescript/src/blocks/claim-row/index.d.ts +0 -2
  1144. package/lib/typescript/src/blocks/claim-row/index.d.ts.map +0 -1
  1145. package/lib/typescript/src/blocks/code-input/code-input.d.ts +0 -14
  1146. package/lib/typescript/src/blocks/code-input/code-input.d.ts.map +0 -1
  1147. package/lib/typescript/src/blocks/code-input/index.d.ts +0 -2
  1148. package/lib/typescript/src/blocks/code-input/index.d.ts.map +0 -1
  1149. package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts +0 -18
  1150. package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts.map +0 -1
  1151. package/lib/typescript/src/blocks/copy-variant-picker/index.d.ts +0 -2
  1152. package/lib/typescript/src/blocks/copy-variant-picker/index.d.ts.map +0 -1
  1153. package/lib/typescript/src/blocks/cover-photos/cover-photos.d.ts +0 -16
  1154. package/lib/typescript/src/blocks/cover-photos/cover-photos.d.ts.map +0 -1
  1155. package/lib/typescript/src/blocks/cover-photos/index.d.ts +0 -2
  1156. package/lib/typescript/src/blocks/cover-photos/index.d.ts.map +0 -1
  1157. package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts +0 -12
  1158. package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts.map +0 -1
  1159. package/lib/typescript/src/blocks/credit-wallet/index.d.ts +0 -2
  1160. package/lib/typescript/src/blocks/credit-wallet/index.d.ts.map +0 -1
  1161. package/lib/typescript/src/blocks/detail-editor/detail-composer.d.ts +0 -25
  1162. package/lib/typescript/src/blocks/detail-editor/detail-composer.d.ts.map +0 -1
  1163. package/lib/typescript/src/blocks/detail-editor/detail-editor-template.d.ts +0 -13
  1164. package/lib/typescript/src/blocks/detail-editor/detail-editor-template.d.ts.map +0 -1
  1165. package/lib/typescript/src/blocks/detail-editor/draft-strip.d.ts +0 -16
  1166. package/lib/typescript/src/blocks/detail-editor/draft-strip.d.ts.map +0 -1
  1167. package/lib/typescript/src/blocks/detail-editor/editor-bar.d.ts +0 -18
  1168. package/lib/typescript/src/blocks/detail-editor/editor-bar.d.ts.map +0 -1
  1169. package/lib/typescript/src/blocks/detail-editor/photo-tray.d.ts +0 -15
  1170. package/lib/typescript/src/blocks/detail-editor/photo-tray.d.ts.map +0 -1
  1171. package/lib/typescript/src/blocks/detail-editor/tool-row.d.ts +0 -13
  1172. package/lib/typescript/src/blocks/detail-editor/tool-row.d.ts.map +0 -1
  1173. package/lib/typescript/src/blocks/image-grid/image-grid.d.ts +0 -18
  1174. package/lib/typescript/src/blocks/image-grid/image-grid.d.ts.map +0 -1
  1175. package/lib/typescript/src/blocks/image-grid/index.d.ts +0 -2
  1176. package/lib/typescript/src/blocks/image-grid/index.d.ts.map +0 -1
  1177. package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts +0 -15
  1178. package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts.map +0 -1
  1179. package/lib/typescript/src/blocks/inbox-row/index.d.ts +0 -2
  1180. package/lib/typescript/src/blocks/inbox-row/index.d.ts.map +0 -1
  1181. package/lib/typescript/src/blocks/internal/format.d.ts +0 -5
  1182. package/lib/typescript/src/blocks/internal/format.d.ts.map +0 -1
  1183. package/lib/typescript/src/blocks/invoice-row/index.d.ts +0 -2
  1184. package/lib/typescript/src/blocks/invoice-row/index.d.ts.map +0 -1
  1185. package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts +0 -15
  1186. package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts.map +0 -1
  1187. package/lib/typescript/src/blocks/option-editor/index.d.ts +0 -2
  1188. package/lib/typescript/src/blocks/option-editor/index.d.ts.map +0 -1
  1189. package/lib/typescript/src/blocks/option-editor/option-editor.d.ts +0 -18
  1190. package/lib/typescript/src/blocks/option-editor/option-editor.d.ts.map +0 -1
  1191. package/lib/typescript/src/blocks/order-card/index.d.ts +0 -2
  1192. package/lib/typescript/src/blocks/order-card/index.d.ts.map +0 -1
  1193. package/lib/typescript/src/blocks/order-card/order-card.d.ts +0 -46
  1194. package/lib/typescript/src/blocks/order-card/order-card.d.ts.map +0 -1
  1195. package/lib/typescript/src/blocks/plan-card/index.d.ts +0 -2
  1196. package/lib/typescript/src/blocks/plan-card/index.d.ts.map +0 -1
  1197. package/lib/typescript/src/blocks/plan-card/plan-card.d.ts +0 -25
  1198. package/lib/typescript/src/blocks/plan-card/plan-card.d.ts.map +0 -1
  1199. package/lib/typescript/src/blocks/product-list-empty/index.d.ts +0 -2
  1200. package/lib/typescript/src/blocks/product-list-empty/index.d.ts.map +0 -1
  1201. package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts +0 -16
  1202. package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts.map +0 -1
  1203. package/lib/typescript/src/blocks/product-row/index.d.ts +0 -2
  1204. package/lib/typescript/src/blocks/product-row/index.d.ts.map +0 -1
  1205. package/lib/typescript/src/blocks/product-row/product-row.d.ts +0 -19
  1206. package/lib/typescript/src/blocks/product-row/product-row.d.ts.map +0 -1
  1207. package/lib/typescript/src/blocks/review-row/index.d.ts +0 -2
  1208. package/lib/typescript/src/blocks/review-row/index.d.ts.map +0 -1
  1209. package/lib/typescript/src/blocks/review-row/review-row.d.ts +0 -25
  1210. package/lib/typescript/src/blocks/review-row/review-row.d.ts.map +0 -1
  1211. package/lib/typescript/src/blocks/sales-chart/index.d.ts +0 -2
  1212. package/lib/typescript/src/blocks/sales-chart/index.d.ts.map +0 -1
  1213. package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts +0 -15
  1214. package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts.map +0 -1
  1215. package/lib/typescript/src/blocks/shipping-tracking-row/index.d.ts +0 -2
  1216. package/lib/typescript/src/blocks/shipping-tracking-row/index.d.ts.map +0 -1
  1217. package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts +0 -11
  1218. package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts.map +0 -1
  1219. package/lib/typescript/src/blocks/site-preview-frame/index.d.ts +0 -2
  1220. package/lib/typescript/src/blocks/site-preview-frame/index.d.ts.map +0 -1
  1221. package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts +0 -16
  1222. package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts.map +0 -1
  1223. package/lib/typescript/src/blocks/site-summary/index.d.ts +0 -2
  1224. package/lib/typescript/src/blocks/site-summary/index.d.ts.map +0 -1
  1225. package/lib/typescript/src/blocks/site-summary/site-summary.d.ts +0 -18
  1226. package/lib/typescript/src/blocks/site-summary/site-summary.d.ts.map +0 -1
  1227. package/lib/typescript/src/blocks/supply-item-card/index.d.ts +0 -2
  1228. package/lib/typescript/src/blocks/supply-item-card/index.d.ts.map +0 -1
  1229. package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts +0 -24
  1230. package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts.map +0 -1
  1231. package/lib/typescript/src/charts/line-chart.d.ts +0 -17
  1232. package/lib/typescript/src/charts/line-chart.d.ts.map +0 -1
  1233. package/lib/typescript/src/charts/scale.d.ts +0 -10
  1234. package/lib/typescript/src/charts/scale.d.ts.map +0 -1
  1235. package/lib/typescript/src/charts/sparkline.d.ts +0 -11
  1236. package/lib/typescript/src/charts/sparkline.d.ts.map +0 -1
  1237. package/lib/typescript/src/components/step-slider/index.d.ts +0 -2
  1238. package/lib/typescript/src/components/step-slider/index.d.ts.map +0 -1
  1239. package/lib/typescript/src/components/step-slider/step-slider.d.ts +0 -13
  1240. package/lib/typescript/src/components/step-slider/step-slider.d.ts.map +0 -1
  1241. package/lib/typescript/src/sortable/block-strip.d.ts +0 -14
  1242. package/lib/typescript/src/sortable/block-strip.d.ts.map +0 -1
  1243. package/lib/typescript/src/templates/editor-template.d.ts +0 -22
  1244. package/lib/typescript/src/templates/editor-template.d.ts.map +0 -1
  1245. package/src/blocks/action-grid/action-grid.tsx +0 -79
  1246. package/src/blocks/action-grid/index.ts +0 -5
  1247. package/src/blocks/brand-profile-card/brand-profile-card.tsx +0 -85
  1248. package/src/blocks/brand-profile-card/index.ts +0 -4
  1249. package/src/blocks/claim-row/claim-row.tsx +0 -134
  1250. package/src/blocks/claim-row/index.ts +0 -7
  1251. package/src/blocks/code-input/code-input.tsx +0 -111
  1252. package/src/blocks/code-input/index.ts +0 -1
  1253. package/src/blocks/copy-variant-picker/copy-variant-picker.tsx +0 -135
  1254. package/src/blocks/copy-variant-picker/index.ts +0 -5
  1255. package/src/blocks/cover-photos/cover-photos.tsx +0 -176
  1256. package/src/blocks/cover-photos/index.ts +0 -5
  1257. package/src/blocks/credit-wallet/credit-wallet.tsx +0 -111
  1258. package/src/blocks/credit-wallet/index.ts +0 -1
  1259. package/src/blocks/detail-editor/detail-composer.tsx +0 -261
  1260. package/src/blocks/detail-editor/detail-editor-template.tsx +0 -109
  1261. package/src/blocks/detail-editor/draft-strip.tsx +0 -102
  1262. package/src/blocks/detail-editor/editor-bar.tsx +0 -116
  1263. package/src/blocks/detail-editor/photo-tray.tsx +0 -140
  1264. package/src/blocks/detail-editor/tool-row.tsx +0 -66
  1265. package/src/blocks/image-grid/image-grid.tsx +0 -237
  1266. package/src/blocks/image-grid/index.ts +0 -1
  1267. package/src/blocks/inbox-row/inbox-row.tsx +0 -114
  1268. package/src/blocks/inbox-row/index.ts +0 -1
  1269. package/src/blocks/internal/format.ts +0 -24
  1270. package/src/blocks/invoice-row/index.ts +0 -5
  1271. package/src/blocks/invoice-row/invoice-row.tsx +0 -119
  1272. package/src/blocks/option-editor/index.ts +0 -5
  1273. package/src/blocks/option-editor/option-editor.tsx +0 -149
  1274. package/src/blocks/order-card/index.ts +0 -15
  1275. package/src/blocks/order-card/order-card.tsx +0 -220
  1276. package/src/blocks/plan-card/index.ts +0 -1
  1277. package/src/blocks/plan-card/plan-card.tsx +0 -148
  1278. package/src/blocks/product-list-empty/index.ts +0 -5
  1279. package/src/blocks/product-list-empty/product-list-empty.tsx +0 -146
  1280. package/src/blocks/product-row/index.ts +0 -5
  1281. package/src/blocks/product-row/product-row.tsx +0 -99
  1282. package/src/blocks/review-row/index.ts +0 -8
  1283. package/src/blocks/review-row/review-row.tsx +0 -257
  1284. package/src/blocks/sales-chart/index.ts +0 -5
  1285. package/src/blocks/sales-chart/sales-chart.tsx +0 -115
  1286. package/src/blocks/shipping-tracking-row/index.ts +0 -5
  1287. package/src/blocks/shipping-tracking-row/shipping-tracking-row.tsx +0 -92
  1288. package/src/blocks/site-preview-frame/index.ts +0 -5
  1289. package/src/blocks/site-preview-frame/site-preview-frame.tsx +0 -136
  1290. package/src/blocks/site-summary/index.ts +0 -5
  1291. package/src/blocks/site-summary/site-summary.tsx +0 -95
  1292. package/src/blocks/supply-item-card/index.ts +0 -6
  1293. package/src/blocks/supply-item-card/supply-item-card.tsx +0 -139
  1294. package/src/charts/line-chart.tsx +0 -182
  1295. package/src/charts/scale.ts +0 -46
  1296. package/src/charts/sparkline.tsx +0 -60
  1297. package/src/components/step-slider/index.ts +0 -1
  1298. package/src/components/step-slider/step-slider.tsx +0 -153
  1299. package/src/sortable/block-strip.tsx +0 -168
  1300. package/src/templates/editor-template.tsx +0 -164
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
 
3
- import { Text, View } from 'react-native';
3
+ import { View } from 'react-native';
4
+ import Animated, { interpolateColor, useAnimatedStyle } from 'react-native-reanimated';
4
5
  import { CheckGlyph } from "../../internal/glyphs.js";
5
6
  import { renderIcon } from "../../internal/icon.js";
7
+ import { useSwitch } from "../../internal/motion.js";
6
8
  import { PressableBase } from "../../internal/pressable-base.js";
7
9
  import { useTheme } from "../../theme/theme-provider.js";
8
10
  import { makeStyles } from "../../utils/styles.js";
@@ -12,6 +14,7 @@ const HEIGHT = {
12
14
  md: 36,
13
15
  lg: 40
14
16
  };
17
+ const DOT = 6;
15
18
  const MIN_WIDTH = {
16
19
  sm: 44,
17
20
  md: 48,
@@ -25,23 +28,25 @@ const useStyles = makeStyles(t => ({
25
28
  justifyContent: 'center',
26
29
  gap: t.space[1],
27
30
  paddingHorizontal: t.space[3],
28
- borderRadius: t.radius.full,
29
- backgroundColor: t.colors.muted
31
+ borderRadius: t.radius.full
30
32
  },
31
33
  lg: {
32
34
  paddingHorizontal: t.space[4]
33
35
  },
34
- selected: {
35
- backgroundColor: t.colors.primaryContainer
36
+ picked: {
37
+ boxShadow: t.shadow.liftSm
36
38
  },
37
- outline: {
38
- backgroundColor: 'transparent',
39
- borderWidth: 1,
40
- borderColor: t.colors.input
39
+ mark: {
40
+ flexDirection: 'row',
41
+ alignItems: 'center',
42
+ overflow: 'hidden',
43
+ marginRight: -t.space[1]
41
44
  },
42
- outlineSelected: {
43
- backgroundColor: t.colors.muted,
44
- borderColor: t.colors.foreground
45
+ dot: {
46
+ width: DOT,
47
+ height: DOT,
48
+ borderRadius: DOT / 2,
49
+ backgroundColor: t.colors.primary
45
50
  },
46
51
  label: {
47
52
  fontFamily: t.fontFamily,
@@ -49,15 +54,18 @@ const useStyles = makeStyles(t => ({
49
54
  lineHeight: t.typography.label.lineHeight,
50
55
  fontWeight: '500'
51
56
  },
57
+ strong: {
58
+ fontWeight: '600'
59
+ },
52
60
  count: {
53
61
  fontVariant: ['tabular-nums'],
54
- fontWeight: '700'
62
+ fontWeight: '600'
55
63
  }
56
64
  }));
57
65
  export function Chip({
58
66
  selected = false,
67
+ check = false,
59
68
  size = 'sm',
60
- variant = 'solid',
61
69
  leftIcon,
62
70
  count,
63
71
  children,
@@ -68,41 +76,58 @@ export function Chip({
68
76
  }) {
69
77
  const t = useTheme();
70
78
  const s = useStyles();
71
- const outline = variant === 'outline';
72
- const color = selected && !outline ? t.colors.primary : t.colors.foreground;
79
+ const color = selected ? t.colors.title : t.colors.mutedForeground;
80
+ const off = t.colors.recess;
81
+ const on = t.colors.raised;
82
+ const ink = t.colors.mutedForeground;
83
+ const point = t.colors.title;
84
+ const reach = (check ? t.iconSize.sm : DOT) + t.space[1];
85
+ const pick = useSwitch(selected, 'base');
86
+ const mark = useSwitch(selected, 'base');
87
+ const face = useAnimatedStyle(() => ({
88
+ backgroundColor: interpolateColor(pick.value, [0, 1], [off, on])
89
+ }));
90
+ const tone = useAnimatedStyle(() => ({
91
+ color: interpolateColor(pick.value, [0, 1], [ink, point])
92
+ }));
93
+ const open = useAnimatedStyle(() => ({
94
+ width: reach * mark.value,
95
+ opacity: mark.value
96
+ }));
73
97
  return /*#__PURE__*/_jsxs(PressableBase, {
74
98
  ...rest,
75
99
  accessibilityLabel: accessibilityLabel ?? (count === undefined ? undefined : `${children}, ${count}건`),
76
- accessibilityState: {
77
- ...accessibilityState,
100
+ accessibilityState: accessibilityState ?? {
78
101
  selected
79
102
  },
80
103
  touchHeight: HEIGHT[size],
81
104
  style: [s.base, {
82
105
  height: HEIGHT[size],
83
106
  minWidth: MIN_WIDTH[size]
84
- }, size === 'lg' && s.lg, outline ? [s.outline, selected && s.outlineSelected] : selected && s.selected, style],
85
- children: [selected && !outline ? /*#__PURE__*/_jsx(CheckGlyph, {
86
- color: color,
87
- size: t.iconSize.sm
88
- }) : null, leftIcon ? /*#__PURE__*/_jsx(View, {
107
+ }, size === 'lg' && s.lg, selected && s.picked, style],
108
+ animatedStyle: face,
109
+ children: [/*#__PURE__*/_jsx(Animated.View, {
110
+ style: [s.mark, open],
111
+ children: check ? /*#__PURE__*/_jsx(CheckGlyph, {
112
+ color: t.colors.primary,
113
+ size: t.iconSize.sm
114
+ }) : /*#__PURE__*/_jsx(View, {
115
+ style: s.dot
116
+ })
117
+ }), leftIcon ? /*#__PURE__*/_jsx(View, {
89
118
  children: renderIcon(leftIcon, {
90
119
  color,
91
120
  size: t.iconSize.sm
92
121
  })
93
- }) : null, /*#__PURE__*/_jsx(Text, {
122
+ }) : null, /*#__PURE__*/_jsx(Animated.Text, {
94
123
  numberOfLines: 1,
95
124
  maxFontSizeMultiplier: t.maxFontScale,
96
- style: [s.label, {
97
- color
98
- }],
125
+ style: [s.label, selected && s.strong, tone],
99
126
  children: children
100
- }), count === undefined ? null : /*#__PURE__*/_jsx(Text, {
127
+ }), count === undefined ? null : /*#__PURE__*/_jsx(Animated.Text, {
101
128
  numberOfLines: 1,
102
129
  maxFontSizeMultiplier: t.maxFontScale,
103
- style: [s.label, s.count, {
104
- color
105
- }],
130
+ style: [s.label, s.count, tone],
106
131
  children: count
107
132
  })]
108
133
  });
@@ -1 +1 @@
1
- {"version":3,"names":["Text","View","CheckGlyph","renderIcon","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","HEIGHT","sm","md","lg","MIN_WIDTH","useStyles","t","base","flexDirection","alignItems","alignSelf","justifyContent","gap","space","paddingHorizontal","borderRadius","radius","full","backgroundColor","colors","muted","selected","primaryContainer","outline","borderWidth","borderColor","input","outlineSelected","foreground","label","fontFamily","fontSize","typography","lineHeight","fontWeight","count","fontVariant","Chip","size","variant","leftIcon","children","style","accessibilityState","accessibilityLabel","rest","s","color","primary","undefined","touchHeight","height","minWidth","iconSize","numberOfLines","maxFontSizeMultiplier","maxFontScale"],"sourceRoot":"../../../../src","sources":["components/chip/chip.tsx"],"mappings":";;AAAA,SAASA,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,UAAU,QAAQ,0BAAuB;AAClD,SAASC,UAAU,QAAuB,wBAAqB;AAC/D,SACEC,aAAa,QAER,kCAA+B;AACtC,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAehD,MAAMC,MAAgC,GAAG;EAAEC,EAAE,EAAE,EAAE;EAAEC,EAAE,EAAE,EAAE;EAAEC,EAAE,EAAE;AAAG,CAAC;AACnE,MAAMC,SAAmC,GAAG;EAAEH,EAAE,EAAE,EAAE;EAAEC,EAAE,EAAE,EAAE;EAAEC,EAAE,EAAE;AAAG,CAAC;AAEtE,MAAME,SAAS,GAAGV,UAAU,CAAEW,CAAC,KAAM;EACnCC,IAAI,EAAE;IACJC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAE,YAAY;IACvBC,cAAc,EAAE,QAAQ;IACxBC,GAAG,EAAEN,CAAC,CAACO,KAAK,CAAC,CAAC,CAAC;IACfC,iBAAiB,EAAER,CAAC,CAACO,KAAK,CAAC,CAAC,CAAC;IAC7BE,YAAY,EAAET,CAAC,CAACU,MAAM,CAACC,IAAI;IAC3BC,eAAe,EAAEZ,CAAC,CAACa,MAAM,CAACC;EAC5B,CAAC;EACDjB,EAAE,EAAE;IAAEW,iBAAiB,EAAER,CAAC,CAACO,KAAK,CAAC,CAAC;EAAE,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iE,aAAa,EAAE,CAAE;MACjBC,qBAAqB,EAAEjD,CAAC,CAACkD,YAAa;MACtCd,KAAK,EAAE,CAACI,CAAC,CAACjB,KAAK,EAAEiB,CAAC,CAACX,KAAK,EAAE;QAAEY;MAAM,CAAC,CAAE;MAAAN,QAAA,EAEpCN;IAAK,CACF,CACP;EAAA,CACY,CAAC;AAEpB","ignoreList":[]}
1
+ {"version":3,"names":["View","Animated","interpolateColor","useAnimatedStyle","CheckGlyph","renderIcon","useSwitch","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","HEIGHT","sm","md","lg","DOT","MIN_WIDTH","useStyles","t","base","flexDirection","alignItems","alignSelf","justifyContent","gap","space","paddingHorizontal","borderRadius","radius","full","picked","boxShadow","shadow","liftSm","mark","overflow","marginRight","dot","width","height","backgroundColor","colors","primary","label","fontFamily","fontSize","typography","lineHeight","fontWeight","strong","count","fontVariant","Chip","selected","check","size","leftIcon","children","style","accessibilityState","accessibilityLabel","rest","s","color","title","mutedForeground","off","recess","on","raised","ink","point","reach","iconSize","pick","face","value","tone","open","opacity","undefined","touchHeight","minWidth","animatedStyle","Text","numberOfLines","maxFontSizeMultiplier","maxFontScale"],"sourceRoot":"../../../../src","sources":["components/chip/chip.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AACnC,OAAOC,QAAQ,IACbC,gBAAgB,EAChBC,gBAAgB,QACX,yBAAyB;AAChC,SAASC,UAAU,QAAQ,0BAAuB;AAClD,SAASC,UAAU,QAAuB,wBAAqB;AAC/D,SAASC,SAAS,QAAQ,0BAAuB;AACjD,SACEC,aAAa,QAER,kCAA+B;AACtC,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAahD,MAAMC,MAAgC,GAAG;EAAEC,EAAE,EAAE,EAAE;EAAEC,EAAE,EAAE,EAAE;EAAEC,EAAE,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;QAACa,IAAI,EAAErC,CAAC,CAACuD,QAAQ,CAAC7D;MAAG,CAAE,CAAC,gBAE5DJ,IAAA,CAACX,IAAI;QAAC6D,KAAK,EAAEI,CAAC,CAACzB;MAAI,CAAE;IACtB,CACY,CAAC,EACfmB,QAAQ,gBACPhD,IAAA,CAACX,IAAI;MAAA4D,QAAA,EAAEvD,UAAU,CAACsD,QAAQ,EAAE;QAAEO,KAAK;QAAER,IAAI,EAAErC,CAAC,CAACuD,QAAQ,CAAC7D;MAAG,CAAC;IAAC,CAAO,CAAC,GACjE,IAAI,eACRJ,IAAA,CAACV,QAAQ,CAACsF,IAAI;MACZC,aAAa,EAAE,CAAE;MACjBC,qBAAqB,EAAEpE,CAAC,CAACqE,YAAa;MACtC7B,KAAK,EAAE,CAACI,CAAC,CAACnB,KAAK,EAAEU,QAAQ,IAAIS,CAAC,CAACb,MAAM,EAAE4B,IAAI,CAAE;MAAApB,QAAA,EAE5CA;IAAQ,CACI,CAAC,EACfP,KAAK,KAAK8B,SAAS,GAAG,IAAI,gBACzBxE,IAAA,CAACV,QAAQ,CAACsF,IAAI;MACZC,aAAa,EAAE,CAAE;MACjBC,qBAAqB,EAAEpE,CAAC,CAACqE,YAAa;MACtC7B,KAAK,EAAE,CAACI,CAAC,CAACnB,KAAK,EAAEmB,CAAC,CAACZ,KAAK,EAAE2B,IAAI,CAAE;MAAApB,QAAA,EAE/BP;IAAK,CACO,CAChB;EAAA,CACY,CAAC;AAEpB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["Chip"],"sourceRoot":"../../../../src","sources":["components/chip/index.ts"],"mappings":";;AAAA,SAASA,IAAI,QAAyD,WAAQ","ignoreList":[]}
1
+ {"version":3,"names":["Chip"],"sourceRoot":"../../../../src","sources":["components/chip/index.ts"],"mappings":";;AAAA,SAASA,IAAI,QAAuC,WAAQ","ignoreList":[]}
@@ -3,6 +3,8 @@
3
3
  import { ScrollView, View } from 'react-native';
4
4
  import { makeStyles } from "../../utils/styles.js";
5
5
  import { Chip } from "../chip/chip.js";
6
+ import { haptic } from "../../internal/haptics.js";
7
+ import { nextMultiple, nextSingle } from "../../internal/selection.js";
6
8
  import { jsx as _jsx } from "react/jsx-runtime";
7
9
  const useStyles = makeStyles(t => ({
8
10
  root: {
@@ -10,6 +12,14 @@ const useStyles = makeStyles(t => ({
10
12
  flexWrap: 'wrap',
11
13
  gap: t.space[2]
12
14
  },
15
+ evenRow: {
16
+ flexWrap: 'nowrap'
17
+ },
18
+ evenChip: {
19
+ flex: 1,
20
+ minWidth: 0,
21
+ paddingHorizontal: 0
22
+ },
13
23
  scroll: {
14
24
  marginHorizontal: -t.layout.screenX,
15
25
  flexGrow: 0
@@ -25,22 +35,19 @@ export function ChipGroup(props) {
25
35
  const {
26
36
  items,
27
37
  size,
28
- variant,
29
38
  scroll,
39
+ even,
30
40
  style
31
41
  } = props;
42
+ const check = props.check ?? !!props.multiple;
32
43
  const isSelected = v => props.multiple ? props.value.includes(v) : props.value === v;
33
44
  const press = v => {
34
45
  if (props.multiple) {
35
- if (props.value.includes(v)) {
36
- props.onValueChange(props.value.filter(x => x !== v));
37
- } else if (props.max === undefined || props.value.length < props.max) {
38
- props.onValueChange([...props.value, v]);
39
- }
40
- } else if (props.value === v) {
41
- if (props.deselectable) props.onValueChange(null);
46
+ const next = nextMultiple(props.value, v, props.max);
47
+ if (next) props.onValueChange(next);
42
48
  } else {
43
- props.onValueChange(v);
49
+ const next = nextSingle(props.value, v, props.deselectable);
50
+ if (next !== undefined) props.onValueChange(next);
44
51
  }
45
52
  };
46
53
  const full = props.multiple && props.max !== undefined && props.value.length >= props.max;
@@ -48,17 +55,19 @@ export function ChipGroup(props) {
48
55
  const selected = isSelected(item.value);
49
56
  return /*#__PURE__*/_jsx(Chip, {
50
57
  selected: selected,
58
+ check: check,
51
59
  size: size,
52
- variant: variant,
53
60
  count: item.count,
54
61
  disabled: item.disabled || full && !selected,
55
62
  accessibilityRole: props.multiple ? 'checkbox' : 'radio',
56
- accessibilityState: props.multiple ? {
63
+ accessibilityState: {
57
64
  checked: selected
58
- } : {
59
- selected
60
65
  },
61
- onPress: () => press(item.value),
66
+ onPress: () => {
67
+ haptic('select');
68
+ press(item.value);
69
+ },
70
+ style: even ? s.evenChip : undefined,
62
71
  children: item.label
63
72
  }, item.value);
64
73
  });
@@ -74,7 +83,7 @@ export function ChipGroup(props) {
74
83
  }
75
84
  return /*#__PURE__*/_jsx(View, {
76
85
  accessibilityRole: props.multiple ? undefined : 'radiogroup',
77
- style: [s.root, style],
86
+ style: [s.root, even && s.evenRow, style],
78
87
  children: chips
79
88
  });
80
89
  }
@@ -1 +1 @@
1
- {"version":3,"names":["ScrollView","View","makeStyles","Chip","jsx","_jsx","useStyles","t","root","flexDirection","flexWrap","gap","space","scroll","marginHorizontal","layout","screenX","flexGrow","track","paddingHorizontal","ChipGroup","props","s","items","size","variant","style","isSelected","v","multiple","value","includes","press","onValueChange","filter","x","max","undefined","length","deselectable","full","chips","map","item","selected","count","disabled","accessibilityRole","accessibilityState","checked","onPress","children","label","horizontal","showsHorizontalScrollIndicator","contentContainerStyle"],"sourceRoot":"../../../../src","sources":["components/chip-group/chip-group.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,QAAwC,cAAc;AAC/E,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAyC,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AA+BrE,MAAMC,SAAS,GAAGJ,UAAU,CAAEK,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,aAAa,EAAE,KAAK;IAAEC,QAAQ,EAAE,MAAM;IAAEC,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC;EAAE,CAAC;EACjEC,MAAM,EAAE;IAAEC,gBAAgB,EAAE,CAACP,CAAC,CAACQ,MAAM,CAACC,OAAO;IAAEC,QAAQ,EAAE;EAAE,CAAC;EAC5DC,KAAK,EAAE;IACLT,aAAa,EAAE,KAAK;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Aa;IAC7DX,KAAK,EAAE,CAACJ,CAAC,CAACd,IAAI,EAAEkB,KAAK,CAAE;IAAAyB,QAAA,EAEtBV;EAAK,CACF,CAAC;AAEX","ignoreList":[]}
1
+ {"version":3,"names":["ScrollView","View","makeStyles","Chip","haptic","nextMultiple","nextSingle","jsx","_jsx","useStyles","t","root","flexDirection","flexWrap","gap","space","evenRow","evenChip","flex","minWidth","paddingHorizontal","scroll","marginHorizontal","layout","screenX","flexGrow","track","ChipGroup","props","s","items","size","even","style","check","multiple","isSelected","v","value","includes","press","next","max","onValueChange","deselectable","undefined","full","length","chips","map","item","selected","count","disabled","accessibilityRole","accessibilityState","checked","onPress","children","label","horizontal","showsHorizontalScrollIndicator","contentContainerStyle"],"sourceRoot":"../../../../src","sources":["components/chip-group/chip-group.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,QAAwC,cAAc;AAC/E,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAuB,iBAAc;AAClD,SAASC,MAAM,QAAQ,2BAAwB;AAC/C,SAASC,YAAY,EAAEC,UAAU,QAAQ,6BAA0B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAgCpE,MAAMC,SAAS,GAAGP,UAAU,CAAEQ,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,aAAa,EAAE,KAAK;IAAEC,QAAQ,EAAE,MAAM;IAAEC,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC;EAAE,CAAC;EACjEC,OAAO,EAAE;IAAEH,QAAQ,EAAE;EAAS,CAAC;EAC/BI,QAAQ,EAAE;IAAEC,IAAI,EAAE,CAAC;IAAEC,QAAQ,EAAE,CAAC;IAAEC,iBAAiB,EAAE;EAAE,CAAC;EACxDC,MAAM,EAAE;IAAEC,gBAAgB,EAAE,CAACZ,CAAC,CAACa,MAAM,CAACC,OAAO;IAAEC,QAAQ,EAAE;EAAE,CAAC;EAC5DC,KAAK,EAAE;IACLd,aAAa,EAAE,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yB,QAAA,EAEzCV;EAAK,CACF,CAAC;AAEX","ignoreList":[]}
@@ -2,14 +2,22 @@
2
2
 
3
3
  import { useState } from 'react';
4
4
  import { Image, Text as RNText, View } from 'react-native';
5
- import { CheckGlyph } from "../../internal/glyphs.js";
5
+ import Animated, { useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
6
+ import { CheckDisc } from "../../internal/check-disc.js";
7
+ import { timing, useSwitch } from "../../internal/motion.js";
6
8
  import { PressableBase } from "../../internal/pressable-base.js";
7
9
  import { useTheme } from "../../theme/theme-provider.js";
8
10
  import { makeStyles } from "../../utils/styles.js";
9
11
  import { Text } from "../text/text.js";
12
+ import { haptic } from "../../internal/haptics.js";
13
+ import { nextMultiple, nextSingle } from "../../internal/selection.js";
10
14
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
15
  const RING = 3;
12
- const BADGE = 26;
16
+ const HALO = 4;
17
+ const RING_FROM = 1.12;
18
+ const BADGE = 24;
19
+ const BADGE_RING = 2.5;
20
+ const BADGE_SHIFT = (BADGE + BADGE_RING * 2 - 26) / 2;
13
21
  const GLYPH = 40;
14
22
  const useStyles = makeStyles(t => ({
15
23
  root: {
@@ -30,8 +38,18 @@ const useStyles = makeStyles(t => ({
30
38
  borderRadius: t.radius.full,
31
39
  borderColor: 'transparent'
32
40
  },
33
- ringOn: {
34
- borderColor: t.colors.primary
41
+ hoop: {
42
+ position: 'absolute',
43
+ top: RING - HALO,
44
+ right: RING - HALO,
45
+ bottom: RING - HALO,
46
+ left: RING - HALO,
47
+ borderRadius: t.radius.full,
48
+ backgroundColor: t.colors.raised,
49
+ boxShadow: t.shadow.lift
50
+ },
51
+ fill: {
52
+ flex: 1
35
53
  },
36
54
  circle: {
37
55
  flex: 1,
@@ -51,16 +69,8 @@ const useStyles = makeStyles(t => ({
51
69
  },
52
70
  badge: {
53
71
  position: 'absolute',
54
- right: 0,
55
- bottom: 0,
56
- width: BADGE,
57
- height: BADGE,
58
- borderRadius: t.radius.full,
59
- alignItems: 'center',
60
- justifyContent: 'center',
61
- borderWidth: 2,
62
- borderColor: t.colors.background,
63
- backgroundColor: t.colors.primary
72
+ right: -BADGE_SHIFT,
73
+ bottom: -BADGE_SHIFT
64
74
  },
65
75
  label: {
66
76
  textAlign: 'center'
@@ -89,66 +99,112 @@ function Circle({
89
99
  }) : null
90
100
  });
91
101
  }
102
+ function Cell({
103
+ item,
104
+ on,
105
+ multiple,
106
+ width,
107
+ onPress
108
+ }) {
109
+ const t = useTheme();
110
+ const s = useStyles();
111
+ const pressed = useSharedValue(0);
112
+ const ring = useSwitch(on, 'base', 'decelerate');
113
+ const badge = useSwitch(on, 'spring', 'spring');
114
+ const shrinkTo = t.press.scale;
115
+ const face = useAnimatedStyle(() => ({
116
+ transform: [{
117
+ scale: 1 - pressed.value * (1 - shrinkTo)
118
+ }]
119
+ }));
120
+ const hoop = useAnimatedStyle(() => ({
121
+ opacity: ring.value,
122
+ transform: [{
123
+ scale: RING_FROM - (RING_FROM - 1) * ring.value
124
+ }]
125
+ }));
126
+ const mark = useAnimatedStyle(() => ({
127
+ opacity: Math.min(1, badge.value * 2),
128
+ transform: [{
129
+ scale: badge.value
130
+ }]
131
+ }));
132
+ const hold = into => () => {
133
+ pressed.value = withTiming(into ? 1 : 0, timing(t, 'press'));
134
+ };
135
+ return /*#__PURE__*/_jsxs(PressableBase, {
136
+ feedback: "none",
137
+ accessibilityRole: multiple ? 'checkbox' : 'radio',
138
+ accessibilityState: {
139
+ checked: on
140
+ },
141
+ accessibilityLabel: item.label,
142
+ onPress: onPress,
143
+ onPressIn: hold(true),
144
+ onPressOut: hold(false),
145
+ style: [s.cell, {
146
+ width
147
+ }],
148
+ children: [/*#__PURE__*/_jsxs(View, {
149
+ style: s.ring,
150
+ children: [/*#__PURE__*/_jsx(Animated.View, {
151
+ pointerEvents: "none",
152
+ style: [s.hoop, hoop]
153
+ }), /*#__PURE__*/_jsx(Animated.View, {
154
+ style: [s.fill, face],
155
+ children: /*#__PURE__*/_jsx(Circle, {
156
+ uri: item.uri,
157
+ source: item.source,
158
+ glyph: item.glyph
159
+ })
160
+ }), /*#__PURE__*/_jsx(Animated.View, {
161
+ pointerEvents: "none",
162
+ style: [s.badge, mark],
163
+ children: /*#__PURE__*/_jsx(CheckDisc, {
164
+ size: BADGE,
165
+ ring: BADGE_RING
166
+ })
167
+ })]
168
+ }), /*#__PURE__*/_jsx(Text, {
169
+ variant: "label",
170
+ weight: on ? 'semibold' : 'regular',
171
+ style: s.label,
172
+ numberOfLines: 2,
173
+ children: item.label
174
+ })]
175
+ });
176
+ }
92
177
  export function CircleGrid(props) {
93
178
  const {
94
179
  items,
95
180
  columns = 3,
96
181
  style
97
182
  } = props;
98
- const t = useTheme();
99
183
  const s = useStyles();
100
184
  const width = `${100 / columns}%`;
101
185
  const isOn = v => props.multiple ? props.value.includes(v) : props.value === v;
102
186
  const press = v => {
103
- if (!props.multiple) {
104
- props.onValueChange(v);
105
- return;
106
- }
107
- if (props.value.includes(v)) {
108
- props.onValueChange(props.value.filter(x => x !== v));
109
- } else if (props.max === undefined || props.value.length < props.max) {
110
- props.onValueChange([...props.value, v]);
187
+ if (props.multiple) {
188
+ const next = nextMultiple(props.value, v, props.max);
189
+ if (next) props.onValueChange(next);
190
+ } else {
191
+ const next = nextSingle(props.value, v);
192
+ if (next) props.onValueChange(next);
111
193
  }
112
194
  };
113
195
  return /*#__PURE__*/_jsx(View, {
114
196
  accessibilityRole: props.multiple ? undefined : 'radiogroup',
115
197
  style: [s.root, style],
116
- children: items.map(item => {
117
- const on = isOn(item.value);
118
- return /*#__PURE__*/_jsxs(PressableBase, {
119
- accessibilityRole: props.multiple ? 'checkbox' : 'radio',
120
- accessibilityState: props.multiple ? {
121
- checked: on
122
- } : {
123
- selected: on
124
- },
125
- accessibilityLabel: item.label,
126
- onPress: () => press(item.value),
127
- style: [s.cell, {
128
- width
129
- }],
130
- children: [/*#__PURE__*/_jsxs(View, {
131
- style: [s.ring, on && s.ringOn],
132
- children: [/*#__PURE__*/_jsx(Circle, {
133
- uri: item.uri,
134
- source: item.source,
135
- glyph: item.glyph
136
- }), on ? /*#__PURE__*/_jsx(View, {
137
- style: s.badge,
138
- children: /*#__PURE__*/_jsx(CheckGlyph, {
139
- color: t.colors.primaryForeground,
140
- size: 14
141
- })
142
- }) : null]
143
- }), /*#__PURE__*/_jsx(Text, {
144
- variant: "label",
145
- weight: on ? 'bold' : 'regular',
146
- style: s.label,
147
- numberOfLines: 2,
148
- children: item.label
149
- })]
150
- }, item.value);
151
- })
198
+ children: items.map(item => /*#__PURE__*/_jsx(Cell, {
199
+ item: item,
200
+ on: isOn(item.value),
201
+ multiple: !!props.multiple,
202
+ width: width,
203
+ onPress: () => {
204
+ haptic('select');
205
+ press(item.value);
206
+ }
207
+ }, item.value))
152
208
  });
153
209
  }
154
210
  //# sourceMappingURL=circle-grid.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["useState","Image","Text","RNText","View","CheckGlyph","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","RING","BADGE","GLYPH","useStyles","t","root","flexDirection","flexWrap","rowGap","space","cell","alignItems","gap","paddingHorizontal","ring","width","aspectRatio","padding","borderWidth","borderRadius","radius","full","borderColor","ringOn","colors","primary","circle","flex","overflow","justifyContent","backgroundColor","muted","image","height","glyph","fontSize","lineHeight","badge","position","right","bottom","background","label","textAlign","Circle","uri","source","s","failed","setFailed","style","children","resizeMode","onError","CircleGrid","props","items","columns","isOn","v","multiple","value","includes","press","onValueChange","filter","x","max","undefined","length","accessibilityRole","map","item","on","accessibilityState","checked","selected","accessibilityLabel","onPress","color","primaryForeground","size","variant","weight","numberOfLines"],"sourceRoot":"../../../../src","sources":["components/circle-grid/circle-grid.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SACEC,KAAK,EAELC,IAAI,IAAIC,MAAM,EACdC,IAAI,QAGC,cAAc;AACrB,SAASC,UAAU,QAAQ,0BAAuB;AAClD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AEH,CAAC,CAACL,KAAM;UACf0C,aAAa,EAAE,CAAE;UAAAjC,QAAA,EAEhBqB,IAAI,CAAC9B;QAAK,CACP,CAAC;MAAA,GAxBF8B,IAAI,CAACX,KAyBG,CAAC;IAEpB,CAAC;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
1
+ {"version":3,"names":["useState","Image","Text","RNText","View","Animated","useAnimatedStyle","useSharedValue","withTiming","CheckDisc","timing","useSwitch","PressableBase","useTheme","makeStyles","haptic","nextMultiple","nextSingle","jsx","_jsx","jsxs","_jsxs","RING","HALO","RING_FROM","BADGE","BADGE_RING","BADGE_SHIFT","GLYPH","useStyles","t","root","flexDirection","flexWrap","rowGap","space","cell","alignItems","gap","paddingHorizontal","ring","width","aspectRatio","padding","borderWidth","borderRadius","radius","full","borderColor","hoop","position","top","right","bottom","left","backgroundColor","colors","raised","boxShadow","shadow","lift","fill","flex","circle","overflow","justifyContent","muted","image","height","glyph","fontSize","lineHeight","badge","label","textAlign","Circle","uri","source","s","failed","setFailed","style","children","resizeMode","onError","Cell","item","on","multiple","onPress","pressed","shrinkTo","press","scale","face","transform","value","opacity","mark","Math","min","hold","into","feedback","accessibilityRole","accessibilityState","checked","accessibilityLabel","onPressIn","onPressOut","pointerEvents","size","variant","weight","numberOfLines","CircleGrid","props","items","columns","isOn","v","includes","next","max","onValueChange","undefined","map"],"sourceRoot":"../../../../src","sources":["components/circle-grid/circle-grid.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SACEC,KAAK,EAELC,IAAI,IAAIC,MAAM,EACdC,IAAI,QAGC,cAAc;AACrB,OAAOC,QAAQ,IACbC,gBAAgB,EAChBC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAChC,SAASC,SAAS,QAAQ,8BAA2B;AACrD,SAASC,MAAM,EAAEC,SAAS,QAAQ,0BAAuB;AACzD,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,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G,CAAC;MACpD,IAAID,IAAI,EAAEN,KAAK,CAACQ,aAAa,CAACF,IAAI,CAAC;IACrC,CAAC,MAAM;MACL,MAAMA,IAAI,GAAGzG,UAAU,CAACmG,KAAK,CAACpB,KAAK,EAAEwB,CAAC,CAAC;MACvC,IAAIE,IAAI,EAAEN,KAAK,CAACQ,aAAa,CAACF,IAAI,CAAC;IACrC;EACF,CAAC;EACD,oBACEvG,IAAA,CAACf,IAAI;IACHoG,iBAAiB,EAAEY,KAAK,CAAC5B,QAAQ,GAAGqC,SAAS,GAAG,YAAa;IAC7D5C,KAAK,EAAE,CAACH,CAAC,CAAC/C,IAAI,EAAEkD,KAAK,CAAE;IAAAC,QAAA,EAEtBmC,KAAK,CAACS,GAAG,CAAExC,IAAI,iBACdnE,IAAA,CAACkE,IAAI;MAEHC,IAAI,EAAEA,IAAK;MACXC,EAAE,EAAEgC,IAAI,CAACjC,IAAI,CAACU,KAAK,CAAE;MACrBR,QAAQ,EAAE,CAAC,CAAC4B,KAAK,CAAC5B,QAAS;MAC3B/C,KAAK,EAAEA,KAAM;MACbgD,OAAO,EAAEA,CAAA,KAAM;QACb1E,MAAM,CAAC,QAAQ,CAAC;QAChB6E,KAAK,CAACN,IAAI,CAACU,KAAK,CAAC;MACnB;IAAE,GARGV,IAAI,CAACU,KASX,CACF;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+
3
+ import { Text as RNText, View } from 'react-native';
4
+ import { GemGlyph } from "../../internal/glyphs.js";
5
+ import { useTheme } from "../../theme/theme-provider.js";
6
+ import { withAlpha } from "../../utils/color.js";
7
+ import { makeStyles } from "../../utils/styles.js";
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ const INVERSE = 0.78;
10
+ const useStyles = makeStyles(t => ({
11
+ cost: {
12
+ flexDirection: 'row',
13
+ alignItems: 'center',
14
+ gap: t.space[1]
15
+ },
16
+ value: {
17
+ fontFamily: t.fontFamily,
18
+ fontSize: t.typography.eyebrow.fontSize,
19
+ lineHeight: t.typography.eyebrow.lineHeight,
20
+ fontWeight: '600',
21
+ fontVariant: ['tabular-nums']
22
+ },
23
+ pill: {
24
+ flexDirection: 'row',
25
+ alignItems: 'center',
26
+ height: t.space[6] + t.space[1],
27
+ paddingLeft: t.space[2],
28
+ paddingRight: t.space[3],
29
+ marginRight: t.space[1],
30
+ borderRadius: t.radius.full,
31
+ backgroundColor: t.colors.muted
32
+ }
33
+ }));
34
+ export function CreditCost({
35
+ value,
36
+ tone = 'muted'
37
+ }) {
38
+ const t = useTheme();
39
+ const s = useStyles();
40
+ const color = tone === 'inverse' ? withAlpha(t.colors.primaryForeground, INVERSE) : tone === 'disabled' ? t.colors.disabledForeground : t.colors.mutedForeground;
41
+ return /*#__PURE__*/_jsxs(View, {
42
+ style: s.cost,
43
+ children: [/*#__PURE__*/_jsx(GemGlyph, {
44
+ color: color,
45
+ size: t.space[3]
46
+ }), /*#__PURE__*/_jsx(RNText, {
47
+ maxFontSizeMultiplier: t.maxFontScale,
48
+ style: [s.value, {
49
+ color
50
+ }],
51
+ children: String(value)
52
+ })]
53
+ });
54
+ }
55
+ export function CreditPill({
56
+ balance,
57
+ accessibilityLabel
58
+ }) {
59
+ const s = useStyles();
60
+ return /*#__PURE__*/_jsx(View, {
61
+ accessible: true,
62
+ accessibilityLabel: accessibilityLabel ?? `크레딧 잔액 ${balance}`,
63
+ style: s.pill,
64
+ children: /*#__PURE__*/_jsx(CreditCost, {
65
+ value: balance
66
+ })
67
+ });
68
+ }
69
+ //# sourceMappingURL=credit.js.map