@ezpg/app-ui 0.0.0-stage → 0.2.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 (586) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/LICENSE +20 -0
  3. package/lib/module/blocks/brand-profile-card/brand-profile-card.js +88 -0
  4. package/lib/module/blocks/brand-profile-card/brand-profile-card.js.map +1 -0
  5. package/lib/module/blocks/brand-profile-card/index.js +4 -0
  6. package/lib/module/blocks/brand-profile-card/index.js.map +1 -0
  7. package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js +190 -0
  8. package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js.map +1 -0
  9. package/lib/module/blocks/bulk-ship-list/index.js +4 -0
  10. package/lib/module/blocks/bulk-ship-list/index.js.map +1 -0
  11. package/lib/module/blocks/claim-row/claim-row.js +106 -0
  12. package/lib/module/blocks/claim-row/claim-row.js.map +1 -0
  13. package/lib/module/blocks/claim-row/index.js +4 -0
  14. package/lib/module/blocks/claim-row/index.js.map +1 -0
  15. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +122 -0
  16. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js.map +1 -0
  17. package/lib/module/blocks/color-swatch-picker/index.js +4 -0
  18. package/lib/module/blocks/color-swatch-picker/index.js.map +1 -0
  19. package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js +140 -0
  20. package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js.map +1 -0
  21. package/lib/module/blocks/copy-variant-picker/index.js +4 -0
  22. package/lib/module/blocks/copy-variant-picker/index.js.map +1 -0
  23. package/lib/module/blocks/credit-wallet/credit-wallet.js +121 -0
  24. package/lib/module/blocks/credit-wallet/credit-wallet.js.map +1 -0
  25. package/lib/module/blocks/credit-wallet/index.js +4 -0
  26. package/lib/module/blocks/credit-wallet/index.js.map +1 -0
  27. package/lib/module/blocks/generation-progress/generation-progress.js +157 -0
  28. package/lib/module/blocks/generation-progress/generation-progress.js.map +1 -0
  29. package/lib/module/blocks/generation-progress/index.js +4 -0
  30. package/lib/module/blocks/generation-progress/index.js.map +1 -0
  31. package/lib/module/blocks/image-grid/image-grid.js +277 -0
  32. package/lib/module/blocks/image-grid/image-grid.js.map +1 -0
  33. package/lib/module/blocks/image-grid/index.js +4 -0
  34. package/lib/module/blocks/image-grid/index.js.map +1 -0
  35. package/lib/module/blocks/index.js +25 -0
  36. package/lib/module/blocks/index.js.map +1 -0
  37. package/lib/module/blocks/internal/card.js +80 -0
  38. package/lib/module/blocks/internal/card.js.map +1 -0
  39. package/lib/module/blocks/internal/format.js +19 -0
  40. package/lib/module/blocks/internal/format.js.map +1 -0
  41. package/lib/module/blocks/invoice-row/index.js +4 -0
  42. package/lib/module/blocks/invoice-row/index.js.map +1 -0
  43. package/lib/module/blocks/invoice-row/invoice-row.js +99 -0
  44. package/lib/module/blocks/invoice-row/invoice-row.js.map +1 -0
  45. package/lib/module/blocks/logo-candidate-grid/index.js +4 -0
  46. package/lib/module/blocks/logo-candidate-grid/index.js.map +1 -0
  47. package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js +115 -0
  48. package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js.map +1 -0
  49. package/lib/module/blocks/oauth-buttons/index.js +4 -0
  50. package/lib/module/blocks/oauth-buttons/index.js.map +1 -0
  51. package/lib/module/blocks/oauth-buttons/oauth-buttons.js +99 -0
  52. package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -0
  53. package/lib/module/blocks/option-editor/index.js +4 -0
  54. package/lib/module/blocks/option-editor/index.js.map +1 -0
  55. package/lib/module/blocks/option-editor/option-editor.js +143 -0
  56. package/lib/module/blocks/option-editor/option-editor.js.map +1 -0
  57. package/lib/module/blocks/order-card/index.js +4 -0
  58. package/lib/module/blocks/order-card/index.js.map +1 -0
  59. package/lib/module/blocks/order-card/order-card.js +151 -0
  60. package/lib/module/blocks/order-card/order-card.js.map +1 -0
  61. package/lib/module/blocks/plan-card/index.js +4 -0
  62. package/lib/module/blocks/plan-card/index.js.map +1 -0
  63. package/lib/module/blocks/plan-card/plan-card.js +138 -0
  64. package/lib/module/blocks/plan-card/plan-card.js.map +1 -0
  65. package/lib/module/blocks/product-list-empty/index.js +4 -0
  66. package/lib/module/blocks/product-list-empty/index.js.map +1 -0
  67. package/lib/module/blocks/product-list-empty/product-list-empty.js +153 -0
  68. package/lib/module/blocks/product-list-empty/product-list-empty.js.map +1 -0
  69. package/lib/module/blocks/review-row/index.js +4 -0
  70. package/lib/module/blocks/review-row/index.js.map +1 -0
  71. package/lib/module/blocks/review-row/review-row.js +276 -0
  72. package/lib/module/blocks/review-row/review-row.js.map +1 -0
  73. package/lib/module/blocks/sales-chart/index.js +4 -0
  74. package/lib/module/blocks/sales-chart/index.js.map +1 -0
  75. package/lib/module/blocks/sales-chart/sales-chart.js +124 -0
  76. package/lib/module/blocks/sales-chart/sales-chart.js.map +1 -0
  77. package/lib/module/blocks/selection-bar/index.js +4 -0
  78. package/lib/module/blocks/selection-bar/index.js.map +1 -0
  79. package/lib/module/blocks/selection-bar/selection-bar.js +69 -0
  80. package/lib/module/blocks/selection-bar/selection-bar.js.map +1 -0
  81. package/lib/module/blocks/service-state-banner/index.js +4 -0
  82. package/lib/module/blocks/service-state-banner/index.js.map +1 -0
  83. package/lib/module/blocks/service-state-banner/service-state-banner.js +70 -0
  84. package/lib/module/blocks/service-state-banner/service-state-banner.js.map +1 -0
  85. package/lib/module/blocks/shipping-tracking-row/index.js +4 -0
  86. package/lib/module/blocks/shipping-tracking-row/index.js.map +1 -0
  87. package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js +114 -0
  88. package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js.map +1 -0
  89. package/lib/module/blocks/site-preview-frame/index.js +4 -0
  90. package/lib/module/blocks/site-preview-frame/index.js.map +1 -0
  91. package/lib/module/blocks/site-preview-frame/site-preview-frame.js +121 -0
  92. package/lib/module/blocks/site-preview-frame/site-preview-frame.js.map +1 -0
  93. package/lib/module/blocks/stat-card/index.js +4 -0
  94. package/lib/module/blocks/stat-card/index.js.map +1 -0
  95. package/lib/module/blocks/stat-card/stat-card.js +69 -0
  96. package/lib/module/blocks/stat-card/stat-card.js.map +1 -0
  97. package/lib/module/blocks/step-screen/index.js +4 -0
  98. package/lib/module/blocks/step-screen/index.js.map +1 -0
  99. package/lib/module/blocks/step-screen/step-screen.js +132 -0
  100. package/lib/module/blocks/step-screen/step-screen.js.map +1 -0
  101. package/lib/module/blocks/supply-item-card/index.js +4 -0
  102. package/lib/module/blocks/supply-item-card/index.js.map +1 -0
  103. package/lib/module/blocks/supply-item-card/supply-item-card.js +145 -0
  104. package/lib/module/blocks/supply-item-card/supply-item-card.js.map +1 -0
  105. package/lib/module/charts/index.js +5 -0
  106. package/lib/module/charts/index.js.map +1 -0
  107. package/lib/module/charts/line-chart.js +124 -0
  108. package/lib/module/charts/line-chart.js.map +1 -0
  109. package/lib/module/charts/scale.js +39 -0
  110. package/lib/module/charts/scale.js.map +1 -0
  111. package/lib/module/charts/sparkline.js +49 -0
  112. package/lib/module/charts/sparkline.js.map +1 -0
  113. package/lib/module/charts/summary.js +10 -0
  114. package/lib/module/charts/summary.js.map +1 -0
  115. package/lib/module/charts.js +5 -0
  116. package/lib/module/charts.js.map +1 -0
  117. package/lib/module/components/button/button.js +122 -0
  118. package/lib/module/components/button/button.js.map +1 -0
  119. package/lib/module/components/button/index.js +4 -0
  120. package/lib/module/components/button/index.js.map +1 -0
  121. package/lib/module/components/checkbox/checkbox.js +72 -0
  122. package/lib/module/components/checkbox/checkbox.js.map +1 -0
  123. package/lib/module/components/checkbox/index.js +4 -0
  124. package/lib/module/components/checkbox/index.js.map +1 -0
  125. package/lib/module/components/chip/chip.js +82 -0
  126. package/lib/module/components/chip/chip.js.map +1 -0
  127. package/lib/module/components/chip/index.js +4 -0
  128. package/lib/module/components/chip/index.js.map +1 -0
  129. package/lib/module/components/chip-group/chip-group.js +56 -0
  130. package/lib/module/components/chip-group/chip-group.js.map +1 -0
  131. package/lib/module/components/chip-group/index.js +4 -0
  132. package/lib/module/components/chip-group/index.js.map +1 -0
  133. package/lib/module/components/dialog/dialog.js +116 -0
  134. package/lib/module/components/dialog/dialog.js.map +1 -0
  135. package/lib/module/components/dialog/index.js +4 -0
  136. package/lib/module/components/dialog/index.js.map +1 -0
  137. package/lib/module/components/divider/divider.js +20 -0
  138. package/lib/module/components/divider/divider.js.map +1 -0
  139. package/lib/module/components/divider/index.js +4 -0
  140. package/lib/module/components/divider/index.js.map +1 -0
  141. package/lib/module/components/empty-state/empty-state.js +116 -0
  142. package/lib/module/components/empty-state/empty-state.js.map +1 -0
  143. package/lib/module/components/empty-state/index.js +4 -0
  144. package/lib/module/components/empty-state/index.js.map +1 -0
  145. package/lib/module/components/field/field.js +172 -0
  146. package/lib/module/components/field/field.js.map +1 -0
  147. package/lib/module/components/field/index.js +4 -0
  148. package/lib/module/components/field/index.js.map +1 -0
  149. package/lib/module/components/list-row/index.js +4 -0
  150. package/lib/module/components/list-row/index.js.map +1 -0
  151. package/lib/module/components/list-row/list-row.js +97 -0
  152. package/lib/module/components/list-row/list-row.js.map +1 -0
  153. package/lib/module/components/photo/index.js +4 -0
  154. package/lib/module/components/photo/index.js.map +1 -0
  155. package/lib/module/components/photo/photo.js +65 -0
  156. package/lib/module/components/photo/photo.js.map +1 -0
  157. package/lib/module/components/price/index.js +4 -0
  158. package/lib/module/components/price/index.js.map +1 -0
  159. package/lib/module/components/price/price.js +70 -0
  160. package/lib/module/components/price/price.js.map +1 -0
  161. package/lib/module/components/progress-bar/index.js +4 -0
  162. package/lib/module/components/progress-bar/index.js.map +1 -0
  163. package/lib/module/components/progress-bar/progress-bar.js +92 -0
  164. package/lib/module/components/progress-bar/progress-bar.js.map +1 -0
  165. package/lib/module/components/search-field/index.js +4 -0
  166. package/lib/module/components/search-field/index.js.map +1 -0
  167. package/lib/module/components/search-field/search-field.js +35 -0
  168. package/lib/module/components/search-field/search-field.js.map +1 -0
  169. package/lib/module/components/segmented-tabs/index.js +4 -0
  170. package/lib/module/components/segmented-tabs/index.js.map +1 -0
  171. package/lib/module/components/segmented-tabs/segmented-tabs.js +74 -0
  172. package/lib/module/components/segmented-tabs/segmented-tabs.js.map +1 -0
  173. package/lib/module/components/sheet/index.js +4 -0
  174. package/lib/module/components/sheet/index.js.map +1 -0
  175. package/lib/module/components/sheet/sheet.js +97 -0
  176. package/lib/module/components/sheet/sheet.js.map +1 -0
  177. package/lib/module/components/skeleton/index.js +4 -0
  178. package/lib/module/components/skeleton/index.js.map +1 -0
  179. package/lib/module/components/skeleton/skeleton.js +48 -0
  180. package/lib/module/components/skeleton/skeleton.js.map +1 -0
  181. package/lib/module/components/status-badge/index.js +4 -0
  182. package/lib/module/components/status-badge/index.js.map +1 -0
  183. package/lib/module/components/status-badge/status-badge.js +48 -0
  184. package/lib/module/components/status-badge/status-badge.js.map +1 -0
  185. package/lib/module/components/switch/index.js +4 -0
  186. package/lib/module/components/switch/index.js.map +1 -0
  187. package/lib/module/components/switch/switch.js +27 -0
  188. package/lib/module/components/switch/switch.js.map +1 -0
  189. package/lib/module/components/text/index.js +4 -0
  190. package/lib/module/components/text/index.js.map +1 -0
  191. package/lib/module/components/text/text.js +56 -0
  192. package/lib/module/components/text/text.js.map +1 -0
  193. package/lib/module/components/toast/index.js +4 -0
  194. package/lib/module/components/toast/index.js.map +1 -0
  195. package/lib/module/components/toast/toast.js +195 -0
  196. package/lib/module/components/toast/toast.js.map +1 -0
  197. package/lib/module/components/wizard-steps/index.js +4 -0
  198. package/lib/module/components/wizard-steps/index.js.map +1 -0
  199. package/lib/module/components/wizard-steps/wizard-steps.js +67 -0
  200. package/lib/module/components/wizard-steps/wizard-steps.js.map +1 -0
  201. package/lib/module/index.js +32 -0
  202. package/lib/module/index.js.map +1 -0
  203. package/lib/module/internal/glyphs.js +196 -0
  204. package/lib/module/internal/glyphs.js.map +1 -0
  205. package/lib/module/internal/icon.js +6 -0
  206. package/lib/module/internal/icon.js.map +1 -0
  207. package/lib/module/internal/overlay.js +55 -0
  208. package/lib/module/internal/overlay.js.map +1 -0
  209. package/lib/module/internal/pressable-base.js +39 -0
  210. package/lib/module/internal/pressable-base.js.map +1 -0
  211. package/lib/module/internal/use-reduced-motion.js +27 -0
  212. package/lib/module/internal/use-reduced-motion.js.map +1 -0
  213. package/lib/module/package.json +1 -0
  214. package/lib/module/sortable/index.js +6 -0
  215. package/lib/module/sortable/index.js.map +1 -0
  216. package/lib/module/sortable/move.js +10 -0
  217. package/lib/module/sortable/move.js.map +1 -0
  218. package/lib/module/sortable/sortable-grid.js +80 -0
  219. package/lib/module/sortable/sortable-grid.js.map +1 -0
  220. package/lib/module/sortable/sortable-list.js +15 -0
  221. package/lib/module/sortable/sortable-list.js.map +1 -0
  222. package/lib/module/sortable.js +6 -0
  223. package/lib/module/sortable.js.map +1 -0
  224. package/lib/module/theme/create-theme.js +50 -0
  225. package/lib/module/theme/create-theme.js.map +1 -0
  226. package/lib/module/theme/theme-provider.js +24 -0
  227. package/lib/module/theme/theme-provider.js.map +1 -0
  228. package/lib/module/theme/tokens.js +122 -0
  229. package/lib/module/theme/tokens.js.map +1 -0
  230. package/lib/module/types/index.js +4 -0
  231. package/lib/module/types/index.js.map +1 -0
  232. package/lib/module/utils/color.js +25 -0
  233. package/lib/module/utils/color.js.map +1 -0
  234. package/lib/module/utils/styles.js +17 -0
  235. package/lib/module/utils/styles.js.map +1 -0
  236. package/lib/typescript/package.json +1 -0
  237. package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts +13 -0
  238. package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts.map +1 -0
  239. package/lib/typescript/src/blocks/brand-profile-card/index.d.ts +2 -0
  240. package/lib/typescript/src/blocks/brand-profile-card/index.d.ts.map +1 -0
  241. package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts +24 -0
  242. package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts.map +1 -0
  243. package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts +2 -0
  244. package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts.map +1 -0
  245. package/lib/typescript/src/blocks/claim-row/claim-row.d.ts +15 -0
  246. package/lib/typescript/src/blocks/claim-row/claim-row.d.ts.map +1 -0
  247. package/lib/typescript/src/blocks/claim-row/index.d.ts +2 -0
  248. package/lib/typescript/src/blocks/claim-row/index.d.ts.map +1 -0
  249. package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts +14 -0
  250. package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts.map +1 -0
  251. package/lib/typescript/src/blocks/color-swatch-picker/index.d.ts +2 -0
  252. package/lib/typescript/src/blocks/color-swatch-picker/index.d.ts.map +1 -0
  253. package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts +18 -0
  254. package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts.map +1 -0
  255. package/lib/typescript/src/blocks/copy-variant-picker/index.d.ts +2 -0
  256. package/lib/typescript/src/blocks/copy-variant-picker/index.d.ts.map +1 -0
  257. package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts +12 -0
  258. package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts.map +1 -0
  259. package/lib/typescript/src/blocks/credit-wallet/index.d.ts +2 -0
  260. package/lib/typescript/src/blocks/credit-wallet/index.d.ts.map +1 -0
  261. package/lib/typescript/src/blocks/generation-progress/generation-progress.d.ts +17 -0
  262. package/lib/typescript/src/blocks/generation-progress/generation-progress.d.ts.map +1 -0
  263. package/lib/typescript/src/blocks/generation-progress/index.d.ts +2 -0
  264. package/lib/typescript/src/blocks/generation-progress/index.d.ts.map +1 -0
  265. package/lib/typescript/src/blocks/image-grid/image-grid.d.ts +18 -0
  266. package/lib/typescript/src/blocks/image-grid/image-grid.d.ts.map +1 -0
  267. package/lib/typescript/src/blocks/image-grid/index.d.ts +2 -0
  268. package/lib/typescript/src/blocks/image-grid/index.d.ts.map +1 -0
  269. package/lib/typescript/src/blocks/index.d.ts +23 -0
  270. package/lib/typescript/src/blocks/index.d.ts.map +1 -0
  271. package/lib/typescript/src/blocks/internal/card.d.ts +11 -0
  272. package/lib/typescript/src/blocks/internal/card.d.ts.map +1 -0
  273. package/lib/typescript/src/blocks/internal/format.d.ts +4 -0
  274. package/lib/typescript/src/blocks/internal/format.d.ts.map +1 -0
  275. package/lib/typescript/src/blocks/invoice-row/index.d.ts +2 -0
  276. package/lib/typescript/src/blocks/invoice-row/index.d.ts.map +1 -0
  277. package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts +15 -0
  278. package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts.map +1 -0
  279. package/lib/typescript/src/blocks/logo-candidate-grid/index.d.ts +2 -0
  280. package/lib/typescript/src/blocks/logo-candidate-grid/index.d.ts.map +1 -0
  281. package/lib/typescript/src/blocks/logo-candidate-grid/logo-candidate-grid.d.ts +15 -0
  282. package/lib/typescript/src/blocks/logo-candidate-grid/logo-candidate-grid.d.ts.map +1 -0
  283. package/lib/typescript/src/blocks/oauth-buttons/index.d.ts +2 -0
  284. package/lib/typescript/src/blocks/oauth-buttons/index.d.ts.map +1 -0
  285. package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts +13 -0
  286. package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -0
  287. package/lib/typescript/src/blocks/option-editor/index.d.ts +2 -0
  288. package/lib/typescript/src/blocks/option-editor/index.d.ts.map +1 -0
  289. package/lib/typescript/src/blocks/option-editor/option-editor.d.ts +18 -0
  290. package/lib/typescript/src/blocks/option-editor/option-editor.d.ts.map +1 -0
  291. package/lib/typescript/src/blocks/order-card/index.d.ts +2 -0
  292. package/lib/typescript/src/blocks/order-card/index.d.ts.map +1 -0
  293. package/lib/typescript/src/blocks/order-card/order-card.d.ts +36 -0
  294. package/lib/typescript/src/blocks/order-card/order-card.d.ts.map +1 -0
  295. package/lib/typescript/src/blocks/plan-card/index.d.ts +2 -0
  296. package/lib/typescript/src/blocks/plan-card/index.d.ts.map +1 -0
  297. package/lib/typescript/src/blocks/plan-card/plan-card.d.ts +25 -0
  298. package/lib/typescript/src/blocks/plan-card/plan-card.d.ts.map +1 -0
  299. package/lib/typescript/src/blocks/product-list-empty/index.d.ts +2 -0
  300. package/lib/typescript/src/blocks/product-list-empty/index.d.ts.map +1 -0
  301. package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts +16 -0
  302. package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts.map +1 -0
  303. package/lib/typescript/src/blocks/review-row/index.d.ts +2 -0
  304. package/lib/typescript/src/blocks/review-row/index.d.ts.map +1 -0
  305. package/lib/typescript/src/blocks/review-row/review-row.d.ts +25 -0
  306. package/lib/typescript/src/blocks/review-row/review-row.d.ts.map +1 -0
  307. package/lib/typescript/src/blocks/sales-chart/index.d.ts +2 -0
  308. package/lib/typescript/src/blocks/sales-chart/index.d.ts.map +1 -0
  309. package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts +15 -0
  310. package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts.map +1 -0
  311. package/lib/typescript/src/blocks/selection-bar/index.d.ts +2 -0
  312. package/lib/typescript/src/blocks/selection-bar/index.d.ts.map +1 -0
  313. package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts +12 -0
  314. package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts.map +1 -0
  315. package/lib/typescript/src/blocks/service-state-banner/index.d.ts +2 -0
  316. package/lib/typescript/src/blocks/service-state-banner/index.d.ts.map +1 -0
  317. package/lib/typescript/src/blocks/service-state-banner/service-state-banner.d.ts +12 -0
  318. package/lib/typescript/src/blocks/service-state-banner/service-state-banner.d.ts.map +1 -0
  319. package/lib/typescript/src/blocks/shipping-tracking-row/index.d.ts +2 -0
  320. package/lib/typescript/src/blocks/shipping-tracking-row/index.d.ts.map +1 -0
  321. package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts +11 -0
  322. package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts.map +1 -0
  323. package/lib/typescript/src/blocks/site-preview-frame/index.d.ts +2 -0
  324. package/lib/typescript/src/blocks/site-preview-frame/index.d.ts.map +1 -0
  325. package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts +16 -0
  326. package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts.map +1 -0
  327. package/lib/typescript/src/blocks/stat-card/index.d.ts +2 -0
  328. package/lib/typescript/src/blocks/stat-card/index.d.ts.map +1 -0
  329. package/lib/typescript/src/blocks/stat-card/stat-card.d.ts +12 -0
  330. package/lib/typescript/src/blocks/stat-card/stat-card.d.ts.map +1 -0
  331. package/lib/typescript/src/blocks/step-screen/index.d.ts +2 -0
  332. package/lib/typescript/src/blocks/step-screen/index.d.ts.map +1 -0
  333. package/lib/typescript/src/blocks/step-screen/step-screen.d.ts +20 -0
  334. package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -0
  335. package/lib/typescript/src/blocks/supply-item-card/index.d.ts +2 -0
  336. package/lib/typescript/src/blocks/supply-item-card/index.d.ts.map +1 -0
  337. package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts +24 -0
  338. package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts.map +1 -0
  339. package/lib/typescript/src/charts/index.d.ts +3 -0
  340. package/lib/typescript/src/charts/index.d.ts.map +1 -0
  341. package/lib/typescript/src/charts/line-chart.d.ts +17 -0
  342. package/lib/typescript/src/charts/line-chart.d.ts.map +1 -0
  343. package/lib/typescript/src/charts/scale.d.ts +10 -0
  344. package/lib/typescript/src/charts/scale.d.ts.map +1 -0
  345. package/lib/typescript/src/charts/sparkline.d.ts +11 -0
  346. package/lib/typescript/src/charts/sparkline.d.ts.map +1 -0
  347. package/lib/typescript/src/charts/summary.d.ts +2 -0
  348. package/lib/typescript/src/charts/summary.d.ts.map +1 -0
  349. package/lib/typescript/src/charts.d.ts +3 -0
  350. package/lib/typescript/src/charts.d.ts.map +1 -0
  351. package/lib/typescript/src/components/button/button.d.ts +15 -0
  352. package/lib/typescript/src/components/button/button.d.ts.map +1 -0
  353. package/lib/typescript/src/components/button/index.d.ts +2 -0
  354. package/lib/typescript/src/components/button/index.d.ts.map +1 -0
  355. package/lib/typescript/src/components/checkbox/checkbox.d.ts +8 -0
  356. package/lib/typescript/src/components/checkbox/checkbox.d.ts.map +1 -0
  357. package/lib/typescript/src/components/checkbox/index.d.ts +2 -0
  358. package/lib/typescript/src/components/checkbox/index.d.ts.map +1 -0
  359. package/lib/typescript/src/components/chip/chip.d.ts +10 -0
  360. package/lib/typescript/src/components/chip/chip.d.ts.map +1 -0
  361. package/lib/typescript/src/components/chip/index.d.ts +2 -0
  362. package/lib/typescript/src/components/chip/index.d.ts.map +1 -0
  363. package/lib/typescript/src/components/chip-group/chip-group.d.ts +26 -0
  364. package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -0
  365. package/lib/typescript/src/components/chip-group/index.d.ts +2 -0
  366. package/lib/typescript/src/components/chip-group/index.d.ts.map +1 -0
  367. package/lib/typescript/src/components/dialog/dialog.d.ts +13 -0
  368. package/lib/typescript/src/components/dialog/dialog.d.ts.map +1 -0
  369. package/lib/typescript/src/components/dialog/index.d.ts +2 -0
  370. package/lib/typescript/src/components/dialog/index.d.ts.map +1 -0
  371. package/lib/typescript/src/components/divider/divider.d.ts +7 -0
  372. package/lib/typescript/src/components/divider/divider.d.ts.map +1 -0
  373. package/lib/typescript/src/components/divider/index.d.ts +2 -0
  374. package/lib/typescript/src/components/divider/index.d.ts.map +1 -0
  375. package/lib/typescript/src/components/empty-state/empty-state.d.ts +16 -0
  376. package/lib/typescript/src/components/empty-state/empty-state.d.ts.map +1 -0
  377. package/lib/typescript/src/components/empty-state/index.d.ts +2 -0
  378. package/lib/typescript/src/components/empty-state/index.d.ts.map +1 -0
  379. package/lib/typescript/src/components/field/field.d.ts +15 -0
  380. package/lib/typescript/src/components/field/field.d.ts.map +1 -0
  381. package/lib/typescript/src/components/field/index.d.ts +2 -0
  382. package/lib/typescript/src/components/field/index.d.ts.map +1 -0
  383. package/lib/typescript/src/components/list-row/index.d.ts +2 -0
  384. package/lib/typescript/src/components/list-row/index.d.ts.map +1 -0
  385. package/lib/typescript/src/components/list-row/list-row.d.ts +12 -0
  386. package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -0
  387. package/lib/typescript/src/components/photo/index.d.ts +2 -0
  388. package/lib/typescript/src/components/photo/index.d.ts.map +1 -0
  389. package/lib/typescript/src/components/photo/photo.d.ts +11 -0
  390. package/lib/typescript/src/components/photo/photo.d.ts.map +1 -0
  391. package/lib/typescript/src/components/price/index.d.ts +2 -0
  392. package/lib/typescript/src/components/price/index.d.ts.map +1 -0
  393. package/lib/typescript/src/components/price/price.d.ts +12 -0
  394. package/lib/typescript/src/components/price/price.d.ts.map +1 -0
  395. package/lib/typescript/src/components/progress-bar/index.d.ts +2 -0
  396. package/lib/typescript/src/components/progress-bar/index.d.ts.map +1 -0
  397. package/lib/typescript/src/components/progress-bar/progress-bar.d.ts +9 -0
  398. package/lib/typescript/src/components/progress-bar/progress-bar.d.ts.map +1 -0
  399. package/lib/typescript/src/components/search-field/index.d.ts +2 -0
  400. package/lib/typescript/src/components/search-field/index.d.ts.map +1 -0
  401. package/lib/typescript/src/components/search-field/search-field.d.ts +8 -0
  402. package/lib/typescript/src/components/search-field/search-field.d.ts.map +1 -0
  403. package/lib/typescript/src/components/segmented-tabs/index.d.ts +2 -0
  404. package/lib/typescript/src/components/segmented-tabs/index.d.ts.map +1 -0
  405. package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts +13 -0
  406. package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts.map +1 -0
  407. package/lib/typescript/src/components/sheet/index.d.ts +2 -0
  408. package/lib/typescript/src/components/sheet/index.d.ts.map +1 -0
  409. package/lib/typescript/src/components/sheet/sheet.d.ts +14 -0
  410. package/lib/typescript/src/components/sheet/sheet.d.ts.map +1 -0
  411. package/lib/typescript/src/components/skeleton/index.d.ts +2 -0
  412. package/lib/typescript/src/components/skeleton/index.d.ts.map +1 -0
  413. package/lib/typescript/src/components/skeleton/skeleton.d.ts +9 -0
  414. package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -0
  415. package/lib/typescript/src/components/status-badge/index.d.ts +2 -0
  416. package/lib/typescript/src/components/status-badge/index.d.ts.map +1 -0
  417. package/lib/typescript/src/components/status-badge/status-badge.d.ts +9 -0
  418. package/lib/typescript/src/components/status-badge/status-badge.d.ts.map +1 -0
  419. package/lib/typescript/src/components/switch/index.d.ts +2 -0
  420. package/lib/typescript/src/components/switch/index.d.ts.map +1 -0
  421. package/lib/typescript/src/components/switch/switch.d.ts +9 -0
  422. package/lib/typescript/src/components/switch/switch.d.ts.map +1 -0
  423. package/lib/typescript/src/components/text/index.d.ts +2 -0
  424. package/lib/typescript/src/components/text/index.d.ts.map +1 -0
  425. package/lib/typescript/src/components/text/text.d.ts +13 -0
  426. package/lib/typescript/src/components/text/text.d.ts.map +1 -0
  427. package/lib/typescript/src/components/toast/index.d.ts +2 -0
  428. package/lib/typescript/src/components/toast/index.d.ts.map +1 -0
  429. package/lib/typescript/src/components/toast/toast.d.ts +22 -0
  430. package/lib/typescript/src/components/toast/toast.d.ts.map +1 -0
  431. package/lib/typescript/src/components/wizard-steps/index.d.ts +2 -0
  432. package/lib/typescript/src/components/wizard-steps/index.d.ts.map +1 -0
  433. package/lib/typescript/src/components/wizard-steps/wizard-steps.d.ts +8 -0
  434. package/lib/typescript/src/components/wizard-steps/wizard-steps.d.ts.map +1 -0
  435. package/lib/typescript/src/index.d.ts +32 -0
  436. package/lib/typescript/src/index.d.ts.map +1 -0
  437. package/lib/typescript/src/internal/glyphs.d.ts +11 -0
  438. package/lib/typescript/src/internal/glyphs.d.ts.map +1 -0
  439. package/lib/typescript/src/internal/icon.d.ts +8 -0
  440. package/lib/typescript/src/internal/icon.d.ts.map +1 -0
  441. package/lib/typescript/src/internal/overlay.d.ts +12 -0
  442. package/lib/typescript/src/internal/overlay.d.ts.map +1 -0
  443. package/lib/typescript/src/internal/pressable-base.d.ts +10 -0
  444. package/lib/typescript/src/internal/pressable-base.d.ts.map +1 -0
  445. package/lib/typescript/src/internal/use-reduced-motion.d.ts +2 -0
  446. package/lib/typescript/src/internal/use-reduced-motion.d.ts.map +1 -0
  447. package/lib/typescript/src/sortable/index.d.ts +4 -0
  448. package/lib/typescript/src/sortable/index.d.ts.map +1 -0
  449. package/lib/typescript/src/sortable/move.d.ts +2 -0
  450. package/lib/typescript/src/sortable/move.d.ts.map +1 -0
  451. package/lib/typescript/src/sortable/sortable-grid.d.ts +25 -0
  452. package/lib/typescript/src/sortable/sortable-grid.d.ts.map +1 -0
  453. package/lib/typescript/src/sortable/sortable-list.d.ts +4 -0
  454. package/lib/typescript/src/sortable/sortable-list.d.ts.map +1 -0
  455. package/lib/typescript/src/sortable.d.ts +4 -0
  456. package/lib/typescript/src/sortable.d.ts.map +1 -0
  457. package/lib/typescript/src/theme/create-theme.d.ts +4 -0
  458. package/lib/typescript/src/theme/create-theme.d.ts.map +1 -0
  459. package/lib/typescript/src/theme/theme-provider.d.ts +10 -0
  460. package/lib/typescript/src/theme/theme-provider.d.ts.map +1 -0
  461. package/lib/typescript/src/theme/tokens.d.ts +4 -0
  462. package/lib/typescript/src/theme/tokens.d.ts.map +1 -0
  463. package/lib/typescript/src/types/index.d.ts +83 -0
  464. package/lib/typescript/src/types/index.d.ts.map +1 -0
  465. package/lib/typescript/src/utils/color.d.ts +3 -0
  466. package/lib/typescript/src/utils/color.d.ts.map +1 -0
  467. package/lib/typescript/src/utils/styles.d.ts +8 -0
  468. package/lib/typescript/src/utils/styles.d.ts.map +1 -0
  469. package/package.json +109 -3
  470. package/src/blocks/brand-profile-card/brand-profile-card.tsx +85 -0
  471. package/src/blocks/brand-profile-card/index.ts +4 -0
  472. package/src/blocks/bulk-ship-list/bulk-ship-list.tsx +187 -0
  473. package/src/blocks/bulk-ship-list/index.ts +8 -0
  474. package/src/blocks/claim-row/claim-row.tsx +125 -0
  475. package/src/blocks/claim-row/index.ts +7 -0
  476. package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +117 -0
  477. package/src/blocks/color-swatch-picker/index.ts +5 -0
  478. package/src/blocks/copy-variant-picker/copy-variant-picker.tsx +136 -0
  479. package/src/blocks/copy-variant-picker/index.ts +5 -0
  480. package/src/blocks/credit-wallet/credit-wallet.tsx +111 -0
  481. package/src/blocks/credit-wallet/index.ts +1 -0
  482. package/src/blocks/generation-progress/generation-progress.tsx +180 -0
  483. package/src/blocks/generation-progress/index.ts +6 -0
  484. package/src/blocks/image-grid/image-grid.tsx +275 -0
  485. package/src/blocks/image-grid/index.ts +1 -0
  486. package/src/blocks/index.tsx +22 -0
  487. package/src/blocks/internal/card.tsx +86 -0
  488. package/src/blocks/internal/format.ts +19 -0
  489. package/src/blocks/invoice-row/index.ts +5 -0
  490. package/src/blocks/invoice-row/invoice-row.tsx +115 -0
  491. package/src/blocks/logo-candidate-grid/index.ts +5 -0
  492. package/src/blocks/logo-candidate-grid/logo-candidate-grid.tsx +127 -0
  493. package/src/blocks/oauth-buttons/index.ts +5 -0
  494. package/src/blocks/oauth-buttons/oauth-buttons.tsx +101 -0
  495. package/src/blocks/option-editor/index.ts +5 -0
  496. package/src/blocks/option-editor/option-editor.tsx +149 -0
  497. package/src/blocks/order-card/index.ts +11 -0
  498. package/src/blocks/order-card/order-card.tsx +176 -0
  499. package/src/blocks/plan-card/index.ts +1 -0
  500. package/src/blocks/plan-card/plan-card.tsx +149 -0
  501. package/src/blocks/product-list-empty/index.ts +5 -0
  502. package/src/blocks/product-list-empty/product-list-empty.tsx +139 -0
  503. package/src/blocks/review-row/index.ts +8 -0
  504. package/src/blocks/review-row/review-row.tsx +246 -0
  505. package/src/blocks/sales-chart/index.ts +5 -0
  506. package/src/blocks/sales-chart/sales-chart.tsx +115 -0
  507. package/src/blocks/selection-bar/index.ts +1 -0
  508. package/src/blocks/selection-bar/selection-bar.tsx +63 -0
  509. package/src/blocks/service-state-banner/index.ts +5 -0
  510. package/src/blocks/service-state-banner/service-state-banner.tsx +77 -0
  511. package/src/blocks/shipping-tracking-row/index.ts +5 -0
  512. package/src/blocks/shipping-tracking-row/shipping-tracking-row.tsx +92 -0
  513. package/src/blocks/site-preview-frame/index.ts +5 -0
  514. package/src/blocks/site-preview-frame/site-preview-frame.tsx +136 -0
  515. package/src/blocks/stat-card/index.ts +1 -0
  516. package/src/blocks/stat-card/stat-card.tsx +72 -0
  517. package/src/blocks/step-screen/index.ts +5 -0
  518. package/src/blocks/step-screen/step-screen.tsx +131 -0
  519. package/src/blocks/supply-item-card/index.ts +6 -0
  520. package/src/blocks/supply-item-card/supply-item-card.tsx +139 -0
  521. package/src/charts/index.ts +2 -0
  522. package/src/charts/line-chart.tsx +182 -0
  523. package/src/charts/scale.ts +46 -0
  524. package/src/charts/sparkline.tsx +60 -0
  525. package/src/charts/summary.ts +10 -0
  526. package/src/charts.tsx +2 -0
  527. package/src/components/button/button.tsx +116 -0
  528. package/src/components/button/index.ts +6 -0
  529. package/src/components/checkbox/checkbox.tsx +79 -0
  530. package/src/components/checkbox/index.ts +1 -0
  531. package/src/components/chip/chip.tsx +90 -0
  532. package/src/components/chip/index.ts +1 -0
  533. package/src/components/chip-group/chip-group.tsx +86 -0
  534. package/src/components/chip-group/index.ts +5 -0
  535. package/src/components/dialog/dialog.tsx +124 -0
  536. package/src/components/dialog/index.ts +1 -0
  537. package/src/components/divider/divider.tsx +24 -0
  538. package/src/components/divider/index.ts +1 -0
  539. package/src/components/empty-state/empty-state.tsx +141 -0
  540. package/src/components/empty-state/index.ts +5 -0
  541. package/src/components/field/field.tsx +201 -0
  542. package/src/components/field/index.ts +1 -0
  543. package/src/components/list-row/index.ts +1 -0
  544. package/src/components/list-row/list-row.tsx +112 -0
  545. package/src/components/photo/index.ts +1 -0
  546. package/src/components/photo/photo.tsx +82 -0
  547. package/src/components/price/index.ts +1 -0
  548. package/src/components/price/price.tsx +81 -0
  549. package/src/components/progress-bar/index.ts +1 -0
  550. package/src/components/progress-bar/progress-bar.tsx +80 -0
  551. package/src/components/search-field/index.ts +1 -0
  552. package/src/components/search-field/search-field.tsx +45 -0
  553. package/src/components/segmented-tabs/index.ts +5 -0
  554. package/src/components/segmented-tabs/segmented-tabs.tsx +80 -0
  555. package/src/components/sheet/index.ts +1 -0
  556. package/src/components/sheet/sheet.tsx +118 -0
  557. package/src/components/skeleton/index.ts +1 -0
  558. package/src/components/skeleton/skeleton.tsx +69 -0
  559. package/src/components/status-badge/index.ts +5 -0
  560. package/src/components/status-badge/status-badge.tsx +53 -0
  561. package/src/components/switch/index.ts +1 -0
  562. package/src/components/switch/switch.tsx +28 -0
  563. package/src/components/text/index.ts +1 -0
  564. package/src/components/text/text.tsx +51 -0
  565. package/src/components/toast/index.ts +9 -0
  566. package/src/components/toast/toast.tsx +237 -0
  567. package/src/components/wizard-steps/index.ts +1 -0
  568. package/src/components/wizard-steps/wizard-steps.tsx +51 -0
  569. package/src/index.tsx +57 -0
  570. package/src/internal/glyphs.tsx +155 -0
  571. package/src/internal/icon.tsx +9 -0
  572. package/src/internal/overlay.tsx +55 -0
  573. package/src/internal/pressable-base.tsx +52 -0
  574. package/src/internal/use-reduced-motion.ts +30 -0
  575. package/src/sortable/index.ts +8 -0
  576. package/src/sortable/move.ts +18 -0
  577. package/src/sortable/sortable-grid.tsx +85 -0
  578. package/src/sortable/sortable-list.tsx +10 -0
  579. package/src/sortable.tsx +3 -0
  580. package/src/theme/create-theme.ts +62 -0
  581. package/src/theme/theme-provider.tsx +34 -0
  582. package/src/theme/tokens.ts +90 -0
  583. package/src/types/index.ts +73 -0
  584. package/src/utils/color.ts +44 -0
  585. package/src/utils/styles.ts +25 -0
  586. package/README.md +0 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,26 @@
1
+ # @ezpg/app-ui
2
+
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 817e226: 새 부품 GenerationProgress · ProgressBar · SelectionBar · BulkShipList(trackingIssues 포함).
8
+
9
+ 깨지는 변경
10
+ - OrderStatus · orderStatusLabel 키를 API 상태 문자열 7종(pending_payment · paid · preparing · shipped · delivered · completed · canceled)으로 바꿈. 취소·반품·교환 요청 계열 키 삭제.
11
+ - ClaimRow 상태 7종(requested · collecting · collected · held · completed · rejected · withdrawn), reason 선택, onApprove · onReject 삭제(행은 onPress로 상세만 엶), dueInDays 대신 dueAt으로 D-n 계산. claimStatusLabel 추가.
12
+
13
+ 확장
14
+ - OrderCard · Card onLongPress · selected, Chip · ChipGroup count, Field hint · warning, SitePreviewFrame publishDisabled · blockedReason.
15
+ - PlanCard 상태 none · trial, PlanCard · CreditWallet dailyLimit null(무제한).
16
+ - ServiceStateBanner stopped · reason, OptionEditor onActiveChange · note.
17
+
18
+ 수정
19
+ - 다크 테마 Switch 색, ImageGrid 업로드 실패 표시, LineChart 세로축 라벨 폭, OptionEditor 음수 가격 표시.
20
+ - src 주석 삭제와 주석 검사(lint).
21
+
22
+ ## 0.1.0
23
+
24
+ ### Minor Changes
25
+
26
+ - d816bb2: 첫 공개 배포
package/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 moon23k
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+
3
+ import { View } from 'react-native';
4
+ import { Button } from "../../components/button/button.js";
5
+ import { Photo } from "../../components/photo/photo.js";
6
+ import { Text } from "../../components/text/text.js";
7
+ import { makeStyles } from "../../utils/styles.js";
8
+ import { Card } from "../internal/card.js";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ const useStyles = makeStyles(t => ({
11
+ head: {
12
+ flexDirection: 'row',
13
+ alignItems: 'center',
14
+ gap: t.space[3]
15
+ },
16
+ logo: {
17
+ width: 56
18
+ },
19
+ title: {
20
+ flex: 1,
21
+ gap: 2
22
+ },
23
+ row: {
24
+ flexDirection: 'row',
25
+ flexWrap: 'wrap',
26
+ gap: t.space[2]
27
+ },
28
+ dot: {
29
+ width: 20,
30
+ height: 20,
31
+ borderRadius: 10,
32
+ borderWidth: 1,
33
+ borderColor: t.colors.border
34
+ }
35
+ }));
36
+ export function BrandProfileCard({
37
+ name,
38
+ industry,
39
+ tagline,
40
+ logo,
41
+ colors = [],
42
+ keywords = [],
43
+ onEdit,
44
+ style
45
+ }) {
46
+ const s = useStyles();
47
+ return /*#__PURE__*/_jsxs(Card, {
48
+ style: style,
49
+ children: [/*#__PURE__*/_jsxs(View, {
50
+ style: s.head,
51
+ children: [logo ? /*#__PURE__*/_jsx(View, {
52
+ style: s.logo,
53
+ children: /*#__PURE__*/_jsx(Photo, {
54
+ source: logo
55
+ })
56
+ }) : null, /*#__PURE__*/_jsxs(View, {
57
+ style: s.title,
58
+ children: [/*#__PURE__*/_jsx(Text, {
59
+ variant: "title",
60
+ numberOfLines: 1,
61
+ children: name
62
+ }), /*#__PURE__*/_jsx(Text, {
63
+ variant: "caption",
64
+ tone: "muted",
65
+ children: industry
66
+ })]
67
+ }), onEdit ? /*#__PURE__*/_jsx(Button, {
68
+ size: "sm",
69
+ variant: "ghost",
70
+ onPress: onEdit,
71
+ children: "\uC218\uC815"
72
+ }) : null]
73
+ }), tagline ? /*#__PURE__*/_jsx(Text, {
74
+ children: tagline
75
+ }) : null, colors.length ? /*#__PURE__*/_jsx(View, {
76
+ style: s.row,
77
+ accessibilityLabel: `브랜드 색 ${colors.length}가지`,
78
+ children: colors.map(c => /*#__PURE__*/_jsx(View, {
79
+ style: [s.dot, {
80
+ backgroundColor: c
81
+ }]
82
+ }, c))
83
+ }) : null, keywords.length ? /*#__PURE__*/_jsx(Text, {
84
+ children: keywords.join(' · ')
85
+ }) : null]
86
+ });
87
+ }
88
+ //# sourceMappingURL=brand-profile-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","Button","Photo","Text","makeStyles","Card","jsx","_jsx","jsxs","_jsxs","useStyles","t","head","flexDirection","alignItems","gap","space","logo","width","title","flex","row","flexWrap","dot","height","borderRadius","borderWidth","borderColor","colors","border","BrandProfileCard","name","industry","tagline","keywords","onEdit","style","s","children","source","variant","numberOfLines","tone","size","onPress","length","accessibilityLabel","map","c","backgroundColor","join"],"sourceRoot":"../../../../src","sources":["blocks/brand-profile-card/brand-profile-card.tsx"],"mappings":";;AAAA,SACEA,IAAI,QAIC,cAAc;AACrB,SAASC,MAAM,QAAQ,mCAAgC;AACvD,SAASC,KAAK,QAAQ,iCAA8B;AACpD,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAQ,qBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAaxC,M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AC,CAAClB,KAAM;QAAAmB,QAAA,gBACnB/B,IAAA,CAACJ,IAAI;UAACqC,OAAO,EAAC,OAAO;UAACC,aAAa,EAAE,CAAE;UAAAH,QAAA,EACpCP;QAAI,CACD,CAAC,eACPxB,IAAA,CAACJ,IAAI;UAACqC,OAAO,EAAC,SAAS;UAACE,IAAI,EAAC,OAAO;UAAAJ,QAAA,EACjCN;QAAQ,CACL,CAAC;MAAA,CACH,CAAC,EACNG,MAAM,gBACL5B,IAAA,CAACN,MAAM;QAAC0C,IAAI,EAAC,IAAI;QAACH,OAAO,EAAC,OAAO;QAACI,OAAO,EAAET,MAAO;QAAAG,QAAA,EAAC;MAEnD,CAAQ,CAAC,GACP,IAAI;IAAA,CACJ,CAAC,EACNL,OAAO,gBAAG1B,IAAA,CAACJ,IAAI;MAAAmC,QAAA,EAAEL;IAAO,CAAO,CAAC,GAAG,IAAI,EACvCL,MAAM,CAACiB,MAAM,gBACZtC,IAAA,CAACP,IAAI;MACHoC,KAAK,EAAEC,CAAC,CAAChB,GAAI;MACbyB,kBAAkB,EAAE,SAASlB,MAAM,CAACiB,MAAM,IAAK;MAAAP,QAAA,EAE9CV,MAAM,CAACmB,GAAG,CAAEC,CAAC,iBACZzC,IAAA,CAACP,IAAI;QAASoC,KAAK,EAAE,CAACC,CAAC,CAACd,GAAG,EAAE;UAAE0B,eAAe,EAAED;QAAE,CAAC;MAAE,GAA1CA,CAA4C,CACxD;IAAC,CACE,CAAC,GACL,IAAI,EACPd,QAAQ,CAACW,MAAM,gBAAGtC,IAAA,CAACJ,IAAI;MAAAmC,QAAA,EAAEJ,QAAQ,CAACgB,IAAI,CAAC,KAAK;IAAC,CAAO,CAAC,GAAG,IAAI;EAAA,CACzD,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { BrandProfileCard } from "./brand-profile-card.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BrandProfileCard"],"sourceRoot":"../../../../src","sources":["blocks/brand-profile-card/index.ts"],"mappings":";;AAAA,SACEA,gBAAgB,QAEX,yBAAsB","ignoreList":[]}
@@ -0,0 +1,190 @@
1
+ "use strict";
2
+
3
+ import { StyleSheet, View } from 'react-native';
4
+ import { ChipGroup } from "../../components/chip-group/chip-group.js";
5
+ import { Field } from "../../components/field/field.js";
6
+ import { Text } from "../../components/text/text.js";
7
+ import { PressableBase } from "../../internal/pressable-base.js";
8
+ import { useTheme } from "../../theme/theme-provider.js";
9
+ import { makeStyles } from "../../utils/styles.js";
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+ const TRACKING = /^[0-9-]{8,20}$/;
12
+ const INVALID = '숫자와 -만 8~20자리로 입력해 주세요';
13
+ const DUPLICATE = '같은 송장 번호가 다른 주문에도 있어요';
14
+ const FIELD_HEIGHT = 52;
15
+ export function trackingIssues(rows) {
16
+ const key = v => v.trim().replace(/-/g, '');
17
+ const seen = new Map();
18
+ for (const row of rows) {
19
+ const k = key(row.trackingNo);
20
+ if (k && TRACKING.test(row.trackingNo.trim())) {
21
+ seen.set(k, (seen.get(k) ?? 0) + 1);
22
+ }
23
+ }
24
+ const issues = {};
25
+ for (const row of rows) {
26
+ const value = row.trackingNo.trim();
27
+ if (!value) continue;
28
+ if (!TRACKING.test(value)) issues[row.id] = 'invalid';else if ((seen.get(key(value)) ?? 0) > 1) issues[row.id] = 'duplicate';
29
+ }
30
+ return issues;
31
+ }
32
+ const useStyles = makeStyles(t => ({
33
+ root: {
34
+ gap: t.space[5]
35
+ },
36
+ carrier: {
37
+ gap: t.space[2]
38
+ },
39
+ list: {
40
+ gap: t.space[4]
41
+ },
42
+ row: {
43
+ gap: t.space[2]
44
+ },
45
+ input: {
46
+ flexDirection: 'row',
47
+ alignItems: 'flex-start',
48
+ gap: t.space[2]
49
+ },
50
+ field: {
51
+ flex: 1
52
+ },
53
+ scan: {
54
+ width: FIELD_HEIGHT,
55
+ height: FIELD_HEIGHT,
56
+ alignItems: 'center',
57
+ justifyContent: 'center',
58
+ borderRadius: 10,
59
+ borderWidth: 1,
60
+ borderColor: t.colors.input,
61
+ backgroundColor: t.colors.background
62
+ },
63
+ pressed: {
64
+ backgroundColor: t.colors.muted
65
+ }
66
+ }));
67
+ const g = StyleSheet.create({
68
+ absolute: {
69
+ position: 'absolute'
70
+ }
71
+ });
72
+ function ScanGlyph({
73
+ color,
74
+ size
75
+ }) {
76
+ const stroke = Math.max(1.5, size / 12);
77
+ const arm = size * 0.3;
78
+ const corner = (v, h) => ({
79
+ position: 'absolute',
80
+ width: arm,
81
+ height: arm,
82
+ borderColor: color,
83
+ [v]: 0,
84
+ [h]: 0,
85
+ [v === 'top' ? 'borderTopWidth' : 'borderBottomWidth']: stroke,
86
+ [h === 'left' ? 'borderLeftWidth' : 'borderRightWidth']: stroke
87
+ });
88
+ return /*#__PURE__*/_jsxs(View, {
89
+ style: {
90
+ width: size,
91
+ height: size
92
+ },
93
+ children: [/*#__PURE__*/_jsx(View, {
94
+ style: corner('top', 'left')
95
+ }), /*#__PURE__*/_jsx(View, {
96
+ style: corner('top', 'right')
97
+ }), /*#__PURE__*/_jsx(View, {
98
+ style: corner('bottom', 'left')
99
+ }), /*#__PURE__*/_jsx(View, {
100
+ style: corner('bottom', 'right')
101
+ }), /*#__PURE__*/_jsx(View, {
102
+ style: [g.absolute, {
103
+ left: size * 0.12,
104
+ right: size * 0.12,
105
+ top: (size - stroke) / 2,
106
+ height: stroke,
107
+ borderRadius: stroke,
108
+ backgroundColor: color
109
+ }]
110
+ })]
111
+ });
112
+ }
113
+ export function BulkShipList({
114
+ carriers,
115
+ carrier,
116
+ onCarrierChange,
117
+ rows,
118
+ onTrackingChange,
119
+ onScan,
120
+ style
121
+ }) {
122
+ const t = useTheme();
123
+ const s = useStyles();
124
+ const issues = trackingIssues(rows);
125
+ return /*#__PURE__*/_jsxs(View, {
126
+ style: [s.root, style],
127
+ children: [/*#__PURE__*/_jsxs(View, {
128
+ style: s.carrier,
129
+ children: [/*#__PURE__*/_jsx(Text, {
130
+ weight: "semibold",
131
+ accessibilityRole: "header",
132
+ children: "\uD0DD\uBC30\uC0AC"
133
+ }), /*#__PURE__*/_jsx(ChipGroup, {
134
+ items: carriers.map(c => ({
135
+ value: c.code,
136
+ label: c.name
137
+ })),
138
+ value: carrier,
139
+ onValueChange: code => {
140
+ if (code !== null) onCarrierChange(code);
141
+ }
142
+ })]
143
+ }), /*#__PURE__*/_jsx(View, {
144
+ style: s.list,
145
+ children: rows.map(row => {
146
+ const issue = issues[row.id];
147
+ return /*#__PURE__*/_jsxs(View, {
148
+ style: s.row,
149
+ children: [/*#__PURE__*/_jsxs(View, {
150
+ children: [/*#__PURE__*/_jsx(Text, {
151
+ weight: "semibold",
152
+ numberOfLines: 1,
153
+ children: row.title
154
+ }), row.subtitle ? /*#__PURE__*/_jsx(Text, {
155
+ variant: "caption",
156
+ tone: "muted",
157
+ numberOfLines: 1,
158
+ children: row.subtitle
159
+ }) : null]
160
+ }), /*#__PURE__*/_jsxs(View, {
161
+ style: s.input,
162
+ children: [/*#__PURE__*/_jsx(Field, {
163
+ style: s.field,
164
+ value: row.trackingNo,
165
+ onChangeText: v => onTrackingChange(row.id, v),
166
+ placeholder: "\uC1A1\uC7A5 \uBC88\uD638",
167
+ keyboardType: "number-pad",
168
+ inputMode: "numeric",
169
+ autoCorrect: false,
170
+ maxLength: 20,
171
+ accessibilityLabel: `${row.title} 송장 번호`,
172
+ error: issue === 'invalid' ? INVALID : undefined,
173
+ warning: issue === 'duplicate' ? DUPLICATE : undefined
174
+ }), onScan ? /*#__PURE__*/_jsx(PressableBase, {
175
+ accessibilityLabel: `${row.title} 송장 스캔`,
176
+ onPress: () => onScan(row.id),
177
+ pressedStyle: s.pressed,
178
+ style: s.scan,
179
+ children: /*#__PURE__*/_jsx(ScanGlyph, {
180
+ color: t.colors.foreground,
181
+ size: 22
182
+ })
183
+ }) : null]
184
+ })]
185
+ }, row.id);
186
+ })
187
+ })]
188
+ });
189
+ }
190
+ //# sourceMappingURL=bulk-ship-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","View","ChipGroup","Field","Text","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","TRACKING","INVALID","DUPLICATE","FIELD_HEIGHT","trackingIssues","rows","key","v","trim","replace","seen","Map","row","k","trackingNo","test","set","get","issues","value","id","useStyles","t","root","gap","space","carrier","list","input","flexDirection","alignItems","field","flex","scan","width","height","justifyContent","borderRadius","borderWidth","borderColor","colors","backgroundColor","background","pressed","muted","g","create","absolute","position","ScanGlyph","color","size","stroke","Math","max","arm","corner","h","style","children","left","right","top","BulkShipList","carriers","onCarrierChange","onTrackingChange","onScan","s","weight","accessibilityRole","items","map","c","code","label","name","onValueChange","issue","numberOfLines","title","subtitle","variant","tone","onChangeText","placeholder","keyboardType","inputMode","autoCorrect","maxLength","accessibilityLabel","error","undefined","warning","onPress","pressedStyle","foreground"],"sourceRoot":"../../../../src","sources":["blocks/bulk-ship-list/bulk-ship-list.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,QAAwC,cAAc;AAC/E,SAASC,SAAS,QAAQ,2CAAwC;AAClE,SAASC,KAAK,QAAQ,iCAA8B;AACpD,SAASC,IAAI,QAAQ,+BAA4B;AAEjD,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAuBhD,MAAMC,QAAQ,GAAG,gBAAgB;AACjC,MAAMC,OAAO,GAAG,wBAAwB;AACxC,MAAMC,SAAS,GAAG,uBAAuB;AACzC,MAAMC,YAAY,GAAG,EAAE;AAEvB,OAAO,SAASC,cAAcA,CAC5BC,IAA4B,EACG;EAC/B,MAAMC,GAAG,GAAIC,CAAS,IAAKA,CAAC,CAACC,IAAI,CAAC,CAAC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A,CACH,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { BulkShipList, trackingIssues } from "./bulk-ship-list.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BulkShipList","trackingIssues"],"sourceRoot":"../../../../src","sources":["blocks/bulk-ship-list/index.ts"],"mappings":";;AAAA,SACEA,YAAY,EACZC,cAAc,QAKT,qBAAkB","ignoreList":[]}
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+
3
+ import { View } from 'react-native';
4
+ import { formatPrice } from "../../components/price/price.js";
5
+ import { Text } from "../../components/text/text.js";
6
+ import { makeStyles } from "../../utils/styles.js";
7
+ import { Card } from "../internal/card.js";
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ const TYPE = {
10
+ cancel: '취소',
11
+ return: '반품',
12
+ exchange: '교환'
13
+ };
14
+ export const claimStatusLabel = {
15
+ requested: '요청',
16
+ collecting: '회수 중',
17
+ collected: '회수 완료',
18
+ held: '보류',
19
+ completed: '완료',
20
+ rejected: '거절',
21
+ withdrawn: '철회'
22
+ };
23
+ const OPEN = ['requested', 'collecting', 'collected', 'held'];
24
+ const DAY = 86400000;
25
+ function toDate(value) {
26
+ if (typeof value !== 'string') return value;
27
+ const m = /^(\d{4})-(\d{2})-(\d{2})$/.exec(value);
28
+ return m ? new Date(Number(m[1]), Number(m[2]) - 1, Number(m[3])) : new Date(value);
29
+ }
30
+ function daysUntil(value, now = new Date()) {
31
+ const due = toDate(value);
32
+ if (Number.isNaN(due.getTime())) return null;
33
+ const a = new Date(now.getFullYear(), now.getMonth(), now.getDate());
34
+ const b = new Date(due.getFullYear(), due.getMonth(), due.getDate());
35
+ return Math.round((b.getTime() - a.getTime()) / DAY);
36
+ }
37
+ function formatDday(days) {
38
+ if (days < 0) return '기한 지남';
39
+ return days === 0 ? 'D-day' : `D-${days}`;
40
+ }
41
+ const useStyles = makeStyles(t => ({
42
+ row: {
43
+ flexDirection: 'row',
44
+ alignItems: 'center',
45
+ gap: t.space[2]
46
+ },
47
+ grow: {
48
+ flex: 1
49
+ },
50
+ head: {
51
+ fontSize: 16,
52
+ lineHeight: 24,
53
+ fontVariant: ['tabular-nums']
54
+ },
55
+ deadline: {
56
+ fontSize: 14,
57
+ lineHeight: 20,
58
+ fontVariant: ['tabular-nums']
59
+ }
60
+ }));
61
+ export function ClaimRow({
62
+ type,
63
+ status = 'requested',
64
+ amount,
65
+ reason,
66
+ dueAt,
67
+ onPress,
68
+ style
69
+ }) {
70
+ const s = useStyles();
71
+ const title = `${TYPE[type]} ${claimStatusLabel[status]}`;
72
+ const days = OPEN.includes(status) && dueAt !== undefined ? daysUntil(dueAt) : null;
73
+ const deadline = days === null ? null : formatDday(days);
74
+ const label = [title, formatPrice(amount), reason, deadline].filter(Boolean).join(', ');
75
+ return /*#__PURE__*/_jsxs(Card, {
76
+ onPress: onPress,
77
+ accessibilityLabel: label,
78
+ style: style,
79
+ children: [/*#__PURE__*/_jsxs(View, {
80
+ style: s.row,
81
+ children: [/*#__PURE__*/_jsx(Text, {
82
+ weight: "bold",
83
+ style: [s.head, s.grow],
84
+ numberOfLines: 1,
85
+ children: title
86
+ }), /*#__PURE__*/_jsx(Text, {
87
+ weight: "bold",
88
+ style: s.head,
89
+ children: formatPrice(amount)
90
+ })]
91
+ }), reason || deadline ? /*#__PURE__*/_jsxs(View, {
92
+ style: s.row,
93
+ children: [/*#__PURE__*/_jsx(Text, {
94
+ style: s.grow,
95
+ numberOfLines: 1,
96
+ children: reason ?? ''
97
+ }), deadline ? /*#__PURE__*/_jsx(Text, {
98
+ weight: "bold",
99
+ tone: days !== null && days <= 1 ? 'destructive' : 'muted',
100
+ style: s.deadline,
101
+ children: deadline
102
+ }) : null]
103
+ }) : null]
104
+ });
105
+ }
106
+ //# sourceMappingURL=claim-row.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","formatPrice","Text","makeStyles","Card","jsx","_jsx","jsxs","_jsxs","TYPE","cancel","return","exchange","claimStatusLabel","requested","collecting","collected","held","completed","rejected","withdrawn","OPEN","DAY","toDate","value","m","exec","Date","Number","daysUntil","now","due","isNaN","getTime","a","getFullYear","getMonth","getDate","b","Math","round","formatDday","days","useStyles","t","row","flexDirection","alignItems","gap","space","grow","flex","head","fontSize","lineHeight","fontVariant","deadline","ClaimRow","type","status","amount","reason","dueAt","onPress","style","s","title","includes","undefined","label","filter","Boolean","join","accessibilityLabel","children","weight","numberOfLines","tone"],"sourceRoot":"../../../../src","sources":["blocks/claim-row/claim-row.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAQ,qBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAsBxC,MAAMC,IAA+B,GAAG;EACtCC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE,IAAI;EACZC,QAAQ,EAAE;AACZ,CAAC;AAED,OAAO,MAAMC,gBAA6C,GAAG;EAC3DC,SAAS,EAAE,IAAI;EACfC,UAAU,EAAE,MAAM;EAClBC,SAAS,EAAE,OAAO;EAClBC,IAAI,EAAE,IAAI;EACVC,SAAS,EAAE,IAAI;EACfC,QAAQ,EAAE,IAAI;EACdC,SAAS,EAAE;AACb,CAAC;AAED,MAAMC,IAA4B,GAAG,CACnC,WAAW,EACX,YAAY,EACZ,WAAW,EACX,MAAM,CACP;AAED,MAAMC,GAAG,GAAG,QAAQ;AAEpB,SAASC,MAAMA,CAACC,KAAoB,EAAQ;EAC1C,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE,OAAOA,KAAK;EAC3C,MAAMC,CAAC,GAAG,2BAA2B,CAACC,IAAI,CAACF,KAAK,CAAC;EACjD,OAAOC,CAAC,GACJ,IAAIE,I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AAI;QAACyE,MAAM,EAAC,MAAM;QAACX,KAAK,EAAE,CAACC,CAAC,CAACb,IAAI,EAAEa,CAAC,CAACf,IAAI,CAAE;QAAC0B,aAAa,EAAE,CAAE;QAAAF,QAAA,EAC3DR;MAAK,CACF,CAAC,eACP5D,IAAA,CAACJ,IAAI;QAACyE,MAAM,EAAC,MAAM;QAACX,KAAK,EAAEC,CAAC,CAACb,IAAK;QAAAsB,QAAA,EAC/BzE,WAAW,CAAC2D,MAAM;MAAC,CAChB,CAAC;IAAA,CACH,CAAC,EACNC,MAAM,IAAIL,QAAQ,gBACjBhD,KAAA,CAACR,IAAI;MAACgE,KAAK,EAAEC,CAAC,CAACpB,GAAI;MAAA6B,QAAA,gBACjBpE,IAAA,CAACJ,IAAI;QAAC8D,KAAK,EAAEC,CAAC,CAACf,IAAK;QAAC0B,aAAa,EAAE,CAAE;QAAAF,QAAA,EACnCb,MAAM,IAAI;MAAE,CACT,CAAC,EACNL,QAAQ,gBACPlD,IAAA,CAACJ,IAAI;QACHyE,MAAM,EAAC,MAAM;QACbE,IAAI,EAAEnC,IAAI,KAAK,IAAI,IAAIA,IAAI,IAAI,CAAC,GAAG,aAAa,GAAG,OAAQ;QAC3DsB,KAAK,EAAEC,CAAC,CAACT,QAAS;QAAAkB,QAAA,EAEjBlB;MAAQ,CACL,CAAC,GACL,IAAI;IAAA,CACJ,CAAC,GACL,IAAI;EAAA,CACJ,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { ClaimRow, claimStatusLabel } from "./claim-row.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ClaimRow","claimStatusLabel"],"sourceRoot":"../../../../src","sources":["blocks/claim-row/index.ts"],"mappings":";;AAAA,SACEA,QAAQ,EACRC,gBAAgB,QAIX,gBAAa","ignoreList":[]}
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+
3
+ import { View } from 'react-native';
4
+ import { Text } from "../../components/text/text.js";
5
+ import { CheckGlyph } from "../../internal/glyphs.js";
6
+ import { PressableBase } from "../../internal/pressable-base.js";
7
+ import { useTheme } from "../../theme/theme-provider.js";
8
+ import { pickForeground } from "../../utils/color.js";
9
+ import { makeStyles } from "../../utils/styles.js";
10
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
11
+ const DOT = 40;
12
+ const useStyles = makeStyles(t => ({
13
+ wrap: {
14
+ flexDirection: 'row',
15
+ flexWrap: 'wrap',
16
+ gap: t.space[3]
17
+ },
18
+ dot: {
19
+ width: DOT,
20
+ height: DOT,
21
+ borderRadius: DOT / 2,
22
+ alignItems: 'center',
23
+ justifyContent: 'center'
24
+ },
25
+ ring: {
26
+ padding: 3,
27
+ borderRadius: DOT,
28
+ borderWidth: 2,
29
+ borderColor: 'transparent'
30
+ },
31
+ ringOn: {
32
+ borderColor: t.colors.foreground
33
+ },
34
+ card: {
35
+ width: 148,
36
+ gap: t.space[2],
37
+ padding: t.space[3],
38
+ borderRadius: t.radius.lg,
39
+ borderWidth: 1,
40
+ borderColor: t.colors.border,
41
+ backgroundColor: t.colors.background
42
+ },
43
+ cardOn: {
44
+ borderColor: t.colors.foreground,
45
+ borderWidth: 2,
46
+ padding: t.space[3] - 1
47
+ },
48
+ sample: {
49
+ height: 32,
50
+ borderRadius: t.radius.md,
51
+ alignItems: 'center',
52
+ justifyContent: 'center'
53
+ },
54
+ line: {
55
+ height: 6,
56
+ borderRadius: 3,
57
+ backgroundColor: t.colors.muted
58
+ },
59
+ long: {
60
+ width: '70%'
61
+ },
62
+ short: {
63
+ width: '45%'
64
+ }
65
+ }));
66
+ export function ColorSwatchPicker({
67
+ colors,
68
+ value,
69
+ onValueChange,
70
+ variant = 'circle',
71
+ style
72
+ }) {
73
+ const t = useTheme();
74
+ const s = useStyles();
75
+ return /*#__PURE__*/_jsx(View, {
76
+ accessibilityRole: "radiogroup",
77
+ style: [s.wrap, style],
78
+ children: colors.map(c => {
79
+ const selected = c.value.toLowerCase() === value.toLowerCase();
80
+ const fg = pickForeground(c.value, '#0a0a0a', '#ffffff');
81
+ return /*#__PURE__*/_jsx(PressableBase, {
82
+ accessibilityRole: "radio",
83
+ accessibilityLabel: c.label,
84
+ accessibilityState: {
85
+ selected
86
+ },
87
+ touchHeight: DOT,
88
+ pressedStyle: {},
89
+ onPress: () => onValueChange(c.value),
90
+ style: variant === 'card' ? [s.card, selected && s.cardOn] : [s.ring, selected && s.ringOn],
91
+ children: variant === 'card' ? /*#__PURE__*/_jsxs(_Fragment, {
92
+ children: [/*#__PURE__*/_jsx(View, {
93
+ style: [s.line, s.long]
94
+ }), /*#__PURE__*/_jsx(View, {
95
+ style: [s.line, s.short]
96
+ }), /*#__PURE__*/_jsx(View, {
97
+ style: [s.sample, {
98
+ backgroundColor: c.value
99
+ }],
100
+ children: /*#__PURE__*/_jsx(Text, {
101
+ variant: "caption",
102
+ weight: "semibold",
103
+ style: {
104
+ color: fg
105
+ },
106
+ children: c.label
107
+ })
108
+ })]
109
+ }) : /*#__PURE__*/_jsx(View, {
110
+ style: [s.dot, {
111
+ backgroundColor: c.value
112
+ }],
113
+ children: selected ? /*#__PURE__*/_jsx(CheckGlyph, {
114
+ color: fg,
115
+ size: t.iconSize.md
116
+ }) : null
117
+ })
118
+ }, c.value);
119
+ })
120
+ });
121
+ }
122
+ //# sourceMappingURL=color-swatch-picker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","Text","CheckGlyph","PressableBase","useTheme","pickForeground","makeStyles","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","DOT","useStyles","t","wrap","flexDirection","flexWrap","gap","space","dot","width","height","borderRadius","alignItems","justifyContent","ring","padding","borderWidth","borderColor","ringOn","colors","foreground","card","radius","lg","border","backgroundColor","background","cardOn","sample","md","line","muted","long","short","ColorSwatchPicker","value","onValueChange","variant","style","s","accessibilityRole","children","map","c","selected","toLowerCase","fg","accessibilityLabel","label","accessibilityState","touchHeight","pressedStyle","onPress","weight","color","size","iconSize"],"sourceRoot":"../../../../src","sources":["blocks/color-swatch-picker/color-swatch-picker.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,UAAU,QAAQ,0BAAuB;AAClD,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,cAAc,QAAQ,sBAAmB;AAClD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAYhD,MAAMC,GAAG,GAAG,EAAE;AAEd,MAAMC,SAAS,GAAGR,UAAU,CAAES,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,aAAa,EAAE,KAAK;IAAEC,QAAQ,EAAE,MAAM;IAAEC,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC;EAAE,CAAC;EACjEC,GAAG,EAAE;IACHC,KAAK,EAAET,GAAG;IACVU,MAAM,EAAEV,GAAG;IACXW,YAAY,EAAEX,GAAG,GAAG,CAAC;IACrBY,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDC,IAAI,EAAE;IACJC,OAAO,EAAE,CAAC;IACVJ,YAAY,EAAEX,GAAG;IACjBgB,WAAW,EAAE,CAAC;IACdC,WAAW,EAAE;EACf,CAAC;EACDC,MAAM,EAAE;IAAED,WAAW,EAAEf,CAAC,CAACiB,MAAM,CAACC;EAAW,CAAC;EAC5CC,IAAI,EAAE;IACJZ,KAAK,EAAE,GAAG;IACVH,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC,CAAC;IACfQ,OAAO,EAAEb,CAAC,CAACK,KAAK,CAAC,CAAC,CAAC;IACnBI,YAAY,EAAET,CAAC,CAACoB,MAAM,CAACC,EAAE;IACzBP,WAAW,EAAE,CAAC;IAC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AAC,CAAC/B,GAAG,EAAE;YAAEiB,eAAe,EAAEkB,CAAC,CAACR;UAAM,CAAC,CAAE;UAAAM,QAAA,EAChDG,QAAQ,gBACPjD,IAAA,CAACN,UAAU;YAACiE,KAAK,EAAER,EAAG;YAACS,IAAI,EAAErD,CAAC,CAACsD,QAAQ,CAAC3B;UAAG,CAAE,CAAC,GAC5C;QAAI,CACJ;MACP,GAjCIc,CAAC,CAACR,KAkCM,CAAC;IAEpB,CAAC;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { ColorSwatchPicker } from "./color-swatch-picker.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ColorSwatchPicker"],"sourceRoot":"../../../../src","sources":["blocks/color-swatch-picker/index.ts"],"mappings":";;AAAA,SACEA,iBAAiB,QAGZ,0BAAuB","ignoreList":[]}