@artibet/react-mui-components 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1 -0
- package/dist/esm/index.js +1 -0
- package/index.js +1 -0
- package/package.json +51 -0
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@mui/material");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(require("react"));exports.MyChip=function(i){var t=i.label,r=void 0===t?"":t,d=i.color,a=void 0===d?"white":d,n=i.backgroundColor,u=void 0===n?"#888888":n,l=i.paddingX,p=void 0===l?"10px":l,c=i.paddingY,v=void 0===c?"5px":c,x=i.borderRadius,f=void 0===x?"10px":x,s=i.fontSize,b=void 0===s?"14px":s,g=i.width,y={text:{display:"inline-block",textAlign:"center",backgroundColor:u,paddingX:p,paddingY:v,borderRadius:f,width:void 0===g?"auto":g,color:a,fontSize:b}};return o.default.createElement(e.Typography,{sx:y.text},r)};
|
@@ -0,0 +1 @@
|
|
1
|
+
import{Typography as o}from"@mui/material";import i from"react";var d=function(d){var r=d.label,t=void 0===r?"":r,e=d.color,a=void 0===e?"white":e,n=d.backgroundColor,l=void 0===n?"#888888":n,p=d.paddingX,v=void 0===p?"10px":p,c=d.paddingY,x=void 0===c?"5px":c,u=d.borderRadius,g=void 0===u?"10px":u,m=d.fontSize,b=void 0===m?"14px":m,f=d.width,s={text:{display:"inline-block",textAlign:"center",backgroundColor:l,paddingX:v,paddingY:x,borderRadius:g,width:void 0===f?"auto":f,color:a,fontSize:b}};return i.createElement(o,{sx:s.text},t)};export{d as MyChip};
|
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './src'
|
package/package.json
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
{
|
2
|
+
"name": "@artibet/react-mui-components",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "Various react components build with mui library",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"rollup": "rollup -c --bundleConfigAsCjs"
|
8
|
+
},
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "git+https://github.com/artibet/react-mui-components.git"
|
12
|
+
},
|
13
|
+
"keywords": [
|
14
|
+
"react",
|
15
|
+
"mui",
|
16
|
+
"components"
|
17
|
+
],
|
18
|
+
"author": "Tsakiridis Sotiris",
|
19
|
+
"license": "ISC",
|
20
|
+
"bugs": {
|
21
|
+
"url": "https://github.com/artibet/react-mui-components/issues"
|
22
|
+
},
|
23
|
+
"homepage": "https://github.com/artibet/react-mui-components#readme",
|
24
|
+
"peerDependencies": {
|
25
|
+
"@emotion/react": "^11.11.1",
|
26
|
+
"@emotion/styled": "^11.11.0",
|
27
|
+
"@fontsource/roboto": "^5.0.8",
|
28
|
+
"@mui/icons-material": "^5.14.7",
|
29
|
+
"@mui/material": "^5.14.7",
|
30
|
+
"react": "^18.2.0",
|
31
|
+
"react-dom": "^18.2.0"
|
32
|
+
},
|
33
|
+
"files": [
|
34
|
+
"dist",
|
35
|
+
"index.js"
|
36
|
+
],
|
37
|
+
"devDependencies": {
|
38
|
+
"@babel/core": "^7.22.11",
|
39
|
+
"@babel/plugin-transform-runtime": "^7.22.10",
|
40
|
+
"@babel/preset-env": "^7.22.14",
|
41
|
+
"@babel/preset-react": "^7.22.5",
|
42
|
+
"@babel/preset-typescript": "^7.22.11",
|
43
|
+
"@rollup/plugin-babel": "^6.0.3",
|
44
|
+
"@rollup/plugin-commonjs": "^25.0.4",
|
45
|
+
"@rollup/plugin-node-resolve": "^15.2.1",
|
46
|
+
"@rollup/plugin-typescript": "^11.1.3",
|
47
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
48
|
+
"rollup-plugin-terser": "^7.0.2",
|
49
|
+
"typescript": "^5.2.2"
|
50
|
+
}
|
51
|
+
}
|