@casoon/atlas-styles 0.0.8 → 0.0.9

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Jörn Seidel (CASOON)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -497,7 +497,8 @@
497
497
  .atlas-button {
498
498
  position: relative;
499
499
  overflow: hidden;
500
- transition: transform var(--atlas-duration-fast) var(--atlas-ease-bounce),
500
+ transition:
501
+ transform var(--atlas-duration-fast) var(--atlas-ease-bounce),
501
502
  filter var(--atlas-duration-fast) var(--atlas-ease-standard),
502
503
  box-shadow var(--atlas-duration-fast) var(--atlas-ease-standard);
503
504
  transform-origin: center center;
@@ -520,8 +521,7 @@
520
521
  opacity: 0.2;
521
522
  transform: scale(0);
522
523
  pointer-events: none;
523
- animation: atlas-ripple var(--atlas-duration-normal)
524
- var(--atlas-ease-decelerate) forwards;
524
+ animation: atlas-ripple var(--atlas-duration-normal) var(--atlas-ease-decelerate) forwards;
525
525
  }
526
526
 
527
527
  .atlas-button-spinner {
@@ -536,7 +536,8 @@
536
536
 
537
537
  /* Card */
538
538
  .atlas-card {
539
- transition: transform var(--atlas-duration-normal) var(--atlas-ease-spring),
539
+ transition:
540
+ transform var(--atlas-duration-normal) var(--atlas-ease-spring),
540
541
  box-shadow var(--atlas-duration-normal) var(--atlas-ease-standard);
541
542
  transform-style: preserve-3d;
542
543
  }
@@ -576,13 +577,11 @@
576
577
  }
577
578
 
578
579
  .atlas-modal {
579
- animation: atlas-modal-in var(--atlas-duration-normal)
580
- var(--atlas-ease-spring) forwards;
580
+ animation: atlas-modal-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
581
581
  }
582
582
 
583
583
  .atlas-modal-closing {
584
- animation: atlas-modal-out var(--atlas-duration-fast)
585
- var(--atlas-ease-accelerate) forwards;
584
+ animation: atlas-modal-out var(--atlas-duration-fast) var(--atlas-ease-accelerate) forwards;
586
585
  }
587
586
 
588
587
  /* Drawer */
@@ -593,35 +592,29 @@
593
592
  backdrop-filter: blur(4px);
594
593
  }
595
594
 
596
- .atlas-drawer[data-side="left"] {
597
- animation: atlas-drawer-left-in var(--atlas-duration-normal)
598
- var(--atlas-ease-spring) forwards;
595
+ .atlas-drawer[data-side='left'] {
596
+ animation: atlas-drawer-left-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
599
597
  }
600
598
 
601
- .atlas-drawer[data-side="right"] {
602
- animation: atlas-drawer-right-in var(--atlas-duration-normal)
603
- var(--atlas-ease-spring) forwards;
599
+ .atlas-drawer[data-side='right'] {
600
+ animation: atlas-drawer-right-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
604
601
  }
605
602
 
606
- .atlas-drawer[data-side="top"] {
607
- animation: atlas-drawer-top-in var(--atlas-duration-normal)
608
- var(--atlas-ease-spring) forwards;
603
+ .atlas-drawer[data-side='top'] {
604
+ animation: atlas-drawer-top-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
609
605
  }
610
606
 
611
- .atlas-drawer[data-side="bottom"] {
612
- animation: atlas-drawer-bottom-in var(--atlas-duration-normal)
613
- var(--atlas-ease-spring) forwards;
607
+ .atlas-drawer[data-side='bottom'] {
608
+ animation: atlas-drawer-bottom-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
614
609
  }
615
610
 
616
611
  /* Dropdown */
617
612
  .atlas-dropdown-menu {
618
- animation: atlas-dropdown-in var(--atlas-duration-fast)
619
- var(--atlas-ease-spring) forwards;
613
+ animation: atlas-dropdown-in var(--atlas-duration-fast) var(--atlas-ease-spring) forwards;
620
614
  }
621
615
 
622
616
  .atlas-dropdown-item {
623
- transition: background-color var(--atlas-duration-fast)
624
- var(--atlas-ease-standard);
617
+ transition: background-color var(--atlas-duration-fast) var(--atlas-ease-standard);
625
618
  }
626
619
 
627
620
  .atlas-dropdown-item:hover,
@@ -644,11 +637,10 @@
644
637
 
645
638
  .atlas-toast {
646
639
  pointer-events: auto;
647
- animation: atlas-toast-in-bottom var(--atlas-duration-normal)
648
- var(--atlas-ease-spring) forwards;
640
+ animation: atlas-toast-in-bottom var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
649
641
  }
650
642
 
651
- .atlas-toast-container[data-position^="top"] .atlas-toast {
643
+ .atlas-toast-container[data-position^='top'] .atlas-toast {
652
644
  animation-name: atlas-toast-in-top;
653
645
  }
654
646
 
@@ -659,8 +651,7 @@
659
651
  .atlas-toast-checkmark {
660
652
  stroke-dasharray: 20;
661
653
  stroke-dashoffset: 20;
662
- animation: atlas-checkmark-draw 300ms var(--atlas-ease-decelerate) 100ms
663
- forwards;
654
+ animation: atlas-checkmark-draw 300ms var(--atlas-ease-decelerate) 100ms forwards;
664
655
  }
665
656
 
666
657
  .atlas-toast-progress {
@@ -726,22 +717,17 @@
726
717
  inset: 0;
727
718
  }
728
719
 
729
- .atlas-skeleton[data-animation="shimmer"] .atlas-skeleton-animation {
730
- background: linear-gradient(
731
- 90deg,
732
- transparent,
733
- rgba(255, 255, 255, 0.5),
734
- transparent
735
- );
720
+ .atlas-skeleton[data-animation='shimmer'] .atlas-skeleton-animation {
721
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
736
722
  animation: atlas-skeleton-shimmer 1.5s var(--atlas-ease-standard) infinite;
737
723
  }
738
724
 
739
- .atlas-skeleton[data-animation="pulse"] .atlas-skeleton-animation {
725
+ .atlas-skeleton[data-animation='pulse'] .atlas-skeleton-animation {
740
726
  animation: atlas-skeleton-pulse 1.5s var(--atlas-ease-standard) infinite;
741
727
  background-color: rgba(255, 255, 255, 0.3);
742
728
  }
743
729
 
744
- .atlas-skeleton[data-animation="wave"] {
730
+ .atlas-skeleton[data-animation='wave'] {
745
731
  background: linear-gradient(
746
732
  90deg,
747
733
  var(--atlas-gray-200) 25%,
@@ -759,7 +745,8 @@
759
745
  @media (hover: hover) {
760
746
  /* Gentle lift on hover */
761
747
  .atlas-hover-lift {
762
- transition: transform var(--atlas-duration-fast) var(--atlas-ease-standard),
748
+ transition:
749
+ transform var(--atlas-duration-fast) var(--atlas-ease-standard),
763
750
  box-shadow var(--atlas-duration-fast) var(--atlas-ease-standard);
764
751
  }
765
752
 
@@ -770,8 +757,8 @@
770
757
 
771
758
  /* Subtle glow on hover */
772
759
  .atlas-hover-glow {
773
- transition: box-shadow var(--atlas-duration-normal)
774
- var(--atlas-ease-standard),
760
+ transition:
761
+ box-shadow var(--atlas-duration-normal) var(--atlas-ease-standard),
775
762
  filter var(--atlas-duration-normal) var(--atlas-ease-standard);
776
763
  }
777
764
 
@@ -819,38 +806,31 @@
819
806
  }
820
807
 
821
808
  .atlas-stagger-fade-up {
822
- animation: atlas-slide-up var(--atlas-duration-normal)
823
- var(--atlas-ease-spring) forwards;
809
+ animation: atlas-slide-up var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
824
810
  }
825
811
 
826
812
  .atlas-stagger-fade-down {
827
- animation: atlas-slide-down var(--atlas-duration-normal)
828
- var(--atlas-ease-spring) forwards;
813
+ animation: atlas-slide-down var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
829
814
  }
830
815
 
831
816
  .atlas-stagger-fade-left {
832
- animation: atlas-slide-left var(--atlas-duration-normal)
833
- var(--atlas-ease-spring) forwards;
817
+ animation: atlas-slide-left var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
834
818
  }
835
819
 
836
820
  .atlas-stagger-fade-right {
837
- animation: atlas-slide-right var(--atlas-duration-normal)
838
- var(--atlas-ease-spring) forwards;
821
+ animation: atlas-slide-right var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
839
822
  }
840
823
 
841
824
  .atlas-stagger-scale {
842
- animation: atlas-scale-in var(--atlas-duration-normal)
843
- var(--atlas-ease-spring) forwards;
825
+ animation: atlas-scale-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
844
826
  }
845
827
 
846
828
  .atlas-stagger-flip {
847
- animation: atlas-flip-in var(--atlas-duration-normal) var(--atlas-ease-spring)
848
- forwards;
829
+ animation: atlas-flip-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
849
830
  }
850
831
 
851
832
  .atlas-stagger-zoom {
852
- animation: atlas-zoom-in var(--atlas-duration-normal) var(--atlas-ease-bounce)
853
- forwards;
833
+ animation: atlas-zoom-in var(--atlas-duration-normal) var(--atlas-ease-bounce) forwards;
854
834
  }
855
835
 
856
836
  /* ==========================================================================
package/dist/index.css CHANGED
@@ -2548,7 +2548,8 @@
2548
2548
  .atlas-button {
2549
2549
  position: relative;
2550
2550
  overflow: hidden;
2551
- transition: transform var(--atlas-duration-fast) var(--atlas-ease-bounce),
2551
+ transition:
2552
+ transform var(--atlas-duration-fast) var(--atlas-ease-bounce),
2552
2553
  filter var(--atlas-duration-fast) var(--atlas-ease-standard),
2553
2554
  box-shadow var(--atlas-duration-fast) var(--atlas-ease-standard);
2554
2555
  transform-origin: center center;
@@ -2571,8 +2572,7 @@
2571
2572
  opacity: 0.2;
2572
2573
  transform: scale(0);
2573
2574
  pointer-events: none;
2574
- animation: atlas-ripple var(--atlas-duration-normal)
2575
- var(--atlas-ease-decelerate) forwards;
2575
+ animation: atlas-ripple var(--atlas-duration-normal) var(--atlas-ease-decelerate) forwards;
2576
2576
  }
2577
2577
 
2578
2578
  .atlas-button-spinner {
@@ -2587,7 +2587,8 @@
2587
2587
 
2588
2588
  /* Card */
2589
2589
  .atlas-card {
2590
- transition: transform var(--atlas-duration-normal) var(--atlas-ease-spring),
2590
+ transition:
2591
+ transform var(--atlas-duration-normal) var(--atlas-ease-spring),
2591
2592
  box-shadow var(--atlas-duration-normal) var(--atlas-ease-standard);
2592
2593
  transform-style: preserve-3d;
2593
2594
  }
@@ -2627,13 +2628,11 @@
2627
2628
  }
2628
2629
 
2629
2630
  .atlas-modal {
2630
- animation: atlas-modal-in var(--atlas-duration-normal)
2631
- var(--atlas-ease-spring) forwards;
2631
+ animation: atlas-modal-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2632
2632
  }
2633
2633
 
2634
2634
  .atlas-modal-closing {
2635
- animation: atlas-modal-out var(--atlas-duration-fast)
2636
- var(--atlas-ease-accelerate) forwards;
2635
+ animation: atlas-modal-out var(--atlas-duration-fast) var(--atlas-ease-accelerate) forwards;
2637
2636
  }
2638
2637
 
2639
2638
  /* Drawer */
@@ -2644,35 +2643,29 @@
2644
2643
  backdrop-filter: blur(4px);
2645
2644
  }
2646
2645
 
2647
- .atlas-drawer[data-side="left"] {
2648
- animation: atlas-drawer-left-in var(--atlas-duration-normal)
2649
- var(--atlas-ease-spring) forwards;
2646
+ .atlas-drawer[data-side='left'] {
2647
+ animation: atlas-drawer-left-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2650
2648
  }
2651
2649
 
2652
- .atlas-drawer[data-side="right"] {
2653
- animation: atlas-drawer-right-in var(--atlas-duration-normal)
2654
- var(--atlas-ease-spring) forwards;
2650
+ .atlas-drawer[data-side='right'] {
2651
+ animation: atlas-drawer-right-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2655
2652
  }
2656
2653
 
2657
- .atlas-drawer[data-side="top"] {
2658
- animation: atlas-drawer-top-in var(--atlas-duration-normal)
2659
- var(--atlas-ease-spring) forwards;
2654
+ .atlas-drawer[data-side='top'] {
2655
+ animation: atlas-drawer-top-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2660
2656
  }
2661
2657
 
2662
- .atlas-drawer[data-side="bottom"] {
2663
- animation: atlas-drawer-bottom-in var(--atlas-duration-normal)
2664
- var(--atlas-ease-spring) forwards;
2658
+ .atlas-drawer[data-side='bottom'] {
2659
+ animation: atlas-drawer-bottom-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2665
2660
  }
2666
2661
 
2667
2662
  /* Dropdown */
2668
2663
  .atlas-dropdown-menu {
2669
- animation: atlas-dropdown-in var(--atlas-duration-fast)
2670
- var(--atlas-ease-spring) forwards;
2664
+ animation: atlas-dropdown-in var(--atlas-duration-fast) var(--atlas-ease-spring) forwards;
2671
2665
  }
2672
2666
 
2673
2667
  .atlas-dropdown-item {
2674
- transition: background-color var(--atlas-duration-fast)
2675
- var(--atlas-ease-standard);
2668
+ transition: background-color var(--atlas-duration-fast) var(--atlas-ease-standard);
2676
2669
  }
2677
2670
 
2678
2671
  .atlas-dropdown-item:hover,
@@ -2695,11 +2688,10 @@
2695
2688
 
2696
2689
  .atlas-toast {
2697
2690
  pointer-events: auto;
2698
- animation: atlas-toast-in-bottom var(--atlas-duration-normal)
2699
- var(--atlas-ease-spring) forwards;
2691
+ animation: atlas-toast-in-bottom var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2700
2692
  }
2701
2693
 
2702
- .atlas-toast-container[data-position^="top"] .atlas-toast {
2694
+ .atlas-toast-container[data-position^='top'] .atlas-toast {
2703
2695
  animation-name: atlas-toast-in-top;
2704
2696
  }
2705
2697
 
@@ -2710,8 +2702,7 @@
2710
2702
  .atlas-toast-checkmark {
2711
2703
  stroke-dasharray: 20;
2712
2704
  stroke-dashoffset: 20;
2713
- animation: atlas-checkmark-draw 300ms var(--atlas-ease-decelerate) 100ms
2714
- forwards;
2705
+ animation: atlas-checkmark-draw 300ms var(--atlas-ease-decelerate) 100ms forwards;
2715
2706
  }
2716
2707
 
2717
2708
  .atlas-toast-progress {
@@ -2777,22 +2768,17 @@
2777
2768
  inset: 0;
2778
2769
  }
2779
2770
 
2780
- .atlas-skeleton[data-animation="shimmer"] .atlas-skeleton-animation {
2781
- background: linear-gradient(
2782
- 90deg,
2783
- transparent,
2784
- rgba(255, 255, 255, 0.5),
2785
- transparent
2786
- );
2771
+ .atlas-skeleton[data-animation='shimmer'] .atlas-skeleton-animation {
2772
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
2787
2773
  animation: atlas-skeleton-shimmer 1.5s var(--atlas-ease-standard) infinite;
2788
2774
  }
2789
2775
 
2790
- .atlas-skeleton[data-animation="pulse"] .atlas-skeleton-animation {
2776
+ .atlas-skeleton[data-animation='pulse'] .atlas-skeleton-animation {
2791
2777
  animation: atlas-skeleton-pulse 1.5s var(--atlas-ease-standard) infinite;
2792
2778
  background-color: rgba(255, 255, 255, 0.3);
2793
2779
  }
2794
2780
 
2795
- .atlas-skeleton[data-animation="wave"] {
2781
+ .atlas-skeleton[data-animation='wave'] {
2796
2782
  background: linear-gradient(
2797
2783
  90deg,
2798
2784
  var(--atlas-gray-200) 25%,
@@ -2810,7 +2796,8 @@
2810
2796
  @media (hover: hover) {
2811
2797
  /* Gentle lift on hover */
2812
2798
  .atlas-hover-lift {
2813
- transition: transform var(--atlas-duration-fast) var(--atlas-ease-standard),
2799
+ transition:
2800
+ transform var(--atlas-duration-fast) var(--atlas-ease-standard),
2814
2801
  box-shadow var(--atlas-duration-fast) var(--atlas-ease-standard);
2815
2802
  }
2816
2803
 
@@ -2821,8 +2808,8 @@
2821
2808
 
2822
2809
  /* Subtle glow on hover */
2823
2810
  .atlas-hover-glow {
2824
- transition: box-shadow var(--atlas-duration-normal)
2825
- var(--atlas-ease-standard),
2811
+ transition:
2812
+ box-shadow var(--atlas-duration-normal) var(--atlas-ease-standard),
2826
2813
  filter var(--atlas-duration-normal) var(--atlas-ease-standard);
2827
2814
  }
2828
2815
 
@@ -2870,38 +2857,31 @@
2870
2857
  }
2871
2858
 
2872
2859
  .atlas-stagger-fade-up {
2873
- animation: atlas-slide-up var(--atlas-duration-normal)
2874
- var(--atlas-ease-spring) forwards;
2860
+ animation: atlas-slide-up var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2875
2861
  }
2876
2862
 
2877
2863
  .atlas-stagger-fade-down {
2878
- animation: atlas-slide-down var(--atlas-duration-normal)
2879
- var(--atlas-ease-spring) forwards;
2864
+ animation: atlas-slide-down var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2880
2865
  }
2881
2866
 
2882
2867
  .atlas-stagger-fade-left {
2883
- animation: atlas-slide-left var(--atlas-duration-normal)
2884
- var(--atlas-ease-spring) forwards;
2868
+ animation: atlas-slide-left var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2885
2869
  }
2886
2870
 
2887
2871
  .atlas-stagger-fade-right {
2888
- animation: atlas-slide-right var(--atlas-duration-normal)
2889
- var(--atlas-ease-spring) forwards;
2872
+ animation: atlas-slide-right var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2890
2873
  }
2891
2874
 
2892
2875
  .atlas-stagger-scale {
2893
- animation: atlas-scale-in var(--atlas-duration-normal)
2894
- var(--atlas-ease-spring) forwards;
2876
+ animation: atlas-scale-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2895
2877
  }
2896
2878
 
2897
2879
  .atlas-stagger-flip {
2898
- animation: atlas-flip-in var(--atlas-duration-normal) var(--atlas-ease-spring)
2899
- forwards;
2880
+ animation: atlas-flip-in var(--atlas-duration-normal) var(--atlas-ease-spring) forwards;
2900
2881
  }
2901
2882
 
2902
2883
  .atlas-stagger-zoom {
2903
- animation: atlas-zoom-in var(--atlas-duration-normal) var(--atlas-ease-bounce)
2904
- forwards;
2884
+ animation: atlas-zoom-in var(--atlas-duration-normal) var(--atlas-ease-bounce) forwards;
2905
2885
  }
2906
2886
 
2907
2887
  /* ==========================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@casoon/atlas-styles",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Pure CSS design system with glass effects, gradients, and utilities for Tailwind v4",
5
5
  "type": "module",
6
6
  "files": [
@@ -23,10 +23,6 @@
23
23
  "./animations.css": "./dist/animations.css",
24
24
  "./utilities.css": "./dist/utilities.css"
25
25
  },
26
- "scripts": {
27
- "build": "rimraf dist && node build.js",
28
- "clean": "rimraf dist"
29
- },
30
26
  "keywords": [
31
27
  "tailwind",
32
28
  "css",
@@ -56,5 +52,9 @@
56
52
  },
57
53
  "publishConfig": {
58
54
  "access": "public"
55
+ },
56
+ "scripts": {
57
+ "build": "rimraf dist && node build.js",
58
+ "clean": "rimraf dist"
59
59
  }
60
- }
60
+ }