wagtail-enap-designsystem 1.2.1.141__py3-none-any.whl → 1.2.1.143__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.

@@ -6784,14 +6784,14 @@ class CardBlock(blocks.StructBlock):
6784
6784
  """
6785
6785
  image = ImageChooserBlock(
6786
6786
  label="Imagem do Card",
6787
- required=True,
6787
+ required=False,
6788
6788
  help_text="Imagem que será exibida no card"
6789
6789
  )
6790
6790
 
6791
6791
  title = blocks.CharBlock(
6792
6792
  label="Título",
6793
6793
  max_length=100,
6794
- required=True,
6794
+ required=False,
6795
6795
  help_text="Título principal do card"
6796
6796
  )
6797
6797
 
@@ -7639,10 +7639,15 @@ class SecaoApresentacaoCardsBlock(blocks.StructBlock):
7639
7639
  )
7640
7640
 
7641
7641
  titulo = blocks.CharBlock(
7642
- required=True,
7642
+ required=False,
7643
7643
  max_length=200,
7644
7644
  help_text="Título da seção"
7645
7645
  )
7646
+
7647
+ subtitulo = blocks.RichTextBlock(
7648
+ required=False,
7649
+ help_text="Subtítulo da seção"
7650
+ )
7646
7651
 
7647
7652
  cor_titulo = blocks.ChoiceBlock(
7648
7653
  choices=ENAP_GREEN_COLORS,
@@ -76,10 +76,11 @@ BRAND_BG_CHOICES = [
76
76
  ('rgba(0,0,0,0.5)', 'Preto Semi-transparente'),
77
77
  ('#F8F9FA', 'Cinza Claro (#F8F9FA)'),
78
78
  ('#000000', 'Preto (#000000)'),
79
- ('enap-green', 'Verde ENAP'),
80
- ('enap-link', 'Verde Link ENAP'),
81
- ('gnova-purple', 'Roxo Gnova'),
82
- ('gnova-light', 'Roxo Claro Gnova'),
79
+ ('#024248', 'Verde ENAP'),
80
+ ('#007D7A', 'Verde Link ENAP'),
81
+ ('#AD6BFC', 'Roxo Gnova'),
82
+ ('#B396FC', 'Roxo Claro Gnova'),
83
+ ('#2F134F', 'Roxo Escuro LIIA'),
83
84
  ('blue', 'Azul'),
84
85
  ('green', 'Verde'),
85
86
  ('red', 'Vermelho'),
@@ -1281,6 +1282,11 @@ class MenuNavigationBlock(blocks.StructBlock):
1281
1282
  help_text="Itens do menu de navegação"
1282
1283
  )
1283
1284
 
1285
+ logo = ImageChooserBlock(
1286
+ required=False,
1287
+ help_text="Imagem de logo da esquerda"
1288
+ )
1289
+
1284
1290
  cor_fundo = blocks.ChoiceBlock(
1285
1291
  choices=BRAND_BG_CHOICES,
1286
1292
  default='#132929',