@aurodesignsystem-dev/auro-icon 0.0.0-pr211.2 → 0.0.0-pr211.4
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 +5 -5
- package/demo/auro-icon.min.js +1 -1
- package/package.json +1 -1
package/demo/api.md
CHANGED
|
@@ -9,7 +9,7 @@ auro-icon provides users a way to use the Auro Icons by simply passing in the ca
|
|
|
9
9
|
|
|
10
10
|
| Property | Attribute | Type | Default | Description |
|
|
11
11
|
|------------------|------------------|-----------|-------------|--------------------------------------------------|
|
|
12
|
-
| [appearance](#appearance) | `appearance` | `string` | "'default'" | Defines whether the
|
|
12
|
+
| [appearance](#appearance) | `appearance` | `string` | "'default'" | Defines whether the button will be on lighter or darker backgrounds. |
|
|
13
13
|
| [ariaHidden](#ariaHidden) | `ariaHidden` | `string` | | Set aria-hidden value. Default is `true`. Option is `false`. |
|
|
14
14
|
| [category](#category) | `category` | `string` | | The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage. |
|
|
15
15
|
| [customColor](#customColor) | `customColor` | `boolean` | | Allows custom color to be set. |
|
|
@@ -183,8 +183,8 @@ Mono-color icons support the following attributes to illustrate visual state.
|
|
|
183
183
|
All compatible with `appearance="inverse"` attribute.
|
|
184
184
|
|
|
185
185
|
<div class="exampleWrapper--ondark">
|
|
186
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/
|
|
187
|
-
<!-- The below content is automatically added from ../apiExamples/
|
|
186
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/inverseAppearance.html) -->
|
|
187
|
+
<!-- The below content is automatically added from ../apiExamples/inverseAppearance.html -->
|
|
188
188
|
<span style="color: var(--ds-basic-color-texticon-inverse)">
|
|
189
189
|
<auro-icon category="interface" name="pin-trip" appearance="inverse"></auro-icon> default<br />
|
|
190
190
|
<auro-icon category="interface" name="pin-trip" appearance="inverse" variant="disabled"></auro-icon> disabled<br />
|
|
@@ -195,8 +195,8 @@ All compatible with `appearance="inverse"` attribute.
|
|
|
195
195
|
</div>
|
|
196
196
|
<auro-accordion alignRight>
|
|
197
197
|
<span slot="trigger">See code</span>
|
|
198
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/
|
|
199
|
-
<!-- The below code snippet is automatically added from ../apiExamples/
|
|
198
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/inverseAppearance.html) -->
|
|
199
|
+
<!-- The below code snippet is automatically added from ../apiExamples/inverseAppearance.html -->
|
|
200
200
|
|
|
201
201
|
```html
|
|
202
202
|
<span style="color: var(--ds-basic-color-texticon-inverse)">
|
package/demo/auro-icon.min.js
CHANGED
|
@@ -208,7 +208,7 @@ class BaseIcon extends AuroElement {
|
|
|
208
208
|
},
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
* Defines whether the
|
|
211
|
+
* Defines whether the button will be on lighter or darker backgrounds.
|
|
212
212
|
* @property {'default', 'inverse'}
|
|
213
213
|
* @default 'default'
|
|
214
214
|
*/
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"================================================================================"
|
|
8
8
|
],
|
|
9
9
|
"name": "@aurodesignsystem-dev/auro-icon",
|
|
10
|
-
"version": "0.0.0-pr211.
|
|
10
|
+
"version": "0.0.0-pr211.4",
|
|
11
11
|
"description": "auro-icon HTML custom element",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|