@epilot360/icons 1.7.1 → 1.8.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 (936) hide show
  1. package/icons.config.yaml +9 -1
  2. package/index.js +1 -1
  3. package/index.js.map +1 -1
  4. package/package.json +2 -2
  5. package/react/ChevronLeft/index.d.ts +4 -0
  6. package/react/ChevronLeft/index.js +2 -0
  7. package/react/ChevronLeft/index.js.map +1 -0
  8. package/react/ChevronRight/index.d.ts +4 -0
  9. package/react/ChevronRight/index.js +2 -0
  10. package/react/ChevronRight/index.js.map +1 -0
  11. package/react/EpilotIcon.d.ts +4 -0
  12. package/react/EpilotIcon.js +1 -1
  13. package/react/EpilotIcon.js.map +1 -1
  14. package/react/index.d.ts +2 -0
  15. package/react/index.js +1 -1
  16. package/react/index.js.map +1 -1
  17. package/svg/ChevronLeft/icon-fill.svg +1 -0
  18. package/svg/ChevronLeft/icon.svg +1 -0
  19. package/svg/ChevronLeft/index.d.ts +3 -0
  20. package/svg/ChevronLeft/index.js +2 -0
  21. package/svg/ChevronLeft/index.js.map +1 -0
  22. package/svg/ChevronRight/icon-fill.svg +1 -0
  23. package/svg/ChevronRight/icon.svg +1 -0
  24. package/svg/ChevronRight/index.d.ts +3 -0
  25. package/svg/ChevronRight/index.js +2 -0
  26. package/svg/ChevronRight/index.js.map +1 -0
  27. package/svg/index.d.ts +2 -0
  28. package/svg/index.js +1 -1
  29. package/svg/index.js.map +1 -1
  30. package/svg/svgIcon.d.ts +2 -0
  31. package/svg/svgIcon.js +1 -1
  32. package/svg/svgIcon.js.map +1 -1
  33. package/.babelrc.json +0 -18
  34. package/.eslintrc.yml +0 -18
  35. package/.gitignore +0 -12
  36. package/.gitlab-ci.yml +0 -19
  37. package/.storybook/main.ts +0 -55
  38. package/.storybook/preview.css +0 -227
  39. package/.storybook/preview.ts +0 -17
  40. package/build/index.d.ts +0 -3
  41. package/build/index.js +0 -2
  42. package/build/index.js.map +0 -1
  43. package/build/react/Account/index.d.ts +0 -4
  44. package/build/react/Account/index.js +0 -2
  45. package/build/react/Account/index.js.map +0 -1
  46. package/build/react/Add/index.d.ts +0 -4
  47. package/build/react/Add/index.js +0 -2
  48. package/build/react/Add/index.js.map +0 -1
  49. package/build/react/AddCircle/index.d.ts +0 -4
  50. package/build/react/AddCircle/index.js +0 -2
  51. package/build/react/AddCircle/index.js.map +0 -1
  52. package/build/react/ArrowLeft/index.d.ts +0 -4
  53. package/build/react/ArrowLeft/index.js +0 -2
  54. package/build/react/ArrowLeft/index.js.map +0 -1
  55. package/build/react/ArrowRight/index.d.ts +0 -4
  56. package/build/react/ArrowRight/index.js +0 -2
  57. package/build/react/ArrowRight/index.js.map +0 -1
  58. package/build/react/Attributes/index.d.ts +0 -4
  59. package/build/react/Attributes/index.js +0 -2
  60. package/build/react/Attributes/index.js.map +0 -1
  61. package/build/react/Availability/index.d.ts +0 -4
  62. package/build/react/Availability/index.js +0 -2
  63. package/build/react/Availability/index.js.map +0 -1
  64. package/build/react/Calendar/index.d.ts +0 -4
  65. package/build/react/Calendar/index.js +0 -2
  66. package/build/react/Calendar/index.js.map +0 -1
  67. package/build/react/Check/index.d.ts +0 -4
  68. package/build/react/Check/index.js +0 -2
  69. package/build/react/Check/index.js.map +0 -1
  70. package/build/react/CheckCircle/index.d.ts +0 -4
  71. package/build/react/CheckCircle/index.js +0 -2
  72. package/build/react/CheckCircle/index.js.map +0 -1
  73. package/build/react/Close/index.d.ts +0 -4
  74. package/build/react/Close/index.js +0 -2
  75. package/build/react/Close/index.js.map +0 -1
  76. package/build/react/Contact/index.d.ts +0 -4
  77. package/build/react/Contact/index.js +0 -2
  78. package/build/react/Contact/index.js.map +0 -1
  79. package/build/react/ContentCopy/index.d.ts +0 -4
  80. package/build/react/ContentCopy/index.js +0 -2
  81. package/build/react/ContentCopy/index.js.map +0 -1
  82. package/build/react/Contract/index.d.ts +0 -4
  83. package/build/react/Contract/index.js +0 -2
  84. package/build/react/Contract/index.js.map +0 -1
  85. package/build/react/Dashboard/index.d.ts +0 -4
  86. package/build/react/Dashboard/index.js +0 -2
  87. package/build/react/Dashboard/index.js.map +0 -1
  88. package/build/react/DataObject/index.d.ts +0 -4
  89. package/build/react/DataObject/index.js +0 -2
  90. package/build/react/DataObject/index.js.map +0 -1
  91. package/build/react/Delete/index.d.ts +0 -4
  92. package/build/react/Delete/index.js +0 -2
  93. package/build/react/Delete/index.js.map +0 -1
  94. package/build/react/Design/index.d.ts +0 -4
  95. package/build/react/Design/index.js +0 -2
  96. package/build/react/Design/index.js.map +0 -1
  97. package/build/react/Document/index.d.ts +0 -4
  98. package/build/react/Document/index.js +0 -2
  99. package/build/react/Document/index.js.map +0 -1
  100. package/build/react/Download/index.d.ts +0 -4
  101. package/build/react/Download/index.js +0 -2
  102. package/build/react/Download/index.js.map +0 -1
  103. package/build/react/DragIndicator/index.d.ts +0 -4
  104. package/build/react/DragIndicator/index.js +0 -2
  105. package/build/react/DragIndicator/index.js.map +0 -1
  106. package/build/react/Edit/index.d.ts +0 -4
  107. package/build/react/Edit/index.js +0 -2
  108. package/build/react/Edit/index.js.map +0 -1
  109. package/build/react/Entity/index.d.ts +0 -4
  110. package/build/react/Entity/index.js +0 -2
  111. package/build/react/Entity/index.js.map +0 -1
  112. package/build/react/Epilot/index.d.ts +0 -4
  113. package/build/react/Epilot/index.js +0 -2
  114. package/build/react/Epilot/index.js.map +0 -1
  115. package/build/react/EpilotIcon.d.ts +0 -138
  116. package/build/react/EpilotIcon.js +0 -2
  117. package/build/react/EpilotIcon.js.map +0 -1
  118. package/build/react/Error/index.d.ts +0 -4
  119. package/build/react/Error/index.js +0 -2
  120. package/build/react/Error/index.js.map +0 -1
  121. package/build/react/ExpandLess/index.d.ts +0 -4
  122. package/build/react/ExpandLess/index.js +0 -2
  123. package/build/react/ExpandLess/index.js.map +0 -1
  124. package/build/react/ExpandMore/index.d.ts +0 -4
  125. package/build/react/ExpandMore/index.js +0 -2
  126. package/build/react/ExpandMore/index.js.map +0 -1
  127. package/build/react/Explore/index.d.ts +0 -4
  128. package/build/react/Explore/index.js +0 -2
  129. package/build/react/Explore/index.js.map +0 -1
  130. package/build/react/File/index.d.ts +0 -4
  131. package/build/react/File/index.js +0 -2
  132. package/build/react/File/index.js.map +0 -1
  133. package/build/react/Filter/index.d.ts +0 -4
  134. package/build/react/Filter/index.js +0 -2
  135. package/build/react/Filter/index.js.map +0 -1
  136. package/build/react/Help/index.d.ts +0 -4
  137. package/build/react/Help/index.js +0 -2
  138. package/build/react/Help/index.js.map +0 -1
  139. package/build/react/Info/index.d.ts +0 -4
  140. package/build/react/Info/index.js +0 -2
  141. package/build/react/Info/index.js.map +0 -1
  142. package/build/react/Journey/index.d.ts +0 -4
  143. package/build/react/Journey/index.js +0 -2
  144. package/build/react/Journey/index.js.map +0 -1
  145. package/build/react/Link/index.d.ts +0 -4
  146. package/build/react/Link/index.js +0 -2
  147. package/build/react/Link/index.js.map +0 -1
  148. package/build/react/Lock/index.d.ts +0 -4
  149. package/build/react/Lock/index.js +0 -2
  150. package/build/react/Lock/index.js.map +0 -1
  151. package/build/react/LockOpen/index.d.ts +0 -4
  152. package/build/react/LockOpen/index.js +0 -2
  153. package/build/react/LockOpen/index.js.map +0 -1
  154. package/build/react/Login/index.d.ts +0 -4
  155. package/build/react/Login/index.js +0 -2
  156. package/build/react/Login/index.js.map +0 -1
  157. package/build/react/Logout/index.d.ts +0 -4
  158. package/build/react/Logout/index.js +0 -2
  159. package/build/react/Logout/index.js.map +0 -1
  160. package/build/react/Menu/index.d.ts +0 -4
  161. package/build/react/Menu/index.js +0 -2
  162. package/build/react/Menu/index.js.map +0 -1
  163. package/build/react/Message/index.d.ts +0 -4
  164. package/build/react/Message/index.js +0 -2
  165. package/build/react/Message/index.js.map +0 -1
  166. package/build/react/Meter/index.d.ts +0 -4
  167. package/build/react/Meter/index.js +0 -2
  168. package/build/react/Meter/index.js.map +0 -1
  169. package/build/react/Note/index.d.ts +0 -4
  170. package/build/react/Note/index.js +0 -2
  171. package/build/react/Note/index.js.map +0 -1
  172. package/build/react/Notifications/index.d.ts +0 -4
  173. package/build/react/Notifications/index.js +0 -2
  174. package/build/react/Notifications/index.js.map +0 -1
  175. package/build/react/OpenInNew/index.d.ts +0 -4
  176. package/build/react/OpenInNew/index.js +0 -2
  177. package/build/react/OpenInNew/index.js.map +0 -1
  178. package/build/react/Opportunity/index.d.ts +0 -4
  179. package/build/react/Opportunity/index.js +0 -2
  180. package/build/react/Opportunity/index.js.map +0 -1
  181. package/build/react/Order/index.d.ts +0 -4
  182. package/build/react/Order/index.js +0 -2
  183. package/build/react/Order/index.js.map +0 -1
  184. package/build/react/Partner/index.d.ts +0 -4
  185. package/build/react/Partner/index.js +0 -2
  186. package/build/react/Partner/index.js.map +0 -1
  187. package/build/react/Price/index.d.ts +0 -4
  188. package/build/react/Price/index.js +0 -2
  189. package/build/react/Price/index.js.map +0 -1
  190. package/build/react/Product/index.d.ts +0 -4
  191. package/build/react/Product/index.js +0 -2
  192. package/build/react/Product/index.js.map +0 -1
  193. package/build/react/Refresh/index.d.ts +0 -4
  194. package/build/react/Refresh/index.js +0 -2
  195. package/build/react/Refresh/index.js.map +0 -1
  196. package/build/react/Relations/index.d.ts +0 -4
  197. package/build/react/Relations/index.js +0 -2
  198. package/build/react/Relations/index.js.map +0 -1
  199. package/build/react/Search/index.d.ts +0 -4
  200. package/build/react/Search/index.js +0 -2
  201. package/build/react/Search/index.js.map +0 -1
  202. package/build/react/Settings/index.d.ts +0 -4
  203. package/build/react/Settings/index.js +0 -2
  204. package/build/react/Settings/index.js.map +0 -1
  205. package/build/react/Share/index.d.ts +0 -4
  206. package/build/react/Share/index.js +0 -2
  207. package/build/react/Share/index.js.map +0 -1
  208. package/build/react/Sort/index.d.ts +0 -4
  209. package/build/react/Sort/index.js +0 -2
  210. package/build/react/Sort/index.js.map +0 -1
  211. package/build/react/Submission/index.d.ts +0 -4
  212. package/build/react/Submission/index.js +0 -2
  213. package/build/react/Submission/index.js.map +0 -1
  214. package/build/react/Table/index.d.ts +0 -4
  215. package/build/react/Table/index.js +0 -2
  216. package/build/react/Table/index.js.map +0 -1
  217. package/build/react/Tax/index.d.ts +0 -4
  218. package/build/react/Tax/index.js +0 -2
  219. package/build/react/Tax/index.js.map +0 -1
  220. package/build/react/Templates/index.d.ts +0 -4
  221. package/build/react/Templates/index.js +0 -2
  222. package/build/react/Templates/index.js.map +0 -1
  223. package/build/react/Visibility/index.d.ts +0 -4
  224. package/build/react/Visibility/index.js +0 -2
  225. package/build/react/Visibility/index.js.map +0 -1
  226. package/build/react/VisibilityOff/index.d.ts +0 -4
  227. package/build/react/VisibilityOff/index.js +0 -2
  228. package/build/react/VisibilityOff/index.js.map +0 -1
  229. package/build/react/Warning/index.d.ts +0 -4
  230. package/build/react/Warning/index.js +0 -2
  231. package/build/react/Warning/index.js.map +0 -1
  232. package/build/react/Webhook/index.d.ts +0 -4
  233. package/build/react/Webhook/index.js +0 -2
  234. package/build/react/Webhook/index.js.map +0 -1
  235. package/build/react/Workflow/index.d.ts +0 -4
  236. package/build/react/Workflow/index.js +0 -2
  237. package/build/react/Workflow/index.js.map +0 -1
  238. package/build/react/common.d.ts +0 -2
  239. package/build/react/common.js +0 -2
  240. package/build/react/common.js.map +0 -1
  241. package/build/react/index.d.ts +0 -65
  242. package/build/react/index.js +0 -2
  243. package/build/react/index.js.map +0 -1
  244. package/build/react/types.d.ts +0 -4
  245. package/build/react/types.js +0 -1
  246. package/build/react/types.js.map +0 -1
  247. package/build/svg/Account/icon-fill.svg +0 -1
  248. package/build/svg/Account/icon.svg +0 -1
  249. package/build/svg/Account/index.d.ts +0 -3
  250. package/build/svg/Account/index.js +0 -2
  251. package/build/svg/Account/index.js.map +0 -1
  252. package/build/svg/Add/icon-fill.svg +0 -1
  253. package/build/svg/Add/icon.svg +0 -1
  254. package/build/svg/Add/index.d.ts +0 -3
  255. package/build/svg/Add/index.js +0 -2
  256. package/build/svg/Add/index.js.map +0 -1
  257. package/build/svg/AddCircle/icon-fill.svg +0 -1
  258. package/build/svg/AddCircle/icon.svg +0 -1
  259. package/build/svg/AddCircle/index.d.ts +0 -3
  260. package/build/svg/AddCircle/index.js +0 -2
  261. package/build/svg/AddCircle/index.js.map +0 -1
  262. package/build/svg/ArrowLeft/icon-fill.svg +0 -1
  263. package/build/svg/ArrowLeft/icon.svg +0 -1
  264. package/build/svg/ArrowLeft/index.d.ts +0 -3
  265. package/build/svg/ArrowLeft/index.js +0 -2
  266. package/build/svg/ArrowLeft/index.js.map +0 -1
  267. package/build/svg/ArrowRight/icon-fill.svg +0 -1
  268. package/build/svg/ArrowRight/icon.svg +0 -1
  269. package/build/svg/ArrowRight/index.d.ts +0 -3
  270. package/build/svg/ArrowRight/index.js +0 -2
  271. package/build/svg/ArrowRight/index.js.map +0 -1
  272. package/build/svg/Attributes/icon-fill.svg +0 -1
  273. package/build/svg/Attributes/icon.svg +0 -1
  274. package/build/svg/Attributes/index.d.ts +0 -3
  275. package/build/svg/Attributes/index.js +0 -2
  276. package/build/svg/Attributes/index.js.map +0 -1
  277. package/build/svg/Availability/icon-fill.svg +0 -1
  278. package/build/svg/Availability/icon.svg +0 -1
  279. package/build/svg/Availability/index.d.ts +0 -3
  280. package/build/svg/Availability/index.js +0 -2
  281. package/build/svg/Availability/index.js.map +0 -1
  282. package/build/svg/Calendar/icon-fill.svg +0 -1
  283. package/build/svg/Calendar/icon.svg +0 -1
  284. package/build/svg/Calendar/index.d.ts +0 -3
  285. package/build/svg/Calendar/index.js +0 -2
  286. package/build/svg/Calendar/index.js.map +0 -1
  287. package/build/svg/Check/icon-fill.svg +0 -1
  288. package/build/svg/Check/icon.svg +0 -1
  289. package/build/svg/Check/index.d.ts +0 -3
  290. package/build/svg/Check/index.js +0 -2
  291. package/build/svg/Check/index.js.map +0 -1
  292. package/build/svg/CheckCircle/icon-fill.svg +0 -1
  293. package/build/svg/CheckCircle/icon.svg +0 -1
  294. package/build/svg/CheckCircle/index.d.ts +0 -3
  295. package/build/svg/CheckCircle/index.js +0 -2
  296. package/build/svg/CheckCircle/index.js.map +0 -1
  297. package/build/svg/Close/icon-fill.svg +0 -1
  298. package/build/svg/Close/icon.svg +0 -1
  299. package/build/svg/Close/index.d.ts +0 -3
  300. package/build/svg/Close/index.js +0 -2
  301. package/build/svg/Close/index.js.map +0 -1
  302. package/build/svg/Contact/icon-fill.svg +0 -1
  303. package/build/svg/Contact/icon.svg +0 -1
  304. package/build/svg/Contact/index.d.ts +0 -3
  305. package/build/svg/Contact/index.js +0 -2
  306. package/build/svg/Contact/index.js.map +0 -1
  307. package/build/svg/ContentCopy/icon-fill.svg +0 -1
  308. package/build/svg/ContentCopy/icon.svg +0 -1
  309. package/build/svg/ContentCopy/index.d.ts +0 -3
  310. package/build/svg/ContentCopy/index.js +0 -2
  311. package/build/svg/ContentCopy/index.js.map +0 -1
  312. package/build/svg/Contract/icon-fill.svg +0 -1
  313. package/build/svg/Contract/icon.svg +0 -1
  314. package/build/svg/Contract/index.d.ts +0 -3
  315. package/build/svg/Contract/index.js +0 -2
  316. package/build/svg/Contract/index.js.map +0 -1
  317. package/build/svg/Dashboard/icon-fill.svg +0 -1
  318. package/build/svg/Dashboard/icon.svg +0 -1
  319. package/build/svg/Dashboard/index.d.ts +0 -3
  320. package/build/svg/Dashboard/index.js +0 -2
  321. package/build/svg/Dashboard/index.js.map +0 -1
  322. package/build/svg/DataObject/icon-fill.svg +0 -1
  323. package/build/svg/DataObject/icon.svg +0 -1
  324. package/build/svg/DataObject/index.d.ts +0 -3
  325. package/build/svg/DataObject/index.js +0 -2
  326. package/build/svg/DataObject/index.js.map +0 -1
  327. package/build/svg/Delete/icon-fill.svg +0 -1
  328. package/build/svg/Delete/icon.svg +0 -1
  329. package/build/svg/Delete/index.d.ts +0 -3
  330. package/build/svg/Delete/index.js +0 -2
  331. package/build/svg/Delete/index.js.map +0 -1
  332. package/build/svg/Design/icon-fill.svg +0 -1
  333. package/build/svg/Design/icon.svg +0 -1
  334. package/build/svg/Design/index.d.ts +0 -3
  335. package/build/svg/Design/index.js +0 -2
  336. package/build/svg/Design/index.js.map +0 -1
  337. package/build/svg/Document/icon-fill.svg +0 -1
  338. package/build/svg/Document/icon.svg +0 -1
  339. package/build/svg/Document/index.d.ts +0 -3
  340. package/build/svg/Document/index.js +0 -2
  341. package/build/svg/Document/index.js.map +0 -1
  342. package/build/svg/Download/icon-fill.svg +0 -1
  343. package/build/svg/Download/icon.svg +0 -1
  344. package/build/svg/Download/index.d.ts +0 -3
  345. package/build/svg/Download/index.js +0 -2
  346. package/build/svg/Download/index.js.map +0 -1
  347. package/build/svg/DragIndicator/icon-fill.svg +0 -1
  348. package/build/svg/DragIndicator/icon.svg +0 -1
  349. package/build/svg/DragIndicator/index.d.ts +0 -3
  350. package/build/svg/DragIndicator/index.js +0 -2
  351. package/build/svg/DragIndicator/index.js.map +0 -1
  352. package/build/svg/Edit/icon-fill.svg +0 -1
  353. package/build/svg/Edit/icon.svg +0 -1
  354. package/build/svg/Edit/index.d.ts +0 -3
  355. package/build/svg/Edit/index.js +0 -2
  356. package/build/svg/Edit/index.js.map +0 -1
  357. package/build/svg/Entity/icon-fill.svg +0 -1
  358. package/build/svg/Entity/icon.svg +0 -1
  359. package/build/svg/Entity/index.d.ts +0 -3
  360. package/build/svg/Entity/index.js +0 -2
  361. package/build/svg/Entity/index.js.map +0 -1
  362. package/build/svg/Epilot/icon-fill.svg +0 -11
  363. package/build/svg/Epilot/icon.svg +0 -11
  364. package/build/svg/Epilot/index.d.ts +0 -3
  365. package/build/svg/Epilot/index.js +0 -2
  366. package/build/svg/Epilot/index.js.map +0 -1
  367. package/build/svg/Error/icon-fill.svg +0 -1
  368. package/build/svg/Error/icon.svg +0 -1
  369. package/build/svg/Error/index.d.ts +0 -3
  370. package/build/svg/Error/index.js +0 -2
  371. package/build/svg/Error/index.js.map +0 -1
  372. package/build/svg/ExpandLess/icon-fill.svg +0 -1
  373. package/build/svg/ExpandLess/icon.svg +0 -1
  374. package/build/svg/ExpandLess/index.d.ts +0 -3
  375. package/build/svg/ExpandLess/index.js +0 -2
  376. package/build/svg/ExpandLess/index.js.map +0 -1
  377. package/build/svg/ExpandMore/icon-fill.svg +0 -1
  378. package/build/svg/ExpandMore/icon.svg +0 -1
  379. package/build/svg/ExpandMore/index.d.ts +0 -3
  380. package/build/svg/ExpandMore/index.js +0 -2
  381. package/build/svg/ExpandMore/index.js.map +0 -1
  382. package/build/svg/Explore/icon-fill.svg +0 -1
  383. package/build/svg/Explore/icon.svg +0 -1
  384. package/build/svg/Explore/index.d.ts +0 -3
  385. package/build/svg/Explore/index.js +0 -2
  386. package/build/svg/Explore/index.js.map +0 -1
  387. package/build/svg/File/icon-fill.svg +0 -1
  388. package/build/svg/File/icon.svg +0 -1
  389. package/build/svg/File/index.d.ts +0 -3
  390. package/build/svg/File/index.js +0 -2
  391. package/build/svg/File/index.js.map +0 -1
  392. package/build/svg/Filter/icon-fill.svg +0 -1
  393. package/build/svg/Filter/icon.svg +0 -1
  394. package/build/svg/Filter/index.d.ts +0 -3
  395. package/build/svg/Filter/index.js +0 -2
  396. package/build/svg/Filter/index.js.map +0 -1
  397. package/build/svg/Help/icon-fill.svg +0 -1
  398. package/build/svg/Help/icon.svg +0 -1
  399. package/build/svg/Help/index.d.ts +0 -3
  400. package/build/svg/Help/index.js +0 -2
  401. package/build/svg/Help/index.js.map +0 -1
  402. package/build/svg/Info/icon-fill.svg +0 -1
  403. package/build/svg/Info/icon.svg +0 -1
  404. package/build/svg/Info/index.d.ts +0 -3
  405. package/build/svg/Info/index.js +0 -2
  406. package/build/svg/Info/index.js.map +0 -1
  407. package/build/svg/Journey/icon-fill.svg +0 -1
  408. package/build/svg/Journey/icon.svg +0 -1
  409. package/build/svg/Journey/index.d.ts +0 -3
  410. package/build/svg/Journey/index.js +0 -2
  411. package/build/svg/Journey/index.js.map +0 -1
  412. package/build/svg/Link/icon-fill.svg +0 -1
  413. package/build/svg/Link/icon.svg +0 -1
  414. package/build/svg/Link/index.d.ts +0 -3
  415. package/build/svg/Link/index.js +0 -2
  416. package/build/svg/Link/index.js.map +0 -1
  417. package/build/svg/Lock/icon-fill.svg +0 -1
  418. package/build/svg/Lock/icon.svg +0 -1
  419. package/build/svg/Lock/index.d.ts +0 -3
  420. package/build/svg/Lock/index.js +0 -2
  421. package/build/svg/Lock/index.js.map +0 -1
  422. package/build/svg/LockOpen/icon-fill.svg +0 -1
  423. package/build/svg/LockOpen/icon.svg +0 -1
  424. package/build/svg/LockOpen/index.d.ts +0 -3
  425. package/build/svg/LockOpen/index.js +0 -2
  426. package/build/svg/LockOpen/index.js.map +0 -1
  427. package/build/svg/Login/icon-fill.svg +0 -1
  428. package/build/svg/Login/icon.svg +0 -1
  429. package/build/svg/Login/index.d.ts +0 -3
  430. package/build/svg/Login/index.js +0 -2
  431. package/build/svg/Login/index.js.map +0 -1
  432. package/build/svg/Logout/icon-fill.svg +0 -1
  433. package/build/svg/Logout/icon.svg +0 -1
  434. package/build/svg/Logout/index.d.ts +0 -3
  435. package/build/svg/Logout/index.js +0 -2
  436. package/build/svg/Logout/index.js.map +0 -1
  437. package/build/svg/Menu/icon-fill.svg +0 -1
  438. package/build/svg/Menu/icon.svg +0 -1
  439. package/build/svg/Menu/index.d.ts +0 -3
  440. package/build/svg/Menu/index.js +0 -2
  441. package/build/svg/Menu/index.js.map +0 -1
  442. package/build/svg/Message/icon-fill.svg +0 -1
  443. package/build/svg/Message/icon.svg +0 -1
  444. package/build/svg/Message/index.d.ts +0 -3
  445. package/build/svg/Message/index.js +0 -2
  446. package/build/svg/Message/index.js.map +0 -1
  447. package/build/svg/Meter/icon-fill.svg +0 -1
  448. package/build/svg/Meter/icon.svg +0 -1
  449. package/build/svg/Meter/index.d.ts +0 -3
  450. package/build/svg/Meter/index.js +0 -2
  451. package/build/svg/Meter/index.js.map +0 -1
  452. package/build/svg/Note/icon-fill.svg +0 -1
  453. package/build/svg/Note/icon.svg +0 -1
  454. package/build/svg/Note/index.d.ts +0 -3
  455. package/build/svg/Note/index.js +0 -2
  456. package/build/svg/Note/index.js.map +0 -1
  457. package/build/svg/Notifications/icon-fill.svg +0 -1
  458. package/build/svg/Notifications/icon.svg +0 -1
  459. package/build/svg/Notifications/index.d.ts +0 -3
  460. package/build/svg/Notifications/index.js +0 -2
  461. package/build/svg/Notifications/index.js.map +0 -1
  462. package/build/svg/OpenInNew/icon-fill.svg +0 -1
  463. package/build/svg/OpenInNew/icon.svg +0 -1
  464. package/build/svg/OpenInNew/index.d.ts +0 -3
  465. package/build/svg/OpenInNew/index.js +0 -2
  466. package/build/svg/OpenInNew/index.js.map +0 -1
  467. package/build/svg/Opportunity/icon-fill.svg +0 -1
  468. package/build/svg/Opportunity/icon.svg +0 -1
  469. package/build/svg/Opportunity/index.d.ts +0 -3
  470. package/build/svg/Opportunity/index.js +0 -2
  471. package/build/svg/Opportunity/index.js.map +0 -1
  472. package/build/svg/Order/icon-fill.svg +0 -1
  473. package/build/svg/Order/icon.svg +0 -1
  474. package/build/svg/Order/index.d.ts +0 -3
  475. package/build/svg/Order/index.js +0 -2
  476. package/build/svg/Order/index.js.map +0 -1
  477. package/build/svg/Partner/icon-fill.svg +0 -1
  478. package/build/svg/Partner/icon.svg +0 -1
  479. package/build/svg/Partner/index.d.ts +0 -3
  480. package/build/svg/Partner/index.js +0 -2
  481. package/build/svg/Partner/index.js.map +0 -1
  482. package/build/svg/Price/icon-fill.svg +0 -1
  483. package/build/svg/Price/icon.svg +0 -1
  484. package/build/svg/Price/index.d.ts +0 -3
  485. package/build/svg/Price/index.js +0 -2
  486. package/build/svg/Price/index.js.map +0 -1
  487. package/build/svg/Product/icon-fill.svg +0 -1
  488. package/build/svg/Product/icon.svg +0 -1
  489. package/build/svg/Product/index.d.ts +0 -3
  490. package/build/svg/Product/index.js +0 -2
  491. package/build/svg/Product/index.js.map +0 -1
  492. package/build/svg/Refresh/icon-fill.svg +0 -1
  493. package/build/svg/Refresh/icon.svg +0 -1
  494. package/build/svg/Refresh/index.d.ts +0 -3
  495. package/build/svg/Refresh/index.js +0 -2
  496. package/build/svg/Refresh/index.js.map +0 -1
  497. package/build/svg/Relations/icon-fill.svg +0 -1
  498. package/build/svg/Relations/icon.svg +0 -1
  499. package/build/svg/Relations/index.d.ts +0 -3
  500. package/build/svg/Relations/index.js +0 -2
  501. package/build/svg/Relations/index.js.map +0 -1
  502. package/build/svg/Search/icon-fill.svg +0 -1
  503. package/build/svg/Search/icon.svg +0 -1
  504. package/build/svg/Search/index.d.ts +0 -3
  505. package/build/svg/Search/index.js +0 -2
  506. package/build/svg/Search/index.js.map +0 -1
  507. package/build/svg/Settings/icon-fill.svg +0 -1
  508. package/build/svg/Settings/icon.svg +0 -1
  509. package/build/svg/Settings/index.d.ts +0 -3
  510. package/build/svg/Settings/index.js +0 -2
  511. package/build/svg/Settings/index.js.map +0 -1
  512. package/build/svg/Share/icon-fill.svg +0 -1
  513. package/build/svg/Share/icon.svg +0 -1
  514. package/build/svg/Share/index.d.ts +0 -3
  515. package/build/svg/Share/index.js +0 -2
  516. package/build/svg/Share/index.js.map +0 -1
  517. package/build/svg/Sort/icon-fill.svg +0 -1
  518. package/build/svg/Sort/icon.svg +0 -1
  519. package/build/svg/Sort/index.d.ts +0 -3
  520. package/build/svg/Sort/index.js +0 -2
  521. package/build/svg/Sort/index.js.map +0 -1
  522. package/build/svg/Submission/icon-fill.svg +0 -1
  523. package/build/svg/Submission/icon.svg +0 -1
  524. package/build/svg/Submission/index.d.ts +0 -3
  525. package/build/svg/Submission/index.js +0 -2
  526. package/build/svg/Submission/index.js.map +0 -1
  527. package/build/svg/Table/icon-fill.svg +0 -1
  528. package/build/svg/Table/icon.svg +0 -1
  529. package/build/svg/Table/index.d.ts +0 -3
  530. package/build/svg/Table/index.js +0 -2
  531. package/build/svg/Table/index.js.map +0 -1
  532. package/build/svg/Tax/icon-fill.svg +0 -1
  533. package/build/svg/Tax/icon.svg +0 -1
  534. package/build/svg/Tax/index.d.ts +0 -3
  535. package/build/svg/Tax/index.js +0 -2
  536. package/build/svg/Tax/index.js.map +0 -1
  537. package/build/svg/Templates/icon-fill.svg +0 -1
  538. package/build/svg/Templates/icon.svg +0 -1
  539. package/build/svg/Templates/index.d.ts +0 -3
  540. package/build/svg/Templates/index.js +0 -2
  541. package/build/svg/Templates/index.js.map +0 -1
  542. package/build/svg/Visibility/icon-fill.svg +0 -1
  543. package/build/svg/Visibility/icon.svg +0 -1
  544. package/build/svg/Visibility/index.d.ts +0 -3
  545. package/build/svg/Visibility/index.js +0 -2
  546. package/build/svg/Visibility/index.js.map +0 -1
  547. package/build/svg/VisibilityOff/icon-fill.svg +0 -1
  548. package/build/svg/VisibilityOff/icon.svg +0 -1
  549. package/build/svg/VisibilityOff/index.d.ts +0 -3
  550. package/build/svg/VisibilityOff/index.js +0 -2
  551. package/build/svg/VisibilityOff/index.js.map +0 -1
  552. package/build/svg/Warning/icon-fill.svg +0 -1
  553. package/build/svg/Warning/icon.svg +0 -1
  554. package/build/svg/Warning/index.d.ts +0 -3
  555. package/build/svg/Warning/index.js +0 -2
  556. package/build/svg/Warning/index.js.map +0 -1
  557. package/build/svg/Webhook/icon-fill.svg +0 -1
  558. package/build/svg/Webhook/icon.svg +0 -1
  559. package/build/svg/Webhook/index.d.ts +0 -3
  560. package/build/svg/Webhook/index.js +0 -2
  561. package/build/svg/Webhook/index.js.map +0 -1
  562. package/build/svg/Workflow/icon-fill.svg +0 -1
  563. package/build/svg/Workflow/icon.svg +0 -1
  564. package/build/svg/Workflow/index.d.ts +0 -3
  565. package/build/svg/Workflow/index.js +0 -2
  566. package/build/svg/Workflow/index.js.map +0 -1
  567. package/build/svg/index.d.ts +0 -65
  568. package/build/svg/index.js +0 -2
  569. package/build/svg/index.js.map +0 -1
  570. package/build/svg/svgIcon.d.ts +0 -74
  571. package/build/svg/svgIcon.js +0 -2
  572. package/build/svg/svgIcon.js.map +0 -1
  573. package/build/types.d.ts +0 -19
  574. package/build/types.js +0 -1
  575. package/build/types.js.map +0 -1
  576. package/dist/bundle.js +0 -2
  577. package/dist/bundle.js.map +0 -1
  578. package/generator/run.ts +0 -102
  579. package/generator/templates/react/EpilotIcon.tsx.ejs +0 -29
  580. package/generator/templates/react/component/index.tsx.ejs +0 -23
  581. package/generator/templates/react/component/story.stories.tsx.ejs +0 -13
  582. package/generator/templates/react/index.ts.ejs +0 -5
  583. package/generator/templates/svg/index.ts.ejs +0 -5
  584. package/generator/templates/svg/module/index.ts.ejs +0 -12
  585. package/generator/templates/svg/svgIcon.ts.ejs +0 -61
  586. package/iac/.eslintrc.yml +0 -27
  587. package/iac/.gitignore +0 -3
  588. package/iac/cdk.json +0 -42
  589. package/iac/config.ts +0 -46
  590. package/iac/index.ts +0 -21
  591. package/iac/package.json +0 -25
  592. package/iac/service-stack.ts +0 -33
  593. package/iac/tsconfig.json +0 -31
  594. package/iac/yarn.lock +0 -381
  595. package/src/index.ts +0 -3
  596. package/src/react/Account/index.tsx +0 -22
  597. package/src/react/Account/story.stories.tsx +0 -13
  598. package/src/react/Add/index.tsx +0 -22
  599. package/src/react/Add/story.stories.tsx +0 -13
  600. package/src/react/AddCircle/index.tsx +0 -22
  601. package/src/react/AddCircle/story.stories.tsx +0 -13
  602. package/src/react/ArrowLeft/index.tsx +0 -22
  603. package/src/react/ArrowLeft/story.stories.tsx +0 -13
  604. package/src/react/ArrowRight/index.tsx +0 -22
  605. package/src/react/ArrowRight/story.stories.tsx +0 -13
  606. package/src/react/Attributes/index.tsx +0 -22
  607. package/src/react/Attributes/story.stories.tsx +0 -13
  608. package/src/react/Availability/index.tsx +0 -22
  609. package/src/react/Availability/story.stories.tsx +0 -13
  610. package/src/react/Calendar/index.tsx +0 -22
  611. package/src/react/Calendar/story.stories.tsx +0 -13
  612. package/src/react/Check/index.tsx +0 -22
  613. package/src/react/Check/story.stories.tsx +0 -13
  614. package/src/react/CheckCircle/index.tsx +0 -22
  615. package/src/react/CheckCircle/story.stories.tsx +0 -13
  616. package/src/react/Close/index.tsx +0 -22
  617. package/src/react/Close/story.stories.tsx +0 -13
  618. package/src/react/Contact/index.tsx +0 -22
  619. package/src/react/Contact/story.stories.tsx +0 -13
  620. package/src/react/ContentCopy/index.tsx +0 -22
  621. package/src/react/ContentCopy/story.stories.tsx +0 -13
  622. package/src/react/Contract/index.tsx +0 -22
  623. package/src/react/Contract/story.stories.tsx +0 -13
  624. package/src/react/Dashboard/index.tsx +0 -22
  625. package/src/react/Dashboard/story.stories.tsx +0 -13
  626. package/src/react/DataObject/index.tsx +0 -22
  627. package/src/react/DataObject/story.stories.tsx +0 -13
  628. package/src/react/Delete/index.tsx +0 -22
  629. package/src/react/Delete/story.stories.tsx +0 -13
  630. package/src/react/Design/index.tsx +0 -22
  631. package/src/react/Design/story.stories.tsx +0 -13
  632. package/src/react/Document/index.tsx +0 -22
  633. package/src/react/Document/story.stories.tsx +0 -13
  634. package/src/react/Download/index.tsx +0 -22
  635. package/src/react/Download/story.stories.tsx +0 -13
  636. package/src/react/DragIndicator/index.tsx +0 -22
  637. package/src/react/DragIndicator/story.stories.tsx +0 -13
  638. package/src/react/Edit/index.tsx +0 -22
  639. package/src/react/Edit/story.stories.tsx +0 -13
  640. package/src/react/Entity/index.tsx +0 -22
  641. package/src/react/Entity/story.stories.tsx +0 -13
  642. package/src/react/Epilot/index.tsx +0 -22
  643. package/src/react/Epilot/story.stories.tsx +0 -13
  644. package/src/react/EpilotIcon.stories.tsx +0 -85
  645. package/src/react/EpilotIcon.tsx +0 -151
  646. package/src/react/Error/index.tsx +0 -22
  647. package/src/react/Error/story.stories.tsx +0 -13
  648. package/src/react/ExpandLess/index.tsx +0 -22
  649. package/src/react/ExpandLess/story.stories.tsx +0 -13
  650. package/src/react/ExpandMore/index.tsx +0 -22
  651. package/src/react/ExpandMore/story.stories.tsx +0 -13
  652. package/src/react/Explore/index.tsx +0 -22
  653. package/src/react/Explore/story.stories.tsx +0 -13
  654. package/src/react/File/index.tsx +0 -22
  655. package/src/react/File/story.stories.tsx +0 -13
  656. package/src/react/Filter/index.tsx +0 -22
  657. package/src/react/Filter/story.stories.tsx +0 -13
  658. package/src/react/Help/index.tsx +0 -22
  659. package/src/react/Help/story.stories.tsx +0 -13
  660. package/src/react/Info/index.tsx +0 -22
  661. package/src/react/Info/story.stories.tsx +0 -13
  662. package/src/react/Journey/index.tsx +0 -22
  663. package/src/react/Journey/story.stories.tsx +0 -13
  664. package/src/react/Link/index.tsx +0 -22
  665. package/src/react/Link/story.stories.tsx +0 -13
  666. package/src/react/Lock/index.tsx +0 -22
  667. package/src/react/Lock/story.stories.tsx +0 -13
  668. package/src/react/LockOpen/index.tsx +0 -22
  669. package/src/react/LockOpen/story.stories.tsx +0 -13
  670. package/src/react/Login/index.tsx +0 -22
  671. package/src/react/Login/story.stories.tsx +0 -13
  672. package/src/react/Logout/index.tsx +0 -22
  673. package/src/react/Logout/story.stories.tsx +0 -13
  674. package/src/react/Menu/index.tsx +0 -22
  675. package/src/react/Menu/story.stories.tsx +0 -13
  676. package/src/react/Message/index.tsx +0 -22
  677. package/src/react/Message/story.stories.tsx +0 -13
  678. package/src/react/Meter/index.tsx +0 -22
  679. package/src/react/Meter/story.stories.tsx +0 -13
  680. package/src/react/Note/index.tsx +0 -22
  681. package/src/react/Note/story.stories.tsx +0 -13
  682. package/src/react/Notifications/index.tsx +0 -22
  683. package/src/react/Notifications/story.stories.tsx +0 -13
  684. package/src/react/OpenInNew/index.tsx +0 -22
  685. package/src/react/OpenInNew/story.stories.tsx +0 -13
  686. package/src/react/Opportunity/index.tsx +0 -22
  687. package/src/react/Opportunity/story.stories.tsx +0 -13
  688. package/src/react/Order/index.tsx +0 -22
  689. package/src/react/Order/story.stories.tsx +0 -13
  690. package/src/react/Partner/index.tsx +0 -22
  691. package/src/react/Partner/story.stories.tsx +0 -13
  692. package/src/react/Price/index.tsx +0 -22
  693. package/src/react/Price/story.stories.tsx +0 -13
  694. package/src/react/Product/index.tsx +0 -22
  695. package/src/react/Product/story.stories.tsx +0 -13
  696. package/src/react/Refresh/index.tsx +0 -22
  697. package/src/react/Refresh/story.stories.tsx +0 -13
  698. package/src/react/Relations/index.tsx +0 -22
  699. package/src/react/Relations/story.stories.tsx +0 -13
  700. package/src/react/Search/index.tsx +0 -22
  701. package/src/react/Search/story.stories.tsx +0 -13
  702. package/src/react/Settings/index.tsx +0 -22
  703. package/src/react/Settings/story.stories.tsx +0 -13
  704. package/src/react/Share/index.tsx +0 -22
  705. package/src/react/Share/story.stories.tsx +0 -13
  706. package/src/react/Sort/index.tsx +0 -22
  707. package/src/react/Sort/story.stories.tsx +0 -13
  708. package/src/react/Submission/index.tsx +0 -22
  709. package/src/react/Submission/story.stories.tsx +0 -13
  710. package/src/react/Table/index.tsx +0 -22
  711. package/src/react/Table/story.stories.tsx +0 -13
  712. package/src/react/Tax/index.tsx +0 -22
  713. package/src/react/Tax/story.stories.tsx +0 -13
  714. package/src/react/Templates/index.tsx +0 -22
  715. package/src/react/Templates/story.stories.tsx +0 -13
  716. package/src/react/Visibility/index.tsx +0 -22
  717. package/src/react/Visibility/story.stories.tsx +0 -13
  718. package/src/react/VisibilityOff/index.tsx +0 -22
  719. package/src/react/VisibilityOff/story.stories.tsx +0 -13
  720. package/src/react/Warning/index.tsx +0 -22
  721. package/src/react/Warning/story.stories.tsx +0 -13
  722. package/src/react/Webhook/index.tsx +0 -22
  723. package/src/react/Webhook/story.stories.tsx +0 -13
  724. package/src/react/Workflow/index.tsx +0 -22
  725. package/src/react/Workflow/story.stories.tsx +0 -13
  726. package/src/react/common.ts +0 -8
  727. package/src/react/index.ts +0 -66
  728. package/src/react/types.ts +0 -5
  729. package/src/stories/Readme.mdx +0 -69
  730. package/src/stories/SVGExample.stories.tsx +0 -55
  731. package/src/stories/SVGExample.tsx +0 -10
  732. package/src/stories/Search.mdx +0 -8
  733. package/src/stories/SearchComponent.css +0 -48
  734. package/src/stories/SearchComponent.tsx +0 -89
  735. package/src/stories/util.ts +0 -37
  736. package/src/svg/Account/icon-fill.svg +0 -1
  737. package/src/svg/Account/icon.svg +0 -1
  738. package/src/svg/Account/index.ts +0 -12
  739. package/src/svg/Add/icon-fill.svg +0 -1
  740. package/src/svg/Add/icon.svg +0 -1
  741. package/src/svg/Add/index.ts +0 -12
  742. package/src/svg/AddCircle/icon-fill.svg +0 -1
  743. package/src/svg/AddCircle/icon.svg +0 -1
  744. package/src/svg/AddCircle/index.ts +0 -12
  745. package/src/svg/ArrowLeft/icon-fill.svg +0 -1
  746. package/src/svg/ArrowLeft/icon.svg +0 -1
  747. package/src/svg/ArrowLeft/index.ts +0 -12
  748. package/src/svg/ArrowRight/icon-fill.svg +0 -1
  749. package/src/svg/ArrowRight/icon.svg +0 -1
  750. package/src/svg/ArrowRight/index.ts +0 -12
  751. package/src/svg/Attributes/icon-fill.svg +0 -1
  752. package/src/svg/Attributes/icon.svg +0 -1
  753. package/src/svg/Attributes/index.ts +0 -12
  754. package/src/svg/Availability/icon-fill.svg +0 -1
  755. package/src/svg/Availability/icon.svg +0 -1
  756. package/src/svg/Availability/index.ts +0 -12
  757. package/src/svg/Calendar/icon-fill.svg +0 -1
  758. package/src/svg/Calendar/icon.svg +0 -1
  759. package/src/svg/Calendar/index.ts +0 -12
  760. package/src/svg/Check/icon-fill.svg +0 -1
  761. package/src/svg/Check/icon.svg +0 -1
  762. package/src/svg/Check/index.ts +0 -12
  763. package/src/svg/CheckCircle/icon-fill.svg +0 -1
  764. package/src/svg/CheckCircle/icon.svg +0 -1
  765. package/src/svg/CheckCircle/index.ts +0 -12
  766. package/src/svg/Close/icon-fill.svg +0 -1
  767. package/src/svg/Close/icon.svg +0 -1
  768. package/src/svg/Close/index.ts +0 -12
  769. package/src/svg/Contact/icon-fill.svg +0 -1
  770. package/src/svg/Contact/icon.svg +0 -1
  771. package/src/svg/Contact/index.ts +0 -12
  772. package/src/svg/ContentCopy/icon-fill.svg +0 -1
  773. package/src/svg/ContentCopy/icon.svg +0 -1
  774. package/src/svg/ContentCopy/index.ts +0 -12
  775. package/src/svg/Contract/icon-fill.svg +0 -1
  776. package/src/svg/Contract/icon.svg +0 -1
  777. package/src/svg/Contract/index.ts +0 -12
  778. package/src/svg/Dashboard/icon-fill.svg +0 -1
  779. package/src/svg/Dashboard/icon.svg +0 -1
  780. package/src/svg/Dashboard/index.ts +0 -12
  781. package/src/svg/DataObject/icon-fill.svg +0 -1
  782. package/src/svg/DataObject/icon.svg +0 -1
  783. package/src/svg/DataObject/index.ts +0 -12
  784. package/src/svg/Delete/icon-fill.svg +0 -1
  785. package/src/svg/Delete/icon.svg +0 -1
  786. package/src/svg/Delete/index.ts +0 -12
  787. package/src/svg/Design/icon-fill.svg +0 -1
  788. package/src/svg/Design/icon.svg +0 -1
  789. package/src/svg/Design/index.ts +0 -12
  790. package/src/svg/Document/icon-fill.svg +0 -1
  791. package/src/svg/Document/icon.svg +0 -1
  792. package/src/svg/Document/index.ts +0 -12
  793. package/src/svg/Download/icon-fill.svg +0 -1
  794. package/src/svg/Download/icon.svg +0 -1
  795. package/src/svg/Download/index.ts +0 -12
  796. package/src/svg/DragIndicator/icon-fill.svg +0 -1
  797. package/src/svg/DragIndicator/icon.svg +0 -1
  798. package/src/svg/DragIndicator/index.ts +0 -12
  799. package/src/svg/Edit/icon-fill.svg +0 -1
  800. package/src/svg/Edit/icon.svg +0 -1
  801. package/src/svg/Edit/index.ts +0 -12
  802. package/src/svg/Entity/icon-fill.svg +0 -1
  803. package/src/svg/Entity/icon.svg +0 -1
  804. package/src/svg/Entity/index.ts +0 -12
  805. package/src/svg/Epilot/icon-fill.svg +0 -11
  806. package/src/svg/Epilot/icon.svg +0 -11
  807. package/src/svg/Epilot/index.ts +0 -12
  808. package/src/svg/Error/icon-fill.svg +0 -1
  809. package/src/svg/Error/icon.svg +0 -1
  810. package/src/svg/Error/index.ts +0 -12
  811. package/src/svg/ExpandLess/icon-fill.svg +0 -1
  812. package/src/svg/ExpandLess/icon.svg +0 -1
  813. package/src/svg/ExpandLess/index.ts +0 -12
  814. package/src/svg/ExpandMore/icon-fill.svg +0 -1
  815. package/src/svg/ExpandMore/icon.svg +0 -1
  816. package/src/svg/ExpandMore/index.ts +0 -12
  817. package/src/svg/Explore/icon-fill.svg +0 -1
  818. package/src/svg/Explore/icon.svg +0 -1
  819. package/src/svg/Explore/index.ts +0 -12
  820. package/src/svg/File/icon-fill.svg +0 -1
  821. package/src/svg/File/icon.svg +0 -1
  822. package/src/svg/File/index.ts +0 -12
  823. package/src/svg/Filter/icon-fill.svg +0 -1
  824. package/src/svg/Filter/icon.svg +0 -1
  825. package/src/svg/Filter/index.ts +0 -12
  826. package/src/svg/Help/icon-fill.svg +0 -1
  827. package/src/svg/Help/icon.svg +0 -1
  828. package/src/svg/Help/index.ts +0 -12
  829. package/src/svg/Info/icon-fill.svg +0 -1
  830. package/src/svg/Info/icon.svg +0 -1
  831. package/src/svg/Info/index.ts +0 -12
  832. package/src/svg/Journey/icon-fill.svg +0 -1
  833. package/src/svg/Journey/icon.svg +0 -1
  834. package/src/svg/Journey/index.ts +0 -12
  835. package/src/svg/Link/icon-fill.svg +0 -1
  836. package/src/svg/Link/icon.svg +0 -1
  837. package/src/svg/Link/index.ts +0 -12
  838. package/src/svg/Lock/icon-fill.svg +0 -1
  839. package/src/svg/Lock/icon.svg +0 -1
  840. package/src/svg/Lock/index.ts +0 -12
  841. package/src/svg/LockOpen/icon-fill.svg +0 -1
  842. package/src/svg/LockOpen/icon.svg +0 -1
  843. package/src/svg/LockOpen/index.ts +0 -12
  844. package/src/svg/Login/icon-fill.svg +0 -1
  845. package/src/svg/Login/icon.svg +0 -1
  846. package/src/svg/Login/index.ts +0 -12
  847. package/src/svg/Logout/icon-fill.svg +0 -1
  848. package/src/svg/Logout/icon.svg +0 -1
  849. package/src/svg/Logout/index.ts +0 -12
  850. package/src/svg/Menu/icon-fill.svg +0 -1
  851. package/src/svg/Menu/icon.svg +0 -1
  852. package/src/svg/Menu/index.ts +0 -12
  853. package/src/svg/Message/icon-fill.svg +0 -1
  854. package/src/svg/Message/icon.svg +0 -1
  855. package/src/svg/Message/index.ts +0 -12
  856. package/src/svg/Meter/icon-fill.svg +0 -1
  857. package/src/svg/Meter/icon.svg +0 -1
  858. package/src/svg/Meter/index.ts +0 -12
  859. package/src/svg/Note/icon-fill.svg +0 -1
  860. package/src/svg/Note/icon.svg +0 -1
  861. package/src/svg/Note/index.ts +0 -12
  862. package/src/svg/Notifications/icon-fill.svg +0 -1
  863. package/src/svg/Notifications/icon.svg +0 -1
  864. package/src/svg/Notifications/index.ts +0 -12
  865. package/src/svg/OpenInNew/icon-fill.svg +0 -1
  866. package/src/svg/OpenInNew/icon.svg +0 -1
  867. package/src/svg/OpenInNew/index.ts +0 -12
  868. package/src/svg/Opportunity/icon-fill.svg +0 -1
  869. package/src/svg/Opportunity/icon.svg +0 -1
  870. package/src/svg/Opportunity/index.ts +0 -12
  871. package/src/svg/Order/icon-fill.svg +0 -1
  872. package/src/svg/Order/icon.svg +0 -1
  873. package/src/svg/Order/index.ts +0 -12
  874. package/src/svg/Partner/icon-fill.svg +0 -1
  875. package/src/svg/Partner/icon.svg +0 -1
  876. package/src/svg/Partner/index.ts +0 -12
  877. package/src/svg/Price/icon-fill.svg +0 -1
  878. package/src/svg/Price/icon.svg +0 -1
  879. package/src/svg/Price/index.ts +0 -12
  880. package/src/svg/Product/icon-fill.svg +0 -1
  881. package/src/svg/Product/icon.svg +0 -1
  882. package/src/svg/Product/index.ts +0 -12
  883. package/src/svg/Refresh/icon-fill.svg +0 -1
  884. package/src/svg/Refresh/icon.svg +0 -1
  885. package/src/svg/Refresh/index.ts +0 -12
  886. package/src/svg/Relations/icon-fill.svg +0 -1
  887. package/src/svg/Relations/icon.svg +0 -1
  888. package/src/svg/Relations/index.ts +0 -12
  889. package/src/svg/Search/icon-fill.svg +0 -1
  890. package/src/svg/Search/icon.svg +0 -1
  891. package/src/svg/Search/index.ts +0 -12
  892. package/src/svg/Settings/icon-fill.svg +0 -1
  893. package/src/svg/Settings/icon.svg +0 -1
  894. package/src/svg/Settings/index.ts +0 -12
  895. package/src/svg/Share/icon-fill.svg +0 -1
  896. package/src/svg/Share/icon.svg +0 -1
  897. package/src/svg/Share/index.ts +0 -12
  898. package/src/svg/Sort/icon-fill.svg +0 -1
  899. package/src/svg/Sort/icon.svg +0 -1
  900. package/src/svg/Sort/index.ts +0 -12
  901. package/src/svg/Submission/icon-fill.svg +0 -1
  902. package/src/svg/Submission/icon.svg +0 -1
  903. package/src/svg/Submission/index.ts +0 -12
  904. package/src/svg/Table/icon-fill.svg +0 -1
  905. package/src/svg/Table/icon.svg +0 -1
  906. package/src/svg/Table/index.ts +0 -12
  907. package/src/svg/Tax/icon-fill.svg +0 -1
  908. package/src/svg/Tax/icon.svg +0 -1
  909. package/src/svg/Tax/index.ts +0 -12
  910. package/src/svg/Templates/icon-fill.svg +0 -1
  911. package/src/svg/Templates/icon.svg +0 -1
  912. package/src/svg/Templates/index.ts +0 -12
  913. package/src/svg/Visibility/icon-fill.svg +0 -1
  914. package/src/svg/Visibility/icon.svg +0 -1
  915. package/src/svg/Visibility/index.ts +0 -12
  916. package/src/svg/VisibilityOff/icon-fill.svg +0 -1
  917. package/src/svg/VisibilityOff/icon.svg +0 -1
  918. package/src/svg/VisibilityOff/index.ts +0 -12
  919. package/src/svg/Warning/icon-fill.svg +0 -1
  920. package/src/svg/Warning/icon.svg +0 -1
  921. package/src/svg/Warning/index.ts +0 -12
  922. package/src/svg/Webhook/icon-fill.svg +0 -1
  923. package/src/svg/Webhook/icon.svg +0 -1
  924. package/src/svg/Webhook/index.ts +0 -12
  925. package/src/svg/Workflow/icon-fill.svg +0 -1
  926. package/src/svg/Workflow/icon.svg +0 -1
  927. package/src/svg/Workflow/index.ts +0 -12
  928. package/src/svg/index.ts +0 -66
  929. package/src/svg/svgIcon.ts +0 -175
  930. package/src/svg-module.d.ts +0 -6
  931. package/src/types.ts +0 -19
  932. package/tsconfig.json +0 -34
  933. package/webpack.config-cjs.js +0 -64
  934. package/webpack.config.js +0 -30
  935. package/yarn-error.log +0 -10867
  936. package/yarn.lock +0 -10904
package/generator/run.ts DELETED
@@ -1,102 +0,0 @@
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
- }
@@ -1,29 +0,0 @@
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;
@@ -1,23 +0,0 @@
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 %>;
@@ -1,13 +0,0 @@
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;
@@ -1,5 +0,0 @@
1
- <% icons.forEach((icon) => { -%>
2
- export * from './<%= icon.Icon %>';
3
- <% }); %>
4
-
5
- export * from './EpilotIcon';
@@ -1,5 +0,0 @@
1
- <% icons.forEach((icon) => { -%>
2
- export * from './<%= icon.Icon %>';
3
- <% }); %>
4
-
5
- export * from './svgIcon';
@@ -1,12 +0,0 @@
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;
@@ -1,61 +0,0 @@
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
- };
package/iac/.eslintrc.yml DELETED
@@ -1,27 +0,0 @@
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 DELETED
@@ -1,3 +0,0 @@
1
- *.js
2
- *.d.ts
3
- cdk.out
package/iac/cdk.json DELETED
@@ -1,42 +0,0 @@
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 DELETED
@@ -1,46 +0,0 @@
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 DELETED
@@ -1,21 +0,0 @@
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");
package/iac/package.json DELETED
@@ -1,25 +0,0 @@
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
- }
@@ -1,33 +0,0 @@
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
- }
package/iac/tsconfig.json DELETED
@@ -1,31 +0,0 @@
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
- }