@badcss/core
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -0,1 +1,3 @@ | ||
import { generateUUID } from "../utils/generateUUID.js"; | ||
export function AlertComponent(tag) { | ||
@@ -63,14 +65,2 @@ // Replace tag with a button | ||
/* Helper function to generate a UUID (Universally Unique Identifier) */ | ||
function generateUUID() { | ||
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace( | ||
/[xy]/g, | ||
function (c) { | ||
var r = (Math.random() * 16) | 0, | ||
v = c === "x" ? r : (r & 0x3) | 0x8; | ||
return v.toString(16); | ||
} | ||
); | ||
} | ||
// Add Basic styles | ||
@@ -77,0 +67,0 @@ const styles = document.createElement("style"); |
@@ -0,1 +1,3 @@ | ||
import { generateUUID } from "../utils/generateUUID.js"; | ||
export function ButtonComponent(tag) { | ||
@@ -58,14 +60,2 @@ // Replace tag with a button | ||
/* Helper function to generate a UUID (Universally Unique Identifier) */ | ||
function generateUUID() { | ||
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace( | ||
/[xy]/g, | ||
function (c) { | ||
var r = (Math.random() * 16) | 0, | ||
v = c === "x" ? r : (r & 0x3) | 0x8; | ||
return v.toString(16); | ||
} | ||
); | ||
} | ||
// Add Basic styles | ||
@@ -72,0 +62,0 @@ const styles = document.createElement("style"); |
{ | ||
"name": "@badcss/core", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "A lightweight and customizable framework designed to simplify web development and enhance the styling capabilities of your projects.", | ||
"main": "index.js", | ||
"scripts": { | ||
"publish": "npm publish", | ||
"publish": "pnpm build && npm publish --access public", | ||
"build": "node scripts/build.js", | ||
"docs:dev": "vitepress dev docs", | ||
@@ -20,4 +21,5 @@ "docs:build": "vitepress build docs", | ||
"type": "git", | ||
"url": "https://github.com/lassejlv/themostbadd-css-framework.git" | ||
"url": "https://github.com/lassejlv/badcss.git" | ||
}, | ||
"homepage": "https://badcss.dev", | ||
"author": "Lasse Vestergaard", | ||
@@ -29,3 +31,7 @@ "license": "MIT", | ||
"vue": "^3.3.4" | ||
}, | ||
"dependencies": { | ||
"esbuild": "0.18.17", | ||
"globby": "11.0.4" | ||
} | ||
} |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
30161
17
639
2
3
+ Addedesbuild@0.18.17
+ Addedglobby@11.0.4
+ Added@esbuild/android-arm@0.18.17(transitive)
+ Added@esbuild/android-arm64@0.18.17(transitive)
+ Added@esbuild/android-x64@0.18.17(transitive)
+ Added@esbuild/darwin-arm64@0.18.17(transitive)
+ Added@esbuild/darwin-x64@0.18.17(transitive)
+ Added@esbuild/freebsd-arm64@0.18.17(transitive)
+ Added@esbuild/freebsd-x64@0.18.17(transitive)
+ Added@esbuild/linux-arm@0.18.17(transitive)
+ Added@esbuild/linux-arm64@0.18.17(transitive)
+ Added@esbuild/linux-ia32@0.18.17(transitive)
+ Added@esbuild/linux-loong64@0.18.17(transitive)
+ Added@esbuild/linux-mips64el@0.18.17(transitive)
+ Added@esbuild/linux-ppc64@0.18.17(transitive)
+ Added@esbuild/linux-riscv64@0.18.17(transitive)
+ Added@esbuild/linux-s390x@0.18.17(transitive)
+ Added@esbuild/linux-x64@0.18.17(transitive)
+ Added@esbuild/netbsd-x64@0.18.17(transitive)
+ Added@esbuild/openbsd-x64@0.18.17(transitive)
+ Added@esbuild/sunos-x64@0.18.17(transitive)
+ Added@esbuild/win32-arm64@0.18.17(transitive)
+ Added@esbuild/win32-ia32@0.18.17(transitive)
+ Added@esbuild/win32-x64@0.18.17(transitive)
+ Added@nodelib/fs.scandir@2.1.5(transitive)
+ Added@nodelib/fs.stat@2.0.5(transitive)
+ Added@nodelib/fs.walk@1.2.8(transitive)
+ Addedarray-union@2.1.0(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addeddir-glob@3.0.1(transitive)
+ Addedesbuild@0.18.17(transitive)
+ Addedfast-glob@3.3.3(transitive)
+ Addedfastq@1.18.0(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedglob-parent@5.1.2(transitive)
+ Addedglobby@11.0.4(transitive)
+ Addedignore@5.3.2(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedmerge2@1.4.1(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addedpath-type@4.0.0(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedqueue-microtask@1.2.3(transitive)
+ Addedreusify@1.0.4(transitive)
+ Addedrun-parallel@1.2.0(transitive)
+ Addedslash@3.0.0(transitive)
+ Addedto-regex-range@5.0.1(transitive)