@royaloperahouse/harmonic 0.1.1-b-test → 0.1.1-d
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/Typography/Typography.d.ts +1 -0
- package/dist/components/Typography/index.d.ts +1 -2
- package/dist/components/atoms/Typography/Typography.d.ts +0 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/harmonic.cjs.development.css +165 -239
- package/dist/harmonic.cjs.development.js +293 -294
- 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 +441 -442
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/typography.d.ts +1 -9
- package/package.json +2 -2
- package/dist/components/Typography/AltHeaders/AltHeaders.d.ts +0 -4
- package/dist/components/Typography/TextLink/TextLink.d.ts +0 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ReactNode
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { StyledProps } from 'styled-components';
|
|
3
|
-
import { DirectionType, IconNameType } from './iconTypes';
|
|
4
3
|
export declare type HarmonicSize = 'small' | 'medium' | 'large';
|
|
5
4
|
export declare type HarmonicColors = 'black' | 'red' | 'grey';
|
|
6
5
|
export interface IGenericTypographyProps {
|
|
@@ -19,13 +18,6 @@ export interface IAltHeaderHarmonicProps extends IGenericTypographyProps {
|
|
|
19
18
|
text2?: string;
|
|
20
19
|
text3?: string;
|
|
21
20
|
}
|
|
22
|
-
export interface ITextLinkHarmonicProps extends Omit<IGenericTypographyProps, 'children' | 'color'>, AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
23
|
-
onClick: MouseEventHandler<HTMLAnchorElement>;
|
|
24
|
-
iconName?: IconNameType;
|
|
25
|
-
iconDirection?: DirectionType;
|
|
26
|
-
children?: ReactNode;
|
|
27
|
-
color?: HarmonicColors;
|
|
28
|
-
}
|
|
29
21
|
export declare type TypographyLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
30
22
|
export declare type AltHeaderLevel = 3 | 4 | 5 | 6;
|
|
31
23
|
export declare type BodyLevel = 1 | 2 | 3;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@royaloperahouse/harmonic",
|
|
3
|
-
"version": "0.1.1-
|
|
3
|
+
"version": "0.1.1-d",
|
|
4
4
|
"author": "Royal Opera House",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"@types/react-dom": "^17.0.11"
|
|
139
139
|
},
|
|
140
140
|
"lint-staged": {
|
|
141
|
-
"*.{js,jsx,json,css,
|
|
141
|
+
"*.{js,jsx,json,css,md,ts,tsx,html}": [
|
|
142
142
|
"npx eslint src --fix ",
|
|
143
143
|
"npx prettier src --write --uncommitted"
|
|
144
144
|
]
|