@aurodesignsystem-dev/auro-icon 0.0.0-pr209.0 → 0.0.0-pr209.2
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 -0
- package/demo/auro-icon.min.js +5 -0
- package/package.json +1 -1
package/demo/api.md
CHANGED
|
@@ -27,6 +27,12 @@ auro-icon provides users a way to use the Auro Icons by simply passing in the ca
|
|
|
27
27
|
|-------|--------------------------------------------------|
|
|
28
28
|
| | Hidden from visibility, used for a11y if icon description is needed. |
|
|
29
29
|
| [svg](#svg) | Used for custom SVG content. |
|
|
30
|
+
|
|
31
|
+
## CSS Shadow Parts
|
|
32
|
+
|
|
33
|
+
| Part | Description |
|
|
34
|
+
|---------|--------------------------------------------------|
|
|
35
|
+
| [label](#label) | Used for customizing the style of the icon label. |
|
|
30
36
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
31
37
|
|
|
32
38
|
## API Examples
|
package/demo/auro-icon.min.js
CHANGED
|
@@ -284,6 +284,11 @@ var colorCss = i$4`:host{color:var(--ds-auro-icon-color)}:host([customColor]){co
|
|
|
284
284
|
// See LICENSE in the project root for license information.
|
|
285
285
|
|
|
286
286
|
|
|
287
|
+
/**
|
|
288
|
+
* @slot - Hidden from visibility, used for a11y if icon description is needed.
|
|
289
|
+
* @slot svg - Used for custom SVG content.
|
|
290
|
+
* @csspart label - Used for customizing the style of the icon label.
|
|
291
|
+
*/
|
|
287
292
|
class AuroIcon extends BaseIcon {
|
|
288
293
|
constructor() {
|
|
289
294
|
super();
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"================================================================================"
|
|
8
8
|
],
|
|
9
9
|
"name": "@aurodesignsystem-dev/auro-icon",
|
|
10
|
-
"version": "0.0.0-pr209.
|
|
10
|
+
"version": "0.0.0-pr209.2",
|
|
11
11
|
"description": "auro-icon HTML custom element",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|