@cdx-ui/icons 0.2.1 → 0.2.3

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.
@@ -9,12 +9,14 @@ export interface IconData {
9
9
  export interface ForgeIconProps extends SvgProps {
10
10
  /** When `true`, renders the filled variant of the icon (if available). Defaults to `false` (outlined). */
11
11
  filled?: boolean;
12
+ /** Width and height of the icon, in pixels or any SVG length. The bare icon renders at 24 when omitted. */
12
13
  size?: string | number;
13
14
  /**
14
15
  * When provided, the icon becomes an accessible element announced by screen readers
15
16
  * as an image. When omitted, the icon is decorative and hidden from assistive technology.
16
17
  */
17
18
  accessibilityLabel?: string;
19
+ /** Test identifier forwarded to the rendered SVG. */
18
20
  'data-testid'?: string;
19
21
  }
20
22
  export type ForgeIcon = ForwardRefExoticComponent<ForgeIconProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdx-ui/icons",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dfh-candescent/forge-design-system",