manolis-ui 0.25.4 → 0.27.4

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/dist/style.css CHANGED
@@ -318,6 +318,98 @@
318
318
  }
319
319
  }
320
320
  }
321
+ .fab {
322
+ @layer daisyui.l1.l2.l3 {
323
+ pointer-events: none;
324
+ position: fixed;
325
+ inset-inline-end: calc(0.25rem * 4);
326
+ bottom: calc(0.25rem * 4);
327
+ z-index: 999;
328
+ display: flex;
329
+ flex-direction: column-reverse;
330
+ align-items: flex-end;
331
+ gap: calc(0.25rem * 2);
332
+ font-size: var(--text-sm);
333
+ line-height: var(--tw-leading, var(--text-sm--line-height));
334
+ white-space: nowrap;
335
+ > * {
336
+ pointer-events: auto;
337
+ display: flex;
338
+ align-items: center;
339
+ gap: calc(0.25rem * 2);
340
+ &:hover, &:has(:focus-visible) {
341
+ z-index: 1;
342
+ }
343
+ }
344
+ > [tabindex] {
345
+ &:first-child {
346
+ position: relative;
347
+ display: grid;
348
+ transition-property: opacity, visibility, rotate;
349
+ transition-duration: 0.2s;
350
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
351
+ }
352
+ }
353
+ .fab-close {
354
+ position: absolute;
355
+ inset-inline-end: calc(0.25rem * 0);
356
+ bottom: calc(0.25rem * 0);
357
+ }
358
+ .fab-main-action {
359
+ position: absolute;
360
+ inset-inline-end: calc(0.25rem * 0);
361
+ bottom: calc(0.25rem * 0);
362
+ }
363
+ &:focus-within {
364
+ &:has(.fab-close), &:has(.fab-main-action) {
365
+ > [tabindex] {
366
+ rotate: 90deg;
367
+ opacity: 0%;
368
+ }
369
+ }
370
+ > [tabindex]:first-child {
371
+ pointer-events: none;
372
+ }
373
+ > :nth-child(n + 2) {
374
+ visibility: visible;
375
+ --tw-scale-x: 100%;
376
+ --tw-scale-y: 100%;
377
+ --tw-scale-z: 100%;
378
+ scale: var(--tw-scale-x) var(--tw-scale-y);
379
+ opacity: 100%;
380
+ }
381
+ }
382
+ > :nth-child(n + 2) {
383
+ visibility: hidden;
384
+ --tw-scale-x: 80%;
385
+ --tw-scale-y: 80%;
386
+ --tw-scale-z: 80%;
387
+ scale: var(--tw-scale-x) var(--tw-scale-y);
388
+ opacity: 0%;
389
+ transition-property: opacity, scale, visibility;
390
+ transition-duration: 0.2s;
391
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
392
+ &.fab-main-action, &.fab-close {
393
+ --tw-scale-x: 100%;
394
+ --tw-scale-y: 100%;
395
+ --tw-scale-z: 100%;
396
+ scale: var(--tw-scale-x) var(--tw-scale-y);
397
+ }
398
+ }
399
+ > :nth-child(3) {
400
+ transition-delay: 30ms;
401
+ }
402
+ > :nth-child(4) {
403
+ transition-delay: 60ms;
404
+ }
405
+ > :nth-child(5) {
406
+ transition-delay: 90ms;
407
+ }
408
+ > :nth-child(6) {
409
+ transition-delay: 120ms;
410
+ }
411
+ }
412
+ }
321
413
  .drawer-open {
322
414
  @layer daisyui.l1.l2.l3 {
323
415
  > .drawer-toggle:checked {
@@ -2879,6 +2971,9 @@
2879
2971
  .top-4 {
2880
2972
  top: calc(var(--spacing) * 4);
2881
2973
  }
2974
+ .top-6 {
2975
+ top: calc(var(--spacing) * 6);
2976
+ }
2882
2977
  .top-full {
2883
2978
  top: 100%;
2884
2979
  }
@@ -2888,18 +2983,27 @@
2888
2983
  .right-5 {
2889
2984
  right: calc(var(--spacing) * 5);
2890
2985
  }
2986
+ .right-6 {
2987
+ right: calc(var(--spacing) * 6);
2988
+ }
2891
2989
  .bottom-0 {
2892
2990
  bottom: calc(var(--spacing) * 0);
2893
2991
  }
2894
2992
  .bottom-5 {
2895
2993
  bottom: calc(var(--spacing) * 5);
2896
2994
  }
2995
+ .bottom-6 {
2996
+ bottom: calc(var(--spacing) * 6);
2997
+ }
2897
2998
  .left-0 {
2898
2999
  left: calc(var(--spacing) * 0);
2899
3000
  }
2900
3001
  .left-5 {
2901
3002
  left: calc(var(--spacing) * 5);
2902
3003
  }
3004
+ .left-6 {
3005
+ left: calc(var(--spacing) * 6);
3006
+ }
2903
3007
  .join {
2904
3008
  display: inline-flex;
2905
3009
  align-items: stretch;
@@ -4307,6 +4411,69 @@
4307
4411
  flex-shrink: 0;
4308
4412
  }
4309
4413
  }
4414
+ .fab-flower {
4415
+ @layer daisyui.l1.l2.l3 {
4416
+ display: grid;
4417
+ --position: 0rem;
4418
+ > *:nth-child(-n + 2) {
4419
+ --position: 0rem;
4420
+ }
4421
+ > * {
4422
+ grid-area: 1/1;
4423
+ --degree: 180deg;
4424
+ --flip-degree: calc(180deg - var(--degree));
4425
+ transform: translateX(calc(cos(var(--degree)) * var(--position))) translateY(calc(sin(var(--degree)) * -1 * var(--position)));
4426
+ [dir="rtl"] & {
4427
+ transform: translateX(calc(cos(var(--flip-degree)) * var(--position))) translateY(calc(sin(var(--flip-degree)) * -1 * var(--position)));
4428
+ }
4429
+ }
4430
+ > :nth-child(n + 7) {
4431
+ display: none;
4432
+ }
4433
+ &:has(:nth-child(3)) {
4434
+ --position: 140%;
4435
+ > :nth-child(3) {
4436
+ --degree: 135deg;
4437
+ }
4438
+ }
4439
+ &:has(:nth-child(4)) {
4440
+ --position: 140%;
4441
+ > :nth-child(3) {
4442
+ --degree: 165deg;
4443
+ }
4444
+ > :nth-child(4) {
4445
+ --degree: 105deg;
4446
+ }
4447
+ }
4448
+ &:has(:nth-child(5)) {
4449
+ --position: 180%;
4450
+ > :nth-child(3) {
4451
+ --degree: 180deg;
4452
+ }
4453
+ > :nth-child(4) {
4454
+ --degree: 135deg;
4455
+ }
4456
+ > :nth-child(5) {
4457
+ --degree: 90deg;
4458
+ }
4459
+ }
4460
+ &:has(:nth-child(6)) {
4461
+ --position: 220%;
4462
+ > :nth-child(3) {
4463
+ --degree: 180deg;
4464
+ }
4465
+ > :nth-child(4) {
4466
+ --degree: 150deg;
4467
+ }
4468
+ > :nth-child(5) {
4469
+ --degree: 120deg;
4470
+ }
4471
+ > :nth-child(6) {
4472
+ --degree: 90deg;
4473
+ }
4474
+ }
4475
+ }
4476
+ }
4310
4477
  .carousel {
4311
4478
  @layer daisyui.l1.l2.l3 {
4312
4479
  display: inline-flex;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "manolis-ui",
3
3
  "private": false,
4
- "version": "0.25.4",
4
+ "version": "0.27.4",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -41,6 +41,9 @@
41
41
  "@tailwindcss/cli": "4.1.14",
42
42
  "@tailwindcss/container-queries": "^0.1.1",
43
43
  "cally": "^0.8.0",
44
+ "embla-carousel": "^8.6.0",
45
+ "embla-carousel-autoplay": "^8.6.0",
46
+ "embla-carousel-vue": "^8.6.0",
44
47
  "lucide-vue-next": "^0.468.0",
45
48
  "path": "^0.12.7",
46
49
  "process": "^0.11.10",