@vasf/ragnar-web 1.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 (41) hide show
  1. package/dist/components/animated-counter.d.ts +98 -0
  2. package/dist/components/announcement-bar.d.ts +66 -0
  3. package/dist/components/app-download.d.ts +41 -0
  4. package/dist/components/bento-grid.d.ts +32 -0
  5. package/dist/components/blog-card.d.ts +38 -0
  6. package/dist/components/comparison-table.d.ts +37 -0
  7. package/dist/components/contact-form.d.ts +43 -0
  8. package/dist/components/content-spot.d.ts +17 -0
  9. package/dist/components/cookie-banner.d.ts +58 -0
  10. package/dist/components/cta-section.d.ts +21 -0
  11. package/dist/components/email-form.d.ts +18 -0
  12. package/dist/components/faq-accordion.d.ts +36 -0
  13. package/dist/components/feature-spot.d.ts +31 -0
  14. package/dist/components/footer.d.ts +23 -0
  15. package/dist/components/gradient-text.d.ts +45 -0
  16. package/dist/components/header-navigation.d.ts +18 -0
  17. package/dist/components/hero.d.ts +18 -0
  18. package/dist/components/logo-cloud.d.ts +19 -0
  19. package/dist/components/map-embed.d.ts +109 -0
  20. package/dist/components/marquee.d.ts +51 -0
  21. package/dist/components/newsletter.d.ts +21 -0
  22. package/dist/components/pricing-options.d.ts +29 -0
  23. package/dist/components/pricing-table.d.ts +23 -0
  24. package/dist/components/quote.d.ts +22 -0
  25. package/dist/components/shaders/index.d.ts +8 -0
  26. package/dist/components/shaders/shader-canvas-ogl.d.ts +18 -0
  27. package/dist/components/shaders/shader-canvas-r3f.d.ts +23 -0
  28. package/dist/components/shaders/shader-presets.d.ts +79 -0
  29. package/dist/components/shaders/types.d.ts +46 -0
  30. package/dist/components/social-proof.d.ts +64 -0
  31. package/dist/components/stats-section.d.ts +30 -0
  32. package/dist/components/team-section.d.ts +36 -0
  33. package/dist/components/testimonial.d.ts +31 -0
  34. package/dist/components/video-player.d.ts +83 -0
  35. package/dist/index.cjs +321 -0
  36. package/dist/index.d.ts +31 -0
  37. package/dist/index.js +5659 -0
  38. package/dist/lib/utils.d.ts +2 -0
  39. package/dist/styles.css +76 -0
  40. package/dist/test/setup.d.ts +1 -0
  41. package/package.json +80 -0
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,76 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ :root {
7
+ --background: 0 0% 100%;
8
+ --foreground: 222.2 84% 4.9%;
9
+
10
+ --card: 0 0% 100%;
11
+ --card-foreground: 222.2 84% 4.9%;
12
+
13
+ --popover: 0 0% 100%;
14
+ --popover-foreground: 222.2 84% 4.9%;
15
+
16
+ --primary: 222.2 47.4% 11.2%;
17
+ --primary-foreground: 210 40% 98%;
18
+
19
+ --secondary: 210 40% 96.1%;
20
+ --secondary-foreground: 222.2 47.4% 11.2%;
21
+
22
+ --muted: 210 40% 96.1%;
23
+ --muted-foreground: 215.4 16.3% 46.9%;
24
+
25
+ --accent: 210 40% 96.1%;
26
+ --accent-foreground: 222.2 47.4% 11.2%;
27
+
28
+ --destructive: 0 84.2% 60.2%;
29
+ --destructive-foreground: 210 40% 98%;
30
+
31
+ --border: 214.3 31.8% 91.4%;
32
+ --input: 214.3 31.8% 91.4%;
33
+ --ring: 222.2 84% 4.9%;
34
+
35
+ --radius: 0.5rem;
36
+ }
37
+
38
+ .dark {
39
+ --background: 222.2 84% 4.9%;
40
+ --foreground: 210 40% 98%;
41
+
42
+ --card: 222.2 84% 4.9%;
43
+ --card-foreground: 210 40% 98%;
44
+
45
+ --popover: 222.2 84% 4.9%;
46
+ --popover-foreground: 210 40% 98%;
47
+
48
+ --primary: 210 40% 98%;
49
+ --primary-foreground: 222.2 47.4% 11.2%;
50
+
51
+ --secondary: 217.2 32.6% 17.5%;
52
+ --secondary-foreground: 210 40% 98%;
53
+
54
+ --muted: 217.2 32.6% 17.5%;
55
+ --muted-foreground: 215 20.2% 65.1%;
56
+
57
+ --accent: 217.2 32.6% 17.5%;
58
+ --accent-foreground: 210 40% 98%;
59
+
60
+ --destructive: 0 62.8% 30.6%;
61
+ --destructive-foreground: 210 40% 98%;
62
+
63
+ --border: 217.2 32.6% 17.5%;
64
+ --input: 217.2 32.6% 17.5%;
65
+ --ring: 212.7 26.8% 83.9%;
66
+ }
67
+ }
68
+
69
+ @layer base {
70
+ * {
71
+ @apply border-border;
72
+ }
73
+ body {
74
+ @apply bg-background text-foreground;
75
+ }
76
+ }
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
package/package.json ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "@vasf/ragnar-web",
3
+ "version": "1.0.1",
4
+ "type": "module",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "require": "./dist/index.cjs",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./styles.css": "./dist/styles.css"
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "sideEffects": [
20
+ "**/*.css"
21
+ ],
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "scripts": {
26
+ "dev": "vite build --watch",
27
+ "build": "rm -rf dist && vite build && tsc -p tsconfig.build.json && cp src/styles.css dist/styles.css",
28
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
29
+ "storybook": "storybook dev -p 6007",
30
+ "build-storybook": "storybook build",
31
+ "test": "vitest run",
32
+ "test:watch": "vitest",
33
+ "test:coverage": "vitest run --coverage"
34
+ },
35
+ "peerDependencies": {
36
+ "react": "^18.0.0",
37
+ "react-dom": "^18.0.0",
38
+ "three": ">=0.150.0"
39
+ },
40
+ "peerDependenciesMeta": {
41
+ "three": {
42
+ "optional": true
43
+ }
44
+ },
45
+ "dependencies": {
46
+ "@vasf/ragnar-core": "workspace:*",
47
+ "@vasf/ragnar-tokens": "workspace:*",
48
+ "class-variance-authority": "^0.7.0",
49
+ "clsx": "^2.1.1",
50
+ "lucide-react": "^0.395.0",
51
+ "tailwind-merge": "^2.3.0"
52
+ },
53
+ "devDependencies": {
54
+ "@storybook/addon-essentials": "^8.1.10",
55
+ "@storybook/addon-interactions": "^8.1.10",
56
+ "@storybook/addon-links": "^8.1.10",
57
+ "@storybook/blocks": "^8.1.10",
58
+ "@storybook/react": "^8.1.10",
59
+ "@storybook/react-vite": "^8.1.10",
60
+ "@storybook/test": "^8.1.10",
61
+ "@testing-library/jest-dom": "^6.9.1",
62
+ "@testing-library/react": "^16.3.2",
63
+ "@testing-library/user-event": "^14.6.1",
64
+ "@types/node": "^20.14.2",
65
+ "@types/react": "^18.3.3",
66
+ "@types/react-dom": "^18.3.0",
67
+ "@vitejs/plugin-react": "^4.3.1",
68
+ "@vitest/coverage-v8": "^4.0.18",
69
+ "autoprefixer": "^10.4.19",
70
+ "jsdom": "^28.1.0",
71
+ "postcss": "^8.4.38",
72
+ "storybook": "^8.1.10",
73
+ "tailwindcss": "^3.4.4",
74
+ "tailwindcss-animate": "^1.0.7",
75
+ "typescript": "^5.4.5",
76
+ "vite": "^5.3.1",
77
+ "vite-plugin-dts": "^3.9.1",
78
+ "vitest": "^4.0.18"
79
+ }
80
+ }