@thoughthub/hq 1.0.0 → 1.1.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.
- package/dist/Roxborough-CF_Regular-RKID7EPV.otf +0 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +43 -25
- package/dist/index.mjs +44 -26
- package/package.json +10 -8
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function CraftingCredit(): react_jsx_runtime.JSX.Element;
|
|
4
4
|
|
|
5
5
|
declare const THOUGHTHUB: {
|
|
6
6
|
name: string;
|
|
@@ -8,4 +8,4 @@ declare const THOUGHTHUB: {
|
|
|
8
8
|
};
|
|
9
9
|
declare const VERSION = "1.0.0";
|
|
10
10
|
|
|
11
|
-
export { CraftingCredit, THOUGHTHUB, VERSION };
|
|
11
|
+
export { CraftingCredit, THOUGHTHUB, VERSION, CraftingCredit as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function CraftingCredit(): react_jsx_runtime.JSX.Element;
|
|
4
4
|
|
|
5
5
|
declare const THOUGHTHUB: {
|
|
6
6
|
name: string;
|
|
@@ -8,4 +8,4 @@ declare const THOUGHTHUB: {
|
|
|
8
8
|
};
|
|
9
9
|
declare const VERSION = "1.0.0";
|
|
10
10
|
|
|
11
|
-
export { CraftingCredit, THOUGHTHUB, VERSION };
|
|
11
|
+
export { CraftingCredit, THOUGHTHUB, VERSION, CraftingCredit as default };
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,8 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
CraftingCredit: () => CraftingCredit,
|
|
24
24
|
THOUGHTHUB: () => THOUGHTHUB,
|
|
25
|
-
VERSION: () => VERSION
|
|
25
|
+
VERSION: () => VERSION,
|
|
26
|
+
default: () => CraftingCredit
|
|
26
27
|
});
|
|
27
28
|
module.exports = __toCommonJS(index_exports);
|
|
28
29
|
|
|
@@ -32,37 +33,54 @@ var import_react = require("react");
|
|
|
32
33
|
// src/assets/th-logo.png
|
|
33
34
|
var th_logo_default = "./th-logo-SIZX3HFF.png";
|
|
34
35
|
|
|
36
|
+
// src/assets/Roxborough-CF_Regular.otf
|
|
37
|
+
var Roxborough_CF_Regular_default = "./Roxborough-CF_Regular-RKID7EPV.otf";
|
|
38
|
+
|
|
35
39
|
// src/CraftingCredit.tsx
|
|
36
40
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
-
|
|
41
|
+
function CraftingCredit() {
|
|
38
42
|
const [logoSrc, setLogoSrc] = (0, import_react.useState)(
|
|
39
43
|
"https://cdn.thoughthubhq.com/th-logo.png"
|
|
40
44
|
);
|
|
41
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
{
|
|
51
|
-
|
|
52
|
-
alt: "ThoughtHub HQ Logo",
|
|
53
|
-
width: 36,
|
|
54
|
-
height: 36,
|
|
55
|
-
onError: () => setLogoSrc(th_logo_default)
|
|
45
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
46
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("style", { children: `
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: 'RoxboroughCF';
|
|
49
|
+
src: url(${Roxborough_CF_Regular_default}) format('opentype');
|
|
50
|
+
font-weight: bold;
|
|
51
|
+
font-style: normal;
|
|
52
|
+
font-display: swap;
|
|
53
|
+
}
|
|
54
|
+
.font-roxborough {
|
|
55
|
+
font-family: 'RoxboroughCF', serif;
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
` }),
|
|
58
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
59
|
+
"a",
|
|
60
|
+
{
|
|
61
|
+
href: "https://thoughthubhq.com",
|
|
62
|
+
target: "_blank",
|
|
63
|
+
rel: "noopener noreferrer",
|
|
64
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "group relative flex items-center gap-4 text-xs tracking-tight sm:text-sm cursor-pointer hover:scale-110 transition-transform duration-500 after:content-[''] after:absolute after:-bottom-2 after:left-0 after:h-0.5 after:w-full after:origin-left after:scale-x-0 hover:after:scale-x-100 after:transition-transform after:duration-500 after:ease-in-out after:bg-[#e7eacd]", children: [
|
|
65
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "shrink-0 pr-4 border-r border-neutral-200 transition-colors duration-300", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
66
|
+
"img",
|
|
67
|
+
{
|
|
68
|
+
src: logoSrc,
|
|
69
|
+
alt: "ThoughtHub HQ Logo",
|
|
70
|
+
width: 36,
|
|
71
|
+
height: 36,
|
|
72
|
+
onError: () => setLogoSrc(th_logo_default)
|
|
73
|
+
}
|
|
74
|
+
) }),
|
|
75
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col justify-center", children: [
|
|
76
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-[10px] uppercase tracking-widest text-neutral-500 font-bold leading-none mb-1", children: "Crafted by" }),
|
|
77
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "flex flex-col text-lg font-bold text-[#e7eacd] font-roxborough", children: "ThoughtHub" })
|
|
78
|
+
] })
|
|
61
79
|
] })
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
}
|
|
80
|
+
}
|
|
81
|
+
) })
|
|
82
|
+
] });
|
|
83
|
+
}
|
|
66
84
|
|
|
67
85
|
// src/index.ts
|
|
68
86
|
var THOUGHTHUB = {
|
package/dist/index.mjs
CHANGED
|
@@ -4,37 +4,54 @@ import { useState } from "react";
|
|
|
4
4
|
// src/assets/th-logo.png
|
|
5
5
|
var th_logo_default = "./th-logo-SIZX3HFF.png";
|
|
6
6
|
|
|
7
|
+
// src/assets/Roxborough-CF_Regular.otf
|
|
8
|
+
var Roxborough_CF_Regular_default = "./Roxborough-CF_Regular-RKID7EPV.otf";
|
|
9
|
+
|
|
7
10
|
// src/CraftingCredit.tsx
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
|
|
11
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
function CraftingCredit() {
|
|
10
13
|
const [logoSrc, setLogoSrc] = useState(
|
|
11
14
|
"https://cdn.thoughthubhq.com/th-logo.png"
|
|
12
15
|
);
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
{
|
|
23
|
-
|
|
24
|
-
alt: "ThoughtHub HQ Logo",
|
|
25
|
-
width: 36,
|
|
26
|
-
height: 36,
|
|
27
|
-
onError: () => setLogoSrc(th_logo_default)
|
|
16
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
17
|
+
/* @__PURE__ */ jsx("style", { children: `
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'RoxboroughCF';
|
|
20
|
+
src: url(${Roxborough_CF_Regular_default}) format('opentype');
|
|
21
|
+
font-weight: bold;
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-display: swap;
|
|
24
|
+
}
|
|
25
|
+
.font-roxborough {
|
|
26
|
+
font-family: 'RoxboroughCF', serif;
|
|
28
27
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
` }),
|
|
29
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
30
|
+
"a",
|
|
31
|
+
{
|
|
32
|
+
href: "https://thoughthubhq.com",
|
|
33
|
+
target: "_blank",
|
|
34
|
+
rel: "noopener noreferrer",
|
|
35
|
+
children: /* @__PURE__ */ jsxs("div", { className: "group relative flex items-center gap-4 text-xs tracking-tight sm:text-sm cursor-pointer hover:scale-110 transition-transform duration-500 after:content-[''] after:absolute after:-bottom-2 after:left-0 after:h-0.5 after:w-full after:origin-left after:scale-x-0 hover:after:scale-x-100 after:transition-transform after:duration-500 after:ease-in-out after:bg-[#e7eacd]", children: [
|
|
36
|
+
/* @__PURE__ */ jsx("div", { className: "shrink-0 pr-4 border-r border-neutral-200 transition-colors duration-300", children: /* @__PURE__ */ jsx(
|
|
37
|
+
"img",
|
|
38
|
+
{
|
|
39
|
+
src: logoSrc,
|
|
40
|
+
alt: "ThoughtHub HQ Logo",
|
|
41
|
+
width: 36,
|
|
42
|
+
height: 36,
|
|
43
|
+
onError: () => setLogoSrc(th_logo_default)
|
|
44
|
+
}
|
|
45
|
+
) }),
|
|
46
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center", children: [
|
|
47
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] uppercase tracking-widest text-neutral-500 font-bold leading-none mb-1", children: "Crafted by" }),
|
|
48
|
+
/* @__PURE__ */ jsx("span", { className: "flex flex-col text-lg font-bold text-[#e7eacd] font-roxborough", children: "ThoughtHub" })
|
|
49
|
+
] })
|
|
33
50
|
] })
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
}
|
|
51
|
+
}
|
|
52
|
+
) })
|
|
53
|
+
] });
|
|
54
|
+
}
|
|
38
55
|
|
|
39
56
|
// src/index.ts
|
|
40
57
|
var THOUGHTHUB = {
|
|
@@ -45,5 +62,6 @@ var VERSION = "1.0.0";
|
|
|
45
62
|
export {
|
|
46
63
|
CraftingCredit,
|
|
47
64
|
THOUGHTHUB,
|
|
48
|
-
VERSION
|
|
65
|
+
VERSION,
|
|
66
|
+
CraftingCredit as default
|
|
49
67
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thoughthub/hq",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "ThoughtHub
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "ThoughtHub Credit",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"build": "tsup"
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
15
|
+
"ThoughtHub",
|
|
16
|
+
"ThoughtHubHQ",
|
|
17
|
+
"Where Thoughts Take Shape",
|
|
18
|
+
"We don't just build, we CRAFT"
|
|
19
19
|
],
|
|
20
20
|
"author": "ThoughtHub",
|
|
21
21
|
"license": "ISC",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/react": "^19.2.14",
|
|
27
|
+
"tailwindcss": "^4.0.0",
|
|
27
28
|
"tsup": "^8.5.1",
|
|
28
29
|
"typescript": "^6.0.2"
|
|
29
30
|
},
|
|
@@ -32,6 +33,7 @@
|
|
|
32
33
|
"types": "./dist/index.d.ts",
|
|
33
34
|
"import": "./dist/index.mjs",
|
|
34
35
|
"require": "./dist/index.js"
|
|
35
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"./style.css": "./dist/style.css"
|
|
36
38
|
}
|
|
37
|
-
}
|
|
39
|
+
}
|