@myhelix/ui
Advanced tools
Comparing version 0.1.0 to 0.1.1
import React from 'react'; | ||
const Button = ({ label }) => { | ||
return React.createElement("button", null, label); | ||
return React.createElement("button", { className: "text-3xl font-bold underline" }, label); | ||
}; | ||
@@ -6,0 +6,0 @@ |
@@ -0,2 +1,4 @@ | ||
import "../styles/tailwind.css"; | ||
import Button from "./atoms/Button"; | ||
export { Button }; | ||
import Badge from "./atoms/Badge"; | ||
export { Button, Badge }; |
@@ -0,2 +1,4 @@ | ||
import './packages/ui/styles/tailwind.css.js'; | ||
export { default as Button } from './atoms/Button/Button.js'; | ||
export { default as Badge } from './atoms/Badge/Badge.js'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@myhelix/ui", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"type": "module", | ||
@@ -16,6 +16,12 @@ "main": "lib/index.js", | ||
"@types/react": "^18.2.15", | ||
"autoprefixer": "^10.4.14", | ||
"postcss": "^8.4.27", | ||
"prettier": "^3.0.0", | ||
"react": "^18.2.0", | ||
"rollup": "^3.26.3", | ||
"rollup-plugin-typescript2": "^0.35.0" | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"rollup-plugin-tailwindcss": "^1.0.0", | ||
"rollup-plugin-typescript2": "^0.35.0", | ||
"tailwind": "^4.0.0", | ||
"tailwindcss": "^3.3.3" | ||
}, | ||
@@ -25,3 +31,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "cbb728242ee595a777a477ba61322704dc883393" | ||
"gitHead": "20cd7854016d98eeb0d2910eee712c503a8d0522" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13958
16
132
11
2