@digigov/react-icons 1.2.0-dcbd7ded → 2.0.0-0edebf87

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 (303) hide show
  1. package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  2. package/AccessibilityIcon/index.test/index.js +12 -12
  3. package/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
  4. package/Base/index.d.ts +95 -0
  5. package/Base/index.js +69 -0
  6. package/Base/package.json +6 -0
  7. package/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  8. package/BurgerIcon/index.test/index.js +8 -8
  9. package/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
  10. package/CancelIcon/config/index.js +9 -0
  11. package/CancelIcon/config/package.json +6 -0
  12. package/CancelIcon/config.d.ts +8 -0
  13. package/CancelIcon/index.d.ts +4 -0
  14. package/CancelIcon/index.js +9 -0
  15. package/CancelIcon/index.test/index.js +45 -0
  16. package/CancelIcon/index.test/package.json +6 -0
  17. package/CancelIcon/index.test.d.ts +1 -0
  18. package/CancelIcon/package.json +6 -0
  19. package/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  20. package/ChatIcon/config/index.js +17 -0
  21. package/ChatIcon/config/package.json +6 -0
  22. package/ChatIcon/config.d.ts +11 -0
  23. package/ChatIcon/index.d.ts +4 -0
  24. package/ChatIcon/index.js +9 -0
  25. package/ChatIcon/index.test/index.js +51 -0
  26. package/ChatIcon/index.test/package.json +6 -0
  27. package/ChatIcon/index.test.d.ts +1 -0
  28. package/ChatIcon/package.json +6 -0
  29. package/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  30. package/CheckIcon/index.test/index.js +10 -10
  31. package/ChevronIcon/__snapshots__/index.test.tsx.snap +148 -0
  32. package/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
  33. package/DownloadIcon/config/index.js +14 -0
  34. package/DownloadIcon/config/package.json +6 -0
  35. package/DownloadIcon/config.d.ts +8 -0
  36. package/DownloadIcon/index.d.ts +4 -0
  37. package/DownloadIcon/index.js +9 -0
  38. package/DownloadIcon/index.test/index.js +45 -0
  39. package/DownloadIcon/index.test/package.json +6 -0
  40. package/DownloadIcon/index.test.d.ts +1 -0
  41. package/DownloadIcon/package.json +6 -0
  42. package/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  43. package/ExclamationIcon/config/index.js +14 -0
  44. package/ExclamationIcon/config/package.json +6 -0
  45. package/ExclamationIcon/config.d.ts +8 -0
  46. package/ExclamationIcon/index.d.ts +4 -0
  47. package/ExclamationIcon/index.js +9 -0
  48. package/ExclamationIcon/index.test/index.js +45 -0
  49. package/ExclamationIcon/index.test/package.json +6 -0
  50. package/ExclamationIcon/index.test.d.ts +1 -0
  51. package/ExclamationIcon/package.json +6 -0
  52. package/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  53. package/GlobeIcon/config/index.js +2 -2
  54. package/GlobeIcon/index.test/index.js +6 -6
  55. package/Icon/__snapshots__/index.test.tsx.snap +11 -12
  56. package/Icon/index.d.ts +1 -1
  57. package/Icon/index.js +1 -1
  58. package/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
  59. package/LockIcon/config/index.js +9 -0
  60. package/LockIcon/config/package.json +6 -0
  61. package/LockIcon/config.d.ts +8 -0
  62. package/LockIcon/index.d.ts +4 -0
  63. package/LockIcon/index.js +9 -0
  64. package/LockIcon/index.test/index.js +45 -0
  65. package/LockIcon/index.test/package.json +6 -0
  66. package/LockIcon/index.test.d.ts +1 -0
  67. package/LockIcon/package.json +6 -0
  68. package/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
  69. package/LoginIcon/config/index.js +12 -0
  70. package/LoginIcon/config/package.json +6 -0
  71. package/LoginIcon/config.d.ts +8 -0
  72. package/LoginIcon/index.d.ts +4 -0
  73. package/LoginIcon/index.js +9 -0
  74. package/LoginIcon/index.test/index.js +45 -0
  75. package/LoginIcon/index.test/package.json +6 -0
  76. package/LoginIcon/index.test.d.ts +1 -0
  77. package/LoginIcon/package.json +6 -0
  78. package/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
  79. package/MinusIcon/config/index.js +12 -0
  80. package/MinusIcon/config/package.json +6 -0
  81. package/MinusIcon/config.d.ts +8 -0
  82. package/MinusIcon/index.d.ts +4 -0
  83. package/MinusIcon/index.js +9 -0
  84. package/MinusIcon/index.test/index.js +45 -0
  85. package/MinusIcon/index.test/package.json +6 -0
  86. package/MinusIcon/index.test.d.ts +1 -0
  87. package/MinusIcon/package.json +6 -0
  88. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  89. package/MoreVertIcon/index.test/index.js +12 -12
  90. package/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
  91. package/PdfFileIcon/config/index.js +15 -0
  92. package/PdfFileIcon/config/package.json +6 -0
  93. package/PdfFileIcon/config.d.ts +8 -0
  94. package/PdfFileIcon/index.d.ts +4 -0
  95. package/PdfFileIcon/index.js +9 -0
  96. package/PdfFileIcon/index.test/index.js +45 -0
  97. package/PdfFileIcon/index.test/package.json +6 -0
  98. package/PdfFileIcon/index.test.d.ts +1 -0
  99. package/PdfFileIcon/package.json +6 -0
  100. package/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
  101. package/PlusIcon/config/index.js +9 -0
  102. package/PlusIcon/config/package.json +6 -0
  103. package/PlusIcon/config.d.ts +8 -0
  104. package/PlusIcon/index.d.ts +4 -0
  105. package/PlusIcon/index.js +9 -0
  106. package/PlusIcon/index.test/index.js +45 -0
  107. package/PlusIcon/index.test/package.json +6 -0
  108. package/PlusIcon/index.test.d.ts +1 -0
  109. package/PlusIcon/package.json +6 -0
  110. package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  111. package/PrintIcon/config/index.js +15 -0
  112. package/PrintIcon/config/package.json +6 -0
  113. package/PrintIcon/config.d.ts +8 -0
  114. package/PrintIcon/index.d.ts +4 -0
  115. package/PrintIcon/index.js +9 -0
  116. package/PrintIcon/index.test/index.js +45 -0
  117. package/PrintIcon/index.test/package.json +6 -0
  118. package/PrintIcon/index.test.d.ts +1 -0
  119. package/PrintIcon/package.json +6 -0
  120. package/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  121. package/ReplyIcon/config/index.js +9 -0
  122. package/ReplyIcon/config/package.json +6 -0
  123. package/ReplyIcon/config.d.ts +8 -0
  124. package/ReplyIcon/index.d.ts +4 -0
  125. package/ReplyIcon/index.js +9 -0
  126. package/ReplyIcon/index.test/index.js +45 -0
  127. package/ReplyIcon/index.test/package.json +6 -0
  128. package/ReplyIcon/index.test.d.ts +1 -0
  129. package/ReplyIcon/package.json +6 -0
  130. package/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  131. package/RestoreIcon/config/index.js +17 -0
  132. package/RestoreIcon/config/package.json +6 -0
  133. package/RestoreIcon/config.d.ts +8 -0
  134. package/RestoreIcon/index.d.ts +4 -0
  135. package/RestoreIcon/index.js +9 -0
  136. package/RestoreIcon/index.test/index.js +45 -0
  137. package/RestoreIcon/index.test/package.json +6 -0
  138. package/RestoreIcon/index.test.d.ts +1 -0
  139. package/RestoreIcon/package.json +6 -0
  140. package/SvgIcon/__snapshots__/index.test.tsx.snap +390 -0
  141. package/SvgIcon/index.d.ts +37 -0
  142. package/SvgIcon/index.js +26 -0
  143. package/SvgIcon/index.test/index.js +105 -0
  144. package/SvgIcon/index.test/package.json +6 -0
  145. package/SvgIcon/index.test.d.ts +1 -0
  146. package/SvgIcon/package.json +6 -0
  147. package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  148. package/UncheckIcon/index.test/index.js +12 -12
  149. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  150. package/cjs/AccessibilityIcon/index.test/index.js +12 -12
  151. package/cjs/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
  152. package/cjs/Base/index.js +75 -0
  153. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  154. package/cjs/BurgerIcon/index.test/index.js +8 -8
  155. package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
  156. package/cjs/CancelIcon/config/index.js +17 -0
  157. package/cjs/CancelIcon/index.js +16 -0
  158. package/cjs/CancelIcon/index.test/index.js +48 -0
  159. package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  160. package/cjs/ChatIcon/config/index.js +24 -0
  161. package/cjs/ChatIcon/index.js +16 -0
  162. package/cjs/ChatIcon/index.test/index.js +54 -0
  163. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  164. package/cjs/CheckIcon/index.test/index.js +10 -10
  165. package/cjs/ChevronIcon/__snapshots__/index.test.tsx.snap +148 -0
  166. package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
  167. package/cjs/DownloadIcon/config/index.js +22 -0
  168. package/cjs/DownloadIcon/index.js +16 -0
  169. package/cjs/DownloadIcon/index.test/index.js +48 -0
  170. package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  171. package/cjs/ExclamationIcon/config/index.js +22 -0
  172. package/cjs/ExclamationIcon/index.js +16 -0
  173. package/cjs/ExclamationIcon/index.test/index.js +48 -0
  174. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  175. package/cjs/GlobeIcon/config/index.js +2 -2
  176. package/cjs/GlobeIcon/index.test/index.js +6 -6
  177. package/cjs/Icon/__snapshots__/index.test.tsx.snap +11 -12
  178. package/cjs/Icon/index.js +1 -1
  179. package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
  180. package/cjs/LockIcon/config/index.js +17 -0
  181. package/cjs/LockIcon/index.js +16 -0
  182. package/cjs/LockIcon/index.test/index.js +48 -0
  183. package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
  184. package/cjs/LoginIcon/config/index.js +20 -0
  185. package/cjs/LoginIcon/index.js +16 -0
  186. package/cjs/LoginIcon/index.test/index.js +48 -0
  187. package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
  188. package/cjs/MinusIcon/config/index.js +20 -0
  189. package/cjs/MinusIcon/index.js +16 -0
  190. package/cjs/MinusIcon/index.test/index.js +48 -0
  191. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  192. package/cjs/MoreVertIcon/index.test/index.js +12 -12
  193. package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
  194. package/cjs/PdfFileIcon/config/index.js +23 -0
  195. package/cjs/PdfFileIcon/index.js +16 -0
  196. package/cjs/PdfFileIcon/index.test/index.js +48 -0
  197. package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
  198. package/cjs/PlusIcon/config/index.js +17 -0
  199. package/cjs/PlusIcon/index.js +16 -0
  200. package/cjs/PlusIcon/index.test/index.js +48 -0
  201. package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  202. package/cjs/PrintIcon/config/index.js +23 -0
  203. package/cjs/PrintIcon/index.js +16 -0
  204. package/cjs/PrintIcon/index.test/index.js +48 -0
  205. package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  206. package/cjs/ReplyIcon/config/index.js +17 -0
  207. package/cjs/ReplyIcon/index.js +16 -0
  208. package/cjs/ReplyIcon/index.test/index.js +48 -0
  209. package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  210. package/cjs/RestoreIcon/config/index.js +25 -0
  211. package/cjs/RestoreIcon/index.js +16 -0
  212. package/cjs/RestoreIcon/index.test/index.js +48 -0
  213. package/cjs/SvgIcon/__snapshots__/index.test.tsx.snap +390 -0
  214. package/cjs/SvgIcon/index.js +33 -0
  215. package/cjs/SvgIcon/index.test/index.js +108 -0
  216. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  217. package/cjs/UncheckIcon/index.test/index.js +12 -12
  218. package/cjs/icons/index.js +132 -0
  219. package/cjs/index.js +132 -0
  220. package/cjs/lazy/index.js +126 -0
  221. package/cjs/registry/index.js +28 -0
  222. package/icons/index.js +12 -0
  223. package/icons.d.ts +36 -0
  224. package/index.d.ts +12 -0
  225. package/index.js +14 -2
  226. package/lazy/index.js +98 -0
  227. package/lazy.d.ts +14 -0
  228. package/package.json +4 -3
  229. package/registry/index.js +28 -0
  230. package/registry.d.ts +14 -0
  231. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  232. package/src/AccessibilityIcon/index.test.tsx +12 -12
  233. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
  234. package/src/Base/index.tsx +257 -0
  235. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  236. package/src/BurgerIcon/index.test.tsx +8 -8
  237. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
  238. package/src/CancelIcon/config.tsx +15 -0
  239. package/src/CancelIcon/index.test.tsx +26 -0
  240. package/src/CancelIcon/index.tsx +8 -0
  241. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  242. package/src/ChatIcon/config.tsx +28 -0
  243. package/src/ChatIcon/index.test.tsx +29 -0
  244. package/src/ChatIcon/index.tsx +8 -0
  245. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  246. package/src/CheckIcon/index.test.tsx +10 -10
  247. package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +148 -0
  248. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
  249. package/src/DownloadIcon/config.tsx +16 -0
  250. package/src/DownloadIcon/index.test.tsx +26 -0
  251. package/src/DownloadIcon/index.tsx +8 -0
  252. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  253. package/src/ExclamationIcon/config.tsx +16 -0
  254. package/src/ExclamationIcon/index.test.tsx +26 -0
  255. package/src/ExclamationIcon/index.tsx +8 -0
  256. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  257. package/src/GlobeIcon/config.tsx +1 -12
  258. package/src/GlobeIcon/index.test.tsx +6 -6
  259. package/src/Icon/__snapshots__/index.test.tsx.snap +11 -12
  260. package/src/Icon/index.tsx +1 -1
  261. package/src/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
  262. package/src/LockIcon/config.tsx +15 -0
  263. package/src/LockIcon/index.test.tsx +26 -0
  264. package/src/LockIcon/index.tsx +8 -0
  265. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
  266. package/src/LoginIcon/config.tsx +16 -0
  267. package/src/LoginIcon/index.test.tsx +26 -0
  268. package/src/LoginIcon/index.tsx +8 -0
  269. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
  270. package/src/MinusIcon/config.tsx +15 -0
  271. package/src/MinusIcon/index.test.tsx +26 -0
  272. package/src/MinusIcon/index.tsx +8 -0
  273. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  274. package/src/MoreVertIcon/index.test.tsx +12 -12
  275. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
  276. package/src/PdfFileIcon/config.tsx +20 -0
  277. package/src/PdfFileIcon/index.test.tsx +26 -0
  278. package/src/PdfFileIcon/index.tsx +8 -0
  279. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
  280. package/src/PlusIcon/config.tsx +15 -0
  281. package/src/PlusIcon/index.test.tsx +26 -0
  282. package/src/PlusIcon/index.tsx +8 -0
  283. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  284. package/src/PrintIcon/config.tsx +16 -0
  285. package/src/PrintIcon/index.test.tsx +26 -0
  286. package/src/PrintIcon/index.tsx +8 -0
  287. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  288. package/src/ReplyIcon/config.tsx +15 -0
  289. package/src/ReplyIcon/index.test.tsx +26 -0
  290. package/src/ReplyIcon/index.tsx +8 -0
  291. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  292. package/src/RestoreIcon/config.tsx +17 -0
  293. package/src/RestoreIcon/index.test.tsx +26 -0
  294. package/src/RestoreIcon/index.tsx +8 -0
  295. package/src/SvgIcon/__snapshots__/index.test.tsx.snap +390 -0
  296. package/src/SvgIcon/index.test.tsx +68 -0
  297. package/src/SvgIcon/index.tsx +72 -0
  298. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  299. package/src/UncheckIcon/index.test.tsx +12 -12
  300. package/src/icons.ts +37 -0
  301. package/src/index.ts +12 -0
  302. package/src/lazy.js +14 -0
  303. package/src/registry.js +28 -0
@@ -41,28 +41,28 @@ exports[`renders the AccessibilityIcon with no props 1`] = `
41
41
  </AccessibilityIcon>
42
42
  `;
43
43
 
44
- exports[`renders the AccessibilityIcon with prop size=l 1`] = `
44
+ exports[`renders the AccessibilityIcon with prop color=base-content 1`] = `
45
45
  <AccessibilityIcon
46
- size="lg"
46
+ color="base-content"
47
47
  >
48
48
  <ForwardRef(Icon)
49
+ color="base-content"
49
50
  icon="accessibility"
50
- size="lg"
51
51
  >
52
52
  <ForwardRef(SvgIcon)
53
53
  className="ds-svg-icon--accessibility"
54
- size="lg"
54
+ color="base-content"
55
55
  >
56
56
  <ForwardRef(Base)
57
57
  aria-hidden="true"
58
58
  as="svg"
59
- className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
59
+ className="ds-svg-icon--accessibility ds-svg-icon--base-content ds-svg-icon"
60
60
  focusable="false"
61
61
  viewBox="0 0 24 24"
62
62
  >
63
63
  <svg
64
64
  aria-hidden="true"
65
- className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
65
+ className="ds-svg-icon--accessibility ds-svg-icon--base-content ds-svg-icon"
66
66
  focusable="false"
67
67
  viewBox="0 0 24 24"
68
68
  >
@@ -86,28 +86,28 @@ exports[`renders the AccessibilityIcon with prop size=l 1`] = `
86
86
  </AccessibilityIcon>
87
87
  `;
88
88
 
89
- exports[`renders the AccessibilityIcon with prop size=s 1`] = `
89
+ exports[`renders the AccessibilityIcon with prop color=error 1`] = `
90
90
  <AccessibilityIcon
91
- size="sm"
91
+ color="error"
92
92
  >
93
93
  <ForwardRef(Icon)
94
+ color="error"
94
95
  icon="accessibility"
95
- size="sm"
96
96
  >
97
97
  <ForwardRef(SvgIcon)
98
98
  className="ds-svg-icon--accessibility"
99
- size="sm"
99
+ color="error"
100
100
  >
101
101
  <ForwardRef(Base)
102
102
  aria-hidden="true"
103
103
  as="svg"
104
- className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
104
+ className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
105
105
  focusable="false"
106
106
  viewBox="0 0 24 24"
107
107
  >
108
108
  <svg
109
109
  aria-hidden="true"
110
- className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
110
+ className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
111
111
  focusable="false"
112
112
  viewBox="0 0 24 24"
113
113
  >
@@ -131,28 +131,31 @@ exports[`renders the AccessibilityIcon with prop size=s 1`] = `
131
131
  </AccessibilityIcon>
132
132
  `;
133
133
 
134
- exports[`renders the AccessibilityIcon with prop variant=dark 1`] = `
134
+ exports[`renders the AccessibilityIcon with prop color=error and size= xl 1`] = `
135
135
  <AccessibilityIcon
136
- variant="dark"
136
+ color="warning"
137
+ size="xl"
137
138
  >
138
139
  <ForwardRef(Icon)
140
+ color="warning"
139
141
  icon="accessibility"
140
- variant="dark"
142
+ size="xl"
141
143
  >
142
144
  <ForwardRef(SvgIcon)
143
145
  className="ds-svg-icon--accessibility"
144
- variant="dark"
146
+ color="warning"
147
+ size="xl"
145
148
  >
146
149
  <ForwardRef(Base)
147
150
  aria-hidden="true"
148
151
  as="svg"
149
- className="ds-svg-icon--accessibility ds-svg-icon--dark ds-svg-icon"
152
+ className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
150
153
  focusable="false"
151
154
  viewBox="0 0 24 24"
152
155
  >
153
156
  <svg
154
157
  aria-hidden="true"
155
- className="ds-svg-icon--accessibility ds-svg-icon--dark ds-svg-icon"
158
+ className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
156
159
  focusable="false"
157
160
  viewBox="0 0 24 24"
158
161
  >
@@ -176,28 +179,28 @@ exports[`renders the AccessibilityIcon with prop variant=dark 1`] = `
176
179
  </AccessibilityIcon>
177
180
  `;
178
181
 
179
- exports[`renders the AccessibilityIcon with prop variant=error 1`] = `
182
+ exports[`renders the AccessibilityIcon with prop color=primary 1`] = `
180
183
  <AccessibilityIcon
181
- variant="error"
184
+ color="primary"
182
185
  >
183
186
  <ForwardRef(Icon)
187
+ color="primary"
184
188
  icon="accessibility"
185
- variant="error"
186
189
  >
187
190
  <ForwardRef(SvgIcon)
188
191
  className="ds-svg-icon--accessibility"
189
- variant="error"
192
+ color="primary"
190
193
  >
191
194
  <ForwardRef(Base)
192
195
  aria-hidden="true"
193
196
  as="svg"
194
- className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
197
+ className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
195
198
  focusable="false"
196
199
  viewBox="0 0 24 24"
197
200
  >
198
201
  <svg
199
202
  aria-hidden="true"
200
- className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
203
+ className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
201
204
  focusable="false"
202
205
  viewBox="0 0 24 24"
203
206
  >
@@ -221,31 +224,28 @@ exports[`renders the AccessibilityIcon with prop variant=error 1`] = `
221
224
  </AccessibilityIcon>
222
225
  `;
223
226
 
224
- exports[`renders the AccessibilityIcon with prop variant=error and size= xl 1`] = `
227
+ exports[`renders the AccessibilityIcon with prop color=success 1`] = `
225
228
  <AccessibilityIcon
226
- size="xl"
227
- variant="warning"
229
+ color="success"
228
230
  >
229
231
  <ForwardRef(Icon)
232
+ color="success"
230
233
  icon="accessibility"
231
- size="xl"
232
- variant="warning"
233
234
  >
234
235
  <ForwardRef(SvgIcon)
235
236
  className="ds-svg-icon--accessibility"
236
- size="xl"
237
- variant="warning"
237
+ color="success"
238
238
  >
239
239
  <ForwardRef(Base)
240
240
  aria-hidden="true"
241
241
  as="svg"
242
- className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
242
+ className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
243
243
  focusable="false"
244
244
  viewBox="0 0 24 24"
245
245
  >
246
246
  <svg
247
247
  aria-hidden="true"
248
- className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
248
+ className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
249
249
  focusable="false"
250
250
  viewBox="0 0 24 24"
251
251
  >
@@ -269,28 +269,31 @@ exports[`renders the AccessibilityIcon with prop variant=error and size= xl 1`]
269
269
  </AccessibilityIcon>
270
270
  `;
271
271
 
272
- exports[`renders the AccessibilityIcon with prop variant=primary 1`] = `
272
+ exports[`renders the AccessibilityIcon with prop color=warning and size=s 1`] = `
273
273
  <AccessibilityIcon
274
- variant="primary"
274
+ color="warning"
275
+ size="sm"
275
276
  >
276
277
  <ForwardRef(Icon)
278
+ color="warning"
277
279
  icon="accessibility"
278
- variant="primary"
280
+ size="sm"
279
281
  >
280
282
  <ForwardRef(SvgIcon)
281
283
  className="ds-svg-icon--accessibility"
282
- variant="primary"
284
+ color="warning"
285
+ size="sm"
283
286
  >
284
287
  <ForwardRef(Base)
285
288
  aria-hidden="true"
286
289
  as="svg"
287
- className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
290
+ className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
288
291
  focusable="false"
289
292
  viewBox="0 0 24 24"
290
293
  >
291
294
  <svg
292
295
  aria-hidden="true"
293
- className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
296
+ className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
294
297
  focusable="false"
295
298
  viewBox="0 0 24 24"
296
299
  >
@@ -314,28 +317,28 @@ exports[`renders the AccessibilityIcon with prop variant=primary 1`] = `
314
317
  </AccessibilityIcon>
315
318
  `;
316
319
 
317
- exports[`renders the AccessibilityIcon with prop variant=success 1`] = `
320
+ exports[`renders the AccessibilityIcon with prop size=l 1`] = `
318
321
  <AccessibilityIcon
319
- variant="success"
322
+ size="lg"
320
323
  >
321
324
  <ForwardRef(Icon)
322
325
  icon="accessibility"
323
- variant="success"
326
+ size="lg"
324
327
  >
325
328
  <ForwardRef(SvgIcon)
326
329
  className="ds-svg-icon--accessibility"
327
- variant="success"
330
+ size="lg"
328
331
  >
329
332
  <ForwardRef(Base)
330
333
  aria-hidden="true"
331
334
  as="svg"
332
- className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
335
+ className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
333
336
  focusable="false"
334
337
  viewBox="0 0 24 24"
335
338
  >
336
339
  <svg
337
340
  aria-hidden="true"
338
- className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
341
+ className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
339
342
  focusable="false"
340
343
  viewBox="0 0 24 24"
341
344
  >
@@ -359,31 +362,28 @@ exports[`renders the AccessibilityIcon with prop variant=success 1`] = `
359
362
  </AccessibilityIcon>
360
363
  `;
361
364
 
362
- exports[`renders the AccessibilityIcon with prop variant=warning and size=s 1`] = `
365
+ exports[`renders the AccessibilityIcon with prop size=s 1`] = `
363
366
  <AccessibilityIcon
364
367
  size="sm"
365
- variant="warning"
366
368
  >
367
369
  <ForwardRef(Icon)
368
370
  icon="accessibility"
369
371
  size="sm"
370
- variant="warning"
371
372
  >
372
373
  <ForwardRef(SvgIcon)
373
374
  className="ds-svg-icon--accessibility"
374
375
  size="sm"
375
- variant="warning"
376
376
  >
377
377
  <ForwardRef(Base)
378
378
  aria-hidden="true"
379
379
  as="svg"
380
- className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
380
+ className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
381
381
  focusable="false"
382
382
  viewBox="0 0 24 24"
383
383
  >
384
384
  <svg
385
385
  aria-hidden="true"
386
- className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
386
+ className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
387
387
  focusable="false"
388
388
  viewBox="0 0 24 24"
389
389
  >
@@ -18,40 +18,40 @@ it('renders the AccessibilityIcon with prop size=l', function () {
18
18
  expect(mount(_ref3)).toMatchSnapshot();
19
19
  });
20
20
  var _ref4 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
21
- variant: "dark"
21
+ color: "base-content"
22
22
  });
23
- it('renders the AccessibilityIcon with prop variant=dark', function () {
23
+ it('renders the AccessibilityIcon with prop color=base-content', function () {
24
24
  expect(mount(_ref4)).toMatchSnapshot();
25
25
  });
26
26
  var _ref5 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
27
- variant: "primary"
27
+ color: "primary"
28
28
  });
29
- it('renders the AccessibilityIcon with prop variant=primary', function () {
29
+ it('renders the AccessibilityIcon with prop color=primary', function () {
30
30
  expect(mount(_ref5)).toMatchSnapshot();
31
31
  });
32
32
  var _ref6 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
33
- variant: "success"
33
+ color: "success"
34
34
  });
35
- it('renders the AccessibilityIcon with prop variant=success', function () {
35
+ it('renders the AccessibilityIcon with prop color=success', function () {
36
36
  expect(mount(_ref6)).toMatchSnapshot();
37
37
  });
38
38
  var _ref7 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
39
- variant: "error"
39
+ color: "error"
40
40
  });
41
- it('renders the AccessibilityIcon with prop variant=error', function () {
41
+ it('renders the AccessibilityIcon with prop color=error', function () {
42
42
  expect(mount(_ref7)).toMatchSnapshot();
43
43
  });
44
44
  var _ref8 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
45
- variant: "warning",
45
+ color: "warning",
46
46
  size: "sm"
47
47
  });
48
- it('renders the AccessibilityIcon with prop variant=warning and size=s', function () {
48
+ it('renders the AccessibilityIcon with prop color=warning and size=s', function () {
49
49
  expect(mount(_ref8)).toMatchSnapshot();
50
50
  });
51
51
  var _ref9 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
52
- variant: "warning",
52
+ color: "warning",
53
53
  size: "xl"
54
54
  });
55
- it('renders the AccessibilityIcon with prop variant=error and size= xl', function () {
55
+ it('renders the AccessibilityIcon with prop color=error and size= xl', function () {
56
56
  expect(mount(_ref9)).toMatchSnapshot();
57
57
  });
@@ -27,8 +27,8 @@ exports[`renders the ArrowIcon with direction down prop 1`] = `
27
27
  <arrow
28
28
  direction="down"
29
29
  >
30
- <path
31
- d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
30
+ <polygon
31
+ points="19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6"
32
32
  />
33
33
  </arrow>
34
34
  </svg>
@@ -65,8 +65,8 @@ exports[`renders the ArrowIcon with direction left prop 1`] = `
65
65
  <arrow
66
66
  direction="left"
67
67
  >
68
- <path
69
- d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
68
+ <polygon
69
+ points="14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7"
70
70
  />
71
71
  </arrow>
72
72
  </svg>
@@ -103,8 +103,8 @@ exports[`renders the ArrowIcon with direction up prop 1`] = `
103
103
  <arrow
104
104
  direction="up"
105
105
  >
106
- <path
107
- d="M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
106
+ <polygon
107
+ points="22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12"
108
108
  />
109
109
  </arrow>
110
110
  </svg>
@@ -136,8 +136,8 @@ exports[`renders the ArrowIcon with no props, direction prop is right by default
136
136
  viewBox="0 0 24 24"
137
137
  >
138
138
  <arrow>
139
- <path
140
- d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
139
+ <polygon
140
+ points="22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12"
141
141
  />
142
142
  </arrow>
143
143
  </svg>
@@ -0,0 +1,95 @@
1
+ import React from 'react';
2
+ type AsProp<C extends React.ElementType> = {
3
+ as?: C;
4
+ };
5
+ type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
6
+ type PolymorphicComponentProp<C extends React.ElementType, Props = Record<string, unknown>> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
7
+ type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = Record<string, unknown>> = PolymorphicComponentProp<C, Props> & {
8
+ ref?: any;
9
+ };
10
+ /**
11
+ * This is the updated component props using PolymorphicComponentPropWithRef
12
+ */
13
+ export type BaseProps<C extends React.ElementType> = PolymorphicComponentPropWithRef<C, {
14
+ /** margin is optional. It has not a default value. */
15
+ margin?: spacingValues;
16
+ /** marginTop is optional. It has not a default value. */
17
+ marginTop?: spacingValues;
18
+ /** marginBottom is optional. It has not a default value. */
19
+ marginBottom?: spacingValues;
20
+ /** marginLeft is optional. It has not a default value. */
21
+ marginLeft?: spacingValues;
22
+ /** marginRight is optional. It has not a default value. */
23
+ marginRight?: spacingValues;
24
+ /** Alternative for margin. Margin is optional. It has not a default value. */
25
+ m?: spacingValues;
26
+ /** Alternative for marginTop. MarginTop is optional. It has not a default value. */
27
+ mt?: spacingValues;
28
+ /** Alternative for marginBottom. MarginBottom is optional. It has not a default value. */
29
+ mb?: spacingValues;
30
+ /** Alternative for marginLeft. MarginLeft is optional. It has not a default value. */
31
+ ml?: spacingValues;
32
+ /** Alternative for marginRight. MarginRight is optional. It has not a default value. */
33
+ mr?: spacingValues;
34
+ /** Alternative for marginX. MarginX is optional. It has not a default value. */
35
+ mx?: spacingValues;
36
+ /** Alternative for marginY. MarginY is optional. It has not a default value. */
37
+ my?: spacingValues;
38
+ /** padding is optional. It has not a default value. */
39
+ padding?: spacingValues;
40
+ /** paddingTop is optional. It has not a default value. */
41
+ paddingTop?: spacingValues;
42
+ /** paddingBottom is optional. It has not a default value. */
43
+ paddingBottom?: spacingValues;
44
+ /** paddingLeft is optional. It has not a default value. */
45
+ paddingLeft?: spacingValues;
46
+ /** paddingRight is optional. It has not a default value. */
47
+ paddingRight?: spacingValues;
48
+ /** Alternative for padding. Padding is optional. It has not a default value. */
49
+ p?: spacingValues;
50
+ /** Alternative for paddingTop. PaddingTop is optional. It has not a default value. */
51
+ pt?: spacingValues;
52
+ /** Alternative for paddingBottom. PaddingBottom is optional. It has not a default value. */
53
+ pb?: spacingValues;
54
+ /** Alternative for paddingLeft. PaddingLeft is optional. It has not a default value. */
55
+ pl?: spacingValues;
56
+ /** Alternative for paddingRight. PaddingRight is optional. It has not a default value. */
57
+ pr?: spacingValues;
58
+ /** Alternative for paddingX. PaddingX is optional. It has not a default value. */
59
+ px?: spacingValues;
60
+ /** Alternative for paddingY. PaddingY is optional. It has not a default value. */
61
+ py?: spacingValues;
62
+ /** printHidden is optional. Default value is false. When true, the component is hidden at print. */
63
+ printHidden?: boolean;
64
+ /** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/
65
+ printVisible?: 'block' | 'inline';
66
+ /** Components will be hidden at all screen sizes. */
67
+ hidden?: boolean;
68
+ /** Components will be hidden from 'xs' screen size and up. */
69
+ xsUpHidden?: boolean;
70
+ /** Components will be hidden from 'sm' screen size and up. */
71
+ smUpHidden?: boolean;
72
+ /** Components will be hidden from 'md' screen size and up. */
73
+ mdUpHidden?: boolean;
74
+ /** Components will be hidden from 'lg' screen size and up. */
75
+ lgUpHidden?: boolean;
76
+ /** Components will be hidden from 'xl' screen size and up. */
77
+ xlUpHidden?: boolean;
78
+ /** Components will be hidden between xs and sm screen size. */
79
+ xsHidden?: boolean;
80
+ /** Components will be hidden between sm and md screen size. */
81
+ smHidden?: boolean;
82
+ /** Components will be hidden between md and lg screen size. */
83
+ mdHidden?: boolean;
84
+ /** Components will be hidden between lg and xl screen size. */
85
+ lgHidden?: boolean;
86
+ /** Components will be hidden between xl and 2xl screen size. */
87
+ xlHidden?: boolean;
88
+ }>;
89
+ type spacingValues = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96;
90
+ /**
91
+ * This is the type used in the type annotation for the component
92
+ */
93
+ type BaseComponent = <C extends React.ElementType = 'span'>(props: BaseProps<C>) => React.ReactElement | null;
94
+ export declare const Base: BaseComponent;
95
+ export default Base;
package/Base/index.js ADDED
@@ -0,0 +1,69 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["as", "margin", "marginTop", "marginBottom", "marginLeft", "marginRight", "m", "mt", "mb", "ml", "mr", "mx", "my", "padding", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight", "p", "pt", "pb", "pr", "pl", "px", "py", "printHidden", "printVisible", "hidden", "xsUpHidden", "smUpHidden", "mdUpHidden", "lgUpHidden", "xlUpHidden", "xsHidden", "smHidden", "mdHidden", "lgHidden", "xlHidden", "children", "className"];
4
+ import React from 'react';
5
+ import clsx from 'clsx';
6
+
7
+ // This is the first reusable type utility we built
8
+
9
+ // This is a new type utitlity with ref!
10
+
11
+ // This is the type for the "ref" only
12
+
13
+ /**
14
+ * This is the updated component props using PolymorphicComponentPropWithRef
15
+ */
16
+
17
+ /**
18
+ * This is the type used in the type annotation for the component
19
+ */
20
+
21
+ export var Base = /*#__PURE__*/React.forwardRef(function Base(_ref, ref) {
22
+ var as = _ref.as,
23
+ margin = _ref.margin,
24
+ marginTop = _ref.marginTop,
25
+ marginBottom = _ref.marginBottom,
26
+ marginLeft = _ref.marginLeft,
27
+ marginRight = _ref.marginRight,
28
+ m = _ref.m,
29
+ mt = _ref.mt,
30
+ mb = _ref.mb,
31
+ ml = _ref.ml,
32
+ mr = _ref.mr,
33
+ mx = _ref.mx,
34
+ my = _ref.my,
35
+ padding = _ref.padding,
36
+ paddingTop = _ref.paddingTop,
37
+ paddingBottom = _ref.paddingBottom,
38
+ paddingLeft = _ref.paddingLeft,
39
+ paddingRight = _ref.paddingRight,
40
+ p = _ref.p,
41
+ pt = _ref.pt,
42
+ pb = _ref.pb,
43
+ pr = _ref.pr,
44
+ pl = _ref.pl,
45
+ px = _ref.px,
46
+ py = _ref.py,
47
+ printHidden = _ref.printHidden,
48
+ printVisible = _ref.printVisible,
49
+ hidden = _ref.hidden,
50
+ xsUpHidden = _ref.xsUpHidden,
51
+ smUpHidden = _ref.smUpHidden,
52
+ mdUpHidden = _ref.mdUpHidden,
53
+ lgUpHidden = _ref.lgUpHidden,
54
+ xlUpHidden = _ref.xlUpHidden,
55
+ xsHidden = _ref.xsHidden,
56
+ smHidden = _ref.smHidden,
57
+ mdHidden = _ref.mdHidden,
58
+ lgHidden = _ref.lgHidden,
59
+ xlHidden = _ref.xlHidden,
60
+ children = _ref.children,
61
+ className = _ref.className,
62
+ props = _objectWithoutProperties(_ref, _excluded);
63
+ var Component = as || 'span';
64
+ return /*#__PURE__*/React.createElement(Component, _extends({
65
+ className: clsx(className, (paddingBottom !== undefined ? true : undefined) && "ds-pb-".concat(paddingBottom), (marginBottom !== undefined ? true : undefined) && "ds-mb-".concat(marginBottom), (paddingRight !== undefined ? true : undefined) && "ds-pr-".concat(paddingRight), (marginRight !== undefined ? true : undefined) && "ds-mr-".concat(marginRight), (paddingLeft !== undefined ? true : undefined) && "ds-pl-".concat(paddingLeft), (marginLeft !== undefined ? true : undefined) && "ds-ml-".concat(marginLeft), (paddingTop !== undefined ? true : undefined) && "ds-pt-".concat(paddingTop), (marginTop !== undefined ? true : undefined) && "ds-mt-".concat(marginTop), (padding !== undefined ? true : undefined) && "ds-p-".concat(padding), (margin !== undefined ? true : undefined) && "ds-m-".concat(margin), (mt !== undefined ? true : undefined) && "ds-mt-".concat(mt), (mb !== undefined ? true : undefined) && "ds-mb-".concat(mb), (mr !== undefined ? true : undefined) && "ds-mr-".concat(mr), (ml !== undefined ? true : undefined) && "ds-ml-".concat(ml), (mx !== undefined ? true : undefined) && "ds-mx-".concat(mx), (my !== undefined ? true : undefined) && "ds-my-".concat(my), (pt !== undefined ? true : undefined) && "ds-pt-".concat(pt), (pb !== undefined ? true : undefined) && "ds-pb-".concat(pb), (pr !== undefined ? true : undefined) && "ds-pr-".concat(pr), (pl !== undefined ? true : undefined) && "ds-pl-".concat(pl), (px !== undefined ? true : undefined) && "ds-px-".concat(px), (py !== undefined ? true : undefined) && "ds-py-".concat(py), (m !== undefined ? true : undefined) && "ds-m-".concat(m), (p !== undefined ? true : undefined) && "ds-p-".concat(p), printVisible === 'inline' && 'ds-print-visible-inline', printVisible === 'block' && 'ds-print-visible-block', !!printHidden && 'ds-print-hidden', !!xsUpHidden && 'ds-hidden-xs-up', !!smUpHidden && 'ds-hidden-sm-up', !!mdUpHidden && 'ds-hidden-md-up', !!lgUpHidden && 'ds-hidden-lg-up', !!xlUpHidden && 'ds-hidden-xl-up', !!xsHidden && 'ds-hidden-xs', !!smHidden && 'ds-hidden-sm', !!mdHidden && 'ds-hidden-md', !!lgHidden && 'ds-hidden-lg', !!xlHidden && 'ds-hidden-xl', !!hidden && 'ds-hidden'),
66
+ ref: ref
67
+ }, props), children);
68
+ });
69
+ export default Base;
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "types": "./index.d.ts",
5
+ "main": "../cjs/Base/index.js"
6
+ }