@codecavepro/brand 1.1.0 → 1.3.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.
Files changed (37) hide show
  1. package/README.md +70 -5
  2. package/dist/src/assets/icons/asterisk-icon.vue +12 -0
  3. package/dist/src/assets/icons/back-icon.vue +13 -0
  4. package/dist/src/assets/icons/cart-icon.vue +16 -0
  5. package/dist/src/assets/icons/close-icon.vue +10 -0
  6. package/dist/src/assets/icons/cloud-icon.vue +13 -0
  7. package/dist/src/assets/icons/database-icon.vue +17 -0
  8. package/dist/src/assets/icons/lightning-icon.vue +13 -0
  9. package/dist/src/assets/icons/linkedin-icon.vue +17 -0
  10. package/dist/src/assets/icons/panorama-icon.vue +16 -0
  11. package/dist/src/assets/icons/shevron.vue +8 -0
  12. package/dist/src/assets/icons/success-icon.vue +43 -0
  13. package/dist/src/assets/icons/verified-icon.vue +10 -0
  14. package/dist/src/assets/icons/widget-icon.vue +18 -0
  15. package/dist/src/assets/images/logo.svg +13 -0
  16. package/dist/src/components/common/Button.vue +46 -0
  17. package/dist/src/components/common/Checkbox.vue +118 -0
  18. package/dist/src/components/common/GlowButton.vue +122 -0
  19. package/dist/src/components/common/InputText.vue +58 -0
  20. package/dist/src/components/common/Radio.vue +68 -0
  21. package/dist/src/components/common/TextField.vue +55 -0
  22. package/dist/src/components/common/effects/TypingEffect.vue +38 -0
  23. package/dist/src/components/common/forms/ContactUsForm.vue +243 -0
  24. package/dist/src/components/common/forms/ResearchForm.vue +56 -0
  25. package/dist/src/components/common/images/LazyImage.vue +72 -0
  26. package/dist/src/components/footer/link-group.vue +27 -0
  27. package/dist/src/components/footer/links.ts +52 -0
  28. package/dist/src/components/header/desktop-menu.vue +95 -0
  29. package/dist/src/components/header/menu.ts +41 -0
  30. package/dist/src/components/header/mobile-menu.vue +117 -0
  31. package/dist/src/components/header/services-list.vue +26 -0
  32. package/dist/src/components/homepage/technology-card.vue +95 -0
  33. package/dist/src/helpers/form-validator.ts +9 -0
  34. package/dist/src/helpers/paths.ts +25 -0
  35. package/dist/src/lib/crm/types.ts +62 -0
  36. package/dist/theme.css +81 -0
  37. package/package.json +15 -1
package/dist/theme.css ADDED
@@ -0,0 +1,81 @@
1
+ /* ==========================================================================
2
+ * CODECAVE Tailwind theme — @codecavepro/brand/theme.css
3
+ * --------------------------------------------------------------------------
4
+ * GENERATED from docs/source_examples/styles/global.css — do not edit.
5
+ *
6
+ * Declares the names Tailwind needs in order to emit CODECAVE utility
7
+ * classes: bg-surface-primary, text-heading-lg, rounded-card and the rest.
8
+ * Without it the components in this package mount and behave correctly and
9
+ * render nearly unstyled.
10
+ *
11
+ * IMPORT ORDER MATTERS, and this file is wrong without it:
12
+ *
13
+ * @import "tailwindcss";
14
+ * @import "@codecavepro/brand/tokens.css"; <- must come first,
15
+ * @import "@codecavepro/brand/theme.css"; and stay unlayered
16
+ *
17
+ * Several entries here are deliberate self-references (--x: var(--x)). They
18
+ * exist so Tailwind emits the utility; the value comes from tokens.css,
19
+ * whose unlayered :root outranks @layer theme. Import tokens.css inside a
20
+ * cascade layer, or not at all, and those names resolve to nothing.
21
+ * ======================================================================== */
22
+
23
+ @theme {
24
+
25
+ /* sizes */
26
+ --max-width-desktop: 1280px;
27
+ --breakpoint-sm: 457px;
28
+ --font-sans: Satoshi, sans-serif;
29
+ --text-heading-lg: 3.5rem;
30
+ --text-heading-lg--line-height: 130%;
31
+ --text-heading-md: 2.75rem;
32
+ --text-heading-md--line-height: 115%;
33
+ --text-heading-sm: 2rem;
34
+ --text-heading-sm--line-height: 110%;
35
+ --radius-custom: 2.75rem;
36
+
37
+ /* colors */
38
+
39
+ /* primary */
40
+ --color-primary-25: var(--color-brand-25);
41
+ --color-primary-50: var(--color-brand-50);
42
+ --color-primary-100: var(--color-brand-100);
43
+ --color-primary-200: var(--color-brand-200);
44
+ --color-primary-300: var(--color-brand-300);
45
+ --color-primary-400: var(--color-brand-400);
46
+ --color-primary-500: var(--color-brand-500); /* button primary*/
47
+ --color-primary-600: var(--color-brand-600);
48
+ --color-primary-700: var(--color-brand-700); /* button primary hover*/
49
+ --color-primary-800: var(--color-brand-800);
50
+ --color-primary-900: var(--color-brand-900); /* button primary active*/
51
+
52
+
53
+ /* once used? */
54
+ --color-glow-25: var(--color-glow-25);
55
+ --color-progress-0: var(--color-progress-0);
56
+ --color-technology-gradient-0: var(--color-technology-gradient-0);
57
+ --color-technology-gradient-25: var(--color-technology-gradient-25);
58
+ --color-technology-gradient-50: var(--color-technology-gradient-50);
59
+ --color-shadow-0: var(--color-shadow-0);
60
+ --color-failureproof-0: var(--color-gray-1000);
61
+
62
+ --color-heading: var(--color-gray-50);
63
+ --color-action: var(--color-brand-500);
64
+ --color-neutral: var(--color-gray-600);
65
+ --color-hovered: var(--color-brand-200);
66
+ --color-outline-primary-hover: var(--color-brand-800);
67
+ --color-body-primary: var(--color-gray-50);
68
+ --color-text-body-primary: var(--color-gray-200);
69
+ --color-body-secondary: var(--color-gray-500);
70
+ --color-body-secondary-lighter: var(--color-gray-300);
71
+ --color-surface-primary: var(--color-brand-950);
72
+ --color-surface-primary-hover: var(--color-gray-800);
73
+ --color-surface-secondary: var(--color-gray-1100); /* Surface/background-secondary*/
74
+ --color-surface-tertiary: var(--color-gray-900);
75
+ --color-surface-primary-transparent: hsl(from var(--color-surface-primary) h s l / 0.3);
76
+ --color-surface-quaternary: var(--color-gray-700);
77
+
78
+ --color-default-transparent: var(--color-gray-100);
79
+
80
+ --color-error: var(--color-error-300);
81
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codecavepro/brand",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "CODECAVE design system — colour, typography and layout tokens as CSS custom properties and as a typed module.",
5
5
  "license": "Unlicense",
6
6
  "type": "module",
@@ -26,12 +26,26 @@
26
26
  },
27
27
  "./css": "./dist/colors_and_type.css",
28
28
  "./tokens.css": "./dist/tokens.css",
29
+ "./theme.css": "./dist/theme.css",
29
30
  "./fonts.css": "./dist/fonts.css",
31
+ "./components/*": "./dist/src/components/*",
32
+ "./assets/*": "./dist/src/assets/*",
33
+ "./helpers/*": "./dist/src/helpers/*",
34
+ "./lib/*": "./dist/src/lib/*",
30
35
  "./package.json": "./package.json"
31
36
  },
32
37
  "files": [
33
38
  "dist"
34
39
  ],
40
+ "peerDependencies": {
41
+ "gsap": "^3.13.0",
42
+ "vue": "^3.5.22"
43
+ },
44
+ "peerDependenciesMeta": {
45
+ "gsap": {
46
+ "optional": true
47
+ }
48
+ },
35
49
  "scripts": {
36
50
  "build": "node scripts/build.mjs",
37
51
  "check": "node scripts/build.mjs --check",