wagtail-enap-designsystem 1.2.1.162__py3-none-any.whl → 1.2.1.164__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.
@@ -62,11 +62,7 @@ ENAP_GREEN_COLORS = [
62
62
  ('#024248', 'Verde ENAP 90 (#024248)'),
63
63
  ('#025257', 'Verde ENAP 80 (#025257)'),
64
64
  ('#006969', 'Verde ENAP 70 (#006969)'),
65
- ('#10A39E', 'Verde ENAP 50 (#10A39E)'),
66
- ('#30BFBC', 'Verde ENAP 40 (#30BFBC)'),
67
- ('#70E0DF', 'Verde ENAP 30 (#70E0DF)'),
68
- ('#AFF0ED', 'Verde ENAP 20 (#AFF0ED)'),
69
- ('#D6F9F8', 'Verde ENAP 10 (#D6F9F8)'),
65
+
70
66
  ('#FFFFFF', 'Branco (#FFFFFF)'),
71
67
  ('#F8F9FA', 'Cinza Claro (#F8F9FA)'),
72
68
  ('#E9ECEF', 'Cinza Médio (#E9ECEF)'),
@@ -4959,8 +4955,9 @@ class JobVacancyPage(Page):
4959
4955
 
4960
4956
  def get_context(self, request, *args, **kwargs):
4961
4957
  context = super().get_context(request, *args, **kwargs)
4962
- context['registration_period'] = f"{self.registration_start.strftime('%d/%m/%Y')} - {self.registration_end.strftime('%d/%m/%Y')}"
4963
- context['share_url'] = request.build_absolute_uri(self.url)
4958
+
4959
+ if self.registration_start and self.registration_end: context['registration_period'] = f"{self.registration_start.strftime('%d/%m/%Y')} - {self.registration_end.strftime('%d/%m/%Y')}"
4960
+ else: context['share_url'] = request.build_absolute_uri(self.url)
4964
4961
  return context
4965
4962
 
4966
4963
  def get_template(self, request, *args, **kwargs):
@@ -29,15 +29,6 @@ BRAND_INOVACAO_CHOICES = [
29
29
  # Cores LIIA
30
30
  ('#2F134F', 'Roxo Escuro LIIA #2F134F'),
31
31
 
32
- # Cores Genéricas (Tailwind/CSS)
33
- ('blue', 'Azul (blue)'),
34
- ('green', 'Verde (green)'),
35
- ('red', 'Vermelho (red)'),
36
- ('orange', 'Laranja (orange)'),
37
- ('purple', 'Roxo (purple)'),
38
- ('indigo', 'Índigo (indigo)'),
39
- ('emerald', 'Esmeralda (emerald)'),
40
-
41
32
  # Paleta Expandida - Neutros
42
33
  ('#FFFFFF', 'Branco #FFFFFF'),
43
34
  ('#525258', 'Cinza Escuro #525258'),
@@ -65,18 +56,15 @@ BRAND_INOVACAO_CHOICES = [
65
56
  # Cores para textos - removendo duplicatas e corrigindo valores
66
57
  BRAND_TEXTS_CHOICES = [
67
58
  # Cores Institucionais ENAP
68
- ('#024248', 'Verde ENAP #024248'),
69
- ('#007D7A', 'Verde Link ENAP #007D7A'),
70
- ('#00777D', 'Enap #00777D'),
71
- ('#58606E', 'Enap Cinza #58606E'),
72
- ('#AFF0ED', 'Enap Azul #AFF0ED'),
73
- ('#383674', 'Roxo ENAP #383674'),
74
- ('#024248', 'Verde ENAP'),
75
- ('#007D7A', 'Verde Link ENAP'),
76
- ('#007D7A', 'Verde ENAP 60'),
77
- ('#024248', 'Verde ENAP 90'),
78
- ('#F5F7FA', 'ENAP Cinza'),
79
- ('#FFFFFF', 'Branco'),
59
+ ('#025257', 'Verde ENAP 80 #025257'),
60
+ ('#D6F9F8', 'Verde ENAP 10 #D6F9F8'),
61
+ ('#AFF0ED', 'Verde ENAP 20 #AFF0ED'),
62
+ ('#70E0DF', 'Verde ENAP 30 #70E0DF'),
63
+
64
+ ('#FFFFFF', 'Branco #FFFFFF'),
65
+ ('#58606E', 'Gray-80 ##58606E'),
66
+ ('#434A54', 'Gray-90 #434A54'),
67
+ ('#333840', 'Gray-100 #333840'),
80
68
 
81
69
  # Cores Gnova
82
70
  ('#AD6BFC', 'Roxo Gnova #AD6BFC'),
@@ -85,70 +73,45 @@ BRAND_TEXTS_CHOICES = [
85
73
  # Cores LIIA
86
74
  ('#2F134F', 'Roxo Escuro LIIA #2F134F'),
87
75
 
88
- # Cores Genéricas (Tailwind/CSS)
89
- ('blue', 'Azul (blue)'),
90
- ('green', 'Verde (green)'),
91
- ('red', 'Vermelho (red)'),
92
- ('orange', 'Laranja (orange)'),
93
- ('purple', 'Roxo (purple)'),
94
- ('indigo', 'Índigo (indigo)'),
95
- ('emerald', 'Esmeralda (emerald)'),
96
-
97
- # Neutros e Cinzas
98
- ('#FFFFFF', 'Branco #FFFFFF'),
99
- ('#FFF0D9', 'Creme Suave #FFF0D9'),
100
- ('#000000', 'Preto #000000'),
101
- ('#2F2F2F', 'Cinza Escuro #2F2F2F'),
102
- ('#4A4A4A', 'Cinza Médio #4A4A4A'),
103
- ('#525258', 'Cinza Escuro #525258'),
104
-
105
- # Verdes
76
+ # Concurso 2025
106
77
  ('#132929', 'Verde Musgo Escuro #132929'),
107
78
  ('#25552A', 'Verde Floresta Escuro #25552A'),
108
79
  ('#818C27', 'Verde Oliva #818C27'),
109
80
  ('#BAC946', 'Verdinho #BAC946'),
110
-
111
- # Quentes
112
- ('#DB8C3F', 'Dourado Queimado #DB8C3F'),
113
-
114
- # Vermelhos
115
- ('#990005', 'Vermelho Bordô #990005'),
116
81
  ]
117
82
 
118
83
  # Cores para backgrounds - removendo duplicatas
119
84
  BRAND_BG_CHOICES = [
85
+ ('#02333A', 'Verde ENAP 100 (#02333A)'),
86
+ ('#024248', 'Verde ENAP 90 (#024248)'),
87
+ ('#025257', 'Verde ENAP 80 (#025257)'),
88
+ ('#006969', 'Verde ENAP 70 (#006969)'),
89
+
90
+ ('#FFFFFF', 'Branco (#FFFFFF)'),
91
+ ('#F5F7FA', 'Gray-10 (#F5F7FA)'),
92
+ ('#EBEFF5', 'Gray-20 (#EBEFF5)'),
93
+ ('#DEE3ED', 'Gray-30 (#DEE3ED)'),
94
+ ('#C8D1E0', 'Gray-40 (#C8D1E0)'),
95
+
96
+ ('#AD6BFC', 'Roxo Gnova (#AD6BFC)'),
97
+ ('#B396FC', 'Roxo Claro Gnova (#B396FC)'),
98
+ ('#2F134F', 'Roxo Escuro LIIA (#2F134F)'),
99
+
100
+
120
101
  ('#FFFFFF', 'Branco (#FFFFFF)'),
121
102
  ('transparent', 'Transparente'),
122
103
  ('rgba(0,0,0,0)', 'Transparente (rgba)'),
123
- ('rgba(255,255,255,0.5)', 'Branco Semi-transparente'),
124
- ('rgba(0,0,0,0.5)', 'Preto Semi-transparente'),
125
- ('#F8F9FA', 'Cinza Claro (#F8F9FA)'),
126
- ('#000000', 'Preto (#000000)'),
127
- ('#525258', 'Cinza Escuro (#525258)'),
128
- ('#024248', 'Verde ENAP'),
129
- ('#007D7A', 'Verde Link ENAP'),
130
- ('#AD6BFC', 'Roxo Gnova'),
131
- ('#B396FC', 'Roxo Claro Gnova'),
132
- ('#2F134F', 'Roxo Escuro LIIA'),
133
- ('blue', 'Azul'),
134
- ('green', 'Verde'),
135
- ('red', 'Vermelho'),
136
- ('orange', 'Laranja'),
137
- ('purple', 'Roxo'),
138
- ('indigo', 'Índigo'),
139
- ('emerald', 'Esmeralda'),
104
+
105
+ # Concurso 2025
140
106
  ('#132929', 'Verde Musgo Escuro'),
141
- ('#F5F7FA', 'Azul Enap'),
142
- ('#FCFCFC', 'Cinza Enap'),
107
+
143
108
  ('#3A8A9C', 'Azul Petróleo'),
144
109
  ('#25552A', 'Verde Floresta Escuro'),
145
110
  ('#818C27', 'Verde Oliva'),
146
- ('#FF7A1B', 'Laranja Vibrante'),
147
- ('#FFEB31', 'Amarelo Canário'),
111
+
148
112
  ('#FFF0D9', 'Creme Suave'),
149
113
  ('#DB8C3F', 'Dourado Queimado'),
150
- ('#990005', 'Vermelho Bordô'),
151
- ('#EA1821', 'Vermelho Cereja'),
114
+
152
115
  ('#F8F9FA', 'Cinza Muito Claro'),
153
116
  ('#BAC946', 'Verdinho'),
154
117
  ]
@@ -159,7 +122,6 @@ BRAND_BUTTON_CHOICES = [
159
122
  ('transparent', 'Transparente'),
160
123
 
161
124
  # Cores Institucionais ENAP
162
- ('#024248', 'Verde ENAP #024248'),
163
125
  ('#007D7A', 'Verde Link ENAP #007D7A'),
164
126
 
165
127
  # Cores Gnova
@@ -171,16 +133,12 @@ BRAND_BUTTON_CHOICES = [
171
133
 
172
134
  # Neutros
173
135
  ('#FFFFFF', 'Branco #FFFFFF'),
174
- ('#525258', 'Cinza Escuro #525258'),
175
136
 
176
137
  # Verdes
177
138
  ('#25552A', 'Verde Floresta Escuro #25552A'),
178
139
  ('#818C27', 'Verde Oliva #818C27'),
179
140
  ('#BAC946', 'Verdinho #BAC946'),
180
141
 
181
- # Azuis
182
- ('#3A8A9C', 'Azul Petróleo #3A8A9C'),
183
-
184
142
  # Quentes
185
143
  ('#FF7A1B', 'Laranja Vibrante #FF7A1B'),
186
144
  ('#FFEB31', 'Amarelo Canário #FFEB31'),