@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.
- package/dist/components/organisms/AnchorTabBar/AnchorTabBar.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +22 -11
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +22 -11
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/types.d.ts +5 -1
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -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 */
|