@royaloperahouse/harmonic 0.17.0-l → 0.17.1-a

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.
@@ -1,6 +1,6 @@
1
1
  import { ReactNode, AnchorHTMLAttributes, MouseEventHandler, ReactElement } from 'react';
2
2
  import { StyledProps } from 'styled-components';
3
- import { IconNameType, DirectionType } from './iconTypes';
3
+ import { IconNameType, DirectionType, IIconProps } from './iconTypes';
4
4
  import type { ExternalLink } from './links';
5
5
  export declare enum Colors {
6
6
  White = "white",
@@ -599,6 +599,10 @@ export interface IAccordionProps {
599
599
  initOpen?: boolean;
600
600
  /** Custom CSS classes */
601
601
  className?: string;
602
+ /** Harmonic icon name and direction for expanded state. Default is 'Detract' */
603
+ expandedStateIcon?: IIconProps;
604
+ /** Harmonic icon name and direction for collapsed state. Default is 'Expand' */
605
+ collapsedStateIcon?: IIconProps;
602
606
  }
603
607
  export interface IAccordionsProps {
604
608
  /** Array of Accordion component */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/harmonic",
3
- "version": "0.17.0-l",
3
+ "version": "0.17.1-a",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",