@pushwoosh/kit-typography 1.7.6 → 1.8.0
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/ai-documentation.md +1 -1
- package/code/code.component.d.ts +1 -1
- package/code/code.types.d.ts +1 -1
- package/footnote/footnote.component.d.ts +1 -1
- package/footnote/footnote.types.d.ts +1 -1
- package/h1/h1.component.d.ts +1 -1
- package/h1/h1.types.d.ts +1 -1
- package/h2/h2.component.d.ts +1 -1
- package/h2/h2.types.d.ts +1 -1
- package/h3/h3.component.d.ts +1 -1
- package/h3/h3.types.d.ts +1 -1
- package/h4/h4.component.d.ts +1 -1
- package/h4/h4.types.d.ts +1 -1
- package/h5/h5.component.d.ts +1 -1
- package/h5/h5.types.d.ts +1 -1
- package/package.json +9 -18
- package/paragraph/paragraph.component.d.ts +1 -1
- package/paragraph/paragraph.types.d.ts +1 -1
package/ai-documentation.md
CHANGED
|
@@ -9,7 +9,7 @@ npm install @pushwoosh/kit-typography
|
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Core Dependencies
|
|
12
|
-
- **react**: >=
|
|
12
|
+
- **react**: >= 18.0.0 (peer dependency)
|
|
13
13
|
- **styled-components**: >= 5.3.3 (peer dependency)
|
|
14
14
|
- **@pushwoosh/kit-constants**: Typography constants (fonts, sizes, weights, line-heights, colors)
|
|
15
15
|
|
package/code/code.component.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CodeProps } from './code.types';
|
|
1
|
+
import { type CodeProps } from './code.types';
|
|
2
2
|
export declare function Code(props: CodeProps): JSX.Element;
|
package/code/code.types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FootnoteProps } from './footnote.types';
|
|
1
|
+
import { type FootnoteProps } from './footnote.types';
|
|
2
2
|
export declare function Footnote(props: FootnoteProps): JSX.Element;
|
package/h1/h1.component.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H1Props } from './h1.types';
|
|
1
|
+
import { type H1Props } from './h1.types';
|
|
2
2
|
export declare function H1(props: H1Props): JSX.Element;
|
package/h1/h1.types.d.ts
CHANGED
package/h2/h2.component.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H2Props } from './h2.types';
|
|
1
|
+
import { type H2Props } from './h2.types';
|
|
2
2
|
export declare function H2(props: H2Props): JSX.Element;
|
package/h2/h2.types.d.ts
CHANGED
package/h3/h3.component.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H3Props } from './h3.types';
|
|
1
|
+
import { type H3Props } from './h3.types';
|
|
2
2
|
export declare function H3(props: H3Props): JSX.Element;
|
package/h3/h3.types.d.ts
CHANGED
package/h4/h4.component.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H4Props } from './h4.types';
|
|
1
|
+
import { type H4Props } from './h4.types';
|
|
2
2
|
export declare function H4(props: H4Props): JSX.Element;
|
package/h4/h4.types.d.ts
CHANGED
package/h5/h5.component.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H5Props } from './h5.types';
|
|
1
|
+
import { type H5Props } from './h5.types';
|
|
2
2
|
export declare function H5(props: H5Props): JSX.Element;
|
package/h5/h5.types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushwoosh/kit-typography",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "React component for build Pushwoosh products",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build": "pushwoosh-engine lib:build && cp ai-documentation.md dist/ai-documentation.md",
|
|
12
12
|
"playground": "pushwoosh-engine lib:playground",
|
|
13
13
|
"check": "npm run check:lint && npm run check:types",
|
|
14
|
-
"check:lint": "echo \"Run check:lint\" && eslint
|
|
14
|
+
"check:lint": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src",
|
|
15
|
+
"check:lint-fix": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src --fix",
|
|
15
16
|
"check:types": "echo \"Run check:types\" && pushwoosh-engine lib:check-types"
|
|
16
17
|
},
|
|
17
18
|
"pre-commit": "check",
|
|
@@ -19,28 +20,18 @@
|
|
|
19
20
|
"@pushwoosh/kit-constants": "^1.6.0"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|
|
22
|
-
"@pushwoosh/frontend-builder-engine": "^
|
|
23
|
-
"@types/react": "^
|
|
24
|
-
"@types/react-dom": "^
|
|
23
|
+
"@pushwoosh/frontend-builder-engine": "^3.0.0",
|
|
24
|
+
"@types/react": "^18.3.2",
|
|
25
|
+
"@types/react-dom": "^18.3.0",
|
|
25
26
|
"@types/styled-components": "^5.1.34",
|
|
26
|
-
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
27
|
-
"@typescript-eslint/parser": "^7.3.1",
|
|
28
27
|
"cross-env": "^7.0.3",
|
|
29
|
-
"eslint": "^8.31.0",
|
|
30
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
31
|
-
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
32
|
-
"eslint-import-resolver-alias": "^1.1.2",
|
|
33
|
-
"eslint-plugin-import": "^2.25.2",
|
|
34
|
-
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
35
|
-
"eslint-plugin-react": "^7.26.1",
|
|
36
|
-
"eslint-plugin-react-hooks": "^4.2.0",
|
|
37
28
|
"pre-commit": "^1.2.2",
|
|
38
|
-
"react": "^
|
|
39
|
-
"react-dom": "^
|
|
29
|
+
"react": "^18.3.1",
|
|
30
|
+
"react-dom": "^18.3.1",
|
|
40
31
|
"styled-components": "^5.3.11"
|
|
41
32
|
},
|
|
42
33
|
"peerDependencies": {
|
|
43
|
-
"react": ">=
|
|
34
|
+
"react": ">=18.0.0",
|
|
44
35
|
"styled-components": ">=5.3.3"
|
|
45
36
|
},
|
|
46
37
|
"engines": {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ParagraphProps } from './paragraph.types';
|
|
1
|
+
import { type ParagraphProps } from './paragraph.types';
|
|
2
2
|
export declare function Paragraph(props: ParagraphProps): JSX.Element;
|