diff --git a/README.md b/README.md index 7ab66f3..99348f1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# ui-rollingcode +# ui-rc-components ## Usage ```ts -import { ExampleComponent } from 'ui-rollingcode'; +import { ExampleComponent } from 'ui-ui-rc-components'; ``` ```tsx diff --git a/dist/index.js b/dist/index.js index 6b5bf12..eaacda4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2,7 +2,7 @@ 'use strict' if (process.env.NODE_ENV === 'production') { - module.exports = require('./ui-rollingcode.cjs.production.min.js') + module.exports = require('./ui-rc-components.cjs.production.min.js') } else { - module.exports = require('./ui-rollingcode.cjs.development.js') + module.exports = require('./ui-rc-components.cjs.development.js') } diff --git a/dist/ui-rollingcode.cjs.development.js b/dist/ui-rollingcode.cjs.development.js deleted file mode 100644 index 4267104..0000000 --- a/dist/ui-rollingcode.cjs.development.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var React = _interopDefault(require('react')); - -var ExampleComponent = function ExampleComponent(_ref) { - var _ref$className = _ref.className, - className = _ref$className === void 0 ? '' : _ref$className, - style = _ref.style, - label = _ref.label, - id = _ref.id; - return React.createElement("div", { - id: id, - className: "" + className, - style: style - }, label); -}; - -exports.ExampleComponent = ExampleComponent; -//# sourceMappingURL=ui-rollingcode.cjs.development.js.map diff --git a/dist/ui-rollingcode.cjs.development.js.map b/dist/ui-rollingcode.cjs.development.js.map deleted file mode 100644 index facd46c..0000000 --- a/dist/ui-rollingcode.cjs.development.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ui-rollingcode.cjs.development.js","sources":["../src/components/ExampleComponent.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nexport interface ExampleComponentProps {\n label: string\n id?: string\n className?: string\n style?: React.CSSProperties\n}\n\nexport const ExampleComponent: FC = ({\n className = '', style, label, id\n}) => (\n \n {label}\n \n)\n"],"names":["ExampleComponent","className","style","label","id","React"],"mappings":";;;;;;;;IASaA,gBAAgB,GAA8B,SAA9CA,gBAAgB;EAAA,0BAC3BC,SAAS;IAATA,SAAS,+BAAG,EAAE;IAAEC,KAAK,QAALA,KAAK;IAAEC,KAAK,QAALA,KAAK;IAAEC,EAAE,QAAFA,EAAE;EAAA,OAEhCC;IACED,EAAE,EAAEA,EAAE;IACNH,SAAS,OAAKA,SAAW;IACzBC,KAAK,EAAEA;KAENC,KAAK,CACF;AAAA;;;;"} \ No newline at end of file diff --git a/dist/ui-rollingcode.cjs.production.min.js b/dist/ui-rollingcode.cjs.production.min.js deleted file mode 100644 index 6e74de8..0000000 --- a/dist/ui-rollingcode.cjs.production.min.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e;exports.ExampleComponent=function(e){var a=e.className;return t.createElement("div",{id:e.id,className:""+(void 0===a?"":a),style:e.style},e.label)}; -//# sourceMappingURL=ui-rollingcode.cjs.production.min.js.map diff --git a/dist/ui-rollingcode.cjs.production.min.js.map b/dist/ui-rollingcode.cjs.production.min.js.map deleted file mode 100644 index c1d234f..0000000 --- a/dist/ui-rollingcode.cjs.production.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ui-rollingcode.cjs.production.min.js","sources":["../src/components/ExampleComponent.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nexport interface ExampleComponentProps {\n label: string\n id?: string\n className?: string\n style?: React.CSSProperties\n}\n\nexport const ExampleComponent: FC = ({\n className = '', style, label, id\n}) => (\n \n {label}\n \n)\n"],"names":["className","React","id","style","label"],"mappings":"yKAS2D,YAA9B,QAC3BA,UAAgC,OAEhCC,uBACEC,KAH4BA,GAI5BF,yBAJU,MAKVG,QALcA,SAAOC"} \ No newline at end of file diff --git a/dist/ui-rollingcode.esm.js b/dist/ui-rollingcode.esm.js deleted file mode 100644 index ee39aeb..0000000 --- a/dist/ui-rollingcode.esm.js +++ /dev/null @@ -1,17 +0,0 @@ -import React from 'react'; - -var ExampleComponent = function ExampleComponent(_ref) { - var _ref$className = _ref.className, - className = _ref$className === void 0 ? '' : _ref$className, - style = _ref.style, - label = _ref.label, - id = _ref.id; - return React.createElement("div", { - id: id, - className: "" + className, - style: style - }, label); -}; - -export { ExampleComponent }; -//# sourceMappingURL=ui-rollingcode.esm.js.map diff --git a/dist/ui-rollingcode.esm.js.map b/dist/ui-rollingcode.esm.js.map deleted file mode 100644 index 1c62bf2..0000000 --- a/dist/ui-rollingcode.esm.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ui-rollingcode.esm.js","sources":["../src/components/ExampleComponent.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nexport interface ExampleComponentProps {\n label: string\n id?: string\n className?: string\n style?: React.CSSProperties\n}\n\nexport const ExampleComponent: FC = ({\n className = '', style, label, id\n}) => (\n \n {label}\n \n)\n"],"names":["ExampleComponent","className","style","label","id","React"],"mappings":";;IASaA,gBAAgB,GAA8B,SAA9CA,gBAAgB;EAAA,0BAC3BC,SAAS;IAATA,SAAS,+BAAG,EAAE;IAAEC,KAAK,QAALA,KAAK;IAAEC,KAAK,QAALA,KAAK;IAAEC,EAAE,QAAFA,EAAE;EAAA,OAEhCC;IACED,EAAE,EAAEA,EAAE;IACNH,SAAS,OAAKA,SAAW;IACzBC,KAAK,EAAEA;KAENC,KAAK,CACF;AAAA;;;;"} \ No newline at end of file diff --git a/package.json b/package.json index c57ea8f..ac180f2 100644 --- a/package.json +++ b/package.json @@ -43,16 +43,16 @@ "singleQuote": true, "trailingComma": "es5" }, - "name": "ui-rollingcode", + "name": "ui-rc-components", "author": "castromaciellr", - "module": "dist/ui-rollingcode.esm.js", + "module": "dist/ui-rc-components.esm.js", "size-limit": [ { - "path": "dist/ui-rollingcode.cjs.production.min.js", + "path": "dist/ui-rc-components.cjs.production.min.js", "limit": "10 KB" }, { - "path": "dist/ui-rollingcode.esm.js", + "path": "dist/ui-rc-components.esm.js", "limit": "10 KB" } ],