@aurodesignsystem-dev/auro-icon 0.0.0-pr241.4 → 0.0.0-pr241.6
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/demo/api.md +9 -2
- package/package.json +1 -1
package/demo/api.md
CHANGED
|
@@ -392,6 +392,13 @@ All compatible with `appearance="inverse"` attribute.
|
|
|
392
392
|
|
|
393
393
|
When an icon is not found, the component will attempt to render a fallback icon. By default, the error icon will be used. If the name of the icon starts with `tail-`, the component will attempt to render the default tail logo as a fallback.
|
|
394
394
|
|
|
395
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/fallback.html) -->
|
|
396
|
+
<!-- The below content is automatically added from ../apiExamples/fallback.html -->
|
|
397
|
+
<!-- Default Fallback Icon -->
|
|
398
|
+
Default Icon fallback: <auro-icon category="interface" name="icon-INVALID"></auro-icon>
|
|
399
|
+
<!-- Tail Fallback Icon -->
|
|
400
|
+
Tail Icon fallback: <auro-icon category="logos" name="tail-INVALID"></auro-icon>
|
|
401
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
395
402
|
<auro-accordion alignRight>
|
|
396
403
|
<span slot="trigger">See code</span>
|
|
397
404
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/fallback.html) -->
|
|
@@ -399,9 +406,9 @@ When an icon is not found, the component will attempt to render a fallback icon.
|
|
|
399
406
|
|
|
400
407
|
```html
|
|
401
408
|
<!-- Default Fallback Icon -->
|
|
402
|
-
<auro-icon category="interface" name="icon-INVALID"></auro-icon>
|
|
409
|
+
Default Icon fallback: <auro-icon category="interface" name="icon-INVALID"></auro-icon>
|
|
403
410
|
<!-- Tail Fallback Icon -->
|
|
404
|
-
<auro-icon category="logos" name="tail-INVALID"></auro-icon>
|
|
411
|
+
Tail Icon fallback: <auro-icon category="logos" name="tail-INVALID"></auro-icon>
|
|
405
412
|
```
|
|
406
413
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
407
414
|
</auro-accordion>
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"================================================================================"
|
|
8
8
|
],
|
|
9
9
|
"name": "@aurodesignsystem-dev/auro-icon",
|
|
10
|
-
"version": "0.0.0-pr241.
|
|
10
|
+
"version": "0.0.0-pr241.6",
|
|
11
11
|
"description": "auro-icon HTML custom element",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|