@ezpg/app-ui 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (452) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/lib/module/adjust/adjust-template.js +92 -0
  3. package/lib/module/adjust/adjust-template.js.map +1 -0
  4. package/lib/module/adjust/color-adjust-note.js +67 -0
  5. package/lib/module/adjust/color-adjust-note.js.map +1 -0
  6. package/lib/module/adjust/color-track.js +132 -0
  7. package/lib/module/adjust/color-track.js.map +1 -0
  8. package/lib/module/adjust/dial-strip.js +126 -0
  9. package/lib/module/adjust/dial-strip.js.map +1 -0
  10. package/lib/module/adjust/font-controls.js +76 -0
  11. package/lib/module/adjust/font-controls.js.map +1 -0
  12. package/lib/module/adjust/hsl.js +29 -0
  13. package/lib/module/adjust/hsl.js.map +1 -0
  14. package/lib/module/adjust/index.js +10 -0
  15. package/lib/module/adjust/index.js.map +1 -0
  16. package/lib/module/adjust/scrub-ruler.js +159 -0
  17. package/lib/module/adjust/scrub-ruler.js.map +1 -0
  18. package/lib/module/adjust.js +4 -0
  19. package/lib/module/adjust.js.map +1 -0
  20. package/lib/module/blocks/action-grid/action-grid.js +71 -0
  21. package/lib/module/blocks/action-grid/action-grid.js.map +1 -0
  22. package/lib/module/blocks/action-grid/index.js +4 -0
  23. package/lib/module/blocks/action-grid/index.js.map +1 -0
  24. package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js +74 -32
  25. package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js.map +1 -1
  26. package/lib/module/blocks/code-input/code-input.js +103 -0
  27. package/lib/module/blocks/code-input/code-input.js.map +1 -0
  28. package/lib/module/blocks/code-input/index.js +4 -0
  29. package/lib/module/blocks/code-input/index.js.map +1 -0
  30. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +26 -3
  31. package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js.map +1 -1
  32. package/lib/module/blocks/consent-list/consent-list.js +116 -0
  33. package/lib/module/blocks/consent-list/consent-list.js.map +1 -0
  34. package/lib/module/blocks/consent-list/index.js +4 -0
  35. package/lib/module/blocks/consent-list/index.js.map +1 -0
  36. package/lib/module/blocks/image-grid/image-grid.js +5 -44
  37. package/lib/module/blocks/image-grid/image-grid.js.map +1 -1
  38. package/lib/module/blocks/inbox-row/inbox-row.js +120 -0
  39. package/lib/module/blocks/inbox-row/inbox-row.js.map +1 -0
  40. package/lib/module/blocks/inbox-row/index.js +4 -0
  41. package/lib/module/blocks/inbox-row/index.js.map +1 -0
  42. package/lib/module/blocks/index.js +11 -0
  43. package/lib/module/blocks/index.js.map +1 -1
  44. package/lib/module/blocks/invite-card/index.js +4 -0
  45. package/lib/module/blocks/invite-card/index.js.map +1 -0
  46. package/lib/module/blocks/invite-card/invite-card.js +156 -0
  47. package/lib/module/blocks/invite-card/invite-card.js.map +1 -0
  48. package/lib/module/blocks/oauth-buttons/index.js +1 -1
  49. package/lib/module/blocks/oauth-buttons/index.js.map +1 -1
  50. package/lib/module/blocks/oauth-buttons/logos.js +7 -0
  51. package/lib/module/blocks/oauth-buttons/logos.js.map +1 -0
  52. package/lib/module/blocks/oauth-buttons/oauth-buttons.js +84 -5
  53. package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -1
  54. package/lib/module/blocks/product-tile/index.js +4 -0
  55. package/lib/module/blocks/product-tile/index.js.map +1 -0
  56. package/lib/module/blocks/product-tile/product-tile.js +60 -0
  57. package/lib/module/blocks/product-tile/product-tile.js.map +1 -0
  58. package/lib/module/blocks/quick-actions/index.js +4 -0
  59. package/lib/module/blocks/quick-actions/index.js.map +1 -0
  60. package/lib/module/blocks/quick-actions/quick-actions.js +52 -0
  61. package/lib/module/blocks/quick-actions/quick-actions.js.map +1 -0
  62. package/lib/module/blocks/setup-guide/index.js +4 -0
  63. package/lib/module/blocks/setup-guide/index.js.map +1 -0
  64. package/lib/module/blocks/setup-guide/setup-guide.js +102 -0
  65. package/lib/module/blocks/setup-guide/setup-guide.js.map +1 -0
  66. package/lib/module/blocks/site-summary/index.js +4 -0
  67. package/lib/module/blocks/site-summary/index.js.map +1 -0
  68. package/lib/module/blocks/site-summary/site-summary.js +81 -0
  69. package/lib/module/blocks/site-summary/site-summary.js.map +1 -0
  70. package/lib/module/blocks/stage-bar/index.js +4 -0
  71. package/lib/module/blocks/stage-bar/index.js.map +1 -0
  72. package/lib/module/blocks/stage-bar/stage-bar.js +89 -0
  73. package/lib/module/blocks/stage-bar/stage-bar.js.map +1 -0
  74. package/lib/module/blocks/stat-card/stat-card.js +18 -4
  75. package/lib/module/blocks/stat-card/stat-card.js.map +1 -1
  76. package/lib/module/blocks/step-screen/step-screen.js +54 -27
  77. package/lib/module/blocks/step-screen/step-screen.js.map +1 -1
  78. package/lib/module/blocks/store-sheet/index.js +4 -0
  79. package/lib/module/blocks/store-sheet/index.js.map +1 -0
  80. package/lib/module/blocks/store-sheet/store-sheet.js +90 -0
  81. package/lib/module/blocks/store-sheet/store-sheet.js.map +1 -0
  82. package/lib/module/blocks/task-tiles/index.js +4 -0
  83. package/lib/module/blocks/task-tiles/index.js.map +1 -0
  84. package/lib/module/blocks/task-tiles/task-tiles.js +67 -0
  85. package/lib/module/blocks/task-tiles/task-tiles.js.map +1 -0
  86. package/lib/module/charts/index.js +1 -0
  87. package/lib/module/charts/index.js.map +1 -1
  88. package/lib/module/charts/mini-bars.js +75 -0
  89. package/lib/module/charts/mini-bars.js.map +1 -0
  90. package/lib/module/components/avatar/avatar.js +100 -0
  91. package/lib/module/components/avatar/avatar.js.map +1 -0
  92. package/lib/module/components/avatar/index.js +4 -0
  93. package/lib/module/components/avatar/index.js.map +1 -0
  94. package/lib/module/components/calendar/calendar.js +200 -103
  95. package/lib/module/components/calendar/calendar.js.map +1 -1
  96. package/lib/module/components/check-list/check-list.js +54 -0
  97. package/lib/module/components/check-list/check-list.js.map +1 -0
  98. package/lib/module/components/check-list/index.js +4 -0
  99. package/lib/module/components/check-list/index.js.map +1 -0
  100. package/lib/module/components/chip/chip.js +33 -6
  101. package/lib/module/components/chip/chip.js.map +1 -1
  102. package/lib/module/components/chip/index.js.map +1 -1
  103. package/lib/module/components/chip-group/chip-group.js +42 -17
  104. package/lib/module/components/chip-group/chip-group.js.map +1 -1
  105. package/lib/module/components/circle-grid/circle-grid.js +141 -0
  106. package/lib/module/components/circle-grid/circle-grid.js.map +1 -0
  107. package/lib/module/components/circle-grid/index.js +4 -0
  108. package/lib/module/components/circle-grid/index.js.map +1 -0
  109. package/lib/module/components/empty-state/empty-state.js +15 -0
  110. package/lib/module/components/empty-state/empty-state.js.map +1 -1
  111. package/lib/module/components/field/field.js +10 -5
  112. package/lib/module/components/field/field.js.map +1 -1
  113. package/lib/module/components/field-group/field-group.js +39 -0
  114. package/lib/module/components/field-group/field-group.js.map +1 -0
  115. package/lib/module/components/field-group/index.js +4 -0
  116. package/lib/module/components/field-group/index.js.map +1 -0
  117. package/lib/module/components/list-row/list-row.js +52 -6
  118. package/lib/module/components/list-row/list-row.js.map +1 -1
  119. package/lib/module/components/page-header/index.js +5 -0
  120. package/lib/module/components/page-header/index.js.map +1 -0
  121. package/lib/module/components/page-header/page-header.js +110 -0
  122. package/lib/module/components/page-header/page-header.js.map +1 -0
  123. package/lib/module/components/page-header/store-header.js +134 -0
  124. package/lib/module/components/page-header/store-header.js.map +1 -0
  125. package/lib/module/components/photo/index.js +1 -0
  126. package/lib/module/components/photo/index.js.map +1 -1
  127. package/lib/module/components/photo/photo.js +15 -3
  128. package/lib/module/components/photo/photo.js.map +1 -1
  129. package/lib/module/components/progress-circle/index.js +4 -0
  130. package/lib/module/components/progress-circle/index.js.map +1 -0
  131. package/lib/module/components/progress-circle/progress-circle.js +49 -0
  132. package/lib/module/components/progress-circle/progress-circle.js.map +1 -0
  133. package/lib/module/components/result-mark/index.js +4 -0
  134. package/lib/module/components/result-mark/index.js.map +1 -0
  135. package/lib/module/components/result-mark/result-mark.js +42 -0
  136. package/lib/module/components/result-mark/result-mark.js.map +1 -0
  137. package/lib/module/components/sheet/index.js +1 -1
  138. package/lib/module/components/sheet/index.js.map +1 -1
  139. package/lib/module/components/sheet/sheet.js +27 -1
  140. package/lib/module/components/sheet/sheet.js.map +1 -1
  141. package/lib/module/components/status-steps/index.js +4 -0
  142. package/lib/module/components/status-steps/index.js.map +1 -0
  143. package/lib/module/components/status-steps/status-steps.js +96 -0
  144. package/lib/module/components/status-steps/status-steps.js.map +1 -0
  145. package/lib/module/components/step-slider/index.js +4 -0
  146. package/lib/module/components/step-slider/index.js.map +1 -0
  147. package/lib/module/components/step-slider/step-slider.js +167 -0
  148. package/lib/module/components/step-slider/step-slider.js.map +1 -0
  149. package/lib/module/components/text-links/index.js +4 -0
  150. package/lib/module/components/text-links/index.js.map +1 -0
  151. package/lib/module/components/text-links/text-links.js +48 -0
  152. package/lib/module/components/text-links/text-links.js.map +1 -0
  153. package/lib/module/index.js +12 -1
  154. package/lib/module/index.js.map +1 -1
  155. package/lib/module/internal/bell.js +4 -0
  156. package/lib/module/internal/bell.js.map +1 -0
  157. package/lib/module/internal/glyphs.js +47 -1
  158. package/lib/module/internal/glyphs.js.map +1 -1
  159. package/lib/module/internal/line-icons.js +21 -0
  160. package/lib/module/internal/line-icons.js.map +1 -0
  161. package/lib/module/internal/tab-icons.js +10 -0
  162. package/lib/module/internal/tab-icons.js.map +1 -0
  163. package/lib/module/templates/calendar-template.js +42 -0
  164. package/lib/module/templates/calendar-template.js.map +1 -0
  165. package/lib/module/templates/index.js +2 -0
  166. package/lib/module/templates/index.js.map +1 -1
  167. package/lib/module/templates/intro-template.js +1 -1
  168. package/lib/module/templates/list-template.js +50 -5
  169. package/lib/module/templates/list-template.js.map +1 -1
  170. package/lib/module/templates/notice-template.js +138 -0
  171. package/lib/module/templates/notice-template.js.map +1 -0
  172. package/lib/module/templates/parts.js +41 -0
  173. package/lib/module/templates/parts.js.map +1 -1
  174. package/lib/module/templates/result-template.js +17 -3
  175. package/lib/module/templates/result-template.js.map +1 -1
  176. package/lib/module/templates/scroll-templates.js +49 -1
  177. package/lib/module/templates/scroll-templates.js.map +1 -1
  178. package/lib/module/templates/system-template.js +18 -2
  179. package/lib/module/templates/system-template.js.map +1 -1
  180. package/lib/module/theme/base.js +1 -0
  181. package/lib/module/theme/base.js.map +1 -1
  182. package/lib/typescript/src/adjust/adjust-template.d.ts +13 -0
  183. package/lib/typescript/src/adjust/adjust-template.d.ts.map +1 -0
  184. package/lib/typescript/src/adjust/color-adjust-note.d.ts +10 -0
  185. package/lib/typescript/src/adjust/color-adjust-note.d.ts.map +1 -0
  186. package/lib/typescript/src/adjust/color-track.d.ts +12 -0
  187. package/lib/typescript/src/adjust/color-track.d.ts.map +1 -0
  188. package/lib/typescript/src/adjust/dial-strip.d.ts +17 -0
  189. package/lib/typescript/src/adjust/dial-strip.d.ts.map +1 -0
  190. package/lib/typescript/src/adjust/font-controls.d.ts +21 -0
  191. package/lib/typescript/src/adjust/font-controls.d.ts.map +1 -0
  192. package/lib/typescript/src/adjust/hsl.d.ts +4 -0
  193. package/lib/typescript/src/adjust/hsl.d.ts.map +1 -0
  194. package/lib/typescript/src/adjust/index.d.ts +8 -0
  195. package/lib/typescript/src/adjust/index.d.ts.map +1 -0
  196. package/lib/typescript/src/adjust/scrub-ruler.d.ts +13 -0
  197. package/lib/typescript/src/adjust/scrub-ruler.d.ts.map +1 -0
  198. package/lib/typescript/src/adjust.d.ts +2 -0
  199. package/lib/typescript/src/adjust.d.ts.map +1 -0
  200. package/lib/typescript/src/blocks/action-grid/action-grid.d.ts +15 -0
  201. package/lib/typescript/src/blocks/action-grid/action-grid.d.ts.map +1 -0
  202. package/lib/typescript/src/blocks/action-grid/index.d.ts +2 -0
  203. package/lib/typescript/src/blocks/action-grid/index.d.ts.map +1 -0
  204. package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts +3 -1
  205. package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts.map +1 -1
  206. package/lib/typescript/src/blocks/code-input/code-input.d.ts +14 -0
  207. package/lib/typescript/src/blocks/code-input/code-input.d.ts.map +1 -0
  208. package/lib/typescript/src/blocks/code-input/index.d.ts +2 -0
  209. package/lib/typescript/src/blocks/code-input/index.d.ts.map +1 -0
  210. package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts +1 -1
  211. package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts.map +1 -1
  212. package/lib/typescript/src/blocks/consent-list/consent-list.d.ts +18 -0
  213. package/lib/typescript/src/blocks/consent-list/consent-list.d.ts.map +1 -0
  214. package/lib/typescript/src/blocks/consent-list/index.d.ts +2 -0
  215. package/lib/typescript/src/blocks/consent-list/index.d.ts.map +1 -0
  216. package/lib/typescript/src/blocks/image-grid/image-grid.d.ts.map +1 -1
  217. package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts +15 -0
  218. package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts.map +1 -0
  219. package/lib/typescript/src/blocks/inbox-row/index.d.ts +2 -0
  220. package/lib/typescript/src/blocks/inbox-row/index.d.ts.map +1 -0
  221. package/lib/typescript/src/blocks/index.d.ts +11 -0
  222. package/lib/typescript/src/blocks/index.d.ts.map +1 -1
  223. package/lib/typescript/src/blocks/invite-card/index.d.ts +2 -0
  224. package/lib/typescript/src/blocks/invite-card/index.d.ts.map +1 -0
  225. package/lib/typescript/src/blocks/invite-card/invite-card.d.ts +15 -0
  226. package/lib/typescript/src/blocks/invite-card/invite-card.d.ts.map +1 -0
  227. package/lib/typescript/src/blocks/oauth-buttons/index.d.ts +1 -1
  228. package/lib/typescript/src/blocks/oauth-buttons/index.d.ts.map +1 -1
  229. package/lib/typescript/src/blocks/oauth-buttons/logos.d.ts +5 -0
  230. package/lib/typescript/src/blocks/oauth-buttons/logos.d.ts.map +1 -0
  231. package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts +3 -0
  232. package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -1
  233. package/lib/typescript/src/blocks/product-tile/index.d.ts +2 -0
  234. package/lib/typescript/src/blocks/product-tile/index.d.ts.map +1 -0
  235. package/lib/typescript/src/blocks/product-tile/product-tile.d.ts +12 -0
  236. package/lib/typescript/src/blocks/product-tile/product-tile.d.ts.map +1 -0
  237. package/lib/typescript/src/blocks/quick-actions/index.d.ts +2 -0
  238. package/lib/typescript/src/blocks/quick-actions/index.d.ts.map +1 -0
  239. package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts +14 -0
  240. package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts.map +1 -0
  241. package/lib/typescript/src/blocks/setup-guide/index.d.ts +2 -0
  242. package/lib/typescript/src/blocks/setup-guide/index.d.ts.map +1 -0
  243. package/lib/typescript/src/blocks/setup-guide/setup-guide.d.ts +14 -0
  244. package/lib/typescript/src/blocks/setup-guide/setup-guide.d.ts.map +1 -0
  245. package/lib/typescript/src/blocks/site-summary/index.d.ts +2 -0
  246. package/lib/typescript/src/blocks/site-summary/index.d.ts.map +1 -0
  247. package/lib/typescript/src/blocks/site-summary/site-summary.d.ts +18 -0
  248. package/lib/typescript/src/blocks/site-summary/site-summary.d.ts.map +1 -0
  249. package/lib/typescript/src/blocks/stage-bar/index.d.ts +2 -0
  250. package/lib/typescript/src/blocks/stage-bar/index.d.ts.map +1 -0
  251. package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts +15 -0
  252. package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts.map +1 -0
  253. package/lib/typescript/src/blocks/stat-card/stat-card.d.ts +2 -1
  254. package/lib/typescript/src/blocks/stat-card/stat-card.d.ts.map +1 -1
  255. package/lib/typescript/src/blocks/step-screen/step-screen.d.ts +5 -2
  256. package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -1
  257. package/lib/typescript/src/blocks/store-sheet/index.d.ts +2 -0
  258. package/lib/typescript/src/blocks/store-sheet/index.d.ts.map +1 -0
  259. package/lib/typescript/src/blocks/store-sheet/store-sheet.d.ts +16 -0
  260. package/lib/typescript/src/blocks/store-sheet/store-sheet.d.ts.map +1 -0
  261. package/lib/typescript/src/blocks/task-tiles/index.d.ts +2 -0
  262. package/lib/typescript/src/blocks/task-tiles/index.d.ts.map +1 -0
  263. package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts +16 -0
  264. package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts.map +1 -0
  265. package/lib/typescript/src/charts/index.d.ts +1 -0
  266. package/lib/typescript/src/charts/index.d.ts.map +1 -1
  267. package/lib/typescript/src/charts/mini-bars.d.ts +11 -0
  268. package/lib/typescript/src/charts/mini-bars.d.ts.map +1 -0
  269. package/lib/typescript/src/components/avatar/avatar.d.ts +13 -0
  270. package/lib/typescript/src/components/avatar/avatar.d.ts.map +1 -0
  271. package/lib/typescript/src/components/avatar/index.d.ts +2 -0
  272. package/lib/typescript/src/components/avatar/index.d.ts.map +1 -0
  273. package/lib/typescript/src/components/calendar/calendar.d.ts +4 -1
  274. package/lib/typescript/src/components/calendar/calendar.d.ts.map +1 -1
  275. package/lib/typescript/src/components/check-list/check-list.d.ts +5 -0
  276. package/lib/typescript/src/components/check-list/check-list.d.ts.map +1 -0
  277. package/lib/typescript/src/components/check-list/index.d.ts +2 -0
  278. package/lib/typescript/src/components/check-list/index.d.ts.map +1 -0
  279. package/lib/typescript/src/components/chip/chip.d.ts +5 -1
  280. package/lib/typescript/src/components/chip/chip.d.ts.map +1 -1
  281. package/lib/typescript/src/components/chip/index.d.ts +1 -1
  282. package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
  283. package/lib/typescript/src/components/chip-group/chip-group.d.ts +4 -0
  284. package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -1
  285. package/lib/typescript/src/components/circle-grid/circle-grid.d.ts +17 -0
  286. package/lib/typescript/src/components/circle-grid/circle-grid.d.ts.map +1 -0
  287. package/lib/typescript/src/components/circle-grid/index.d.ts +2 -0
  288. package/lib/typescript/src/components/circle-grid/index.d.ts.map +1 -0
  289. package/lib/typescript/src/components/empty-state/empty-state.d.ts +6 -1
  290. package/lib/typescript/src/components/empty-state/empty-state.d.ts.map +1 -1
  291. package/lib/typescript/src/components/field/field.d.ts +2 -1
  292. package/lib/typescript/src/components/field/field.d.ts.map +1 -1
  293. package/lib/typescript/src/components/field-group/field-group.d.ts +10 -0
  294. package/lib/typescript/src/components/field-group/field-group.d.ts.map +1 -0
  295. package/lib/typescript/src/components/field-group/index.d.ts +2 -0
  296. package/lib/typescript/src/components/field-group/index.d.ts.map +1 -0
  297. package/lib/typescript/src/components/list-row/list-row.d.ts +6 -1
  298. package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -1
  299. package/lib/typescript/src/components/page-header/index.d.ts +3 -0
  300. package/lib/typescript/src/components/page-header/index.d.ts.map +1 -0
  301. package/lib/typescript/src/components/page-header/page-header.d.ts +23 -0
  302. package/lib/typescript/src/components/page-header/page-header.d.ts.map +1 -0
  303. package/lib/typescript/src/components/page-header/store-header.d.ts +17 -0
  304. package/lib/typescript/src/components/page-header/store-header.d.ts.map +1 -0
  305. package/lib/typescript/src/components/photo/index.d.ts +1 -0
  306. package/lib/typescript/src/components/photo/index.d.ts.map +1 -1
  307. package/lib/typescript/src/components/photo/photo.d.ts +2 -0
  308. package/lib/typescript/src/components/photo/photo.d.ts.map +1 -1
  309. package/lib/typescript/src/components/progress-circle/index.d.ts +2 -0
  310. package/lib/typescript/src/components/progress-circle/index.d.ts.map +1 -0
  311. package/lib/typescript/src/components/progress-circle/progress-circle.d.ts +8 -0
  312. package/lib/typescript/src/components/progress-circle/progress-circle.d.ts.map +1 -0
  313. package/lib/typescript/src/components/result-mark/index.d.ts +2 -0
  314. package/lib/typescript/src/components/result-mark/index.d.ts.map +1 -0
  315. package/lib/typescript/src/components/result-mark/result-mark.d.ts +7 -0
  316. package/lib/typescript/src/components/result-mark/result-mark.d.ts.map +1 -0
  317. package/lib/typescript/src/components/sheet/index.d.ts +1 -1
  318. package/lib/typescript/src/components/sheet/index.d.ts.map +1 -1
  319. package/lib/typescript/src/components/sheet/sheet.d.ts +9 -0
  320. package/lib/typescript/src/components/sheet/sheet.d.ts.map +1 -1
  321. package/lib/typescript/src/components/status-steps/index.d.ts +2 -0
  322. package/lib/typescript/src/components/status-steps/index.d.ts.map +1 -0
  323. package/lib/typescript/src/components/status-steps/status-steps.d.ts +8 -0
  324. package/lib/typescript/src/components/status-steps/status-steps.d.ts.map +1 -0
  325. package/lib/typescript/src/components/step-slider/index.d.ts +2 -0
  326. package/lib/typescript/src/components/step-slider/index.d.ts.map +1 -0
  327. package/lib/typescript/src/components/step-slider/step-slider.d.ts +13 -0
  328. package/lib/typescript/src/components/step-slider/step-slider.d.ts.map +1 -0
  329. package/lib/typescript/src/components/text-links/index.d.ts +2 -0
  330. package/lib/typescript/src/components/text-links/index.d.ts.map +1 -0
  331. package/lib/typescript/src/components/text-links/text-links.d.ts +9 -0
  332. package/lib/typescript/src/components/text-links/text-links.d.ts.map +1 -0
  333. package/lib/typescript/src/index.d.ts +12 -1
  334. package/lib/typescript/src/index.d.ts.map +1 -1
  335. package/lib/typescript/src/internal/bell.d.ts +2 -0
  336. package/lib/typescript/src/internal/bell.d.ts.map +1 -0
  337. package/lib/typescript/src/internal/glyphs.d.ts +26 -0
  338. package/lib/typescript/src/internal/glyphs.d.ts.map +1 -1
  339. package/lib/typescript/src/internal/line-icons.d.ts +19 -0
  340. package/lib/typescript/src/internal/line-icons.d.ts.map +1 -0
  341. package/lib/typescript/src/internal/tab-icons.d.ts +8 -0
  342. package/lib/typescript/src/internal/tab-icons.d.ts.map +1 -0
  343. package/lib/typescript/src/templates/calendar-template.d.ts +11 -0
  344. package/lib/typescript/src/templates/calendar-template.d.ts.map +1 -0
  345. package/lib/typescript/src/templates/index.d.ts +4 -0
  346. package/lib/typescript/src/templates/index.d.ts.map +1 -1
  347. package/lib/typescript/src/templates/list-template.d.ts +9 -1
  348. package/lib/typescript/src/templates/list-template.d.ts.map +1 -1
  349. package/lib/typescript/src/templates/notice-template.d.ts +23 -0
  350. package/lib/typescript/src/templates/notice-template.d.ts.map +1 -0
  351. package/lib/typescript/src/templates/parts.d.ts +3 -2
  352. package/lib/typescript/src/templates/parts.d.ts.map +1 -1
  353. package/lib/typescript/src/templates/result-template.d.ts +3 -1
  354. package/lib/typescript/src/templates/result-template.d.ts.map +1 -1
  355. package/lib/typescript/src/templates/scroll-templates.d.ts +4 -1
  356. package/lib/typescript/src/templates/scroll-templates.d.ts.map +1 -1
  357. package/lib/typescript/src/templates/system-template.d.ts +4 -1
  358. package/lib/typescript/src/templates/system-template.d.ts.map +1 -1
  359. package/lib/typescript/src/theme/base.d.ts +1 -0
  360. package/lib/typescript/src/theme/base.d.ts.map +1 -1
  361. package/package.json +6 -1
  362. package/src/adjust/adjust-template.tsx +89 -0
  363. package/src/adjust/color-adjust-note.tsx +61 -0
  364. package/src/adjust/color-track.tsx +140 -0
  365. package/src/adjust/dial-strip.tsx +143 -0
  366. package/src/adjust/font-controls.tsx +86 -0
  367. package/src/adjust/hsl.ts +37 -0
  368. package/src/adjust/index.ts +14 -0
  369. package/src/adjust/scrub-ruler.tsx +160 -0
  370. package/src/adjust.tsx +1 -0
  371. package/src/blocks/action-grid/action-grid.tsx +79 -0
  372. package/src/blocks/action-grid/index.ts +5 -0
  373. package/src/blocks/bulk-ship-list/bulk-ship-list.tsx +66 -23
  374. package/src/blocks/code-input/code-input.tsx +111 -0
  375. package/src/blocks/code-input/index.ts +1 -0
  376. package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +24 -4
  377. package/src/blocks/consent-list/consent-list.tsx +129 -0
  378. package/src/blocks/consent-list/index.ts +5 -0
  379. package/src/blocks/image-grid/image-grid.tsx +3 -48
  380. package/src/blocks/inbox-row/inbox-row.tsx +114 -0
  381. package/src/blocks/inbox-row/index.ts +1 -0
  382. package/src/blocks/index.tsx +11 -0
  383. package/src/blocks/invite-card/index.ts +1 -0
  384. package/src/blocks/invite-card/invite-card.tsx +151 -0
  385. package/src/blocks/oauth-buttons/index.ts +1 -0
  386. package/src/blocks/oauth-buttons/logos.ts +10 -0
  387. package/src/blocks/oauth-buttons/oauth-buttons.tsx +61 -3
  388. package/src/blocks/product-tile/index.ts +5 -0
  389. package/src/blocks/product-tile/product-tile.tsx +54 -0
  390. package/src/blocks/quick-actions/index.ts +5 -0
  391. package/src/blocks/quick-actions/quick-actions.tsx +61 -0
  392. package/src/blocks/setup-guide/index.ts +5 -0
  393. package/src/blocks/setup-guide/setup-guide.tsx +103 -0
  394. package/src/blocks/site-summary/index.ts +5 -0
  395. package/src/blocks/site-summary/site-summary.tsx +95 -0
  396. package/src/blocks/stage-bar/index.ts +1 -0
  397. package/src/blocks/stage-bar/stage-bar.tsx +107 -0
  398. package/src/blocks/stat-card/stat-card.tsx +10 -1
  399. package/src/blocks/step-screen/step-screen.tsx +70 -34
  400. package/src/blocks/store-sheet/index.ts +5 -0
  401. package/src/blocks/store-sheet/store-sheet.tsx +94 -0
  402. package/src/blocks/task-tiles/index.ts +1 -0
  403. package/src/blocks/task-tiles/task-tiles.tsx +75 -0
  404. package/src/charts/index.ts +1 -0
  405. package/src/charts/mini-bars.tsx +82 -0
  406. package/src/components/avatar/avatar.tsx +95 -0
  407. package/src/components/avatar/index.ts +1 -0
  408. package/src/components/calendar/calendar.tsx +213 -91
  409. package/src/components/check-list/check-list.tsx +46 -0
  410. package/src/components/check-list/index.ts +1 -0
  411. package/src/components/chip/chip.tsx +36 -6
  412. package/src/components/chip/index.ts +1 -1
  413. package/src/components/chip-group/chip-group.tsx +48 -21
  414. package/src/components/circle-grid/circle-grid.tsx +154 -0
  415. package/src/components/circle-grid/index.ts +5 -0
  416. package/src/components/empty-state/empty-state.tsx +26 -0
  417. package/src/components/field/field.tsx +8 -5
  418. package/src/components/field-group/field-group.tsx +40 -0
  419. package/src/components/field-group/index.ts +1 -0
  420. package/src/components/list-row/list-row.tsx +71 -4
  421. package/src/components/page-header/index.ts +14 -0
  422. package/src/components/page-header/page-header.tsx +122 -0
  423. package/src/components/page-header/store-header.tsx +138 -0
  424. package/src/components/photo/index.ts +1 -0
  425. package/src/components/photo/photo.tsx +19 -3
  426. package/src/components/progress-circle/index.ts +1 -0
  427. package/src/components/progress-circle/progress-circle.tsx +55 -0
  428. package/src/components/result-mark/index.ts +1 -0
  429. package/src/components/result-mark/result-mark.tsx +45 -0
  430. package/src/components/sheet/index.ts +6 -1
  431. package/src/components/sheet/sheet.tsx +33 -0
  432. package/src/components/status-steps/index.ts +1 -0
  433. package/src/components/status-steps/status-steps.tsx +84 -0
  434. package/src/components/step-slider/index.ts +1 -0
  435. package/src/components/step-slider/step-slider.tsx +153 -0
  436. package/src/components/text-links/index.ts +1 -0
  437. package/src/components/text-links/text-links.tsx +43 -0
  438. package/src/index.tsx +37 -0
  439. package/src/internal/bell.ts +2 -0
  440. package/src/internal/glyphs.tsx +69 -1
  441. package/src/internal/line-icons.ts +53 -0
  442. package/src/internal/tab-icons.ts +19 -0
  443. package/src/templates/calendar-template.tsx +46 -0
  444. package/src/templates/index.ts +4 -0
  445. package/src/templates/intro-template.tsx +1 -1
  446. package/src/templates/list-template.tsx +54 -0
  447. package/src/templates/notice-template.tsx +150 -0
  448. package/src/templates/parts.tsx +41 -1
  449. package/src/templates/result-template.tsx +26 -8
  450. package/src/templates/scroll-templates.tsx +55 -3
  451. package/src/templates/system-template.tsx +33 -2
  452. package/src/theme/base.ts +8 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @ezpg/app-ui
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 운영 화면 개편 부품: StoreHeader · StoreMark · StoreSheet(스토어 이름 ▾ → 전환 시트), TaskTiles(할 일 4칸), StageBar(주문 단계 띠), StatusSteps(진행 단계), ProductTile · ProductTileSpacer, InboxRow(받은편지함 행), QuickActions(바로가기 칸), SiteSummary(폰 모양 사이트 미리보기 머리), ActionGrid(편집 2열 칸)
8
+ - ListTemplate columns(격자) · floatingAction(떠 있는 알약 버튼), StatCard meta 줄, `@ezpg/app-ui/charts` MiniBars(7일 막대)
9
+ - 사진 없는 Photo · ListRow 이미지를 웹과 같은 타일 색 + 사진 아이콘으로(Photo seed · tileColor, 토큰 tile)
10
+ - 선 아이콘 Truck · Return · Star · Image · Globe · Palette · Chart · Card · Clock · Sparkles · Store · File · Wallet · Link · Users · Phone · Eye · Share
11
+
12
+ ## 0.10.0
13
+
14
+ ### Minor Changes
15
+
16
+ - `@ezpg/app-ui/adjust` 새 입구: AdjustTemplate(미리보기 + 조정 칸 + 원래와 비교), DialStrip(원 테두리로 값 표시하는 항목 줄), ScrubRuler(좌우로 미는 눈금, 단계 맞춤), ColorTrack(색상 · 채도 트랙), ColorAdjustNote(자동 대비 조정 전후 색), hslToHex · hexToHsl
17
+
3
18
  ## 0.9.0
4
19
 
5
20
  ### Minor Changes
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+
3
+ import { View } from 'react-native';
4
+ import { Text } from "../components/text/text.js";
5
+ import { PressableBase } from "../internal/pressable-base.js";
6
+ import { BottomBar } from "../templates/parts.js";
7
+ import { useTheme } from "../theme/theme-provider.js";
8
+ import { makeStyles } from "../utils/styles.js";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ const useStyles = makeStyles(t => ({
11
+ root: {
12
+ flex: 1,
13
+ backgroundColor: t.colors.background
14
+ },
15
+ stage: {
16
+ flex: 1,
17
+ minHeight: 0,
18
+ backgroundColor: t.colors.muted,
19
+ overflow: 'hidden'
20
+ },
21
+ label: {
22
+ position: 'absolute',
23
+ alignSelf: 'center',
24
+ bottom: t.space[2],
25
+ paddingHorizontal: t.space[2],
26
+ paddingVertical: t.space[1],
27
+ borderRadius: t.radius.sm,
28
+ backgroundColor: t.colors.foreground,
29
+ opacity: 0.72
30
+ },
31
+ compare: {
32
+ position: 'absolute',
33
+ top: t.space[2],
34
+ right: t.space[3],
35
+ paddingHorizontal: t.space[3],
36
+ paddingVertical: t.space[1],
37
+ borderRadius: t.radius.full,
38
+ borderWidth: 1,
39
+ borderColor: t.colors.border,
40
+ backgroundColor: t.colors.background
41
+ },
42
+ controls: {
43
+ paddingTop: t.layout.groupGap,
44
+ gap: t.layout.groupGap
45
+ }
46
+ }));
47
+ export function AdjustTemplate({
48
+ preview,
49
+ label,
50
+ compareLabel = '원래와 비교',
51
+ onCompareChange,
52
+ controls,
53
+ primaryAction,
54
+ bottomInset = 0
55
+ }) {
56
+ const t = useTheme();
57
+ const s = useStyles();
58
+ return /*#__PURE__*/_jsxs(View, {
59
+ style: s.root,
60
+ children: [/*#__PURE__*/_jsxs(View, {
61
+ style: s.stage,
62
+ children: [preview, label ? /*#__PURE__*/_jsx(View, {
63
+ style: s.label,
64
+ pointerEvents: "none",
65
+ children: /*#__PURE__*/_jsx(Text, {
66
+ variant: "caption",
67
+ style: {
68
+ color: t.colors.background
69
+ },
70
+ children: label
71
+ })
72
+ }) : null, onCompareChange ? /*#__PURE__*/_jsx(PressableBase, {
73
+ onPressIn: () => onCompareChange(true),
74
+ onPressOut: () => onCompareChange(false),
75
+ accessibilityRole: "button",
76
+ accessibilityLabel: compareLabel,
77
+ style: s.compare,
78
+ children: /*#__PURE__*/_jsx(Text, {
79
+ variant: "caption",
80
+ children: compareLabel
81
+ })
82
+ }) : null]
83
+ }), /*#__PURE__*/_jsx(View, {
84
+ style: s.controls,
85
+ children: controls
86
+ }), /*#__PURE__*/_jsx(BottomBar, {
87
+ primaryAction: primaryAction,
88
+ bottomInset: bottomInset
89
+ })]
90
+ });
91
+ }
92
+ //# sourceMappingURL=adjust-template.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","Text","PressableBase","BottomBar","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","flex","backgroundColor","colors","background","stage","minHeight","muted","overflow","label","position","alignSelf","bottom","space","paddingHorizontal","paddingVertical","borderRadius","radius","sm","foreground","opacity","compare","top","right","full","borderWidth","borderColor","border","controls","paddingTop","layout","groupGap","gap","AdjustTemplate","preview","compareLabel","onCompareChange","primaryAction","bottomInset","s","style","children","pointerEvents","variant","color","onPressIn","onPressOut","accessibilityRole","accessibilityLabel"],"sourceRoot":"../../../src","sources":["adjust/adjust-template.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,IAAI,QAAQ,4BAAyB;AAC9C,SAASC,aAAa,QAAQ,+BAA4B;AAC1D,SAASC,SAAS,QAA6B,uBAAoB;AACnE,SAASC,QAAQ,QAAQ,4BAAyB;AAClD,SAASC,UAAU,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAY7C,MAAMC,SAAS,GAAGL,UAAU,CAAEM,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,IAAI,EAAE,CAAC;IAAEC,eAAe,EAAEH,CAAC,CAACI,MAAM,CAACC;EAAW,CAAC;EACvDC,KAAK,EAAE;IACLJ,IAAI,EAAE,CAAC;IACPK,SAAS,EAAE,CAAC;IACZJ,eAAe,EAAEH,CAAC,CAACI,MAAM,CAACI,KAAK;IAC/BC,QAAQ,EAAE;EACZ,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE,UAAU;IACpBC,SAAS,EAAE,QAAQ;IACnBC,MAAM,EAAEb,CAAC,CAACc,KAAK,CAAC,CAAC,CAAC;IAClBC,iBAAiB,EAAEf,CAAC,CAACc,KAAK,CAAC,CAAC,CAAC;IAC7BE,eAAe,EAAEhB,CAAC,CAACc,KAAK,CAAC,CAAC,CAAC;IAC3BG,YAAY,EAAEjB,CAAC,CAACkB,MAAM,CAACC,EAAE;IACzBhB,eAAe,EAAEH,CAAC,CAACI,MAAM,CAACgB,UAAU;IACpCC,OAAO,EAAE;EACX,CAAC;EACDC,OAAO,EAAE;IACPX,QAAQ,EAAE,UAAU;IACpBY,GAAG,EAAEvB,CAAC,CAACc,KAAK,CAAC,CAAC,CAAC;IACfU,KAAK,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,GACL,IAAI,EACP2B,eAAe,gBACdzC,IAAA,CAACL,aAAa;QACZuD,SAAS,EAAEA,CAAA,KAAMT,eAAe,CAAC,IAAI,CAAE;QACvCU,UAAU,EAAEA,CAAA,KAAMV,eAAe,CAAC,KAAK,CAAE;QACzCW,iBAAiB,EAAC,QAAQ;QAC1BC,kBAAkB,EAAEb,YAAa;QACjCK,KAAK,EAAED,CAAC,CAAClB,OAAQ;QAAAoB,QAAA,eAEjB9C,IAAA,CAACN,IAAI;UAACsD,OAAO,EAAC,SAAS;UAAAF,QAAA,EAAEN;QAAY,CAAO;MAAC,CAChC,CAAC,GACd,IAAI;IAAA,CACJ,CAAC,eACPxC,IAAA,CAACP,IAAI;MAACoD,KAAK,EAAED,CAAC,CAACX,QAAS;MAAAa,QAAA,EAAEb;IAAQ,CAAO,CAAC,eAC1CjC,IAAA,CAACJ,SAAS;MAAC8C,aAAa,EAAEA,aAAc;MAACC,WAAW,EAAEA;IAAY,CAAE,CAAC;EAAA,CACjE,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+
3
+ import { View } from 'react-native';
4
+ import { Text } from "../components/text/text.js";
5
+ import { makeStyles } from "../utils/styles.js";
6
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
7
+ const useStyles = makeStyles(t => ({
8
+ root: {
9
+ flexDirection: 'row',
10
+ alignItems: 'center',
11
+ gap: t.space[2],
12
+ marginHorizontal: t.layout.screenX,
13
+ paddingHorizontal: t.space[3],
14
+ paddingVertical: t.space[2],
15
+ borderRadius: t.radius.lg,
16
+ borderWidth: 1,
17
+ borderColor: t.colors.border
18
+ },
19
+ sw: {
20
+ width: t.space[5],
21
+ height: t.space[5],
22
+ borderRadius: t.radius.sm
23
+ },
24
+ text: {
25
+ flex: 1
26
+ }
27
+ }));
28
+ export function ColorAdjustNote({
29
+ original,
30
+ applied,
31
+ title,
32
+ detail,
33
+ style
34
+ }) {
35
+ const s = useStyles();
36
+ const changed = original.toUpperCase() !== applied.toUpperCase();
37
+ return /*#__PURE__*/_jsxs(View, {
38
+ style: [s.root, style],
39
+ accessible: true,
40
+ accessibilityLabel: [title, detail].filter(Boolean).join(', '),
41
+ children: [changed ? /*#__PURE__*/_jsxs(_Fragment, {
42
+ children: [/*#__PURE__*/_jsx(View, {
43
+ style: [s.sw, {
44
+ backgroundColor: original
45
+ }]
46
+ }), /*#__PURE__*/_jsx(Text, {
47
+ variant: "caption",
48
+ tone: "muted",
49
+ children: "\u2192"
50
+ })]
51
+ }) : null, /*#__PURE__*/_jsx(View, {
52
+ style: [s.sw, {
53
+ backgroundColor: applied
54
+ }]
55
+ }), /*#__PURE__*/_jsxs(Text, {
56
+ variant: "caption",
57
+ style: s.text,
58
+ numberOfLines: 2,
59
+ children: [/*#__PURE__*/_jsx(Text, {
60
+ variant: "caption",
61
+ weight: "semibold",
62
+ children: title
63
+ }), detail ? ` · ${detail}` : '']
64
+ })]
65
+ });
66
+ }
67
+ //# sourceMappingURL=color-adjust-note.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","Text","makeStyles","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","useStyles","t","root","flexDirection","alignItems","gap","space","marginHorizontal","layout","screenX","paddingHorizontal","paddingVertical","borderRadius","radius","lg","borderWidth","borderColor","colors","border","sw","width","height","sm","text","flex","ColorAdjustNote","original","applied","title","detail","style","s","changed","toUpperCase","accessible","accessibilityLabel","filter","Boolean","join","children","backgroundColor","variant","tone","numberOfLines","weight"],"sourceRoot":"../../../src","sources":["adjust/color-adjust-note.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,IAAI,QAAQ,4BAAyB;AAC9C,SAASC,UAAU,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAU7C,MAAMC,SAAS,GAAGP,UAAU,CAAEQ,CA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QAAA,gBACE5C,IAAA,CAACJ,IAAI;QAACuC,KAAK,EAAE,CAACC,CAAC,CAACZ,EAAE,EAAE;UAAEqB,eAAe,EAAEd;QAAS,CAAC;MAAE,CAAE,CAAC,eACtD/B,IAAA,CAACH,IAAI;QAACiD,OAAO,EAAC,SAAS;QAACC,IAAI,EAAC,OAAO;QAAAH,QAAA,EAAC;MAErC,CAAM,CAAC;IAAA,CACP,CAAC,GACD,IAAI,eACR5C,IAAA,CAACJ,IAAI;MAACuC,KAAK,EAAE,CAACC,CAAC,CAACZ,EAAE,EAAE;QAAEqB,eAAe,EAAEb;MAAQ,CAAC;IAAE,CAAE,CAAC,eACrD5B,KAAA,CAACP,IAAI;MAACiD,OAAO,EAAC,SAAS;MAACX,KAAK,EAAEC,CAAC,CAACR,IAAK;MAACoB,aAAa,EAAE,CAAE;MAAAJ,QAAA,gBACtD5C,IAAA,CAACH,IAAI;QAACiD,OAAO,EAAC,SAAS;QAACG,MAAM,EAAC,UAAU;QAAAL,QAAA,EACtCX;MAAK,CACF,CAAC,EACNC,MAAM,GAAG,MAAMA,MAAM,EAAE,GAAG,EAAE;IAAA,CACzB,CAAC;EAAA,CACH,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+
3
+ import { useMemo, useRef, useState } from 'react';
4
+ import { PanResponder, View } from 'react-native';
5
+ import Svg, { Defs, LinearGradient, Rect, Stop } from 'react-native-svg';
6
+ import { Text } from "../components/text/text.js";
7
+ import { useTheme } from "../theme/theme-provider.js";
8
+ import { makeStyles } from "../utils/styles.js";
9
+ import { clamp, hslToHex } from "./hsl.js";
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+ const useStyles = makeStyles(t => ({
12
+ root: {
13
+ gap: t.space[2],
14
+ paddingHorizontal: t.layout.screenX
15
+ },
16
+ track: {
17
+ height: t.space[8],
18
+ justifyContent: 'center'
19
+ },
20
+ knob: {
21
+ position: 'absolute',
22
+ width: t.space[8],
23
+ height: t.space[8],
24
+ borderRadius: t.radius.full,
25
+ borderWidth: 3,
26
+ borderColor: t.colors.background,
27
+ boxShadow: t.shadow.md
28
+ }
29
+ }));
30
+ export function ColorTrack({
31
+ kind,
32
+ hue,
33
+ saturation,
34
+ lightness = 45,
35
+ onChange,
36
+ label,
37
+ style
38
+ }) {
39
+ const t = useTheme();
40
+ const s = useStyles();
41
+ const [width, setWidth] = useState(0);
42
+ const max = kind === 'hue' ? 360 : 100;
43
+ const value = kind === 'hue' ? hue : saturation;
44
+ const latest = useRef({
45
+ width,
46
+ onChange,
47
+ max
48
+ });
49
+ latest.current = {
50
+ width,
51
+ onChange,
52
+ max
53
+ };
54
+ const pan = useMemo(() => PanResponder.create({
55
+ onStartShouldSetPanResponder: () => true,
56
+ onMoveShouldSetPanResponder: () => true,
57
+ onPanResponderTerminationRequest: () => false,
58
+ onPanResponderGrant: e => pick(e.nativeEvent.locationX),
59
+ onPanResponderMove: e => pick(e.nativeEvent.locationX)
60
+ }), []);
61
+ function pick(x) {
62
+ const {
63
+ width: w,
64
+ onChange: change,
65
+ max: m
66
+ } = latest.current;
67
+ if (w > 0) change(Math.round(clamp(x / w, 0, 1) * m));
68
+ }
69
+ const stops = kind === 'hue' ? Array.from({
70
+ length: 13
71
+ }, (_, i) => hslToHex(i * 30, saturation, lightness)) : [hslToHex(hue, 0, lightness), hslToHex(hue, 100, lightness)];
72
+ const knob = t.space[8];
73
+ const step = kind === 'hue' ? 10 : 5;
74
+ return /*#__PURE__*/_jsxs(View, {
75
+ style: [s.root, style],
76
+ children: [/*#__PURE__*/_jsx(Text, {
77
+ variant: "caption",
78
+ tone: "muted",
79
+ children: label
80
+ }), /*#__PURE__*/_jsxs(View, {
81
+ ...pan.panHandlers,
82
+ onLayout: e => setWidth(e.nativeEvent.layout.width),
83
+ accessible: true,
84
+ accessibilityRole: "adjustable",
85
+ accessibilityLabel: label,
86
+ accessibilityValue: {
87
+ min: 0,
88
+ max,
89
+ now: value
90
+ },
91
+ accessibilityActions: [{
92
+ name: 'increment'
93
+ }, {
94
+ name: 'decrement'
95
+ }],
96
+ onAccessibilityAction: e => onChange(clamp(value + (e.nativeEvent.actionName === 'increment' ? step : -step), 0, max)),
97
+ style: s.track,
98
+ children: [width > 0 ? /*#__PURE__*/_jsxs(Svg, {
99
+ width: width,
100
+ height: knob,
101
+ pointerEvents: "none",
102
+ children: [/*#__PURE__*/_jsx(Defs, {
103
+ children: /*#__PURE__*/_jsx(LinearGradient, {
104
+ id: `g-${kind}`,
105
+ x1: "0",
106
+ y1: "0",
107
+ x2: "1",
108
+ y2: "0",
109
+ children: stops.map((c, i) => /*#__PURE__*/_jsx(Stop, {
110
+ offset: i / (stops.length - 1),
111
+ stopColor: c
112
+ }, i))
113
+ })
114
+ }), /*#__PURE__*/_jsx(Rect, {
115
+ x: 0,
116
+ y: 0,
117
+ width: width,
118
+ height: knob,
119
+ rx: knob / 2,
120
+ fill: `url(#g-${kind})`
121
+ })]
122
+ }) : null, /*#__PURE__*/_jsx(View, {
123
+ pointerEvents: "none",
124
+ style: [s.knob, {
125
+ left: clamp(value / max * width - knob / 2, 0, Math.max(0, width - knob)),
126
+ backgroundColor: hslToHex(hue, saturation, lightness)
127
+ }]
128
+ })]
129
+ })]
130
+ });
131
+ }
132
+ //# sourceMappingURL=color-track.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useMemo","useRef","useState","PanResponder","View","Svg","Defs","LinearGradient","Rect","Stop","Text","useTheme","makeStyles","clamp","hslToHex","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","gap","space","paddingHorizontal","layout","screenX","track","height","justifyContent","knob","position","width","borderRadius","radius","full","borderWidth","borderColor","colors","background","boxShadow","shadow","md","ColorTrack","kind","hue","saturation","lightness","onChange","label","style","s","setWidth","max","value","latest","current","pan","create","onStartShouldSetPanResponder","onMoveShouldSetPanResponder","onPanResponderTerminationRequest","onPanResponderGrant","e","pick","nativeEvent","locationX","onPanResponderMove","x","w","change","m","Math","round","stops","Array","from","length","_","i","step","children","variant","tone","panHandlers","onLayout","accessible","accessibilityRole","accessibilityLabel","accessibilityValue","min","now","accessibilityActions","name","onAccessibilityAction","actionName","pointerEvents","id","x1","y1","x2","y2","map","c","offset","stopColor","y","rx","fill","left","backgroundColor"],"sourceRoot":"../../../src","sources":["adjust/color-track.tsx"],"mappings":";;AAAA,SAASA,OAAO,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AACjD,SACEC,YAAY,EACZC,IAAI,QAIC,cAAc;AACrB,OAAOC,GAAG,IAAIC,IAAI,EAAEC,cAAc,EAAEC,IAAI,EAAEC,IAAI,QAAQ,kBAAkB;AACxE,SAASC,IAAI,QAAQ,4BAAyB;AAC9C,SAASC,QAAQ,QAAQ,4BAAyB;AAClD,SAASC,UAAU,QAAQ,oBAAiB;AAC5C,SAASC,KAAK,EAAEC,QAAQ,QAAQ,UAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAYxC,MAAMC,SAAS,GAAGP,UAAU,CAAEQ,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,GAAG,EAAEF,CAAC,CAACG,KAAK,CAAC,CAAC,CAAC;IAAEC,iBAAiB,EAAEJ,CAAC,CAACK,MAAM,CAACC;EAAQ,CAAC;EAC9DC,KAAK,EAAE;IAAEC,MAAM,EAAER,CAAC,CAACG,KAAK,CAAC,CAAC,CAAC;IAAEM,cAAc,EAAE;EAAS,CAAC;EACvDC,IAAI,EAAE;IACJC,QAAQ,EAAE,UAAU;IACpBC,KAAK,EAAEZ,CAAC,CAACG,KAAK,CAAC,CAAC,CAAC;IACjBK,MAAM,EAAER,CAAC,CAACG,KAAK,CAAC,CAAC,CAAC;IAClBU,YAAY,EAAEb,CAAC,CAACc,MAAM,CAACC,IAAI;IAC3BC,WAAW,EAAE,CAAC;IACdC,WAAW,EAAEjB,CAAC,CAACkB,MAAM,CAACC,UAAU;IAChCC,SAAS,EAAEpB,CAAC,CAACq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MAAM;QACpB9C,KAAK,EAAE,CACLC,CAAC,CAACrB,IAAI,EACN;UACE+E,IAAI,EAAEhG,KAAK,CACRyC,KAAK,GAAGD,GAAG,GAAIrB,KAAK,GAAGF,IAAI,GAAG,CAAC,EAChC,CAAC,EACD0C,IAAI,CAACnB,GAAG,CAAC,CAAC,EAAErB,KAAK,GAAGF,IAAI,CAC1B,CAAC;UACDgF,eAAe,EAAEhG,QAAQ,CAAC+B,GAAG,EAAEC,UAAU,EAAEC,SAAS;QACtD,CAAC;MACD,CACH,CAAC;IAAA,CACE,CAAC;EAAA,CACH,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+
3
+ import { ScrollView, View } from 'react-native';
4
+ import Svg, { Circle } from 'react-native-svg';
5
+ import { Text } from "../components/text/text.js";
6
+ import { PressableBase } from "../internal/pressable-base.js";
7
+ import { useTheme } from "../theme/theme-provider.js";
8
+ import { makeStyles } from "../utils/styles.js";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ const SIZE = 48;
11
+ const STROKE = 3;
12
+ const useStyles = makeStyles(t => ({
13
+ row: {
14
+ gap: t.space[3],
15
+ paddingHorizontal: t.layout.screenX
16
+ },
17
+ item: {
18
+ alignItems: 'center',
19
+ gap: t.space[1]
20
+ },
21
+ ring: {
22
+ width: SIZE,
23
+ height: SIZE,
24
+ alignItems: 'center',
25
+ justifyContent: 'center'
26
+ },
27
+ value: {
28
+ position: 'absolute'
29
+ }
30
+ }));
31
+ const signed = v => v > 0 ? `+${v}` : String(v);
32
+ function Ring({
33
+ item,
34
+ on
35
+ }) {
36
+ const t = useTheme();
37
+ const s = useStyles();
38
+ const r = (SIZE - STROKE) / 2;
39
+ const c = 2 * Math.PI * r;
40
+ if (item.color) {
41
+ return /*#__PURE__*/_jsx(View, {
42
+ style: s.ring,
43
+ children: /*#__PURE__*/_jsx(Svg, {
44
+ width: SIZE,
45
+ height: SIZE,
46
+ children: /*#__PURE__*/_jsx(Circle, {
47
+ cx: SIZE / 2,
48
+ cy: SIZE / 2,
49
+ r: r,
50
+ fill: item.color,
51
+ stroke: on ? t.colors.primary : t.colors.border,
52
+ strokeWidth: STROKE
53
+ })
54
+ })
55
+ });
56
+ }
57
+ const v = item.value ?? 0;
58
+ const frac = Math.min(1, Math.abs(v) / (item.max ?? 2));
59
+ return /*#__PURE__*/_jsxs(View, {
60
+ style: s.ring,
61
+ children: [/*#__PURE__*/_jsxs(Svg, {
62
+ width: SIZE,
63
+ height: SIZE,
64
+ children: [/*#__PURE__*/_jsx(Circle, {
65
+ cx: SIZE / 2,
66
+ cy: SIZE / 2,
67
+ r: r,
68
+ fill: on ? t.colors.primaryTint : t.colors.muted,
69
+ stroke: t.colors.border,
70
+ strokeWidth: STROKE
71
+ }), v ? /*#__PURE__*/_jsx(Circle, {
72
+ cx: SIZE / 2,
73
+ cy: SIZE / 2,
74
+ r: r,
75
+ fill: "none",
76
+ stroke: on ? t.colors.primary : t.colors.primaryEdge,
77
+ strokeWidth: STROKE,
78
+ strokeLinecap: "round",
79
+ strokeDasharray: `${c * frac} ${c}`,
80
+ transform: `${v < 0 ? `translate(${SIZE},0) scale(-1,1) ` : ''}rotate(-90 ${SIZE / 2} ${SIZE / 2})`
81
+ }) : null]
82
+ }), /*#__PURE__*/_jsx(Text, {
83
+ variant: "caption",
84
+ weight: on ? 'bold' : 'medium',
85
+ tone: on ? 'primary' : 'muted',
86
+ style: s.value,
87
+ children: item.text ?? (v ? signed(v) : '0')
88
+ })]
89
+ });
90
+ }
91
+ export function DialStrip({
92
+ items,
93
+ selected,
94
+ onSelect,
95
+ style
96
+ }) {
97
+ const s = useStyles();
98
+ return /*#__PURE__*/_jsx(ScrollView, {
99
+ horizontal: true,
100
+ showsHorizontalScrollIndicator: false,
101
+ contentContainerStyle: s.row,
102
+ style: style,
103
+ children: items.map(item => {
104
+ const on = item.key === selected;
105
+ return /*#__PURE__*/_jsxs(PressableBase, {
106
+ onPress: () => onSelect(item.key),
107
+ accessibilityRole: "button",
108
+ accessibilityLabel: item.color || item.text ? item.label : `${item.label} ${signed(item.value ?? 0)}`,
109
+ accessibilityState: {
110
+ selected: on
111
+ },
112
+ style: s.item,
113
+ children: [/*#__PURE__*/_jsx(Ring, {
114
+ item: item,
115
+ on: on
116
+ }), /*#__PURE__*/_jsx(Text, {
117
+ variant: "caption",
118
+ weight: on ? 'bold' : 'regular',
119
+ tone: on ? 'primary' : 'muted',
120
+ children: item.label
121
+ })]
122
+ }, item.key);
123
+ })
124
+ });
125
+ }
126
+ //# sourceMappingURL=dial-strip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ScrollView","View","Svg","Circle","Text","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","SIZE","STROKE","useStyles","t","row","gap","space","paddingHorizontal","layout","screenX","item","alignItems","ring","width","height","justifyContent","value","position","signed","v","String","Ring","on","s","r","c","Math","PI","color","style","children","cx","cy","fill","stroke","colors","primary","border","strokeWidth","frac","min","abs","max","primaryTint","muted","primaryEdge","strokeLinecap","strokeDasharray","transform","variant","weight","tone","text","DialStrip","items","selected","onSelect","horizontal","showsHorizontalScrollIndicator","contentContainerStyle","map","key","onPress","accessibilityRole","accessibilityLabel","label","accessibilityState"],"sourceRoot":"../../../src","sources":["adjust/dial-strip.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,QAAwC,cAAc;AAC/E,OAAOC,GAAG,IAAIC,MAAM,QAAQ,kBAAkB;AAC9C,SAASC,IAAI,QAAQ,4BAAyB;AAC9C,SAASC,aAAa,QAAQ,+BAA4B;AAC1D,SAASC,QAAQ,QAAQ,4BAAyB;AAClD,SAASC,UAAU,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAkB7C,MAAMC,IAAI,GAAG,EAAE;AACf,MAAMC,MAAM,GAAG,CAAC;AAEhB,MAAMC,SAAS,GAAGP,UAAU,CAAEQ,CA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KAAK,GACV,GAAGvD,IAAI,CAACuD,KAAK,IAAI/C,MAAM,CAACR,IAAI,CAACM,KAAK,IAAI,CAAC,CAAC,EAC7C;QACDkD,kBAAkB,EAAE;UAAEX,QAAQ,EAAEjC;QAAG,CAAE;QACrCO,KAAK,EAAEN,CAAC,CAACb,IAAK;QAAAoB,QAAA,gBAEdjC,IAAA,CAACwB,IAAI;UAACX,IAAI,EAAEA,IAAK;UAACY,EAAE,EAAEA;QAAG,CAAE,CAAC,eAC5BzB,IAAA,CAACL,IAAI;UACHyD,OAAO,EAAC,SAAS;UACjBC,MAAM,EAAE5B,EAAE,GAAG,MAAM,GAAG,SAAU;UAChC6B,IAAI,EAAE7B,EAAE,GAAG,SAAS,GAAG,OAAQ;UAAAQ,QAAA,EAE9BpB,IAAI,CAACuD;QAAK,CACP,CAAC;MAAA,GAlBFvD,IAAI,CAACmD,GAmBG,CAAC;IAEpB,CAAC;EAAC,CACQ,CAAC;AAEjB","ignoreList":[]}
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ import { View } from 'react-native';
4
+ import { Chip } from "../components/chip/chip.js";
5
+ import { ChipGroup } from "../components/chip-group/chip-group.js";
6
+ import { Text } from "../components/text/text.js";
7
+ import { makeStyles } from "../utils/styles.js";
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ const useStyles = makeStyles(t => ({
10
+ root: {
11
+ gap: t.space[3]
12
+ },
13
+ sets: {
14
+ paddingHorizontal: t.layout.screenX
15
+ },
16
+ levels: {
17
+ gap: t.space[2],
18
+ paddingHorizontal: t.layout.screenX
19
+ },
20
+ level: {
21
+ flexDirection: 'row',
22
+ alignItems: 'center',
23
+ gap: t.space[2]
24
+ },
25
+ name: {
26
+ flex: 1
27
+ }
28
+ }));
29
+ export function FontControls({
30
+ sets,
31
+ selected,
32
+ onSelect,
33
+ levels,
34
+ italicAvailable = true,
35
+ onToggle,
36
+ boldLabel = '굵게',
37
+ italicLabel = '기울임',
38
+ style
39
+ }) {
40
+ const s = useStyles();
41
+ return /*#__PURE__*/_jsxs(View, {
42
+ style: [s.root, style],
43
+ children: [/*#__PURE__*/_jsx(View, {
44
+ style: s.sets,
45
+ children: /*#__PURE__*/_jsx(ChipGroup, {
46
+ items: sets,
47
+ value: selected,
48
+ onValueChange: set => set && onSelect(set)
49
+ })
50
+ }), /*#__PURE__*/_jsx(View, {
51
+ style: s.levels,
52
+ children: levels.map(level => /*#__PURE__*/_jsxs(View, {
53
+ style: s.level,
54
+ children: [/*#__PURE__*/_jsx(Text, {
55
+ variant: "label",
56
+ style: s.name,
57
+ children: level.label
58
+ }), /*#__PURE__*/_jsx(Chip, {
59
+ size: "sm",
60
+ selected: level.bold,
61
+ onPress: () => onToggle(level.key, 'bold'),
62
+ accessibilityLabel: `${level.label} ${boldLabel}`,
63
+ children: boldLabel
64
+ }), /*#__PURE__*/_jsx(Chip, {
65
+ size: "sm",
66
+ selected: level.italic,
67
+ disabled: !italicAvailable,
68
+ onPress: () => onToggle(level.key, 'italic'),
69
+ accessibilityLabel: `${level.label} ${italicLabel}`,
70
+ children: italicLabel
71
+ })]
72
+ }, level.key))
73
+ })]
74
+ });
75
+ }
76
+ //# sourceMappingURL=font-controls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","Chip","ChipGroup","Text","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","gap","space","sets","paddingHorizontal","layout","screenX","levels","level","flexDirection","alignItems","name","flex","FontControls","selected","onSelect","italicAvailable","onToggle","boldLabel","italicLabel","style","s","children","items","value","onValueChange","set","map","variant","label","size","bold","onPress","key","accessibilityLabel","italic","disabled"],"sourceRoot":"../../../src","sources":["adjust/font-controls.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,IAAI,QAAQ,4BAAyB;AAC9C,SACEC,SAAS,QAEJ,wCAAqC;AAC5C,SAASC,IAAI,QAAQ,4BAAyB;AAC9C,SAASC,UAAU,QAAQ,oBAAi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ACP/B,IAAA,CAACN,IAAI;MAAC+B,KAAK,EAAEC,CAAC,CAACd,MAAO;MAAAe,QAAA,EACnBf,MAAM,CAACoB,GAAG,CAAEnB,KAAK,iBAChBX,KAAA,CAACR,IAAI;QAAiB+B,KAAK,EAAEC,CAAC,CAACb,KAAM;QAAAc,QAAA,gBACnC3B,IAAA,CAACH,IAAI;UAACoC,OAAO,EAAC,OAAO;UAACR,KAAK,EAAEC,CAAC,CAACV,IAAK;UAAAW,QAAA,EACjCd,KAAK,CAACqB;QAAK,CACR,CAAC,eACPlC,IAAA,CAACL,IAAI;UACHwC,IAAI,EAAC,IAAI;UACThB,QAAQ,EAAEN,KAAK,CAACuB,IAAK;UACrBC,OAAO,EAAEA,CAAA,KAAMf,QAAQ,CAACT,KAAK,CAACyB,GAAG,EAAE,MAAM,CAAE;UAC3CC,kBAAkB,EAAE,GAAG1B,KAAK,CAACqB,KAAK,IAAIX,SAAS,EAAG;UAAAI,QAAA,EAEjDJ;QAAS,CACN,CAAC,eACPvB,IAAA,CAACL,IAAI;UACHwC,IAAI,EAAC,IAAI;UACThB,QAAQ,EAAEN,KAAK,CAAC2B,MAAO;UACvBC,QAAQ,EAAE,CAACpB,eAAgB;UAC3BgB,OAAO,EAAEA,CAAA,KAAMf,QAAQ,CAACT,KAAK,CAACyB,GAAG,EAAE,QAAQ,CAAE;UAC7CC,kBAAkB,EAAE,GAAG1B,KAAK,CAACqB,KAAK,IAAIV,WAAW,EAAG;UAAAG,QAAA,EAEnDH;QAAW,CACR,CAAC;MAAA,GApBEX,KAAK,CAACyB,GAqBX,CACP;IAAC,CACE,CAAC;EAAA,CACH,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ export function hslToHex(h, s, l) {
4
+ const sat = s / 100;
5
+ const light = l / 100;
6
+ const a = sat * Math.min(light, 1 - light);
7
+ const channel = n => {
8
+ const k = (n + h / 30) % 12;
9
+ const v = light - a * Math.max(-1, Math.min(k - 3, 9 - k, 1));
10
+ return Math.round(v * 255).toString(16).padStart(2, '0');
11
+ };
12
+ return `#${channel(0)}${channel(8)}${channel(4)}`.toUpperCase();
13
+ }
14
+ export function hexToHsl(hex) {
15
+ const v = hex.replace('#', '');
16
+ const [r, g, b] = [0, 2, 4].map(i => parseInt(v.slice(i, i + 2), 16) / 255);
17
+ const mx = Math.max(r, g, b);
18
+ const mn = Math.min(r, g, b);
19
+ const l = (mx + mn) / 2;
20
+ if (mx === mn) return [0, 0, l * 100];
21
+ const d = mx - mn;
22
+ const s = l > 0.5 ? d / (2 - mx - mn) : d / (mx + mn);
23
+ const h = mx === r ? (g - b) / d + (g < b ? 6 : 0) : mx === g ? (b - r) / d + 2 : (r - g) / d + 4;
24
+ return [h * 60, s * 100, l * 100];
25
+ }
26
+ export function clamp(value, min, max) {
27
+ return Math.max(min, Math.min(max, value));
28
+ }
29
+ //# sourceMappingURL=hsl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["hslToHex","h","s","l","sat","light","a","Math","min","channel","n","k","v","max","round","toString","padStart","toUpperCase","hexToHsl","hex","replace","r","g","b","map","i","parseInt","slice","mx","mn","d","clamp","value"],"sourceRoot":"../../../src","sources":["adjust/hsl.ts"],"mappings":";;AAAA,OAAO,SAASA,QAAQA,CAACC,CAAS,EAAEC,CAAS,EAAEC,CAAS,EAAU;EAChE,MAAMC,GAAG,GAAGF,CAAC,GAAG,GAAG;EACnB,MAAMG,KAAK,GAAGF,CAAC,GAAG,GAAG;EACrB,MAAMG,CAAC,GAAGF,GAAG,GAAGG,IAAI,CAACC,GAAG,CAACH,KAAK,EAAE,CAAC,GAAGA,KAAK,CAAC;EAC1C,MAAMI,OAAO,GAAIC,CAAS,IAAK;IAC7B,MAAMC,CAAC,GAAG,CAACD,CAAC,GAAGT,CAAC,GAAG,EAAE,IAAI,EAAE;IAC3B,MAAMW,CAAC,GAAGP,KAAK,GAAGC,CAAC,GAAGC,IAAI,CAACM,GAAG,CAAC,CAAC,CAAC,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C,GAAGF,EAAE,GAAGC,EAAE,CAAC,GAAGC,CAAC,IAAIF,EAAE,GAAGC,EAAE,CAAC;EACrD,MAAM5B,CAAC,GACL2B,EAAE,KAAKP,CAAC,GACJ,CAACC,CAAC,GAAGC,CAAC,IAAIO,CAAC,IAAIR,CAAC,GAAGC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAC7BK,EAAE,KAAKN,CAAC,GACN,CAACC,CAAC,GAAGF,CAAC,IAAIS,CAAC,GAAG,CAAC,GACf,CAACT,CAAC,GAAGC,CAAC,IAAIQ,CAAC,GAAG,CAAC;EACvB,OAAO,CAAC7B,CAAC,GAAG,EAAE,EAAEC,CAAC,GAAG,GAAG,EAAEC,CAAC,GAAG,GAAG,CAAC;AACnC;AAEA,OAAO,SAAS4B,KAAKA,CAACC,KAAa,EAAExB,GAAW,EAAEK,GAAW,EAAU;EACrE,OAAON,IAAI,CAACM,GAAG,CAACL,GAAG,EAAED,IAAI,CAACC,GAAG,CAACK,GAAG,EAAEmB,KAAK,CAAC,CAAC;AAC5C","ignoreList":[]}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ export { AdjustTemplate } from "./adjust-template.js";
4
+ export { ColorAdjustNote } from "./color-adjust-note.js";
5
+ export { ColorTrack } from "./color-track.js";
6
+ export { DialStrip } from "./dial-strip.js";
7
+ export { FontControls } from "./font-controls.js";
8
+ export { ScrubRuler } from "./scrub-ruler.js";
9
+ export { hexToHsl, hslToHex } from "./hsl.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AdjustTemplate","ColorAdjustNote","ColorTrack","DialStrip","FontControls","ScrubRuler","hexToHsl","hslToHex"],"sourceRoot":"../../../src","sources":["adjust/index.ts"],"mappings":";;AAAA,SAASA,cAAc,QAAkC,sBAAmB;AAC5E,SACEC,eAAe,QAEV,wBAAqB;AAC5B,SAASC,UAAU,QAA8B,kBAAe;AAChE,SAASC,SAAS,QAA4C,iBAAc;AAC5E,SACEC,YAAY,QAGP,oBAAiB;AACxB,SAASC,UAAU,QAA8B,kBAAe;AAChE,SAASC,QAAQ,EAAEC,QAAQ,QAAQ,UAAO","ignoreList":[]}