@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,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/Details/index.native.tsx"],
4
+ "sourcesContent": ["import CoreDetails from '@digigov/react-core/Details/index.web';\nimport { extend } from '@digigov/react-core/utils/extend.native';\n\nexport const Details = extend(CoreDetails, ({ className, ...props }) => {\n return {\n className,\n closeIcon: '\u25B6',\n openIcon: '\u25BC',\n placement: 'before',\n ...props,\n };\n});\n\nexport default Details;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAwB;AACxB,oBAAuB;AAEhB,MAAM,cAAU,sBAAO,eAAAA,SAAa,CAAC,EAAE,WAAW,GAAG,MAAM,MAAM;AACtE,SAAO;AAAA,IACL;AAAA,IACA,WAAW;AAAA,IACX,UAAU;AAAA,IACV,WAAW;AAAA,IACX,GAAG;AAAA,EACL;AACF,CAAC;AAED,IAAO,uBAAQ;",
6
+ "names": ["CoreDetails"]
7
+ }
@@ -0,0 +1,58 @@
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_web_exports = {};
29
+ __export(index_web_exports, {
30
+ Details: () => Details,
31
+ default: () => index_web_default
32
+ });
33
+ module.exports = __toCommonJS(index_web_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_clsx = __toESM(require("clsx"));
36
+ var import_Base = __toESM(require("@digigov/react-core/Base"));
37
+ const Details = import_react.default.forwardRef(
38
+ function Details2({ className, children, ...props }, ref) {
39
+ return /* @__PURE__ */ import_react.default.createElement(
40
+ import_Base.default,
41
+ {
42
+ as: "details",
43
+ ref,
44
+ className: (0, import_clsx.default)(className, {
45
+ "ds-details": true
46
+ }),
47
+ ...props
48
+ },
49
+ children
50
+ );
51
+ }
52
+ );
53
+ var index_web_default = Details;
54
+ // Annotate the CommonJS export names for ESM import in node:
55
+ 0 && (module.exports = {
56
+ Details
57
+ });
58
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/Details/index.web.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface DetailsProps extends BaseProps<'details'> { }\n/**\n * Details is used to make a page easier to scan when it contains information that only some users will need.\n * Details component wraps DetailsSummary and DetailsContent as children components\n */\nexport const Details = React.forwardRef<HTMLDetailsElement, DetailsProps>(\n function Details({ className, children, ...props }, ref) {\n return (\n <Base\n as=\"details\"\n ref={ref}\n className={clsx(className, {\n 'ds-details': true,\n })}\n {...props}\n >\n {children}\n </Base>\n );\n }\n);\n\nexport default Details;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAOzB,MAAM,UAAU,aAAAA,QAAM;AAAA,EAC3B,SAASC,SAAQ,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,KAAK;AACvD,WACE,6BAAAD,QAAA;AAAA,MAAC,YAAAE;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH;AAAA,QACA,eAAW,YAAAC,SAAK,WAAW;AAAA,UACzB,cAAc;AAAA,QAChB,CAAC;AAAA,QACA,GAAG;AAAA;AAAA,MAEH;AAAA,IACH;AAAA,EAEJ;AACF;AAEA,IAAO,oBAAQ;",
6
+ "names": ["React", "Details", "Base", "clsx"]
7
+ }
@@ -42,10 +42,7 @@ const FieldsetLegend = import_react.default.forwardRef(function FieldsetLegend2(
42
42
  ref,
43
43
  className: (0, import_clsx.default)(className, {
44
44
  "ds-fieldset__legend": true,
45
- "ds-heading-xl": size === "xl",
46
- "ds-heading-lg": size === "lg",
47
- "ds-heading-md": size === "md",
48
- "ds-heading-sm": size === "sm"
45
+ [`ds-fieldset__legend--${size}`]: size !== void 0
49
46
  }),
50
47
  ...heading && { role: "heading", "aria-level": 1 },
51
48
  ...props
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/FieldsetLegend/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface FieldsetLegendProps extends BaseProps<'legend'> {\n /**\n * size is optional. The default value is 'lg'\n * @value 'xl'\n * @value 'lg'\n * @value 'md'\n * @value 'sm'\n * @default 'lg'\n */\n size?: 'xl' | 'lg' | 'md' | 'sm';\n\n /**\n * heading is optional.\n * Add this prop if this Fieldset component is the only one in this page.\n * The default value is false.\n * @value true\n * @value false\n * @default false\n */\n heading?: boolean;\n}\n/**\n * FieldsetLegend component is the title within a Fieldset component.\n */\nexport const FieldsetLegend = React.forwardRef<\n HTMLLegendElement,\n FieldsetLegendProps\n>(function FieldsetLegend(\n { size = 'lg', heading = false, className, children, ...props },\n ref\n) {\n return (\n <Base\n as=\"legend\"\n ref={ref}\n className={clsx(className, {\n 'ds-fieldset__legend': true,\n 'ds-heading-xl': size === 'xl',\n 'ds-heading-lg': size === 'lg',\n 'ds-heading-md': size === 'md',\n 'ds-heading-sm': size === 'sm',\n })}\n {...(heading && { role: 'heading', 'aria-level': 1 })}\n {...props}\n >\n {children}\n </Base>\n );\n});\n\nexport default FieldsetLegend;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AA0BzB,MAAM,iBAAiB,aAAAA,QAAM,WAGlC,SAASC,gBACT,EAAE,OAAO,MAAM,UAAU,OAAO,WAAW,UAAU,GAAG,MAAM,GAC9D,KACA;AACA,SACE,6BAAAD,QAAA;AAAA,IAAC,YAAAE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,uBAAuB;AAAA,QACvB,iBAAiB,SAAS;AAAA,QAC1B,iBAAiB,SAAS;AAAA,QAC1B,iBAAiB,SAAS;AAAA,QAC1B,iBAAiB,SAAS;AAAA,MAC5B,CAAC;AAAA,MACA,GAAI,WAAW,EAAE,MAAM,WAAW,cAAc,EAAE;AAAA,MAClD,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,yBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface FieldsetLegendProps extends BaseProps<'legend'> {\n /**\n * size is optional. The default value is 'lg'\n * @value 'xl'\n * @value 'lg'\n * @value 'md'\n * @value 'sm'\n * @default 'lg'\n */\n size?: 'xl' | 'lg' | 'md' | 'sm';\n\n /**\n * heading is optional.\n * Add this prop if this Fieldset component is the only one in this page.\n * The default value is false.\n * @value true\n * @value false\n * @default false\n */\n heading?: boolean;\n}\n/**\n * FieldsetLegend component is the title within a Fieldset component.\n */\nexport const FieldsetLegend = React.forwardRef<\n HTMLLegendElement,\n FieldsetLegendProps\n>(function FieldsetLegend(\n { size = 'lg', heading = false, className, children, ...props },\n ref\n) {\n return (\n <Base\n as=\"legend\"\n ref={ref}\n className={clsx(className, {\n 'ds-fieldset__legend': true,\n [`ds-fieldset__legend--${size}`]: size !== undefined,\n })}\n {...(heading && { role: 'heading', 'aria-level': 1 })}\n {...props}\n >\n {children}\n </Base>\n );\n});\n\nexport default FieldsetLegend;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AA0BzB,MAAM,iBAAiB,aAAAA,QAAM,WAGlC,SAASC,gBACT,EAAE,OAAO,MAAM,UAAU,OAAO,WAAW,UAAU,GAAG,MAAM,GAC9D,KACA;AACA,SACE,6BAAAD,QAAA;AAAA,IAAC,YAAAE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,uBAAuB;AAAA,QACvB,CAAC,wBAAwB,IAAI,EAAE,GAAG,SAAS;AAAA,MAC7C,CAAC;AAAA,MACA,GAAI,WAAW,EAAE,MAAM,WAAW,cAAc,EAAE;AAAA,MAClD,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,yBAAQ;",
6
6
  "names": ["React", "FieldsetLegend", "Base", "clsx"]
7
7
  }
@@ -42,10 +42,8 @@ const LabelTitle = import_react.default.forwardRef(
42
42
  as: "span",
43
43
  ref,
44
44
  className: (0, import_clsx.default)(className, {
45
- "ds-heading-xl": size === "xl",
46
- "ds-heading-lg": size === "lg",
47
- "ds-heading-md": size === "md",
48
- "ds-heading-sm": size === "sm"
45
+ "ds-label__title": true,
46
+ [`ds-label__title--${size}`]: size !== void 0
49
47
  }),
50
48
  ...heading && { role: "heading", "aria-level": 1 },
51
49
  ...props
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/LabelTitle/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface LabelFieldProps extends BaseProps<'span'> {\n /**\n * size is optional. The default value is 'lg'\n * @value 'xl'\n * @value 'lg'\n * @value 'md'\n * @value 'sm'\n */\n size?: 'xl' | 'lg' | 'md' | 'sm';\n /**\n * heading is optional.\n * Add this prop if this Field component is the only one in this page.\n * The default value is false.\n * @value true\n * @value false\n * @default false\n */\n heading?: boolean;\n}\n/**\n * Label component defines a label for several elements at forms.\n */\nexport const LabelTitle = React.forwardRef<HTMLSpanElement, LabelFieldProps>(\n function LabelTitle(\n { size, className, heading = false, children, ...props },\n ref\n ) {\n return (\n <Base\n as=\"span\"\n ref={ref}\n className={clsx(className, {\n 'ds-heading-xl': size === 'xl',\n 'ds-heading-lg': size === 'lg',\n 'ds-heading-md': size === 'md',\n 'ds-heading-sm': size === 'sm',\n })}\n {...(heading && { role: 'heading', 'aria-level': 1 })}\n {...props}\n >\n {children}\n </Base>\n );\n }\n);\n\nexport default LabelTitle;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAwBzB,MAAM,aAAa,aAAAA,QAAM;AAAA,EAC9B,SAASC,YACP,EAAE,MAAM,WAAW,UAAU,OAAO,UAAU,GAAG,MAAM,GACvD,KACA;AACA,WACE,6BAAAD,QAAA;AAAA,MAAC,YAAAE;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH;AAAA,QACA,eAAW,YAAAC,SAAK,WAAW;AAAA,UACzB,iBAAiB,SAAS;AAAA,UAC1B,iBAAiB,SAAS;AAAA,UAC1B,iBAAiB,SAAS;AAAA,UAC1B,iBAAiB,SAAS;AAAA,QAC5B,CAAC;AAAA,QACA,GAAI,WAAW,EAAE,MAAM,WAAW,cAAc,EAAE;AAAA,QAClD,GAAG;AAAA;AAAA,MAEH;AAAA,IACH;AAAA,EAEJ;AACF;AAEA,IAAO,qBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface LabelFieldProps extends BaseProps<'span'> {\n /**\n * size is optional. The default value is 'lg'\n * @value 'xl'\n * @value 'lg'\n * @value 'md'\n * @value 'sm'\n */\n size?: 'xl' | 'lg' | 'md' | 'sm';\n /**\n * heading is optional.\n * Add this prop if this Field component is the only one in this page.\n * The default value is false.\n * @value true\n * @value false\n * @default false\n */\n heading?: boolean;\n}\n/**\n * Label component defines a label for several elements at forms.\n */\nexport const LabelTitle = React.forwardRef<HTMLSpanElement, LabelFieldProps>(\n function LabelTitle(\n { size, className, heading = false, children, ...props },\n ref\n ) {\n return (\n <Base\n as=\"span\"\n ref={ref}\n className={clsx(className, {\n 'ds-label__title': true,\n [`ds-label__title--${size}`]: size !== undefined,\n })}\n {...(heading && { role: 'heading', 'aria-level': 1 })}\n {...props}\n >\n {children}\n </Base>\n );\n }\n);\n\nexport default LabelTitle;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAwBzB,MAAM,aAAa,aAAAA,QAAM;AAAA,EAC9B,SAASC,YACP,EAAE,MAAM,WAAW,UAAU,OAAO,UAAU,GAAG,MAAM,GACvD,KACA;AACA,WACE,6BAAAD,QAAA;AAAA,MAAC,YAAAE;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH;AAAA,QACA,eAAW,YAAAC,SAAK,WAAW;AAAA,UACzB,mBAAmB;AAAA,UACnB,CAAC,oBAAoB,IAAI,EAAE,GAAG,SAAS;AAAA,QACzC,CAAC;AAAA,QACA,GAAI,WAAW,EAAE,MAAM,WAAW,cAAc,EAAE;AAAA,QAClD,GAAG;AAAA;AAAA,MAEH;AAAA,IACH;AAAA,EAEJ;AACF;AAEA,IAAO,qBAAQ;",
6
6
  "names": ["React", "LabelTitle", "Base", "clsx"]
7
7
  }
@@ -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,30 +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 NavListItemActionContainer_exports = {};
29
30
  __export(NavListItemActionContainer_exports, {
30
- NavListItemActionContainer: () => NavListItemActionContainer,
31
- default: () => NavListItemActionContainer_default
31
+ default: () => import_NavListItemActionContainer.default
32
32
  });
33
33
  module.exports = __toCommonJS(NavListItemActionContainer_exports);
34
- var import_react = __toESM(require("react"));
35
- var import_clsx = __toESM(require("clsx"));
36
- var import_Base = __toESM(require("@digigov/react-core/Base"));
37
- const NavListItemActionContainer = import_react.default.forwardRef(function NavListItemActionContainer2({ className, children, ...props }, ref) {
38
- return /* @__PURE__ */ import_react.default.createElement(
39
- import_Base.default,
40
- {
41
- as: "li",
42
- ref,
43
- className: (0, import_clsx.default)(className, {
44
- "ds-nav__list-item": true
45
- }),
46
- ...props
47
- },
48
- children
49
- );
50
- });
51
- var NavListItemActionContainer_default = NavListItemActionContainer;
34
+ __reExport(NavListItemActionContainer_exports, require("@digigov/react-core/NavListItemActionContainer/index.web"), module.exports);
35
+ var import_NavListItemActionContainer = __toESM(require("@digigov/react-core/NavListItemActionContainer/index.web"));
52
36
  // Annotate the CommonJS export names for ESM import in node:
53
37
  0 && (module.exports = {
54
- NavListItemActionContainer
38
+ ...require("@digigov/react-core/NavListItemActionContainer/index.web")
55
39
  });
56
40
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/NavListItemActionContainer/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface NavListItemActionContainerProps extends BaseProps<'li'> { }\n/**\n * NavListItemActionContainer must be inside the NavList.\n * This component has a items of NavListItemLink component inside.\n */\nexport const NavListItemActionContainer = React.forwardRef<\n HTMLLIElement,\n NavListItemActionContainerProps\n>(function NavListItemActionContainer({ className, children, ...props }, ref) {\n return (\n <Base\n as=\"li\"\n ref={ref}\n className={clsx(className, {\n 'ds-nav__list-item': true,\n })}\n {...props}\n >\n {children}\n </Base>\n );\n});\n\nexport default NavListItemActionContainer;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAOzB,MAAM,6BAA6B,aAAAA,QAAM,WAG9C,SAASC,4BAA2B,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,KAAK;AAC5E,SACE,6BAAAD,QAAA;AAAA,IAAC,YAAAE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,qBAAqB;AAAA,MACvB,CAAC;AAAA,MACA,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,qCAAQ;",
6
- "names": ["React", "NavListItemActionContainer", "Base", "clsx"]
4
+ "sourcesContent": ["export * from '@digigov/react-core/NavListItemActionContainer/index.web';\nexport { default as default } from '@digigov/react-core/NavListItemActionContainer/index.web';\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+CAAc,qEAAd;AACA,wCAAmC;",
6
+ "names": []
7
7
  }
@@ -0,0 +1,50 @@
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
+ NavListItemActionContainer: () => NavListItemActionContainer,
31
+ default: () => index_native_default
32
+ });
33
+ module.exports = __toCommonJS(index_native_exports);
34
+ var import_clsx = __toESM(require("clsx"));
35
+ var import_NavListItemActionContainer = __toESM(require("@digigov/react-core/NavListItemActionContainer/index.web"));
36
+ var import_extend = __toESM(require("@digigov/react-core/utils/extend.native"));
37
+ const NavListItemActionContainer = (0, import_extend.default)(import_NavListItemActionContainer.default, ({ className, borderBottom, ...props }) => {
38
+ return {
39
+ ...props,
40
+ className: (0, import_clsx.default)(className, {
41
+ "ds-nav__list-item--border-bottom": borderBottom
42
+ })
43
+ };
44
+ });
45
+ var index_native_default = NavListItemActionContainer;
46
+ // Annotate the CommonJS export names for ESM import in node:
47
+ 0 && (module.exports = {
48
+ NavListItemActionContainer
49
+ });
50
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/NavListItemActionContainer/index.native.tsx"],
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport CoreNavListItemActionContainer, {\n NavListItemActionContainerProps,\n} from '@digigov/react-core/NavListItemActionContainer/index.web';\nimport extend from '@digigov/react-core/utils/extend.native';\n\nexport const NavListItemActionContainer = extend<\n NavListItemActionContainerProps,\n { borderBottom?: boolean }\n>(CoreNavListItemActionContainer, ({ className, borderBottom, ...props }) => {\n return {\n ...props,\n className: clsx(className, {\n 'ds-nav__list-item--border-bottom': borderBottom,\n }),\n };\n});\nexport default NavListItemActionContainer;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAiB;AACjB,wCAEO;AACP,oBAAmB;AAEZ,MAAM,iCAA6B,cAAAA,SAGxC,kCAAAC,SAAgC,CAAC,EAAE,WAAW,cAAc,GAAG,MAAM,MAAM;AAC3E,SAAO;AAAA,IACL,GAAG;AAAA,IACH,eAAW,YAAAC,SAAK,WAAW;AAAA,MACzB,oCAAoC;AAAA,IACtC,CAAC;AAAA,EACH;AACF,CAAC;AACD,IAAO,uBAAQ;",
6
+ "names": ["extend", "CoreNavListItemActionContainer", "clsx"]
7
+ }
@@ -0,0 +1,56 @@
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_web_exports = {};
29
+ __export(index_web_exports, {
30
+ NavListItemActionContainer: () => NavListItemActionContainer,
31
+ default: () => index_web_default
32
+ });
33
+ module.exports = __toCommonJS(index_web_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_clsx = __toESM(require("clsx"));
36
+ var import_Base = __toESM(require("@digigov/react-core/Base"));
37
+ const NavListItemActionContainer = import_react.default.forwardRef(function NavListItemActionContainer2({ className, children, ...props }, ref) {
38
+ return /* @__PURE__ */ import_react.default.createElement(
39
+ import_Base.default,
40
+ {
41
+ as: "li",
42
+ ref,
43
+ className: (0, import_clsx.default)(className, {
44
+ "ds-nav__list-item": true
45
+ }),
46
+ ...props
47
+ },
48
+ children
49
+ );
50
+ });
51
+ var index_web_default = NavListItemActionContainer;
52
+ // Annotate the CommonJS export names for ESM import in node:
53
+ 0 && (module.exports = {
54
+ NavListItemActionContainer
55
+ });
56
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/NavListItemActionContainer/index.web.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface NavListItemActionContainerProps extends BaseProps<'li'> { }\n/**\n * NavListItemActionContainer must be inside the NavList.\n * This component has a items of NavListItemLink component inside.\n */\nexport const NavListItemActionContainer = React.forwardRef<\n HTMLLIElement,\n NavListItemActionContainerProps\n>(function NavListItemActionContainer({ className, children, ...props }, ref) {\n return (\n <Base\n as=\"li\"\n ref={ref}\n className={clsx(className, {\n 'ds-nav__list-item': true,\n })}\n {...props}\n >\n {children}\n </Base>\n );\n});\n\nexport default NavListItemActionContainer;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAOzB,MAAM,6BAA6B,aAAAA,QAAM,WAG9C,SAASC,4BAA2B,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,KAAK;AAC5E,SACE,6BAAAD,QAAA;AAAA,IAAC,YAAAE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,qBAAqB;AAAA,MACvB,CAAC;AAAA,MACA,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,oBAAQ;",
6
+ "names": ["React", "NavListItemActionContainer", "Base", "clsx"]
7
+ }
@@ -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,29 +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 NotificationBannerLink_exports = {};
29
30
  __export(NotificationBannerLink_exports, {
30
- NotificationBannerLink: () => NotificationBannerLink,
31
- default: () => NotificationBannerLink_default
31
+ default: () => import_NotificationBannerLink.default
32
32
  });
33
33
  module.exports = __toCommonJS(NotificationBannerLink_exports);
34
- var import_react = __toESM(require("react"));
35
- var import_clsx = __toESM(require("clsx"));
36
- var import_LinkBase = __toESM(require("@digigov/react-core/LinkBase"));
37
- const NotificationBannerLink = import_react.default.forwardRef(function NotificationBannerLink2({ className, children, ...props }, ref) {
38
- return /* @__PURE__ */ import_react.default.createElement(
39
- import_LinkBase.default,
40
- {
41
- ref,
42
- className: (0, import_clsx.default)(className, {
43
- "ds-notification-banner__link": true
44
- }),
45
- ...props
46
- },
47
- children
48
- );
49
- });
50
- var NotificationBannerLink_default = NotificationBannerLink;
34
+ __reExport(NotificationBannerLink_exports, require("@digigov/react-core/NotificationBannerLink/index.web"), module.exports);
35
+ var import_NotificationBannerLink = __toESM(require("@digigov/react-core/NotificationBannerLink/index.web"));
51
36
  // Annotate the CommonJS export names for ESM import in node:
52
37
  0 && (module.exports = {
53
- NotificationBannerLink
38
+ ...require("@digigov/react-core/NotificationBannerLink/index.web")
54
39
  });
55
40
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/NotificationBannerLink/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport LinkBase, { LinkBaseProps } from '@digigov/react-core/LinkBase';\n\nexport interface NotificationBannerLinkProps extends LinkBaseProps { }\n/**\n * Details for the NotificationBannerLink.\n * NotificationBannerLink allow users to click their way from page to page.\n * NotificationBannerLink must be wrapped inside NotificationContent component as children\n */\nexport const NotificationBannerLink = React.forwardRef<\n HTMLAnchorElement,\n NotificationBannerLinkProps\n>(function NotificationBannerLink({ className, children, ...props }, ref) {\n return (\n <LinkBase\n ref={ref}\n className={clsx(className, {\n 'ds-notification-banner__link': true,\n })}\n {...props}\n >\n {children}\n </LinkBase>\n );\n});\n\nexport default NotificationBannerLink;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,sBAAwC;AAQjC,MAAM,yBAAyB,aAAAA,QAAM,WAG1C,SAASC,wBAAuB,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,KAAK;AACxE,SACE,6BAAAD,QAAA;AAAA,IAAC,gBAAAE;AAAA,IAAA;AAAA,MACC;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,gCAAgC;AAAA,MAClC,CAAC;AAAA,MACA,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,iCAAQ;",
6
- "names": ["React", "NotificationBannerLink", "LinkBase", "clsx"]
4
+ "sourcesContent": ["export * from '@digigov/react-core/NotificationBannerLink/index.web';\nexport {default as default} from '@digigov/react-core/NotificationBannerLink/index.web';\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2CAAc,iEAAd;AACA,oCAAiC;",
6
+ "names": []
7
7
  }
@@ -0,0 +1,49 @@
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
+ NotificationBannerLink: () => NotificationBannerLink,
31
+ default: () => index_native_default
32
+ });
33
+ module.exports = __toCommonJS(index_native_exports);
34
+ var import_NotificationBannerLink = __toESM(require("@digigov/react-core/NotificationBannerLink/index.web"));
35
+ var import_extend = require("@digigov/react-core/utils/extend.native");
36
+ var import_clsx = __toESM(require("clsx"));
37
+ const NotificationBannerLink = (0, import_extend.extend)(import_NotificationBannerLink.default, ({ variant, className, ...props }) => ({
38
+ className: (0, import_clsx.default)(className, {
39
+ "ds-notification-banner__link--error": variant === "error",
40
+ "ds-notification-banner__link--success": variant === "success"
41
+ }),
42
+ ...props
43
+ }));
44
+ var index_native_default = NotificationBannerLink;
45
+ // Annotate the CommonJS export names for ESM import in node:
46
+ 0 && (module.exports = {
47
+ NotificationBannerLink
48
+ });
49
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/NotificationBannerLink/index.native.tsx"],
4
+ "sourcesContent": ["import CoreNotificationBannerLink, {\n NotificationBannerLinkProps,\n} from '@digigov/react-core/NotificationBannerLink/index.web';\nimport { extend } from '@digigov/react-core/utils/extend.native';\nimport clsx from 'clsx';\n\ninterface AdditionalProps {\n variant?: 'error' | 'success';\n}\n\nexport const NotificationBannerLink = extend<\n NotificationBannerLinkProps,\n AdditionalProps\n>(CoreNotificationBannerLink, ({ variant, className, ...props }) => ({\n className: clsx(className, {\n 'ds-notification-banner__link--error': variant === 'error',\n 'ds-notification-banner__link--success': variant === 'success',\n }),\n ...props,\n}));\n\nexport default NotificationBannerLink;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oCAEO;AACP,oBAAuB;AACvB,kBAAiB;AAMV,MAAM,6BAAyB,sBAGpC,8BAAAA,SAA4B,CAAC,EAAE,SAAS,WAAW,GAAG,MAAM,OAAO;AAAA,EACnE,eAAW,YAAAC,SAAK,WAAW;AAAA,IACzB,uCAAuC,YAAY;AAAA,IACnD,yCAAyC,YAAY;AAAA,EACvD,CAAC;AAAA,EACD,GAAG;AACL,EAAE;AAEF,IAAO,uBAAQ;",
6
+ "names": ["CoreNotificationBannerLink", "clsx"]
7
+ }
@@ -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_web_exports = {};
29
+ __export(index_web_exports, {
30
+ NotificationBannerLink: () => NotificationBannerLink,
31
+ default: () => index_web_default
32
+ });
33
+ module.exports = __toCommonJS(index_web_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_clsx = __toESM(require("clsx"));
36
+ var import_LinkBase = __toESM(require("@digigov/react-core/LinkBase"));
37
+ const NotificationBannerLink = import_react.default.forwardRef(function NotificationBannerLink2({ className, children, ...props }, ref) {
38
+ return /* @__PURE__ */ import_react.default.createElement(
39
+ import_LinkBase.default,
40
+ {
41
+ ref,
42
+ className: (0, import_clsx.default)(className, {
43
+ "ds-notification-banner__link": true
44
+ }),
45
+ ...props
46
+ },
47
+ children
48
+ );
49
+ });
50
+ var index_web_default = NotificationBannerLink;
51
+ // Annotate the CommonJS export names for ESM import in node:
52
+ 0 && (module.exports = {
53
+ NotificationBannerLink
54
+ });
55
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/NotificationBannerLink/index.web.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport LinkBase, { LinkBaseProps } from '@digigov/react-core/LinkBase';\n\nexport interface NotificationBannerLinkProps extends LinkBaseProps { }\n/**\n * Details for the NotificationBannerLink.\n * NotificationBannerLink allow users to click their way from page to page.\n * NotificationBannerLink must be wrapped inside NotificationContent component as children\n */\nexport const NotificationBannerLink = React.forwardRef<\n HTMLAnchorElement,\n NotificationBannerLinkProps\n>(function NotificationBannerLink({ className, children, ...props }, ref) {\n return (\n <LinkBase\n ref={ref}\n className={clsx(className, {\n 'ds-notification-banner__link': true,\n })}\n {...props}\n >\n {children}\n </LinkBase>\n );\n});\n\nexport default NotificationBannerLink;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,sBAAwC;AAQjC,MAAM,yBAAyB,aAAAA,QAAM,WAG1C,SAASC,wBAAuB,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,KAAK;AACxE,SACE,6BAAAD,QAAA;AAAA,IAAC,gBAAAE;AAAA,IAAA;AAAA,MACC;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,gCAAgC;AAAA,MAClC,CAAC;AAAA,MACA,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,oBAAQ;",
6
+ "names": ["React", "NotificationBannerLink", "LinkBase", "clsx"]
7
+ }
@@ -48,8 +48,9 @@ const PhaseBanner = import_react.default.forwardRef(
48
48
  ...props
49
49
  },
50
50
  /* @__PURE__ */ import_react.default.createElement(
51
- "p",
51
+ import_Base.default,
52
52
  {
53
+ as: "p",
53
54
  className: (0, import_clsx.default)({
54
55
  "ds-phase-banner__content": true
55
56
  })
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/PhaseBanner/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface PhaseBannerProps extends BaseProps<'div'> {\n /**\n * underline is optional.\n * Use this prop when you want to underline the phase banner.\n * @value true\n * @value false\n * @default false\n */\n underline?: boolean;\n}\n/**\n * PhaseBanner is a component used to show the phase of a service.\n * This component will replace ServiceBadge.\n */\nexport const PhaseBanner = React.forwardRef<HTMLDivElement, PhaseBannerProps>(\n function PhaseBanner(\n { className, underline = false, children, ...props },\n ref\n ) {\n return (\n <Base\n as=\"div\"\n ref={ref}\n className={clsx(className, {\n 'ds-phase-banner': true,\n 'ds-phase-banner--underline': underline,\n })}\n {...props}\n >\n <p\n className={clsx({\n 'ds-phase-banner__content': true,\n })}\n >\n {children}\n </p>\n </Base>\n );\n }\n);\n\nexport default PhaseBanner;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAgBzB,MAAM,cAAc,aAAAA,QAAM;AAAA,EAC/B,SAASC,aACP,EAAE,WAAW,YAAY,OAAO,UAAU,GAAG,MAAM,GACnD,KACA;AACA,WACE,6BAAAD,QAAA;AAAA,MAAC,YAAAE;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH;AAAA,QACA,eAAW,YAAAC,SAAK,WAAW;AAAA,UACzB,mBAAmB;AAAA,UACnB,8BAA8B;AAAA,QAChC,CAAC;AAAA,QACA,GAAG;AAAA;AAAA,MAEJ,6BAAAH,QAAA;AAAA,QAAC;AAAA;AAAA,UACC,eAAW,YAAAG,SAAK;AAAA,YACd,4BAA4B;AAAA,UAC9B,CAAC;AAAA;AAAA,QAEA;AAAA,MACH;AAAA,IACF;AAAA,EAEJ;AACF;AAEA,IAAO,sBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface PhaseBannerProps extends BaseProps<'div'> {\n /**\n * underline is optional.\n * Use this prop when you want to underline the phase banner.\n * @value true\n * @value false\n * @default false\n */\n underline?: boolean;\n}\n/**\n * PhaseBanner is a component used to show the phase of a service.\n * This component will replace ServiceBadge.\n */\nexport const PhaseBanner = React.forwardRef<HTMLDivElement, PhaseBannerProps>(\n function PhaseBanner(\n { className, underline = false, children, ...props },\n ref\n ) {\n return (\n <Base\n as=\"div\"\n ref={ref}\n className={clsx(className, {\n 'ds-phase-banner': true,\n 'ds-phase-banner--underline': underline,\n })}\n {...props}\n >\n <Base as=\"p\"\n className={clsx({\n 'ds-phase-banner__content': true,\n })}\n >\n {children}\n </Base>\n </Base>\n );\n }\n);\n\nexport default PhaseBanner;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAgBzB,MAAM,cAAc,aAAAA,QAAM;AAAA,EAC/B,SAASC,aACP,EAAE,WAAW,YAAY,OAAO,UAAU,GAAG,MAAM,GACnD,KACA;AACA,WACE,6BAAAD,QAAA;AAAA,MAAC,YAAAE;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH;AAAA,QACA,eAAW,YAAAC,SAAK,WAAW;AAAA,UACzB,mBAAmB;AAAA,UACnB,8BAA8B;AAAA,QAChC,CAAC;AAAA,QACA,GAAG;AAAA;AAAA,MAEJ,6BAAAH,QAAA;AAAA,QAAC,YAAAE;AAAA,QAAA;AAAA,UAAK,IAAG;AAAA,UACP,eAAW,YAAAC,SAAK;AAAA,YACd,4BAA4B;AAAA,UAC9B,CAAC;AAAA;AAAA,QAEA;AAAA,MACH;AAAA,IACF;AAAA,EAEJ;AACF;AAEA,IAAO,sBAAQ;",
6
6
  "names": ["React", "PhaseBanner", "Base", "clsx"]
7
7
  }
@@ -38,7 +38,7 @@ const PhaseBannerTag = import_react.default.forwardRef(function PhaseBannerTag2(
38
38
  return /* @__PURE__ */ import_react.default.createElement(
39
39
  import_Base.default,
40
40
  {
41
- as: "strong",
41
+ as: "span",
42
42
  ref,
43
43
  className: (0, import_clsx.default)(className, {
44
44
  "ds-phase-banner__tag": true
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/PhaseBannerTag/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface PhaseBannerTagProps extends BaseProps<'strong'> { }\n/**\n * PhaseBannerTag is used inside the PhaseBanner component and it requires a text of the phase of the service (ex. Alpha, Beta).\n */\nexport const PhaseBannerTag = React.forwardRef<\n HTMLElement,\n PhaseBannerTagProps\n>(function PhaseBannerTag({ className, children, ...props }, ref) {\n return (\n <Base\n as=\"strong\"\n ref={ref}\n className={clsx(className, {\n 'ds-phase-banner__tag': true,\n })}\n {...props}\n >\n {children}\n </Base>\n );\n});\n\nexport default PhaseBannerTag;\n"],
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface PhaseBannerTagProps extends BaseProps<'span'> { }\n/**\n * PhaseBannerTag is used inside the PhaseBanner component and it requires a text of the phase of the service (ex. Alpha, Beta).\n */\nexport const PhaseBannerTag = React.forwardRef<\n HTMLSpanElement,\n PhaseBannerTagProps\n>(function PhaseBannerTag({ className, children, ...props }, ref) {\n return (\n <Base\n as=\"span\"\n ref={ref}\n className={clsx(className, {\n 'ds-phase-banner__tag': true,\n })}\n {...props}\n >\n {children}\n </Base>\n );\n});\n\nexport default PhaseBannerTag;\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAMzB,MAAM,iBAAiB,aAAAA,QAAM,WAGlC,SAASC,gBAAe,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,KAAK;AAChE,SACE,6BAAAD,QAAA;AAAA,IAAC,YAAAE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,wBAAwB;AAAA,MAC1B,CAAC;AAAA,MACA,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,yBAAQ;",
6
6
  "names": ["React", "PhaseBannerTag", "Base", "clsx"]
7
7
  }
@@ -41,7 +41,7 @@ const PhaseBannerText = import_react.default.forwardRef(function PhaseBannerText
41
41
  as: "span",
42
42
  ref,
43
43
  className: (0, import_clsx.default)(className, {
44
- "ds-phase-banner__text": true
44
+ "ds-phase-banner__message": true
45
45
  }),
46
46
  ...props
47
47
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/PhaseBannerText/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface PhaseBannerTextProps extends BaseProps<'span'> { }\n/**\n * PhaseBannerText is used inside the PhaseBanner component.\n * It requires a text with more details about the phase of the service (ex. \"This is a new service\").\n * This components is optional\n */\nexport const PhaseBannerText = React.forwardRef<\n HTMLSpanElement,\n PhaseBannerTextProps\n>(function PhaseBannerText({ className, children, ...props }, ref) {\n return (\n <Base\n as=\"span\"\n ref={ref}\n className={clsx(className, {\n 'ds-phase-banner__text': true,\n })}\n {...props}\n >\n {children}\n </Base>\n );\n});\n\nexport default PhaseBannerText;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAQzB,MAAM,kBAAkB,aAAAA,QAAM,WAGnC,SAASC,iBAAgB,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,KAAK;AACjE,SACE,6BAAAD,QAAA;AAAA,IAAC,YAAAE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,yBAAyB;AAAA,MAC3B,CAAC;AAAA,MACA,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,0BAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface PhaseBannerTextProps extends BaseProps<'span'> { }\n/**\n * PhaseBannerText is used inside the PhaseBanner component.\n * It requires a text with more details about the phase of the service (ex. \"This is a new service\").\n * This components is optional\n */\nexport const PhaseBannerText = React.forwardRef<\n HTMLSpanElement,\n PhaseBannerTextProps\n>(function PhaseBannerText({ className, children, ...props }, ref) {\n return (\n <Base\n as=\"span\"\n ref={ref}\n className={clsx(className, {\n 'ds-phase-banner__message': true,\n })}\n {...props}\n >\n {children}\n </Base>\n );\n});\n\nexport default PhaseBannerText;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAgC;AAQzB,MAAM,kBAAkB,aAAAA,QAAM,WAGnC,SAASC,iBAAgB,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,KAAK;AACjE,SACE,6BAAAD,QAAA;AAAA,IAAC,YAAAE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,4BAA4B;AAAA,MAC9B,CAAC;AAAA,MACA,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,0BAAQ;",
6
6
  "names": ["React", "PhaseBannerText", "Base", "clsx"]
7
7
  }
@@ -47,8 +47,9 @@ const RadioItem = import_react.default.forwardRef(
47
47
  ...props
48
48
  }, ref) {
49
49
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, dividerText && /* @__PURE__ */ import_react.default.createElement(import_ChoiceDividerText.default, null, dividerText), /* @__PURE__ */ import_react.default.createElement(
50
- "div",
50
+ import_Base.default,
51
51
  {
52
+ as: "div",
52
53
  className: (0, import_clsx.default)(className, {
53
54
  "ds-radios__item": true
54
55
  })