@macallumharvey/first-test-wet 1.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. package/dist/WetButton.d.ts +9 -0
  2. package/dist/WetModal.d.ts +6 -0
  3. package/dist/first-test-wet.cjs.development.js +26 -0
  4. package/dist/first-test-wet.cjs.development.js.map +1 -1
  5. package/dist/first-test-wet.cjs.production.min.js +1 -1
  6. package/dist/first-test-wet.cjs.production.min.js.map +1 -1
  7. package/dist/first-test-wet.esm.js +26 -1
  8. package/dist/first-test-wet.esm.js.map +1 -1
  9. package/dist/index.d.ts +1 -0
  10. package/package.json +1 -1
  11. package/src/WetButton.tsx +19 -0
  12. package/src/WetModal.tsx +26 -0
  13. package/src/index.tsx +2 -2
  14. package/src/theme-wet-boew/assets/favicon-mobile.png +0 -0
  15. package/src/theme-wet-boew/assets/favicon.ico +0 -0
  16. package/src/theme-wet-boew/assets/logo.png +0 -0
  17. package/src/theme-wet-boew/assets/logo.svg +14 -0
  18. package/src/theme-wet-boew/css/ie8-theme.css +17370 -0
  19. package/src/theme-wet-boew/css/ie8-theme.min.css +193 -0
  20. package/src/theme-wet-boew/css/ie8-wet-boew.css +12 -0
  21. package/src/theme-wet-boew/css/ie8-wet-boew.min.css +7 -0
  22. package/src/theme-wet-boew/css/theme.css +11357 -0
  23. package/src/theme-wet-boew/css/theme.min.css +6 -0
  24. package/src/theme-wet-boew/css/wet-boew.css +12 -0
  25. package/src/theme-wet-boew/css/wet-boew.min.css +6 -0
  26. package/src/theme-wet-boew/payload.json +66 -0
  27. package/src/wet-boew/assets/cloud-popup-relative.png +0 -0
  28. package/src/wet-boew/assets/fd-slider-sprite.png +0 -0
  29. package/src/wet-boew/assets/loading.png +0 -0
  30. package/src/wet-boew/assets/mediacontrols.html +32 -0
  31. package/src/wet-boew/assets/sprites_share.png +0 -0
  32. package/src/wet-boew/assets/zoom-minus-mini.png +0 -0
  33. package/src/wet-boew/assets/zoom-plus-mini.png +0 -0
  34. package/src/wet-boew/assets/zoom-world-mini.png +0 -0
  35. package/src/wet-boew/css/noscript.css +112 -0
  36. package/src/wet-boew/css/noscript.min.css +6 -0
  37. package/src/wet-boew/css/polyfills/datalist.css +32 -0
  38. package/src/wet-boew/css/polyfills/datalist.min.css +1 -0
  39. package/src/wet-boew/css/polyfills/datepicker.css +47 -0
  40. package/src/wet-boew/css/polyfills/datepicker.min.css +1 -0
  41. package/src/wet-boew/css/polyfills/details.css +28 -0
  42. package/src/wet-boew/css/polyfills/details.min.css +1 -0
  43. package/src/wet-boew/css/polyfills/mathml.css +16 -0
  44. package/src/wet-boew/css/polyfills/mathml.min.css +1 -0
  45. package/src/wet-boew/css/polyfills/meter.css +24 -0
  46. package/src/wet-boew/css/polyfills/meter.min.css +1 -0
  47. package/src/wet-boew/css/polyfills/progress.css +8 -0
  48. package/src/wet-boew/css/polyfills/progress.min.css +1 -0
  49. package/src/wet-boew/css/polyfills/slider.css +229 -0
  50. package/src/wet-boew/css/polyfills/slider.min.css +1 -0
  51. package/src/wet-boew/fonts/glyphicons-halflings-regular.eot +0 -0
  52. package/src/wet-boew/fonts/glyphicons-halflings-regular.svg +288 -0
  53. package/src/wet-boew/fonts/glyphicons-halflings-regular.ttf +0 -0
  54. package/src/wet-boew/fonts/glyphicons-halflings-regular.woff +0 -0
  55. package/src/wet-boew/fonts/glyphicons-halflings-regular.woff2 +0 -0
  56. package/src/wet-boew/js/MathJax/mml-chtml.js +1 -0
  57. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  58. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  59. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  60. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  61. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  62. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  63. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  64. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  65. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  66. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  67. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  68. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  69. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  70. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  71. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  72. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  73. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  74. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  75. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  76. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  77. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  78. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  79. package/src/wet-boew/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  80. package/src/wet-boew/js/deps/additional-methods.js +1512 -0
  81. package/src/wet-boew/js/deps/additional-methods.min.js +9 -0
  82. package/src/wet-boew/js/deps/geomap-lib.js +3758 -0
  83. package/src/wet-boew/js/deps/geomap-lib.min.js +1 -0
  84. package/src/wet-boew/js/deps/jquery.dataTables.js +15345 -0
  85. package/src/wet-boew/js/deps/jquery.dataTables.min.js +4 -0
  86. package/src/wet-boew/js/deps/jquery.flot.canvas.js +345 -0
  87. package/src/wet-boew/js/deps/jquery.flot.canvas.min.js +1 -0
  88. package/src/wet-boew/js/deps/jquery.flot.js +3168 -0
  89. package/src/wet-boew/js/deps/jquery.flot.min.js +1 -0
  90. package/src/wet-boew/js/deps/jquery.flot.orderBars.js +282 -0
  91. package/src/wet-boew/js/deps/jquery.flot.orderBars.min.js +1 -0
  92. package/src/wet-boew/js/deps/jquery.flot.pie.js +820 -0
  93. package/src/wet-boew/js/deps/jquery.flot.pie.min.js +1 -0
  94. package/src/wet-boew/js/deps/jquery.magnific-popup.js +2061 -0
  95. package/src/wet-boew/js/deps/jquery.magnific-popup.min.js +4 -0
  96. package/src/wet-boew/js/deps/jquery.validate.js +1661 -0
  97. package/src/wet-boew/js/deps/jquery.validate.min.js +9 -0
  98. package/src/wet-boew/js/deps/json-patch.js +315 -0
  99. package/src/wet-boew/js/deps/json-patch.min.js +1 -0
  100. package/src/wet-boew/js/deps/jsonpointer.js +349 -0
  101. package/src/wet-boew/js/deps/jsonpointer.min.js +1 -0
  102. package/src/wet-boew/js/deps/lang-apollo.js +53 -0
  103. package/src/wet-boew/js/deps/lang-apollo.min.js +1 -0
  104. package/src/wet-boew/js/deps/lang-basic.js +49 -0
  105. package/src/wet-boew/js/deps/lang-basic.min.js +1 -0
  106. package/src/wet-boew/js/deps/lang-clj.js +64 -0
  107. package/src/wet-boew/js/deps/lang-clj.min.js +1 -0
  108. package/src/wet-boew/js/deps/lang-css.js +160 -0
  109. package/src/wet-boew/js/deps/lang-css.min.js +1 -0
  110. package/src/wet-boew/js/deps/lang-dart.js +92 -0
  111. package/src/wet-boew/js/deps/lang-dart.min.js +1 -0
  112. package/src/wet-boew/js/deps/lang-erlang.js +94 -0
  113. package/src/wet-boew/js/deps/lang-erlang.min.js +1 -0
  114. package/src/wet-boew/js/deps/lang-go.js +59 -0
  115. package/src/wet-boew/js/deps/lang-go.min.js +1 -0
  116. package/src/wet-boew/js/deps/lang-hs.js +102 -0
  117. package/src/wet-boew/js/deps/lang-hs.min.js +1 -0
  118. package/src/wet-boew/js/deps/lang-lasso.js +67 -0
  119. package/src/wet-boew/js/deps/lang-lasso.min.js +1 -0
  120. package/src/wet-boew/js/deps/lang-lisp.js +95 -0
  121. package/src/wet-boew/js/deps/lang-lisp.min.js +1 -0
  122. package/src/wet-boew/js/deps/lang-llvm.js +63 -0
  123. package/src/wet-boew/js/deps/lang-llvm.min.js +1 -0
  124. package/src/wet-boew/js/deps/lang-logtalk.js +50 -0
  125. package/src/wet-boew/js/deps/lang-logtalk.min.js +1 -0
  126. package/src/wet-boew/js/deps/lang-lua.js +60 -0
  127. package/src/wet-boew/js/deps/lang-lua.min.js +1 -0
  128. package/src/wet-boew/js/deps/lang-matlab.js +183 -0
  129. package/src/wet-boew/js/deps/lang-matlab.min.js +1 -0
  130. package/src/wet-boew/js/deps/lang-ml.js +57 -0
  131. package/src/wet-boew/js/deps/lang-ml.min.js +1 -0
  132. package/src/wet-boew/js/deps/lang-mumps.js +140 -0
  133. package/src/wet-boew/js/deps/lang-mumps.min.js +1 -0
  134. package/src/wet-boew/js/deps/lang-n.js +67 -0
  135. package/src/wet-boew/js/deps/lang-n.min.js +1 -0
  136. package/src/wet-boew/js/deps/lang-pascal.js +49 -0
  137. package/src/wet-boew/js/deps/lang-pascal.min.js +1 -0
  138. package/src/wet-boew/js/deps/lang-proto.js +37 -0
  139. package/src/wet-boew/js/deps/lang-proto.min.js +1 -0
  140. package/src/wet-boew/js/deps/lang-r.js +59 -0
  141. package/src/wet-boew/js/deps/lang-r.min.js +1 -0
  142. package/src/wet-boew/js/deps/lang-rd.js +50 -0
  143. package/src/wet-boew/js/deps/lang-rd.min.js +1 -0
  144. package/src/wet-boew/js/deps/lang-rust.js +81 -0
  145. package/src/wet-boew/js/deps/lang-rust.min.js +1 -0
  146. package/src/wet-boew/js/deps/lang-scala.js +56 -0
  147. package/src/wet-boew/js/deps/lang-scala.min.js +1 -0
  148. package/src/wet-boew/js/deps/lang-sql.js +59 -0
  149. package/src/wet-boew/js/deps/lang-sql.min.js +1 -0
  150. package/src/wet-boew/js/deps/lang-swift.js +60 -0
  151. package/src/wet-boew/js/deps/lang-swift.min.js +1 -0
  152. package/src/wet-boew/js/deps/lang-tcl.js +63 -0
  153. package/src/wet-boew/js/deps/lang-tcl.min.js +1 -0
  154. package/src/wet-boew/js/deps/lang-tex.js +49 -0
  155. package/src/wet-boew/js/deps/lang-tex.min.js +1 -0
  156. package/src/wet-boew/js/deps/lang-vb.js +67 -0
  157. package/src/wet-boew/js/deps/lang-vb.min.js +1 -0
  158. package/src/wet-boew/js/deps/lang-vhdl.js +51 -0
  159. package/src/wet-boew/js/deps/lang-vhdl.min.js +1 -0
  160. package/src/wet-boew/js/deps/lang-wiki.js +55 -0
  161. package/src/wet-boew/js/deps/lang-wiki.min.js +1 -0
  162. package/src/wet-boew/js/deps/lang-xq.js +71 -0
  163. package/src/wet-boew/js/deps/lang-xq.min.js +1 -0
  164. package/src/wet-boew/js/deps/lang-yaml.js +45 -0
  165. package/src/wet-boew/js/deps/lang-yaml.min.js +1 -0
  166. package/src/wet-boew/js/deps/ol.js +1008 -0
  167. package/src/wet-boew/js/deps/ol.min.js +1 -0
  168. package/src/wet-boew/js/deps/prettify.js +1742 -0
  169. package/src/wet-boew/js/deps/prettify.min.js +1 -0
  170. package/src/wet-boew/js/deps/proj4.js +3 -0
  171. package/src/wet-boew/js/deps/proj4.min.js +1 -0
  172. package/src/wet-boew/js/deps/run_prettify.js +1998 -0
  173. package/src/wet-boew/js/deps/run_prettify.min.js +1 -0
  174. package/src/wet-boew/js/deps/tableparser.js +2216 -0
  175. package/src/wet-boew/js/deps/tableparser.min.js +1 -0
  176. package/src/wet-boew/js/deps/unorm.js +452 -0
  177. package/src/wet-boew/js/deps/unorm.min.js +1 -0
  178. package/src/wet-boew/js/i18n/af.js +246 -0
  179. package/src/wet-boew/js/i18n/af.min.js +7 -0
  180. package/src/wet-boew/js/i18n/ar.js +285 -0
  181. package/src/wet-boew/js/i18n/ar.min.js +7 -0
  182. package/src/wet-boew/js/i18n/bg.js +285 -0
  183. package/src/wet-boew/js/i18n/bg.min.js +7 -0
  184. package/src/wet-boew/js/i18n/cs.js +286 -0
  185. package/src/wet-boew/js/i18n/cs.min.js +7 -0
  186. package/src/wet-boew/js/i18n/de.js +355 -0
  187. package/src/wet-boew/js/i18n/de.min.js +7 -0
  188. package/src/wet-boew/js/i18n/el.js +285 -0
  189. package/src/wet-boew/js/i18n/el.min.js +7 -0
  190. package/src/wet-boew/js/i18n/en.js +246 -0
  191. package/src/wet-boew/js/i18n/en.min.js +7 -0
  192. package/src/wet-boew/js/i18n/es.js +288 -0
  193. package/src/wet-boew/js/i18n/es.min.js +7 -0
  194. package/src/wet-boew/js/i18n/et.js +283 -0
  195. package/src/wet-boew/js/i18n/et.min.js +7 -0
  196. package/src/wet-boew/js/i18n/fr.js +314 -0
  197. package/src/wet-boew/js/i18n/fr.min.js +7 -0
  198. package/src/wet-boew/js/i18n/hi.js +246 -0
  199. package/src/wet-boew/js/i18n/hi.min.js +7 -0
  200. package/src/wet-boew/js/i18n/hu.js +285 -0
  201. package/src/wet-boew/js/i18n/hu.min.js +7 -0
  202. package/src/wet-boew/js/i18n/hy.js +246 -0
  203. package/src/wet-boew/js/i18n/hy.min.js +7 -0
  204. package/src/wet-boew/js/i18n/id.js +284 -0
  205. package/src/wet-boew/js/i18n/id.min.js +7 -0
  206. package/src/wet-boew/js/i18n/is.js +283 -0
  207. package/src/wet-boew/js/i18n/is.min.js +7 -0
  208. package/src/wet-boew/js/i18n/it.js +312 -0
  209. package/src/wet-boew/js/i18n/it.min.js +7 -0
  210. package/src/wet-boew/js/i18n/iu.js +246 -0
  211. package/src/wet-boew/js/i18n/iu.min.js +7 -0
  212. package/src/wet-boew/js/i18n/ja.js +286 -0
  213. package/src/wet-boew/js/i18n/ja.min.js +7 -0
  214. package/src/wet-boew/js/i18n/ko.js +285 -0
  215. package/src/wet-boew/js/i18n/ko.min.js +7 -0
  216. package/src/wet-boew/js/i18n/lt.js +285 -0
  217. package/src/wet-boew/js/i18n/lt.min.js +7 -0
  218. package/src/wet-boew/js/i18n/lv.js +285 -0
  219. package/src/wet-boew/js/i18n/lv.min.js +7 -0
  220. package/src/wet-boew/js/i18n/nl.js +319 -0
  221. package/src/wet-boew/js/i18n/nl.min.js +7 -0
  222. package/src/wet-boew/js/i18n/pl.js +288 -0
  223. package/src/wet-boew/js/i18n/pl.min.js +7 -0
  224. package/src/wet-boew/js/i18n/pt-BR.js +246 -0
  225. package/src/wet-boew/js/i18n/pt-BR.min.js +7 -0
  226. package/src/wet-boew/js/i18n/pt.js +271 -0
  227. package/src/wet-boew/js/i18n/pt.min.js +7 -0
  228. package/src/wet-boew/js/i18n/ru.js +285 -0
  229. package/src/wet-boew/js/i18n/ru.min.js +7 -0
  230. package/src/wet-boew/js/i18n/sk.js +283 -0
  231. package/src/wet-boew/js/i18n/sk.min.js +7 -0
  232. package/src/wet-boew/js/i18n/sq.js +246 -0
  233. package/src/wet-boew/js/i18n/sq.min.js +7 -0
  234. package/src/wet-boew/js/i18n/th.js +285 -0
  235. package/src/wet-boew/js/i18n/th.min.js +7 -0
  236. package/src/wet-boew/js/i18n/tr.js +287 -0
  237. package/src/wet-boew/js/i18n/tr.min.js +7 -0
  238. package/src/wet-boew/js/i18n/uk.js +285 -0
  239. package/src/wet-boew/js/i18n/uk.min.js +7 -0
  240. package/src/wet-boew/js/i18n/vi.js +285 -0
  241. package/src/wet-boew/js/i18n/vi.min.js +7 -0
  242. package/src/wet-boew/js/i18n/zh-Hans.js +246 -0
  243. package/src/wet-boew/js/i18n/zh-Hans.min.js +7 -0
  244. package/src/wet-boew/js/i18n/zh.js +286 -0
  245. package/src/wet-boew/js/i18n/zh.min.js +7 -0
  246. package/src/wet-boew/js/ie8-wet-boew.js +3992 -0
  247. package/src/wet-boew/js/ie8-wet-boew.min.js +7 -0
  248. package/src/wet-boew/js/ie8-wet-boew2.js +15294 -0
  249. package/src/wet-boew/js/ie8-wet-boew2.min.js +7 -0
  250. package/src/wet-boew/js/jquery/2.2.4/jquery.js +9814 -0
  251. package/src/wet-boew/js/jquery/2.2.4/jquery.min.js +4 -0
  252. package/src/wet-boew/js/jquery/2.2.4/jquery.min.map +1 -0
  253. package/src/wet-boew/js/polyfills/datalist.js +423 -0
  254. package/src/wet-boew/js/polyfills/datalist.min.js +8 -0
  255. package/src/wet-boew/js/polyfills/datalist.min.js.map +1 -0
  256. package/src/wet-boew/js/polyfills/datalist_dynamic.js +50 -0
  257. package/src/wet-boew/js/polyfills/datalist_dynamic.min.js +8 -0
  258. package/src/wet-boew/js/polyfills/datalist_dynamic.min.js.map +1 -0
  259. package/src/wet-boew/js/polyfills/datepicker.js +338 -0
  260. package/src/wet-boew/js/polyfills/datepicker.min.js +8 -0
  261. package/src/wet-boew/js/polyfills/datepicker.min.js.map +1 -0
  262. package/src/wet-boew/js/polyfills/details.js +126 -0
  263. package/src/wet-boew/js/polyfills/details.min.js +8 -0
  264. package/src/wet-boew/js/polyfills/details.min.js.map +1 -0
  265. package/src/wet-boew/js/polyfills/jawsariafixes.js +47 -0
  266. package/src/wet-boew/js/polyfills/jawsariafixes.min.js +16 -0
  267. package/src/wet-boew/js/polyfills/jawsariafixes.min.js.map +1 -0
  268. package/src/wet-boew/js/polyfills/meter.js +140 -0
  269. package/src/wet-boew/js/polyfills/meter.min.js +8 -0
  270. package/src/wet-boew/js/polyfills/meter.min.js.map +1 -0
  271. package/src/wet-boew/js/polyfills/mobile.js +783 -0
  272. package/src/wet-boew/js/polyfills/mobile.min.js +8 -0
  273. package/src/wet-boew/js/polyfills/mobile.min.js.map +1 -0
  274. package/src/wet-boew/js/polyfills/progress.js +107 -0
  275. package/src/wet-boew/js/polyfills/progress.min.js +8 -0
  276. package/src/wet-boew/js/polyfills/progress.min.js.map +1 -0
  277. package/src/wet-boew/js/polyfills/slider.js +1343 -0
  278. package/src/wet-boew/js/polyfills/slider.min.js +9 -0
  279. package/src/wet-boew/js/polyfills/slider.min.js.map +1 -0
  280. package/src/wet-boew/js/polyfills/slider_wrapper.js +73 -0
  281. package/src/wet-boew/js/polyfills/slider_wrapper.min.js +8 -0
  282. package/src/wet-boew/js/polyfills/slider_wrapper.min.js.map +1 -0
  283. package/src/wet-boew/js/polyfills/svg.js +29 -0
  284. package/src/wet-boew/js/polyfills/svg.min.js +8 -0
  285. package/src/wet-boew/js/polyfills/svg.min.js.map +1 -0
  286. package/src/wet-boew/js/polyfills/test.js +603 -0
  287. package/src/wet-boew/js/polyfills/test.min.js +8 -0
  288. package/src/wet-boew/js/polyfills/test.min.js.map +1 -0
  289. package/src/wet-boew/js/wet-boew.js +17714 -0
  290. package/src/wet-boew/js/wet-boew.min.js +9 -0
  291. package/src/wet-boew/js/wet-boew.min.js.map +1 -0
  292. package/src/wet-boew/payload.json +1722 -0
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface WetButtonProps {
3
+ disabled: string;
4
+ classString: string;
5
+ onClick: string;
6
+ style: string;
7
+ innerText: string;
8
+ }
9
+ export declare function Button(): React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export interface WetModalProps {
3
+ title: string;
4
+ body: string;
5
+ }
6
+ export declare function WetModal({ title }: WetModalProps, { body }: WetModalProps): React.JSX.Element;
@@ -11,5 +11,31 @@ function Macallum(_ref) {
11
11
  return React.createElement("div", null, "Hello, ", name, "!");
12
12
  }
13
13
 
14
+ function WetModal(_ref, _ref2) {
15
+ var title = _ref.title;
16
+ var body = _ref2.body;
17
+ return React.createElement(React.Fragment, null, React.createElement("a", {
18
+ href: "#centred-popup-modal",
19
+ "aria-controls": "centred-popup-modal",
20
+ className: "wb-lbx lbx-modal",
21
+ role: "button"
22
+ }, React.createElement("i", {
23
+ className: "fa-solid fa-circle-info",
24
+ style: {
25
+ color: "#148f9f"
26
+ }
27
+ })), React.createElement("section", {
28
+ id: "centred-popup-modal",
29
+ className: "mfp-hide modal-dialog modal-content overlay-def"
30
+ }, React.createElement("header", {
31
+ className: "modal-header"
32
+ }, React.createElement("h2", {
33
+ className: "modal-title"
34
+ }, title)), React.createElement("div", {
35
+ className: 'modal-body'
36
+ }, React.createElement("p", null, body))));
37
+ }
38
+
14
39
  exports.Macallum = Macallum;
40
+ exports.WetModal = WetModal;
15
41
  //# sourceMappingURL=first-test-wet.cjs.development.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"first-test-wet.cjs.development.js","sources":["../src/Macallum.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nexport interface MacallumProps{\r\n name: string ;\r\n}\r\n\r\nexport function Macallum({name}: MacallumProps){\r\n return <div>Hello, {name}!</div> \r\n}"],"names":["Macallum","_ref","name","React"],"mappings":";;;;;;;;SAMgBA,QAAQA,CAAAC,IAAA;MAAEC,IAAI,GAAAD,IAAA,CAAJC,IAAI;EAC7B,OAAOC,4CAAaD,IAAI,MAAQ;AACjC;;;;"}
1
+ {"version":3,"file":"first-test-wet.cjs.development.js","sources":["../src/Macallum.tsx","../src/WetModal.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nexport interface MacallumProps{\r\n name: string ;\r\n}\r\n\r\nexport function Macallum({name}: MacallumProps){\r\n return <div>Hello, {name}!</div> \r\n}","import React from \"react\";\r\n\r\n\r\nexport interface WetModalProps{\r\n title:string;\r\n body:string;\r\n\r\n}\r\n\r\nexport function WetModal({title}:WetModalProps, {body}:WetModalProps){\r\n return(\r\n <>\r\n <a href=\"#centred-popup-modal\" aria-controls=\"centred-popup-modal\" className=\"wb-lbx lbx-modal\" role=\"button\"><i className=\"fa-solid fa-circle-info\" style={{ color: \"#148f9f\" }}></i></a>\r\n\r\n <section id=\"centred-popup-modal\" className=\"mfp-hide modal-dialog modal-content overlay-def\">\r\n <header className=\"modal-header\">\r\n <h2 className=\"modal-title\">{title}</h2>\r\n </header>\r\n <div className='modal-body'>\r\n <p>{body}</p>\r\n </div>\r\n \r\n </section>\r\n </>\r\n );\r\n}"],"names":["Macallum","_ref","name","React","WetModal","_ref2","title","body","href","className","role","style","color","id"],"mappings":";;;;;;;;SAMgBA,QAAQA,CAAAC,IAAA;MAAEC,IAAI,GAAAD,IAAA,CAAJC,IAAI;EAC7B,OAAOC,4CAAaD,IAAI,MAAQ;AACjC;;SCCgBE,QAAQA,CAAAH,IAAA,EAAAI,KAAA;MAAEC,KAAK,GAAAL,IAAA,CAALK,KAAK;EAAA,IAAkBC,IAAI,GAAAF,KAAA,CAAJE,IAAI;EACjD,OACIJ,0CACIA;IAAGK,IAAI,EAAC,sBAAsB;qBAAe,qBAAqB;IAACC,SAAS,EAAC,kBAAkB;IAACC,IAAI,EAAC;KAASP;IAAGM,SAAS,EAAC,yBAAyB;IAACE,KAAK,EAAE;MAAEC,KAAK,EAAE;;IAAiB,CAAI,EAE1LT;IAASU,EAAE,EAAC,qBAAqB;IAACJ,SAAS,EAAC;KAC5CN;IAAQM,SAAS,EAAC;KACdN;IAAIM,SAAS,EAAC;KAAeH,KAAK,CAAM,CACnC,EACTH;IAAKM,SAAS,EAAC;KACXN,+BAAII,IAAI,CAAK,CACX,CAEI,CACX;AAEX;;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e;exports.Macallum=function(e){return t.createElement("div",null,"Hello, ",e.name,"!")};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,l=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e;exports.Macallum=function(e){return l.createElement("div",null,"Hello, ",e.name,"!")},exports.WetModal=function(e,a){var t=e.title,o=a.body;return l.createElement(l.Fragment,null,l.createElement("a",{href:"#centred-popup-modal","aria-controls":"centred-popup-modal",className:"wb-lbx lbx-modal",role:"button"},l.createElement("i",{className:"fa-solid fa-circle-info",style:{color:"#148f9f"}})),l.createElement("section",{id:"centred-popup-modal",className:"mfp-hide modal-dialog modal-content overlay-def"},l.createElement("header",{className:"modal-header"},l.createElement("h2",{className:"modal-title"},t)),l.createElement("div",{className:"modal-body"},l.createElement("p",null,o))))};
2
2
  //# sourceMappingURL=first-test-wet.cjs.production.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"first-test-wet.cjs.production.min.js","sources":["../src/Macallum.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nexport interface MacallumProps{\r\n name: string ;\r\n}\r\n\r\nexport function Macallum({name}: MacallumProps){\r\n return <div>Hello, {name}!</div> \r\n}"],"names":["_ref","React","name"],"mappings":"0KAMwBA,GACvB,OAAOC,qCADsBD,EAAJE"}
1
+ {"version":3,"file":"first-test-wet.cjs.production.min.js","sources":["../src/Macallum.tsx","../src/WetModal.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nexport interface MacallumProps{\r\n name: string ;\r\n}\r\n\r\nexport function Macallum({name}: MacallumProps){\r\n return <div>Hello, {name}!</div> \r\n}","import React from \"react\";\r\n\r\n\r\nexport interface WetModalProps{\r\n title:string;\r\n body:string;\r\n\r\n}\r\n\r\nexport function WetModal({title}:WetModalProps, {body}:WetModalProps){\r\n return(\r\n <>\r\n <a href=\"#centred-popup-modal\" aria-controls=\"centred-popup-modal\" className=\"wb-lbx lbx-modal\" role=\"button\"><i className=\"fa-solid fa-circle-info\" style={{ color: \"#148f9f\" }}></i></a>\r\n\r\n <section id=\"centred-popup-modal\" className=\"mfp-hide modal-dialog modal-content overlay-def\">\r\n <header className=\"modal-header\">\r\n <h2 className=\"modal-title\">{title}</h2>\r\n </header>\r\n <div className='modal-body'>\r\n <p>{body}</p>\r\n </div>\r\n \r\n </section>\r\n </>\r\n );\r\n}"],"names":["_ref","React","name","_ref2","title","body","href","className","role","style","color","id"],"mappings":"0KAMwBA,GACvB,OAAOC,qCADsBD,EAAJE,qCCGFF,EAAAG,OAAEC,EAAKJ,EAALI,MAAuBC,EAAIF,EAAJE,KAC7C,OACIJ,gCACIA,qBAAGK,KAAK,uCAAqC,sBAAsBC,UAAU,mBAAmBC,KAAK,UAASP,qBAAGM,UAAU,0BAA0BE,MAAO,CAAEC,MAAO,cAErKT,2BAASU,GAAG,sBAAsBJ,UAAU,mDAC5CN,0BAAQM,UAAU,gBACdN,sBAAIM,UAAU,eAAeH,IAEjCH,uBAAKM,UAAU,cACXN,yBAAII"}
@@ -5,5 +5,30 @@ function Macallum(_ref) {
5
5
  return React.createElement("div", null, "Hello, ", name, "!");
6
6
  }
7
7
 
8
- export { Macallum };
8
+ function WetModal(_ref, _ref2) {
9
+ var title = _ref.title;
10
+ var body = _ref2.body;
11
+ return React.createElement(React.Fragment, null, React.createElement("a", {
12
+ href: "#centred-popup-modal",
13
+ "aria-controls": "centred-popup-modal",
14
+ className: "wb-lbx lbx-modal",
15
+ role: "button"
16
+ }, React.createElement("i", {
17
+ className: "fa-solid fa-circle-info",
18
+ style: {
19
+ color: "#148f9f"
20
+ }
21
+ })), React.createElement("section", {
22
+ id: "centred-popup-modal",
23
+ className: "mfp-hide modal-dialog modal-content overlay-def"
24
+ }, React.createElement("header", {
25
+ className: "modal-header"
26
+ }, React.createElement("h2", {
27
+ className: "modal-title"
28
+ }, title)), React.createElement("div", {
29
+ className: 'modal-body'
30
+ }, React.createElement("p", null, body))));
31
+ }
32
+
33
+ export { Macallum, WetModal };
9
34
  //# sourceMappingURL=first-test-wet.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"first-test-wet.esm.js","sources":["../src/Macallum.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nexport interface MacallumProps{\r\n name: string ;\r\n}\r\n\r\nexport function Macallum({name}: MacallumProps){\r\n return <div>Hello, {name}!</div> \r\n}"],"names":["Macallum","_ref","name","React"],"mappings":";;SAMgBA,QAAQA,CAAAC,IAAA;MAAEC,IAAI,GAAAD,IAAA,CAAJC,IAAI;EAC7B,OAAOC,4CAAaD,IAAI,MAAQ;AACjC;;;;"}
1
+ {"version":3,"file":"first-test-wet.esm.js","sources":["../src/Macallum.tsx","../src/WetModal.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nexport interface MacallumProps{\r\n name: string ;\r\n}\r\n\r\nexport function Macallum({name}: MacallumProps){\r\n return <div>Hello, {name}!</div> \r\n}","import React from \"react\";\r\n\r\n\r\nexport interface WetModalProps{\r\n title:string;\r\n body:string;\r\n\r\n}\r\n\r\nexport function WetModal({title}:WetModalProps, {body}:WetModalProps){\r\n return(\r\n <>\r\n <a href=\"#centred-popup-modal\" aria-controls=\"centred-popup-modal\" className=\"wb-lbx lbx-modal\" role=\"button\"><i className=\"fa-solid fa-circle-info\" style={{ color: \"#148f9f\" }}></i></a>\r\n\r\n <section id=\"centred-popup-modal\" className=\"mfp-hide modal-dialog modal-content overlay-def\">\r\n <header className=\"modal-header\">\r\n <h2 className=\"modal-title\">{title}</h2>\r\n </header>\r\n <div className='modal-body'>\r\n <p>{body}</p>\r\n </div>\r\n \r\n </section>\r\n </>\r\n );\r\n}"],"names":["Macallum","_ref","name","React","WetModal","_ref2","title","body","href","className","role","style","color","id"],"mappings":";;SAMgBA,QAAQA,CAAAC,IAAA;MAAEC,IAAI,GAAAD,IAAA,CAAJC,IAAI;EAC7B,OAAOC,4CAAaD,IAAI,MAAQ;AACjC;;SCCgBE,QAAQA,CAAAH,IAAA,EAAAI,KAAA;MAAEC,KAAK,GAAAL,IAAA,CAALK,KAAK;EAAA,IAAkBC,IAAI,GAAAF,KAAA,CAAJE,IAAI;EACjD,OACIJ,0CACIA;IAAGK,IAAI,EAAC,sBAAsB;qBAAe,qBAAqB;IAACC,SAAS,EAAC,kBAAkB;IAACC,IAAI,EAAC;KAASP;IAAGM,SAAS,EAAC,yBAAyB;IAACE,KAAK,EAAE;MAAEC,KAAK,EAAE;;IAAiB,CAAI,EAE1LT;IAASU,EAAE,EAAC,qBAAqB;IAACJ,SAAS,EAAC;KAC5CN;IAAQM,SAAS,EAAC;KACdN;IAAIM,SAAS,EAAC;KAAeH,KAAK,CAAM,CACnC,EACTH;IAAKM,SAAS,EAAC;KACXN,+BAAII,IAAI,CAAK,CACX,CAEI,CACX;AAEX;;;;"}
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './Macallum';
2
+ export * from './WetModal';
package/package.json CHANGED
@@ -1 +1 @@
1
- {"version":"1.0.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","files":["dist","src"],"engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@macallumharvey/first-test-wet","author":"Macallum Harvey","module":"dist/first-test-wet.esm.js","size-limit":[{"path":"dist/first-test-wet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/first-test-wet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^11.1.4","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","husky":"^9.0.11","react":"^18.3.1","react-dom":"^18.3.1","size-limit":"^11.1.4","tsdx":"^0.14.1","tslib":"^2.6.3","typescript":"^3.9.10"}}
1
+ {"version":"3.0.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","files":["dist","src"],"engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@macallumharvey/first-test-wet","author":"Macallum Harvey","module":"dist/first-test-wet.esm.js","size-limit":[{"path":"dist/first-test-wet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/first-test-wet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^11.1.4","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","husky":"^9.0.11","react":"^18.3.1","react-dom":"^18.3.1","size-limit":"^11.1.4","tsdx":"^0.14.1","tslib":"^2.6.3","typescript":"^3.9.10"}}
@@ -0,0 +1,19 @@
1
+
2
+ import React from 'react';
3
+ export interface WetButtonProps{
4
+ disabled:string;
5
+ classString: string;
6
+ onClick:string;
7
+ style:string;
8
+ innerText:string;
9
+
10
+
11
+
12
+ }
13
+ export function Button() {
14
+ return (
15
+ <button>
16
+ CLICK ME!
17
+ </button>
18
+ )
19
+ }
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+
3
+
4
+ export interface WetModalProps{
5
+ title:string;
6
+ body:string;
7
+
8
+ }
9
+
10
+ export function WetModal({title}:WetModalProps, {body}:WetModalProps){
11
+ return(
12
+ <>
13
+ <a href="#centred-popup-modal" aria-controls="centred-popup-modal" className="wb-lbx lbx-modal" role="button"><i className="fa-solid fa-circle-info" style={{ color: "#148f9f" }}></i></a>
14
+
15
+ <section id="centred-popup-modal" className="mfp-hide modal-dialog modal-content overlay-def">
16
+ <header className="modal-header">
17
+ <h2 className="modal-title">{title}</h2>
18
+ </header>
19
+ <div className='modal-body'>
20
+ <p>{body}</p>
21
+ </div>
22
+
23
+ </section>
24
+ </>
25
+ );
26
+ }
package/src/index.tsx CHANGED
@@ -1,2 +1,2 @@
1
-
2
- export * from './Macallum'
1
+ export * from './Macallum';
2
+ export * from './WetModal';
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="0 0 957 440">
3
+ <!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
4
+ wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html -->
5
+ <defs>
6
+ <style type="text/css">
7
+ .wxt_logo {fill:#000;}
8
+ @media screen {.wxt_logo {fill: #FFF;}}
9
+ </style>
10
+ </defs>
11
+ <g transform="matrix(1,0,0,0.99999897,-9.6901386,-462.70603)">
12
+ <path class="wxt_logo" d="M 784.76421,462.90748 C 731.02378,462.32641 692.43028,462.92058 670.00747,465.81109 627.01699,471.36234 581.50604,521.32921 561.29903,556.61298 533.1225,598.63518 502.75047,688.71895 456.44715,688.45762 410.14383,688.19629 383.3898,586.46163 342.35988,586.87543 301.32996,587.28923 280.41575,681.13815 217.75409,680.85877 155.09243,680.5794 106.13019,521.18393 92.880525,462.95097 L 9.6901386,462.95097 C 24.231399,554.63077 61.332242,625.08552 95.037833,673.97611 111.89062,698.42134 130.8032,720.94553 152.498,738.83848 174.1928,756.73157 189.29235,770.16273 231.22456,771.59698 273.15677,773.03123 310.59454,703.98949 336.85386,703.15671 361.10529,702.38761 367.52311,727.21076 358.42907,743.27683 349.33503,759.3429 325.08792,786.58449 316.37192,811.63499 303.9082,847.45703 300.39154,879.1467 301.15827,901.73096 L 386.18296,901.44462 C 386.97642,857.40138 414.64036,778.01003 458.37203,775.64864 484.4689,775.57768 530.7786,820.59899 544.6176,838.95024 558.4566,857.30149 569.7218,874.82986 594.71632,889.25345 619.71084,903.67704 654.60982,905.15482 687.79769,893.30218 732.03818,877.50249 754.42732,835.1839 767.75116,795.52174 781.07499,755.85945 787.08531,711.72939 791.59405,669.88643 796.10281,628.04332 797.61781,603.23233 801.78169,576.96002 802.6265,571.62968 804.64498,552.07124 822.78338,547.72943 840.92177,543.38762 966.89118,546.85344 966.89118,546.85344 L 967.11932,462.8124 C 967.11932,462.8124 838.50471,463.48815 784.76427,462.90708 z M 719.12466,548.42285 C 711.60107,623.14542 709.98489,698.34966 687.10247,768.40741 681.56172,784.77829 660.87745,829.58569 637.20824,815.5576 633.78894,813.58447 624.96399,804.15123 612.5065,787.66591 598.42641,769.03327 577.6579,741.58571 546.2944,720.92616 569.33744,697.96997 587.52298,669.6362 602.69124,644.73515 620.23787,615.92959 632.36107,591.69362 632.4233,591.56916 632.42347,591.5689 632.4641,591.48806 632.4641,591.48806 649.71879,556.9987 688.33393,540.78276 719.12466,548.42285 z"/>
13
+ </g>
14
+ </svg>