@cupcodev/ui 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@cupcodev/ui",
3
3
  "private": false,
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
+ "license": "UNLICENSED",
9
10
  "exports": {
10
11
  ".": {
11
12
  "import": "./dist/index.js",
package/styles/dock.css CHANGED
@@ -56,7 +56,6 @@
56
56
  overflow: visible;
57
57
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
58
58
  background: #fcfcfc87;
59
- z-index: 100;
60
59
  }
61
60
 
62
61
  .dark .dock {
@@ -118,7 +117,7 @@
118
117
  display: flex;
119
118
  align-items: center;
120
119
  gap: 10px;
121
- overflow: hidden;
120
+ overflow: visible;
122
121
  }
123
122
 
124
123
  .tabbar li {
@@ -173,6 +172,57 @@
173
172
  box-shadow: 0 0 10px var(--lg-hover-glow);
174
173
  }
175
174
 
175
+ .tab-style1 li.dock-divider:hover {
176
+ transform: none;
177
+ box-shadow: none;
178
+ }
179
+
180
+ .tab-style1 li.dock-divider::after {
181
+ content: none;
182
+ }
183
+
184
+ .tab-style1 li.dock-divider {
185
+ width: 1px;
186
+ min-width: 1px;
187
+ height: 44px;
188
+ padding: 0;
189
+ margin: 0 7px;
190
+ border-radius: 999px;
191
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(120, 120, 120, 0.2));
192
+ box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.55), 0 0 2px rgba(0, 0, 0, 0.25);
193
+ pointer-events: none;
194
+ cursor: default;
195
+ align-self: center;
196
+ }
197
+
198
+ .tabbar ul > li:last-of-type::before {
199
+ content: '';
200
+ position: absolute;
201
+ bottom: -10px;
202
+ left: 50%;
203
+ transform: translateX(-50%);
204
+ width: 8px;
205
+ height: 8px;
206
+ border-radius: 50%;
207
+ background: hsl(var(--cc-pink, 330 87% 52%));
208
+ box-shadow: 0 0 6px rgba(237, 30, 121, 0.45);
209
+ }
210
+
211
+ .tabbar li .bg-img-menu-fix-mob {
212
+ display: block;
213
+ height: 60px;
214
+ width: 60px;
215
+ background-size: contain;
216
+ background-position: center;
217
+ background-repeat: no-repeat;
218
+ background-origin: content-box;
219
+ padding: 1px;
220
+ }
221
+
222
+ .tabbar li.mn-sobre-nos .bg-img-menu-fix-mob {
223
+ padding: 5px;
224
+ }
225
+
176
226
  .list-menu-mob-show {
177
227
  position: absolute;
178
228
  left: 0;
@@ -211,6 +261,23 @@
211
261
  background: none;
212
262
  }
213
263
 
264
+ .submenu-stack::after {
265
+ content: '';
266
+ position: absolute;
267
+ bottom: -14px;
268
+ left: 50%;
269
+ transform: translateX(-50%);
270
+ width: 0;
271
+ height: 0;
272
+ border-left: 14px solid transparent;
273
+ border-right: 14px solid transparent;
274
+ border-top: 14px solid rgba(255, 255, 255, 0.6);
275
+ opacity: 0;
276
+ transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 2.2);
277
+ pointer-events: none;
278
+ z-index: -1;
279
+ }
280
+
214
281
  .submenu-stack::before {
215
282
  content: '';
216
283
  position: absolute;
@@ -612,34 +679,16 @@
612
679
  transform: scale(0.95);
613
680
  }
614
681
 
615
- .tabbar li.marketing .bg-img-menu-fix-mob {
616
- height: 60px;
617
- width: 60px;
618
- background-size: contain;
619
- background-position: center;
620
- background-repeat: no-repeat;
621
- background-origin: content-box;
622
- padding: 1px;
623
- }
624
-
625
- .tabbar li.mn-desenvolvimento .bg-img-menu-fix-mob {
626
- height: 60px;
627
- width: 60px;
628
- background-size: contain;
629
- background-position: center;
630
- background-repeat: no-repeat;
631
- background-origin: content-box;
632
- padding: 1px;
633
- }
634
-
635
682
  .tabbar li.mn-homepage {
636
683
  position: relative;
637
684
  }
638
685
 
639
686
  a.link-absolute-menu {
687
+ display: block;
640
688
  height: 100%;
641
689
  width: 100%;
642
690
  position: absolute;
691
+ inset: 0;
643
692
  }
644
693
 
645
694
  .tabbar li.mn-homepage .bg-img-menu-fix-mob {
@@ -652,46 +701,6 @@ a.link-absolute-menu {
652
701
  padding: 1px;
653
702
  }
654
703
 
655
- .tabbar li.mn-solucoes .bg-img-menu-fix-mob {
656
- height: 60px;
657
- width: 60px;
658
- background-size: contain;
659
- background-position: center;
660
- background-repeat: no-repeat;
661
- background-origin: content-box;
662
- padding: 1px;
663
- }
664
-
665
- .tabbar li.mn-cases-de-sucesso .bg-img-menu-fix-mob {
666
- height: 60px;
667
- width: 60px;
668
- background-size: contain;
669
- background-position: center;
670
- background-repeat: no-repeat;
671
- background-origin: content-box;
672
- padding: 1px;
673
- }
674
-
675
- .tabbar li.mn-sobre-nos .bg-img-menu-fix-mob {
676
- height: 60px;
677
- width: 60px;
678
- background-size: contain;
679
- background-position: center;
680
- background-repeat: no-repeat;
681
- background-origin: content-box;
682
- padding: 5px;
683
- }
684
-
685
- .tabbar li.mn-contato .bg-img-menu-fix-mob {
686
- height: 60px;
687
- width: 60px;
688
- background-size: contain;
689
- background-position: center;
690
- background-repeat: no-repeat;
691
- background-origin: content-box;
692
- padding: 1px;
693
- }
694
-
695
704
  .tooltip {
696
705
  z-index: 10000 !important;
697
706
  filter: none !important;
@@ -721,17 +730,15 @@ a.link-absolute-menu {
721
730
  max-width: 240px;
722
731
  }
723
732
 
724
- .tabbar li.marketing .bg-img-menu-fix-mob,
725
- .tabbar li.mn-desenvolvimento .bg-img-menu-fix-mob,
726
- .tabbar li.mn-solucoes .bg-img-menu-fix-mob,
727
- .tabbar li.mn-cases-de-sucesso .bg-img-menu-fix-mob,
728
- .tabbar li.mn-contato .bg-img-menu-fix-mob,
729
- .tabbar li.mn-sobre-nos .bg-img-menu-fix-mob,
730
- .tabbar li.mn-homepage .bg-img-menu-fix-mob {
733
+ .tabbar li .bg-img-menu-fix-mob {
731
734
  height: 40px;
732
735
  width: 40px;
733
736
  }
734
737
 
738
+ .tabbar li.mn-sobre-nos .bg-img-menu-fix-mob {
739
+ padding: 4px;
740
+ }
741
+
735
742
  .tab-style1 li {
736
743
  width: 40px;
737
744
  height: 40px;
@@ -748,6 +755,15 @@ a.link-absolute-menu {
748
755
  min-height: 60px;
749
756
  }
750
757
 
758
+ .tab-style1 li.dock-divider {
759
+ height: 32px;
760
+ margin: 0 6px;
761
+ }
762
+
763
+ .tabbar ul > li:last-of-type::before {
764
+ bottom: -8px;
765
+ }
766
+
751
767
  .submenu-card .card-content .icon {
752
768
  width: 40px;
753
769
  margin-right: 0.25rem;
@@ -777,7 +793,6 @@ a.link-absolute-menu {
777
793
  border-radius: 1.2rem;
778
794
  background: rgb(225 175 241 / 30%);
779
795
  z-index: 2;
780
- filter: url(#lg-dist);
781
796
  backdrop-filter: blur(3px);
782
797
  transition-property: left, width, height, top, transform;
783
798
  transition-duration: var(--slider-duration, 0.4s);
@@ -793,9 +808,51 @@ a.link-absolute-menu {
793
808
  0px 3px 6px 0px rgba(24, 1, 58, 0.08);
794
809
  z-index: -1;
795
810
  will-change: left, width, height, top, transform;
796
- transform: translateZ(0) scale(var(--slider-scale, 1));
811
+ transform: translateZ(0) scale(var(--slider-scale, 1));
797
812
  }
798
813
 
799
814
  .tabbar ul {
800
- overflow: hidden;
801
- }
815
+ overflow: visible;
816
+ }
817
+ /* Custom dock backgrounds */
818
+ @keyframes dockFloatFast {
819
+ 0% { transform: translate3d(0,0,0); }
820
+ 50% { transform: translate3d(0,-4px,0); }
821
+ 100% { transform: translate3d(0,0,0); }
822
+ }
823
+ .submenu-card {
824
+ backdrop-filter: blur(3px);
825
+ }
826
+
827
+ .submenu-card.submenu-card--particle-stars {
828
+ background: radial-gradient(circle at 20% 20%, rgb(255 255 255 / 45%) 0%, rgb(212 100 228 / 56%) 45%, rgb(122 16 191 / 49%) 100%);
829
+ }
830
+
831
+ .submenu-card.submenu-card--purple {
832
+ background: linear-gradient(135deg, rgba(83, 37, 167, 0.78), rgb(126 77 237 / 52%), rgb(176 78 236 / 60%));
833
+ }
834
+
835
+ .submenu-card.submenu-card--pink {
836
+ background: linear-gradient(140deg, rgb(237 30 121 / 40%), rgba(255, 177, 213, 0.62), rgb(208 47 121 / 55%));
837
+ }
838
+
839
+ .submenu-card.submenu-card--comet {
840
+ background: var(--cc-gradient-comet);
841
+ }
842
+ .submenu-card.submenu-card--comet .glass-overlay {
843
+ background: radial-gradient(circle at 20% 20%, rgb(217 90 220 / 64%), rgb(64 9 116 / 65%), rgb(109 17 96 / 65%));
844
+ }
845
+ .submenu-card.submenu-card--comet .card-content .text-content {
846
+ color: #f6f6ff;
847
+ }
848
+
849
+ .submenu-card.submenu-card--sunset {
850
+ background: linear-gradient(155deg, rgb(255 168 66 / 56%), rgb(184 66 155 / 62%), rgb(94 25 180 / 58%));
851
+ }
852
+
853
+ .submenu-card.submenu-card--particle-comets {
854
+ background: linear-gradient(150deg, rgb(223 35 213 / 56%), rgb(132 78 211 / 54%), rgb(132 78 211 / 48%));
855
+ }
856
+ .submenu-card.submenu-card--particle-comets .card-content {
857
+ animation: dockFloatFast 7.5s ease-in-out infinite;
858
+ }
package/styles/global.css CHANGED
@@ -745,15 +745,16 @@
745
745
  transition: 0.02s linear;
746
746
  }
747
747
 
748
- .circle__btn .pause {
749
- position: absolute;
750
- transition: 0.02s linear;
751
- font-size: 25px;
752
- }
753
-
754
- .circle__btn .pause.visibility {
755
- opacity: 0;
756
- }
748
+ .circle__btn .pause {
749
+ position: absolute;
750
+ opacity: 0;
751
+ transition: 0.02s linear;
752
+ font-size: 25px;
753
+ }
754
+
755
+ .circle__btn .pause.visibility {
756
+ opacity: 1;
757
+ }
757
758
 
758
759
  .circle__back-1,
759
760
  .circle__back-2 {