@hanzogui/text 7.0.0 → 7.3.1

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.
Files changed (97) hide show
  1. package/LICENSE +40 -19
  2. package/dist/cjs/Emphasis.cjs +41 -0
  3. package/dist/cjs/Emphasis.native.js +44 -0
  4. package/dist/cjs/Emphasis.native.js.map +1 -0
  5. package/dist/cjs/Headings.cjs +127 -0
  6. package/dist/cjs/Headings.native.js +130 -0
  7. package/dist/cjs/Headings.native.js.map +1 -0
  8. package/dist/cjs/Paragraph.cjs +37 -0
  9. package/dist/cjs/Paragraph.native.js +40 -0
  10. package/dist/cjs/Paragraph.native.js.map +1 -0
  11. package/dist/cjs/SizableText.cjs +58 -0
  12. package/dist/cjs/SizableText.native.js +61 -0
  13. package/dist/cjs/SizableText.native.js.map +1 -0
  14. package/dist/cjs/index.cjs +25 -0
  15. package/dist/cjs/index.native.js +28 -0
  16. package/dist/cjs/index.native.js.map +1 -0
  17. package/dist/cjs/types.cjs +18 -0
  18. package/dist/cjs/types.native.js +21 -0
  19. package/dist/cjs/types.native.js.map +1 -0
  20. package/dist/cjs/wrapChildrenInText.cjs +80 -0
  21. package/dist/cjs/wrapChildrenInText.native.js +84 -0
  22. package/dist/cjs/wrapChildrenInText.native.js.map +1 -0
  23. package/dist/esm/Emphasis.mjs +14 -0
  24. package/dist/esm/Emphasis.mjs.map +1 -0
  25. package/dist/esm/Emphasis.native.js +14 -0
  26. package/dist/esm/Emphasis.native.js.map +1 -0
  27. package/dist/esm/Headings.mjs +96 -0
  28. package/dist/esm/Headings.mjs.map +1 -0
  29. package/dist/esm/Headings.native.js +96 -0
  30. package/dist/esm/Headings.native.js.map +1 -0
  31. package/dist/esm/Paragraph.mjs +12 -0
  32. package/dist/esm/Paragraph.mjs.map +1 -0
  33. package/dist/esm/Paragraph.native.js +12 -0
  34. package/dist/esm/Paragraph.native.js.map +1 -0
  35. package/dist/esm/SizableText.mjs +33 -0
  36. package/dist/esm/SizableText.mjs.map +1 -0
  37. package/dist/esm/SizableText.native.js +33 -0
  38. package/dist/esm/SizableText.native.js.map +1 -0
  39. package/dist/esm/index.js +7 -0
  40. package/dist/esm/index.js.map +1 -0
  41. package/dist/esm/index.mjs +7 -0
  42. package/dist/esm/index.mjs.map +1 -0
  43. package/dist/esm/index.native.js +7 -0
  44. package/dist/esm/index.native.js.map +1 -0
  45. package/dist/esm/types.mjs +2 -0
  46. package/dist/esm/types.mjs.map +1 -0
  47. package/dist/esm/types.native.js +2 -0
  48. package/dist/esm/types.native.js.map +1 -0
  49. package/dist/esm/wrapChildrenInText.mjs +45 -0
  50. package/dist/esm/wrapChildrenInText.mjs.map +1 -0
  51. package/dist/esm/wrapChildrenInText.native.js +45 -0
  52. package/dist/esm/wrapChildrenInText.native.js.map +1 -0
  53. package/dist/jsx/Emphasis.mjs +14 -0
  54. package/dist/jsx/Emphasis.mjs.map +1 -0
  55. package/dist/jsx/Emphasis.native.js +44 -0
  56. package/dist/jsx/Emphasis.native.js.map +1 -0
  57. package/dist/jsx/Headings.mjs +96 -0
  58. package/dist/jsx/Headings.mjs.map +1 -0
  59. package/dist/jsx/Headings.native.js +130 -0
  60. package/dist/jsx/Headings.native.js.map +1 -0
  61. package/dist/jsx/Paragraph.mjs +12 -0
  62. package/dist/jsx/Paragraph.mjs.map +1 -0
  63. package/dist/jsx/Paragraph.native.js +40 -0
  64. package/dist/jsx/Paragraph.native.js.map +1 -0
  65. package/dist/jsx/SizableText.mjs +33 -0
  66. package/dist/jsx/SizableText.mjs.map +1 -0
  67. package/dist/jsx/SizableText.native.js +61 -0
  68. package/dist/jsx/SizableText.native.js.map +1 -0
  69. package/dist/jsx/index.js +7 -0
  70. package/dist/jsx/index.js.map +1 -0
  71. package/dist/jsx/index.mjs +7 -0
  72. package/dist/jsx/index.mjs.map +1 -0
  73. package/dist/jsx/index.native.js +28 -0
  74. package/dist/jsx/index.native.js.map +1 -0
  75. package/dist/jsx/types.mjs +2 -0
  76. package/dist/jsx/types.mjs.map +1 -0
  77. package/dist/jsx/types.native.js +21 -0
  78. package/dist/jsx/types.native.js.map +1 -0
  79. package/dist/jsx/wrapChildrenInText.mjs +45 -0
  80. package/dist/jsx/wrapChildrenInText.mjs.map +1 -0
  81. package/dist/jsx/wrapChildrenInText.native.js +84 -0
  82. package/dist/jsx/wrapChildrenInText.native.js.map +1 -0
  83. package/package.json +13 -11
  84. package/src/Headings.tsx +6 -6
  85. package/src/SizableText.tsx +1 -1
  86. package/types/Emphasis.d.ts +3 -3
  87. package/types/Emphasis.d.ts.map +1 -0
  88. package/types/Headings.d.ts +7 -7
  89. package/types/Headings.d.ts.map +1 -0
  90. package/types/Paragraph.d.ts +1 -1
  91. package/types/Paragraph.d.ts.map +1 -0
  92. package/types/SizableText.d.ts +1 -1
  93. package/types/SizableText.d.ts.map +1 -0
  94. package/types/index.d.ts.map +1 -0
  95. package/types/types.d.ts.map +1 -0
  96. package/types/wrapChildrenInText.d.ts +1 -1
  97. package/types/wrapChildrenInText.d.ts.map +1 -0
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __copyProps = (to, from, except, desc) => {
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
10
+ get: () => from[key],
11
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
12
+ });
13
+ }
14
+ return to;
15
+ };
16
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
17
+ value: true
18
+ }), mod);
19
+ var types_exports = {};
20
+ module.exports = __toCommonJS(types_exports);
21
+ //# sourceMappingURL=types.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
@@ -0,0 +1,45 @@
1
+ import React from "react";
2
+ import { jsx } from "react/jsx-runtime";
3
+ function wrapChildrenInText(TextComponent, propsIn, extraProps) {
4
+ const {
5
+ children,
6
+ textProps,
7
+ size,
8
+ noTextWrap,
9
+ color,
10
+ fontFamily,
11
+ fontSize,
12
+ fontWeight,
13
+ letterSpacing,
14
+ textAlign,
15
+ fontStyle,
16
+ maxFontSizeMultiplier
17
+ } = propsIn;
18
+ if (noTextWrap || !children) {
19
+ return [children];
20
+ }
21
+ const props = {
22
+ ...extraProps
23
+ };
24
+ if (color) props.color = color;
25
+ if (fontFamily) props.fontFamily = fontFamily;
26
+ if (fontSize) props.fontSize = fontSize;
27
+ if (fontWeight) props.fontWeight = fontWeight;
28
+ if (letterSpacing) props.letterSpacing = letterSpacing;
29
+ if (textAlign) props.textAlign = textAlign;
30
+ if (size) props.size = size;
31
+ if (fontStyle) props.fontStyle = fontStyle;
32
+ if (maxFontSizeMultiplier) props.maxFontSizeMultiplier = maxFontSizeMultiplier;
33
+ return React.Children.toArray(children).map((child, index) => {
34
+ return typeof child === "string" ?
35
+ // so "data-disable-theme" is a hack to fix themeInverse, don't ask me why
36
+ /* @__PURE__ */
37
+ jsx(TextComponent, {
38
+ ...props,
39
+ ...textProps,
40
+ children: child
41
+ }, index) : child;
42
+ });
43
+ }
44
+ export { wrapChildrenInText };
45
+ //# sourceMappingURL=wrapChildrenInText.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","jsx","wrapChildrenInText","TextComponent","propsIn","extraProps","children","textProps","size","noTextWrap","color","fontFamily","fontSize","fontWeight","letterSpacing","textAlign","fontStyle","maxFontSizeMultiplier","props","Children","toArray","map","child","index"],"sources":["../../src/wrapChildrenInText.tsx"],"sourcesContent":[null],"mappings":"AACA,OAAOA,KAAA,MAAW;AAqDZ,SAAAC,GAAA;AA5CC,SAASC,mBACdC,aAAA,EACAC,OAAA,EAGAC,UAAA,EACA;EACA,M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object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
+ get: () => from[key],
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
+ value: mod,
31
+ enumerable: true
32
+ }) : target, mod));
33
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
34
+ value: true
35
+ }), mod);
36
+ var wrapChildrenInText_exports = {};
37
+ __export(wrapChildrenInText_exports, {
38
+ wrapChildrenInText: () => wrapChildrenInText
39
+ });
40
+ module.exports = __toCommonJS(wrapChildrenInText_exports);
41
+ var import_jsx_runtime = require("react/jsx-runtime");
42
+ var import_react = __toESM(require("react"), 1);
43
+ function wrapChildrenInText(TextComponent, propsIn, extraProps) {
44
+ var {
45
+ children,
46
+ textProps,
47
+ size,
48
+ noTextWrap,
49
+ color,
50
+ fontFamily,
51
+ fontSize,
52
+ fontWeight,
53
+ letterSpacing,
54
+ textAlign,
55
+ fontStyle,
56
+ maxFontSizeMultiplier
57
+ } = propsIn;
58
+ if (noTextWrap || !children) {
59
+ return [children];
60
+ }
61
+ var props = {
62
+ ...extraProps
63
+ };
64
+ if (color) props.color = color;
65
+ if (fontFamily) props.fontFamily = fontFamily;
66
+ if (fontSize) props.fontSize = fontSize;
67
+ if (fontWeight) props.fontWeight = fontWeight;
68
+ if (letterSpacing) props.letterSpacing = letterSpacing;
69
+ if (textAlign) props.textAlign = textAlign;
70
+ if (size) props.size = size;
71
+ if (fontStyle) props.fontStyle = fontStyle;
72
+ if (maxFontSizeMultiplier) props.maxFontSizeMultiplier = maxFontSizeMultiplier;
73
+ return import_react.default.Children.toArray(children).map(function (child, index) {
74
+ return typeof child === "string" ?
75
+ // so "data-disable-theme" is a hack to fix themeInverse, don't ask me why
76
+ /* @__PURE__ */
77
+ (0, import_jsx_runtime.jsx)(TextComponent, {
78
+ ...props,
79
+ ...textProps,
80
+ children: child
81
+ }, index) : child;
82
+ });
83
+ }
84
+ //# sourceMappingURL=wrapChildrenInText.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__create","Object","create","__defProp","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__getProtoOf","getPrototypeOf","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toESM","mod","isNodeMode","__esModule","value","__toCommonJS","wrapChildrenInText_exports","wrapChildrenInText","module","exports","import_jsx_runtime","require","import_react","TextComponent","propsIn","extraProps","children","textProps","size","noTextWrap","color","fontFamily","fontSize","fontWeight","letterSpacing","textAlign","fontStyle","maxFontSizeMultiplier"],"sources":["../../src/wrapChildrenInText.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAO;;AAqDD,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA;AA5CC,IAAAC,SAAS,GAAAF,MAAA,CAAAG,cACd;AAMA,IAAAC,gBAAM,GAAAJ,MAAA,CAAAK,wBAAA;AAAA,IACJC,iBAAA,GAAAN,MAAA,CAAAO,mBAAA;AAAA,IACAC,YAAA,GAAAR,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C,kBAAe,EAAAA,CAAA,KAAMA;AACrB;AAEAC,MAAA,CAAAC,OAAO,GAAMJ,YAAS,CAAAC,0BAA8B;AAClD,IAAAI,kBAAc,GAAAC,OAAU;AAAA,IAAAC,YAAA,GAAAZ,OAAA,CAAAW,OAAA;AAAA,SAEtBJ,kBAACA,CAAAM,aAAA,EAA2BC,OAAG,EAAAC,UAAW;EAE1C;IAEAC,QAAA;IAAAC,SAAA;IAAAC,IAAA;IAAAC,UAAA;IAAAC,KAAA;IAAAC,UAAA;IAAAC,QAAA;IAAAC,UAAA;IAAAC,aAAA;IAAAC,SAAA;IAAAC,SAAA;IAAAC;EAAA,IAAAb,OAAA;EAEJ,IAACK,UAAA,KAAAH,QAAA;IACH,Q","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/text",
3
- "version": "7.0.0",
3
+ "version": "7.3.1",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "source": "src/index.tsx",
6
6
  "files": [
@@ -31,22 +31,24 @@
31
31
  "access": "public"
32
32
  },
33
33
  "scripts": {
34
- "build": "hanzogui-build",
35
- "watch": "hanzogui-build --watch",
36
- "clean": "hanzogui-build clean",
37
- "clean:build": "hanzogui-build clean:build"
34
+ "build": "gui-build",
35
+ "watch": "gui-build --watch",
36
+ "clean": "gui-build clean",
37
+ "clean:build": "gui-build clean:build"
38
38
  },
39
39
  "dependencies": {
40
- "@hanzogui/get-font-sized": "^7.0.0",
41
- "@hanzogui/component-helpers": "^7.0.0",
42
- "@hanzogui/web": "^7.0.0"
40
+ "@hanzogui/get-font-sized": "7.3.1",
41
+ "@hanzogui/component-helpers": "7.3.1",
42
+ "@hanzogui/web": "7.3.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@hanzogui/build": "^7.0.0",
45
+ "@hanzogui/build": "7.3.1",
46
46
  "react": ">=19"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": ">=19"
50
50
  },
51
- "module:jsx": "dist/jsx"
52
- }
51
+ "module:jsx": "dist/jsx",
52
+ "license": "BSD-3-Clause",
53
+ "author": "Hanzo AI <dev@hanzo.ai>"
54
+ }
package/src/Headings.tsx CHANGED
@@ -27,7 +27,7 @@ export const H1 = styled(Heading, {
27
27
  } as const,
28
28
 
29
29
  defaultVariants: {
30
- unstyled: process.env.HANZOGUI_HEADLESS === '1' ? true : false,
30
+ unstyled: process.env.GUI_HEADLESS === '1' ? true : false,
31
31
  },
32
32
  })
33
33
 
@@ -44,7 +44,7 @@ export const H2 = styled(Heading, {
44
44
  } as const,
45
45
 
46
46
  defaultVariants: {
47
- unstyled: process.env.HANZOGUI_HEADLESS === '1' ? true : false,
47
+ unstyled: process.env.GUI_HEADLESS === '1' ? true : false,
48
48
  },
49
49
  })
50
50
 
@@ -61,7 +61,7 @@ export const H3 = styled(Heading, {
61
61
  } as const,
62
62
 
63
63
  defaultVariants: {
64
- unstyled: process.env.HANZOGUI_HEADLESS === '1' ? true : false,
64
+ unstyled: process.env.GUI_HEADLESS === '1' ? true : false,
65
65
  },
66
66
  })
67
67
 
@@ -78,7 +78,7 @@ export const H4 = styled(Heading, {
78
78
  } as const,
79
79
 
80
80
  defaultVariants: {
81
- unstyled: process.env.HANZOGUI_HEADLESS === '1' ? true : false,
81
+ unstyled: process.env.GUI_HEADLESS === '1' ? true : false,
82
82
  },
83
83
  })
84
84
 
@@ -95,7 +95,7 @@ export const H5 = styled(Heading, {
95
95
  } as const,
96
96
 
97
97
  defaultVariants: {
98
- unstyled: process.env.HANZOGUI_HEADLESS === '1' ? true : false,
98
+ unstyled: process.env.GUI_HEADLESS === '1' ? true : false,
99
99
  },
100
100
  })
101
101
 
@@ -112,6 +112,6 @@ export const H6 = styled(Heading, {
112
112
  } as const,
113
113
 
114
114
  defaultVariants: {
115
- unstyled: process.env.HANZOGUI_HEADLESS === '1' ? true : false,
115
+ unstyled: process.env.GUI_HEADLESS === '1' ? true : false,
116
116
  },
117
117
  })
@@ -18,7 +18,7 @@ export const SizableText = styled(Text, {
18
18
  },
19
19
 
20
20
  defaultVariants: {
21
- unstyled: process.env.HANZOGUI_HEADLESS === '1',
21
+ unstyled: process.env.GUI_HEADLESS === '1',
22
22
  },
23
23
  })
24
24
 
@@ -1,4 +1,4 @@
1
- export declare const Strong: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {}, import("@hanzogui/web").StaticConfigPublic>;
2
- export declare const Span: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {}, import("@hanzogui/web").StaticConfigPublic>;
3
- export declare const Em: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {}, import("@hanzogui/web").StaticConfigPublic>;
1
+ export declare const Strong: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {}, import("@hanzogui/web").StaticConfigPublic>;
2
+ export declare const Span: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {}, import("@hanzogui/web").StaticConfigPublic>;
3
+ export declare const Em: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {}, import("@hanzogui/web").StaticConfigPublic>;
4
4
  //# sourceMappingURL=Emphasis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Emphasis.d.ts","sourceRoot":"","sources":["../src/Emphasis.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,wPAGjB,CAAA;AAEF,eAAO,MAAM,IAAI,wPAEf,CAAA;AAEF,eAAO,MAAM,EAAE,wPAGb,CAAA"}
@@ -1,30 +1,30 @@
1
1
  import type { GetProps } from '@hanzogui/web';
2
- export declare const Heading: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
2
+ export declare const Heading: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
3
3
  unstyled?: boolean | undefined;
4
4
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
5
5
  }, import("@hanzogui/web").StaticConfigPublic>;
6
6
  export type HeadingProps = GetProps<typeof Heading>;
7
- export declare const H1: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
7
+ export declare const H1: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
8
8
  unstyled?: boolean | undefined;
9
9
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
10
10
  }, import("@hanzogui/web").StaticConfigPublic>;
11
- export declare const H2: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
11
+ export declare const H2: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
12
12
  unstyled?: boolean | undefined;
13
13
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
14
14
  }, import("@hanzogui/web").StaticConfigPublic>;
15
- export declare const H3: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
15
+ export declare const H3: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
16
16
  unstyled?: boolean | undefined;
17
17
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
18
18
  }, import("@hanzogui/web").StaticConfigPublic>;
19
- export declare const H4: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
19
+ export declare const H4: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
20
20
  unstyled?: boolean | undefined;
21
21
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
22
22
  }, import("@hanzogui/web").StaticConfigPublic>;
23
- export declare const H5: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
23
+ export declare const H5: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
24
24
  unstyled?: boolean | undefined;
25
25
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
26
26
  }, import("@hanzogui/web").StaticConfigPublic>;
27
- export declare const H6: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
27
+ export declare const H6: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
28
28
  unstyled?: boolean | undefined;
29
29
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
30
30
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Headings.d.ts","sourceRoot":"","sources":["../src/Headings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAK7C,eAAO,MAAM,OAAO;;;8CAOlB,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,EAAE;;;8CAeb,CAAA;AAEF,eAAO,MAAM,EAAE;;;8CAeb,CAAA;AAEF,eAAO,MAAM,EAAE;;;8CAeb,CAAA;AAEF,eAAO,MAAM,EAAE;;;8CAeb,CAAA;AAEF,eAAO,MAAM,EAAE;;;8CAeb,CAAA;AAEF,eAAO,MAAM,EAAE;;;8CAeb,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { GetProps } from '@hanzogui/web';
2
- export declare const Paragraph: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
2
+ export declare const Paragraph: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
3
3
  unstyled?: boolean | undefined;
4
4
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
5
5
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../src/Paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAK7C,eAAO,MAAM,SAAS;;;8CAOpB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { GetProps } from '@hanzogui/web';
2
- export declare const SizableText: import("@hanzogui/web").HanzoguiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
2
+ export declare const SizableText: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
3
3
  unstyled?: boolean | undefined;
4
4
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
5
5
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SizableText.d.ts","sourceRoot":"","sources":["../src/SizableText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,eAAO,MAAM,WAAW;;;8CAkBtB,CAAA;AAqBF,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,sBAAsB,CAAA;AACpC,cAAc,SAAS,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IACjC,UAAU,CAAC,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAA;IAC3C,QAAQ,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAA;IACvC,UAAU,CAAC,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;IACzC,aAAa,CAAC,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAA;IACjD,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;IACzC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAA;IACvC,qBAAqB,CAAC,EAAE,MAAM,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG;IAEjD,SAAS,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAA;IACrC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA"}
@@ -7,6 +7,6 @@ type Props = TextParentStyles & {
7
7
  };
8
8
  export declare function wrapChildrenInText(TextComponent: any, propsIn: Props & {
9
9
  unstyled?: boolean;
10
- }, extraProps?: Record<string, any>): React.ReactNode[] | (number | bigint | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element)[];
10
+ }, extraProps?: Record<string, any>): React.ReactNode[] | (number | bigint | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element)[];
11
11
  export {};
12
12
  //# sourceMappingURL=wrapChildrenInText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wrapChildrenInText.d.ts","sourceRoot":"","sources":["../src/wrapChildrenInText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE/C,KAAK,KAAK,GAAG,gBAAgB,GAAG;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,GAAG,EAClB,OAAO,EAAE,KAAK,GAAG;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,EACD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,qRA8CjC"}