mevebu 1.7.2 → 1.8.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.
@@ -211,12 +211,18 @@
211
211
  .inset-0 {
212
212
  inset: 0px;
213
213
  }
214
+ .end-1 {
215
+ inset-inline-end: calc(var(--spacing) * 1);
216
+ }
214
217
  .end-3 {
215
218
  inset-inline-end: calc(var(--spacing) * 3);
216
219
  }
217
220
  .top-0\.5 {
218
221
  top: calc(var(--spacing) * 0.5);
219
222
  }
223
+ .top-1 {
224
+ top: var(--spacing);
225
+ }
220
226
  .top-3 {
221
227
  top: calc(var(--spacing) * 3);
222
228
  }
@@ -283,6 +289,9 @@
283
289
  .me-2 {
284
290
  margin-inline-end: calc(var(--spacing) * 2);
285
291
  }
292
+ .mt-0\.5 {
293
+ margin-top: calc(var(--spacing) * 0.5);
294
+ }
286
295
  .mt-1 {
287
296
  margin-top: var(--spacing);
288
297
  }
@@ -301,6 +310,9 @@
301
310
  .mt-3\.5 {
302
311
  margin-top: calc(var(--spacing) * 3.5);
303
312
  }
313
+ .mt-4 {
314
+ margin-top: calc(var(--spacing) * 4);
315
+ }
304
316
  .mt-5 {
305
317
  margin-top: calc(var(--spacing) * 5);
306
318
  }
@@ -367,10 +379,17 @@
367
379
  .table {
368
380
  display: table;
369
381
  }
382
+ .aspect-\[4\/3\] {
383
+ aspect-ratio: 4/3;
384
+ }
370
385
  .size-4 {
371
386
  width: calc(var(--spacing) * 4);
372
387
  height: calc(var(--spacing) * 4);
373
388
  }
389
+ .size-6 {
390
+ width: calc(var(--spacing) * 6);
391
+ height: calc(var(--spacing) * 6);
392
+ }
374
393
  .size-8 {
375
394
  width: calc(var(--spacing) * 8);
376
395
  height: calc(var(--spacing) * 8);
@@ -466,6 +485,9 @@
466
485
  .max-h-\[380px\] {
467
486
  max-height: 380px;
468
487
  }
488
+ .max-h-\[calc\(100dvh-40px\)\] {
489
+ max-height: calc(100dvh - 40px);
490
+ }
469
491
  .max-h-\[min\(60vh\,360px\)\] {
470
492
  max-height: min(60vh, 360px);
471
493
  }
@@ -520,6 +542,9 @@
520
542
  .w-\[min\(480px\,100\%\)\] {
521
543
  width: min(480px, 100%);
522
544
  }
545
+ .w-\[min\(560px\,100\%\)\] {
546
+ width: min(560px, 100%);
547
+ }
523
548
  .w-\[min\(640px\,100\%\)\] {
524
549
  width: min(640px, 100%);
525
550
  }
@@ -619,6 +644,9 @@
619
644
  .\[grid-template-columns\:minmax\(90px\,34\%\)_minmax\(0\,1fr\)\] {
620
645
  grid-template-columns: minmax(90px,34%) minmax(0,1fr);
621
646
  }
647
+ .\[grid-template-columns\:repeat\(auto-fill\,minmax\(160px\,1fr\)\)\] {
648
+ grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
649
+ }
622
650
  .\[grid-template-columns\:repeat\(auto-fit\,minmax\(96px\,1fr\)\)\] {
623
651
  grid-template-columns: repeat(auto-fit,minmax(96px,1fr));
624
652
  }
@@ -658,9 +686,6 @@
658
686
  .items-start {
659
687
  align-items: flex-start;
660
688
  }
661
- .items-stretch {
662
- align-items: stretch;
663
- }
664
689
  .justify-between {
665
690
  justify-content: space-between;
666
691
  }
@@ -736,9 +761,6 @@
736
761
  .gap-y-3 {
737
762
  row-gap: calc(var(--spacing) * 3);
738
763
  }
739
- .self-start {
740
- align-self: flex-start;
741
- }
742
764
  .truncate {
743
765
  overflow: hidden;
744
766
  text-overflow: ellipsis;
@@ -869,6 +891,12 @@
869
891
  .bg-deck-2 {
870
892
  background-color: var(--deck-2);
871
893
  }
894
+ .bg-deck\/90 {
895
+ background-color: var(--deck);
896
+ @supports (color: color-mix(in lab, red, red)) {
897
+ background-color: color-mix(in oklab, var(--deck) 90%, transparent);
898
+ }
899
+ }
872
900
  .bg-ink {
873
901
  background-color: var(--ink);
874
902
  }
@@ -911,6 +939,9 @@
911
939
  .bg-no-repeat {
912
940
  background-repeat: no-repeat;
913
941
  }
942
+ .object-contain {
943
+ object-fit: contain;
944
+ }
914
945
  .p-0 {
915
946
  padding: 0px;
916
947
  }
@@ -926,6 +957,9 @@
926
957
  .p-2 {
927
958
  padding: calc(var(--spacing) * 2);
928
959
  }
960
+ .p-3\.5 {
961
+ padding: calc(var(--spacing) * 3.5);
962
+ }
929
963
  .p-5 {
930
964
  padding: calc(var(--spacing) * 5);
931
965
  }
@@ -1276,6 +1310,9 @@
1276
1310
  .opacity-0 {
1277
1311
  opacity: 0%;
1278
1312
  }
1313
+ .opacity-50 {
1314
+ opacity: 50%;
1315
+ }
1279
1316
  .shadow {
1280
1317
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
1281
1318
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -1431,6 +1468,9 @@
1431
1468
  border-color: var(--jade);
1432
1469
  }
1433
1470
  @media (hover: hover) {
1471
+ .hover\:border-danger:hover {
1472
+ border-color: var(--danger);
1473
+ }
1434
1474
  .hover\:border-danger-deep:hover {
1435
1475
  border-color: var(--danger-deep);
1436
1476
  }
@@ -1466,6 +1506,9 @@
1466
1506
  .hover\:bg-jade-soft:hover {
1467
1507
  background-color: var(--jade-soft);
1468
1508
  }
1509
+ .hover\:text-danger:hover {
1510
+ color: var(--danger);
1511
+ }
1469
1512
  .hover\:text-ink:hover {
1470
1513
  color: var(--ink);
1471
1514
  }
@@ -1496,6 +1539,22 @@
1496
1539
  .focus-visible\:border-jade:focus-visible {
1497
1540
  border-color: var(--jade);
1498
1541
  }
1542
+ .focus-visible\:outline-2:focus-visible {
1543
+ outline-style: var(--tw-outline-style);
1544
+ outline-width: 2px;
1545
+ }
1546
+ .focus-visible\:outline-offset-1:focus-visible {
1547
+ outline-offset: 1px;
1548
+ }
1549
+ .focus-visible\:outline-offset-2:focus-visible {
1550
+ outline-offset: 2px;
1551
+ }
1552
+ .focus-visible\:outline-danger:focus-visible {
1553
+ outline-color: var(--danger);
1554
+ }
1555
+ .focus-visible\:outline-jade:focus-visible {
1556
+ outline-color: var(--jade);
1557
+ }
1499
1558
  .active\:scale-\[0\.88\]:active {
1500
1559
  scale: 0.88;
1501
1560
  }
@@ -750,7 +750,7 @@ export function blank(iconName, text) {
750
750
  // ---------- version ----------
751
751
 
752
752
  // Kept in one place. The CLI reads the same value from package.json.
753
- export const VERSION = "1.7.2";
753
+ export const VERSION = "1.8.0";
754
754
  export const PACKAGE_NAME = "mevebu";
755
755
  export const REPO_SLUG = "mevebu/mevebu";
756
756
 
@@ -1,5 +1,5 @@
1
1
  // GENERATED FILE, DO NOT EDIT.
2
- // Source: lucide v1.59.0 (ISC), icons/169 names from scripts/vendor-icons.mjs
2
+ // Source: lucide v1.59.0 (ISC), icons/174 names from scripts/vendor-icons.mjs
3
3
  // Regenerate with: npm run icons
4
4
 
5
5
  const D = {
@@ -13,6 +13,7 @@ const D = {
13
13
  "coffee": [ ["path", { d: "M10 2v2" }], ["path", { d: "M14 2v2" }], [ "path", { d: "M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1" } ], ["path", { d: "M6 2v2" }] ],
14
14
  "external-link": [ ["path", { d: "M15 3h6v6" }], ["path", { d: "M10 14 21 3" }], ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }] ],
15
15
  "corner-down-left": [ ["path", { d: "M20 4v7a4 4 0 0 1-4 4H4" }], ["path", { d: "m9 10-5 5 5 5" }] ],
16
+ "flag": [ [ "path", { d: "M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528" } ] ],
16
17
  "info": [ ["circle", { cx: "12", cy: "12", r: "10" }], ["path", { d: "M12 16v-4" }], ["path", { d: "M12 8h.01" }] ],
17
18
  "circle-question-mark": [ ["circle", { cx: "12", cy: "12", r: "10" }], ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }], ["path", { d: "M12 17h.01" }] ],
18
19
  "circle-arrow-up": [ ["circle", { cx: "12", cy: "12", r: "10" }], ["path", { d: "m16 12-4-4-4 4" }], ["path", { d: "M12 16V8" }] ],
@@ -58,6 +59,9 @@ const D = {
58
59
  "loader": [ ["path", { d: "M12 2v4" }], ["path", { d: "m16.2 7.8 2.9-2.9" }], ["path", { d: "M18 12h4" }], ["path", { d: "m16.2 16.2 2.9 2.9" }], ["path", { d: "M12 18v4" }], ["path", { d: "m4.9 19.1 2.9-2.9" }], ["path", { d: "M2 12h4" }], ["path", { d: "m4.9 4.9 2.9 2.9" }] ],
59
60
  "play": [ [ "path", { d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" } ] ],
60
61
  "lock": [ ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2" }], ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4" }] ],
62
+ "wrench": [ [ "path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" } ] ],
63
+ "gauge": [ ["path", { d: "m12 14 4-4" }], ["path", { d: "M3.34 19a10 10 0 1 1 17.32 0" }] ],
64
+ "monitor": [ ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2" }], ["line", { x1: "8", x2: "16", y1: "21", y2: "21" }], ["line", { x1: "12", x2: "12", y1: "17", y2: "21" }] ],
61
65
  "calendar-days": [ ["path", { d: "M8 2v3" }], ["path", { d: "M16 2v3" }], ["rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }], ["path", { d: "M3 9h18" }], ["path", { d: "M8 13h.01" }], ["path", { d: "M12 13h.01" }], ["path", { d: "M16 13h.01" }], ["path", { d: "M8 17h.01" }], ["path", { d: "M12 17h.01" }], ["path", { d: "M16 17h.01" }] ],
62
66
  "graduation-cap": [ [ "path", { d: "M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z" } ], ["path", { d: "M22 10v6" }], ["path", { d: "M6 12.5V16a6 3 0 0 0 12 0v-3.5" }] ],
63
67
  "calculator": [ ["rect", { width: "16", height: "20", x: "4", y: "2", rx: "2" }], ["line", { x1: "8", x2: "16", y1: "6", y2: "6" }], ["line", { x1: "16", x2: "16", y1: "14", y2: "18" }], ["path", { d: "M16 10h.01" }], ["path", { d: "M12 10h.01" }], ["path", { d: "M8 10h.01" }], ["path", { d: "M12 14h.01" }], ["path", { d: "M8 14h.01" }], ["path", { d: "M12 18h.01" }], ["path", { d: "M8 18h.01" }] ],
@@ -172,6 +176,7 @@ const D = {
172
176
  "clipboard-check": [ ["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1" }], ["path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }], ["path", { d: "m9 14 2 2 4-4" }] ],
173
177
  "circle-check-big": [ ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335" }], ["path", { d: "m9 11 3 3L22 4" }] ],
174
178
  "square": [["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }]],
179
+ "chevron-right": [["path", { d: "m9 18 6-6-6-6" }]],
175
180
  };
176
181
 
177
182
  const SVG_NS = "http://www.w3.org/2000/svg";
@@ -357,6 +357,25 @@ export const TOOLS = [
357
357
  keywords: "uppercase lowercase camel snake kebab pascal title",
358
358
  load: () => import("./tools/case-converter.js"),
359
359
  },
360
+ {
361
+ id: "image-converter",
362
+ category: "convert",
363
+ name: "Image Converter",
364
+ icon: "image-up",
365
+ note: "Convert images to another format, in batch.",
366
+ about: "JPEG, PNG, WebP, TIFF and BMP, written on this device.",
367
+ tutorial: {
368
+ intro: "Drop one image or a whole set, pick the format, and every file converts on this device.",
369
+ steps: [
370
+ "Drop images on the box or choose files. Add as many as you like.",
371
+ "Pick the format. Quality applies to JPEG and WebP; PNG, TIFF and BMP are lossless.",
372
+ "Drag the quality slider or type a number. Every file updates as you change it.",
373
+ "Save one file, or Download all for a ZIP. The x on a thumbnail removes that image.",
374
+ ],
375
+ },
376
+ keywords: "convert jpeg jpg png webp tiff bmp image batch compress quality",
377
+ load: () => import("./tools/image-converter.js"),
378
+ },
360
379
 
361
380
  {
362
381
  id: "lorem-ipsum",