sainw há 4 anos atrás
pai
commit
5c1be4ef6a
6 ficheiros alterados com 7 adições e 7 exclusões
  1. 1 1
      dist/index.js
  2. 1 1
      dist/index.js.map
  3. 1 1
      dist/index.modern.js
  4. 1 1
      dist/index.modern.js.map
  5. 2 2
      package.json
  6. 1 1
      src/List/List.js

+ 1 - 1
dist/index.js

@@ -6,7 +6,7 @@ function List(_ref) {
   var groupName = _ref.groupName,
       _ref$members = _ref.members,
       members = _ref$members === void 0 ? [] : _ref$members;
-  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h1", null, "1.0.1"), /*#__PURE__*/React.createElement("h5", null, "Group: ", /*#__PURE__*/React.createElement("em", null, groupName)), /*#__PURE__*/React.createElement("ul", null, /*#__PURE__*/React.createElement("p", null, "Members"), members.map(function (member) {
+  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h1", null, "1.0.2"), /*#__PURE__*/React.createElement("h5", null, "Group: ", /*#__PURE__*/React.createElement("em", null, groupName)), /*#__PURE__*/React.createElement("ul", null, /*#__PURE__*/React.createElement("p", null, "Members"), members.map(function (member) {
     return /*#__PURE__*/React.createElement("li", {
       key: member
     }, member);

+ 1 - 1
dist/index.js.map

@@ -1 +1 @@
-{"version":3,"file":"index.js","sources":["../src/List/List.js"],"sourcesContent":["import React from 'react'\nimport styles from '../styles.module.css'\n\nfunction List({ groupName, members = [] }) {\n    return (\n      <div>\n        <h1>1.0.1</h1>\n        <h5>\n          Group: <em>{groupName}</em>\n        </h5>\n        <ul>\n          <p>Members</p>\n          {members.map((member) => (\n            <li key={member}>{member}</li>\n          ))}\n        </ul>\n      </div>\n    )\n  }\n  \n  export default List;"],"names":["List","groupName","members","map","member"],"mappings":";;;;AAGA,SAASA,IAAT,OAA2C;AAAA,MAA3BC,SAA2B,QAA3BA,SAA2B;AAAA,0BAAhBC,OAAgB;AAAA,MAAhBA,OAAgB,6BAAN,EAAM;AACvC,sBACE,8CACE,wCADF,eAEE,wDACS,gCAAKD,SAAL,CADT,CAFF,eAKE,6CACE,yCADF,EAEGC,OAAO,CAACC,GAAR,CAAY,UAACC,MAAD;AAAA,wBACX;AAAI,MAAA,GAAG,EAAEA;AAAT,OAAkBA,MAAlB,CADW;AAAA,GAAZ,CAFH,CALF,CADF;AAcD;;;;"}
+{"version":3,"file":"index.js","sources":["../src/List/List.js"],"sourcesContent":["import React from 'react'\nimport styles from '../styles.module.css'\n\nfunction List({ groupName, members = [] }) {\n    return (\n      <div>\n        <h1>1.0.2</h1>\n        <h5>\n          Group: <em>{groupName}</em>\n        </h5>\n        <ul>\n          <p>Members</p>\n          {members.map((member) => (\n            <li key={member}>{member}</li>\n          ))}\n        </ul>\n      </div>\n    )\n  }\n  \n  export default List;"],"names":["List","groupName","members","map","member"],"mappings":";;;;AAGA,SAASA,IAAT,OAA2C;AAAA,MAA3BC,SAA2B,QAA3BA,SAA2B;AAAA,0BAAhBC,OAAgB;AAAA,MAAhBA,OAAgB,6BAAN,EAAM;AACvC,sBACE,8CACE,wCADF,eAEE,wDACS,gCAAKD,SAAL,CADT,CAFF,eAKE,6CACE,yCADF,EAEGC,OAAO,CAACC,GAAR,CAAY,UAACC,MAAD;AAAA,wBACX;AAAI,MAAA,GAAG,EAAEA;AAAT,OAAkBA,MAAlB,CADW;AAAA,GAAZ,CAFH,CALF,CADF;AAcD;;;;"}

+ 1 - 1
dist/index.modern.js

@@ -4,7 +4,7 @@ function List(_ref) {
   var groupName = _ref.groupName,
       _ref$members = _ref.members,
       members = _ref$members === void 0 ? [] : _ref$members;
-  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h1", null, "1.0.1"), /*#__PURE__*/React.createElement("h5", null, "Group: ", /*#__PURE__*/React.createElement("em", null, groupName)), /*#__PURE__*/React.createElement("ul", null, /*#__PURE__*/React.createElement("p", null, "Members"), members.map(function (member) {
+  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h1", null, "1.0.2"), /*#__PURE__*/React.createElement("h5", null, "Group: ", /*#__PURE__*/React.createElement("em", null, groupName)), /*#__PURE__*/React.createElement("ul", null, /*#__PURE__*/React.createElement("p", null, "Members"), members.map(function (member) {
     return /*#__PURE__*/React.createElement("li", {
       key: member
     }, member);

+ 1 - 1
dist/index.modern.js.map

@@ -1 +1 @@
-{"version":3,"file":"index.modern.js","sources":["../src/List/List.js"],"sourcesContent":["import React from 'react'\nimport styles from '../styles.module.css'\n\nfunction List({ groupName, members = [] }) {\n    return (\n      <div>\n        <h1>1.0.1</h1>\n        <h5>\n          Group: <em>{groupName}</em>\n        </h5>\n        <ul>\n          <p>Members</p>\n          {members.map((member) => (\n            <li key={member}>{member}</li>\n          ))}\n        </ul>\n      </div>\n    )\n  }\n  \n  export default List;"],"names":["List","groupName","members","map","member"],"mappings":";;AAGA,SAASA,IAAT,OAA2C;AAAA,MAA3BC,SAA2B,QAA3BA,SAA2B;AAAA,0BAAhBC,OAAgB;AAAA,MAAhBA,OAAgB,6BAAN,EAAM;AACvC,sBACE,8CACE,wCADF,eAEE,wDACS,gCAAKD,SAAL,CADT,CAFF,eAKE,6CACE,yCADF,EAEGC,OAAO,CAACC,GAAR,CAAY,UAACC,MAAD;AAAA,wBACX;AAAI,MAAA,GAAG,EAAEA;AAAT,OAAkBA,MAAlB,CADW;AAAA,GAAZ,CAFH,CALF,CADF;AAcD;;;;"}
+{"version":3,"file":"index.modern.js","sources":["../src/List/List.js"],"sourcesContent":["import React from 'react'\nimport styles from '../styles.module.css'\n\nfunction List({ groupName, members = [] }) {\n    return (\n      <div>\n        <h1>1.0.2</h1>\n        <h5>\n          Group: <em>{groupName}</em>\n        </h5>\n        <ul>\n          <p>Members</p>\n          {members.map((member) => (\n            <li key={member}>{member}</li>\n          ))}\n        </ul>\n      </div>\n    )\n  }\n  \n  export default List;"],"names":["List","groupName","members","map","member"],"mappings":";;AAGA,SAASA,IAAT,OAA2C;AAAA,MAA3BC,SAA2B,QAA3BA,SAA2B;AAAA,0BAAhBC,OAAgB;AAAA,MAAhBA,OAAgB,6BAAN,EAAM;AACvC,sBACE,8CACE,wCADF,eAEE,wDACS,gCAAKD,SAAL,CADT,CAFF,eAKE,6CACE,yCADF,EAEGC,OAAO,CAACC,GAAR,CAAY,UAACC,MAAD;AAAA,wBACX;AAAI,MAAA,GAAG,EAAEA;AAAT,OAAkBA,MAAlB,CADW;AAAA,GAAZ,CAFH,CALF,CADF;AAcD;;;;"}

+ 2 - 2
package.json

@@ -1,6 +1,6 @@
 {
-  "name": "mokkon-reactjs",
-  "version": "1.0.1",
+  "name": "@mokkon/reactjs",
+  "version": "1.0.2",
   "description": "Made with create-react-library",
   "author": "",
   "license": "MIT",

+ 1 - 1
src/List/List.js

@@ -4,7 +4,7 @@ import styles from '../styles.module.css'
 function List({ groupName, members = [] }) {
     return (
       <div>
-        <h1>1.0.1</h1>
+        <h1>1.0.2</h1>
         <h5>
           Group: <em>{groupName}</em>
         </h5>