@interactive-inc/docs-client 0.0.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 (91) hide show
  1. package/.tanstack/tmp/router-generator-Eq20Yx/50b11a0f488e61cf92364a7e585c1448 +123 -0
  2. package/.tanstack/tmp/router-generator-KQIYSa/aecb094e4891f9475b91de590abc8809 +117 -0
  3. package/.tanstack/tmp/router-generator-ekW2pI/aecb094e4891f9475b91de590abc8809 +117 -0
  4. package/app/components/archived-file-list-view.tsx +99 -0
  5. package/app/components/directory-file-list-view.tsx +32 -0
  6. package/app/components/directory-file-tree-node.tsx +96 -0
  7. package/app/components/directory-layout-sidebar.tsx +181 -0
  8. package/app/components/directory-page-view.tsx +208 -0
  9. package/app/components/directory-table-view.tsx +383 -0
  10. package/app/components/editable-table-cell/boolean-editable-cell.tsx +44 -0
  11. package/app/components/editable-table-cell/multi-boolean-editable-cell.tsx +59 -0
  12. package/app/components/editable-table-cell/multi-number-editable-cell.tsx +62 -0
  13. package/app/components/editable-table-cell/multi-relation-editable-cell.tsx +19 -0
  14. package/app/components/editable-table-cell/multi-select-number-editable-cell.tsx +82 -0
  15. package/app/components/editable-table-cell/multi-select-text-editable-cell.tsx +82 -0
  16. package/app/components/editable-table-cell/multi-text-editable-cell.tsx +62 -0
  17. package/app/components/editable-table-cell/number-editable-cell.tsx +54 -0
  18. package/app/components/editable-table-cell/relation-editable-cell.tsx +20 -0
  19. package/app/components/editable-table-cell/select-number-editable-cell.tsx +43 -0
  20. package/app/components/editable-table-cell/select-text-editable-cell.tsx +33 -0
  21. package/app/components/editable-table-cell/string-editable-cell.tsx +42 -0
  22. package/app/components/editable-table-cell.tsx +129 -0
  23. package/app/components/file-card.tsx +120 -0
  24. package/app/components/file-tree-icon.tsx +26 -0
  25. package/app/components/file-view/archive-restore-banner.tsx +86 -0
  26. package/app/components/file-view/csv-file-view.tsx +50 -0
  27. package/app/components/file-view/default-file-view.tsx +11 -0
  28. package/app/components/file-view/editable-csv-cell.tsx +37 -0
  29. package/app/components/file-view/editable-front-matter-view.tsx +105 -0
  30. package/app/components/file-view/file-csv-columns-view.tsx +181 -0
  31. package/app/components/file-view/file-csv-table.tsx +142 -0
  32. package/app/components/file-view/file-header.tsx +115 -0
  33. package/app/components/file-view/file-page-view.tsx +165 -0
  34. package/app/components/file-view/front-matter-input-field.tsx +157 -0
  35. package/app/components/file-view/front-matter-view.tsx +30 -0
  36. package/app/components/file-view/json-file-editor.tsx +38 -0
  37. package/app/components/file-view/markdown-file-view.tsx +71 -0
  38. package/app/components/file-view/multi-relation-select.tsx +129 -0
  39. package/app/components/file-view/render-front-matter-value.tsx +57 -0
  40. package/app/components/file-view/single-relation-select.tsx +41 -0
  41. package/app/components/file-view/sortable-csv-row.tsx +57 -0
  42. package/app/components/file-view/sortable-header.tsx +30 -0
  43. package/app/components/file-view/utils.ts +8 -0
  44. package/app/components/milestones-editor.tsx +95 -0
  45. package/app/components/page-header.tsx +20 -0
  46. package/app/components/project-view/feature-item.tsx +139 -0
  47. package/app/components/project-view/project-page-group.tsx +125 -0
  48. package/app/components/project-view/project-view.tsx +230 -0
  49. package/app/components/project-view/unlinked-features-section.tsx +73 -0
  50. package/app/components/providers.tsx +21 -0
  51. package/app/components/reload-button.tsx +25 -0
  52. package/app/components/sidebar-button.tsx +13 -0
  53. package/app/components/ui/alert.tsx +66 -0
  54. package/app/components/ui/badge.tsx +46 -0
  55. package/app/components/ui/button.tsx +59 -0
  56. package/app/components/ui/card.tsx +92 -0
  57. package/app/components/ui/dialog.tsx +133 -0
  58. package/app/components/ui/emoji-picker.tsx +133 -0
  59. package/app/components/ui/icons.tsx +3 -0
  60. package/app/components/ui/input.tsx +21 -0
  61. package/app/components/ui/select.tsx +183 -0
  62. package/app/components/ui/separator.tsx +26 -0
  63. package/app/components/ui/sheet.tsx +137 -0
  64. package/app/components/ui/sidebar.tsx +724 -0
  65. package/app/components/ui/simple-sidebar.tsx +50 -0
  66. package/app/components/ui/skeleton.tsx +13 -0
  67. package/app/components/ui/sonner.tsx +23 -0
  68. package/app/components/ui/table.tsx +114 -0
  69. package/app/components/ui/tabs.tsx +53 -0
  70. package/app/components/ui/textarea.tsx +18 -0
  71. package/app/components/ui/tooltip.tsx +59 -0
  72. package/app/components/vscode-button.tsx +23 -0
  73. package/app/hooks/use-directory-query.ts +22 -0
  74. package/app/hooks/use-file-properties-mutation.ts +38 -0
  75. package/app/hooks/use-file-query.ts +21 -0
  76. package/app/hooks/use-mobile.ts +19 -0
  77. package/app/main.css +122 -0
  78. package/app/main.tsx +38 -0
  79. package/app/routes/$.index.tsx +25 -0
  80. package/app/routes/$.tsx +20 -0
  81. package/app/routes/__root.tsx +20 -0
  82. package/app/routes/_index.tsx +17 -0
  83. package/app/routes/apps.client.$.tsx +21 -0
  84. package/build/assets/index.css +1 -0
  85. package/build/assets/index.js +298 -0
  86. package/build/index.d.ts +2 -0
  87. package/build/index.d.ts.map +1 -0
  88. package/build/index.js +23 -0
  89. package/components.json +21 -0
  90. package/package.json +54 -0
  91. package/tsconfig.index.json +17 -0
@@ -0,0 +1,2 @@
1
+ export declare const handlers: [import("hono/types").H<import("hono/types").Env, string, {}, Promise<Response>>];
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ,mFA4BnB,CAAA"}
package/build/index.js ADDED
@@ -0,0 +1,23 @@
1
+ import fs from "node:fs/promises";
2
+ import { createFactory } from "hono/factory";
3
+ const factory = createFactory();
4
+ export const handlers = factory.createHandlers(async (c) => {
5
+ if (c.req.path === "/assets/index.js") {
6
+ const text = await fs.readFile(`${__dirname}/../build/assets/index.js`, "utf-8");
7
+ return c.body(text, {
8
+ headers: {
9
+ "Content-Type": "application/javascript",
10
+ },
11
+ });
12
+ }
13
+ if (c.req.path === "/assets/index.css") {
14
+ const text = await fs.readFile(`${__dirname}/../build/assets/index.css`, "utf-8");
15
+ return c.body(text, {
16
+ headers: {
17
+ "Content-Type": "text/css",
18
+ },
19
+ });
20
+ }
21
+ const text = await fs.readFile(`${__dirname}/../build/index.html`, "utf-8");
22
+ return c.html(text);
23
+ });
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema.json",
3
+ "style": "new-york",
4
+ "rsc": false,
5
+ "tsx": true,
6
+ "tailwind": {
7
+ "config": "",
8
+ "css": "app/globals.css",
9
+ "baseColor": "neutral",
10
+ "cssVariables": true,
11
+ "prefix": ""
12
+ },
13
+ "aliases": {
14
+ "components": "@/components",
15
+ "utils": "@/lib/utils",
16
+ "ui": "@/components/ui",
17
+ "lib": "@/lib",
18
+ "hooks": "@/hooks"
19
+ },
20
+ "iconLibrary": "lucide"
21
+ }
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@interactive-inc/docs-client",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "scripts": {
6
+ "check": "tsgo --noEmit",
7
+ "dev": "bun --bun vite",
8
+ "build:app": "vite build",
9
+ "build": "vite build && tsgo -p tsconfig.index.json"
10
+ },
11
+ "dependencies": {
12
+ "@hono/node-server": "^1.14.4",
13
+ "hono": "^4.8.3"
14
+ },
15
+ "devDependencies": {
16
+ "@dnd-kit/core": "^6.3.1",
17
+ "@dnd-kit/modifiers": "^9.0.0",
18
+ "@dnd-kit/sortable": "^10.0.0",
19
+ "@dnd-kit/utilities": "^3.2.2",
20
+ "@tanstack/react-query": "^5.76.1",
21
+ "@tanstack/react-router": "^1.121.21",
22
+ "@interactive-inc/docs": "0.0.4",
23
+ "@interactive-inc/docs-router": "0.0.1",
24
+ "class-variance-authority": "^0.7.1",
25
+ "clsx": "^2.1.1",
26
+ "github-markdown-css": "^5.8.1",
27
+ "lucide-react": "^0.511.0",
28
+ "marked": "^15.0.12",
29
+ "next-themes": "^0.4.6",
30
+ "radix-ui": "^1.4.2",
31
+ "react": "^19.0.0",
32
+ "react-dom": "^19.0.0",
33
+ "sonner": "^2.0.5",
34
+ "tailwind-merge": "^3.3.0",
35
+ "tailwindcss-animate": "^1.0.7",
36
+ "@tailwindcss/postcss": "^4",
37
+ "@tailwindcss/vite": "^4.1.10",
38
+ "@tanstack/router-plugin": "^1.121.21",
39
+ "@tanstack/router-vite-plugin": "^1.121.21",
40
+ "@types/bun": "^1.2.13",
41
+ "@vitejs/plugin-react": "^4.5.2",
42
+ "tailwindcss": "^4",
43
+ "vite": "^6.3.5"
44
+ },
45
+ "publishConfig": {
46
+ "access": "public"
47
+ },
48
+ "main": "build/index.js",
49
+ "types": "build/index.d.ts",
50
+ "module": "build/index.js",
51
+ "exports": {
52
+ ".": "./build/index.js"
53
+ }
54
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true,
4
+ "declaration": true,
5
+ "declarationMap": true,
6
+ "esModuleInterop": true,
7
+ "forceConsistentCasingInFileNames": true,
8
+ "module": "esnext",
9
+ "moduleResolution": "bundler",
10
+ "outDir": "build",
11
+ "rootDir": "lib",
12
+ "skipLibCheck": true,
13
+ "strict": true,
14
+ "target": "esnext"
15
+ },
16
+ "include": ["lib/**/*.ts"]
17
+ }