@aurea-uds/icons 0.10.0 → 0.10.1
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.
- package/README.md +11 -11
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
# @aurea-uds/icons
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[Carbon Icons](https://carbondesignsystem.com/elements/icons/library/);
|
|
5
|
-
|
|
3
|
+
O sprite de ícones de onde a **Aurea UDS** desenha. Os glifos são os
|
|
4
|
+
[Carbon Icons](https://carbondesignsystem.com/elements/icons/library/) da IBM; este pacote só os
|
|
5
|
+
junta num único sprite SVG.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
pnpm add @aurea-uds/icons
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
Copie `dist/aurea-icons.svg` para onde o seu app serve arquivos estáticos e diga ao provider onde
|
|
12
|
+
ele está:
|
|
13
13
|
|
|
14
14
|
```jsx
|
|
15
15
|
<AureaProvider spriteUrl="/aurea-icons.svg">
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Marcação fora do React aponta direto para o símbolo:
|
|
19
19
|
|
|
20
20
|
```html
|
|
21
21
|
<svg class="icon" aria-hidden="true"><use href="/aurea-icons.svg#i-search"></use></svg>
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
O id do símbolo é `i-` seguido do nome do Carbon exatamente como o Carbon escreve, com os dois
|
|
25
|
+
traços: `chevron--down` vira `#i-chevron--down`.
|
|
26
26
|
|
|
27
|
-
##
|
|
27
|
+
## Licença
|
|
28
28
|
|
|
29
|
-
Apache-2.0
|
|
30
|
-
IBM
|
|
29
|
+
Apache-2.0 para este pacote. Os glifos são Carbon Icons, também Apache-2.0 — a atribuição que a
|
|
30
|
+
licença da IBM exige vai no [`NOTICE`](./NOTICE), que faz parte dos arquivos publicados.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurea-uds/icons",
|
|
3
|
-
"version": "0.10.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.10.1",
|
|
4
|
+
"description": "O sprite de ícones do Carbon que a Aurea UDS desenha com <use href>. A atribuição está no NOTICE.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aurea",
|
|
7
7
|
"design-system",
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
"url": "git+https://github.com/victor1mor/aurea-uds.git",
|
|
15
15
|
"directory": "packages/icons"
|
|
16
16
|
},
|
|
17
|
+
"homepage": "https://github.com/victor1mor/aurea-uds/tree/main/packages/icons#readme",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/victor1mor/aurea-uds/issues"
|
|
20
|
+
},
|
|
17
21
|
"publishConfig": {
|
|
18
22
|
"access": "public"
|
|
19
23
|
},
|