docthub-core-components 2.66.0 → 2.68.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 CHANGED
@@ -1,132 +1,132 @@
1
- {
2
- "name": "docthub-core-components",
3
- "version": "2.66.0",
4
- "type": "module",
5
- "main": "dist/index.cjs.js",
6
- "module": "dist/index.esm.js",
7
- "style": "dist/style.css",
8
- "types": "dist/index.d.ts",
9
- "files": [
10
- "dist"
11
- ],
12
- "exports": {
13
- ".": {
14
- "types": "./dist/index.d.ts",
15
- "import": "./dist/index.esm.js"
16
- },
17
- "./docthub-core-components.css": "./dist/style.css",
18
- "./style.css": "./dist/style.css",
19
- "./dist/*": "./dist/*"
20
- },
21
- "sideEffects": [
22
- "**/*.css"
23
- ],
24
- "peerDependencies": {
25
- "@base-ui/react": "^1.2.0",
26
- "class-variance-authority": "^0.7.1",
27
- "clsx": "^2.1.1",
28
- "cmdk": "^1.1.1",
29
- "dayjs": "1.11.13",
30
- "lucide-react": "^0.474.0",
31
- "react": "^19.0.0",
32
- "react-day-picker": "^9.7.0",
33
- "react-dom": "^19.0.0",
34
- "react-hook-form": "^7.58.1",
35
- "sonner": "^2.0.5",
36
- "tailwind-merge": "^3.0.1",
37
- "tailwindcss-animate": "^1.0.7",
38
- "vaul": "^1.1.2"
39
- },
40
- "scripts": {
41
- "dev": "vite",
42
- "build": "npm run build:css && vite build",
43
- "build:css": "postcss src/index.css -o dist/style.css --verbose",
44
- "lint": "biome lint .",
45
- "lint:fix": "biome lint --write .",
46
- "format": "biome format --write .",
47
- "format:check": "biome format .",
48
- "check": "biome check .",
49
- "check:fix": "biome check --write .",
50
- "check:fix:unsafe": "biome check --write --unsafe .",
51
- "biome:staged": "biome check --staged .",
52
- "biome:staged:write": "biome check --staged --write .",
53
- "type-check": "tsc -p tsconfig.typecheck.json",
54
- "preview": "vite preview",
55
- "storybook": "storybook dev -p 6006",
56
- "build-storybook": "storybook build",
57
- "postinstall": "node node_modules/esbuild/install.js || echo esbuild-install-skipped",
58
- "prepare": "husky",
59
- "test": "vitest",
60
- "test:run": "vitest run",
61
- "analyze": "vite build --config vite.analyze.config.ts",
62
- "build:registry": "node scripts/build-registry.mjs",
63
- "copy:registry": "node scripts/copy-registry.mjs",
64
- "sync:registry": "node scripts/build-and-sync-registry.mjs",
65
- "check-branch": "sh scripts/check-branch-name.sh"
66
- },
67
- "dependencies": {
68
- "@base-ui/react": "^1.2.0",
69
- "class-variance-authority": "^0.7.1",
70
- "clsx": "^2.1.1",
71
- "cmdk": "^1.1.1",
72
- "dayjs": "1.11.13",
73
- "force": "^0.0.3",
74
- "lucide-react": "^0.474.0",
75
- "react-compiler-runtime": "^1.0.0",
76
- "react-day-picker": "^9.7.0",
77
- "react-hook-form": "^7.58.1",
78
- "react-phone-number-input": "^3.4.14",
79
- "sonner": "^2.0.5",
80
- "tailwind-merge": "^3.0.1",
81
- "vaul": "^1.1.2",
82
- "vite-tsconfig-paths": "^5.1.4"
83
- },
84
- "devDependencies": {
85
- "@babel/preset-env": "^7.28.5",
86
- "@biomejs/biome": "^2.3.11",
87
- "@storybook/addon-docs": "9.1.10",
88
- "@storybook/react-vite": "9.1.10",
89
- "@tailwindcss/postcss": "^4.1.14",
90
- "@testing-library/jest-dom": "^6.6.3",
91
- "@testing-library/react": "^16.3.0",
92
- "@testing-library/user-event": "^14.6.1",
93
- "@types/estree": "1.0.0",
94
- "@types/node": "^22.13.1",
95
- "@types/react": "^19.2.0",
96
- "@types/react-dom": "^19.2.0",
97
- "@vitejs/plugin-react": "^4.7.0",
98
- "ajv": "^8.17.1",
99
- "autoprefixer": "^10.4.20",
100
- "babel-plugin-react-compiler": "^1.0.0",
101
- "class-variance-authority": "^0.7.1",
102
- "clsx": "^2.1.1",
103
- "cmdk": "^1.1.1",
104
- "cssnano": "^7.1.1",
105
- "dayjs": "1.11.13",
106
- "esbuild": "^0.19.12",
107
- "husky": "^9.1.7",
108
- "jsdom": "^26.1.0",
109
- "lucide-react": "^0.474.0",
110
- "picocolors": "^1.0.0",
111
- "postcss": "^8.5.1",
112
- "postcss-cli": "^11.0.1",
113
- "react": "^18.3.1",
114
- "react-day-picker": "^9.7.0",
115
- "react-dom": "^18.3.1",
116
- "react-hook-form": "^7.58.1",
117
- "rollup-plugin-postcss": "^4.0.2",
118
- "rollup-plugin-visualizer": "^6.0.3",
119
- "shadcn": "^2.7.0",
120
- "sonner": "^2.0.5",
121
- "storybook": "9.1.10",
122
- "tailwind-merge": "^3.0.1",
123
- "tailwindcss": "^3.4.16",
124
- "tailwindcss-animate": "^1.0.7",
125
- "typescript": "~5.6.2",
126
- "vaul": "^1.1.2",
127
- "vite": "^5.4.11",
128
- "vite-plugin-dts": "^4.5.4",
129
- "vite-tsconfig-paths": "^5.1.4",
130
- "vitest": "^2.1.4"
131
- }
132
- }
1
+ {
2
+ "name": "docthub-core-components",
3
+ "version": "2.68.0",
4
+ "type": "module",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.esm.js",
7
+ "style": "dist/style.css",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.esm.js"
16
+ },
17
+ "./docthub-core-components.css": "./dist/style.css",
18
+ "./style.css": "./dist/style.css",
19
+ "./dist/*": "./dist/*"
20
+ },
21
+ "sideEffects": [
22
+ "**/*.css"
23
+ ],
24
+ "peerDependencies": {
25
+ "@base-ui/react": "^1.2.0",
26
+ "class-variance-authority": "^0.7.1",
27
+ "clsx": "^2.1.1",
28
+ "cmdk": "^1.1.1",
29
+ "dayjs": "1.11.13",
30
+ "lucide-react": "^0.474.0",
31
+ "react": "^19.0.0",
32
+ "react-day-picker": "^9.7.0",
33
+ "react-dom": "^19.0.0",
34
+ "react-hook-form": "^7.58.1",
35
+ "sonner": "^2.0.5",
36
+ "tailwind-merge": "^3.0.1",
37
+ "tailwindcss-animate": "^1.0.7",
38
+ "vaul": "^1.1.2"
39
+ },
40
+ "scripts": {
41
+ "dev": "vite",
42
+ "build": "npm run build:css && vite build",
43
+ "build:css": "postcss src/index.css -o dist/style.css --verbose",
44
+ "lint": "biome lint .",
45
+ "lint:fix": "biome lint --write .",
46
+ "format": "biome format --write .",
47
+ "format:check": "biome format .",
48
+ "check": "biome check .",
49
+ "check:fix": "biome check --write .",
50
+ "check:fix:unsafe": "biome check --write --unsafe .",
51
+ "biome:staged": "biome check --staged .",
52
+ "biome:staged:write": "biome check --staged --write .",
53
+ "type-check": "tsc -p tsconfig.typecheck.json",
54
+ "preview": "vite preview",
55
+ "storybook": "storybook dev -p 6006",
56
+ "build-storybook": "storybook build",
57
+ "postinstall": "node node_modules/esbuild/install.js || echo esbuild-install-skipped",
58
+ "prepare": "husky",
59
+ "test": "vitest",
60
+ "test:run": "vitest run",
61
+ "analyze": "vite build --config vite.analyze.config.ts",
62
+ "build:registry": "node scripts/build-registry.mjs",
63
+ "copy:registry": "node scripts/copy-registry.mjs",
64
+ "sync:registry": "node scripts/build-and-sync-registry.mjs",
65
+ "check-branch": "sh scripts/check-branch-name.sh"
66
+ },
67
+ "dependencies": {
68
+ "@base-ui/react": "^1.2.0",
69
+ "class-variance-authority": "^0.7.1",
70
+ "clsx": "^2.1.1",
71
+ "cmdk": "^1.1.1",
72
+ "dayjs": "1.11.13",
73
+ "force": "^0.0.3",
74
+ "lucide-react": "^0.474.0",
75
+ "react-compiler-runtime": "^1.0.0",
76
+ "react-day-picker": "^9.7.0",
77
+ "react-hook-form": "^7.58.1",
78
+ "react-phone-number-input": "^3.4.14",
79
+ "sonner": "^2.0.5",
80
+ "tailwind-merge": "^3.0.1",
81
+ "vaul": "^1.1.2",
82
+ "vite-tsconfig-paths": "^5.1.4"
83
+ },
84
+ "devDependencies": {
85
+ "@babel/preset-env": "^7.28.5",
86
+ "@biomejs/biome": "^2.3.11",
87
+ "@storybook/addon-docs": "9.1.10",
88
+ "@storybook/react-vite": "9.1.10",
89
+ "@tailwindcss/postcss": "^4.1.14",
90
+ "@testing-library/jest-dom": "^6.6.3",
91
+ "@testing-library/react": "^16.3.0",
92
+ "@testing-library/user-event": "^14.6.1",
93
+ "@types/estree": "1.0.0",
94
+ "@types/node": "^22.13.1",
95
+ "@types/react": "^19.2.0",
96
+ "@types/react-dom": "^19.2.0",
97
+ "@vitejs/plugin-react": "^4.7.0",
98
+ "ajv": "^8.17.1",
99
+ "autoprefixer": "^10.4.20",
100
+ "babel-plugin-react-compiler": "^1.0.0",
101
+ "class-variance-authority": "^0.7.1",
102
+ "clsx": "^2.1.1",
103
+ "cmdk": "^1.1.1",
104
+ "cssnano": "^7.1.1",
105
+ "dayjs": "1.11.13",
106
+ "esbuild": "^0.19.12",
107
+ "husky": "^9.1.7",
108
+ "jsdom": "^26.1.0",
109
+ "lucide-react": "^0.474.0",
110
+ "picocolors": "^1.0.0",
111
+ "postcss": "^8.5.1",
112
+ "postcss-cli": "^11.0.1",
113
+ "react": "^18.3.1",
114
+ "react-day-picker": "^9.7.0",
115
+ "react-dom": "^18.3.1",
116
+ "react-hook-form": "^7.58.1",
117
+ "rollup-plugin-postcss": "^4.0.2",
118
+ "rollup-plugin-visualizer": "^6.0.3",
119
+ "shadcn": "^2.7.0",
120
+ "sonner": "^2.0.5",
121
+ "storybook": "9.1.10",
122
+ "tailwind-merge": "^3.0.1",
123
+ "tailwindcss": "^3.4.16",
124
+ "tailwindcss-animate": "^1.0.7",
125
+ "typescript": "~5.6.2",
126
+ "vaul": "^1.1.2",
127
+ "vite": "^5.4.11",
128
+ "vite-plugin-dts": "^4.5.4",
129
+ "vite-tsconfig-paths": "^5.1.4",
130
+ "vitest": "^2.1.4"
131
+ }
132
+ }
@@ -1,11 +0,0 @@
1
- import { NavigationMenuGroup } from './types';
2
- interface NavigationMenuDesktopProps {
3
- readonly groups: NavigationMenuGroup[];
4
- readonly className?: string;
5
- }
6
- /**
7
- * Desktop mega menu rendered at widths >= 1024px.
8
- * Uses fixed 16px side gutters for 1024-1279px and keeps centered max width on larger screens.
9
- */
10
- export declare function NavigationMenuDesktop({ groups, className }: NavigationMenuDesktopProps): import("react/jsx-runtime").JSX.Element | null;
11
- export {};
@@ -1,14 +0,0 @@
1
- import { MobileMenuCategory, NavigationMenuGroup } from './types';
2
- interface NavigationMenuMobileProps {
3
- /** Nested accordion: For Individuals, For Organizations, About Docthub. */
4
- readonly categories?: MobileMenuCategory[];
5
- /** Flat groups (custom / legacy). */
6
- readonly groups?: NavigationMenuGroup[];
7
- readonly className?: string;
8
- }
9
- /**
10
- * Mobile accordion menu. With categories: top-level "For Individuals", "For Organizations",
11
- * "About Docthub" — each expands to show nested groups. With flat groups: legacy single-level.
12
- */
13
- export declare function NavigationMenuMobile({ categories, groups, className }: NavigationMenuMobileProps): import("react/jsx-runtime").JSX.Element | null;
14
- export {};