@digigov/react-core 2.0.0-d57821ba → 2.0.0-daaf7bdf

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 (394) hide show
  1. package/Base/compat/Input/CheckboxInput.native/index.js +33 -0
  2. package/Base/compat/Input/CheckboxInput.native/package.json +6 -0
  3. package/Base/compat/Input/CheckboxInput.native.d.ts +4 -0
  4. package/Base/compat/Input/CheckboxInput.native.js.map +7 -0
  5. package/Base/compat/Input/RadioInput.native/index.js +32 -0
  6. package/Base/compat/Input/RadioInput.native/package.json +6 -0
  7. package/Base/compat/Input/RadioInput.native.d.ts +4 -0
  8. package/Base/compat/Input/RadioInput.native.js.map +7 -0
  9. package/Base/compat/Input/StringInput.native/index.js +99 -0
  10. package/Base/compat/Input/StringInput.native/package.json +6 -0
  11. package/Base/compat/Input/StringInput.native.d.ts +7 -0
  12. package/Base/compat/Input/StringInput.native.js.map +7 -0
  13. package/Base/compat/Input/index.native/index.js +24 -0
  14. package/Base/compat/Input/index.native/package.json +6 -0
  15. package/Base/compat/Input/index.native.d.ts +7 -0
  16. package/Base/compat/Input/index.native.js.map +7 -0
  17. package/Base/compat/button.native/index.js +48 -0
  18. package/Base/compat/button.native/package.json +6 -0
  19. package/Base/compat/button.native.d.ts +5 -0
  20. package/Base/compat/button.native.js.map +7 -0
  21. package/Base/compat/details.native/index.js +40 -0
  22. package/Base/compat/details.native/package.json +6 -0
  23. package/Base/compat/details.native.d.ts +8 -0
  24. package/Base/compat/details.native.js.map +7 -0
  25. package/Base/compat/li.native/index.js +9 -0
  26. package/Base/compat/li.native/package.json +6 -0
  27. package/Base/compat/li.native.d.ts +6 -0
  28. package/Base/compat/li.native.js.map +7 -0
  29. package/Base/compat/ol.native/index.js +33 -0
  30. package/Base/compat/ol.native/package.json +6 -0
  31. package/Base/compat/ol.native.d.ts +6 -0
  32. package/Base/compat/ol.native.js.map +7 -0
  33. package/Base/index.d.ts +2 -95
  34. package/Base/index.js +3 -98
  35. package/Base/index.js.map +3 -3
  36. package/Base/index.native/index.js +160 -0
  37. package/Base/index.native/package.json +6 -0
  38. package/Base/index.native.d.ts +7 -0
  39. package/Base/index.native.js.map +7 -0
  40. package/Base/index.web/index.js +104 -0
  41. package/Base/index.web/package.json +6 -0
  42. package/Base/index.web.d.ts +97 -0
  43. package/Base/index.web.js.map +7 -0
  44. package/Base/mapping.native/index.js +34 -0
  45. package/Base/mapping.native/package.json +6 -0
  46. package/Base/mapping.native.d.ts +6 -0
  47. package/Base/mapping.native.js.map +7 -0
  48. package/Base/utils/index.js +86 -0
  49. package/Base/utils/package.json +6 -0
  50. package/Base/utils.d.ts +41 -0
  51. package/Base/utils.js.map +7 -0
  52. package/Base/wrap.native/index.js +64 -0
  53. package/Base/wrap.native/package.json +6 -0
  54. package/Base/wrap.native.d.ts +2 -0
  55. package/Base/wrap.native.js.map +7 -0
  56. package/CallToAction/index.js +1 -1
  57. package/CallToAction/index.js.map +2 -2
  58. package/Card/index.js +2 -1
  59. package/Card/index.js.map +2 -2
  60. package/CheckboxItem/index.js +4 -16
  61. package/CheckboxItem/index.js.map +2 -2
  62. package/CheckboxItemInput/index.d.ts +2 -0
  63. package/CheckboxItemInput/index.js +6 -0
  64. package/CheckboxItemInput/index.js.map +7 -0
  65. package/CheckboxItemInput/index.native/index.js +20 -0
  66. package/CheckboxItemInput/index.native/package.json +6 -0
  67. package/CheckboxItemInput/index.native.d.ts +4 -0
  68. package/CheckboxItemInput/index.native.js.map +7 -0
  69. package/CheckboxItemInput/index.web/index.js +26 -0
  70. package/CheckboxItemInput/index.web/package.json +6 -0
  71. package/CheckboxItemInput/index.web.d.ts +10 -0
  72. package/CheckboxItemInput/index.web.js.map +7 -0
  73. package/CheckboxItemInput/package.json +6 -0
  74. package/Chip/index.js +2 -1
  75. package/Chip/index.js.map +2 -2
  76. package/CodeBlockContainer/index.d.ts +1 -9
  77. package/CodeBlockContainer/index.js +2 -3
  78. package/CodeBlockContainer/index.js.map +2 -2
  79. package/CodeBlockContent/index.d.ts +1 -1
  80. package/CodeBlockContent/index.js +3 -2
  81. package/CodeBlockContent/index.js.map +2 -2
  82. package/CodeBlockHeader/index.d.ts +1 -1
  83. package/CodeBlockHeader/index.js +1 -3
  84. package/CodeBlockHeader/index.js.map +2 -2
  85. package/CopyToClipboardContainer/index.d.ts +2 -31
  86. package/CopyToClipboardContainer/index.js +3 -40
  87. package/CopyToClipboardContainer/index.js.map +3 -3
  88. package/CopyToClipboardContainer/index.web/index.js +44 -0
  89. package/CopyToClipboardContainer/index.web/package.json +6 -0
  90. package/CopyToClipboardContainer/index.web.d.ts +31 -0
  91. package/CopyToClipboardContainer/index.web.js.map +7 -0
  92. package/CopyToClipboardMessage/index.d.ts +2 -18
  93. package/CopyToClipboardMessage/index.js +3 -21
  94. package/CopyToClipboardMessage/index.js.map +3 -3
  95. package/CopyToClipboardMessage/index.native/index.js +18 -0
  96. package/CopyToClipboardMessage/index.native/package.json +6 -0
  97. package/CopyToClipboardMessage/index.native.d.ts +6 -0
  98. package/CopyToClipboardMessage/index.native.js.map +7 -0
  99. package/CopyToClipboardMessage/index.web/index.js +24 -0
  100. package/CopyToClipboardMessage/index.web/package.json +6 -0
  101. package/CopyToClipboardMessage/index.web.d.ts +18 -0
  102. package/CopyToClipboardMessage/index.web.js.map +7 -0
  103. package/DateInputItem/index.d.ts +2 -26
  104. package/DateInputItem/index.js +3 -41
  105. package/DateInputItem/index.js.map +3 -3
  106. package/DateInputItem/index.native/index.js +17 -0
  107. package/DateInputItem/index.native/package.json +6 -0
  108. package/DateInputItem/index.native.d.ts +4 -0
  109. package/DateInputItem/index.native.js.map +7 -0
  110. package/DateInputItem/index.web/index.js +32 -0
  111. package/DateInputItem/index.web/package.json +6 -0
  112. package/DateInputItem/index.web.d.ts +26 -0
  113. package/DateInputItem/index.web.js.map +7 -0
  114. package/Details/index.d.ts +2 -10
  115. package/Details/index.js +3 -22
  116. package/Details/index.js.map +3 -3
  117. package/Details/index.native/index.js +17 -0
  118. package/Details/index.native/package.json +6 -0
  119. package/Details/index.native.d.ts +4 -0
  120. package/Details/index.native.js.map +7 -0
  121. package/Details/index.web/index.js +25 -0
  122. package/Details/index.web/package.json +6 -0
  123. package/Details/index.web.d.ts +10 -0
  124. package/Details/index.web.js.map +7 -0
  125. package/FieldsetLegend/index.js +1 -4
  126. package/FieldsetLegend/index.js.map +2 -2
  127. package/LabelTitle/index.js +2 -4
  128. package/LabelTitle/index.js.map +2 -2
  129. package/NavListItemActionContainer/index.d.ts +2 -10
  130. package/NavListItemActionContainer/index.js +3 -20
  131. package/NavListItemActionContainer/index.js.map +3 -3
  132. package/NavListItemActionContainer/index.native/index.js +17 -0
  133. package/NavListItemActionContainer/index.native/package.json +6 -0
  134. package/NavListItemActionContainer/index.native.d.ts +7 -0
  135. package/NavListItemActionContainer/index.native.js.map +7 -0
  136. package/NavListItemActionContainer/index.web/index.js +23 -0
  137. package/NavListItemActionContainer/index.web/package.json +6 -0
  138. package/NavListItemActionContainer/index.web.d.ts +10 -0
  139. package/NavListItemActionContainer/index.web.js.map +7 -0
  140. package/NotificationBannerLink/index.d.ts +2 -11
  141. package/NotificationBannerLink/index.js +3 -19
  142. package/NotificationBannerLink/index.js.map +3 -3
  143. package/NotificationBannerLink/index.native/index.js +16 -0
  144. package/NotificationBannerLink/index.native/package.json +6 -0
  145. package/NotificationBannerLink/index.native.d.ts +8 -0
  146. package/NotificationBannerLink/index.native.js.map +7 -0
  147. package/NotificationBannerLink/index.web/index.js +22 -0
  148. package/NotificationBannerLink/index.web/package.json +6 -0
  149. package/NotificationBannerLink/index.web.d.ts +11 -0
  150. package/NotificationBannerLink/index.web.js.map +7 -0
  151. package/PhaseBanner/index.js +2 -1
  152. package/PhaseBanner/index.js.map +2 -2
  153. package/PhaseBannerTag/index.d.ts +2 -2
  154. package/PhaseBannerTag/index.js +1 -1
  155. package/PhaseBannerTag/index.js.map +1 -1
  156. package/PhaseBannerText/index.js +1 -1
  157. package/PhaseBannerText/index.js.map +2 -2
  158. package/RadioItem/index.js +2 -1
  159. package/RadioItem/index.js.map +2 -2
  160. package/SummaryList/index.d.ts +1 -1
  161. package/SummaryList/index.js.map +2 -2
  162. package/SummaryListItemKey/index.d.ts +14 -0
  163. package/SummaryListItemKey/index.js +5 -2
  164. package/SummaryListItemKey/index.js.map +2 -2
  165. package/TextArea/index.d.ts +2 -24
  166. package/TextArea/index.js +3 -27
  167. package/TextArea/index.js.map +3 -3
  168. package/TextArea/index.native/index.js +16 -0
  169. package/TextArea/index.native/package.json +6 -0
  170. package/TextArea/index.native.d.ts +4 -0
  171. package/TextArea/index.native.js.map +7 -0
  172. package/TextArea/index.web/index.js +30 -0
  173. package/TextArea/index.web/package.json +6 -0
  174. package/TextArea/index.web.d.ts +24 -0
  175. package/TextArea/index.web.js.map +7 -0
  176. package/TextInput/index.d.ts +2 -46
  177. package/TextInput/index.js +3 -40
  178. package/TextInput/index.js.map +3 -3
  179. package/TextInput/index.native/index.js +19 -0
  180. package/TextInput/index.native/package.json +6 -0
  181. package/TextInput/index.native.d.ts +4 -0
  182. package/TextInput/index.native.js.map +7 -0
  183. package/TextInput/index.web/index.js +43 -0
  184. package/TextInput/index.web/package.json +6 -0
  185. package/TextInput/index.web.d.ts +46 -0
  186. package/TextInput/index.web.js.map +7 -0
  187. package/Unpurge/index.js +78 -0
  188. package/Unpurge/index.js.map +2 -2
  189. package/WarningText/index.js +7 -12
  190. package/WarningText/index.js.map +2 -2
  191. package/WarningTextAssistive/index.d.ts +15 -0
  192. package/WarningTextAssistive/index.js +23 -0
  193. package/WarningTextAssistive/index.js.map +7 -0
  194. package/WarningTextAssistive/package.json +6 -0
  195. package/cjs/Base/compat/Input/CheckboxInput.native/index.js +66 -0
  196. package/cjs/Base/compat/Input/CheckboxInput.native.js.map +7 -0
  197. package/cjs/Base/compat/Input/RadioInput.native/index.js +65 -0
  198. package/cjs/Base/compat/Input/RadioInput.native.js.map +7 -0
  199. package/cjs/Base/compat/Input/StringInput.native/index.js +129 -0
  200. package/cjs/Base/compat/Input/StringInput.native.js.map +7 -0
  201. package/cjs/Base/compat/Input/index.native/index.js +55 -0
  202. package/cjs/Base/compat/Input/index.native.js.map +7 -0
  203. package/cjs/Base/compat/button.native/index.js +81 -0
  204. package/cjs/Base/compat/button.native.js.map +7 -0
  205. package/cjs/Base/compat/details.native/index.js +65 -0
  206. package/cjs/Base/compat/details.native.js.map +7 -0
  207. package/cjs/Base/compat/li.native/index.js +42 -0
  208. package/cjs/Base/compat/li.native.js.map +7 -0
  209. package/cjs/Base/compat/ol.native/index.js +66 -0
  210. package/cjs/Base/compat/ol.native.js.map +7 -0
  211. package/cjs/Base/index.js +5 -99
  212. package/cjs/Base/index.js.map +3 -3
  213. package/cjs/Base/index.native/index.js +193 -0
  214. package/cjs/Base/index.native.js.map +7 -0
  215. package/cjs/Base/index.web/index.js +137 -0
  216. package/cjs/Base/index.web.js.map +7 -0
  217. package/cjs/Base/mapping.native/index.js +67 -0
  218. package/cjs/Base/mapping.native.js.map +7 -0
  219. package/cjs/Base/utils/index.js +119 -0
  220. package/cjs/Base/utils.js.map +7 -0
  221. package/cjs/Base/wrap.native/index.js +97 -0
  222. package/cjs/Base/wrap.native.js.map +7 -0
  223. package/cjs/CallToAction/index.js +1 -1
  224. package/cjs/CallToAction/index.js.map +2 -2
  225. package/cjs/Card/index.js +2 -1
  226. package/cjs/Card/index.js.map +2 -2
  227. package/cjs/CheckboxItem/index.js +4 -16
  228. package/cjs/CheckboxItem/index.js.map +3 -3
  229. package/cjs/CheckboxItemInput/index.js +40 -0
  230. package/cjs/CheckboxItemInput/index.js.map +7 -0
  231. package/cjs/CheckboxItemInput/index.native/index.js +53 -0
  232. package/cjs/CheckboxItemInput/index.native.js.map +7 -0
  233. package/cjs/CheckboxItemInput/index.web/index.js +59 -0
  234. package/cjs/CheckboxItemInput/index.web.js.map +7 -0
  235. package/cjs/Chip/index.js +2 -1
  236. package/cjs/Chip/index.js.map +2 -2
  237. package/cjs/CodeBlockContainer/index.js +2 -3
  238. package/cjs/CodeBlockContainer/index.js.map +2 -2
  239. package/cjs/CodeBlockContent/index.js +3 -2
  240. package/cjs/CodeBlockContent/index.js.map +2 -2
  241. package/cjs/CodeBlockHeader/index.js +1 -3
  242. package/cjs/CodeBlockHeader/index.js.map +2 -2
  243. package/cjs/CopyToClipboardContainer/index.js +5 -41
  244. package/cjs/CopyToClipboardContainer/index.js.map +3 -3
  245. package/cjs/CopyToClipboardContainer/index.web/index.js +77 -0
  246. package/cjs/CopyToClipboardContainer/index.web.js.map +7 -0
  247. package/cjs/CopyToClipboardMessage/index.js +5 -22
  248. package/cjs/CopyToClipboardMessage/index.js.map +3 -3
  249. package/cjs/CopyToClipboardMessage/index.native/index.js +51 -0
  250. package/cjs/CopyToClipboardMessage/index.native.js.map +7 -0
  251. package/cjs/CopyToClipboardMessage/index.web/index.js +57 -0
  252. package/cjs/CopyToClipboardMessage/index.web.js.map +7 -0
  253. package/cjs/DateInputItem/index.js +5 -42
  254. package/cjs/DateInputItem/index.js.map +3 -3
  255. package/cjs/DateInputItem/index.native/index.js +50 -0
  256. package/cjs/DateInputItem/index.native.js.map +7 -0
  257. package/cjs/DateInputItem/index.web/index.js +65 -0
  258. package/cjs/DateInputItem/index.web.js.map +7 -0
  259. package/cjs/Details/index.js +5 -23
  260. package/cjs/Details/index.js.map +3 -3
  261. package/cjs/Details/index.native/index.js +50 -0
  262. package/cjs/Details/index.native.js.map +7 -0
  263. package/cjs/Details/index.web/index.js +58 -0
  264. package/cjs/Details/index.web.js.map +7 -0
  265. package/cjs/FieldsetLegend/index.js +1 -4
  266. package/cjs/FieldsetLegend/index.js.map +2 -2
  267. package/cjs/LabelTitle/index.js +2 -4
  268. package/cjs/LabelTitle/index.js.map +2 -2
  269. package/cjs/NavListItemActionContainer/index.js +5 -21
  270. package/cjs/NavListItemActionContainer/index.js.map +3 -3
  271. package/cjs/NavListItemActionContainer/index.native/index.js +50 -0
  272. package/cjs/NavListItemActionContainer/index.native.js.map +7 -0
  273. package/cjs/NavListItemActionContainer/index.web/index.js +56 -0
  274. package/cjs/NavListItemActionContainer/index.web.js.map +7 -0
  275. package/cjs/NotificationBannerLink/index.js +5 -20
  276. package/cjs/NotificationBannerLink/index.js.map +3 -3
  277. package/cjs/NotificationBannerLink/index.native/index.js +49 -0
  278. package/cjs/NotificationBannerLink/index.native.js.map +7 -0
  279. package/cjs/NotificationBannerLink/index.web/index.js +55 -0
  280. package/cjs/NotificationBannerLink/index.web.js.map +7 -0
  281. package/cjs/PhaseBanner/index.js +2 -1
  282. package/cjs/PhaseBanner/index.js.map +2 -2
  283. package/cjs/PhaseBannerTag/index.js +1 -1
  284. package/cjs/PhaseBannerTag/index.js.map +1 -1
  285. package/cjs/PhaseBannerText/index.js +1 -1
  286. package/cjs/PhaseBannerText/index.js.map +2 -2
  287. package/cjs/RadioItem/index.js +2 -1
  288. package/cjs/RadioItem/index.js.map +3 -3
  289. package/cjs/SummaryList/index.js.map +2 -2
  290. package/cjs/SummaryListItemKey/index.js +5 -2
  291. package/cjs/SummaryListItemKey/index.js.map +2 -2
  292. package/cjs/TextArea/index.js +5 -28
  293. package/cjs/TextArea/index.js.map +3 -3
  294. package/cjs/TextArea/index.native/index.js +49 -0
  295. package/cjs/TextArea/index.native.js.map +7 -0
  296. package/cjs/TextArea/index.web/index.js +63 -0
  297. package/cjs/TextArea/index.web.js.map +7 -0
  298. package/cjs/TextInput/index.js +5 -41
  299. package/cjs/TextInput/index.js.map +3 -3
  300. package/cjs/TextInput/index.native/index.js +52 -0
  301. package/cjs/TextInput/index.native.js.map +7 -0
  302. package/cjs/TextInput/index.web/index.js +76 -0
  303. package/cjs/TextInput/index.web.js.map +7 -0
  304. package/cjs/Unpurge/index.js +78 -0
  305. package/cjs/Unpurge/index.js.map +2 -2
  306. package/cjs/WarningText/index.js +7 -12
  307. package/cjs/WarningText/index.js.map +2 -2
  308. package/cjs/WarningTextAssistive/index.js +56 -0
  309. package/cjs/WarningTextAssistive/index.js.map +7 -0
  310. package/cjs/index.js +5 -1
  311. package/cjs/index.js.map +2 -2
  312. package/cjs/lazy/index.js +12 -10
  313. package/cjs/lazy.js.map +2 -2
  314. package/cjs/registry/index.js +27 -1
  315. package/cjs/registry.js.map +2 -2
  316. package/cjs/utils/extend.native/index.js +47 -0
  317. package/cjs/utils/extend.native.js.map +7 -0
  318. package/index.d.ts +2 -0
  319. package/index.js +3 -1
  320. package/index.js.map +2 -2
  321. package/lazy/index.js +12 -10
  322. package/lazy.d.ts +219 -217
  323. package/lazy.js.map +2 -2
  324. package/package.json +21 -4
  325. package/registry/index.js +27 -1
  326. package/registry.d.ts +13 -0
  327. package/registry.js.map +2 -2
  328. package/src/Base/compat/Input/CheckboxInput.native.tsx +40 -0
  329. package/src/Base/compat/Input/RadioInput.native.tsx +39 -0
  330. package/src/Base/compat/Input/StringInput.native.tsx +115 -0
  331. package/src/Base/compat/Input/index.native.tsx +28 -0
  332. package/src/Base/compat/button.native.tsx +53 -0
  333. package/src/Base/compat/details.native.tsx +68 -0
  334. package/src/Base/compat/li.native.tsx +11 -0
  335. package/src/Base/compat/ol.native.tsx +41 -0
  336. package/src/Base/index.native.tsx +185 -0
  337. package/src/Base/index.tsx +2 -257
  338. package/src/Base/index.web.tsx +259 -0
  339. package/src/Base/mapping.native.tsx +41 -0
  340. package/src/Base/utils.ts +84 -0
  341. package/src/Base/wrap.native.tsx +94 -0
  342. package/src/CallToAction/index.tsx +2 -2
  343. package/src/Card/index.tsx +3 -2
  344. package/src/CheckboxItem/index.tsx +4 -14
  345. package/src/CheckboxItemInput/index.native.tsx +17 -0
  346. package/src/CheckboxItemInput/index.tsx +2 -0
  347. package/src/CheckboxItemInput/index.web.tsx +34 -0
  348. package/src/Chip/index.tsx +2 -2
  349. package/src/CodeBlockContainer/index.tsx +3 -16
  350. package/src/CodeBlockContent/index.tsx +5 -4
  351. package/src/CodeBlockHeader/index.tsx +2 -4
  352. package/src/CopyToClipboardContainer/index.tsx +2 -74
  353. package/src/CopyToClipboardContainer/index.web.tsx +75 -0
  354. package/src/CopyToClipboardMessage/index.native.tsx +21 -0
  355. package/src/CopyToClipboardMessage/index.tsx +2 -41
  356. package/src/CopyToClipboardMessage/index.web.tsx +41 -0
  357. package/src/DateInputItem/index.native.tsx +12 -0
  358. package/src/DateInputItem/index.tsx +2 -64
  359. package/src/DateInputItem/index.web.tsx +53 -0
  360. package/src/Details/index.native.tsx +14 -0
  361. package/src/Details/index.tsx +2 -27
  362. package/src/Details/index.web.tsx +27 -0
  363. package/src/FieldsetLegend/index.tsx +1 -4
  364. package/src/LabelTitle/index.tsx +2 -4
  365. package/src/NavListItemActionContainer/index.native.tsx +18 -0
  366. package/src/NavListItemActionContainer/index.tsx +2 -28
  367. package/src/NavListItemActionContainer/index.web.tsx +28 -0
  368. package/src/NotificationBannerLink/index.native.tsx +22 -0
  369. package/src/NotificationBannerLink/index.tsx +2 -28
  370. package/src/NotificationBannerLink/index.web.tsx +28 -0
  371. package/src/PhaseBanner/index.tsx +2 -2
  372. package/src/PhaseBannerTag/index.tsx +3 -3
  373. package/src/PhaseBannerText/__snapshots__/index.test.tsx.snap +1 -1
  374. package/src/PhaseBannerText/index.tsx +1 -1
  375. package/src/RadioItem/index.tsx +2 -2
  376. package/src/SummaryList/index.tsx +7 -5
  377. package/src/SummaryListItemKey/index.tsx +24 -2
  378. package/src/TextArea/index.native.tsx +11 -0
  379. package/src/TextArea/index.tsx +2 -50
  380. package/src/TextArea/index.web.tsx +50 -0
  381. package/src/TextInput/index.native.tsx +15 -0
  382. package/src/TextInput/index.tsx +2 -87
  383. package/src/TextInput/index.web.tsx +87 -0
  384. package/src/Unpurge/index.tsx +78 -0
  385. package/src/WarningText/index.tsx +12 -15
  386. package/src/WarningTextAssistive/index.tsx +37 -0
  387. package/src/index.ts +2 -0
  388. package/src/lazy.js +12 -10
  389. package/src/registry.js +28 -2
  390. package/src/utils/extend.native.tsx +36 -0
  391. package/utils/extend.native/index.js +14 -0
  392. package/utils/extend.native/package.json +6 -0
  393. package/utils/extend.native.d.ts +23 -0
  394. package/utils/extend.native.js.map +7 -0
@@ -0,0 +1,55 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var index_native_exports = {};
29
+ __export(index_native_exports, {
30
+ BaseInput: () => BaseInput,
31
+ default: () => index_native_default
32
+ });
33
+ module.exports = __toCommonJS(index_native_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_CheckboxInput = __toESM(require("@digigov/react-core/Base/compat/Input/CheckboxInput.native"));
36
+ var import_RadioInput = __toESM(require("@digigov/react-core/Base/compat/Input/RadioInput.native"));
37
+ var import_StringInput = require("@digigov/react-core/Base/compat/Input/StringInput.native");
38
+ const BaseInput = import_react.default.forwardRef(
39
+ function BaseInput2(props, ref) {
40
+ switch (props.type) {
41
+ case "radio":
42
+ return /* @__PURE__ */ import_react.default.createElement(import_RadioInput.default, { ref, ...props });
43
+ case "checkbox":
44
+ return /* @__PURE__ */ import_react.default.createElement(import_CheckboxInput.default, { ref, ...props });
45
+ default:
46
+ return /* @__PURE__ */ import_react.default.createElement(import_StringInput.StringInput, { ref, ...props });
47
+ }
48
+ }
49
+ );
50
+ var index_native_default = BaseInput;
51
+ // Annotate the CommonJS export names for ESM import in node:
52
+ 0 && (module.exports = {
53
+ BaseInput
54
+ });
55
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/Base/compat/Input/index.native.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport CheckboxInput, {\n CheckboxInputProps,\n} from '@digigov/react-core/Base/compat/Input/CheckboxInput.native';\nimport RadioInput, {\n RadioInputProps,\n} from '@digigov/react-core/Base/compat/Input/RadioInput.native';\nimport {\n StringInput,\n StringInputProps,\n} from '@digigov/react-core/Base/compat/Input/StringInput.native';\n\ntype InputProps = RadioInputProps | CheckboxInputProps | StringInputProps;\n\nexport const BaseInput = React.forwardRef<HTMLInputElement, InputProps>(\n function BaseInput(props, ref) {\n switch (props.type) {\n case 'radio':\n return <RadioInput ref={ref} {...props} />;\n case 'checkbox':\n return <CheckboxInput ref={ref} {...props} />;\n default:\n return <StringInput ref={ref} {...props} />;\n }\n }\n);\n\nexport default BaseInput;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,2BAEO;AACP,wBAEO;AACP,yBAGO;AAIA,MAAM,YAAY,aAAAA,QAAM;AAAA,EAC7B,SAASC,WAAU,OAAO,KAAK;AAC7B,YAAQ,MAAM,MAAM;AAAA,MAClB,KAAK;AACH,eAAO,6BAAAD,QAAA,cAAC,kBAAAE,SAAA,EAAW,KAAW,GAAG,OAAO;AAAA,MAC1C,KAAK;AACH,eAAO,6BAAAF,QAAA,cAAC,qBAAAG,SAAA,EAAc,KAAW,GAAG,OAAO;AAAA,MAC7C;AACE,eAAO,6BAAAH,QAAA,cAAC,kCAAY,KAAW,GAAG,OAAO;AAAA,IAC7C;AAAA,EACF;AACF;AAEA,IAAO,uBAAQ;",
6
+ "names": ["React", "BaseInput", "RadioInput", "CheckboxInput"]
7
+ }
@@ -0,0 +1,81 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var button_native_exports = {};
29
+ __export(button_native_exports, {
30
+ Button: () => Button,
31
+ CompatButton: () => CompatButton,
32
+ FormButton: () => FormButton
33
+ });
34
+ module.exports = __toCommonJS(button_native_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_react_native = require("react-native");
37
+ var import_FormContext = require("@digigov/form/FormContext");
38
+ const FormButton = import_react.default.forwardRef(
39
+ function FormButton2({ onClick, ...props }, ref) {
40
+ const formContext = (0, import_react.useContext)(import_FormContext.FormContext);
41
+ return /* @__PURE__ */ import_react.default.createElement(
42
+ CompatButton,
43
+ {
44
+ ref,
45
+ ...props,
46
+ onClick: () => {
47
+ onClick && onClick({});
48
+ if (props.type) formContext?.[props.type]();
49
+ }
50
+ }
51
+ );
52
+ }
53
+ );
54
+ const CompatButton = import_react.default.forwardRef(
55
+ function CompatButton2({ onClick, ...props }, ref) {
56
+ return /* @__PURE__ */ import_react.default.createElement(
57
+ import_react_native.Pressable,
58
+ {
59
+ onPress: onClick,
60
+ ref,
61
+ hitSlop: 10,
62
+ ...props
63
+ }
64
+ );
65
+ }
66
+ );
67
+ const Button = import_react.default.forwardRef(
68
+ function Button2(props, ref) {
69
+ if (props.type && ["submit", "reset"].includes(props.type)) {
70
+ return /* @__PURE__ */ import_react.default.createElement(FormButton, { ref, ...props });
71
+ }
72
+ return /* @__PURE__ */ import_react.default.createElement(CompatButton, { ref, ...props });
73
+ }
74
+ );
75
+ // Annotate the CommonJS export names for ESM import in node:
76
+ 0 && (module.exports = {
77
+ Button,
78
+ CompatButton,
79
+ FormButton
80
+ });
81
+ //# sourceMappingURL=button.native.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/Base/compat/button.native.tsx"],
4
+ "sourcesContent": ["import React, {\n ButtonHTMLAttributes,\n DetailedHTMLProps,\n useContext,\n} from 'react';\nimport { Pressable } from 'react-native';\n// @ts-expect-error - `@digigov/form` is to be removed as a dependency\nimport { FormContext } from '@digigov/form/FormContext';\n\n// TODO: Fix `ButtonProps` type\nexport type ButtonProps = Omit<\n DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>,\n 'ref'\n>;\n\nexport const FormButton = React.forwardRef<unknown, ButtonProps>(\n function FormButton({ onClick, ...props }, ref) {\n const formContext = useContext(FormContext);\n return (\n <CompatButton\n ref={ref}\n {...props}\n onClick={() => {\n onClick && onClick({} as React.MouseEvent<HTMLButtonElement>);\n if (props.type) formContext?.[props.type]();\n }}\n />\n );\n }\n);\n\n// TODO: Fix `ref` type\nexport const CompatButton = React.forwardRef<unknown, ButtonProps>(\n function CompatButton({ onClick, ...props }, ref) {\n return (\n <Pressable\n onPress={onClick as any}\n ref={ref as any}\n hitSlop={10}\n {...(props as any)}\n />\n );\n }\n);\n\nexport const Button = React.forwardRef<unknown, ButtonProps>(\n function Button(props, ref) {\n if (props.type && ['submit', 'reset'].includes(props.type)) {\n return <FormButton ref={ref} {...props} />;\n }\n return <CompatButton ref={ref} {...props} />;\n }\n);\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAIO;AACP,0BAA0B;AAE1B,yBAA4B;AAQrB,MAAM,aAAa,aAAAA,QAAM;AAAA,EAC9B,SAASC,YAAW,EAAE,SAAS,GAAG,MAAM,GAAG,KAAK;AAC9C,UAAM,kBAAc,yBAAW,8BAAW;AAC1C,WACE,6BAAAD,QAAA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACC,GAAG;AAAA,QACJ,SAAS,MAAM;AACb,qBAAW,QAAQ,CAAC,CAAwC;AAC5D,cAAI,MAAM,KAAM,eAAc,MAAM,IAAI,EAAE;AAAA,QAC5C;AAAA;AAAA,IACF;AAAA,EAEJ;AACF;AAGO,MAAM,eAAe,aAAAA,QAAM;AAAA,EAChC,SAASE,cAAa,EAAE,SAAS,GAAG,MAAM,GAAG,KAAK;AAChD,WACE,6BAAAF,QAAA;AAAA,MAAC;AAAA;AAAA,QACC,SAAS;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACR,GAAI;AAAA;AAAA,IACP;AAAA,EAEJ;AACF;AAEO,MAAM,SAAS,aAAAA,QAAM;AAAA,EAC1B,SAASG,QAAO,OAAO,KAAK;AAC1B,QAAI,MAAM,QAAQ,CAAC,UAAU,OAAO,EAAE,SAAS,MAAM,IAAI,GAAG;AAC1D,aAAO,6BAAAH,QAAA,cAAC,cAAW,KAAW,GAAG,OAAO;AAAA,IAC1C;AACA,WAAO,6BAAAA,QAAA,cAAC,gBAAa,KAAW,GAAG,OAAO;AAAA,EAC5C;AACF;",
6
+ "names": ["React", "FormButton", "CompatButton", "Button"]
7
+ }
@@ -0,0 +1,65 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var details_native_exports = {};
29
+ __export(details_native_exports, {
30
+ default: () => details_native_default
31
+ });
32
+ module.exports = __toCommonJS(details_native_exports);
33
+ var import_react = __toESM(require("react"));
34
+ var import_react_native = require("react-native");
35
+ const CompatDetails = ({
36
+ children,
37
+ open = false,
38
+ placement,
39
+ closeIcon,
40
+ openIcon,
41
+ ...props
42
+ }) => {
43
+ const [isExpanded, setIsExpanded] = (0, import_react.useState)(open);
44
+ (0, import_react.useEffect)(() => {
45
+ setIsExpanded(open);
46
+ }, [open]);
47
+ const toggleExpand = () => {
48
+ setIsExpanded(!isExpanded);
49
+ };
50
+ const [summaryContent, ...detailsContent] = import_react.Children.toArray(children);
51
+ const toggleIcon = closeIcon && openIcon ? /* @__PURE__ */ import_react.default.createElement(import_react_native.Text, null, isExpanded ? openIcon : closeIcon) : null;
52
+ return (
53
+ // TODO: Fix `props` type
54
+ // @ts-expect-error - `props` type is not compatible with `View` props
55
+ /* @__PURE__ */ import_react.default.createElement(import_react_native.View, { ...props }, /* @__PURE__ */ import_react.default.createElement(import_react_native.TouchableOpacity, { onPress: toggleExpand, style: styles.summaryContainer }, placement === "before" && toggleIcon, summaryContent, placement === "after" && toggleIcon), isExpanded && /* @__PURE__ */ import_react.default.createElement(import_react_native.View, null, detailsContent))
56
+ );
57
+ };
58
+ const styles = import_react_native.StyleSheet.create({
59
+ summaryContainer: {
60
+ flexDirection: "row",
61
+ alignItems: "center"
62
+ }
63
+ });
64
+ var details_native_default = CompatDetails;
65
+ //# sourceMappingURL=details.native.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/Base/compat/details.native.tsx"],
4
+ "sourcesContent": ["import React, {\n useEffect,\n useState,\n Children,\n DetailedHTMLProps,\n DetailsHTMLAttributes,\n} from 'react';\nimport { View, Text, TouchableOpacity, StyleSheet } from 'react-native';\n\ntype HTMLElementProps = Omit<\n DetailedHTMLProps<\n DetailsHTMLAttributes<HTMLDetailsElement>,\n HTMLDetailsElement\n >,\n 'ref'\n> & {\n closeIcon?: string;\n openIcon?: string;\n placement?: 'before' | 'after';\n};\n\nconst CompatDetails = ({\n children,\n open = false,\n placement,\n closeIcon,\n openIcon,\n ...props\n}: HTMLElementProps) => {\n const [isExpanded, setIsExpanded] = useState(open);\n\n useEffect(() => {\n setIsExpanded(open);\n }, [open]);\n\n const toggleExpand = () => {\n setIsExpanded(!isExpanded);\n };\n\n const [summaryContent, ...detailsContent] = Children.toArray(children);\n\n const toggleIcon =\n closeIcon && openIcon ? (\n <Text>{isExpanded ? openIcon : closeIcon}</Text>\n ) : null;\n\n return (\n // TODO: Fix `props` type\n // @ts-expect-error - `props` type is not compatible with `View` props\n <View {...props}>\n <TouchableOpacity onPress={toggleExpand} style={styles.summaryContainer}>\n {placement === 'before' && toggleIcon}\n {summaryContent}\n {placement === 'after' && toggleIcon}\n </TouchableOpacity>\n {isExpanded && <View>{detailsContent}</View>}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n summaryContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n },\n});\n\nexport default CompatDetails;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAMO;AACP,0BAAyD;AAczD,MAAM,gBAAgB,CAAC;AAAA,EACrB;AAAA,EACA,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAwB;AACtB,QAAM,CAAC,YAAY,aAAa,QAAI,uBAAS,IAAI;AAEjD,8BAAU,MAAM;AACd,kBAAc,IAAI;AAAA,EACpB,GAAG,CAAC,IAAI,CAAC;AAET,QAAM,eAAe,MAAM;AACzB,kBAAc,CAAC,UAAU;AAAA,EAC3B;AAEA,QAAM,CAAC,gBAAgB,GAAG,cAAc,IAAI,sBAAS,QAAQ,QAAQ;AAErE,QAAM,aACJ,aAAa,WACX,6BAAAA,QAAA,cAAC,gCAAM,aAAa,WAAW,SAAU,IACvC;AAEN;AAAA;AAAA;AAAA,IAGE,6BAAAA,QAAA,cAAC,4BAAM,GAAG,SACR,6BAAAA,QAAA,cAAC,wCAAiB,SAAS,cAAc,OAAO,OAAO,oBACpD,cAAc,YAAY,YAC1B,gBACA,cAAc,WAAW,UAC5B,GACC,cAAc,6BAAAA,QAAA,cAAC,gCAAM,cAAe,CACvC;AAAA;AAEJ;AAEA,MAAM,SAAS,+BAAW,OAAO;AAAA,EAC/B,kBAAkB;AAAA,IAChB,eAAe;AAAA,IACf,YAAY;AAAA,EACd;AACF,CAAC;AAED,IAAO,yBAAQ;",
6
+ "names": ["React"]
7
+ }
@@ -0,0 +1,42 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var li_native_exports = {};
29
+ __export(li_native_exports, {
30
+ Li: () => Li
31
+ });
32
+ module.exports = __toCommonJS(li_native_exports);
33
+ var import_react = __toESM(require("react"));
34
+ var import_react_native = require("react-native");
35
+ const Li = (props) => {
36
+ return /* @__PURE__ */ import_react.default.createElement(import_react_native.View, { ...props });
37
+ };
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ Li
41
+ });
42
+ //# sourceMappingURL=li.native.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/Base/compat/li.native.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport { View } from 'react-native';\n\n// TODO: Fix `props` type\ninterface LiProps {\n [key: string]: any;\n}\n\nexport const Li = (props: LiProps) => {\n return <View {...props} />;\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,0BAAqB;AAOd,MAAM,KAAK,CAAC,UAAmB;AACpC,SAAO,6BAAAA,QAAA,cAAC,4BAAM,GAAG,OAAO;AAC1B;",
6
+ "names": ["React"]
7
+ }
@@ -0,0 +1,66 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var ol_native_exports = {};
29
+ __export(ol_native_exports, {
30
+ Ol: () => Ol
31
+ });
32
+ module.exports = __toCommonJS(ol_native_exports);
33
+ var import_react = __toESM(require("react"));
34
+ var import_react_native = require("react-native");
35
+ const Ol = ({ children, className, ...props }) => {
36
+ let listStyle = "none";
37
+ if (className.includes("ds-list--bullet")) {
38
+ listStyle = "bullet";
39
+ }
40
+ if (className.includes("ds-list--number")) {
41
+ listStyle = "number";
42
+ }
43
+ return /* @__PURE__ */ import_react.default.createElement(import_react_native.View, { ...props, className }, Array.isArray(children) ? children.map((child, index) => {
44
+ const counter = listStyle === "number" ? index + 1 : listStyle === "bullet" ? "\u2022" : null;
45
+ return /* @__PURE__ */ import_react.default.createElement(
46
+ import_react_native.View,
47
+ {
48
+ key: index,
49
+ style: {
50
+ display: "flex",
51
+ flexDirection: "row",
52
+ flexWrap: "nowrap",
53
+ gap: 8,
54
+ width: "100%"
55
+ }
56
+ },
57
+ /* @__PURE__ */ import_react.default.createElement(import_react_native.Text, null, counter),
58
+ child
59
+ );
60
+ }) : children);
61
+ };
62
+ // Annotate the CommonJS export names for ESM import in node:
63
+ 0 && (module.exports = {
64
+ Ol
65
+ });
66
+ //# sourceMappingURL=ol.native.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/Base/compat/ol.native.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport { View, Text } from 'react-native';\n\nexport const Ol = ({ children, className, ...props }) => {\n let listStyle = 'none';\n if (className.includes('ds-list--bullet')) {\n listStyle = 'bullet';\n }\n if (className.includes('ds-list--number')) {\n listStyle = 'number';\n }\n return (\n <View {...props} className={className}>\n {Array.isArray(children)\n ? children.map((child, index) => {\n const counter =\n listStyle === 'number'\n ? index + 1\n : listStyle === 'bullet'\n ? '\u2022'\n : null;\n return (\n <View\n key={index}\n style={{\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'nowrap',\n gap: 8,\n width: '100%',\n }}\n >\n <Text>{counter}</Text>\n {child}\n </View>\n );\n })\n : children}\n </View>\n );\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,0BAA2B;AAEpB,MAAM,KAAK,CAAC,EAAE,UAAU,WAAW,GAAG,MAAM,MAAM;AACvD,MAAI,YAAY;AAChB,MAAI,UAAU,SAAS,iBAAiB,GAAG;AACzC,gBAAY;AAAA,EACd;AACA,MAAI,UAAU,SAAS,iBAAiB,GAAG;AACzC,gBAAY;AAAA,EACd;AACA,SACE,6BAAAA,QAAA,cAAC,4BAAM,GAAG,OAAO,aACd,MAAM,QAAQ,QAAQ,IACnB,SAAS,IAAI,CAAC,OAAO,UAAU;AAC7B,UAAM,UACJ,cAAc,WACV,QAAQ,IACR,cAAc,WACZ,WACA;AACR,WACE,6BAAAA,QAAA;AAAA,MAAC;AAAA;AAAA,QACC,KAAK;AAAA,QACL,OAAO;AAAA,UACL,SAAS;AAAA,UACT,eAAe;AAAA,UACf,UAAU;AAAA,UACV,KAAK;AAAA,UACL,OAAO;AAAA,QACT;AAAA;AAAA,MAEA,6BAAAA,QAAA,cAAC,gCAAM,OAAQ;AAAA,MACd;AAAA,IACH;AAAA,EAEJ,CAAC,IACD,QACN;AAEJ;",
6
+ "names": ["React"]
7
+ }
package/cjs/Base/index.js CHANGED
@@ -16,6 +16,7 @@ var __copyProps = (to, from, except, desc) => {
16
16
  }
17
17
  return to;
18
18
  };
19
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
21
  // If the importer is in node compatibility mode or this is not an ESM
21
22
  // file that has been converted to a CommonJS file using a Babel-
@@ -27,108 +28,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
29
  var Base_exports = {};
29
30
  __export(Base_exports, {
30
- Base: () => Base,
31
- default: () => Base_default
31
+ default: () => import_Base.default
32
32
  });
33
33
  module.exports = __toCommonJS(Base_exports);
34
- var import_react = __toESM(require("react"));
35
- var import_clsx = __toESM(require("clsx"));
36
- const Base = import_react.default.forwardRef(function Base2({
37
- as,
38
- margin,
39
- marginTop,
40
- marginBottom,
41
- marginLeft,
42
- marginRight,
43
- m,
44
- mt,
45
- mb,
46
- ml,
47
- mr,
48
- mx,
49
- my,
50
- padding,
51
- paddingTop,
52
- paddingBottom,
53
- paddingLeft,
54
- paddingRight,
55
- p,
56
- pt,
57
- pb,
58
- pr,
59
- pl,
60
- px,
61
- py,
62
- printHidden,
63
- printVisible,
64
- hidden,
65
- xsUpHidden,
66
- smUpHidden,
67
- mdUpHidden,
68
- lgUpHidden,
69
- xlUpHidden,
70
- xsHidden,
71
- smHidden,
72
- mdHidden,
73
- lgHidden,
74
- xlHidden,
75
- children,
76
- className,
77
- ...props
78
- }, ref) {
79
- const Component = as || "span";
80
- return /* @__PURE__ */ import_react.default.createElement(
81
- Component,
82
- {
83
- className: (0, import_clsx.default)(className, {
84
- [`ds-m-${margin}`]: margin !== void 0 ? true : void 0,
85
- [`ds-mt-${marginTop}`]: marginTop !== void 0 ? true : void 0,
86
- [`ds-mb-${marginBottom}`]: marginBottom !== void 0 ? true : void 0,
87
- [`ds-mr-${marginRight}`]: marginRight !== void 0 ? true : void 0,
88
- [`ds-ml-${marginLeft}`]: marginLeft !== void 0 ? true : void 0,
89
- [`ds-m-${m}`]: m !== void 0 ? true : void 0,
90
- [`ds-mt-${mt}`]: mt !== void 0 ? true : void 0,
91
- [`ds-mb-${mb}`]: mb !== void 0 ? true : void 0,
92
- [`ds-mr-${mr}`]: mr !== void 0 ? true : void 0,
93
- [`ds-ml-${ml}`]: ml !== void 0 ? true : void 0,
94
- [`ds-mx-${mx}`]: mx !== void 0 ? true : void 0,
95
- [`ds-my-${my}`]: my !== void 0 ? true : void 0,
96
- [`ds-p-${padding}`]: padding !== void 0 ? true : void 0,
97
- [`ds-pt-${paddingTop}`]: paddingTop !== void 0 ? true : void 0,
98
- [`ds-pb-${paddingBottom}`]: paddingBottom !== void 0 ? true : void 0,
99
- [`ds-pr-${paddingRight}`]: paddingRight !== void 0 ? true : void 0,
100
- [`ds-pl-${paddingLeft}`]: paddingLeft !== void 0 ? true : void 0,
101
- [`ds-p-${p}`]: p !== void 0 ? true : void 0,
102
- [`ds-pt-${pt}`]: pt !== void 0 ? true : void 0,
103
- [`ds-pb-${pb}`]: pb !== void 0 ? true : void 0,
104
- [`ds-pr-${pr}`]: pr !== void 0 ? true : void 0,
105
- [`ds-pl-${pl}`]: pl !== void 0 ? true : void 0,
106
- [`ds-px-${px}`]: px !== void 0 ? true : void 0,
107
- [`ds-py-${py}`]: py !== void 0 ? true : void 0,
108
- "ds-print-hidden": !!printHidden,
109
- "ds-print-visible-block": printVisible === "block",
110
- "ds-print-visible-inline": printVisible === "inline",
111
- "ds-hidden": !!hidden,
112
- "ds-hidden-xs-up": !!xsUpHidden,
113
- "ds-hidden-sm-up": !!smUpHidden,
114
- "ds-hidden-md-up": !!mdUpHidden,
115
- "ds-hidden-lg-up": !!lgUpHidden,
116
- "ds-hidden-xl-up": !!xlUpHidden,
117
- "ds-hidden-xs": !!xsHidden,
118
- "ds-hidden-sm": !!smHidden,
119
- "ds-hidden-md": !!mdHidden,
120
- "ds-hidden-lg": !!lgHidden,
121
- "ds-hidden-xl": !!xlHidden
122
- }),
123
- ref,
124
- ...props
125
- },
126
- children
127
- );
128
- });
129
- var Base_default = Base;
34
+ __reExport(Base_exports, require("@digigov/react-core/Base/index.web"), module.exports);
35
+ var import_Base = __toESM(require("@digigov/react-core/Base/index.web"));
130
36
  // Annotate the CommonJS export names for ESM import in node:
131
37
  0 && (module.exports = {
132
- Base
38
+ ...require("@digigov/react-core/Base/index.web")
133
39
  });
134
40
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/Base/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\n\ntype AsProp<C extends React.ElementType> = {\n as?: C;\n};\n\ntype PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);\n\n// This is the first reusable type utility we built\ntype PolymorphicComponentProp<\n C extends React.ElementType,\n Props = Record<string, unknown>,\n> = React.PropsWithChildren<Props & AsProp<C>> &\n Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;\n\n// This is a new type utitlity with ref!\ntype PolymorphicComponentPropWithRef<\n C extends React.ElementType,\n Props = Record<string, unknown>,\n> = PolymorphicComponentProp<C, Props> & { ref?: any };\n\n// This is the type for the \"ref\" only\ntype PolymorphicRef<C extends React.ElementType> =\n React.ComponentPropsWithRef<C>['ref'];\n\n/**\n * This is the updated component props using PolymorphicComponentPropWithRef\n */\nexport type BaseProps<C extends React.ElementType> =\n PolymorphicComponentPropWithRef<\n C,\n {\n /** margin is optional. It has not a default value. */\n margin?: spacingValues;\n /** marginTop is optional. It has not a default value. */\n marginTop?: spacingValues;\n /** marginBottom is optional. It has not a default value. */\n marginBottom?: spacingValues;\n /** marginLeft is optional. It has not a default value. */\n marginLeft?: spacingValues;\n /** marginRight is optional. It has not a default value. */\n marginRight?: spacingValues;\n /** Alternative for margin. Margin is optional. It has not a default value. */\n m?: spacingValues;\n /** Alternative for marginTop. MarginTop is optional. It has not a default value. */\n mt?: spacingValues;\n /** Alternative for marginBottom. MarginBottom is optional. It has not a default value. */\n mb?: spacingValues;\n /** Alternative for marginLeft. MarginLeft is optional. It has not a default value. */\n ml?: spacingValues;\n /** Alternative for marginRight. MarginRight is optional. It has not a default value. */\n mr?: spacingValues;\n /** Alternative for marginX. MarginX is optional. It has not a default value. */\n mx?: spacingValues;\n /** Alternative for marginY. MarginY is optional. It has not a default value. */\n my?: spacingValues;\n /** padding is optional. It has not a default value. */\n padding?: spacingValues;\n /** paddingTop is optional. It has not a default value. */\n paddingTop?: spacingValues;\n /** paddingBottom is optional. It has not a default value. */\n paddingBottom?: spacingValues;\n /** paddingLeft is optional. It has not a default value. */\n paddingLeft?: spacingValues;\n /** paddingRight is optional. It has not a default value. */\n paddingRight?: spacingValues;\n /** Alternative for padding. Padding is optional. It has not a default value. */\n p?: spacingValues;\n /** Alternative for paddingTop. PaddingTop is optional. It has not a default value. */\n pt?: spacingValues;\n /** Alternative for paddingBottom. PaddingBottom is optional. It has not a default value. */\n pb?: spacingValues;\n /** Alternative for paddingLeft. PaddingLeft is optional. It has not a default value. */\n pl?: spacingValues;\n /** Alternative for paddingRight. PaddingRight is optional. It has not a default value. */\n pr?: spacingValues;\n /** Alternative for paddingX. PaddingX is optional. It has not a default value. */\n px?: spacingValues;\n /** Alternative for paddingY. PaddingY is optional. It has not a default value. */\n py?: spacingValues;\n /** printHidden is optional. Default value is false. When true, the component is hidden at print. */\n printHidden?: boolean;\n /** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/\n printVisible?: 'block' | 'inline';\n /** Components will be hidden at all screen sizes. */\n hidden?: boolean;\n /** Components will be hidden from 'xs' screen size and up. */\n xsUpHidden?: boolean;\n /** Components will be hidden from 'sm' screen size and up. */\n smUpHidden?: boolean;\n /** Components will be hidden from 'md' screen size and up. */\n mdUpHidden?: boolean;\n /** Components will be hidden from 'lg' screen size and up. */\n lgUpHidden?: boolean;\n /** Components will be hidden from 'xl' screen size and up. */\n xlUpHidden?: boolean;\n /** Components will be hidden between xs and sm screen size. */\n xsHidden?: boolean;\n /** Components will be hidden between sm and md screen size. */\n smHidden?: boolean;\n /** Components will be hidden between md and lg screen size. */\n mdHidden?: boolean;\n /** Components will be hidden between lg and xl screen size. */\n lgHidden?: boolean;\n /** Components will be hidden between xl and 2xl screen size. */\n xlHidden?: boolean;\n }\n >;\n\ntype spacingValues =\n | 0\n | 0.5\n | 1\n | 1.5\n | 2\n | 2.5\n | 3\n | 3.5\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 14\n | 16\n | 20\n | 24\n | 28\n | 32\n | 36\n | 40\n | 44\n | 48\n | 52\n | 56\n | 60\n | 64\n | 72\n | 80\n | 96;\n\n/**\n * This is the type used in the type annotation for the component\n */\ntype BaseComponent = <C extends React.ElementType = 'span'>(\n props: BaseProps<C>\n) => React.ReactNode | null;\n\nexport const Base: BaseComponent = React.forwardRef(function Base<\n C extends React.ElementType = 'span',\n>(\n {\n as,\n margin,\n marginTop,\n marginBottom,\n marginLeft,\n marginRight,\n m,\n mt,\n mb,\n ml,\n mr,\n mx,\n my,\n padding,\n paddingTop,\n paddingBottom,\n paddingLeft,\n paddingRight,\n p,\n pt,\n pb,\n pr,\n pl,\n px,\n py,\n printHidden,\n printVisible,\n hidden,\n xsUpHidden,\n smUpHidden,\n mdUpHidden,\n lgUpHidden,\n xlUpHidden,\n xsHidden,\n smHidden,\n mdHidden,\n lgHidden,\n xlHidden,\n children,\n className,\n ...props\n }: BaseProps<C>,\n ref?: PolymorphicRef<C>\n) {\n const Component = as || 'span';\n\n return (\n <Component\n className={clsx(className, {\n [`ds-m-${margin}`]: margin !== undefined ? true : undefined,\n [`ds-mt-${marginTop}`]: marginTop !== undefined ? true : undefined,\n [`ds-mb-${marginBottom}`]:\n marginBottom !== undefined ? true : undefined,\n [`ds-mr-${marginRight}`]: marginRight !== undefined ? true : undefined,\n [`ds-ml-${marginLeft}`]: marginLeft !== undefined ? true : undefined,\n [`ds-m-${m}`]: m !== undefined ? true : undefined,\n [`ds-mt-${mt}`]: mt !== undefined ? true : undefined,\n [`ds-mb-${mb}`]: mb !== undefined ? true : undefined,\n [`ds-mr-${mr}`]: mr !== undefined ? true : undefined,\n [`ds-ml-${ml}`]: ml !== undefined ? true : undefined,\n [`ds-mx-${mx}`]: mx !== undefined ? true : undefined,\n [`ds-my-${my}`]: my !== undefined ? true : undefined,\n [`ds-p-${padding}`]: padding !== undefined ? true : undefined,\n [`ds-pt-${paddingTop}`]: paddingTop !== undefined ? true : undefined,\n [`ds-pb-${paddingBottom}`]:\n paddingBottom !== undefined ? true : undefined,\n [`ds-pr-${paddingRight}`]:\n paddingRight !== undefined ? true : undefined,\n [`ds-pl-${paddingLeft}`]: paddingLeft !== undefined ? true : undefined,\n [`ds-p-${p}`]: p !== undefined ? true : undefined,\n [`ds-pt-${pt}`]: pt !== undefined ? true : undefined,\n [`ds-pb-${pb}`]: pb !== undefined ? true : undefined,\n [`ds-pr-${pr}`]: pr !== undefined ? true : undefined,\n [`ds-pl-${pl}`]: pl !== undefined ? true : undefined,\n [`ds-px-${px}`]: px !== undefined ? true : undefined,\n [`ds-py-${py}`]: py !== undefined ? true : undefined,\n 'ds-print-hidden': !!printHidden,\n 'ds-print-visible-block': printVisible === 'block',\n 'ds-print-visible-inline': printVisible === 'inline',\n 'ds-hidden': !!hidden,\n 'ds-hidden-xs-up': !!xsUpHidden,\n 'ds-hidden-sm-up': !!smUpHidden,\n 'ds-hidden-md-up': !!mdUpHidden,\n 'ds-hidden-lg-up': !!lgUpHidden,\n 'ds-hidden-xl-up': !!xlUpHidden,\n 'ds-hidden-xs': !!xsHidden,\n 'ds-hidden-sm': !!smHidden,\n 'ds-hidden-md': !!mdHidden,\n 'ds-hidden-lg': !!lgHidden,\n 'ds-hidden-xl': !!xlHidden,\n })}\n ref={ref}\n {...props}\n >\n {children}\n </Component>\n );\n});\n\nexport default Base;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AAwJV,MAAM,OAAsB,aAAAA,QAAM,WAAW,SAASC,MAG3D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,KACA;AACA,QAAM,YAAY,MAAM;AAExB,SACE,6BAAAD,QAAA;AAAA,IAAC;AAAA;AAAA,MACC,eAAW,YAAAE,SAAK,WAAW;AAAA,QACzB,CAAC,QAAQ,MAAM,EAAE,GAAG,WAAW,SAAY,OAAO;AAAA,QAClD,CAAC,SAAS,SAAS,EAAE,GAAG,cAAc,SAAY,OAAO;AAAA,QACzD,CAAC,SAAS,YAAY,EAAE,GACtB,iBAAiB,SAAY,OAAO;AAAA,QACtC,CAAC,SAAS,WAAW,EAAE,GAAG,gBAAgB,SAAY,OAAO;AAAA,QAC7D,CAAC,SAAS,UAAU,EAAE,GAAG,eAAe,SAAY,OAAO;AAAA,QAC3D,CAAC,QAAQ,CAAC,EAAE,GAAG,MAAM,SAAY,OAAO;AAAA,QACxC,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,QAAQ,OAAO,EAAE,GAAG,YAAY,SAAY,OAAO;AAAA,QACpD,CAAC,SAAS,UAAU,EAAE,GAAG,eAAe,SAAY,OAAO;AAAA,QAC3D,CAAC,SAAS,aAAa,EAAE,GACvB,kBAAkB,SAAY,OAAO;AAAA,QACvC,CAAC,SAAS,YAAY,EAAE,GACtB,iBAAiB,SAAY,OAAO;AAAA,QACtC,CAAC,SAAS,WAAW,EAAE,GAAG,gBAAgB,SAAY,OAAO;AAAA,QAC7D,CAAC,QAAQ,CAAC,EAAE,GAAG,MAAM,SAAY,OAAO;AAAA,QACxC,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,mBAAmB,CAAC,CAAC;AAAA,QACrB,0BAA0B,iBAAiB;AAAA,QAC3C,2BAA2B,iBAAiB;AAAA,QAC5C,aAAa,CAAC,CAAC;AAAA,QACf,mBAAmB,CAAC,CAAC;AAAA,QACrB,mBAAmB,CAAC,CAAC;AAAA,QACrB,mBAAmB,CAAC,CAAC;AAAA,QACrB,mBAAmB,CAAC,CAAC;AAAA,QACrB,mBAAmB,CAAC,CAAC;AAAA,QACrB,gBAAgB,CAAC,CAAC;AAAA,QAClB,gBAAgB,CAAC,CAAC;AAAA,QAClB,gBAAgB,CAAC,CAAC;AAAA,QAClB,gBAAgB,CAAC,CAAC;AAAA,QAClB,gBAAgB,CAAC,CAAC;AAAA,MACpB,CAAC;AAAA,MACD;AAAA,MACC,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,eAAQ;",
6
- "names": ["React", "Base", "clsx"]
4
+ "sourcesContent": ["export * from '@digigov/react-core/Base/index.web';\nexport { default as default } from '@digigov/react-core/Base/index.web';\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAc,+CAAd;AACA,kBAAmC;",
6
+ "names": []
7
7
  }