@hanzogui/text 3.0.1 → 7.0.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/package.json +10 -10
- package/src/Headings.tsx +6 -6
- package/src/SizableText.tsx +1 -1
- package/types/Emphasis.d.ts +3 -3
- package/types/Headings.d.ts +22 -22
- package/types/Paragraph.d.ts +4 -4
- package/types/SizableText.d.ts +4 -4
- package/types/wrapChildrenInText.d.ts +1 -1
- package/dist/cjs/Emphasis.cjs +0 -39
- package/dist/cjs/Emphasis.native.js +0 -42
- package/dist/cjs/Emphasis.native.js.map +0 -1
- package/dist/cjs/Headings.cjs +0 -125
- package/dist/cjs/Headings.native.js +0 -128
- package/dist/cjs/Headings.native.js.map +0 -1
- package/dist/cjs/Paragraph.cjs +0 -35
- package/dist/cjs/Paragraph.native.js +0 -38
- package/dist/cjs/Paragraph.native.js.map +0 -1
- package/dist/cjs/SizableText.cjs +0 -54
- package/dist/cjs/SizableText.native.js +0 -57
- package/dist/cjs/SizableText.native.js.map +0 -1
- package/dist/cjs/index.cjs +0 -23
- package/dist/cjs/index.native.js +0 -26
- package/dist/cjs/index.native.js.map +0 -1
- package/dist/cjs/types.cjs +0 -16
- package/dist/cjs/types.native.js +0 -19
- package/dist/cjs/types.native.js.map +0 -1
- package/dist/cjs/wrapChildrenInText.cjs +0 -65
- package/dist/cjs/wrapChildrenInText.native.js +0 -71
- package/dist/cjs/wrapChildrenInText.native.js.map +0 -1
- package/dist/esm/Emphasis.mjs +0 -14
- package/dist/esm/Emphasis.mjs.map +0 -1
- package/dist/esm/Emphasis.native.js +0 -14
- package/dist/esm/Emphasis.native.js.map +0 -1
- package/dist/esm/Headings.mjs +0 -96
- package/dist/esm/Headings.mjs.map +0 -1
- package/dist/esm/Headings.native.js +0 -96
- package/dist/esm/Headings.native.js.map +0 -1
- package/dist/esm/Paragraph.mjs +0 -12
- package/dist/esm/Paragraph.mjs.map +0 -1
- package/dist/esm/Paragraph.native.js +0 -12
- package/dist/esm/Paragraph.native.js.map +0 -1
- package/dist/esm/SizableText.mjs +0 -31
- package/dist/esm/SizableText.mjs.map +0 -1
- package/dist/esm/SizableText.native.js +0 -31
- package/dist/esm/SizableText.native.js.map +0 -1
- package/dist/esm/index.js +0 -7
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs +0 -7
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js +0 -7
- package/dist/esm/index.native.js.map +0 -1
- package/dist/esm/types.mjs +0 -2
- package/dist/esm/types.mjs.map +0 -1
- package/dist/esm/types.native.js +0 -2
- package/dist/esm/types.native.js.map +0 -1
- package/dist/esm/wrapChildrenInText.mjs +0 -32
- package/dist/esm/wrapChildrenInText.mjs.map +0 -1
- package/dist/esm/wrapChildrenInText.native.js +0 -34
- package/dist/esm/wrapChildrenInText.native.js.map +0 -1
- package/dist/jsx/Emphasis.mjs +0 -14
- package/dist/jsx/Emphasis.mjs.map +0 -1
- package/dist/jsx/Emphasis.native.js +0 -42
- package/dist/jsx/Emphasis.native.js.map +0 -1
- package/dist/jsx/Headings.mjs +0 -96
- package/dist/jsx/Headings.mjs.map +0 -1
- package/dist/jsx/Headings.native.js +0 -128
- package/dist/jsx/Headings.native.js.map +0 -1
- package/dist/jsx/Paragraph.mjs +0 -12
- package/dist/jsx/Paragraph.mjs.map +0 -1
- package/dist/jsx/Paragraph.native.js +0 -38
- package/dist/jsx/Paragraph.native.js.map +0 -1
- package/dist/jsx/SizableText.mjs +0 -31
- package/dist/jsx/SizableText.mjs.map +0 -1
- package/dist/jsx/SizableText.native.js +0 -57
- package/dist/jsx/SizableText.native.js.map +0 -1
- package/dist/jsx/index.js +0 -7
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs +0 -7
- package/dist/jsx/index.mjs.map +0 -1
- package/dist/jsx/index.native.js +0 -26
- package/dist/jsx/index.native.js.map +0 -1
- package/dist/jsx/types.mjs +0 -2
- package/dist/jsx/types.mjs.map +0 -1
- package/dist/jsx/types.native.js +0 -19
- package/dist/jsx/types.native.js.map +0 -1
- package/dist/jsx/wrapChildrenInText.mjs +0 -32
- package/dist/jsx/wrapChildrenInText.mjs.map +0 -1
- package/dist/jsx/wrapChildrenInText.native.js +0 -71
- package/dist/jsx/wrapChildrenInText.native.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/text",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"files": [
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
|
-
"build": "
|
|
35
|
-
"watch": "
|
|
36
|
-
"clean": "
|
|
37
|
-
"clean:build": "
|
|
34
|
+
"build": "hanzogui-build",
|
|
35
|
+
"watch": "hanzogui-build --watch",
|
|
36
|
+
"clean": "hanzogui-build clean",
|
|
37
|
+
"clean:build": "hanzogui-build clean:build"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@hanzogui/get-font-sized": "
|
|
41
|
-
"@hanzogui/helpers": "
|
|
42
|
-
"@hanzogui/web": "
|
|
40
|
+
"@hanzogui/get-font-sized": "^7.0.0",
|
|
41
|
+
"@hanzogui/component-helpers": "^7.0.0",
|
|
42
|
+
"@hanzogui/web": "^7.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@hanzogui/build": "
|
|
45
|
+
"@hanzogui/build": "^7.0.0",
|
|
46
46
|
"react": ">=19"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": ">=19"
|
|
50
50
|
},
|
|
51
51
|
"module:jsx": "dist/jsx"
|
|
52
|
-
}
|
|
52
|
+
}
|
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.
|
|
30
|
+
unstyled: process.env.HANZOGUI_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.
|
|
47
|
+
unstyled: process.env.HANZOGUI_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.
|
|
64
|
+
unstyled: process.env.HANZOGUI_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.
|
|
81
|
+
unstyled: process.env.HANZOGUI_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.
|
|
98
|
+
unstyled: process.env.HANZOGUI_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.
|
|
115
|
+
unstyled: process.env.HANZOGUI_HEADLESS === '1' ? true : false,
|
|
116
116
|
},
|
|
117
117
|
})
|
package/src/SizableText.tsx
CHANGED
package/types/Emphasis.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Strong: import("@
|
|
2
|
-
export declare const Span: import("@
|
|
3
|
-
export declare const Em: import("@
|
|
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>;
|
|
4
4
|
//# sourceMappingURL=Emphasis.d.ts.map
|
package/types/Headings.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import type { GetProps } from '@
|
|
2
|
-
export declare const Heading: import("@
|
|
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, {
|
|
3
3
|
unstyled?: boolean | undefined;
|
|
4
|
-
size?: import("@
|
|
5
|
-
}, import("@
|
|
4
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
5
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
6
6
|
export type HeadingProps = GetProps<typeof Heading>;
|
|
7
|
-
export declare const H1: import("@
|
|
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, {
|
|
8
8
|
unstyled?: boolean | undefined;
|
|
9
|
-
size?: import("@
|
|
10
|
-
}, import("@
|
|
11
|
-
export declare const H2: import("@
|
|
9
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
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, {
|
|
12
12
|
unstyled?: boolean | undefined;
|
|
13
|
-
size?: import("@
|
|
14
|
-
}, import("@
|
|
15
|
-
export declare const H3: import("@
|
|
13
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
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, {
|
|
16
16
|
unstyled?: boolean | undefined;
|
|
17
|
-
size?: import("@
|
|
18
|
-
}, import("@
|
|
19
|
-
export declare const H4: import("@
|
|
17
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
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, {
|
|
20
20
|
unstyled?: boolean | undefined;
|
|
21
|
-
size?: import("@
|
|
22
|
-
}, import("@
|
|
23
|
-
export declare const H5: import("@
|
|
21
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
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, {
|
|
24
24
|
unstyled?: boolean | undefined;
|
|
25
|
-
size?: import("@
|
|
26
|
-
}, import("@
|
|
27
|
-
export declare const H6: import("@
|
|
25
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
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, {
|
|
28
28
|
unstyled?: boolean | undefined;
|
|
29
|
-
size?: import("@
|
|
30
|
-
}, import("@
|
|
29
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
30
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
31
31
|
//# sourceMappingURL=Headings.d.ts.map
|
package/types/Paragraph.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { GetProps } from '@
|
|
2
|
-
export declare const Paragraph: import("@
|
|
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, {
|
|
3
3
|
unstyled?: boolean | undefined;
|
|
4
|
-
size?: import("@
|
|
5
|
-
}, import("@
|
|
4
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
5
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
6
6
|
export type ParagraphProps = GetProps<typeof Paragraph>;
|
|
7
7
|
//# sourceMappingURL=Paragraph.d.ts.map
|
package/types/SizableText.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { GetProps } from '@
|
|
2
|
-
export declare const SizableText: import("@
|
|
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, {
|
|
3
3
|
unstyled?: boolean | undefined;
|
|
4
|
-
size?: import("@
|
|
5
|
-
}, import("@
|
|
4
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
5
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
6
6
|
export type SizableTextProps = GetProps<typeof SizableText>;
|
|
7
7
|
//# sourceMappingURL=SizableText.d.ts.map
|
package/dist/cjs/Emphasis.cjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var Emphasis_exports = {};
|
|
22
|
-
__export(Emphasis_exports, {
|
|
23
|
-
Em: () => Em,
|
|
24
|
-
Span: () => Span,
|
|
25
|
-
Strong: () => Strong
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(Emphasis_exports);
|
|
28
|
-
var import_gui_web = require("@hanzogui/web");
|
|
29
|
-
const Strong = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
30
|
-
render: "strong",
|
|
31
|
-
fontWeight: "bold"
|
|
32
|
-
}),
|
|
33
|
-
Span = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
34
|
-
render: "span"
|
|
35
|
-
}),
|
|
36
|
-
Em = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
37
|
-
render: "em",
|
|
38
|
-
fontStyle: "italic"
|
|
39
|
-
});
|
|
@@ -1,42 +0,0 @@
|
|
|
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 __export = (target, all) => {
|
|
8
|
-
for (var name in all) __defProp(target, name, {
|
|
9
|
-
get: all[name],
|
|
10
|
-
enumerable: !0
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
__copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
-
get: () => from[key],
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: !0
|
|
22
|
-
}), mod);
|
|
23
|
-
var Emphasis_exports = {};
|
|
24
|
-
__export(Emphasis_exports, {
|
|
25
|
-
Em: () => Em,
|
|
26
|
-
Span: () => Span,
|
|
27
|
-
Strong: () => Strong
|
|
28
|
-
});
|
|
29
|
-
module.exports = __toCommonJS(Emphasis_exports);
|
|
30
|
-
var import_gui_web = require("@hanzogui/web"),
|
|
31
|
-
Strong = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
32
|
-
render: "strong",
|
|
33
|
-
fontWeight: "bold"
|
|
34
|
-
}),
|
|
35
|
-
Span = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
36
|
-
render: "span"
|
|
37
|
-
}),
|
|
38
|
-
Em = (0, import_gui_web.styled)(import_gui_web.Text, {
|
|
39
|
-
render: "em",
|
|
40
|
-
fontStyle: "italic"
|
|
41
|
-
});
|
|
42
|
-
//# sourceMappingURL=Emphasis.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Emphasis_exports","__export","Em","Span","Strong","module","exports","import_gui_web","require","styled","Text","render","fontWeight","fontStyle"],"sources":["../../src/Emphasis.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,gBAAA;AAAAC,QAAA,CAAAD,gBAAA;EAAAE,EAAA,EAAAA,CAAA,KAAAA,EAAA;EAAAC,IAAA,EAAAA,CAAA,KAAAA,IAAA;EAAAC,MAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAX,YAA6B,CAAAK,gBAAA;AAEtB,IAAAO,cAAM,GAASC,OAAA,iBAAO;EAAAJ,MAAA,OAAAG,cAAM,CAAAE,MAAA,EAAAF,cAAA,CAAAG,IAAA;IACjCC,MAAA,EAAQ;IACRC,UAAA,EAAY;EACd,CAAC;EAEYT,IAAA,OAAOI,cAAA,CAAAE,MAAA,EAAOF,cAAA,CAAAG,IAAA,EAAM;IAC/BC,MAAA,EAAQ;EACV,CAAC;EAEYT,EAAA,OAAKK,cAAA,CAAAE,MAAA,EAAOF,cAAA,CAAAG,IAAA,EAAM;IAC7BC,MAAA,EAAQ;IACRE,SAAA,EAAW;EACb,CAAC","ignoreList":[]}
|
package/dist/cjs/Headings.cjs
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var Headings_exports = {};
|
|
22
|
-
__export(Headings_exports, {
|
|
23
|
-
H1: () => H1,
|
|
24
|
-
H2: () => H2,
|
|
25
|
-
H3: () => H3,
|
|
26
|
-
H4: () => H4,
|
|
27
|
-
H5: () => H5,
|
|
28
|
-
H6: () => H6,
|
|
29
|
-
Heading: () => Heading
|
|
30
|
-
});
|
|
31
|
-
module.exports = __toCommonJS(Headings_exports);
|
|
32
|
-
var import_gui_web = require("@hanzogui/web"),
|
|
33
|
-
import_Paragraph = require("./Paragraph.cjs");
|
|
34
|
-
const Heading = (0, import_gui_web.styled)(import_Paragraph.Paragraph, {
|
|
35
|
-
render: "span",
|
|
36
|
-
name: "Heading",
|
|
37
|
-
role: "heading",
|
|
38
|
-
fontFamily: "$heading",
|
|
39
|
-
size: "$8",
|
|
40
|
-
margin: 0
|
|
41
|
-
}),
|
|
42
|
-
H1 = (0, import_gui_web.styled)(Heading, {
|
|
43
|
-
name: "H1",
|
|
44
|
-
render: "h1",
|
|
45
|
-
variants: {
|
|
46
|
-
unstyled: {
|
|
47
|
-
false: {
|
|
48
|
-
size: "$10"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
defaultVariants: {
|
|
53
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
54
|
-
}
|
|
55
|
-
}),
|
|
56
|
-
H2 = (0, import_gui_web.styled)(Heading, {
|
|
57
|
-
name: "H2",
|
|
58
|
-
render: "h2",
|
|
59
|
-
variants: {
|
|
60
|
-
unstyled: {
|
|
61
|
-
false: {
|
|
62
|
-
size: "$9"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
defaultVariants: {
|
|
67
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
68
|
-
}
|
|
69
|
-
}),
|
|
70
|
-
H3 = (0, import_gui_web.styled)(Heading, {
|
|
71
|
-
name: "H3",
|
|
72
|
-
render: "h3",
|
|
73
|
-
variants: {
|
|
74
|
-
unstyled: {
|
|
75
|
-
false: {
|
|
76
|
-
size: "$8"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
defaultVariants: {
|
|
81
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
82
|
-
}
|
|
83
|
-
}),
|
|
84
|
-
H4 = (0, import_gui_web.styled)(Heading, {
|
|
85
|
-
name: "H4",
|
|
86
|
-
render: "h4",
|
|
87
|
-
variants: {
|
|
88
|
-
unstyled: {
|
|
89
|
-
false: {
|
|
90
|
-
size: "$7"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
defaultVariants: {
|
|
95
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
96
|
-
}
|
|
97
|
-
}),
|
|
98
|
-
H5 = (0, import_gui_web.styled)(Heading, {
|
|
99
|
-
name: "H5",
|
|
100
|
-
render: "h5",
|
|
101
|
-
variants: {
|
|
102
|
-
unstyled: {
|
|
103
|
-
false: {
|
|
104
|
-
size: "$6"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
defaultVariants: {
|
|
109
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
110
|
-
}
|
|
111
|
-
}),
|
|
112
|
-
H6 = (0, import_gui_web.styled)(Heading, {
|
|
113
|
-
name: "H6",
|
|
114
|
-
render: "h6",
|
|
115
|
-
variants: {
|
|
116
|
-
unstyled: {
|
|
117
|
-
false: {
|
|
118
|
-
size: "$5"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
defaultVariants: {
|
|
123
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
124
|
-
}
|
|
125
|
-
});
|
|
@@ -1,128 +0,0 @@
|
|
|
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 __export = (target, all) => {
|
|
8
|
-
for (var name in all) __defProp(target, name, {
|
|
9
|
-
get: all[name],
|
|
10
|
-
enumerable: !0
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
__copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
-
get: () => from[key],
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: !0
|
|
22
|
-
}), mod);
|
|
23
|
-
var Headings_exports = {};
|
|
24
|
-
__export(Headings_exports, {
|
|
25
|
-
H1: () => H1,
|
|
26
|
-
H2: () => H2,
|
|
27
|
-
H3: () => H3,
|
|
28
|
-
H4: () => H4,
|
|
29
|
-
H5: () => H5,
|
|
30
|
-
H6: () => H6,
|
|
31
|
-
Heading: () => Heading
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(Headings_exports);
|
|
34
|
-
var import_gui_web = require("@hanzogui/web"),
|
|
35
|
-
import_Paragraph = require("./Paragraph.native.js"),
|
|
36
|
-
Heading = (0, import_gui_web.styled)(import_Paragraph.Paragraph, {
|
|
37
|
-
render: "span",
|
|
38
|
-
name: "Heading",
|
|
39
|
-
role: "heading",
|
|
40
|
-
fontFamily: "$heading",
|
|
41
|
-
size: "$8",
|
|
42
|
-
margin: 0
|
|
43
|
-
}),
|
|
44
|
-
H1 = (0, import_gui_web.styled)(Heading, {
|
|
45
|
-
name: "H1",
|
|
46
|
-
render: "h1",
|
|
47
|
-
variants: {
|
|
48
|
-
unstyled: {
|
|
49
|
-
false: {
|
|
50
|
-
size: "$10"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
defaultVariants: {
|
|
55
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
56
|
-
}
|
|
57
|
-
}),
|
|
58
|
-
H2 = (0, import_gui_web.styled)(Heading, {
|
|
59
|
-
name: "H2",
|
|
60
|
-
render: "h2",
|
|
61
|
-
variants: {
|
|
62
|
-
unstyled: {
|
|
63
|
-
false: {
|
|
64
|
-
size: "$9"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
defaultVariants: {
|
|
69
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
70
|
-
}
|
|
71
|
-
}),
|
|
72
|
-
H3 = (0, import_gui_web.styled)(Heading, {
|
|
73
|
-
name: "H3",
|
|
74
|
-
render: "h3",
|
|
75
|
-
variants: {
|
|
76
|
-
unstyled: {
|
|
77
|
-
false: {
|
|
78
|
-
size: "$8"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
defaultVariants: {
|
|
83
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
84
|
-
}
|
|
85
|
-
}),
|
|
86
|
-
H4 = (0, import_gui_web.styled)(Heading, {
|
|
87
|
-
name: "H4",
|
|
88
|
-
render: "h4",
|
|
89
|
-
variants: {
|
|
90
|
-
unstyled: {
|
|
91
|
-
false: {
|
|
92
|
-
size: "$7"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
defaultVariants: {
|
|
97
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
98
|
-
}
|
|
99
|
-
}),
|
|
100
|
-
H5 = (0, import_gui_web.styled)(Heading, {
|
|
101
|
-
name: "H5",
|
|
102
|
-
render: "h5",
|
|
103
|
-
variants: {
|
|
104
|
-
unstyled: {
|
|
105
|
-
false: {
|
|
106
|
-
size: "$6"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
defaultVariants: {
|
|
111
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
112
|
-
}
|
|
113
|
-
}),
|
|
114
|
-
H6 = (0, import_gui_web.styled)(Heading, {
|
|
115
|
-
name: "H6",
|
|
116
|
-
render: "h6",
|
|
117
|
-
variants: {
|
|
118
|
-
unstyled: {
|
|
119
|
-
false: {
|
|
120
|
-
size: "$5"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
defaultVariants: {
|
|
125
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
//# sourceMappingURL=Headings.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Headings_exports","__export","H1","H2","H3","H4","H5","H6","Heading","module","exports","import_gui_web","require","import_Paragraph","styled","Paragraph","render","name","role","fontFamily","size","margin","variants","unstyled","false","defaultVariants","process","env","HANZO_GUI_HEADLESS"],"sources":["../../src/Headings.tsx"],"sourcesContent":[null],"mappings":"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","ignoreList":[]}
|
package/dist/cjs/Paragraph.cjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var Paragraph_exports = {};
|
|
22
|
-
__export(Paragraph_exports, {
|
|
23
|
-
Paragraph: () => Paragraph
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(Paragraph_exports);
|
|
26
|
-
var import_gui_web = require("@hanzogui/web"),
|
|
27
|
-
import_SizableText = require("./SizableText.cjs");
|
|
28
|
-
const Paragraph = (0, import_gui_web.styled)(import_SizableText.SizableText, {
|
|
29
|
-
name: "Paragraph",
|
|
30
|
-
render: "p",
|
|
31
|
-
userSelect: "auto",
|
|
32
|
-
color: "$color",
|
|
33
|
-
size: "$true",
|
|
34
|
-
whiteSpace: "normal"
|
|
35
|
-
});
|
|
@@ -1,38 +0,0 @@
|
|
|
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 __export = (target, all) => {
|
|
8
|
-
for (var name in all) __defProp(target, name, {
|
|
9
|
-
get: all[name],
|
|
10
|
-
enumerable: !0
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
__copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
-
get: () => from[key],
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: !0
|
|
22
|
-
}), mod);
|
|
23
|
-
var Paragraph_exports = {};
|
|
24
|
-
__export(Paragraph_exports, {
|
|
25
|
-
Paragraph: () => Paragraph
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(Paragraph_exports);
|
|
28
|
-
var import_gui_web = require("@hanzogui/web"),
|
|
29
|
-
import_SizableText = require("./SizableText.native.js"),
|
|
30
|
-
Paragraph = (0, import_gui_web.styled)(import_SizableText.SizableText, {
|
|
31
|
-
name: "Paragraph",
|
|
32
|
-
render: "p",
|
|
33
|
-
userSelect: "auto",
|
|
34
|
-
color: "$color",
|
|
35
|
-
size: "$true",
|
|
36
|
-
whiteSpace: "normal"
|
|
37
|
-
});
|
|
38
|
-
//# sourceMappingURL=Paragraph.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Paragraph_exports","__export","Paragraph","module","exports","import_gui_web","require","import_SizableText","styled","SizableText","name","render","userSelect","color","size","whiteSpace"],"sources":["../../src/Paragraph.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,iBAAA;AAAAC,QAAA,CAAAD,iBAAA;EAAAE,SAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAT,YAAuB,CAAAK,iBAAA,CAEvB;AAEO,IAAAK,cAAM,GAAAC,OAAY,iBAAO;EAAAC,kBAAA,GAAAD,OAAA,CAAa;EAAAJ,SAAA,OAAAG,cAAA,CAAAG,MAAA,EAAAD,kBAAA,CAAAE,WAAA;IAC3CC,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,UAAA,EAAY;IACZC,KAAA,EAAO;IACPC,IAAA,EAAM;IACNC,UAAA,EAAY;EACd,CAAC","ignoreList":[]}
|