@mindvalley/design-system 0.0.1-development → 1.0.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 (648) hide show
  1. package/README.md +7 -10
  2. package/dist/index.js +2 -120
  3. package/dist/index.js.map +1 -1
  4. package/dist/svg/activity-filled.svg +3 -0
  5. package/dist/svg/activity-stroke.svg +3 -0
  6. package/dist/svg/airplay-filled.svg +3 -0
  7. package/dist/svg/airplay-official-airplay-audio.svg +10 -0
  8. package/dist/svg/airplay-official-airplay-video.svg +3 -0
  9. package/dist/svg/airplay-stroke.svg +4 -0
  10. package/dist/svg/alert-filled-circle.svg +3 -0
  11. package/dist/svg/alert-filled-octagon.svg +3 -0
  12. package/dist/svg/alert-filled-triangle.svg +3 -0
  13. package/dist/svg/alert-stroke-circle.svg +5 -0
  14. package/dist/svg/alert-stroke-octagon.svg +5 -0
  15. package/dist/svg/alert-stroke-triangle.svg +5 -0
  16. package/dist/svg/align-center-filled.svg +3 -0
  17. package/dist/svg/align-center-stroke.svg +6 -0
  18. package/dist/svg/align-justify-filled.svg +3 -0
  19. package/dist/svg/align-justify-stroke.svg +6 -0
  20. package/dist/svg/align-left-filled.svg +3 -0
  21. package/dist/svg/align-left-stroke.svg +6 -0
  22. package/dist/svg/align-right-filled.svg +3 -0
  23. package/dist/svg/align-right-stroke.svg +6 -0
  24. package/dist/svg/anchor-filled.svg +3 -0
  25. package/dist/svg/anchor-stroke.svg +5 -0
  26. package/dist/svg/announcement_speaker-filled.svg +3 -0
  27. package/dist/svg/announcement_speaker-stroke.svg +3 -0
  28. package/dist/svg/aperture-filled.svg +3 -0
  29. package/dist/svg/aperture-stroke.svg +9 -0
  30. package/dist/svg/archive-filled.svg +3 -0
  31. package/dist/svg/archive-stroke.svg +5 -0
  32. package/dist/svg/arrow-down-circle-filled.svg +3 -0
  33. package/dist/svg/arrow-down-circle-stroke.svg +5 -0
  34. package/dist/svg/arrow-down-filled.svg +4 -0
  35. package/dist/svg/arrow-down-left-filled.svg +5 -0
  36. package/dist/svg/arrow-down-left-stroke.svg +4 -0
  37. package/dist/svg/arrow-down-right-filled.svg +5 -0
  38. package/dist/svg/arrow-down-right-stroke.svg +3 -0
  39. package/dist/svg/arrow-down-stroke.svg +4 -0
  40. package/dist/svg/arrow-left-circle-filled.svg +3 -0
  41. package/dist/svg/arrow-left-circle-stroke.svg +4 -0
  42. package/dist/svg/arrow-left-filled.svg +3 -0
  43. package/dist/svg/arrow-left-stroke.svg +3 -0
  44. package/dist/svg/arrow-right-circle-filled.svg +3 -0
  45. package/dist/svg/arrow-right-circle-stroke.svg +4 -0
  46. package/dist/svg/arrow-right-filled.svg +3 -0
  47. package/dist/svg/arrow-right-stroke.svg +3 -0
  48. package/dist/svg/arrow-up-circle-filled.svg +3 -0
  49. package/dist/svg/arrow-up-circle-stroke.svg +4 -0
  50. package/dist/svg/arrow-up-filled.svg +3 -0
  51. package/dist/svg/arrow-up-left-filled.svg +3 -0
  52. package/dist/svg/arrow-up-left-stroke.svg +3 -0
  53. package/dist/svg/arrow-up-right-filled.svg +3 -0
  54. package/dist/svg/arrow-up-right-stroke.svg +3 -0
  55. package/dist/svg/arrow-up-stroke.svg +3 -0
  56. package/dist/svg/at-sign-filled.svg +3 -0
  57. package/dist/svg/at-sign-stroke.svg +3 -0
  58. package/dist/svg/award-filled.svg +3 -0
  59. package/dist/svg/award-stroke.svg +11 -0
  60. package/dist/svg/bar-chart-2-filled.svg +3 -0
  61. package/dist/svg/bar-chart-2-stroke.svg +5 -0
  62. package/dist/svg/bar-chart-filled.svg +3 -0
  63. package/dist/svg/bar-chart-stroke.svg +5 -0
  64. package/dist/svg/battery-charging-filled.svg +3 -0
  65. package/dist/svg/battery-charging-stroke.svg +3 -0
  66. package/dist/svg/battery-filled.svg +4 -0
  67. package/dist/svg/battery-stroke.svg +4 -0
  68. package/dist/svg/bicycle-filled.svg +3 -0
  69. package/dist/svg/bicycle-stroke.svg +3 -0
  70. package/dist/svg/bluetooth-filled.svg +3 -0
  71. package/dist/svg/bluetooth-stroke.svg +10 -0
  72. package/dist/svg/bold-filled.svg +3 -0
  73. package/dist/svg/bold-stroke.svg +4 -0
  74. package/dist/svg/book-filled.svg +3 -0
  75. package/dist/svg/book-open-filled.svg +4 -0
  76. package/dist/svg/book-open-stroke.svg +4 -0
  77. package/dist/svg/book-stroke.svg +4 -0
  78. package/dist/svg/bookmark-filled.svg +3 -0
  79. package/dist/svg/bookmark-stroke.svg +3 -0
  80. package/dist/svg/box-filled.svg +3 -0
  81. package/dist/svg/box-stroke.svg +5 -0
  82. package/dist/svg/briefcase-filled.svg +3 -0
  83. package/dist/svg/briefcase-stroke.svg +4 -0
  84. package/dist/svg/calendar-add-filled.svg +3 -0
  85. package/dist/svg/calendar-add-stroke.svg +3 -0
  86. package/dist/svg/calendar-filled.svg +3 -0
  87. package/dist/svg/calendar-stroke.svg +6 -0
  88. package/dist/svg/calendar-tick1-filled.svg +3 -0
  89. package/dist/svg/calendar-tick1-stroke.svg +3 -0
  90. package/dist/svg/calendar-tick2-filled.svg +3 -0
  91. package/dist/svg/calendar-tick2-stroke.svg +3 -0
  92. package/dist/svg/calendar-x-filled.svg +3 -0
  93. package/dist/svg/calendar-x-stroke.svg +3 -0
  94. package/dist/svg/camera-filled.svg +3 -0
  95. package/dist/svg/camera-off-filled.svg +10 -0
  96. package/dist/svg/camera-off-stroke.svg +11 -0
  97. package/dist/svg/camera-stroke.svg +4 -0
  98. package/dist/svg/caption-filled.svg +3 -0
  99. package/dist/svg/caption-stroke.svg +3 -0
  100. package/dist/svg/car-filled.svg +3 -0
  101. package/dist/svg/car-stroke.svg +3 -0
  102. package/dist/svg/carret - down-filled.svg +3 -0
  103. package/dist/svg/carret - down-stroke.svg +3 -0
  104. package/dist/svg/carret - left-filled.svg +3 -0
  105. package/dist/svg/carret - left-stroke.svg +3 -0
  106. package/dist/svg/carret - right-filled.svg +3 -0
  107. package/dist/svg/carret - right-stroke.svg +3 -0
  108. package/dist/svg/carret - up-filled.svg +3 -0
  109. package/dist/svg/carret - up-stroke.svg +3 -0
  110. package/dist/svg/cast-filled.svg +3 -0
  111. package/dist/svg/cast-official-cast-connected.svg +3 -0
  112. package/dist/svg/cast-official-cast.svg +3 -0
  113. package/dist/svg/cast-stroke.svg +3 -0
  114. package/dist/svg/chair-filled.svg +3 -0
  115. package/dist/svg/chair-stroke.svg +3 -0
  116. package/dist/svg/check-circle-filled.svg +3 -0
  117. package/dist/svg/check-circle-stroke.svg +4 -0
  118. package/dist/svg/check-filled.svg +3 -0
  119. package/dist/svg/check-square-filled.svg +3 -0
  120. package/dist/svg/check-square-stroke.svg +4 -0
  121. package/dist/svg/check-stroke.svg +3 -0
  122. package/dist/svg/checklist-filled-circle-checked.svg +3 -0
  123. package/dist/svg/checklist-filled-circle-unchecked.svg +3 -0
  124. package/dist/svg/checklist-filled-square-checked.svg +3 -0
  125. package/dist/svg/checklist-filled-square-unchecked.svg +3 -0
  126. package/dist/svg/checklist-stroke-circle-checked.svg +4 -0
  127. package/dist/svg/checklist-stroke-circle-unchecked.svg +3 -0
  128. package/dist/svg/checklist-stroke-square-checked.svg +4 -0
  129. package/dist/svg/checklist-stroke-square-unchecked.svg +3 -0
  130. package/dist/svg/chevron-down-filled.svg +3 -0
  131. package/dist/svg/chevron-down-stroke.svg +3 -0
  132. package/dist/svg/chevron-left-filled.svg +3 -0
  133. package/dist/svg/chevron-left-stroke.svg +3 -0
  134. package/dist/svg/chevron-right-filled.svg +3 -0
  135. package/dist/svg/chevron-right-stroke.svg +3 -0
  136. package/dist/svg/chevron-up-filled.svg +3 -0
  137. package/dist/svg/chevron-up-stroke.svg +3 -0
  138. package/dist/svg/chevrons-down-filled.svg +3 -0
  139. package/dist/svg/chevrons-down-stroke.svg +4 -0
  140. package/dist/svg/chevrons-left-filled.svg +3 -0
  141. package/dist/svg/chevrons-left-stroke.svg +4 -0
  142. package/dist/svg/chevrons-right-filled.svg +3 -0
  143. package/dist/svg/chevrons-right-stroke.svg +4 -0
  144. package/dist/svg/chevrons-up-filled.svg +3 -0
  145. package/dist/svg/chevrons-up-stroke.svg +4 -0
  146. package/dist/svg/chrome-filled.svg +3 -0
  147. package/dist/svg/chrome-stroke.svg +7 -0
  148. package/dist/svg/clipboard-filled.svg +3 -0
  149. package/dist/svg/clipboard-stroke.svg +4 -0
  150. package/dist/svg/clock-filled.svg +3 -0
  151. package/dist/svg/clock-stroke.svg +4 -0
  152. package/dist/svg/cloud-drizzle-filled.svg +3 -0
  153. package/dist/svg/cloud-drizzle-stroke.svg +16 -0
  154. package/dist/svg/cloud-filled.svg +10 -0
  155. package/dist/svg/cloud-lightning-filled.svg +3 -0
  156. package/dist/svg/cloud-lightning-stroke.svg +11 -0
  157. package/dist/svg/cloud-off-filled.svg +10 -0
  158. package/dist/svg/cloud-off-stroke.svg +11 -0
  159. package/dist/svg/cloud-rain-filled.svg +3 -0
  160. package/dist/svg/cloud-rain-stroke.svg +13 -0
  161. package/dist/svg/cloud-snow-filled.svg +3 -0
  162. package/dist/svg/cloud-snow-stroke.svg +16 -0
  163. package/dist/svg/cloud-stroke.svg +10 -0
  164. package/dist/svg/code-filled.svg +3 -0
  165. package/dist/svg/code-stroke.svg +4 -0
  166. package/dist/svg/codepen-filled.svg +3 -0
  167. package/dist/svg/codepen-stroke.svg +7 -0
  168. package/dist/svg/compass-filled.svg +3 -0
  169. package/dist/svg/compass-stroke.svg +4 -0
  170. package/dist/svg/copy-filled.svg +4 -0
  171. package/dist/svg/copy-stroke.svg +4 -0
  172. package/dist/svg/corner-down-left-filled.svg +6 -0
  173. package/dist/svg/corner-down-left-stroke.svg +4 -0
  174. package/dist/svg/corner-down-right-filled.svg +6 -0
  175. package/dist/svg/corner-down-right-stroke.svg +4 -0
  176. package/dist/svg/corner-left-down-filled.svg +6 -0
  177. package/dist/svg/corner-left-down-stroke.svg +4 -0
  178. package/dist/svg/corner-left-up-filled.svg +6 -0
  179. package/dist/svg/corner-left-up-stroke.svg +4 -0
  180. package/dist/svg/corner-right-down-filled.svg +6 -0
  181. package/dist/svg/corner-right-down-stroke.svg +4 -0
  182. package/dist/svg/corner-right-up-filled.svg +6 -0
  183. package/dist/svg/corner-right-up-stroke.svg +4 -0
  184. package/dist/svg/corner-up-left-filled.svg +5 -0
  185. package/dist/svg/corner-up-left-stroke.svg +4 -0
  186. package/dist/svg/corner-up-right-filled.svg +5 -0
  187. package/dist/svg/corner-up-right-stroke.svg +4 -0
  188. package/dist/svg/credit-card-filled.svg +3 -0
  189. package/dist/svg/credit-card-stroke.svg +6 -0
  190. package/dist/svg/crop-filled.svg +3 -0
  191. package/dist/svg/crop-stroke.svg +11 -0
  192. package/dist/svg/crosshair-filled.svg +3 -0
  193. package/dist/svg/crosshair-stroke.svg +7 -0
  194. package/dist/svg/database-filled.svg +6 -0
  195. package/dist/svg/database-stroke.svg +5 -0
  196. package/dist/svg/delete-filled.svg +3 -0
  197. package/dist/svg/delete-stroke.svg +12 -0
  198. package/dist/svg/discussion-filled.svg +4 -0
  199. package/dist/svg/discussion-stroke.svg +4 -0
  200. package/dist/svg/dollar-sign-filled.svg +6 -0
  201. package/dist/svg/dollar-sign-stroke.svg +4 -0
  202. package/dist/svg/door-filled.svg +3 -0
  203. package/dist/svg/door-stroke.svg +3 -0
  204. package/dist/svg/download-cloud-filled.svg +3 -0
  205. package/dist/svg/download-cloud-stroke.svg +12 -0
  206. package/dist/svg/download-filled.svg +3 -0
  207. package/dist/svg/download-stroke.svg +5 -0
  208. package/dist/svg/droplet-filled.svg +3 -0
  209. package/dist/svg/droplet-stroke.svg +3 -0
  210. package/dist/svg/dumbbell-filled.svg +3 -0
  211. package/dist/svg/dumbbell-stroke.svg +3 -0
  212. package/dist/svg/edit-2-filled.svg +3 -0
  213. package/dist/svg/edit-2-stroke.svg +3 -0
  214. package/dist/svg/edit-3-filled.svg +4 -0
  215. package/dist/svg/edit-3-stroke.svg +4 -0
  216. package/dist/svg/edit-filled.svg +3 -0
  217. package/dist/svg/edit-stroke.svg +3 -0
  218. package/dist/svg/emotion-filled.svg +3 -0
  219. package/dist/svg/emotion-stroke.svg +3 -0
  220. package/dist/svg/external-link-filled.svg +8 -0
  221. package/dist/svg/external-link-stroke.svg +5 -0
  222. package/dist/svg/eye-filled.svg +3 -0
  223. package/dist/svg/eye-off-filled.svg +10 -0
  224. package/dist/svg/eye-off-stroke.svg +11 -0
  225. package/dist/svg/eye-stroke.svg +4 -0
  226. package/dist/svg/facebook-filled.svg +3 -0
  227. package/dist/svg/facebook-stroke.svg +3 -0
  228. package/dist/svg/fast-forward-filled.svg +4 -0
  229. package/dist/svg/fast-forward-stroke.svg +4 -0
  230. package/dist/svg/feather-filled.svg +3 -0
  231. package/dist/svg/feather-stroke.svg +5 -0
  232. package/dist/svg/file-filled.svg +3 -0
  233. package/dist/svg/file-minus-filled.svg +3 -0
  234. package/dist/svg/file-minus-stroke.svg +5 -0
  235. package/dist/svg/file-plus-filled.svg +3 -0
  236. package/dist/svg/file-plus-stroke.svg +6 -0
  237. package/dist/svg/file-stroke.svg +4 -0
  238. package/dist/svg/file-text-filled.svg +3 -0
  239. package/dist/svg/file-text-stroke.svg +7 -0
  240. package/dist/svg/film-filled.svg +3 -0
  241. package/dist/svg/film-stroke.svg +10 -0
  242. package/dist/svg/filter-filled.svg +3 -0
  243. package/dist/svg/filter-stroke.svg +3 -0
  244. package/dist/svg/flag-filled.svg +4 -0
  245. package/dist/svg/flag-stroke.svg +4 -0
  246. package/dist/svg/folder-filled.svg +3 -0
  247. package/dist/svg/folder-minus-filled.svg +3 -0
  248. package/dist/svg/folder-minus-stroke.svg +4 -0
  249. package/dist/svg/folder-plus-filled.svg +3 -0
  250. package/dist/svg/folder-plus-stroke.svg +5 -0
  251. package/dist/svg/folder-stroke.svg +3 -0
  252. package/dist/svg/food-filled.svg +3 -0
  253. package/dist/svg/food-stroke.svg +3 -0
  254. package/dist/svg/forward-15-filled.svg +3 -0
  255. package/dist/svg/forward-15-stroke.svg +3 -0
  256. package/dist/svg/forward-30-filled.svg +3 -0
  257. package/dist/svg/forward-30-stroke.svg +3 -0
  258. package/dist/svg/gift-filled.svg +10 -0
  259. package/dist/svg/gift-stroke.svg +7 -0
  260. package/dist/svg/git-branch-filled.svg +3 -0
  261. package/dist/svg/git-branch-stroke.svg +6 -0
  262. package/dist/svg/git-commit-filled.svg +10 -0
  263. package/dist/svg/git-commit-stroke.svg +5 -0
  264. package/dist/svg/git-merge-filled.svg +3 -0
  265. package/dist/svg/git-merge-stroke.svg +5 -0
  266. package/dist/svg/git-pull-request-filled.svg +3 -0
  267. package/dist/svg/git-pull-request-stroke.svg +6 -0
  268. package/dist/svg/github-filled.svg +3 -0
  269. package/dist/svg/github-stroke.svg +10 -0
  270. package/dist/svg/gitlab-filled.svg +4 -0
  271. package/dist/svg/gitlab-stroke.svg +10 -0
  272. package/dist/svg/globe-filled.svg +3 -0
  273. package/dist/svg/globe-stroke.svg +5 -0
  274. package/dist/svg/grid-filled.svg +3 -0
  275. package/dist/svg/grid-stroke.svg +3 -0
  276. package/dist/svg/hard-drive-filled.svg +3 -0
  277. package/dist/svg/hard-drive-stroke.svg +4 -0
  278. package/dist/svg/hash-filled.svg +3 -0
  279. package/dist/svg/hash-stroke.svg +6 -0
  280. package/dist/svg/headphones-filled.svg +4 -0
  281. package/dist/svg/headphones-stroke.svg +4 -0
  282. package/dist/svg/heart-filled.svg +3 -0
  283. package/dist/svg/heart-stroke.svg +3 -0
  284. package/dist/svg/help-circle-filled.svg +3 -0
  285. package/dist/svg/help-circle-stroke.svg +5 -0
  286. package/dist/svg/home-filled.svg +3 -0
  287. package/dist/svg/home-stroke.svg +4 -0
  288. package/dist/svg/ico-spiritual-filled.svg +3 -0
  289. package/dist/svg/ico-spiritual-stroke.svg +12 -0
  290. package/dist/svg/idea light bulb-filled.svg +3 -0
  291. package/dist/svg/idea light bulb-stroke.svg +4 -0
  292. package/dist/svg/image-filled.svg +3 -0
  293. package/dist/svg/image-stroke.svg +5 -0
  294. package/dist/svg/inbox-filled.svg +3 -0
  295. package/dist/svg/inbox-stroke.svg +4 -0
  296. package/dist/svg/info-filled.svg +3 -0
  297. package/dist/svg/info-stroke.svg +5 -0
  298. package/dist/svg/instagram-filled.svg +3 -0
  299. package/dist/svg/instagram-stroke.svg +4 -0
  300. package/dist/svg/intercom icon-filled.svg +3 -0
  301. package/dist/svg/intercom icon-stroke.svg +3 -0
  302. package/dist/svg/italic-filled.svg +3 -0
  303. package/dist/svg/italic-stroke.svg +5 -0
  304. package/dist/svg/language-filled.svg +3 -0
  305. package/dist/svg/language-stroke.svg +3 -0
  306. package/dist/svg/layers-filled.svg +5 -0
  307. package/dist/svg/layers-stroke.svg +5 -0
  308. package/dist/svg/layout-filled.svg +3 -0
  309. package/dist/svg/layout-stroke.svg +5 -0
  310. package/dist/svg/life-buoy help-filled.svg +3 -0
  311. package/dist/svg/life-buoy help-stroke.svg +9 -0
  312. package/dist/svg/link-2-filled.svg +6 -0
  313. package/dist/svg/link-2-stroke.svg +4 -0
  314. package/dist/svg/link-filled.svg +5 -0
  315. package/dist/svg/link-stroke.svg +4 -0
  316. package/dist/svg/linkedin-filled.svg +5 -0
  317. package/dist/svg/linkedin-stroke.svg +5 -0
  318. package/dist/svg/list-filled.svg +3 -0
  319. package/dist/svg/list-stroke.svg +8 -0
  320. package/dist/svg/live support agent headset-filled.svg +3 -0
  321. package/dist/svg/live support agent headset-stroke.svg +3 -0
  322. package/dist/svg/loader-filled.svg +4 -0
  323. package/dist/svg/loader-stroke.svg +10 -0
  324. package/dist/svg/lock-filled.svg +3 -0
  325. package/dist/svg/lock-stroke.svg +4 -0
  326. package/dist/svg/log-in-filled.svg +5 -0
  327. package/dist/svg/log-in-stroke.svg +5 -0
  328. package/dist/svg/log-out-filled.svg +5 -0
  329. package/dist/svg/log-out-stroke.svg +5 -0
  330. package/dist/svg/mail-filled.svg +3 -0
  331. package/dist/svg/mail-stroke.svg +4 -0
  332. package/dist/svg/map-filled.svg +3 -0
  333. package/dist/svg/map-pin-filled.svg +3 -0
  334. package/dist/svg/map-pin-stroke.svg +4 -0
  335. package/dist/svg/map-stroke.svg +5 -0
  336. package/dist/svg/mask-filled.svg +3 -0
  337. package/dist/svg/mask-stroke.svg +3 -0
  338. package/dist/svg/maximize-2-filled.svg +10 -0
  339. package/dist/svg/maximize-2-stroke.svg +6 -0
  340. package/dist/svg/maximize-filled.svg +3 -0
  341. package/dist/svg/maximize-stroke.svg +3 -0
  342. package/dist/svg/meditation-filled.svg +5 -0
  343. package/dist/svg/meditation-stroke.svg +5 -0
  344. package/dist/svg/menu-filled.svg +3 -0
  345. package/dist/svg/menu-stroke.svg +5 -0
  346. package/dist/svg/message-circle-filled.svg +3 -0
  347. package/dist/svg/message-circle-stroke.svg +3 -0
  348. package/dist/svg/message-square-filled.svg +3 -0
  349. package/dist/svg/message-square-stroke.svg +3 -0
  350. package/dist/svg/mic-filled.svg +3 -0
  351. package/dist/svg/mic-off-filled.svg +10 -0
  352. package/dist/svg/mic-off-stroke.svg +10 -0
  353. package/dist/svg/mic-stroke.svg +6 -0
  354. package/dist/svg/minimize-2-filled.svg +10 -0
  355. package/dist/svg/minimize-2-stroke.svg +6 -0
  356. package/dist/svg/minimize-filled.svg +3 -0
  357. package/dist/svg/minimize-stroke.svg +3 -0
  358. package/dist/svg/minus-circle-filled.svg +3 -0
  359. package/dist/svg/minus-circle-stroke.svg +4 -0
  360. package/dist/svg/minus-filled.svg +3 -0
  361. package/dist/svg/minus-square-filled.svg +3 -0
  362. package/dist/svg/minus-square-stroke.svg +4 -0
  363. package/dist/svg/minus-stroke.svg +3 -0
  364. package/dist/svg/monitor-filled.svg +3 -0
  365. package/dist/svg/monitor-stroke.svg +5 -0
  366. package/dist/svg/moon-filled.svg +3 -0
  367. package/dist/svg/moon-stroke.svg +3 -0
  368. package/dist/svg/more-horizontal-filled.svg +3 -0
  369. package/dist/svg/more-horizontal-stroke.svg +5 -0
  370. package/dist/svg/more-vertical-filled.svg +3 -0
  371. package/dist/svg/more-vertical-stroke.svg +5 -0
  372. package/dist/svg/mountain-filled.svg +11 -0
  373. package/dist/svg/mountain-stroke.svg +4 -0
  374. package/dist/svg/move-filled.svg +14 -0
  375. package/dist/svg/move-stroke.svg +8 -0
  376. package/dist/svg/music-filled.svg +4 -0
  377. package/dist/svg/music-stroke.svg +4 -0
  378. package/dist/svg/navigation-2-filled.svg +3 -0
  379. package/dist/svg/navigation-2-stroke.svg +3 -0
  380. package/dist/svg/navigation-filled.svg +3 -0
  381. package/dist/svg/navigation-stroke.svg +3 -0
  382. package/dist/svg/notification bell-filled.svg +3 -0
  383. package/dist/svg/notification bell-off-filled.svg +10 -0
  384. package/dist/svg/notification bell-off-stroke.svg +5 -0
  385. package/dist/svg/notification bell-stroke.svg +4 -0
  386. package/dist/svg/octagon-filled.svg +3 -0
  387. package/dist/svg/octagon-stroke.svg +3 -0
  388. package/dist/svg/package-filled.svg +3 -0
  389. package/dist/svg/package-stroke.svg +6 -0
  390. package/dist/svg/paperclip-filled.svg +3 -0
  391. package/dist/svg/paperclip-stroke.svg +3 -0
  392. package/dist/svg/parenting-filled.svg +3 -0
  393. package/dist/svg/parenting-stroke.svg +3 -0
  394. package/dist/svg/past-filled.svg +3 -0
  395. package/dist/svg/past-replay-filled.svg +3 -0
  396. package/dist/svg/past-replay-stroke.svg +3 -0
  397. package/dist/svg/past-stroke.svg +3 -0
  398. package/dist/svg/pause-circle-filled.svg +3 -0
  399. package/dist/svg/pause-circle-stroke.svg +5 -0
  400. package/dist/svg/pause-filled.svg +4 -0
  401. package/dist/svg/pause-stroke.svg +4 -0
  402. package/dist/svg/percent-filled.svg +3 -0
  403. package/dist/svg/percent-stroke.svg +5 -0
  404. package/dist/svg/phone chat message sms-filled.svg +3 -0
  405. package/dist/svg/phone chat message sms-stroke.svg +12 -0
  406. package/dist/svg/phone-filled.svg +3 -0
  407. package/dist/svg/phone-status-filled-call.svg +10 -0
  408. package/dist/svg/phone-status-filled-forwarding.svg +4 -0
  409. package/dist/svg/phone-status-filled-incoming.svg +11 -0
  410. package/dist/svg/phone-status-filled-missed.svg +11 -0
  411. package/dist/svg/phone-status-filled-off.svg +3 -0
  412. package/dist/svg/phone-status-filled-outgoing.svg +4 -0
  413. package/dist/svg/phone-status-stroke-call.svg +10 -0
  414. package/dist/svg/phone-status-stroke-forwarding.svg +4 -0
  415. package/dist/svg/phone-status-stroke-incoming.svg +11 -0
  416. package/dist/svg/phone-status-stroke-missed.svg +11 -0
  417. package/dist/svg/phone-status-stroke-off.svg +11 -0
  418. package/dist/svg/phone-status-stroke-outgoing.svg +4 -0
  419. package/dist/svg/phone-stroke.svg +3 -0
  420. package/dist/svg/pie-chart-filled.svg +3 -0
  421. package/dist/svg/pie-chart-stroke.svg +4 -0
  422. package/dist/svg/pin-filled.svg +10 -0
  423. package/dist/svg/pin-stroke.svg +10 -0
  424. package/dist/svg/pip-filled.svg +3 -0
  425. package/dist/svg/pip-return-filled.svg +3 -0
  426. package/dist/svg/pip-return-stroke.svg +3 -0
  427. package/dist/svg/pip-stroke.svg +7 -0
  428. package/dist/svg/plane-departure-filled.svg +10 -0
  429. package/dist/svg/plane-departure-stroke.svg +10 -0
  430. package/dist/svg/plane-filled.svg +3 -0
  431. package/dist/svg/plane-stroke.svg +3 -0
  432. package/dist/svg/play-circle-filled.svg +3 -0
  433. package/dist/svg/play-circle-stroke.svg +4 -0
  434. package/dist/svg/play-filled.svg +3 -0
  435. package/dist/svg/play-stroke.svg +3 -0
  436. package/dist/svg/plug-filled.svg +3 -0
  437. package/dist/svg/plug-stroke.svg +3 -0
  438. package/dist/svg/plus-circle-filled.svg +3 -0
  439. package/dist/svg/plus-circle-stroke.svg +5 -0
  440. package/dist/svg/plus-filled.svg +3 -0
  441. package/dist/svg/plus-square-filled.svg +3 -0
  442. package/dist/svg/plus-square-stroke.svg +5 -0
  443. package/dist/svg/plus-stroke.svg +4 -0
  444. package/dist/svg/pocket-filled.svg +3 -0
  445. package/dist/svg/pocket-stroke.svg +4 -0
  446. package/dist/svg/post-filled.svg +3 -0
  447. package/dist/svg/post-stroke.svg +3 -0
  448. package/dist/svg/power-filled.svg +3 -0
  449. package/dist/svg/power-stroke.svg +4 -0
  450. package/dist/svg/printer-filled.svg +3 -0
  451. package/dist/svg/printer-stroke.svg +5 -0
  452. package/dist/svg/radio-button-selected 1.svg +4 -0
  453. package/dist/svg/radio-button-selected 2.svg +3 -0
  454. package/dist/svg/radio-button-unselected.svg +3 -0
  455. package/dist/svg/radio-filled.svg +3 -0
  456. package/dist/svg/radio-stroke.svg +4 -0
  457. package/dist/svg/read-receipt-filled.svg +3 -0
  458. package/dist/svg/read-receipt-stroke.svg +3 -0
  459. package/dist/svg/refresh-ccw-filled.svg +12 -0
  460. package/dist/svg/refresh-ccw-stroke.svg +12 -0
  461. package/dist/svg/refresh-cw-filled.svg +15 -0
  462. package/dist/svg/refresh-cw-stroke.svg +12 -0
  463. package/dist/svg/repeat-filled.svg +17 -0
  464. package/dist/svg/repeat-stroke.svg +13 -0
  465. package/dist/svg/rewind-15-filled.svg +3 -0
  466. package/dist/svg/rewind-15-stroke.svg +3 -0
  467. package/dist/svg/rewind-30-filled.svg +3 -0
  468. package/dist/svg/rewind-30-stroke.svg +3 -0
  469. package/dist/svg/rewind-filled.svg +4 -0
  470. package/dist/svg/rewind-stroke.svg +4 -0
  471. package/dist/svg/rotate-ccw-filled.svg +11 -0
  472. package/dist/svg/rotate-ccw-stroke.svg +11 -0
  473. package/dist/svg/rotate-cw-filled.svg +11 -0
  474. package/dist/svg/rotate-cw-stroke.svg +11 -0
  475. package/dist/svg/rss-filled.svg +3 -0
  476. package/dist/svg/rss-stroke.svg +5 -0
  477. package/dist/svg/run-filled.svg +3 -0
  478. package/dist/svg/run-stroke.svg +4 -0
  479. package/dist/svg/save-filled.svg +3 -0
  480. package/dist/svg/save-stroke.svg +5 -0
  481. package/dist/svg/scissors-filled.svg +3 -0
  482. package/dist/svg/scissors-stroke.svg +7 -0
  483. package/dist/svg/search-filled.svg +3 -0
  484. package/dist/svg/search-stroke.svg +4 -0
  485. package/dist/svg/send-filled.svg +3 -0
  486. package/dist/svg/send-stroke.svg +4 -0
  487. package/dist/svg/server-filled.svg +4 -0
  488. package/dist/svg/server-stroke.svg +4 -0
  489. package/dist/svg/server-style3.svg +4 -0
  490. package/dist/svg/settings-filled.svg +3 -0
  491. package/dist/svg/settings-stroke.svg +4 -0
  492. package/dist/svg/share-2-filled.svg +7 -0
  493. package/dist/svg/share-2-stroke.svg +7 -0
  494. package/dist/svg/share-filled.svg +5 -0
  495. package/dist/svg/share-stroke.svg +5 -0
  496. package/dist/svg/shield-filled.svg +3 -0
  497. package/dist/svg/shield-off-filled.svg +10 -0
  498. package/dist/svg/shield-off-stroke.svg +12 -0
  499. package/dist/svg/shield-stroke.svg +3 -0
  500. package/dist/svg/shopping-bag-filled.svg +3 -0
  501. package/dist/svg/shopping-bag-stroke.svg +5 -0
  502. package/dist/svg/shopping-cart-filled.svg +10 -0
  503. package/dist/svg/shopping-cart-stroke.svg +12 -0
  504. package/dist/svg/shuffle-filled.svg +12 -0
  505. package/dist/svg/shuffle-stroke.svg +7 -0
  506. package/dist/svg/sidebar-filled.svg +3 -0
  507. package/dist/svg/sidebar-stroke.svg +4 -0
  508. package/dist/svg/skip-back-filled.svg +4 -0
  509. package/dist/svg/skip-back-stroke.svg +4 -0
  510. package/dist/svg/skip-forward-filled.svg +4 -0
  511. package/dist/svg/skip-forward-stroke.svg +4 -0
  512. package/dist/svg/slack-filled.svg +10 -0
  513. package/dist/svg/slack-stroke.svg +14 -0
  514. package/dist/svg/slash-filled.svg +3 -0
  515. package/dist/svg/slash-stroke.svg +4 -0
  516. package/dist/svg/sliders-filled.svg +3 -0
  517. package/dist/svg/sliders-stroke.svg +11 -0
  518. package/dist/svg/smartphone-filled.svg +3 -0
  519. package/dist/svg/smartphone-stroke.svg +4 -0
  520. package/dist/svg/speaker-filled.svg +3 -0
  521. package/dist/svg/speaker-stroke.svg +4 -0
  522. package/dist/svg/star-filled.svg +3 -0
  523. package/dist/svg/star-stroke.svg +3 -0
  524. package/dist/svg/sun-filled.svg +3 -0
  525. package/dist/svg/sun-stroke.svg +11 -0
  526. package/dist/svg/sunrise-filled.svg +10 -0
  527. package/dist/svg/sunrise-stroke.svg +10 -0
  528. package/dist/svg/sunset-filled.svg +10 -0
  529. package/dist/svg/sunset-stroke.svg +10 -0
  530. package/dist/svg/table-filled.svg +3 -0
  531. package/dist/svg/table-stroke.svg +3 -0
  532. package/dist/svg/tablet-filled.svg +3 -0
  533. package/dist/svg/tablet-stroke.svg +4 -0
  534. package/dist/svg/tag-filled.svg +3 -0
  535. package/dist/svg/tag-stroke.svg +3 -0
  536. package/dist/svg/target-filled.svg +3 -0
  537. package/dist/svg/target-stroke.svg +5 -0
  538. package/dist/svg/terminal-filled.svg +3 -0
  539. package/dist/svg/terminal-stroke.svg +4 -0
  540. package/dist/svg/thermometer-filled.svg +10 -0
  541. package/dist/svg/thermometer-stroke.svg +10 -0
  542. package/dist/svg/thumbs-down-filled.svg +3 -0
  543. package/dist/svg/thumbs-down-stroke.svg +3 -0
  544. package/dist/svg/thumbs-up-filled.svg +3 -0
  545. package/dist/svg/thumbs-up-stroke.svg +3 -0
  546. package/dist/svg/ticket-filled.svg +3 -0
  547. package/dist/svg/ticket-stroke.svg +3 -0
  548. package/dist/svg/toggle-left-filled.svg +3 -0
  549. package/dist/svg/toggle-left-stroke.svg +4 -0
  550. package/dist/svg/toggle-right-filled.svg +3 -0
  551. package/dist/svg/toggle-right-stroke.svg +4 -0
  552. package/dist/svg/trash-2-filled.svg +3 -0
  553. package/dist/svg/trash-2-stroke.svg +6 -0
  554. package/dist/svg/trash-filled.svg +4 -0
  555. package/dist/svg/trash-stroke.svg +4 -0
  556. package/dist/svg/trending-down-filled.svg +5 -0
  557. package/dist/svg/trending-down-stroke.svg +11 -0
  558. package/dist/svg/trending-up-filled.svg +5 -0
  559. package/dist/svg/trending-up-stroke.svg +11 -0
  560. package/dist/svg/triangle-filled.svg +3 -0
  561. package/dist/svg/triangle-stroke.svg +3 -0
  562. package/dist/svg/truck-filled.svg +3 -0
  563. package/dist/svg/truck-stroke.svg +6 -0
  564. package/dist/svg/tv-filled.svg +4 -0
  565. package/dist/svg/tv-stroke.svg +4 -0
  566. package/dist/svg/twitter-filled.svg +10 -0
  567. package/dist/svg/twitter-stroke.svg +10 -0
  568. package/dist/svg/type-filled.svg +3 -0
  569. package/dist/svg/type-stroke.svg +5 -0
  570. package/dist/svg/umbrella-filled.svg +10 -0
  571. package/dist/svg/umbrella-stroke.svg +10 -0
  572. package/dist/svg/underline-filled.svg +3 -0
  573. package/dist/svg/underline-stroke.svg +4 -0
  574. package/dist/svg/unlock-filled.svg +4 -0
  575. package/dist/svg/unlock-stroke.svg +4 -0
  576. package/dist/svg/upload-cloud-filled.svg +6 -0
  577. package/dist/svg/upload-cloud-stroke.svg +13 -0
  578. package/dist/svg/upload-filled.svg +5 -0
  579. package/dist/svg/upload-stroke.svg +5 -0
  580. package/dist/svg/user-check-filled.svg +10 -0
  581. package/dist/svg/user-check-stroke.svg +5 -0
  582. package/dist/svg/user-filled.svg +3 -0
  583. package/dist/svg/user-minus-filled.svg +3 -0
  584. package/dist/svg/user-minus-stroke.svg +5 -0
  585. package/dist/svg/user-plus-filled.svg +3 -0
  586. package/dist/svg/user-plus-stroke.svg +6 -0
  587. package/dist/svg/user-stroke.svg +4 -0
  588. package/dist/svg/user-time-filled.svg +5 -0
  589. package/dist/svg/user-time-stroke.svg +3 -0
  590. package/dist/svg/user-x-filled.svg +10 -0
  591. package/dist/svg/user-x-stroke.svg +6 -0
  592. package/dist/svg/users-filled.svg +3 -0
  593. package/dist/svg/users-stroke.svg +6 -0
  594. package/dist/svg/video-filled.svg +3 -0
  595. package/dist/svg/video-off-filled.svg +10 -0
  596. package/dist/svg/video-off-stroke.svg +11 -0
  597. package/dist/svg/video-stroke.svg +4 -0
  598. package/dist/svg/voicemail-filled.svg +3 -0
  599. package/dist/svg/voicemail-stroke.svg +5 -0
  600. package/dist/svg/volume-1-filled.svg +3 -0
  601. package/dist/svg/volume-1-stroke.svg +4 -0
  602. package/dist/svg/volume-2-filled.svg +3 -0
  603. package/dist/svg/volume-2-stroke.svg +4 -0
  604. package/dist/svg/volume-filled.svg +3 -0
  605. package/dist/svg/volume-stroke.svg +3 -0
  606. package/dist/svg/volume-x-filled.svg +5 -0
  607. package/dist/svg/volume-x-stroke.svg +5 -0
  608. package/dist/svg/watch-filled.svg +3 -0
  609. package/dist/svg/watch-stroke.svg +4 -0
  610. package/dist/svg/water-glass-filled.svg +3 -0
  611. package/dist/svg/water-glass-stroke.svg +3 -0
  612. package/dist/svg/wifi-filled.svg +3 -0
  613. package/dist/svg/wifi-off-filled.svg +10 -0
  614. package/dist/svg/wifi-off-stroke.svg +16 -0
  615. package/dist/svg/wifi-stroke.svg +6 -0
  616. package/dist/svg/wind-filled.svg +4 -0
  617. package/dist/svg/wind-stroke.svg +3 -0
  618. package/dist/svg/x-circle-filled.svg +3 -0
  619. package/dist/svg/x-circle-stroke.svg +5 -0
  620. package/dist/svg/x-filled.svg +3 -0
  621. package/dist/svg/x-stroke.svg +4 -0
  622. package/dist/svg/youtube-filled.svg +10 -0
  623. package/dist/svg/youtube-stroke.svg +11 -0
  624. package/dist/svg/zap-filled.svg +3 -0
  625. package/dist/svg/zap-off-filled.svg +10 -0
  626. package/dist/svg/zap-off-stroke.svg +13 -0
  627. package/dist/svg/zap-stroke.svg +3 -0
  628. package/dist/svg/zoom-in-filled.svg +3 -0
  629. package/dist/svg/zoom-in-stroke.svg +6 -0
  630. package/dist/svg/zoom-out-filled.svg +3 -0
  631. package/dist/svg/zoom-out-stroke.svg +5 -0
  632. package/dist/svg-sprite/svg-defs.svg +1 -0
  633. package/docs/CONTRIBUTION.md +29 -25
  634. package/docs/RELEASING.md +10 -10
  635. package/docs/USAGE.md +4 -5
  636. package/package.json +15 -6
  637. package/.github/workflows/release.yml +0 -29
  638. package/.tool-versions +0 -1
  639. package/__tests__/utilities/transforms.test.js +0 -24
  640. package/babel.config.js +0 -4
  641. package/build.js +0 -18
  642. package/config.json +0 -22
  643. package/src/build/js/colors.js +0 -62
  644. package/src/index.js +0 -1
  645. package/src/properties/color-token.json +0 -169
  646. package/src/utilities/transformGroups.js +0 -17
  647. package/src/utilities/transforms.js +0 -25
  648. package/webpack.config.js +0 -34
@@ -1,31 +1,35 @@
1
1
  ## 🤝 Contributing [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
2
2
  Before you get your hands dirty, let's first understand how the repo works and its structure. We are going to look at:
3
- * What happens in the repo and its inputs and outputs: Jump to [token tranformation](#token-transformation-process)
4
- * How the repo is structured and its core parts: see [Directory structure](#directory-structure)
3
+ * What happens in the repo and its inputs and outputs: Jump to [Token transformation](#-token-transformation-process)
4
+ * How the repo is structured and its core parts: See [Directory structure](#-directory-structure)
5
5
 
6
6
  #### 🏭 Token transformation process
7
7
  Token transformation on a high level involves the four steps illustrated below:
8
8
 
9
- ![token transformation](https://assets.mindvalley.com/api/v1/assets/0be7cc6d-081a-4b13-a59d-d80997922f8b.png)
9
+ ![token transformation](https://assets.mindvalley.com/api/v1/assets/7502f91d-8638-4940-a96f-a66386041a75.png)
10
10
 
11
11
  ##### 1. The design tokens:
12
- The token designs are the starting point of the design tokens. This step is how the design tokens get into the repo. For example, If there are changes in the Figma design system to the value of a color, then this would be where we would need to update the token. For simplicity, it is just a directory with some design tokens in a JSON file. More details in the [`src/properties`](#srcproperties) directory documentation.
12
+ This is the starting point of the design token transformation process. This step is how the design tokens get into the repo. For example, If there are changes in the Figma design system to the value of a color, then this would be where we would need to update the token. For simplicity, it is just a directory with some design tokens in a JSON file. More details in the [`src/properties`](#srcproperties) directory documentation.
13
13
 
14
14
  ##### 2. Parsing and transformation:
15
- Using [style-dictonary](https://amzn.github.io/style-dictionary/#/version_3), the design tokens from 1 above are parsed, merged, and transformed into desired formats. The output is a `.js` file. The output is configurable and can be extented to `.css`, `.scss`, `.less` files etc. in the future. See all [possible output file formats](https://amzn.github.io/style-dictionary/#/formats).
15
+ Using [style-dictonary](https://amzn.github.io/style-dictionary/#/version_3), the design tokens from (1) above are parsed, merged, and transformed into desired formats. The output is a `.js` file. The output is configurable and can be extented to `.css`, `.scss`, `.less` files etc. in the future. See [all possible output file formats](https://amzn.github.io/style-dictionary/#/formats).
16
16
  The output of this step ends up in the [`src/build/`](#srcbuild) directory.
17
- *Parsing and tranformation can be triggered by running:*
17
+ Parsing and transformation can be triggered by running:
18
18
 
19
- npm run styledictonary:build
19
+ ```
20
+ npm run styledictonary:build
21
+ ```
20
22
 
21
23
  ##### 3. Bundling:
22
- Bundling is done using [webpack](https://webpack.js.org/concepts) to ensure the resulant files work across browser and server environments. The files from step 2 are bundled and output to the [/dist](#dist) directory.
24
+ Bundling is done using [webpack](https://webpack.js.org/concepts) to ensure the resultant files work across browser and server environments. The files from step 2 are bundled and output to the [/dist](#dist) directory.
23
25
  Bundling can be invoked by running:
24
26
 
25
- npm run build
27
+ ```
28
+ npm run build
29
+ ```
26
30
 
27
31
  ##### 4. Publishing:
28
- The last in the process is releasing and publishing the bundled files. This step is automated and runs on CI ensuring that changes made are tested, versioned and comprehensively documented. All this is done with the help of [semantic release](https://semantic-release.gitbook.io/semantic-release/). Read more about the [release process](RELEASING.md#releasing-🚀).
32
+ The last in the process is releasing and publishing the bundled files. This step is automated and runs on CI, ensuring that changes made are tested, versioned, and comprehensively documented. All this is done with the help of [semantic release](https://semantic-release.gitbook.io/semantic-release/). Read more about the [release process](RELEASING.md#releasing-🚀).
29
33
  The end package is published to NPM where it can be installed from.
30
34
 
31
35
  #### 🗂 Directory structure
@@ -64,21 +68,21 @@ Let's look at some important directories.
64
68
  ```
65
69
  ###### src/properties/
66
70
  This is the source of the design tokens. For now, we have the tokens checked in as JSON files.
67
- The process of updating the payload is manual implying that when there are changes in the tokens, one must copy the new design tokens found in the [mindvalley brand guideline](https://brand.mindvalley.com/2510b1b9c/p/317a4d-design-tokens/b/07a415) under design tokens 2.0 and overwrite the older files in this directory.
71
+ The process of updating the payload is manual, implying that when there are changes in the tokens, one must copy the new design tokens found in the [Mindvalley Brand Guideline](https://brand.mindvalley.com/2510b1b9c/p/317a4d-design-tokens/b/07a415) under design tokens 2.0, and overwrite the older files in this directory.
68
72
 
69
- *Yes its a manual step for now, automation will follow later.*
73
+ *Yes, it's a manual step for now, automation will follow later.*
70
74
 
71
75
  ###### src/build/
72
- This is the output of the design token transformation process. **Do not manually edit** the contents of this folder as they are the output of running the [bundling step](#).
76
+ This is the output of the design token transformation process. **DO NOT** manually edit the contents of this folder as they are the output of running the [bundling step](#3-bundling).
73
77
 
74
78
  ###### src/utilities
75
- Holds the custom [transformations](https://amzn.github.io/style-dictionary/#/transforms) and [transformation groups](https://amzn.github.io/style-dictionary/#/transform_groups) which in a nutshell are how we transform the json files the `src/properties/` directory into the desired output file format in `src/build/`
79
+ Holds the custom [transformations](https://amzn.github.io/style-dictionary/#/transforms) and [transformation groups](https://amzn.github.io/style-dictionary/#/transform_groups) which in a nutshell, are how we transform the json files in the `src/properties/` directory into the desired output file format in the `src/build/` directory.
76
80
 
77
81
  ###### dist
78
- Its the output directy of the webpack build process and is not checked in for versioning.
82
+ It's the output directory of the Webpack build process and is not checked in for versioning.
79
83
 
80
84
  ###### test
81
- For test because code that cannot be tested is flawed 🤷🏽‍♂️.
85
+ For tests, because code that cannot be tested is flawed. 🤷🏽‍♂️
82
86
 
83
87
  #### ⌨️ Start development
84
88
  To get started with development, start by cloning the mv-design-system repo.
@@ -97,30 +101,30 @@ This repo uses `npm` as the package manager
97
101
  ##### Making commits
98
102
 
99
103
  After making changes, stage your changes by issuing the standard `git add <filename>`, or however you stage your files.
100
- For commits, we leverage the power of conventional commits using commitizen.
104
+ For commits, we leverage the power of conventional commits using [Commitizen](https://github.com/commitizen/cz-cli).
101
105
 
102
- **Why use conventional commits?** To enable automation of releases, semantic versioning and release notes auto-generation.
106
+ **Why use conventional commits?** To enable automation of releases, semantic versioning, and release notes auto-generation.
103
107
 
104
108
  To make a commit, run the command below:
105
109
  ```
106
110
  npm run commit
107
111
  ```
108
112
 
109
- This will trigger a command line interface and all you have to do is answer the prompted questions which includes a JIRA ticket ID number.
113
+ This will trigger a command line interface and all you have to do is answer the prompted questions which includes a Jira ticket ID number.
110
114
 
111
115
  ![Commitizen prompt](https://assets.mindvalley.com/api/v1/assets/540d2b05-7953-4505-abfe-181c2a212566.png)
112
116
 
113
- If your branch name has a Jira ticket id already included then the prompt automatically extracts it
117
+ If your branch name has a Jira ticket ID already included, then the prompt automatically extracts it.
114
118
 
115
- Though using `npm run commit` is highly recommended for this repo, you can alternatively write your commit without the commitzen helper by ensuring you
119
+ Though using `npm run commit` is highly recommended for this repo, you can alternatively write your commit without the Commitizen helper by ensuring you
116
120
  follow the conventional commits conventions.
117
121
  ```
118
122
  type(scope): commit-message
119
123
 
120
- JIRA-Issue-ID
124
+ Jira-Issue-ID
121
125
  ```
122
126
 
123
- The commits types have to be one of:
127
+ The commit type has to be one of:
124
128
  - `feat`: A new feature
125
129
  - `fix`: A bug fix
126
130
  - `docs`: Documentation only changes
@@ -143,7 +147,7 @@ MVHOME-765
143
147
 
144
148
  Once your commits are done, you can do a normal push to remote.
145
149
 
146
- Read more on [commit conventions](https://www.conventionalcommits.org/en/v1.0.0-beta.4/)
150
+ Read more on [commit conventions](https://www.conventionalcommits.org/en/v1.0.0-beta.4/).
147
151
  ##### Branch naming
148
152
 
149
153
  Branch names start with the Jira ticket ID eg.
@@ -174,4 +178,4 @@ npm run build
174
178
 
175
179
  You can test it out on your development environment to see the output.
176
180
 
177
- Once your changes are made and merged, they'll need to be published. See how that is done in the [release guide](RELEASING.md#releasing-🚀)
181
+ Once your changes are made and merged, they'll need to be published. See how that is done in the [release guide](RELEASING.md#releasing-🚀).
package/docs/RELEASING.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Releasing 🚀
2
2
 
3
- By default semantic-release uses the [Angular Commit Message Conventions](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) and triggers releases based on the following rules:
3
+ By default, semantic-release uses the [Angular Commit Message Conventions](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) and triggers releases based on the following rules:
4
4
 
5
5
  | Commit | Release Type | Semver update type |
6
6
  |-----------------------------|------------------|----------------------------------|
@@ -11,20 +11,20 @@ By default semantic-release uses the [Angular Commit Message Conventions](https:
11
11
 
12
12
  Only the above type of commits will trigger a release.
13
13
 
14
- On merging to the main branch, several things will happen
15
- 1. Semantic release will start by analyzing the commit messages of the merged changes based on the commit messages
16
- 2. Determine what kind release it is bases on the above table.
14
+ On merging to the main branch, several things will happen:
15
+ 1. Semantic release will start by analyzing the commit messages of the merged changes based on the commit messages.
16
+ 2. Determine what kind of release it is based on the table above.
17
17
  3. Generate a changelog for the new changes and generate the new package version number.
18
- 4. There after a git release will be prepared and pushed to the repo together with the Changelog and package.json version update.
18
+ 4. Thereafter a git release will be prepared and pushed to the repo together with the Changelog and package.json version update.
19
19
  5. The new package is then published to npm.
20
20
 
21
- More detailed explanation can be found on the [semantic release steps documentation](https://semantic-release.gitbook.io/semantic-release/#release-steps)
21
+ More detailed explanation can be found on the [semantic release steps documentation](https://semantic-release.gitbook.io/semantic-release/#release-steps).
22
22
 
23
- After release and publishing, the package should be available as a [scoped npm package](https://docs.npmjs.com/creating-and-publishing-scoped-public-packages) and is on npm as [@mindvalley/design-system](https://www.npmjs.com/package/@mindvalley/design-system)
23
+ After release and publishing, the package should be available as a [scoped npm package](https://docs.npmjs.com/creating-and-publishing-scoped-public-packages) and is on npm as [@mindvalley/design-system](https://www.npmjs.com/package/@mindvalley/design-system).
24
24
 
25
- Jump to [usage]() to understand how to use the published package in your repo. ddd
25
+ Jump to the [usage guide](USAGE.md) to understand how to use the published package in your repo.
26
26
 
27
27
  ##### 💡 Note:
28
28
  The above steps should all happen with no human intervention.
29
- However, for now, the steps 1 - 5 do happen on the CI/CD pipeline but due to some github permissions the automation has errors on steps 4 and 5 meaning the release, semantic versioning and npm publishing does not work automatically.
30
- For that reason. The releases will be manual for the time being as the permissions get settled with the infra team.
29
+ However, for now, the steps 1 - 5 do happen on the CI/CD pipeline, but due to some issues with GitHub permissions, the automation has errors on steps 4 and 5, which means the release, semantic versioning, and npm publishing does not work automatically.
30
+ For that reason, the releases will be manual for the time being, as the permissions get settled with the Infra Team.
package/docs/USAGE.md CHANGED
@@ -1,8 +1,7 @@
1
1
  ## Installation
2
2
 
3
3
  #### Using npm or yarn
4
- We recommend using npm or yarn to install. It not only makes development more straightforward but also allows you
5
- to take advantage of the rich ecosystem of Javascript packages and tooling.
4
+ We recommend using either npm or yarn to install, as per your own preference.
6
5
 
7
6
  ```
8
7
  $ npm install @mindvalley/design-system
@@ -32,7 +31,7 @@ To use the colors from the design system there are two options.
32
31
  ###### 1. TailwindCSS
33
32
  If you use TailwindCSS in your project, using the colors is a simple two-step process:
34
33
 
35
- 1. Install the designs system see [installation](#using-npm-or-yarn).
34
+ 1. Install the design system. See [installation](#using-npm-or-yarn).
36
35
  2. Use the [commonJS syntax](#commonjs-syntax) to include the colors and extend your `tailwind.config.js`.
37
36
 
38
37
  *Example tailwind.config.js*
@@ -52,8 +51,8 @@ If you use TailwindCSS in your project, using the colors is a simple two-step pr
52
51
  If you'd like other custom names, you can make [tailwindcss color customizations](https://tailwindcss.com/docs/customizing-colors#using-the-default-colors) to the provided values and use them in your code.
53
52
 
54
53
  ###### 2. Using CSS-in-JS
55
- 1. Install the designs system see [installation](#using-npm-or-yarn).
56
- 2. Use the [ES module](#es-module-syntax) syntax to import your module and include it your code.
54
+ 1. Install the design system. See [installation](#using-npm-or-yarn).
55
+ 2. Use the [ES module](#es-module-syntax) syntax to import your module and include it in your code.
57
56
 
58
57
  *Sample usage in a react app*
59
58
  ```Javascript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindvalley/design-system",
3
- "version": "0.0.1-development",
3
+ "version": "1.0.0",
4
4
  "description": "Resources, components, design guidelines and tooling for Mindvalley's design system",
5
5
  "keywords": [
6
6
  "design-system",
@@ -19,8 +19,12 @@
19
19
  "license": "MIT",
20
20
  "author": "Mindvalley Developers and Designers",
21
21
  "main": "dist/index.js",
22
+ "files": [
23
+ "dist",
24
+ "docs"
25
+ ],
22
26
  "scripts": {
23
- "build": "webpack --mode production",
27
+ "build": "npm run styledictonary:build && webpack --mode production",
24
28
  "commit": "cz",
25
29
  "commitmsg": "validate-commit-msg",
26
30
  "semantic-release": "semantic-release",
@@ -64,22 +68,27 @@
64
68
  "devDependencies": {
65
69
  "@babel/core": "^7.14.0",
66
70
  "@babel/preset-env": "^7.14.1",
67
- "@semantic-release/git": "^9.0.0",
71
+ "@semantic-release/git": "^10.0.1",
68
72
  "babel-jest": "^26.6.3",
69
73
  "babel-loader": "^8.2.2",
70
74
  "commitizen": "^4.2.3",
75
+ "copy-webpack-plugin": "^11.0.0",
71
76
  "cz-conventional-changelog-with-jiraid-detection": "^1.0.3",
72
77
  "husky": "^6.0.0",
73
78
  "jest": "^26.6.3",
74
79
  "lodash": "^4.17.21",
75
- "semantic-release": "^17.4.2",
80
+ "semantic-release": "^19.0.2",
76
81
  "style-dictionary": "^3.0.0-rc.9",
77
- "validate-commit-msg": "^2.14.0",
82
+ "validate-commit-msg": "^1.1.3",
78
83
  "webpack": "^5.36.2",
79
84
  "webpack-cli": "^4.6.0"
80
85
  },
81
86
  "engines": {
82
- "node": ">=15.4.0"
87
+ "node": ">=16.8.0"
88
+ },
89
+ "publishConfig": {
90
+ "access": "public",
91
+ "registry": "https://registry.npmjs.org/"
83
92
  },
84
93
  "release": {
85
94
  "branches": [
@@ -1,29 +0,0 @@
1
- name: Release
2
- on:
3
- push:
4
- branches:
5
- - main
6
- jobs:
7
- release:
8
- name: Release
9
- runs-on: ubuntu-latest
10
- steps:
11
- - name: Checkout
12
- uses: actions/checkout@v2
13
- with:
14
- fetch-depth: 0
15
- - name: Setup Node.js
16
- uses: actions/setup-node@v1
17
- with:
18
- node-version: 15.14.0
19
- - name: Install dependencies
20
- run: npm ci
21
- - name: Run tests
22
- run: npm run test
23
- - name: Build the publishable bundle
24
- run: npm run build
25
- - name: Release
26
- env:
27
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
29
- run: npx semantic-release
package/.tool-versions DELETED
@@ -1 +0,0 @@
1
- nodejs 15.14.0
@@ -1,24 +0,0 @@
1
- let transforms = require('../../src/utilities/transforms');
2
-
3
- describe('transforms', () => {
4
- describe('name/ti/kebab', () => {
5
- it('should handle prefix', () => {
6
- expect(transforms["name/ti/kebab"].transformer(
7
- {
8
- path: ['one', 'two', 'three']
9
- }, {
10
- prefix: 'prefix'
11
- }
12
- )).toBe('prefix-two-three');
13
- });
14
-
15
- it('should handle no prefix', () => {
16
- expect(transforms["name/ti/kebab"].transformer(
17
- {
18
- path: ['one', 'two', 'three']
19
- }, {
20
- }
21
- )).toBe('two-three');
22
- });
23
- });
24
- });
package/babel.config.js DELETED
@@ -1,4 +0,0 @@
1
- // babel.config.js
2
- module.exports = {
3
- presets: [['@babel/preset-env', {targets: {node: 'current'}}]],
4
- };
package/build.js DELETED
@@ -1,18 +0,0 @@
1
- const StyleDictionary = require('style-dictionary').extend(__dirname + '/config.json');
2
- const transforms = require('./src/utilities/transforms');
3
- const transformGroups = require('./src/utilities/transformGroups');
4
-
5
- console.log('Build started...');
6
- console.log('\n==============================================');
7
-
8
- StyleDictionary.registerTransform(transforms['name/ti/kebab']);
9
- StyleDictionary.registerTransformGroup(transformGroups['js-ti']);
10
-
11
- // First, remove all files from any previous builds
12
- StyleDictionary.cleanAllPlatforms();
13
-
14
- // Finally, build all platform files
15
- StyleDictionary.buildAllPlatforms();
16
-
17
- console.log('\n==============================================');
18
- console.log('\nBuild completed!');
package/config.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "source": [
3
- "src/properties/**/*.json"
4
- ],
5
- "platforms": {
6
- "js": {
7
- "transformGroup": "js-ti",
8
- "buildPath": "src/build/js/",
9
- "files": [
10
- {
11
- "format": "javascript/module-flat",
12
- "destination": "colors.js",
13
- "filter": {
14
- "attributes": {
15
- "category": "color"
16
- }
17
- }
18
- }
19
- ]
20
- }
21
- }
22
- }
@@ -1,62 +0,0 @@
1
- /**
2
- * Do not edit directly
3
- * Generated on Fri, 07 May 2021 03:42:35 GMT
4
- */
5
-
6
- module.exports = {
7
- "aqua": "#2cb3ff",
8
- "blue": "#005cff",
9
- "blue-wave": "#0066ff",
10
- "brand-blue": "#003fff",
11
- "brand-purple": "#9400ff",
12
- "brand-wave": "#003fff",
13
- "charleston-green": "#24272e",
14
- "dark-aqua": "#1b9ce6",
15
- "dark-green": "#159f65",
16
- "dark-lilac": "#a279dd",
17
- "dark-orange": "#ed6325",
18
- "dark-pink": "#df1a6f",
19
- "dark-red": "#df241e",
20
- "dark-teal": "#28a597",
21
- "dark-yellow": "#e8ad11",
22
- "green": "#02c875",
23
- "lilac": "#bf97f9",
24
- "orange": "#ff7131",
25
- "pink": "#ff006e",
26
- "red": "#f8251e",
27
- "teal": "#16ceb9",
28
- "yellow": "#fdca40",
29
- "black": "#000000",
30
- "cool-grey-100": "#f9f9f9",
31
- "cool-grey-150": "#f3f4f6",
32
- "cool-grey-200": "#ebedef",
33
- "cool-grey-250": "#dfe1e5",
34
- "cool-grey-300": "#ced1d7",
35
- "cool-grey-350": "#b3b8c1",
36
- "cool-grey-400": "#979ca5",
37
- "cool-grey-450": "#71767f",
38
- "cool-grey-500": "#595e67",
39
- "cool-grey-550": "#41464f",
40
- "cool-grey-600": "#292d38",
41
- "cool-grey-650": "#181d26",
42
- "cool-grey-700": "#0f131a",
43
- "white": "#ffffff",
44
- "warm-grey-100": "#fafafa",
45
- "warm-grey-150": "#f5f5f5",
46
- "warm-grey-200": "#ebebeb",
47
- "warm-grey-250": "#d6d6d6",
48
- "warm-grey-300": "#c2c2c2",
49
- "warm-grey-350": "#b3b3b3",
50
- "warm-grey-400": "#999999",
51
- "warm-grey-450": "#808080",
52
- "warm-grey-500": "#666666",
53
- "warm-grey-550": "#4d4d4d",
54
- "warm-grey-600": "#333333",
55
- "warm-grey-650": "#242424",
56
- "warm-grey-700": "#1a1a1a",
57
- "cyan": "#00f2f2",
58
- "lemon": "#fff000",
59
- "lime": "#bced09",
60
- "magenta": "#fb03ff",
61
- "rose": "#ff68a8"
62
- };
package/src/index.js DELETED
@@ -1 +0,0 @@
1
- export * as colors from "./build/js/colors";
@@ -1,169 +0,0 @@
1
- {
2
- "color": {
3
- "Aqua": {
4
- "value": "#2cb3ff"
5
- },
6
- "Blue": {
7
- "value": "#005cff"
8
- },
9
- "Blue Wave": {
10
- "value": " linear-gradient(rgba(0, 102, 255, 1.0) 0%, rgba(0, 63, 255, 1.0) 100%)"
11
- },
12
- "Brand Blue": {
13
- "value": "#003fff"
14
- },
15
- "Brand Purple": {
16
- "value": "#9400ff"
17
- },
18
- "Brand Wave": {
19
- "value": " linear-gradient(rgba(0, 63, 255, 1.0) 0%, rgba(251, 3, 255, 1.0) 100%)"
20
- },
21
- "Charleston Green": {
22
- "value": "#24272e"
23
- },
24
- "Dark Aqua": {
25
- "value": "#1b9ce6"
26
- },
27
- "Dark Green": {
28
- "value": "#159f65"
29
- },
30
- "Dark Lilac": {
31
- "value": "#a279dd"
32
- },
33
- "Dark Orange": {
34
- "value": "#ed6325"
35
- },
36
- "Dark Pink": {
37
- "value": "#df1a6f"
38
- },
39
- "Dark Red": {
40
- "value": "#df241e"
41
- },
42
- "Dark Teal": {
43
- "value": "#28a597"
44
- },
45
- "Dark Yellow": {
46
- "value": "#e8ad11"
47
- },
48
- "Green": {
49
- "value": "#02c875"
50
- },
51
- "Lilac": {
52
- "value": "#bf97f9"
53
- },
54
- "Orange": {
55
- "value": "#ff7131"
56
- },
57
- "Pink": {
58
- "value": "#ff006e"
59
- },
60
- "Red": {
61
- "value": "#f8251e"
62
- },
63
- "Teal": {
64
- "value": "#16ceb9"
65
- },
66
- "Yellow": {
67
- "value": "#fdca40"
68
- },
69
- "Black": {
70
- "value": "#000000"
71
- },
72
- "Cool Grey 100": {
73
- "value": "#f9f9f9"
74
- },
75
- "Cool Grey 150": {
76
- "value": "#f3f4f6"
77
- },
78
- "Cool Grey 200": {
79
- "value": "#ebedef"
80
- },
81
- "Cool Grey 250": {
82
- "value": "#dfe1e5"
83
- },
84
- "Cool Grey 300": {
85
- "value": "#ced1d7"
86
- },
87
- "Cool Grey 350": {
88
- "value": "#b3b8c1"
89
- },
90
- "Cool Grey 400": {
91
- "value": "#979ca5"
92
- },
93
- "Cool Grey 450": {
94
- "value": "#71767f"
95
- },
96
- "Cool Grey 500": {
97
- "value": "#595e67"
98
- },
99
- "Cool Grey 550": {
100
- "value": "#41464f"
101
- },
102
- "Cool Grey 600": {
103
- "value": "#292d38"
104
- },
105
- "Cool Grey 650": {
106
- "value": "#181d26"
107
- },
108
- "Cool Grey 700": {
109
- "value": "#0f131a"
110
- },
111
- "White": {
112
- "value": "#ffffff"
113
- },
114
- "Warm Grey 100": {
115
- "value": "#fafafa"
116
- },
117
- "Warm Grey 150": {
118
- "value": "#f5f5f5"
119
- },
120
- "Warm Grey 200": {
121
- "value": "#ebebeb"
122
- },
123
- "Warm Grey 250": {
124
- "value": "#d6d6d6"
125
- },
126
- "Warm Grey 300": {
127
- "value": "#c2c2c2"
128
- },
129
- "Warm Grey 350": {
130
- "value": "#b3b3b3"
131
- },
132
- "Warm Grey 400": {
133
- "value": "#999999"
134
- },
135
- "Warm Grey 450": {
136
- "value": "#808080"
137
- },
138
- "Warm Grey 500": {
139
- "value": "#666666"
140
- },
141
- "Warm Grey 550": {
142
- "value": "#4d4d4d"
143
- },
144
- "Warm Grey 600": {
145
- "value": "#333333"
146
- },
147
- "Warm Grey 650": {
148
- "value": "#242424"
149
- },
150
- "Warm Grey 700": {
151
- "value": "#1a1a1a"
152
- },
153
- "Cyan": {
154
- "value": "#00f2f2"
155
- },
156
- "Lemon": {
157
- "value": "#fff000"
158
- },
159
- "Lime": {
160
- "value": "#bced09"
161
- },
162
- "Magenta": {
163
- "value": "#fb03ff"
164
- },
165
- "Rose": {
166
- "value": "#ff68a8"
167
- }
168
- }
169
- }
@@ -1,17 +0,0 @@
1
- module.exports = {
2
- /**
3
- * Custom transform group to apply multiple transforms similar to the
4
- * js transform group but with the custom name/ti/kebab transform
5
- * applied
6
- *
7
- */
8
- 'js-ti': {
9
- name: 'js-ti',
10
- transforms: [
11
- 'attribute/cti',
12
- 'name/ti/kebab',
13
- 'size/rem',
14
- 'color/hex'
15
- ]
16
- }
17
- }
@@ -1,25 +0,0 @@
1
- const _ = require('lodash');
2
-
3
- module.exports = {
4
- /**
5
- * Creates a kebab-cased name on the type and item of the property. This is useful if you
6
- * want to create properties without the category name.
7
- * If you define a prefix on the platform in your config, it will prepend with your prefix.
8
- *
9
- * ```js
10
- * // Matches: all
11
- * // Returns:
12
- * "charleston-green"
13
- * "Prefix-charleston-green"
14
- * ```
15
- *
16
- */
17
-
18
- 'name/ti/kebab': {
19
- name: 'name/ti/kebab',
20
- type: 'name',
21
- transformer: function (prop, options) {
22
- return _.kebabCase( [options.prefix].concat(prop.path.slice(1, prop.path.length)).join(' ') );
23
- }
24
- },
25
- }