@aurodesignsystem-dev/auro-tail 0.0.0-pr27.3 → 0.0.0-pr27.5
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 +6 -6
- package/package.json +1 -1
package/demo/api.md
CHANGED
|
@@ -92,16 +92,16 @@ Display predefined badges such as OneWorld Alliance using the `badge` attribute.
|
|
|
92
92
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
93
93
|
</auro-accordion>
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
### Href
|
|
96
96
|
|
|
97
97
|
Make tails clickable by adding an `href` attribute. This displays a clickable link below the tail using the `<auro-hyperlink>` component.
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
#### Supported sizes:
|
|
100
100
|
- `md`, `lg`, `xl`, `2xl`
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
- Use the `
|
|
104
|
-
- If no
|
|
102
|
+
#### Customizing the label:
|
|
103
|
+
- Use the default slot (no `slot` attribute) to provide custom link text
|
|
104
|
+
- If no slotted content is provided, a default label is inserted automatically
|
|
105
105
|
|
|
106
106
|
```html
|
|
107
107
|
<auro-tail tail="HA" size="md" href="https://hawaiianairlines.com/">
|
|
@@ -217,7 +217,7 @@ Tail codes from `<auro-icon>` are expected to be UPPERCASE (e.g., `AS`, not `as`
|
|
|
217
217
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
218
218
|
</auro-accordion>
|
|
219
219
|
|
|
220
|
-
|
|
220
|
+
#### Fallback
|
|
221
221
|
|
|
222
222
|
When the `tail` attribute is omitted or an unrecognized tail code is provided, `<auro-tail>` gracefully falls back to a default tail livery graphic rather than showing a broken icon.
|
|
223
223
|
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"================================================================================"
|
|
8
8
|
],
|
|
9
9
|
"name": "@aurodesignsystem-dev/auro-tail",
|
|
10
|
-
"version": "0.0.0-pr27.
|
|
10
|
+
"version": "0.0.0-pr27.5",
|
|
11
11
|
"description": "auro-tail HTML custom element",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|