@thoughthub/hq 1.1.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/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
- declare const CraftingCredit: () => react_jsx_runtime.JSX.Element;
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 const CraftingCredit: () => react_jsx_runtime.JSX.Element;
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
 
@@ -37,7 +38,7 @@ var Roxborough_CF_Regular_default = "./Roxborough-CF_Regular-RKID7EPV.otf";
37
38
 
38
39
  // src/CraftingCredit.tsx
39
40
  var import_jsx_runtime = require("react/jsx-runtime");
40
- var CraftingCredit = () => {
41
+ function CraftingCredit() {
41
42
  const [logoSrc, setLogoSrc] = (0, import_react.useState)(
42
43
  "https://cdn.thoughthubhq.com/th-logo.png"
43
44
  );
@@ -54,38 +55,32 @@ var CraftingCredit = () => {
54
55
  font-family: 'RoxboroughCF', serif;
55
56
  }
56
57
  ` }),
57
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
58
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
58
59
  "a",
59
60
  {
60
61
  href: "https://thoughthubhq.com",
61
62
  target: "_blank",
62
63
  rel: "noopener noreferrer",
63
- className: "block w-fit no-underline",
64
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
65
- "div",
66
- {
67
- className: "group relative flex items-center gap-4 text-xs tracking-tight sm:text-sm cursor-pointer hover:scale-105 transition-transform duration-500 \n 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 \n after:bg-neutral-800 dark:after:bg-[#e7eacd]",
68
- children: [
69
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "shrink-0 pr-4 border-r border-neutral-200 dark:border-neutral-700 transition-colors duration-300", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
70
- "img",
71
- {
72
- src: logoSrc,
73
- alt: "ThoughtHub Logo",
74
- className: "w-9 h-9 object-contain",
75
- onError: () => setLogoSrc(th_logo_default)
76
- }
77
- ) }),
78
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col justify-center", children: [
79
- /* @__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" }),
80
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "flex flex-col text-lg font-bold text-neutral-900 dark:text-[#e7eacd] font-roxborough", children: "ThoughtHub" })
81
- ] })
82
- ]
83
- }
84
- )
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
+ ] })
79
+ ] })
85
80
  }
86
- )
81
+ ) })
87
82
  ] });
88
- };
83
+ }
89
84
 
90
85
  // src/index.ts
91
86
  var THOUGHTHUB = {
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ var Roxborough_CF_Regular_default = "./Roxborough-CF_Regular-RKID7EPV.otf";
9
9
 
10
10
  // src/CraftingCredit.tsx
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
- var CraftingCredit = () => {
12
+ function CraftingCredit() {
13
13
  const [logoSrc, setLogoSrc] = useState(
14
14
  "https://cdn.thoughthubhq.com/th-logo.png"
15
15
  );
@@ -26,38 +26,32 @@ var CraftingCredit = () => {
26
26
  font-family: 'RoxboroughCF', serif;
27
27
  }
28
28
  ` }),
29
- /* @__PURE__ */ jsx(
29
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
30
30
  "a",
31
31
  {
32
32
  href: "https://thoughthubhq.com",
33
33
  target: "_blank",
34
34
  rel: "noopener noreferrer",
35
- className: "block w-fit no-underline",
36
- children: /* @__PURE__ */ jsxs(
37
- "div",
38
- {
39
- className: "group relative flex items-center gap-4 text-xs tracking-tight sm:text-sm cursor-pointer hover:scale-105 transition-transform duration-500 \n 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 \n after:bg-neutral-800 dark:after:bg-[#e7eacd]",
40
- children: [
41
- /* @__PURE__ */ jsx("div", { className: "shrink-0 pr-4 border-r border-neutral-200 dark:border-neutral-700 transition-colors duration-300", children: /* @__PURE__ */ jsx(
42
- "img",
43
- {
44
- src: logoSrc,
45
- alt: "ThoughtHub Logo",
46
- className: "w-9 h-9 object-contain",
47
- onError: () => setLogoSrc(th_logo_default)
48
- }
49
- ) }),
50
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center", children: [
51
- /* @__PURE__ */ jsx("span", { className: "text-[10px] uppercase tracking-widest text-neutral-500 font-bold leading-none mb-1", children: "Crafted by" }),
52
- /* @__PURE__ */ jsx("span", { className: "flex flex-col text-lg font-bold text-neutral-900 dark:text-[#e7eacd] font-roxborough", children: "ThoughtHub" })
53
- ] })
54
- ]
55
- }
56
- )
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
+ ] })
50
+ ] })
57
51
  }
58
- )
52
+ ) })
59
53
  ] });
60
- };
54
+ }
61
55
 
62
56
  // src/index.ts
63
57
  var THOUGHTHUB = {
@@ -68,5 +62,6 @@ var VERSION = "1.0.0";
68
62
  export {
69
63
  CraftingCredit,
70
64
  THOUGHTHUB,
71
- VERSION
65
+ VERSION,
66
+ CraftingCredit as default
72
67
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughthub/hq",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "ThoughtHub Credit",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -12,10 +12,10 @@
12
12
  "build": "tsup"
13
13
  },
14
14
  "keywords": [
15
- "react",
16
- "ui",
17
- "footer",
18
- "thoughthub"
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
+ }