mevebu 0.4.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/mevebu/index.html CHANGED
@@ -4,10 +4,9 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>mevebu, small tools that run in your browser</title>
7
- <meta name="description" content="15 small tools that run in your browser. Passwords, QR codes, random draws, text and encoding. No accounts, no tracking." />
7
+ <meta name="description" content="Small tools that run in your browser. Passwords, QR codes, random draws, text, dates and encoding. No accounts, no uploads, no tracking." />
8
8
  <link rel="icon" type="image/png" href="./icon.png" />
9
- <link rel="stylesheet" href="./app/mevebu.css" />
10
- <link rel="stylesheet" href="./libs/css/tools.css" />
9
+ <link rel="stylesheet" href="./app/tailwind.css" />
11
10
  <script type="module">
12
11
  import { getTheme } from "./libs/js/core.js";
13
12
  document.documentElement.dataset.theme = getTheme();
@@ -593,7 +593,7 @@ export function blank(iconName, text) {
593
593
  // ---------- version ----------
594
594
 
595
595
  // Kept in one place. The CLI reads the same value from package.json.
596
- export const VERSION = "0.4.0";
596
+ export const VERSION = "1.1.0";
597
597
  export const PACKAGE_NAME = "mevebu";
598
598
  export const REPO_SLUG = "mevebu/mevebu";
599
599
 
@@ -6,7 +6,7 @@ const ALGORITHMS = ["SHA-1", "SHA-256", "SHA-384", "SHA-512"];
6
6
  export function mount(slot) {
7
7
  const source = textArea({ value: "mevebu", rows: 5, "aria-label": "Text to hash", placeholder: "Type or paste text" });
8
8
  const result = output();
9
- const digest = el("p", { class: "note" });
9
+ const digest = el("p", { class: "mvb-note" });
10
10
  const error = notice("error");
11
11
 
12
12
  let algorithm = "SHA-256";
@@ -41,11 +41,11 @@ export function mount(slot) {
41
41
  const copy = copyButton(() => result.textContent, "Copy hash");
42
42
 
43
43
  const card = toolcard({
44
- head: actions(copy),
45
44
  body: bench(
46
45
  stack(panel("Algorithm", chips), panel("Text", source)),
47
46
  stack(panel("Hash", result), digest, error)
48
47
  ),
48
+ foot: actions(copy),
49
49
  });
50
50
  slot.append(card.node);
51
51
  run();
@@ -8,7 +8,7 @@ export function mount(slot) {
8
8
  const listField = textArea({ value: saved.entries ?? "", rows: 8, "aria-label": "Entries, one per line", placeholder: "One entry per line" });
9
9
  const countField = numberInput({ value: saved.winners ?? "1", min: "1", max: "500", "aria-label": "How many to draw" });
10
10
  const uniqueBox = checkbox("No repeats", { checked: saved.unique !== false });
11
- const notify = el("p", { class: "note" });
11
+ const notify = el("p", { class: "mvb-note" });
12
12
 
13
13
  const drawButton = button("Draw", { icon: "play", kind: "fill" });
14
14
  const copyButton = button("Copy", { icon: "copy" });
@@ -21,7 +21,7 @@ function loadJsQR() {
21
21
  export function mount(slot) {
22
22
  const video = el("video", { class: "mvb-qrview", playsinline: true, muted: true, hidden: true });
23
23
  const fileField = el("input", { type: "file", accept: "image/*", hidden: true, "aria-label": "Image file" });
24
- const status = el("p", { class: "note" });
24
+ const status = el("p", { class: "mvb-note" });
25
25
  const found = output({ rows: 3 });
26
26
  const error = notice("error");
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mevebu",
3
- "version": "0.4.0",
3
+ "version": "1.1.0",
4
4
  "description": "Small tools that run in your browser. No accounts, no uploads, no tracking.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,6 +14,8 @@
14
14
  "LICENSE"
15
15
  ],
16
16
  "scripts": {
17
+ "css": "tailwindcss -i mevebu/app/tailwind.src.css -o mevebu/app/tailwind.css",
18
+ "css:watch": "tailwindcss -i mevebu/app/tailwind.src.css -o mevebu/app/tailwind.css --watch",
17
19
  "icons": "node scripts/vendor-icons.mjs",
18
20
  "dev": "node bin/mevebu.js",
19
21
  "start": "node bin/mevebu.js",
@@ -42,8 +44,10 @@
42
44
  "node": ">=18"
43
45
  },
44
46
  "devDependencies": {
47
+ "@tailwindcss/cli": "^4.3.3",
45
48
  "jsqr": "^1.4.0",
46
49
  "lucide": "^1.57.0",
47
- "qrcode-generator": "^2.0.4"
50
+ "qrcode-generator": "^2.0.4",
51
+ "tailwindcss": "^4.3.3"
48
52
  }
49
53
  }