@royaloperahouse/chord 2.2.1 → 2.2.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.
@@ -1,6 +1,7 @@
1
1
  import { ReactNode, AnchorHTMLAttributes, MouseEventHandler } from 'react';
2
2
  import { StyledProps } from 'styled-components';
3
3
  import { IconNameType, DirectionType } from './iconTypes';
4
+ import { TypographyLevel, TypographyType } from './typography';
4
5
  export declare enum Colors {
5
6
  White = "white",
6
7
  Black = "black",
@@ -459,6 +460,18 @@ export interface IAccordionProps {
459
460
  * Set init open
460
461
  */
461
462
  initOpen?: boolean;
463
+ /**
464
+ * Set content type - header or subtitle
465
+ */
466
+ contentType?: TypographyType;
467
+ /**
468
+ * Set display level - aesthetic
469
+ */
470
+ displayLevel?: TypographyLevel;
471
+ /**
472
+ * Set semantic level - not to be used for aesthetic
473
+ */
474
+ semanticLevel?: TypographyLevel;
462
475
  }
463
476
  export interface IAccordionsProps {
464
477
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/chord",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",