@epilot360/icons 1.6.0 → 1.7.1

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 (1404) hide show
  1. package/.babelrc.json +18 -0
  2. package/.eslintrc.yml +18 -0
  3. package/.gitignore +12 -0
  4. package/.gitlab-ci.yml +19 -0
  5. package/.storybook/main.ts +55 -0
  6. package/.storybook/preview.css +227 -0
  7. package/.storybook/preview.ts +17 -0
  8. package/build/index.d.ts +3 -0
  9. package/build/index.js +2 -0
  10. package/build/index.js.map +1 -0
  11. package/build/react/Account/index.d.ts +4 -0
  12. package/build/react/Account/index.js +2 -0
  13. package/build/react/Account/index.js.map +1 -0
  14. package/build/react/Add/index.d.ts +4 -0
  15. package/build/react/Add/index.js +2 -0
  16. package/build/react/Add/index.js.map +1 -0
  17. package/build/react/AddCircle/index.d.ts +4 -0
  18. package/build/react/AddCircle/index.js +2 -0
  19. package/build/react/AddCircle/index.js.map +1 -0
  20. package/build/react/ArrowLeft/index.d.ts +4 -0
  21. package/build/react/ArrowLeft/index.js +2 -0
  22. package/build/react/ArrowLeft/index.js.map +1 -0
  23. package/build/react/ArrowRight/index.d.ts +4 -0
  24. package/build/react/ArrowRight/index.js +2 -0
  25. package/build/react/ArrowRight/index.js.map +1 -0
  26. package/build/react/Attributes/index.d.ts +4 -0
  27. package/build/react/Attributes/index.js +2 -0
  28. package/build/react/Attributes/index.js.map +1 -0
  29. package/build/react/Availability/index.d.ts +4 -0
  30. package/build/react/Availability/index.js +2 -0
  31. package/build/react/Availability/index.js.map +1 -0
  32. package/build/react/Calendar/index.d.ts +4 -0
  33. package/build/react/Calendar/index.js +2 -0
  34. package/build/react/Calendar/index.js.map +1 -0
  35. package/build/react/Check/index.d.ts +4 -0
  36. package/build/react/Check/index.js +2 -0
  37. package/build/react/Check/index.js.map +1 -0
  38. package/build/react/CheckCircle/index.d.ts +4 -0
  39. package/build/react/CheckCircle/index.js +2 -0
  40. package/build/react/CheckCircle/index.js.map +1 -0
  41. package/build/react/Close/index.d.ts +4 -0
  42. package/build/react/Close/index.js +2 -0
  43. package/build/react/Close/index.js.map +1 -0
  44. package/build/react/Contact/index.d.ts +4 -0
  45. package/build/react/Contact/index.js +2 -0
  46. package/build/react/Contact/index.js.map +1 -0
  47. package/build/react/ContentCopy/index.d.ts +4 -0
  48. package/build/react/ContentCopy/index.js +2 -0
  49. package/build/react/ContentCopy/index.js.map +1 -0
  50. package/build/react/Contract/index.d.ts +4 -0
  51. package/build/react/Contract/index.js +2 -0
  52. package/build/react/Contract/index.js.map +1 -0
  53. package/build/react/Dashboard/index.d.ts +4 -0
  54. package/build/react/Dashboard/index.js +2 -0
  55. package/build/react/Dashboard/index.js.map +1 -0
  56. package/build/react/DataObject/index.d.ts +4 -0
  57. package/build/react/DataObject/index.js +2 -0
  58. package/build/react/DataObject/index.js.map +1 -0
  59. package/build/react/Delete/index.d.ts +4 -0
  60. package/build/react/Delete/index.js +2 -0
  61. package/build/react/Delete/index.js.map +1 -0
  62. package/build/react/Design/index.d.ts +4 -0
  63. package/build/react/Design/index.js +2 -0
  64. package/build/react/Design/index.js.map +1 -0
  65. package/build/react/Document/index.d.ts +4 -0
  66. package/build/react/Document/index.js +2 -0
  67. package/build/react/Document/index.js.map +1 -0
  68. package/build/react/Download/index.d.ts +4 -0
  69. package/build/react/Download/index.js +2 -0
  70. package/build/react/Download/index.js.map +1 -0
  71. package/build/react/DragIndicator/index.d.ts +4 -0
  72. package/build/react/DragIndicator/index.js +2 -0
  73. package/build/react/DragIndicator/index.js.map +1 -0
  74. package/build/react/Edit/index.d.ts +4 -0
  75. package/build/react/Edit/index.js +2 -0
  76. package/build/react/Edit/index.js.map +1 -0
  77. package/build/react/Entity/index.d.ts +4 -0
  78. package/build/react/Entity/index.js +2 -0
  79. package/build/react/Entity/index.js.map +1 -0
  80. package/build/react/Epilot/index.d.ts +4 -0
  81. package/build/react/Epilot/index.js +2 -0
  82. package/build/react/Epilot/index.js.map +1 -0
  83. package/build/react/EpilotIcon.d.ts +138 -0
  84. package/build/react/EpilotIcon.js +2 -0
  85. package/build/react/EpilotIcon.js.map +1 -0
  86. package/build/react/Error/index.d.ts +4 -0
  87. package/build/react/Error/index.js +2 -0
  88. package/build/react/Error/index.js.map +1 -0
  89. package/build/react/ExpandLess/index.d.ts +4 -0
  90. package/build/react/ExpandLess/index.js +2 -0
  91. package/build/react/ExpandLess/index.js.map +1 -0
  92. package/build/react/ExpandMore/index.d.ts +4 -0
  93. package/build/react/ExpandMore/index.js +2 -0
  94. package/build/react/ExpandMore/index.js.map +1 -0
  95. package/build/react/Explore/index.d.ts +4 -0
  96. package/build/react/Explore/index.js +2 -0
  97. package/build/react/Explore/index.js.map +1 -0
  98. package/build/react/File/index.d.ts +4 -0
  99. package/build/react/File/index.js +2 -0
  100. package/build/react/File/index.js.map +1 -0
  101. package/build/react/Filter/index.d.ts +4 -0
  102. package/build/react/Filter/index.js +2 -0
  103. package/build/react/Filter/index.js.map +1 -0
  104. package/build/react/Help/index.d.ts +4 -0
  105. package/build/react/Help/index.js +2 -0
  106. package/build/react/Help/index.js.map +1 -0
  107. package/build/react/Info/index.d.ts +4 -0
  108. package/build/react/Info/index.js +2 -0
  109. package/build/react/Info/index.js.map +1 -0
  110. package/build/react/Journey/index.d.ts +4 -0
  111. package/build/react/Journey/index.js +2 -0
  112. package/build/react/Journey/index.js.map +1 -0
  113. package/build/react/Link/index.d.ts +4 -0
  114. package/build/react/Link/index.js +2 -0
  115. package/build/react/Link/index.js.map +1 -0
  116. package/build/react/Lock/index.d.ts +4 -0
  117. package/build/react/Lock/index.js +2 -0
  118. package/build/react/Lock/index.js.map +1 -0
  119. package/build/react/LockOpen/index.d.ts +4 -0
  120. package/build/react/LockOpen/index.js +2 -0
  121. package/build/react/LockOpen/index.js.map +1 -0
  122. package/build/react/Login/index.d.ts +4 -0
  123. package/build/react/Login/index.js +2 -0
  124. package/build/react/Login/index.js.map +1 -0
  125. package/build/react/Logout/index.d.ts +4 -0
  126. package/build/react/Logout/index.js +2 -0
  127. package/build/react/Logout/index.js.map +1 -0
  128. package/build/react/Menu/index.d.ts +4 -0
  129. package/build/react/Menu/index.js +2 -0
  130. package/build/react/Menu/index.js.map +1 -0
  131. package/build/react/Message/index.d.ts +4 -0
  132. package/build/react/Message/index.js +2 -0
  133. package/build/react/Message/index.js.map +1 -0
  134. package/build/react/Meter/index.d.ts +4 -0
  135. package/build/react/Meter/index.js +2 -0
  136. package/build/react/Meter/index.js.map +1 -0
  137. package/build/react/Note/index.d.ts +4 -0
  138. package/build/react/Note/index.js +2 -0
  139. package/build/react/Note/index.js.map +1 -0
  140. package/build/react/Notifications/index.d.ts +4 -0
  141. package/build/react/Notifications/index.js +2 -0
  142. package/build/react/Notifications/index.js.map +1 -0
  143. package/build/react/OpenInNew/index.d.ts +4 -0
  144. package/build/react/OpenInNew/index.js +2 -0
  145. package/build/react/OpenInNew/index.js.map +1 -0
  146. package/build/react/Opportunity/index.d.ts +4 -0
  147. package/build/react/Opportunity/index.js +2 -0
  148. package/build/react/Opportunity/index.js.map +1 -0
  149. package/build/react/Order/index.d.ts +4 -0
  150. package/build/react/Order/index.js +2 -0
  151. package/build/react/Order/index.js.map +1 -0
  152. package/build/react/Partner/index.d.ts +4 -0
  153. package/build/react/Partner/index.js +2 -0
  154. package/build/react/Partner/index.js.map +1 -0
  155. package/build/react/Price/index.d.ts +4 -0
  156. package/build/react/Price/index.js +2 -0
  157. package/build/react/Price/index.js.map +1 -0
  158. package/build/react/Product/index.d.ts +4 -0
  159. package/build/react/Product/index.js +2 -0
  160. package/build/react/Product/index.js.map +1 -0
  161. package/build/react/Refresh/index.d.ts +4 -0
  162. package/build/react/Refresh/index.js +2 -0
  163. package/build/react/Refresh/index.js.map +1 -0
  164. package/build/react/Relations/index.d.ts +4 -0
  165. package/build/react/Relations/index.js +2 -0
  166. package/build/react/Relations/index.js.map +1 -0
  167. package/build/react/Search/index.d.ts +4 -0
  168. package/build/react/Search/index.js +2 -0
  169. package/build/react/Search/index.js.map +1 -0
  170. package/build/react/Settings/index.d.ts +4 -0
  171. package/build/react/Settings/index.js +2 -0
  172. package/build/react/Settings/index.js.map +1 -0
  173. package/build/react/Share/index.d.ts +4 -0
  174. package/build/react/Share/index.js +2 -0
  175. package/build/react/Share/index.js.map +1 -0
  176. package/build/react/Sort/index.d.ts +4 -0
  177. package/build/react/Sort/index.js +2 -0
  178. package/build/react/Sort/index.js.map +1 -0
  179. package/build/react/Submission/index.d.ts +4 -0
  180. package/build/react/Submission/index.js +2 -0
  181. package/build/react/Submission/index.js.map +1 -0
  182. package/build/react/Table/index.d.ts +4 -0
  183. package/build/react/Table/index.js +2 -0
  184. package/build/react/Table/index.js.map +1 -0
  185. package/build/react/Tax/index.d.ts +4 -0
  186. package/build/react/Tax/index.js +2 -0
  187. package/build/react/Tax/index.js.map +1 -0
  188. package/build/react/Templates/index.d.ts +4 -0
  189. package/build/react/Templates/index.js +2 -0
  190. package/build/react/Templates/index.js.map +1 -0
  191. package/build/react/Visibility/index.d.ts +4 -0
  192. package/build/react/Visibility/index.js +2 -0
  193. package/build/react/Visibility/index.js.map +1 -0
  194. package/build/react/VisibilityOff/index.d.ts +4 -0
  195. package/build/react/VisibilityOff/index.js +2 -0
  196. package/build/react/VisibilityOff/index.js.map +1 -0
  197. package/build/react/Warning/index.d.ts +4 -0
  198. package/build/react/Warning/index.js +2 -0
  199. package/build/react/Warning/index.js.map +1 -0
  200. package/build/react/Webhook/index.d.ts +4 -0
  201. package/build/react/Webhook/index.js +2 -0
  202. package/build/react/Webhook/index.js.map +1 -0
  203. package/build/react/Workflow/index.d.ts +4 -0
  204. package/build/react/Workflow/index.js +2 -0
  205. package/build/react/Workflow/index.js.map +1 -0
  206. package/build/react/common.d.ts +2 -0
  207. package/build/react/common.js +2 -0
  208. package/build/react/common.js.map +1 -0
  209. package/build/react/index.d.ts +65 -0
  210. package/build/react/index.js +2 -0
  211. package/build/react/index.js.map +1 -0
  212. package/build/react/types.d.ts +4 -0
  213. package/{svg → build/react}/types.js.map +1 -1
  214. package/build/svg/Account/icon-fill.svg +1 -0
  215. package/build/svg/Account/icon.svg +1 -0
  216. package/build/svg/Account/index.d.ts +3 -0
  217. package/build/svg/Account/index.js +2 -0
  218. package/build/svg/Account/index.js.map +1 -0
  219. package/build/svg/Add/icon-fill.svg +1 -0
  220. package/build/svg/Add/icon.svg +1 -0
  221. package/build/svg/Add/index.d.ts +3 -0
  222. package/build/svg/Add/index.js +2 -0
  223. package/build/svg/Add/index.js.map +1 -0
  224. package/build/svg/AddCircle/icon-fill.svg +1 -0
  225. package/build/svg/AddCircle/icon.svg +1 -0
  226. package/build/svg/AddCircle/index.d.ts +3 -0
  227. package/build/svg/AddCircle/index.js +2 -0
  228. package/build/svg/AddCircle/index.js.map +1 -0
  229. package/build/svg/ArrowLeft/icon-fill.svg +1 -0
  230. package/build/svg/ArrowLeft/icon.svg +1 -0
  231. package/build/svg/ArrowLeft/index.d.ts +3 -0
  232. package/build/svg/ArrowLeft/index.js +2 -0
  233. package/build/svg/ArrowLeft/index.js.map +1 -0
  234. package/build/svg/ArrowRight/icon-fill.svg +1 -0
  235. package/build/svg/ArrowRight/icon.svg +1 -0
  236. package/build/svg/ArrowRight/index.d.ts +3 -0
  237. package/build/svg/ArrowRight/index.js +2 -0
  238. package/build/svg/ArrowRight/index.js.map +1 -0
  239. package/build/svg/Attributes/icon-fill.svg +1 -0
  240. package/build/svg/Attributes/icon.svg +1 -0
  241. package/build/svg/Attributes/index.d.ts +3 -0
  242. package/build/svg/Attributes/index.js +2 -0
  243. package/build/svg/Attributes/index.js.map +1 -0
  244. package/build/svg/Availability/icon-fill.svg +1 -0
  245. package/build/svg/Availability/icon.svg +1 -0
  246. package/build/svg/Availability/index.d.ts +3 -0
  247. package/build/svg/Availability/index.js +2 -0
  248. package/build/svg/Availability/index.js.map +1 -0
  249. package/build/svg/Calendar/icon-fill.svg +1 -0
  250. package/build/svg/Calendar/icon.svg +1 -0
  251. package/build/svg/Calendar/index.d.ts +3 -0
  252. package/build/svg/Calendar/index.js +2 -0
  253. package/build/svg/Calendar/index.js.map +1 -0
  254. package/build/svg/Check/icon-fill.svg +1 -0
  255. package/build/svg/Check/icon.svg +1 -0
  256. package/build/svg/Check/index.d.ts +3 -0
  257. package/build/svg/Check/index.js +2 -0
  258. package/build/svg/Check/index.js.map +1 -0
  259. package/build/svg/CheckCircle/icon-fill.svg +1 -0
  260. package/build/svg/CheckCircle/icon.svg +1 -0
  261. package/build/svg/CheckCircle/index.d.ts +3 -0
  262. package/build/svg/CheckCircle/index.js +2 -0
  263. package/build/svg/CheckCircle/index.js.map +1 -0
  264. package/build/svg/Close/icon-fill.svg +1 -0
  265. package/build/svg/Close/icon.svg +1 -0
  266. package/build/svg/Close/index.d.ts +3 -0
  267. package/build/svg/Close/index.js +2 -0
  268. package/build/svg/Close/index.js.map +1 -0
  269. package/build/svg/Contact/icon-fill.svg +1 -0
  270. package/build/svg/Contact/icon.svg +1 -0
  271. package/build/svg/Contact/index.d.ts +3 -0
  272. package/build/svg/Contact/index.js +2 -0
  273. package/build/svg/Contact/index.js.map +1 -0
  274. package/build/svg/ContentCopy/icon-fill.svg +1 -0
  275. package/build/svg/ContentCopy/icon.svg +1 -0
  276. package/build/svg/ContentCopy/index.d.ts +3 -0
  277. package/build/svg/ContentCopy/index.js +2 -0
  278. package/build/svg/ContentCopy/index.js.map +1 -0
  279. package/build/svg/Contract/icon-fill.svg +1 -0
  280. package/build/svg/Contract/icon.svg +1 -0
  281. package/build/svg/Contract/index.d.ts +3 -0
  282. package/build/svg/Contract/index.js +2 -0
  283. package/build/svg/Contract/index.js.map +1 -0
  284. package/build/svg/Dashboard/icon-fill.svg +1 -0
  285. package/build/svg/Dashboard/icon.svg +1 -0
  286. package/build/svg/Dashboard/index.d.ts +3 -0
  287. package/build/svg/Dashboard/index.js +2 -0
  288. package/build/svg/Dashboard/index.js.map +1 -0
  289. package/build/svg/DataObject/icon-fill.svg +1 -0
  290. package/build/svg/DataObject/icon.svg +1 -0
  291. package/build/svg/DataObject/index.d.ts +3 -0
  292. package/build/svg/DataObject/index.js +2 -0
  293. package/build/svg/DataObject/index.js.map +1 -0
  294. package/build/svg/Delete/icon-fill.svg +1 -0
  295. package/build/svg/Delete/icon.svg +1 -0
  296. package/build/svg/Delete/index.d.ts +3 -0
  297. package/build/svg/Delete/index.js +2 -0
  298. package/build/svg/Delete/index.js.map +1 -0
  299. package/build/svg/Design/icon-fill.svg +1 -0
  300. package/build/svg/Design/icon.svg +1 -0
  301. package/build/svg/Design/index.d.ts +3 -0
  302. package/build/svg/Design/index.js +2 -0
  303. package/build/svg/Design/index.js.map +1 -0
  304. package/build/svg/Document/icon-fill.svg +1 -0
  305. package/build/svg/Document/icon.svg +1 -0
  306. package/build/svg/Document/index.d.ts +3 -0
  307. package/build/svg/Document/index.js +2 -0
  308. package/build/svg/Document/index.js.map +1 -0
  309. package/build/svg/Download/icon-fill.svg +1 -0
  310. package/build/svg/Download/icon.svg +1 -0
  311. package/build/svg/Download/index.d.ts +3 -0
  312. package/build/svg/Download/index.js +2 -0
  313. package/build/svg/Download/index.js.map +1 -0
  314. package/build/svg/DragIndicator/icon-fill.svg +1 -0
  315. package/build/svg/DragIndicator/icon.svg +1 -0
  316. package/build/svg/DragIndicator/index.d.ts +3 -0
  317. package/build/svg/DragIndicator/index.js +2 -0
  318. package/build/svg/DragIndicator/index.js.map +1 -0
  319. package/build/svg/Edit/icon-fill.svg +1 -0
  320. package/build/svg/Edit/icon.svg +1 -0
  321. package/build/svg/Edit/index.d.ts +3 -0
  322. package/build/svg/Edit/index.js +2 -0
  323. package/build/svg/Edit/index.js.map +1 -0
  324. package/build/svg/Entity/icon-fill.svg +1 -0
  325. package/build/svg/Entity/icon.svg +1 -0
  326. package/build/svg/Entity/index.d.ts +3 -0
  327. package/build/svg/Entity/index.js +2 -0
  328. package/build/svg/Entity/index.js.map +1 -0
  329. package/build/svg/Epilot/icon-fill.svg +11 -0
  330. package/build/svg/Epilot/icon.svg +11 -0
  331. package/build/svg/Epilot/index.d.ts +3 -0
  332. package/build/svg/Epilot/index.js +2 -0
  333. package/build/svg/Epilot/index.js.map +1 -0
  334. package/build/svg/Error/icon-fill.svg +1 -0
  335. package/build/svg/Error/icon.svg +1 -0
  336. package/build/svg/Error/index.d.ts +3 -0
  337. package/build/svg/Error/index.js +2 -0
  338. package/build/svg/Error/index.js.map +1 -0
  339. package/build/svg/ExpandLess/icon-fill.svg +1 -0
  340. package/build/svg/ExpandLess/icon.svg +1 -0
  341. package/build/svg/ExpandLess/index.d.ts +3 -0
  342. package/build/svg/ExpandLess/index.js +2 -0
  343. package/build/svg/ExpandLess/index.js.map +1 -0
  344. package/build/svg/ExpandMore/icon-fill.svg +1 -0
  345. package/build/svg/ExpandMore/icon.svg +1 -0
  346. package/build/svg/ExpandMore/index.d.ts +3 -0
  347. package/build/svg/ExpandMore/index.js +2 -0
  348. package/build/svg/ExpandMore/index.js.map +1 -0
  349. package/build/svg/Explore/icon-fill.svg +1 -0
  350. package/build/svg/Explore/icon.svg +1 -0
  351. package/build/svg/Explore/index.d.ts +3 -0
  352. package/build/svg/Explore/index.js +2 -0
  353. package/build/svg/Explore/index.js.map +1 -0
  354. package/build/svg/File/icon-fill.svg +1 -0
  355. package/build/svg/File/icon.svg +1 -0
  356. package/build/svg/File/index.d.ts +3 -0
  357. package/build/svg/File/index.js +2 -0
  358. package/build/svg/File/index.js.map +1 -0
  359. package/build/svg/Filter/icon-fill.svg +1 -0
  360. package/build/svg/Filter/icon.svg +1 -0
  361. package/build/svg/Filter/index.d.ts +3 -0
  362. package/build/svg/Filter/index.js +2 -0
  363. package/build/svg/Filter/index.js.map +1 -0
  364. package/build/svg/Help/icon-fill.svg +1 -0
  365. package/build/svg/Help/icon.svg +1 -0
  366. package/build/svg/Help/index.d.ts +3 -0
  367. package/build/svg/Help/index.js +2 -0
  368. package/build/svg/Help/index.js.map +1 -0
  369. package/build/svg/Info/icon-fill.svg +1 -0
  370. package/build/svg/Info/icon.svg +1 -0
  371. package/build/svg/Info/index.d.ts +3 -0
  372. package/build/svg/Info/index.js +2 -0
  373. package/build/svg/Info/index.js.map +1 -0
  374. package/build/svg/Journey/icon-fill.svg +1 -0
  375. package/build/svg/Journey/icon.svg +1 -0
  376. package/build/svg/Journey/index.d.ts +3 -0
  377. package/build/svg/Journey/index.js +2 -0
  378. package/build/svg/Journey/index.js.map +1 -0
  379. package/build/svg/Link/icon-fill.svg +1 -0
  380. package/build/svg/Link/icon.svg +1 -0
  381. package/build/svg/Link/index.d.ts +3 -0
  382. package/build/svg/Link/index.js +2 -0
  383. package/build/svg/Link/index.js.map +1 -0
  384. package/build/svg/Lock/icon-fill.svg +1 -0
  385. package/build/svg/Lock/icon.svg +1 -0
  386. package/build/svg/Lock/index.d.ts +3 -0
  387. package/build/svg/Lock/index.js +2 -0
  388. package/build/svg/Lock/index.js.map +1 -0
  389. package/build/svg/LockOpen/icon-fill.svg +1 -0
  390. package/build/svg/LockOpen/icon.svg +1 -0
  391. package/build/svg/LockOpen/index.d.ts +3 -0
  392. package/build/svg/LockOpen/index.js +2 -0
  393. package/build/svg/LockOpen/index.js.map +1 -0
  394. package/build/svg/Login/icon-fill.svg +1 -0
  395. package/build/svg/Login/icon.svg +1 -0
  396. package/build/svg/Login/index.d.ts +3 -0
  397. package/build/svg/Login/index.js +2 -0
  398. package/build/svg/Login/index.js.map +1 -0
  399. package/build/svg/Logout/icon-fill.svg +1 -0
  400. package/build/svg/Logout/icon.svg +1 -0
  401. package/build/svg/Logout/index.d.ts +3 -0
  402. package/build/svg/Logout/index.js +2 -0
  403. package/build/svg/Logout/index.js.map +1 -0
  404. package/build/svg/Menu/icon-fill.svg +1 -0
  405. package/build/svg/Menu/icon.svg +1 -0
  406. package/build/svg/Menu/index.d.ts +3 -0
  407. package/build/svg/Menu/index.js +2 -0
  408. package/build/svg/Menu/index.js.map +1 -0
  409. package/build/svg/Message/icon-fill.svg +1 -0
  410. package/build/svg/Message/icon.svg +1 -0
  411. package/build/svg/Message/index.d.ts +3 -0
  412. package/build/svg/Message/index.js +2 -0
  413. package/build/svg/Message/index.js.map +1 -0
  414. package/build/svg/Meter/icon-fill.svg +1 -0
  415. package/build/svg/Meter/icon.svg +1 -0
  416. package/build/svg/Meter/index.d.ts +3 -0
  417. package/build/svg/Meter/index.js +2 -0
  418. package/build/svg/Meter/index.js.map +1 -0
  419. package/build/svg/Note/icon-fill.svg +1 -0
  420. package/build/svg/Note/icon.svg +1 -0
  421. package/build/svg/Note/index.d.ts +3 -0
  422. package/build/svg/Note/index.js +2 -0
  423. package/build/svg/Note/index.js.map +1 -0
  424. package/build/svg/Notifications/icon-fill.svg +1 -0
  425. package/build/svg/Notifications/icon.svg +1 -0
  426. package/build/svg/Notifications/index.d.ts +3 -0
  427. package/build/svg/Notifications/index.js +2 -0
  428. package/build/svg/Notifications/index.js.map +1 -0
  429. package/build/svg/OpenInNew/icon-fill.svg +1 -0
  430. package/build/svg/OpenInNew/icon.svg +1 -0
  431. package/build/svg/OpenInNew/index.d.ts +3 -0
  432. package/build/svg/OpenInNew/index.js +2 -0
  433. package/build/svg/OpenInNew/index.js.map +1 -0
  434. package/build/svg/Opportunity/icon-fill.svg +1 -0
  435. package/build/svg/Opportunity/icon.svg +1 -0
  436. package/build/svg/Opportunity/index.d.ts +3 -0
  437. package/build/svg/Opportunity/index.js +2 -0
  438. package/build/svg/Opportunity/index.js.map +1 -0
  439. package/build/svg/Order/icon-fill.svg +1 -0
  440. package/build/svg/Order/icon.svg +1 -0
  441. package/build/svg/Order/index.d.ts +3 -0
  442. package/build/svg/Order/index.js +2 -0
  443. package/build/svg/Order/index.js.map +1 -0
  444. package/build/svg/Partner/icon-fill.svg +1 -0
  445. package/build/svg/Partner/icon.svg +1 -0
  446. package/build/svg/Partner/index.d.ts +3 -0
  447. package/build/svg/Partner/index.js +2 -0
  448. package/build/svg/Partner/index.js.map +1 -0
  449. package/build/svg/Price/icon-fill.svg +1 -0
  450. package/build/svg/Price/icon.svg +1 -0
  451. package/build/svg/Price/index.d.ts +3 -0
  452. package/build/svg/Price/index.js +2 -0
  453. package/build/svg/Price/index.js.map +1 -0
  454. package/build/svg/Product/icon-fill.svg +1 -0
  455. package/build/svg/Product/icon.svg +1 -0
  456. package/build/svg/Product/index.d.ts +3 -0
  457. package/build/svg/Product/index.js +2 -0
  458. package/build/svg/Product/index.js.map +1 -0
  459. package/build/svg/Refresh/icon-fill.svg +1 -0
  460. package/build/svg/Refresh/icon.svg +1 -0
  461. package/build/svg/Refresh/index.d.ts +3 -0
  462. package/build/svg/Refresh/index.js +2 -0
  463. package/build/svg/Refresh/index.js.map +1 -0
  464. package/build/svg/Relations/icon-fill.svg +1 -0
  465. package/build/svg/Relations/icon.svg +1 -0
  466. package/build/svg/Relations/index.d.ts +3 -0
  467. package/build/svg/Relations/index.js +2 -0
  468. package/build/svg/Relations/index.js.map +1 -0
  469. package/build/svg/Search/icon-fill.svg +1 -0
  470. package/build/svg/Search/icon.svg +1 -0
  471. package/build/svg/Search/index.d.ts +3 -0
  472. package/build/svg/Search/index.js +2 -0
  473. package/build/svg/Search/index.js.map +1 -0
  474. package/build/svg/Settings/icon-fill.svg +1 -0
  475. package/build/svg/Settings/icon.svg +1 -0
  476. package/build/svg/Settings/index.d.ts +3 -0
  477. package/build/svg/Settings/index.js +2 -0
  478. package/build/svg/Settings/index.js.map +1 -0
  479. package/build/svg/Share/icon-fill.svg +1 -0
  480. package/build/svg/Share/icon.svg +1 -0
  481. package/build/svg/Share/index.d.ts +3 -0
  482. package/build/svg/Share/index.js +2 -0
  483. package/build/svg/Share/index.js.map +1 -0
  484. package/build/svg/Sort/icon-fill.svg +1 -0
  485. package/build/svg/Sort/icon.svg +1 -0
  486. package/build/svg/Sort/index.d.ts +3 -0
  487. package/build/svg/Sort/index.js +2 -0
  488. package/build/svg/Sort/index.js.map +1 -0
  489. package/build/svg/Submission/icon-fill.svg +1 -0
  490. package/build/svg/Submission/icon.svg +1 -0
  491. package/build/svg/Submission/index.d.ts +3 -0
  492. package/build/svg/Submission/index.js +2 -0
  493. package/build/svg/Submission/index.js.map +1 -0
  494. package/build/svg/Table/icon-fill.svg +1 -0
  495. package/build/svg/Table/icon.svg +1 -0
  496. package/build/svg/Table/index.d.ts +3 -0
  497. package/build/svg/Table/index.js +2 -0
  498. package/build/svg/Table/index.js.map +1 -0
  499. package/build/svg/Tax/icon-fill.svg +1 -0
  500. package/build/svg/Tax/icon.svg +1 -0
  501. package/build/svg/Tax/index.d.ts +3 -0
  502. package/build/svg/Tax/index.js +2 -0
  503. package/build/svg/Tax/index.js.map +1 -0
  504. package/build/svg/Templates/icon-fill.svg +1 -0
  505. package/build/svg/Templates/icon.svg +1 -0
  506. package/build/svg/Templates/index.d.ts +3 -0
  507. package/build/svg/Templates/index.js +2 -0
  508. package/build/svg/Templates/index.js.map +1 -0
  509. package/build/svg/Visibility/icon-fill.svg +1 -0
  510. package/build/svg/Visibility/icon.svg +1 -0
  511. package/build/svg/Visibility/index.d.ts +3 -0
  512. package/build/svg/Visibility/index.js +2 -0
  513. package/build/svg/Visibility/index.js.map +1 -0
  514. package/build/svg/VisibilityOff/icon-fill.svg +1 -0
  515. package/build/svg/VisibilityOff/icon.svg +1 -0
  516. package/build/svg/VisibilityOff/index.d.ts +3 -0
  517. package/build/svg/VisibilityOff/index.js +2 -0
  518. package/build/svg/VisibilityOff/index.js.map +1 -0
  519. package/build/svg/Warning/icon-fill.svg +1 -0
  520. package/build/svg/Warning/icon.svg +1 -0
  521. package/build/svg/Warning/index.d.ts +3 -0
  522. package/build/svg/Warning/index.js +2 -0
  523. package/build/svg/Warning/index.js.map +1 -0
  524. package/build/svg/Webhook/icon-fill.svg +1 -0
  525. package/build/svg/Webhook/icon.svg +1 -0
  526. package/build/svg/Webhook/index.d.ts +3 -0
  527. package/build/svg/Webhook/index.js +2 -0
  528. package/build/svg/Webhook/index.js.map +1 -0
  529. package/build/svg/Workflow/icon-fill.svg +1 -0
  530. package/build/svg/Workflow/icon.svg +1 -0
  531. package/build/svg/Workflow/index.d.ts +3 -0
  532. package/build/svg/Workflow/index.js +2 -0
  533. package/build/svg/Workflow/index.js.map +1 -0
  534. package/build/svg/index.d.ts +65 -0
  535. package/build/svg/index.js +2 -0
  536. package/build/svg/index.js.map +1 -0
  537. package/build/svg/svgIcon.d.ts +74 -0
  538. package/build/svg/svgIcon.js +2 -0
  539. package/build/svg/svgIcon.js.map +1 -0
  540. package/build/types.d.ts +19 -0
  541. package/build/types.js +1 -0
  542. package/build/types.js.map +1 -0
  543. package/dist/bundle.js +2 -0
  544. package/dist/bundle.js.map +1 -0
  545. package/generator/run.ts +102 -0
  546. package/generator/templates/react/EpilotIcon.tsx.ejs +29 -0
  547. package/generator/templates/react/component/index.tsx.ejs +23 -0
  548. package/generator/templates/react/component/story.stories.tsx.ejs +13 -0
  549. package/generator/templates/react/index.ts.ejs +5 -0
  550. package/generator/templates/svg/index.ts.ejs +5 -0
  551. package/generator/templates/svg/module/index.ts.ejs +12 -0
  552. package/generator/templates/svg/svgIcon.ts.ejs +61 -0
  553. package/iac/.eslintrc.yml +27 -0
  554. package/iac/.gitignore +3 -0
  555. package/iac/cdk.json +42 -0
  556. package/iac/config.ts +46 -0
  557. package/iac/index.ts +21 -0
  558. package/iac/package.json +25 -0
  559. package/iac/service-stack.ts +33 -0
  560. package/iac/tsconfig.json +31 -0
  561. package/iac/yarn.lock +381 -0
  562. package/icons.config.yaml +68 -60
  563. package/index.d.ts +1 -0
  564. package/index.js +1 -1
  565. package/index.js.map +1 -1
  566. package/package.json +2 -2
  567. package/react/Account/index.d.ts +2 -2
  568. package/react/Account/index.js +1 -1
  569. package/react/Account/index.js.map +1 -1
  570. package/react/Add/index.d.ts +2 -2
  571. package/react/Add/index.js +1 -1
  572. package/react/Add/index.js.map +1 -1
  573. package/react/AddCircle/index.d.ts +2 -2
  574. package/react/AddCircle/index.js +1 -1
  575. package/react/AddCircle/index.js.map +1 -1
  576. package/react/ArrowLeft/index.d.ts +2 -2
  577. package/react/ArrowLeft/index.js +1 -1
  578. package/react/ArrowLeft/index.js.map +1 -1
  579. package/react/ArrowRight/index.d.ts +2 -2
  580. package/react/ArrowRight/index.js +1 -1
  581. package/react/ArrowRight/index.js.map +1 -1
  582. package/react/Attributes/index.d.ts +2 -2
  583. package/react/Attributes/index.js +1 -1
  584. package/react/Attributes/index.js.map +1 -1
  585. package/react/Availability/index.d.ts +2 -2
  586. package/react/Availability/index.js +1 -1
  587. package/react/Availability/index.js.map +1 -1
  588. package/react/Calendar/index.d.ts +2 -2
  589. package/react/Calendar/index.js +1 -1
  590. package/react/Calendar/index.js.map +1 -1
  591. package/react/Check/index.d.ts +2 -2
  592. package/react/Check/index.js +1 -1
  593. package/react/Check/index.js.map +1 -1
  594. package/react/CheckCircle/index.d.ts +2 -2
  595. package/react/CheckCircle/index.js +1 -1
  596. package/react/CheckCircle/index.js.map +1 -1
  597. package/react/Close/index.d.ts +2 -2
  598. package/react/Close/index.js +1 -1
  599. package/react/Close/index.js.map +1 -1
  600. package/react/Contact/index.d.ts +2 -2
  601. package/react/Contact/index.js +1 -1
  602. package/react/Contact/index.js.map +1 -1
  603. package/react/ContentCopy/index.d.ts +2 -2
  604. package/react/ContentCopy/index.js +1 -1
  605. package/react/ContentCopy/index.js.map +1 -1
  606. package/react/Contract/index.d.ts +2 -2
  607. package/react/Contract/index.js +1 -1
  608. package/react/Contract/index.js.map +1 -1
  609. package/react/Dashboard/index.d.ts +2 -2
  610. package/react/Dashboard/index.js +1 -1
  611. package/react/Dashboard/index.js.map +1 -1
  612. package/react/DataObject/index.d.ts +2 -2
  613. package/react/DataObject/index.js +1 -1
  614. package/react/DataObject/index.js.map +1 -1
  615. package/react/Delete/index.d.ts +2 -2
  616. package/react/Delete/index.js +1 -1
  617. package/react/Delete/index.js.map +1 -1
  618. package/react/Design/index.d.ts +2 -2
  619. package/react/Design/index.js +1 -1
  620. package/react/Design/index.js.map +1 -1
  621. package/react/Document/index.d.ts +2 -2
  622. package/react/Document/index.js +1 -1
  623. package/react/Document/index.js.map +1 -1
  624. package/react/Download/index.d.ts +2 -2
  625. package/react/Download/index.js +1 -1
  626. package/react/Download/index.js.map +1 -1
  627. package/react/DragIndicator/index.d.ts +2 -2
  628. package/react/DragIndicator/index.js +1 -1
  629. package/react/DragIndicator/index.js.map +1 -1
  630. package/react/Edit/index.d.ts +2 -2
  631. package/react/Edit/index.js +1 -1
  632. package/react/Edit/index.js.map +1 -1
  633. package/react/Entity/index.d.ts +2 -2
  634. package/react/Entity/index.js +1 -1
  635. package/react/Entity/index.js.map +1 -1
  636. package/react/Epilot/index.d.ts +2 -2
  637. package/react/Epilot/index.js +1 -1
  638. package/react/Epilot/index.js.map +1 -1
  639. package/react/EpilotIcon.d.ts +7 -3
  640. package/react/EpilotIcon.js +1 -1
  641. package/react/EpilotIcon.js.map +1 -1
  642. package/react/Error/index.d.ts +2 -2
  643. package/react/Error/index.js +1 -1
  644. package/react/Error/index.js.map +1 -1
  645. package/react/ExpandLess/index.d.ts +2 -2
  646. package/react/ExpandLess/index.js +1 -1
  647. package/react/ExpandLess/index.js.map +1 -1
  648. package/react/ExpandMore/index.d.ts +2 -2
  649. package/react/ExpandMore/index.js +1 -1
  650. package/react/ExpandMore/index.js.map +1 -1
  651. package/react/Explore/index.d.ts +2 -2
  652. package/react/Explore/index.js +1 -1
  653. package/react/Explore/index.js.map +1 -1
  654. package/react/File/index.d.ts +2 -2
  655. package/react/File/index.js +1 -1
  656. package/react/File/index.js.map +1 -1
  657. package/react/Filter/index.d.ts +4 -0
  658. package/react/Filter/index.js +2 -0
  659. package/react/Filter/index.js.map +1 -0
  660. package/react/Help/index.d.ts +2 -2
  661. package/react/Help/index.js +1 -1
  662. package/react/Help/index.js.map +1 -1
  663. package/react/Info/index.d.ts +2 -2
  664. package/react/Info/index.js +1 -1
  665. package/react/Info/index.js.map +1 -1
  666. package/react/Journey/index.d.ts +2 -2
  667. package/react/Journey/index.js +1 -1
  668. package/react/Journey/index.js.map +1 -1
  669. package/react/Link/index.d.ts +2 -2
  670. package/react/Link/index.js +1 -1
  671. package/react/Link/index.js.map +1 -1
  672. package/react/Lock/index.d.ts +2 -2
  673. package/react/Lock/index.js +1 -1
  674. package/react/Lock/index.js.map +1 -1
  675. package/react/LockOpen/index.d.ts +2 -2
  676. package/react/LockOpen/index.js +1 -1
  677. package/react/LockOpen/index.js.map +1 -1
  678. package/react/Login/index.d.ts +2 -2
  679. package/react/Login/index.js +1 -1
  680. package/react/Login/index.js.map +1 -1
  681. package/react/Logout/index.d.ts +2 -2
  682. package/react/Logout/index.js +1 -1
  683. package/react/Logout/index.js.map +1 -1
  684. package/react/Menu/index.d.ts +2 -2
  685. package/react/Menu/index.js +1 -1
  686. package/react/Menu/index.js.map +1 -1
  687. package/react/Message/index.d.ts +2 -2
  688. package/react/Message/index.js +1 -1
  689. package/react/Message/index.js.map +1 -1
  690. package/react/Meter/index.d.ts +2 -2
  691. package/react/Meter/index.js +1 -1
  692. package/react/Meter/index.js.map +1 -1
  693. package/react/Note/index.d.ts +2 -2
  694. package/react/Note/index.js +1 -1
  695. package/react/Note/index.js.map +1 -1
  696. package/react/Notifications/index.d.ts +2 -2
  697. package/react/Notifications/index.js +1 -1
  698. package/react/Notifications/index.js.map +1 -1
  699. package/react/OpenInNew/index.d.ts +2 -2
  700. package/react/OpenInNew/index.js +1 -1
  701. package/react/OpenInNew/index.js.map +1 -1
  702. package/react/Opportunity/index.d.ts +2 -2
  703. package/react/Opportunity/index.js +1 -1
  704. package/react/Opportunity/index.js.map +1 -1
  705. package/react/Order/index.d.ts +2 -2
  706. package/react/Order/index.js +1 -1
  707. package/react/Order/index.js.map +1 -1
  708. package/react/Partner/index.d.ts +2 -2
  709. package/react/Partner/index.js +1 -1
  710. package/react/Partner/index.js.map +1 -1
  711. package/react/Price/index.d.ts +2 -2
  712. package/react/Price/index.js +1 -1
  713. package/react/Price/index.js.map +1 -1
  714. package/react/Product/index.d.ts +2 -2
  715. package/react/Product/index.js +1 -1
  716. package/react/Product/index.js.map +1 -1
  717. package/react/Refresh/index.d.ts +2 -2
  718. package/react/Refresh/index.js +1 -1
  719. package/react/Refresh/index.js.map +1 -1
  720. package/react/Relations/index.d.ts +2 -2
  721. package/react/Relations/index.js +1 -1
  722. package/react/Relations/index.js.map +1 -1
  723. package/react/Search/index.d.ts +2 -2
  724. package/react/Search/index.js +1 -1
  725. package/react/Search/index.js.map +1 -1
  726. package/react/Settings/index.d.ts +2 -2
  727. package/react/Settings/index.js +1 -1
  728. package/react/Settings/index.js.map +1 -1
  729. package/react/Share/index.d.ts +2 -2
  730. package/react/Share/index.js +1 -1
  731. package/react/Share/index.js.map +1 -1
  732. package/react/Sort/index.d.ts +4 -0
  733. package/react/Sort/index.js +2 -0
  734. package/react/Sort/index.js.map +1 -0
  735. package/react/Submission/index.d.ts +2 -2
  736. package/react/Submission/index.js +1 -1
  737. package/react/Submission/index.js.map +1 -1
  738. package/react/Table/index.d.ts +2 -2
  739. package/react/Table/index.js +1 -1
  740. package/react/Table/index.js.map +1 -1
  741. package/react/Tax/index.d.ts +2 -2
  742. package/react/Tax/index.js +1 -1
  743. package/react/Tax/index.js.map +1 -1
  744. package/react/Templates/index.d.ts +2 -2
  745. package/react/Templates/index.js +1 -1
  746. package/react/Templates/index.js.map +1 -1
  747. package/react/Visibility/index.d.ts +2 -2
  748. package/react/Visibility/index.js +1 -1
  749. package/react/Visibility/index.js.map +1 -1
  750. package/react/VisibilityOff/index.d.ts +2 -2
  751. package/react/VisibilityOff/index.js +1 -1
  752. package/react/VisibilityOff/index.js.map +1 -1
  753. package/react/Warning/index.d.ts +2 -2
  754. package/react/Warning/index.js +1 -1
  755. package/react/Warning/index.js.map +1 -1
  756. package/react/Webhook/index.d.ts +2 -2
  757. package/react/Webhook/index.js +1 -1
  758. package/react/Webhook/index.js.map +1 -1
  759. package/react/Workflow/index.d.ts +2 -2
  760. package/react/Workflow/index.js +1 -1
  761. package/react/Workflow/index.js.map +1 -1
  762. package/react/common.d.ts +2 -0
  763. package/react/common.js +2 -0
  764. package/react/common.js.map +1 -0
  765. package/react/index.d.ts +2 -0
  766. package/react/index.js +1 -1
  767. package/react/index.js.map +1 -1
  768. package/react/types.d.ts +3 -7
  769. package/react/types.js +1 -2
  770. package/react/types.js.map +1 -1
  771. package/src/index.ts +3 -0
  772. package/src/react/Account/index.tsx +22 -0
  773. package/src/react/Account/story.stories.tsx +13 -0
  774. package/src/react/Add/index.tsx +22 -0
  775. package/src/react/Add/story.stories.tsx +13 -0
  776. package/src/react/AddCircle/index.tsx +22 -0
  777. package/src/react/AddCircle/story.stories.tsx +13 -0
  778. package/src/react/ArrowLeft/index.tsx +22 -0
  779. package/src/react/ArrowLeft/story.stories.tsx +13 -0
  780. package/src/react/ArrowRight/index.tsx +22 -0
  781. package/src/react/ArrowRight/story.stories.tsx +13 -0
  782. package/src/react/Attributes/index.tsx +22 -0
  783. package/src/react/Attributes/story.stories.tsx +13 -0
  784. package/src/react/Availability/index.tsx +22 -0
  785. package/src/react/Availability/story.stories.tsx +13 -0
  786. package/src/react/Calendar/index.tsx +22 -0
  787. package/src/react/Calendar/story.stories.tsx +13 -0
  788. package/src/react/Check/index.tsx +22 -0
  789. package/src/react/Check/story.stories.tsx +13 -0
  790. package/src/react/CheckCircle/index.tsx +22 -0
  791. package/src/react/CheckCircle/story.stories.tsx +13 -0
  792. package/src/react/Close/index.tsx +22 -0
  793. package/src/react/Close/story.stories.tsx +13 -0
  794. package/src/react/Contact/index.tsx +22 -0
  795. package/src/react/Contact/story.stories.tsx +13 -0
  796. package/src/react/ContentCopy/index.tsx +22 -0
  797. package/src/react/ContentCopy/story.stories.tsx +13 -0
  798. package/src/react/Contract/index.tsx +22 -0
  799. package/src/react/Contract/story.stories.tsx +13 -0
  800. package/src/react/Dashboard/index.tsx +22 -0
  801. package/src/react/Dashboard/story.stories.tsx +13 -0
  802. package/src/react/DataObject/index.tsx +22 -0
  803. package/src/react/DataObject/story.stories.tsx +13 -0
  804. package/src/react/Delete/index.tsx +22 -0
  805. package/src/react/Delete/story.stories.tsx +13 -0
  806. package/src/react/Design/index.tsx +22 -0
  807. package/src/react/Design/story.stories.tsx +13 -0
  808. package/src/react/Document/index.tsx +22 -0
  809. package/src/react/Document/story.stories.tsx +13 -0
  810. package/src/react/Download/index.tsx +22 -0
  811. package/src/react/Download/story.stories.tsx +13 -0
  812. package/src/react/DragIndicator/index.tsx +22 -0
  813. package/src/react/DragIndicator/story.stories.tsx +13 -0
  814. package/src/react/Edit/index.tsx +22 -0
  815. package/src/react/Edit/story.stories.tsx +13 -0
  816. package/src/react/Entity/index.tsx +22 -0
  817. package/src/react/Entity/story.stories.tsx +13 -0
  818. package/src/react/Epilot/index.tsx +22 -0
  819. package/src/react/Epilot/story.stories.tsx +13 -0
  820. package/src/react/EpilotIcon.stories.tsx +85 -0
  821. package/src/react/EpilotIcon.tsx +151 -0
  822. package/src/react/Error/index.tsx +22 -0
  823. package/src/react/Error/story.stories.tsx +13 -0
  824. package/src/react/ExpandLess/index.tsx +22 -0
  825. package/src/react/ExpandLess/story.stories.tsx +13 -0
  826. package/src/react/ExpandMore/index.tsx +22 -0
  827. package/src/react/ExpandMore/story.stories.tsx +13 -0
  828. package/src/react/Explore/index.tsx +22 -0
  829. package/src/react/Explore/story.stories.tsx +13 -0
  830. package/src/react/File/index.tsx +22 -0
  831. package/src/react/File/story.stories.tsx +13 -0
  832. package/src/react/Filter/index.tsx +22 -0
  833. package/src/react/Filter/story.stories.tsx +13 -0
  834. package/src/react/Help/index.tsx +22 -0
  835. package/src/react/Help/story.stories.tsx +13 -0
  836. package/src/react/Info/index.tsx +22 -0
  837. package/src/react/Info/story.stories.tsx +13 -0
  838. package/src/react/Journey/index.tsx +22 -0
  839. package/src/react/Journey/story.stories.tsx +13 -0
  840. package/src/react/Link/index.tsx +22 -0
  841. package/src/react/Link/story.stories.tsx +13 -0
  842. package/src/react/Lock/index.tsx +22 -0
  843. package/src/react/Lock/story.stories.tsx +13 -0
  844. package/src/react/LockOpen/index.tsx +22 -0
  845. package/src/react/LockOpen/story.stories.tsx +13 -0
  846. package/src/react/Login/index.tsx +22 -0
  847. package/src/react/Login/story.stories.tsx +13 -0
  848. package/src/react/Logout/index.tsx +22 -0
  849. package/src/react/Logout/story.stories.tsx +13 -0
  850. package/src/react/Menu/index.tsx +22 -0
  851. package/src/react/Menu/story.stories.tsx +13 -0
  852. package/src/react/Message/index.tsx +22 -0
  853. package/src/react/Message/story.stories.tsx +13 -0
  854. package/src/react/Meter/index.tsx +22 -0
  855. package/src/react/Meter/story.stories.tsx +13 -0
  856. package/src/react/Note/index.tsx +22 -0
  857. package/src/react/Note/story.stories.tsx +13 -0
  858. package/src/react/Notifications/index.tsx +22 -0
  859. package/src/react/Notifications/story.stories.tsx +13 -0
  860. package/src/react/OpenInNew/index.tsx +22 -0
  861. package/src/react/OpenInNew/story.stories.tsx +13 -0
  862. package/src/react/Opportunity/index.tsx +22 -0
  863. package/src/react/Opportunity/story.stories.tsx +13 -0
  864. package/src/react/Order/index.tsx +22 -0
  865. package/src/react/Order/story.stories.tsx +13 -0
  866. package/src/react/Partner/index.tsx +22 -0
  867. package/src/react/Partner/story.stories.tsx +13 -0
  868. package/src/react/Price/index.tsx +22 -0
  869. package/src/react/Price/story.stories.tsx +13 -0
  870. package/src/react/Product/index.tsx +22 -0
  871. package/src/react/Product/story.stories.tsx +13 -0
  872. package/src/react/Refresh/index.tsx +22 -0
  873. package/src/react/Refresh/story.stories.tsx +13 -0
  874. package/src/react/Relations/index.tsx +22 -0
  875. package/src/react/Relations/story.stories.tsx +13 -0
  876. package/src/react/Search/index.tsx +22 -0
  877. package/src/react/Search/story.stories.tsx +13 -0
  878. package/src/react/Settings/index.tsx +22 -0
  879. package/src/react/Settings/story.stories.tsx +13 -0
  880. package/src/react/Share/index.tsx +22 -0
  881. package/src/react/Share/story.stories.tsx +13 -0
  882. package/src/react/Sort/index.tsx +22 -0
  883. package/src/react/Sort/story.stories.tsx +13 -0
  884. package/src/react/Submission/index.tsx +22 -0
  885. package/src/react/Submission/story.stories.tsx +13 -0
  886. package/src/react/Table/index.tsx +22 -0
  887. package/src/react/Table/story.stories.tsx +13 -0
  888. package/src/react/Tax/index.tsx +22 -0
  889. package/src/react/Tax/story.stories.tsx +13 -0
  890. package/src/react/Templates/index.tsx +22 -0
  891. package/src/react/Templates/story.stories.tsx +13 -0
  892. package/src/react/Visibility/index.tsx +22 -0
  893. package/src/react/Visibility/story.stories.tsx +13 -0
  894. package/src/react/VisibilityOff/index.tsx +22 -0
  895. package/src/react/VisibilityOff/story.stories.tsx +13 -0
  896. package/src/react/Warning/index.tsx +22 -0
  897. package/src/react/Warning/story.stories.tsx +13 -0
  898. package/src/react/Webhook/index.tsx +22 -0
  899. package/src/react/Webhook/story.stories.tsx +13 -0
  900. package/src/react/Workflow/index.tsx +22 -0
  901. package/src/react/Workflow/story.stories.tsx +13 -0
  902. package/src/react/common.ts +8 -0
  903. package/src/react/index.ts +66 -0
  904. package/src/react/types.ts +5 -0
  905. package/src/stories/Readme.mdx +69 -0
  906. package/src/stories/SVGExample.stories.tsx +55 -0
  907. package/src/stories/SVGExample.tsx +10 -0
  908. package/src/stories/Search.mdx +8 -0
  909. package/src/stories/SearchComponent.css +48 -0
  910. package/src/stories/SearchComponent.tsx +89 -0
  911. package/src/stories/util.ts +37 -0
  912. package/src/svg/Account/icon-fill.svg +1 -0
  913. package/src/svg/Account/icon.svg +1 -0
  914. package/src/svg/Account/index.ts +12 -0
  915. package/src/svg/Add/icon-fill.svg +1 -0
  916. package/src/svg/Add/icon.svg +1 -0
  917. package/src/svg/Add/index.ts +12 -0
  918. package/src/svg/AddCircle/icon-fill.svg +1 -0
  919. package/src/svg/AddCircle/icon.svg +1 -0
  920. package/src/svg/AddCircle/index.ts +12 -0
  921. package/src/svg/ArrowLeft/icon-fill.svg +1 -0
  922. package/src/svg/ArrowLeft/icon.svg +1 -0
  923. package/src/svg/ArrowLeft/index.ts +12 -0
  924. package/src/svg/ArrowRight/icon-fill.svg +1 -0
  925. package/src/svg/ArrowRight/icon.svg +1 -0
  926. package/src/svg/ArrowRight/index.ts +12 -0
  927. package/src/svg/Attributes/icon-fill.svg +1 -0
  928. package/src/svg/Attributes/icon.svg +1 -0
  929. package/src/svg/Attributes/index.ts +12 -0
  930. package/src/svg/Availability/icon-fill.svg +1 -0
  931. package/src/svg/Availability/icon.svg +1 -0
  932. package/src/svg/Availability/index.ts +12 -0
  933. package/src/svg/Calendar/icon-fill.svg +1 -0
  934. package/src/svg/Calendar/icon.svg +1 -0
  935. package/src/svg/Calendar/index.ts +12 -0
  936. package/src/svg/Check/icon-fill.svg +1 -0
  937. package/src/svg/Check/icon.svg +1 -0
  938. package/src/svg/Check/index.ts +12 -0
  939. package/src/svg/CheckCircle/icon-fill.svg +1 -0
  940. package/src/svg/CheckCircle/icon.svg +1 -0
  941. package/src/svg/CheckCircle/index.ts +12 -0
  942. package/src/svg/Close/icon-fill.svg +1 -0
  943. package/src/svg/Close/icon.svg +1 -0
  944. package/src/svg/Close/index.ts +12 -0
  945. package/src/svg/Contact/icon-fill.svg +1 -0
  946. package/src/svg/Contact/icon.svg +1 -0
  947. package/src/svg/Contact/index.ts +12 -0
  948. package/src/svg/ContentCopy/icon-fill.svg +1 -0
  949. package/src/svg/ContentCopy/icon.svg +1 -0
  950. package/src/svg/ContentCopy/index.ts +12 -0
  951. package/src/svg/Contract/icon-fill.svg +1 -0
  952. package/src/svg/Contract/icon.svg +1 -0
  953. package/src/svg/Contract/index.ts +12 -0
  954. package/src/svg/Dashboard/icon-fill.svg +1 -0
  955. package/src/svg/Dashboard/icon.svg +1 -0
  956. package/src/svg/Dashboard/index.ts +12 -0
  957. package/src/svg/DataObject/icon-fill.svg +1 -0
  958. package/src/svg/DataObject/icon.svg +1 -0
  959. package/src/svg/DataObject/index.ts +12 -0
  960. package/src/svg/Delete/icon-fill.svg +1 -0
  961. package/src/svg/Delete/icon.svg +1 -0
  962. package/src/svg/Delete/index.ts +12 -0
  963. package/src/svg/Design/icon-fill.svg +1 -0
  964. package/src/svg/Design/icon.svg +1 -0
  965. package/src/svg/Design/index.ts +12 -0
  966. package/src/svg/Document/icon-fill.svg +1 -0
  967. package/src/svg/Document/icon.svg +1 -0
  968. package/src/svg/Document/index.ts +12 -0
  969. package/src/svg/Download/icon-fill.svg +1 -0
  970. package/src/svg/Download/icon.svg +1 -0
  971. package/src/svg/Download/index.ts +12 -0
  972. package/src/svg/DragIndicator/icon-fill.svg +1 -0
  973. package/src/svg/DragIndicator/icon.svg +1 -0
  974. package/src/svg/DragIndicator/index.ts +12 -0
  975. package/src/svg/Edit/icon-fill.svg +1 -0
  976. package/src/svg/Edit/icon.svg +1 -0
  977. package/src/svg/Edit/index.ts +12 -0
  978. package/src/svg/Entity/icon-fill.svg +1 -0
  979. package/src/svg/Entity/icon.svg +1 -0
  980. package/src/svg/Entity/index.ts +12 -0
  981. package/src/svg/Epilot/icon-fill.svg +11 -0
  982. package/src/svg/Epilot/icon.svg +11 -0
  983. package/src/svg/Epilot/index.ts +12 -0
  984. package/src/svg/Error/icon-fill.svg +1 -0
  985. package/src/svg/Error/icon.svg +1 -0
  986. package/src/svg/Error/index.ts +12 -0
  987. package/src/svg/ExpandLess/icon-fill.svg +1 -0
  988. package/src/svg/ExpandLess/icon.svg +1 -0
  989. package/src/svg/ExpandLess/index.ts +12 -0
  990. package/src/svg/ExpandMore/icon-fill.svg +1 -0
  991. package/src/svg/ExpandMore/icon.svg +1 -0
  992. package/src/svg/ExpandMore/index.ts +12 -0
  993. package/src/svg/Explore/icon-fill.svg +1 -0
  994. package/src/svg/Explore/icon.svg +1 -0
  995. package/src/svg/Explore/index.ts +12 -0
  996. package/src/svg/File/icon-fill.svg +1 -0
  997. package/src/svg/File/icon.svg +1 -0
  998. package/src/svg/File/index.ts +12 -0
  999. package/src/svg/Filter/icon-fill.svg +1 -0
  1000. package/src/svg/Filter/icon.svg +1 -0
  1001. package/src/svg/Filter/index.ts +12 -0
  1002. package/src/svg/Help/icon-fill.svg +1 -0
  1003. package/src/svg/Help/icon.svg +1 -0
  1004. package/src/svg/Help/index.ts +12 -0
  1005. package/src/svg/Info/icon-fill.svg +1 -0
  1006. package/src/svg/Info/icon.svg +1 -0
  1007. package/src/svg/Info/index.ts +12 -0
  1008. package/src/svg/Journey/icon-fill.svg +1 -0
  1009. package/src/svg/Journey/icon.svg +1 -0
  1010. package/src/svg/Journey/index.ts +12 -0
  1011. package/src/svg/Link/icon-fill.svg +1 -0
  1012. package/src/svg/Link/icon.svg +1 -0
  1013. package/src/svg/Link/index.ts +12 -0
  1014. package/src/svg/Lock/icon-fill.svg +1 -0
  1015. package/src/svg/Lock/icon.svg +1 -0
  1016. package/src/svg/Lock/index.ts +12 -0
  1017. package/src/svg/LockOpen/icon-fill.svg +1 -0
  1018. package/src/svg/LockOpen/icon.svg +1 -0
  1019. package/src/svg/LockOpen/index.ts +12 -0
  1020. package/src/svg/Login/icon-fill.svg +1 -0
  1021. package/src/svg/Login/icon.svg +1 -0
  1022. package/src/svg/Login/index.ts +12 -0
  1023. package/src/svg/Logout/icon-fill.svg +1 -0
  1024. package/src/svg/Logout/icon.svg +1 -0
  1025. package/src/svg/Logout/index.ts +12 -0
  1026. package/src/svg/Menu/icon-fill.svg +1 -0
  1027. package/src/svg/Menu/icon.svg +1 -0
  1028. package/src/svg/Menu/index.ts +12 -0
  1029. package/src/svg/Message/icon-fill.svg +1 -0
  1030. package/src/svg/Message/icon.svg +1 -0
  1031. package/src/svg/Message/index.ts +12 -0
  1032. package/src/svg/Meter/icon-fill.svg +1 -0
  1033. package/src/svg/Meter/icon.svg +1 -0
  1034. package/src/svg/Meter/index.ts +12 -0
  1035. package/src/svg/Note/icon-fill.svg +1 -0
  1036. package/src/svg/Note/icon.svg +1 -0
  1037. package/src/svg/Note/index.ts +12 -0
  1038. package/src/svg/Notifications/icon-fill.svg +1 -0
  1039. package/src/svg/Notifications/icon.svg +1 -0
  1040. package/src/svg/Notifications/index.ts +12 -0
  1041. package/src/svg/OpenInNew/icon-fill.svg +1 -0
  1042. package/src/svg/OpenInNew/icon.svg +1 -0
  1043. package/src/svg/OpenInNew/index.ts +12 -0
  1044. package/src/svg/Opportunity/icon-fill.svg +1 -0
  1045. package/src/svg/Opportunity/icon.svg +1 -0
  1046. package/src/svg/Opportunity/index.ts +12 -0
  1047. package/src/svg/Order/icon-fill.svg +1 -0
  1048. package/src/svg/Order/icon.svg +1 -0
  1049. package/src/svg/Order/index.ts +12 -0
  1050. package/src/svg/Partner/icon-fill.svg +1 -0
  1051. package/src/svg/Partner/icon.svg +1 -0
  1052. package/src/svg/Partner/index.ts +12 -0
  1053. package/src/svg/Price/icon-fill.svg +1 -0
  1054. package/src/svg/Price/icon.svg +1 -0
  1055. package/src/svg/Price/index.ts +12 -0
  1056. package/src/svg/Product/icon-fill.svg +1 -0
  1057. package/src/svg/Product/icon.svg +1 -0
  1058. package/src/svg/Product/index.ts +12 -0
  1059. package/src/svg/Refresh/icon-fill.svg +1 -0
  1060. package/src/svg/Refresh/icon.svg +1 -0
  1061. package/src/svg/Refresh/index.ts +12 -0
  1062. package/src/svg/Relations/icon-fill.svg +1 -0
  1063. package/src/svg/Relations/icon.svg +1 -0
  1064. package/src/svg/Relations/index.ts +12 -0
  1065. package/src/svg/Search/icon-fill.svg +1 -0
  1066. package/src/svg/Search/icon.svg +1 -0
  1067. package/src/svg/Search/index.ts +12 -0
  1068. package/src/svg/Settings/icon-fill.svg +1 -0
  1069. package/src/svg/Settings/icon.svg +1 -0
  1070. package/src/svg/Settings/index.ts +12 -0
  1071. package/src/svg/Share/icon-fill.svg +1 -0
  1072. package/src/svg/Share/icon.svg +1 -0
  1073. package/src/svg/Share/index.ts +12 -0
  1074. package/src/svg/Sort/icon-fill.svg +1 -0
  1075. package/src/svg/Sort/icon.svg +1 -0
  1076. package/src/svg/Sort/index.ts +12 -0
  1077. package/src/svg/Submission/icon-fill.svg +1 -0
  1078. package/src/svg/Submission/icon.svg +1 -0
  1079. package/src/svg/Submission/index.ts +12 -0
  1080. package/src/svg/Table/icon-fill.svg +1 -0
  1081. package/src/svg/Table/icon.svg +1 -0
  1082. package/src/svg/Table/index.ts +12 -0
  1083. package/src/svg/Tax/icon-fill.svg +1 -0
  1084. package/src/svg/Tax/icon.svg +1 -0
  1085. package/src/svg/Tax/index.ts +12 -0
  1086. package/src/svg/Templates/icon-fill.svg +1 -0
  1087. package/src/svg/Templates/icon.svg +1 -0
  1088. package/src/svg/Templates/index.ts +12 -0
  1089. package/src/svg/Visibility/icon-fill.svg +1 -0
  1090. package/src/svg/Visibility/icon.svg +1 -0
  1091. package/src/svg/Visibility/index.ts +12 -0
  1092. package/src/svg/VisibilityOff/icon-fill.svg +1 -0
  1093. package/src/svg/VisibilityOff/icon.svg +1 -0
  1094. package/src/svg/VisibilityOff/index.ts +12 -0
  1095. package/src/svg/Warning/icon-fill.svg +1 -0
  1096. package/src/svg/Warning/icon.svg +1 -0
  1097. package/src/svg/Warning/index.ts +12 -0
  1098. package/src/svg/Webhook/icon-fill.svg +1 -0
  1099. package/src/svg/Webhook/icon.svg +1 -0
  1100. package/src/svg/Webhook/index.ts +12 -0
  1101. package/src/svg/Workflow/icon-fill.svg +1 -0
  1102. package/src/svg/Workflow/icon.svg +1 -0
  1103. package/src/svg/Workflow/index.ts +12 -0
  1104. package/src/svg/index.ts +66 -0
  1105. package/src/svg/svgIcon.ts +175 -0
  1106. package/src/svg-module.d.ts +6 -0
  1107. package/src/types.ts +19 -0
  1108. package/svg/Account/icon-fill.svg +1 -1
  1109. package/svg/Account/icon.svg +1 -1
  1110. package/svg/Account/index.d.ts +2 -2
  1111. package/svg/Account/index.js +1 -1
  1112. package/svg/Account/index.js.map +1 -1
  1113. package/svg/Add/icon-fill.svg +1 -1
  1114. package/svg/Add/icon.svg +1 -1
  1115. package/svg/Add/index.d.ts +2 -2
  1116. package/svg/Add/index.js +1 -1
  1117. package/svg/Add/index.js.map +1 -1
  1118. package/svg/AddCircle/icon-fill.svg +1 -1
  1119. package/svg/AddCircle/icon.svg +1 -1
  1120. package/svg/AddCircle/index.d.ts +2 -2
  1121. package/svg/AddCircle/index.js +1 -1
  1122. package/svg/AddCircle/index.js.map +1 -1
  1123. package/svg/ArrowLeft/icon-fill.svg +1 -1
  1124. package/svg/ArrowLeft/icon.svg +1 -1
  1125. package/svg/ArrowLeft/index.d.ts +2 -2
  1126. package/svg/ArrowLeft/index.js +1 -1
  1127. package/svg/ArrowLeft/index.js.map +1 -1
  1128. package/svg/ArrowRight/icon-fill.svg +1 -1
  1129. package/svg/ArrowRight/icon.svg +1 -1
  1130. package/svg/ArrowRight/index.d.ts +2 -2
  1131. package/svg/ArrowRight/index.js +1 -1
  1132. package/svg/ArrowRight/index.js.map +1 -1
  1133. package/svg/Attributes/index.d.ts +2 -2
  1134. package/svg/Attributes/index.js.map +1 -1
  1135. package/svg/Availability/icon-fill.svg +1 -1
  1136. package/svg/Availability/icon.svg +1 -1
  1137. package/svg/Availability/index.d.ts +2 -2
  1138. package/svg/Availability/index.js +1 -1
  1139. package/svg/Availability/index.js.map +1 -1
  1140. package/svg/Calendar/icon-fill.svg +1 -1
  1141. package/svg/Calendar/icon.svg +1 -1
  1142. package/svg/Calendar/index.d.ts +2 -2
  1143. package/svg/Calendar/index.js +1 -1
  1144. package/svg/Calendar/index.js.map +1 -1
  1145. package/svg/Check/icon-fill.svg +1 -1
  1146. package/svg/Check/icon.svg +1 -1
  1147. package/svg/Check/index.d.ts +2 -2
  1148. package/svg/Check/index.js +1 -1
  1149. package/svg/Check/index.js.map +1 -1
  1150. package/svg/CheckCircle/icon-fill.svg +1 -1
  1151. package/svg/CheckCircle/icon.svg +1 -1
  1152. package/svg/CheckCircle/index.d.ts +2 -2
  1153. package/svg/CheckCircle/index.js +1 -1
  1154. package/svg/CheckCircle/index.js.map +1 -1
  1155. package/svg/Close/icon-fill.svg +1 -1
  1156. package/svg/Close/icon.svg +1 -1
  1157. package/svg/Close/index.d.ts +2 -2
  1158. package/svg/Close/index.js +1 -1
  1159. package/svg/Close/index.js.map +1 -1
  1160. package/svg/Contact/icon-fill.svg +1 -1
  1161. package/svg/Contact/icon.svg +1 -1
  1162. package/svg/Contact/index.d.ts +2 -2
  1163. package/svg/Contact/index.js +1 -1
  1164. package/svg/Contact/index.js.map +1 -1
  1165. package/svg/ContentCopy/icon-fill.svg +1 -1
  1166. package/svg/ContentCopy/icon.svg +1 -1
  1167. package/svg/ContentCopy/index.d.ts +2 -2
  1168. package/svg/ContentCopy/index.js +1 -1
  1169. package/svg/ContentCopy/index.js.map +1 -1
  1170. package/svg/Contract/icon-fill.svg +1 -1
  1171. package/svg/Contract/icon.svg +1 -1
  1172. package/svg/Contract/index.d.ts +2 -2
  1173. package/svg/Contract/index.js +1 -1
  1174. package/svg/Contract/index.js.map +1 -1
  1175. package/svg/Dashboard/index.d.ts +2 -2
  1176. package/svg/Dashboard/index.js.map +1 -1
  1177. package/svg/DataObject/icon-fill.svg +1 -1
  1178. package/svg/DataObject/icon.svg +1 -1
  1179. package/svg/DataObject/index.d.ts +2 -2
  1180. package/svg/DataObject/index.js +1 -1
  1181. package/svg/DataObject/index.js.map +1 -1
  1182. package/svg/Delete/icon-fill.svg +1 -1
  1183. package/svg/Delete/icon.svg +1 -1
  1184. package/svg/Delete/index.d.ts +2 -2
  1185. package/svg/Delete/index.js +1 -1
  1186. package/svg/Delete/index.js.map +1 -1
  1187. package/svg/Design/icon-fill.svg +1 -1
  1188. package/svg/Design/icon.svg +1 -1
  1189. package/svg/Design/index.d.ts +2 -2
  1190. package/svg/Design/index.js +1 -1
  1191. package/svg/Design/index.js.map +1 -1
  1192. package/svg/Document/icon-fill.svg +1 -1
  1193. package/svg/Document/icon.svg +1 -1
  1194. package/svg/Document/index.d.ts +2 -2
  1195. package/svg/Document/index.js +1 -1
  1196. package/svg/Document/index.js.map +1 -1
  1197. package/svg/Download/icon-fill.svg +1 -1
  1198. package/svg/Download/icon.svg +1 -1
  1199. package/svg/Download/index.d.ts +2 -2
  1200. package/svg/Download/index.js +1 -1
  1201. package/svg/Download/index.js.map +1 -1
  1202. package/svg/DragIndicator/index.d.ts +2 -2
  1203. package/svg/DragIndicator/index.js.map +1 -1
  1204. package/svg/Edit/icon-fill.svg +1 -1
  1205. package/svg/Edit/icon.svg +1 -1
  1206. package/svg/Edit/index.d.ts +2 -2
  1207. package/svg/Edit/index.js +1 -1
  1208. package/svg/Edit/index.js.map +1 -1
  1209. package/svg/Entity/index.d.ts +2 -2
  1210. package/svg/Entity/index.js.map +1 -1
  1211. package/svg/Epilot/index.d.ts +2 -2
  1212. package/svg/Epilot/index.js.map +1 -1
  1213. package/svg/Error/icon-fill.svg +1 -1
  1214. package/svg/Error/icon.svg +1 -1
  1215. package/svg/Error/index.d.ts +2 -2
  1216. package/svg/Error/index.js +1 -1
  1217. package/svg/Error/index.js.map +1 -1
  1218. package/svg/ExpandLess/icon-fill.svg +1 -1
  1219. package/svg/ExpandLess/icon.svg +1 -1
  1220. package/svg/ExpandLess/index.d.ts +2 -2
  1221. package/svg/ExpandLess/index.js +1 -1
  1222. package/svg/ExpandLess/index.js.map +1 -1
  1223. package/svg/ExpandMore/icon-fill.svg +1 -1
  1224. package/svg/ExpandMore/icon.svg +1 -1
  1225. package/svg/ExpandMore/index.d.ts +2 -2
  1226. package/svg/ExpandMore/index.js +1 -1
  1227. package/svg/ExpandMore/index.js.map +1 -1
  1228. package/svg/Explore/icon-fill.svg +1 -1
  1229. package/svg/Explore/icon.svg +1 -1
  1230. package/svg/Explore/index.d.ts +2 -2
  1231. package/svg/Explore/index.js +1 -1
  1232. package/svg/Explore/index.js.map +1 -1
  1233. package/svg/File/icon-fill.svg +1 -1
  1234. package/svg/File/icon.svg +1 -1
  1235. package/svg/File/index.d.ts +2 -2
  1236. package/svg/File/index.js +1 -1
  1237. package/svg/File/index.js.map +1 -1
  1238. package/svg/Filter/icon-fill.svg +1 -0
  1239. package/svg/Filter/icon.svg +1 -0
  1240. package/svg/Filter/index.d.ts +3 -0
  1241. package/svg/Filter/index.js +2 -0
  1242. package/svg/Filter/index.js.map +1 -0
  1243. package/svg/Help/icon-fill.svg +1 -1
  1244. package/svg/Help/icon.svg +1 -1
  1245. package/svg/Help/index.d.ts +2 -2
  1246. package/svg/Help/index.js +1 -1
  1247. package/svg/Help/index.js.map +1 -1
  1248. package/svg/Info/icon-fill.svg +1 -1
  1249. package/svg/Info/icon.svg +1 -1
  1250. package/svg/Info/index.d.ts +2 -2
  1251. package/svg/Info/index.js +1 -1
  1252. package/svg/Info/index.js.map +1 -1
  1253. package/svg/Journey/index.d.ts +2 -2
  1254. package/svg/Journey/index.js.map +1 -1
  1255. package/svg/Link/icon-fill.svg +1 -1
  1256. package/svg/Link/icon.svg +1 -1
  1257. package/svg/Link/index.d.ts +2 -2
  1258. package/svg/Link/index.js +1 -1
  1259. package/svg/Link/index.js.map +1 -1
  1260. package/svg/Lock/index.d.ts +2 -2
  1261. package/svg/Lock/index.js.map +1 -1
  1262. package/svg/LockOpen/icon-fill.svg +1 -1
  1263. package/svg/LockOpen/icon.svg +1 -1
  1264. package/svg/LockOpen/index.d.ts +2 -2
  1265. package/svg/LockOpen/index.js +1 -1
  1266. package/svg/LockOpen/index.js.map +1 -1
  1267. package/svg/Login/icon-fill.svg +1 -1
  1268. package/svg/Login/icon.svg +1 -1
  1269. package/svg/Login/index.d.ts +2 -2
  1270. package/svg/Login/index.js +1 -1
  1271. package/svg/Login/index.js.map +1 -1
  1272. package/svg/Logout/icon-fill.svg +1 -1
  1273. package/svg/Logout/icon.svg +1 -1
  1274. package/svg/Logout/index.d.ts +2 -2
  1275. package/svg/Logout/index.js +1 -1
  1276. package/svg/Logout/index.js.map +1 -1
  1277. package/svg/Menu/icon-fill.svg +1 -1
  1278. package/svg/Menu/icon.svg +1 -1
  1279. package/svg/Menu/index.d.ts +2 -2
  1280. package/svg/Menu/index.js +1 -1
  1281. package/svg/Menu/index.js.map +1 -1
  1282. package/svg/Message/icon-fill.svg +1 -1
  1283. package/svg/Message/icon.svg +1 -1
  1284. package/svg/Message/index.d.ts +2 -2
  1285. package/svg/Message/index.js +1 -1
  1286. package/svg/Message/index.js.map +1 -1
  1287. package/svg/Meter/icon-fill.svg +1 -1
  1288. package/svg/Meter/icon.svg +1 -1
  1289. package/svg/Meter/index.d.ts +2 -2
  1290. package/svg/Meter/index.js +1 -1
  1291. package/svg/Meter/index.js.map +1 -1
  1292. package/svg/Note/icon-fill.svg +1 -1
  1293. package/svg/Note/icon.svg +1 -1
  1294. package/svg/Note/index.d.ts +2 -2
  1295. package/svg/Note/index.js +1 -1
  1296. package/svg/Note/index.js.map +1 -1
  1297. package/svg/Notifications/icon-fill.svg +1 -1
  1298. package/svg/Notifications/icon.svg +1 -1
  1299. package/svg/Notifications/index.d.ts +2 -2
  1300. package/svg/Notifications/index.js +1 -1
  1301. package/svg/Notifications/index.js.map +1 -1
  1302. package/svg/OpenInNew/icon-fill.svg +1 -1
  1303. package/svg/OpenInNew/icon.svg +1 -1
  1304. package/svg/OpenInNew/index.d.ts +2 -2
  1305. package/svg/OpenInNew/index.js +1 -1
  1306. package/svg/OpenInNew/index.js.map +1 -1
  1307. package/svg/Opportunity/icon-fill.svg +1 -1
  1308. package/svg/Opportunity/icon.svg +1 -1
  1309. package/svg/Opportunity/index.d.ts +2 -2
  1310. package/svg/Opportunity/index.js +1 -1
  1311. package/svg/Opportunity/index.js.map +1 -1
  1312. package/svg/Order/icon-fill.svg +1 -1
  1313. package/svg/Order/icon.svg +1 -1
  1314. package/svg/Order/index.d.ts +2 -2
  1315. package/svg/Order/index.js +1 -1
  1316. package/svg/Order/index.js.map +1 -1
  1317. package/svg/Partner/index.d.ts +2 -2
  1318. package/svg/Partner/index.js.map +1 -1
  1319. package/svg/Price/index.d.ts +2 -2
  1320. package/svg/Price/index.js.map +1 -1
  1321. package/svg/Product/icon-fill.svg +1 -1
  1322. package/svg/Product/icon.svg +1 -1
  1323. package/svg/Product/index.d.ts +2 -2
  1324. package/svg/Product/index.js +1 -1
  1325. package/svg/Product/index.js.map +1 -1
  1326. package/svg/Refresh/icon-fill.svg +1 -1
  1327. package/svg/Refresh/icon.svg +1 -1
  1328. package/svg/Refresh/index.d.ts +2 -2
  1329. package/svg/Refresh/index.js +1 -1
  1330. package/svg/Refresh/index.js.map +1 -1
  1331. package/svg/Relations/index.d.ts +2 -2
  1332. package/svg/Relations/index.js.map +1 -1
  1333. package/svg/Search/icon-fill.svg +1 -1
  1334. package/svg/Search/icon.svg +1 -1
  1335. package/svg/Search/index.d.ts +2 -2
  1336. package/svg/Search/index.js +1 -1
  1337. package/svg/Search/index.js.map +1 -1
  1338. package/svg/Settings/icon-fill.svg +1 -1
  1339. package/svg/Settings/icon.svg +1 -1
  1340. package/svg/Settings/index.d.ts +2 -2
  1341. package/svg/Settings/index.js +1 -1
  1342. package/svg/Settings/index.js.map +1 -1
  1343. package/svg/Share/index.d.ts +2 -2
  1344. package/svg/Share/index.js.map +1 -1
  1345. package/svg/Sort/icon-fill.svg +1 -0
  1346. package/svg/Sort/icon.svg +1 -0
  1347. package/svg/Sort/index.d.ts +3 -0
  1348. package/svg/Sort/index.js +2 -0
  1349. package/svg/Sort/index.js.map +1 -0
  1350. package/svg/Submission/icon-fill.svg +1 -1
  1351. package/svg/Submission/icon.svg +1 -1
  1352. package/svg/Submission/index.d.ts +2 -2
  1353. package/svg/Submission/index.js +1 -1
  1354. package/svg/Submission/index.js.map +1 -1
  1355. package/svg/Table/index.d.ts +2 -2
  1356. package/svg/Table/index.js.map +1 -1
  1357. package/svg/Tax/icon-fill.svg +1 -1
  1358. package/svg/Tax/icon.svg +1 -1
  1359. package/svg/Tax/index.d.ts +2 -2
  1360. package/svg/Tax/index.js +1 -1
  1361. package/svg/Tax/index.js.map +1 -1
  1362. package/svg/Templates/index.d.ts +2 -2
  1363. package/svg/Templates/index.js.map +1 -1
  1364. package/svg/Visibility/icon-fill.svg +1 -1
  1365. package/svg/Visibility/icon.svg +1 -1
  1366. package/svg/Visibility/index.d.ts +2 -2
  1367. package/svg/Visibility/index.js +1 -1
  1368. package/svg/Visibility/index.js.map +1 -1
  1369. package/svg/VisibilityOff/icon-fill.svg +1 -1
  1370. package/svg/VisibilityOff/icon.svg +1 -1
  1371. package/svg/VisibilityOff/index.d.ts +2 -2
  1372. package/svg/VisibilityOff/index.js +1 -1
  1373. package/svg/VisibilityOff/index.js.map +1 -1
  1374. package/svg/Warning/icon-fill.svg +1 -1
  1375. package/svg/Warning/icon.svg +1 -1
  1376. package/svg/Warning/index.d.ts +2 -2
  1377. package/svg/Warning/index.js +1 -1
  1378. package/svg/Warning/index.js.map +1 -1
  1379. package/svg/Webhook/icon-fill.svg +1 -1
  1380. package/svg/Webhook/icon.svg +1 -1
  1381. package/svg/Webhook/index.d.ts +2 -2
  1382. package/svg/Webhook/index.js +1 -1
  1383. package/svg/Webhook/index.js.map +1 -1
  1384. package/svg/Workflow/icon-fill.svg +1 -1
  1385. package/svg/Workflow/icon.svg +1 -1
  1386. package/svg/Workflow/index.d.ts +2 -2
  1387. package/svg/Workflow/index.js +1 -1
  1388. package/svg/Workflow/index.js.map +1 -1
  1389. package/svg/index.d.ts +2 -0
  1390. package/svg/index.js +1 -1
  1391. package/svg/index.js.map +1 -1
  1392. package/svg/svgIcon.d.ts +67 -67
  1393. package/svg/svgIcon.js +1 -1
  1394. package/svg/svgIcon.js.map +1 -1
  1395. package/tsconfig.json +34 -0
  1396. package/types.d.ts +19 -0
  1397. package/types.js +1 -0
  1398. package/types.js.map +1 -0
  1399. package/webpack.config-cjs.js +64 -0
  1400. package/webpack.config.js +30 -0
  1401. package/yarn-error.log +10867 -0
  1402. package/yarn.lock +10904 -0
  1403. package/svg/types.d.ts +0 -3
  1404. /package/{svg → build/react}/types.js +0 -0
@@ -0,0 +1,102 @@
1
+ #!/usr/bin/env -S node -r ts-node/register
2
+ import fs from 'fs';
3
+ import path from 'path';
4
+
5
+ import ejs from 'ejs';
6
+ import YAML from 'js-yaml';
7
+
8
+ const ROOT_DIR = path.join(__dirname, '..');
9
+ const SRC_DIR = path.join(ROOT_DIR, 'src');
10
+ const TEMPLATE_DIR = path.join(__dirname, 'templates');
11
+
12
+ interface IconConfig {
13
+ [Icon: string]: {
14
+ name: string;
15
+ tags: string[];
16
+ aliases: string[];
17
+ svg_import: string;
18
+ };
19
+ }
20
+
21
+ const main = async () => {
22
+ const iconsConfig = YAML.load(fs.readFileSync(path.join(ROOT_DIR, 'icons.config.yaml')).toString()) as IconConfig;
23
+
24
+ const icons = Object.entries(iconsConfig).map(([Icon, icon]) => ({
25
+ Icon,
26
+ ...icon,
27
+ svg_import_fill: icon.svg_import?.replace(/.svg$/, '-fill.svg'),
28
+ }));
29
+
30
+ // copy svg files under src/svg/<Component>/icon.svg
31
+ for (const icon of icons) {
32
+ if (icon.svg_import) {
33
+ const svgFile = path.join(SRC_DIR, 'svg', icon.Icon, 'icon.svg');
34
+ const svgFileFill = path.join(SRC_DIR, 'svg', icon.Icon, 'icon-fill.svg');
35
+ fs.mkdirSync(path.dirname(svgFile), { recursive: true });
36
+
37
+ fs.copyFileSync(require.resolve(icon.svg_import), svgFile);
38
+ fs.copyFileSync(require.resolve(icon.svg_import_fill), svgFileFill);
39
+ console.warn('Copied', svgFile);
40
+ console.warn('Copied', svgFileFill);
41
+ }
42
+
43
+ // Generate SVG module
44
+ const svgModuleTemplates = fs.readdirSync(path.join(TEMPLATE_DIR, 'svg', 'module'));
45
+ for (const template of svgModuleTemplates) {
46
+ const templatePath = path.join(TEMPLATE_DIR, 'svg', 'module', template);
47
+ const templateContent = fs.readFileSync(templatePath).toString();
48
+
49
+ const outFile = path.join(SRC_DIR, 'svg', icon.Icon, template.replace('.ejs', ''));
50
+
51
+ fs.mkdirSync(path.dirname(outFile), { recursive: true });
52
+ fs.writeFileSync(outFile, ejs.render(templateContent, icon));
53
+ console.warn('Wrote', outFile);
54
+ }
55
+ }
56
+
57
+ // Generate SVGIcon.ts
58
+ const svgIconComponentTemplate = fs.readFileSync(path.join(TEMPLATE_DIR, 'svg', 'SVGIcon.ts.ejs')).toString();
59
+ const svgIconOutFile = path.join(SRC_DIR, 'svg', 'SVGIcon.ts');
60
+ fs.writeFileSync(svgIconOutFile, ejs.render(svgIconComponentTemplate, { icons }));
61
+ console.warn('Wrote', svgIconOutFile);
62
+
63
+ // Generate index.ts for svg
64
+ const svgIndexTemplate = fs.readFileSync(path.join(TEMPLATE_DIR, 'svg', 'index.ts.ejs')).toString();
65
+ const svgIndexOutFile = path.join(SRC_DIR, 'svg', 'index.ts');
66
+ fs.writeFileSync(svgIndexOutFile, ejs.render(svgIndexTemplate, { icons }));
67
+ console.warn('Wrote', svgIndexOutFile);
68
+
69
+ for (const icon of icons) {
70
+ // Generate react component
71
+ const reactComponentTemplates = fs.readdirSync(path.join(TEMPLATE_DIR, 'react', 'component'));
72
+
73
+ for (const template of reactComponentTemplates) {
74
+ const templatePath = path.join(TEMPLATE_DIR, 'react', 'component', template);
75
+ const templateContent = fs.readFileSync(templatePath).toString();
76
+
77
+ const outFile = path.join(SRC_DIR, 'react', icon.Icon, template.replace('.ejs', ''));
78
+
79
+ fs.mkdirSync(path.dirname(outFile), { recursive: true });
80
+ fs.writeFileSync(outFile, ejs.render(templateContent, icon));
81
+ console.warn('Wrote', outFile);
82
+ }
83
+ }
84
+
85
+ // Generate EpilotIcon.tsx for react
86
+ const epilotIconComponentTemplate = fs
87
+ .readFileSync(path.join(TEMPLATE_DIR, 'react', 'EpilotIcon.tsx.ejs'))
88
+ .toString();
89
+ const epilotIconOutFile = path.join(SRC_DIR, 'react', 'EpilotIcon.tsx');
90
+ fs.writeFileSync(epilotIconOutFile, ejs.render(epilotIconComponentTemplate, { icons }));
91
+ console.warn('Wrote', epilotIconOutFile);
92
+
93
+ // Generate index.ts for react
94
+ const reactIndexTemplate = fs.readFileSync(path.join(TEMPLATE_DIR, 'react', 'index.ts.ejs')).toString();
95
+ const reactIndexOutFile = path.join(SRC_DIR, 'react', 'index.ts');
96
+ fs.writeFileSync(reactIndexOutFile, ejs.render(reactIndexTemplate, { icons }));
97
+ console.warn('Wrote', reactIndexOutFile);
98
+ };
99
+
100
+ if (require.main === module) {
101
+ main();
102
+ }
@@ -0,0 +1,29 @@
1
+ /* eslint-disable import/order */
2
+ import React from 'react';
3
+
4
+ <% icons.forEach((icon) => { -%>
5
+ import { <%= icon.Icon %> } from './<%= icon.Icon %>';
6
+ <% }); %>
7
+
8
+ import type { IconPropsReact } from './types';
9
+
10
+ export const IconComponentsMap = {
11
+ <% icons.forEach((icon) => { -%>
12
+ <%= icon.name %>: <%= icon.Icon %>,
13
+ <% }); %>
14
+ };
15
+
16
+ export type IconName = keyof typeof IconComponentsMap;
17
+ type Props = IconPropsReact & { name: IconName };
18
+
19
+ export const EpilotIcon = (props: Props) => {
20
+ const { name, ...restProps } = props;
21
+
22
+ const iconComponent = IconComponentsMap[name];
23
+
24
+ if (!iconComponent) return null;
25
+
26
+ return React.createElement(iconComponent, restProps);
27
+ };
28
+
29
+ export default EpilotIcon;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+
3
+ import { ReactComponent as Filled } from '../../svg/<%= Icon %>/icon-fill.svg';
4
+ import { ReactComponent as Outlined } from '../../svg/<%= Icon %>/icon.svg';
5
+ import type { IconPropsReact } from '../types';
6
+ import { defaultIconProps } from '../common';
7
+
8
+ const name = '<%= name %>';
9
+
10
+
11
+ export function <%= Icon %>(props: IconPropsReact) {
12
+ const { variant, ...restProps } = {
13
+ ...defaultIconProps,
14
+ ...props,
15
+ };
16
+ const IconComponent = variant === 'outlined' ? Outlined : Filled;
17
+
18
+ const overrides = props.size ? { width: props.size, height: props.size } : {};
19
+
20
+ return <IconComponent aria-label={name} {...restProps} {...overrides} />;
21
+ }
22
+
23
+ export default <%= Icon %>;
@@ -0,0 +1,13 @@
1
+ import { generateStory } from '../../stories/util';
2
+
3
+ import { <%= Icon %> } from '.';
4
+
5
+ const story = generateStory(<%= Icon %>);
6
+
7
+ export default {
8
+ title: 'Icons/<%= Icon %>',
9
+ tags: ['autodocs'],
10
+ ...story.meta,
11
+ };
12
+
13
+ export const Icon = story.story;
@@ -0,0 +1,5 @@
1
+ <% icons.forEach((icon) => { -%>
2
+ export * from './<%= icon.Icon %>';
3
+ <% }); %>
4
+
5
+ export * from './EpilotIcon';
@@ -0,0 +1,5 @@
1
+ <% icons.forEach((icon) => { -%>
2
+ export * from './<%= icon.Icon %>';
3
+ <% }); %>
4
+
5
+ export * from './svgIcon';
@@ -0,0 +1,12 @@
1
+ import type { IconProps } from '../../types';
2
+
3
+ import FilledSVG from './icon-fill.svg';
4
+ import OutlinedSVG from './icon.svg';
5
+
6
+ export const <%= Icon %>SVG = (opts?: IconProps): string => {
7
+ const variant = opts?.variant ?? 'filled';
8
+
9
+ return variant === 'outlined' ? OutlinedSVG : FilledSVG;
10
+ };
11
+
12
+ export default <%= Icon %>SVG;
@@ -0,0 +1,61 @@
1
+ /* eslint-disable import/order */
2
+ <% icons.forEach((icon) => { -%>
3
+ import { <%= icon.Icon %>SVG } from './<%= icon.Icon %>';
4
+ <% }); %>
5
+
6
+ import type { IconProps } from '../types';
7
+
8
+ export const svgMap = {
9
+ <% icons.forEach((icon) => { -%>
10
+ <%= icon.name %>: <%= icon.Icon %>SVG,
11
+ <% }); %>
12
+ };
13
+
14
+ export type IconSVGName = keyof typeof svgMap;
15
+ type Opts = IconProps & {
16
+ name: IconSVGName;
17
+ xclass?: string;
18
+ };
19
+
20
+ const defaultOpts: Opts = {
21
+ name: 'epilot',
22
+ size: 24,
23
+ fill: 'currentColor',
24
+ };
25
+
26
+ export const svgIcon = (opts: Opts) => {
27
+ const {
28
+ name,
29
+ width,
30
+ height,
31
+ size,
32
+ fill,
33
+ xclass,
34
+ ...restOpts
35
+ } = {
36
+ ...defaultOpts,
37
+ ...opts,
38
+ };
39
+
40
+ const svg = svgMap[name];
41
+
42
+ if (!svg) return '';
43
+
44
+ const parser = new DOMParser();
45
+ const document = parser.parseFromString(svg(restOpts), 'image/svg+xml');
46
+
47
+ const svgElement = document.querySelector('svg');
48
+
49
+ if (fill) svgElement.setAttribute('fill', `${fill}`);
50
+ if (xclass) svgElement.setAttribute('class', `${xclass}`);
51
+
52
+ if (width !== undefined && width !== '') svgElement.setAttribute('width', `${width}`);
53
+ if (height !== undefined && height !== '') svgElement.setAttribute('height', `${height}`);
54
+
55
+ if (size) {
56
+ svgElement.setAttribute('width', `${size}`);
57
+ svgElement.setAttribute('height', `${size}`);
58
+ }
59
+
60
+ return document.documentElement.outerHTML;
61
+ };
@@ -0,0 +1,27 @@
1
+ extends:
2
+ - "@epilot/eslint-config"
3
+ ignorePatterns:
4
+ - node_modules
5
+ - dist
6
+ rules:
7
+ "spaced-comment":
8
+ - error
9
+ - always
10
+ - line:
11
+ markers: ["/"]
12
+ exceptions: ["-", "+"]
13
+ block:
14
+ markers: ["!"]
15
+ exceptions: ["*"]
16
+ balanced: true
17
+ "prettier/prettier":
18
+ - error
19
+ - printWidth: 120 # https://hackernoon.com/does-column-width-of-80-make-sense-in-2018-50c161fbdcf6
20
+ trailingComma: all # better diffs, obviously
21
+ bracketSpacing: true # more space = pretty
22
+ semi: true # https://github.com/standard/semistandard
23
+ useTabs: false
24
+ tabWidth: 2
25
+ singleQuote: true
26
+ quoteProps: as-needed
27
+ proseWrap: never
package/iac/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ *.js
2
+ *.d.ts
3
+ cdk.out
package/iac/cdk.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "app": "npx ts-node --prefer-ts-exts ./index.ts",
3
+ "watch": {
4
+ "include": [
5
+ "**"
6
+ ],
7
+ "exclude": [
8
+ "README.md",
9
+ "cdk*.json",
10
+ "**/*.d.ts",
11
+ "**/*.js",
12
+ "tsconfig.json",
13
+ "package*.json",
14
+ "yarn.lock",
15
+ "node_modules",
16
+ "test"
17
+ ]
18
+ },
19
+ "context": {
20
+ "@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
21
+ "@aws-cdk/core:stackRelativeExports": true,
22
+ "@aws-cdk/aws-rds:lowercaseDbIdentifier": true,
23
+ "@aws-cdk/aws-lambda:recognizeVersionProps": true,
24
+ "@aws-cdk/aws-lambda:recognizeLayerVersion": true,
25
+ "@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021": true,
26
+ "@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
27
+ "@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
28
+ "@aws-cdk/core:checkSecretUsage": true,
29
+ "@aws-cdk/aws-iam:minimizePolicies": true,
30
+ "@aws-cdk/aws-ecs:arnFormatIncludesClusterName": true,
31
+ "@aws-cdk/core:validateSnapshotRemovalPolicy": true,
32
+ "@aws-cdk/aws-codepipeline:crossAccountKeyAliasStackSafeResourceName": true,
33
+ "@aws-cdk/aws-s3:createDefaultLoggingPolicy": true,
34
+ "@aws-cdk/aws-sns-subscriptions:restrictSqsDescryption": true,
35
+ "@aws-cdk/aws-apigateway:disableCloudWatchRole": true,
36
+ "@aws-cdk/core:enablePartitionLiterals": true,
37
+ "@aws-cdk/core:target-partitions": [
38
+ "aws",
39
+ "aws-cn"
40
+ ]
41
+ }
42
+ }
package/iac/config.ts ADDED
@@ -0,0 +1,46 @@
1
+ const serviceName = 'epilot360-icons';
2
+ const projectName = 'epilot360-icons';
3
+
4
+ const config = {
5
+ dev: {
6
+ serviceName: `${serviceName}-dev`,
7
+ projectName,
8
+ importBucket: 'epilot360-portal-dev-Bucket',
9
+ importDistributionDomainName: 'epilot360-portal-dev-DistributionDomainName',
10
+ importDistributionId: 'epilot360-portal-dev-DistributionId',
11
+ },
12
+ staging: {
13
+ serviceName: `${serviceName}-staging`,
14
+ projectName,
15
+ importBucket: 'epilot360-portal-staging-Bucket',
16
+ importDistributionDomainName: 'epilot360-portal-staging-DistributionDomainName',
17
+ importDistributionId: 'epilot360-portal-staging-DistributionId',
18
+ },
19
+ prod: {
20
+ serviceName: `${serviceName}-prod`,
21
+ projectName,
22
+ importBucket: 'epilot360-portal-prod-Bucket',
23
+ importDistributionDomainName: 'epilot360-portal-prod-DistributionDomainName',
24
+ importDistributionId: 'epilot360-portal-prod-DistributionId',
25
+ },
26
+ };
27
+
28
+ export type Stage = keyof typeof config;
29
+
30
+ export const getStage = (): Stage => {
31
+ const stageEnv = process.env.STAGE as Stage;
32
+
33
+ if (Object.getOwnPropertyNames(config).includes(stageEnv)) {
34
+ return stageEnv;
35
+ }
36
+
37
+ return 'dev';
38
+ };
39
+
40
+ export const getConfig = () => {
41
+ const stage = getStage();
42
+
43
+ return {
44
+ ...config[stage],
45
+ };
46
+ };
package/iac/index.ts ADDED
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ import 'source-map-support/register';
3
+ import * as cdk from 'aws-cdk-lib';
4
+
5
+ import { getConfig } from "./config";
6
+ import { ServiceStack } from "./service-stack";
7
+
8
+ const app = new cdk.App();
9
+
10
+ const config = getConfig();
11
+ const stackName = process.env.STACK_NAME || config.serviceName;
12
+
13
+ const serviceStack = new ServiceStack(app, stackName, {
14
+ stackName,
15
+ env: {
16
+ account: process.env.CDK_DEFAULT_ACCOUNT,
17
+ region: process.env.CDK_DEFAULT_REGION || "eu-central-1",
18
+ },
19
+ });
20
+
21
+ serviceStack.tags.setTag("heritage", "cdk");
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "epilot360-icons-iac",
3
+ "description": "cdk",
4
+ "version": "0.1.0",
5
+ "scripts": {
6
+ "build": "tsc",
7
+ "watch": "tsc -w",
8
+ "cdk": "cdk",
9
+ "synth": "cdk synth",
10
+ "deploy": "cdk deploy"
11
+ },
12
+ "devDependencies": {
13
+ "@types/jest": "^27.5.2",
14
+ "@types/node": "10.17.27",
15
+ "@types/prettier": "2.6.0",
16
+ "aws-cdk": "2.42.0",
17
+ "ts-node": "^10.9.1",
18
+ "typescript": "4.7.4"
19
+ },
20
+ "dependencies": {
21
+ "aws-cdk-lib": "2.42.0",
22
+ "constructs": "^10.0.0",
23
+ "source-map-support": "^0.5.21"
24
+ }
25
+ }
@@ -0,0 +1,33 @@
1
+ import * as fs from 'fs';
2
+
3
+ import * as cdk from 'aws-cdk-lib';
4
+ import * as s3 from 'aws-cdk-lib/aws-s3';
5
+ import * as s3deploy from 'aws-cdk-lib/aws-s3-deployment';
6
+ import { Construct } from 'constructs';
7
+
8
+ import { getConfig } from './config';
9
+
10
+ export class ServiceStack extends cdk.Stack {
11
+ constructor(scope: Construct, id: string, props?: cdk.StackProps) {
12
+ super(scope, id, props);
13
+
14
+ const config = getConfig();
15
+
16
+ // Content bucket
17
+ const siteBucket = s3.Bucket.fromBucketName(this, 'SiteBucket', cdk.Fn.importValue(config.importBucket));
18
+
19
+ const sources = [s3deploy.Source.asset('../dist')];
20
+ if (fs.existsSync('../storybook-static')) {
21
+ sources.push(s3deploy.Source.asset('../storybook-static'));
22
+ }
23
+
24
+ // Deploy site contents in S3 bucket
25
+ const _mfe = new s3deploy.BucketDeployment(this, 'DeployMFE', {
26
+ sources,
27
+ destinationBucket: siteBucket,
28
+ destinationKeyPrefix: `${config.projectName}/`,
29
+ prune: true,
30
+ include: [`${config.projectName}/*`],
31
+ });
32
+ }
33
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2018",
4
+ "module": "commonjs",
5
+ "lib": [
6
+ "es2018"
7
+ ],
8
+ "declaration": true,
9
+ "strict": true,
10
+ "noEmit": true,
11
+ "noImplicitAny": true,
12
+ "strictNullChecks": true,
13
+ "noImplicitThis": true,
14
+ "alwaysStrict": true,
15
+ "noUnusedLocals": false,
16
+ "noUnusedParameters": false,
17
+ "noImplicitReturns": true,
18
+ "noFallthroughCasesInSwitch": false,
19
+ "inlineSourceMap": true,
20
+ "inlineSources": true,
21
+ "experimentalDecorators": true,
22
+ "strictPropertyInitialization": false,
23
+ "typeRoots": [
24
+ "./node_modules/@types"
25
+ ]
26
+ },
27
+ "exclude": [
28
+ "node_modules",
29
+ "cdk.out"
30
+ ]
31
+ }