@spectrum-web-components/icons 1.3.0-testing.0 → 1.3.0

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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- ## Description
1
+ ## Overview
2
2
 
3
- The `<sp-icons-medium>` and `<sp-icons-large>` elements that are included in this package supply your application with the Spectrum CSS Icons at both the medium and large sizes for use via the `<sp-icon>` element also provided by the Spectrum Web Components library. Include at least one of these elements in a project that makes use of icons in these sets, but feel free to include these sets in the scope of any element that leverages them as they will be deduplicated as appropriate to ensure all of your components are able to deliver the icons included therein.
3
+ The `<sp-icons-medium>` and `<sp-icons-large>` elements included in this package supply your application with the Spectrum CSS medium and large icons for use in the `<sp-icon>` element. Include at least one of these elements in a project that makes use of icons in these sets. You can also include these sets in the scope of any element that leverages them, as they will be deduplicated to ensure all of your components can deliver the icons included therein.
4
4
 
5
5
  ### Usage
6
6
 
@@ -29,5 +29,10 @@ import { IconsMedium, IconsLarge } from '@spectrum-web-components/icons';
29
29
  The `Icons` package has been deprecated as part of the removal of the `Iconset` package from the library and will be removed in an upcoming release. To optimize your build and ensure smaller bundles and higher performance for your users, consider using techniques that include only the icons actually used in your application. For Spectrum icons, you can use [UI Icons](../icons-ui/) or [Workflow Icons](../icons-workflow/).
30
30
 
31
31
  For non-Spectrum icons, you can still:
32
+
32
33
  1. Slot SVG or image content into an [`sp-icon` element](../icon/), or
33
34
  2. Sanitize the SVG and convert it to a template literal to use within the `render()` method of an extension of `IconBase` to create your own custom named icon element.```
35
+
36
+ ### Accessibility
37
+
38
+ Review the accessibility guidelines for the [icon](../icon#accessibility-guidelines).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/icons",
3
- "version": "1.3.0-testing.0",
3
+ "version": "1.3.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -72,8 +72,8 @@
72
72
  "lit-html"
73
73
  ],
74
74
  "dependencies": {
75
- "@spectrum-web-components/base": "^1.3.0-testing.0",
76
- "@spectrum-web-components/iconset": "^1.3.0-testing.0"
75
+ "@spectrum-web-components/base": "1.3.0",
76
+ "@spectrum-web-components/iconset": "1.3.0"
77
77
  },
78
78
  "types": "./src/index.d.ts",
79
79
  "customElements": "custom-elements.json",