@macallumharvey/first-test-wet 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,4 +6,4 @@ export interface WetButtonProps {
6
6
  style: string;
7
7
  innerText: string;
8
8
  }
9
- export declare function Button(): React.JSX.Element;
9
+ export declare function WetButton(): React.JSX.Element;
@@ -36,6 +36,11 @@ function WetModal(_ref, _ref2) {
36
36
  }, React.createElement("p", null, body))));
37
37
  }
38
38
 
39
+ function WetButton() {
40
+ return React.createElement("button", null, "CLICK ME!");
41
+ }
42
+
39
43
  exports.Macallum = Macallum;
44
+ exports.WetButton = WetButton;
40
45
  exports.WetModal = WetModal;
41
46
  //# sourceMappingURL=first-test-wet.cjs.development.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"first-test-wet.cjs.development.js","sources":["../src/Macallum.tsx","../src/WetModal.tsx","../src/WetButton.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}","\r\nimport React from 'react';\r\nexport interface WetButtonProps{\r\n disabled:string;\r\n classString: string;\r\n onClick:string;\r\n style:string;\r\n innerText:string;\r\n \r\n \r\n\r\n}\r\nexport function WetButton() {\r\n return (\r\n <button>\r\n CLICK ME!\r\n </button>\r\n )\r\n}\r\n"],"names":["Macallum","_ref","name","React","WetModal","_ref2","title","body","href","className","role","style","color","id","WetButton"],"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;;SCbgBO,SAASA;EACrB,OACIX,gDAES;AAEjB;;;;;;"}
@@ -1,2 +1,2 @@
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))))};
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,"!")},exports.WetButton=function(){return t.createElement("button",null,"CLICK ME!")},exports.WetModal=function(e,l){var a=e.title,o=l.body;return t.createElement(t.Fragment,null,t.createElement("a",{href:"#centred-popup-modal","aria-controls":"centred-popup-modal",className:"wb-lbx lbx-modal",role:"button"},t.createElement("i",{className:"fa-solid fa-circle-info",style:{color:"#148f9f"}})),t.createElement("section",{id:"centred-popup-modal",className:"mfp-hide modal-dialog modal-content overlay-def"},t.createElement("header",{className:"modal-header"},t.createElement("h2",{className:"modal-title"},a)),t.createElement("div",{className:"modal-body"},t.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","../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"}
1
+ {"version":3,"file":"first-test-wet.cjs.production.min.js","sources":["../src/Macallum.tsx","../src/WetButton.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}","\r\nimport React from 'react';\r\nexport interface WetButtonProps{\r\n disabled:string;\r\n classString: string;\r\n onClick:string;\r\n style:string;\r\n innerText:string;\r\n \r\n \r\n\r\n}\r\nexport function WetButton() {\r\n return (\r\n <button>\r\n CLICK ME!\r\n </button>\r\n )\r\n}\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,wCCOtB,OACID,sECLgBD,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"}
@@ -30,5 +30,9 @@ function WetModal(_ref, _ref2) {
30
30
  }, React.createElement("p", null, body))));
31
31
  }
32
32
 
33
- export { Macallum, WetModal };
33
+ function WetButton() {
34
+ return React.createElement("button", null, "CLICK ME!");
35
+ }
36
+
37
+ export { Macallum, WetButton, WetModal };
34
38
  //# sourceMappingURL=first-test-wet.esm.js.map
@@ -1 +1 @@
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;;;;"}
1
+ {"version":3,"file":"first-test-wet.esm.js","sources":["../src/Macallum.tsx","../src/WetModal.tsx","../src/WetButton.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}","\r\nimport React from 'react';\r\nexport interface WetButtonProps{\r\n disabled:string;\r\n classString: string;\r\n onClick:string;\r\n style:string;\r\n innerText:string;\r\n \r\n \r\n\r\n}\r\nexport function WetButton() {\r\n return (\r\n <button>\r\n CLICK ME!\r\n </button>\r\n )\r\n}\r\n"],"names":["Macallum","_ref","name","React","WetModal","_ref2","title","body","href","className","role","style","color","id","WetButton"],"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;;SCbgBO,SAASA;EACrB,OACIX,gDAES;AAEjB;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './Macallum';
2
2
  export * from './WetModal';
3
+ export * from './WetButton';
package/package.json CHANGED
@@ -1 +1 @@
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"}}
1
+ {"version":"3.1.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"}}
package/src/WetButton.tsx CHANGED
@@ -10,7 +10,7 @@ export interface WetButtonProps{
10
10
 
11
11
 
12
12
  }
13
- export function Button() {
13
+ export function WetButton() {
14
14
  return (
15
15
  <button>
16
16
  CLICK ME!
package/src/index.tsx CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './Macallum';
2
2
  export * from './WetModal';
3
+ export * from './WetButton';