wagtail-enap-designsystem 1.2.1.171__py3-none-any.whl → 1.2.1.173__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.
- enap_designsystem/blocks/content_blocks.py +2 -0
- enap_designsystem/blocks/html_blocks.py +7 -5
- enap_designsystem/migrations/0441_perguntaquiz_quizrotapage_alter_areaaluno_body_and_more.py +56121 -0
- enap_designsystem/migrations/0442_remove_perguntaquiz_page_delete_opcaoresposta_and_more.py +26 -0
- enap_designsystem/migrations/0443_capsulaindexpage_footer_capsulaindexpage_navbar_and_more.py +56029 -0
- enap_designsystem/migrations/0444_alter_areaaluno_body_alter_cursoeadpage_curso_and_more.py +70304 -0
- enap_designsystem/models.py +208 -2
- enap_designsystem/static/enap_designsystem/blocks/capsulas.css +0 -1
- enap_designsystem/static/enap_designsystem/blocks/cards.css +1 -0
- enap_designsystem/templates/enap_designsystem/blocks/card_block.html +159 -1
- enap_designsystem/templates/enap_designsystem/blocks/carousel_images.html +0 -1
- enap_designsystem/templates/enap_designsystem/blocks/section_block.html +5 -5
- enap_designsystem/templates/enap_designsystem/blocks/texto_imagem.html +1 -1
- enap_designsystem/templates/enap_designsystem/pages/capsula_index_page.html +137 -128
- enap_designsystem/templates/enap_designsystem/pages/capsula_page.html +135 -276
- enap_designsystem/templates/enap_designsystem/pages/quiz_rota_page.html +922 -0
- enap_designsystem/templates/enap_designsystem/semana_inovacao/blocks_menu_navigation.html +6 -2
- {wagtail_enap_designsystem-1.2.1.171.dist-info → wagtail_enap_designsystem-1.2.1.173.dist-info}/METADATA +1 -1
- {wagtail_enap_designsystem-1.2.1.171.dist-info → wagtail_enap_designsystem-1.2.1.173.dist-info}/RECORD +22 -17
- {wagtail_enap_designsystem-1.2.1.171.dist-info → wagtail_enap_designsystem-1.2.1.173.dist-info}/WHEEL +0 -0
- {wagtail_enap_designsystem-1.2.1.171.dist-info → wagtail_enap_designsystem-1.2.1.173.dist-info}/licenses/LICENSE +0 -0
- {wagtail_enap_designsystem-1.2.1.171.dist-info → wagtail_enap_designsystem-1.2.1.173.dist-info}/top_level.txt +0 -0
|
@@ -159,6 +159,8 @@ class EnapCardBlock(blocks.StructBlock):
|
|
|
159
159
|
('card-bgimage', 'Tipo BG Image'),
|
|
160
160
|
('card-horizontal', 'Tipo Horizontal'),
|
|
161
161
|
('card-horizontal-reverse', 'Tipo Horizontal Invertido'),
|
|
162
|
+
('card-info-white', 'Informativo white'),
|
|
163
|
+
('card-info-dark', 'Informativo dark'),
|
|
162
164
|
|
|
163
165
|
],
|
|
164
166
|
default='card-primary',
|
|
@@ -155,7 +155,10 @@ FONTAWESOME_ICON_CHOICES = [
|
|
|
155
155
|
('fa-solid fa-thumbs-up', 'Like'),
|
|
156
156
|
('fa-solid fa-rocket', 'Foguete'),
|
|
157
157
|
('fa-solid fa-lightbulb', 'Lâmpada'),
|
|
158
|
-
('fa-solid fa-
|
|
158
|
+
('fa-solid fa-bullseye', 'Alvo'),
|
|
159
|
+
('fa-solid fa-route', 'Rota'),
|
|
160
|
+
('fa-solid fa-message', 'Mensagem'),
|
|
161
|
+
('fa-solid fa-globe', 'Globo'),
|
|
159
162
|
]
|
|
160
163
|
|
|
161
164
|
class ButtonBlock(ButtonMixin, BaseLinkBlock):
|
|
@@ -3969,10 +3972,9 @@ class TextoImagemBlock(blocks.StructBlock):
|
|
|
3969
3972
|
|
|
3970
3973
|
estilo_botao = blocks.ChoiceBlock(
|
|
3971
3974
|
choices=[
|
|
3972
|
-
('
|
|
3973
|
-
('
|
|
3974
|
-
('
|
|
3975
|
-
('link', 'Estilo link'),
|
|
3975
|
+
('primary', 'Primário (destaque)'),
|
|
3976
|
+
('secondary', 'Secundário'),
|
|
3977
|
+
('terciary', 'Terciário'),
|
|
3976
3978
|
],
|
|
3977
3979
|
default='primario',
|
|
3978
3980
|
required=False,
|