@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.
- package/CHANGELOG.md +3 -0
- package/dist/chord.cjs.development.js +45 -7
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +45 -7
- package/dist/chord.esm.js.map +1 -1
- package/dist/types/types.d.ts +13 -0
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -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
|
/**
|