Skip to content

Commit cbbe272

Browse files
pedrodominguespanabye
authored andcommitted
feat(helper): implementa novo componente de ajuda
Implementa o componente de ajuda (po-helper) que fornece funcionalidades de orientação ao usuário dentro da aplicação, levando a informação através do PO-Popover. Implementa definições de acessibilidade no PO-Label para suporte a tooltips e campos obrigatórios. Fixes DTHFUI-11065
1 parent f783554 commit cbbe272

File tree

160 files changed

+3576
-304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+3576
-304
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"files": ["*.ts"],
77
"parserOptions": {
8-
"project": ["tsconfig.json", "e2e/tsconfig.json"],
8+
"project": ["tsconfig.json"],
99
"createDefaultProgram": true
1010
},
1111
"extends": [

docs/guides/deprecations.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,18 @@ export class AppModule { }
212212
<td class="po-table-column"><a href="documentation/po-header">PoHeader</a></td>
213213
<td class="po-table-column" style="text-align: center;">v23</td>
214214
</tr>
215+
<tr class="po-table-row">
216+
<th class="po-table-column"><a href="documentation/po-input">Campos de formulários</a></th>
217+
<td class="po-table-column">p-additional-help-tooltip</td>
218+
<td class="po-table-column">p-helper</td>
219+
<td class="po-table-column" style="text-align: center;">v23</td>
220+
</tr>
221+
<tr class="po-table-row">
222+
<th class="po-table-column"><a href="documentation/po-dynamic-form">PoDynamicForm</a></th>
223+
<td class="po-table-column">p-additional-help-tooltip</td>
224+
<td class="po-table-column">p-helper</td>
225+
<td class="po-table-column" style="text-align: center;">v23</td>
226+
</tr>
215227
<tr class="po-table-row">
216228
<th class="po-table-column"><a href="documentation/po-tabs">PoTabs</a></th>
217229
<td class="po-table-column">p-small</td>

projects/app/.eslintrc.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
{
66
"files": ["*.ts"],
77
"parserOptions": {
8-
"project": [
9-
"projects/app/tsconfig.app.json",
10-
"projects/app/tsconfig.spec.json",
11-
"projects/app/e2e/tsconfig.json"
12-
],
8+
"project": ["projects/app/tsconfig.app.json", "projects/app/tsconfig.spec.json"],
139
"createDefaultProgram": true
1410
},
1511
"plugins": ["sonarjs", "eslint-plugin-react"],

projects/portal/.eslintrc.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
{
66
"files": ["*.ts"],
77
"parserOptions": {
8-
"project": [
9-
"projects/portal/tsconfig.app.json",
10-
"projects/portal/tsconfig.spec.json",
11-
"projects/portal/e2e/tsconfig.json"
12-
],
8+
"project": ["projects/portal/tsconfig.app.json", "projects/portal/tsconfig.spec.json"],
139
"createDefaultProgram": true
1410
},
1511
"plugins": ["sonarjs", "eslint-plugin-react"],

projects/portal/src/app/home/home.component.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,10 @@ <h4 class="section-title">Quem utiliza PO UI</h4>
114114
</po-button>
115115
</div>
116116
<div class="po-row">
117-
<div class="po-md-6">
118-
<img class="quem-utiliza-item" src="./assets/graphics/idexo.jpg" alt="Logo Idexo" />
119-
</div>
120-
<div class="po-md-6">
121-
<img class="quem-utiliza-item" src="./assets/graphics/totvs.jpg" alt="Logo Totvs" />
117+
<div class="po-md-12">
118+
<a href="https://www.totvs.com/" target="_blank" rel="noopener"
119+
><img id="logo-totvs" class="quem-utiliza-item" alt="Logo Totvs"
120+
/></a>
122121
</div>
123122
</div>
124123
</section>
-20.8 KB
Binary file not shown.
1.39 KB
Loading
3.22 KB
Loading
-5.86 KB
Binary file not shown.

projects/portal/src/styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ body {
1313
color: #333;
1414
}
1515

16+
html.potheme-dark-AA #logo-totvs,
17+
html.potheme-dark-AAA #logo-totvs {
18+
content: url('./assets/graphics/logo-totvs-branco.png');
19+
}
20+
21+
html.potheme-light-AA #logo-totvs,
22+
html.potheme-light-AAA #logo-totvs {
23+
content: url('./assets/graphics/logo-totvs-preto.png');
24+
}
25+
1626
.dot {
1727
border-radius: 50%;
1828
display: inline-block;

0 commit comments

Comments
 (0)