@hanzogui/text 2.0.4 → 2.0.7
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/cjs/Emphasis.cjs +1 -1
- package/dist/cjs/Emphasis.native.js +1 -1
- package/dist/cjs/Headings.cjs +1 -1
- package/dist/cjs/Headings.native.js +1 -1
- package/dist/cjs/Paragraph.cjs +1 -1
- package/dist/cjs/Paragraph.native.js +1 -1
- package/dist/cjs/SizableText.cjs +2 -2
- package/dist/cjs/SizableText.native.js +2 -2
- package/dist/esm/Emphasis.mjs +1 -1
- package/dist/esm/Emphasis.native.js +1 -1
- package/dist/esm/Headings.mjs +1 -1
- package/dist/esm/Headings.native.js +1 -1
- package/dist/esm/Paragraph.mjs +1 -1
- package/dist/esm/Paragraph.native.js +1 -1
- package/dist/esm/SizableText.mjs +2 -2
- package/dist/esm/SizableText.native.js +2 -2
- package/dist/jsx/Emphasis.mjs +1 -1
- package/dist/jsx/Emphasis.native.js +1 -1
- package/dist/jsx/Headings.mjs +1 -1
- package/dist/jsx/Headings.native.js +1 -1
- package/dist/jsx/Paragraph.mjs +1 -1
- package/dist/jsx/Paragraph.native.js +1 -1
- package/dist/jsx/SizableText.mjs +2 -2
- package/dist/jsx/SizableText.native.js +2 -2
- package/package.json +1 -1
- package/src/Emphasis.tsx +1 -1
- package/src/Headings.tsx +2 -2
- package/src/Paragraph.tsx +2 -2
- package/src/SizableText.tsx +3 -3
- package/src/wrapChildrenInText.tsx +1 -1
package/dist/cjs/Emphasis.cjs
CHANGED
|
@@ -25,7 +25,7 @@ __export(Emphasis_exports, {
|
|
|
25
25
|
Strong: () => Strong
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(Emphasis_exports);
|
|
28
|
-
var import_gui_web = require("@
|
|
28
|
+
var import_gui_web = require("@hanzogui/web");
|
|
29
29
|
const Strong = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
30
30
|
render: "strong",
|
|
31
31
|
fontWeight: "bold"
|
|
@@ -27,7 +27,7 @@ __export(Emphasis_exports, {
|
|
|
27
27
|
Strong: () => Strong
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(Emphasis_exports);
|
|
30
|
-
var import_gui_web = require("@
|
|
30
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
31
31
|
Strong = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
32
32
|
render: "strong",
|
|
33
33
|
fontWeight: "bold"
|
package/dist/cjs/Headings.cjs
CHANGED
|
@@ -29,7 +29,7 @@ __export(Headings_exports, {
|
|
|
29
29
|
Heading: () => Heading
|
|
30
30
|
});
|
|
31
31
|
module.exports = __toCommonJS(Headings_exports);
|
|
32
|
-
var import_gui_web = require("@
|
|
32
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
33
33
|
import_Paragraph = require("./Paragraph.cjs");
|
|
34
34
|
const Heading = (0, import_gui_web.styled)(import_Paragraph.Paragraph, {
|
|
35
35
|
render: "span",
|
|
@@ -31,7 +31,7 @@ __export(Headings_exports, {
|
|
|
31
31
|
Heading: () => Heading
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(Headings_exports);
|
|
34
|
-
var import_gui_web = require("@
|
|
34
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
35
35
|
import_Paragraph = require("./Paragraph.native.js"),
|
|
36
36
|
Heading = (0, import_gui_web.styled)(import_Paragraph.Paragraph, {
|
|
37
37
|
render: "span",
|
package/dist/cjs/Paragraph.cjs
CHANGED
|
@@ -23,7 +23,7 @@ __export(Paragraph_exports, {
|
|
|
23
23
|
Paragraph: () => Paragraph
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(Paragraph_exports);
|
|
26
|
-
var import_gui_web = require("@
|
|
26
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
27
27
|
import_SizableText = require("./SizableText.cjs");
|
|
28
28
|
const Paragraph = (0, import_gui_web.styled)(import_SizableText.SizableText, {
|
|
29
29
|
name: "Paragraph",
|
|
@@ -25,7 +25,7 @@ __export(Paragraph_exports, {
|
|
|
25
25
|
Paragraph: () => Paragraph
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(Paragraph_exports);
|
|
28
|
-
var import_gui_web = require("@
|
|
28
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
29
29
|
import_SizableText = require("./SizableText.native.js"),
|
|
30
30
|
Paragraph = (0, import_gui_web.styled)(import_SizableText.SizableText, {
|
|
31
31
|
name: "Paragraph",
|
package/dist/cjs/SizableText.cjs
CHANGED
|
@@ -23,8 +23,8 @@ __export(SizableText_exports, {
|
|
|
23
23
|
SizableText: () => SizableText
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(SizableText_exports);
|
|
26
|
-
var import_gui_get_font_sized = require("@
|
|
27
|
-
import_gui_web = require("@
|
|
26
|
+
var import_gui_get_font_sized = require("@hanzogui/get-font-sized"),
|
|
27
|
+
import_gui_web = require("@hanzogui/web");
|
|
28
28
|
const SizableText = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
29
29
|
name: "SizableText",
|
|
30
30
|
fontFamily: "$body",
|
|
@@ -25,8 +25,8 @@ __export(SizableText_exports, {
|
|
|
25
25
|
SizableText: () => SizableText
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(SizableText_exports);
|
|
28
|
-
var import_gui_get_font_sized = require("@
|
|
29
|
-
import_gui_web = require("@
|
|
28
|
+
var import_gui_get_font_sized = require("@hanzogui/get-font-sized"),
|
|
29
|
+
import_gui_web = require("@hanzogui/web"),
|
|
30
30
|
SizableText = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
31
31
|
name: "SizableText",
|
|
32
32
|
fontFamily: "$body",
|
package/dist/esm/Emphasis.mjs
CHANGED
package/dist/esm/Headings.mjs
CHANGED
package/dist/esm/Paragraph.mjs
CHANGED
package/dist/esm/SizableText.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getFontSized } from "@
|
|
2
|
-
import { Text, styled } from "@
|
|
1
|
+
import { getFontSized } from "@hanzogui/get-font-sized";
|
|
2
|
+
import { Text, styled } from "@hanzogui/web";
|
|
3
3
|
const SizableText = styled(Text, {
|
|
4
4
|
name: "SizableText",
|
|
5
5
|
fontFamily: "$body",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getFontSized } from "@
|
|
2
|
-
import { Text, styled } from "@
|
|
1
|
+
import { getFontSized } from "@hanzogui/get-font-sized";
|
|
2
|
+
import { Text, styled } from "@hanzogui/web";
|
|
3
3
|
var SizableText = styled(Text, {
|
|
4
4
|
name: "SizableText",
|
|
5
5
|
fontFamily: "$body",
|
package/dist/jsx/Emphasis.mjs
CHANGED
|
@@ -27,7 +27,7 @@ __export(Emphasis_exports, {
|
|
|
27
27
|
Strong: () => Strong
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(Emphasis_exports);
|
|
30
|
-
var import_gui_web = require("@
|
|
30
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
31
31
|
Strong = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
32
32
|
render: "strong",
|
|
33
33
|
fontWeight: "bold"
|
package/dist/jsx/Headings.mjs
CHANGED
|
@@ -31,7 +31,7 @@ __export(Headings_exports, {
|
|
|
31
31
|
Heading: () => Heading
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(Headings_exports);
|
|
34
|
-
var import_gui_web = require("@
|
|
34
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
35
35
|
import_Paragraph = require("./Paragraph.native.js"),
|
|
36
36
|
Heading = (0, import_gui_web.styled)(import_Paragraph.Paragraph, {
|
|
37
37
|
render: "span",
|
package/dist/jsx/Paragraph.mjs
CHANGED
|
@@ -25,7 +25,7 @@ __export(Paragraph_exports, {
|
|
|
25
25
|
Paragraph: () => Paragraph
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(Paragraph_exports);
|
|
28
|
-
var import_gui_web = require("@
|
|
28
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
29
29
|
import_SizableText = require("./SizableText.native.js"),
|
|
30
30
|
Paragraph = (0, import_gui_web.styled)(import_SizableText.SizableText, {
|
|
31
31
|
name: "Paragraph",
|
package/dist/jsx/SizableText.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getFontSized } from "@
|
|
2
|
-
import { Text, styled } from "@
|
|
1
|
+
import { getFontSized } from "@hanzogui/get-font-sized";
|
|
2
|
+
import { Text, styled } from "@hanzogui/web";
|
|
3
3
|
const SizableText = styled(Text, {
|
|
4
4
|
name: "SizableText",
|
|
5
5
|
fontFamily: "$body",
|
|
@@ -25,8 +25,8 @@ __export(SizableText_exports, {
|
|
|
25
25
|
SizableText: () => SizableText
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(SizableText_exports);
|
|
28
|
-
var import_gui_get_font_sized = require("@
|
|
29
|
-
import_gui_web = require("@
|
|
28
|
+
var import_gui_get_font_sized = require("@hanzogui/get-font-sized"),
|
|
29
|
+
import_gui_web = require("@hanzogui/web"),
|
|
30
30
|
SizableText = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
31
31
|
name: "SizableText",
|
|
32
32
|
fontFamily: "$body",
|
package/package.json
CHANGED
package/src/Emphasis.tsx
CHANGED
package/src/Headings.tsx
CHANGED
package/src/Paragraph.tsx
CHANGED
package/src/SizableText.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getFontSized } from '@
|
|
2
|
-
import type { GetProps } from '@
|
|
3
|
-
import { Text, styled } from '@
|
|
1
|
+
import { getFontSized } from '@hanzogui/get-font-sized'
|
|
2
|
+
import type { GetProps } from '@hanzogui/web'
|
|
3
|
+
import { Text, styled } from '@hanzogui/web'
|
|
4
4
|
|
|
5
5
|
export const SizableText = styled(Text, {
|
|
6
6
|
name: 'SizableText',
|