wagtail-enap-designsystem 1.2.1.105__py3-none-any.whl → 1.2.1.107__py3-none-any.whl

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.

Potentially problematic release.


This version of wagtail-enap-designsystem might be problematic. Click here for more details.

Files changed (18) hide show
  1. enap_designsystem/blocks/__init__.py +6 -1
  2. enap_designsystem/static/enap_designsystem/blocks/bundle.css +0 -14
  3. enap_designsystem/static/enap_designsystem/blocks/cards.css +11 -1
  4. enap_designsystem/static/enap_designsystem/blocks/pages/template_homeI.css +0 -1
  5. enap_designsystem/static/enap_designsystem/blocks/pages/template_homeII.css +0 -1
  6. enap_designsystem/static/enap_designsystem/blocks/testimonials_carousel.css +19 -2
  7. enap_designsystem/templates/enap_designsystem/blocks/navbar/navbar_block.html +1 -1
  8. enap_designsystem/templates/enap_designsystem/blocks/page/pagenoticias_block.html +136 -168
  9. enap_designsystem/templates/enap_designsystem/blocks/preview_courses.html +47 -0
  10. enap_designsystem/templates/enap_designsystem/blocks/suap/suap_courses_block.html +40 -20
  11. enap_designsystem/templates/enap_designsystem/blocks/suap/suap_events_block.html +32 -36
  12. enap_designsystem/templates/enap_designsystem/blocks/team_carousel.html +58 -1
  13. enap_designsystem/templates/enap_designsystem/blocks/testimonials_carousel.html +143 -66
  14. {wagtail_enap_designsystem-1.2.1.105.dist-info → wagtail_enap_designsystem-1.2.1.107.dist-info}/METADATA +1 -1
  15. {wagtail_enap_designsystem-1.2.1.105.dist-info → wagtail_enap_designsystem-1.2.1.107.dist-info}/RECORD +18 -18
  16. {wagtail_enap_designsystem-1.2.1.105.dist-info → wagtail_enap_designsystem-1.2.1.107.dist-info}/WHEEL +0 -0
  17. {wagtail_enap_designsystem-1.2.1.105.dist-info → wagtail_enap_designsystem-1.2.1.107.dist-info}/licenses/LICENSE +0 -0
  18. {wagtail_enap_designsystem-1.2.1.105.dist-info → wagtail_enap_designsystem-1.2.1.107.dist-info}/top_level.txt +0 -0
@@ -742,7 +742,12 @@ CARD_CARDS_STREAMBLOCKS = [
742
742
  "enap_section", EnapSectionBlock([
743
743
  ("enap_cardgrid", EnapCardGridBlock([
744
744
  ("enap_card", EnapCardBlock()),
745
- ]))
745
+ ("richtext", RichTextBlock()),
746
+ ("button", ButtonBlock()),
747
+ ("image", ImageBlock()),
748
+ ("quote", QuoteBlock()),
749
+ ('buttoncenter', ButtonCenter()),
750
+ ]))
746
751
  ])
747
752
  )
748
753
  ]
@@ -1478,13 +1478,6 @@ nav li:hover > ul {
1478
1478
  font-size: 32px;
1479
1479
  }
1480
1480
 
1481
- .img-fluid {
1482
- width: 100%;
1483
- height: auto;
1484
- overflow: hidden;
1485
- max-width: 300px;
1486
- object-fit: cover;
1487
- }
1488
1481
 
1489
1482
  .img-cta {
1490
1483
  width: 90%;
@@ -2162,13 +2155,6 @@ nav li:hover > ul {
2162
2155
  font-size: 32px;
2163
2156
  }
2164
2157
 
2165
- .img-fluid {
2166
- width: 100%;
2167
- height: auto;
2168
- overflow: hidden;
2169
- max-width: 300px;
2170
- object-fit: cover;
2171
- }
2172
2158
 
2173
2159
  .grid-two-hero{
2174
2160
  display: grid;
@@ -139,6 +139,13 @@
139
139
  gap: 16px;
140
140
  color: #434A54;
141
141
  }
142
+
143
+
144
+ .card-primary p{
145
+
146
+ color: #434A54;
147
+ }
148
+
142
149
 
143
150
  .card-secondary{
144
151
  background-color: #007D7A;
@@ -557,4 +564,7 @@
557
564
  /* Classe utilitária para texto branco em fundos escuros específicos */
558
565
  .dark-bg-text {
559
566
  color: white !important;
560
- }
567
+ }
568
+
569
+
570
+
@@ -761,7 +761,6 @@ a.hero-menu-button.no-children:hover {
761
761
  width: 100%;
762
762
  height: auto;
763
763
  overflow: hidden;
764
- max-width: 300px;
765
764
  object-fit: cover;
766
765
  }
767
766
 
@@ -565,7 +565,6 @@ nav li:hover > ul {
565
565
  width: 100%;
566
566
  height: auto;
567
567
  overflow: hidden;
568
- max-width: 300px;
569
568
  object-fit: cover;
570
569
  }
571
570
 
@@ -56,7 +56,17 @@
56
56
  transition: transform 0.3s ease-in-out;
57
57
  gap: 25px;
58
58
  cursor: grab;
59
- padding-bottom: 10px; /* Para evitar corte da sombra */
59
+ padding-bottom: 10px;
60
+
61
+ /* CORREÇÃO SAFARI */
62
+ align-items: stretch;
63
+ -webkit-align-items: stretch;
64
+
65
+ /* Safari flexbox fixes */
66
+ min-height: 0;
67
+ -webkit-transform: translateZ(0);
68
+ transform: translateZ(0);
69
+ will-change: transform;
60
70
  }
61
71
 
62
72
  .testimonial-carousel-items:active {
@@ -65,8 +75,15 @@
65
75
 
66
76
  .testimonial-item-wrapper {
67
77
  flex: 0 0 auto;
68
- width: calc(45% - 15px);
78
+ -webkit-flex: 0 0 auto; /* Safari precisa do prefixo */
79
+
80
+ /* CORREÇÃO CRÍTICA - Safari não calcula calc() bem em flex */
81
+ width: 410px; /* Use valor fixo ao invés de calc(45% - 15px) */
69
82
  min-width: 410px;
83
+
84
+ /* Garante altura consistente no Safari */
85
+ display: flex;
86
+ flex-direction: column;
70
87
  }
71
88
 
72
89
  .testimonial-container {
@@ -27,7 +27,7 @@
27
27
  {% for link_block in navbar.links %}
28
28
  {% if link_block.block_type == 'navbar_link' %}
29
29
  <!-- Link normal -->
30
- <a href="{{ link_block.value.url }}" class="nav-link-nav" target="_blank">
30
+ <a href="{{ link_block.value.url }}" class="nav-link-nav">
31
31
  {{ link_block.value.label }}
32
32
  </a>
33
33
  {% elif link_block.block_type == 'chooserpage' %}