@pushwoosh/kit-typography 1.7.4 → 1.7.6
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/code/code.component.d.ts +0 -1
- package/code/code.component.js +2 -2
- package/footnote/footnote.component.d.ts +0 -1
- package/footnote/footnote.component.js +2 -2
- package/h1/h1.component.d.ts +0 -1
- package/h1/h1.component.js +2 -2
- package/h2/h2.component.d.ts +0 -1
- package/h2/h2.component.js +2 -2
- package/h3/h3.component.d.ts +0 -1
- package/h3/h3.component.js +2 -2
- package/h4/h4.component.d.ts +0 -1
- package/h4/h4.component.js +2 -2
- package/h5/h5.component.d.ts +0 -1
- package/h5/h5.component.js +2 -2
- package/package.json +3 -3
- package/paragraph/paragraph.component.d.ts +0 -1
- package/paragraph/paragraph.component.js +2 -2
- package/text/Text.d.ts +4 -4
- /package/{ai-documentation.mdx → ai-documentation.md} +0 -0
package/code/code.component.d.ts
CHANGED
package/code/code.component.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { CodeBox } from './code.styles';
|
|
3
3
|
export function Code(props) {
|
|
4
4
|
const {
|
|
5
5
|
boxRef,
|
|
6
6
|
...rest
|
|
7
7
|
} = props;
|
|
8
|
-
return
|
|
8
|
+
return _jsx(CodeBox, {
|
|
9
9
|
...rest,
|
|
10
10
|
ref: boxRef
|
|
11
11
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { FootnoteBox } from './footnote.styles';
|
|
3
3
|
export function Footnote(props) {
|
|
4
4
|
const {
|
|
5
5
|
boxRef,
|
|
6
6
|
...rest
|
|
7
7
|
} = props;
|
|
8
|
-
return
|
|
8
|
+
return _jsx(FootnoteBox, {
|
|
9
9
|
...rest,
|
|
10
10
|
ref: boxRef
|
|
11
11
|
});
|
package/h1/h1.component.d.ts
CHANGED
package/h1/h1.component.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { H1Box } from './h1.styles';
|
|
3
3
|
export function H1(props) {
|
|
4
4
|
const {
|
|
5
5
|
boxRef,
|
|
6
6
|
...rest
|
|
7
7
|
} = props;
|
|
8
|
-
return
|
|
8
|
+
return _jsx(H1Box, {
|
|
9
9
|
...rest,
|
|
10
10
|
ref: boxRef
|
|
11
11
|
});
|
package/h2/h2.component.d.ts
CHANGED
package/h2/h2.component.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { H2Box } from './h2.styles';
|
|
3
3
|
export function H2(props) {
|
|
4
4
|
const {
|
|
5
5
|
boxRef,
|
|
6
6
|
...rest
|
|
7
7
|
} = props;
|
|
8
|
-
return
|
|
8
|
+
return _jsx(H2Box, {
|
|
9
9
|
...rest,
|
|
10
10
|
ref: boxRef
|
|
11
11
|
});
|
package/h3/h3.component.d.ts
CHANGED
package/h3/h3.component.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { H3Box } from './h3.styles';
|
|
3
3
|
export function H3(props) {
|
|
4
4
|
const {
|
|
5
5
|
boxRef,
|
|
6
6
|
...rest
|
|
7
7
|
} = props;
|
|
8
|
-
return
|
|
8
|
+
return _jsx(H3Box, {
|
|
9
9
|
...rest,
|
|
10
10
|
ref: boxRef
|
|
11
11
|
});
|
package/h4/h4.component.d.ts
CHANGED
package/h4/h4.component.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { H4Box } from './h4.styles';
|
|
3
3
|
export function H4(props) {
|
|
4
4
|
const {
|
|
5
5
|
boxRef,
|
|
6
6
|
...rest
|
|
7
7
|
} = props;
|
|
8
|
-
return
|
|
8
|
+
return _jsx(H4Box, {
|
|
9
9
|
...rest,
|
|
10
10
|
ref: boxRef
|
|
11
11
|
});
|
package/h5/h5.component.d.ts
CHANGED
package/h5/h5.component.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { H5Box } from './h5.styles';
|
|
3
3
|
export function H5(props) {
|
|
4
4
|
const {
|
|
5
5
|
boxRef,
|
|
6
6
|
...rest
|
|
7
7
|
} = props;
|
|
8
|
-
return
|
|
8
|
+
return _jsx(H5Box, {
|
|
9
9
|
...rest,
|
|
10
10
|
ref: boxRef
|
|
11
11
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushwoosh/kit-typography",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.6",
|
|
4
4
|
"description": "React component for build Pushwoosh products",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "npm run playground",
|
|
11
|
-
"build": "pushwoosh-engine lib:build && cp ai-documentation.
|
|
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
14
|
"check:lint": "echo \"Run check:lint\" && eslint .",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@pushwoosh/kit-constants": "^1.6.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@pushwoosh/frontend-builder-engine": "^
|
|
22
|
+
"@pushwoosh/frontend-builder-engine": "^2.1.1",
|
|
23
23
|
"@types/react": "^16.14.20",
|
|
24
24
|
"@types/react-dom": "^16.9.14",
|
|
25
25
|
"@types/styled-components": "^5.1.34",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ParagraphBox } from './paragraph.styles';
|
|
3
3
|
export function Paragraph(props) {
|
|
4
4
|
const {
|
|
5
5
|
boxRef,
|
|
6
6
|
...rest
|
|
7
7
|
} = props;
|
|
8
|
-
return
|
|
8
|
+
return _jsx(ParagraphBox, {
|
|
9
9
|
...rest,
|
|
10
10
|
ref: boxRef
|
|
11
11
|
});
|
package/text/Text.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type TypographyVariant } from '../map';
|
|
2
2
|
export declare const Text: import("styled-components").StyledComponent<"span", any, {
|
|
3
|
-
$color?: string
|
|
4
|
-
$uppercase?: boolean
|
|
5
|
-
$ellipsis?: boolean
|
|
6
|
-
$variant?: TypographyVariant
|
|
3
|
+
$color?: string;
|
|
4
|
+
$uppercase?: boolean;
|
|
5
|
+
$ellipsis?: boolean;
|
|
6
|
+
$variant?: TypographyVariant;
|
|
7
7
|
}, never>;
|
|
File without changes
|