@veevarts/design-system 0.1.23 → 1.0.0-alpha.10

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 (45) hide show
  1. package/dist/components/index.d.ts +0 -1
  2. package/dist/index.cjs +12 -12
  3. package/dist/index.d.ts +2 -2
  4. package/dist/index.js +3491 -1521
  5. package/dist/patterns/DonationAmounts/index.d.ts +1 -1
  6. package/dist/patterns/EventDetails/EventDetails.d.ts +37 -0
  7. package/dist/patterns/EventDetails/EventDetails.test.d.ts +0 -0
  8. package/dist/patterns/EventDetails/index.d.ts +2 -0
  9. package/dist/patterns/ExpireCartTimer/ExpireCartTimer.d.ts +249 -0
  10. package/dist/patterns/ExpireCartTimer/ExpireCartTimer.test.d.ts +4 -0
  11. package/dist/patterns/ExpireCartTimer/index.d.ts +1 -0
  12. package/dist/patterns/Footer/Footer.d.ts +4 -21
  13. package/dist/patterns/Footer/Footer.test.d.ts +1 -0
  14. package/dist/patterns/Footer/index.d.ts +0 -1
  15. package/dist/patterns/Navbar/Navbar.d.ts +23 -7
  16. package/dist/patterns/Navbar/Navbar.test.d.ts +1 -0
  17. package/dist/patterns/OfferCard/OfferCard.d.ts +12 -0
  18. package/dist/patterns/OfferCard/OfferCard.test.d.ts +1 -0
  19. package/dist/patterns/OfferCard/OfferCardEmpty.d.ts +12 -0
  20. package/dist/patterns/OfferCard/OfferCardError.d.ts +12 -0
  21. package/dist/patterns/OfferCard/OfferCardList.d.ts +12 -0
  22. package/dist/patterns/OfferCard/OfferCardSkeleton.d.ts +12 -0
  23. package/dist/patterns/OfferCard/animations.d.ts +42 -0
  24. package/dist/patterns/OfferCard/examples/CustomQuantitySelectorExample.d.ts +1 -0
  25. package/dist/patterns/OfferCard/examples/ListWithEurosCurrencyExample.d.ts +1 -0
  26. package/dist/patterns/OfferCard/examples/ListWithoutAnimationExample.d.ts +1 -0
  27. package/dist/patterns/OfferCard/examples/index.d.ts +3 -0
  28. package/dist/patterns/OfferCard/index.d.ts +14 -0
  29. package/dist/patterns/OfferCard/types.d.ts +483 -0
  30. package/dist/patterns/OfferCard/utils/currency.d.ts +26 -0
  31. package/dist/patterns/OfferCard/utils/index.d.ts +2 -0
  32. package/dist/patterns/OfferCard/utils/offers.d.ts +3 -0
  33. package/dist/patterns/RichText/RichText.d.ts +1 -0
  34. package/dist/patterns/RichText/toolbar/Toolbar.d.ts +8 -1
  35. package/dist/patterns/RichText/toolbar/hooks/useToolbarCommands.d.ts +5 -1
  36. package/dist/patterns/RichText/toolbar/sections/TextFormattingSection.d.ts +5 -1
  37. package/dist/patterns/RichText/types/props.d.ts +8 -0
  38. package/dist/patterns/index.d.ts +6 -1
  39. package/dist/templates/ConfirmationPageTemplate/ConfirmationPageTemplate.d.ts +0 -2
  40. package/dist/templates/EventDetailsTemplate/EventDetailsTemplate.d.ts +0 -2
  41. package/dist/theme/index.d.ts +26 -2
  42. package/dist/tokens/colors.d.ts +33 -7
  43. package/package.json +15 -16
  44. package/dist/components/Footer/Footer.d.ts +0 -4
  45. package/dist/components/Footer/index.d.ts +0 -1
@@ -4,15 +4,26 @@
4
4
  */
5
5
  export declare const colors: {
6
6
  readonly brand: {
7
- readonly primary: "#C14615";
8
- readonly secondary: "#000000";
9
- readonly accent: "#F59E0B";
7
+ readonly primary: {
8
+ readonly 50: "#fef5f1";
9
+ readonly 100: "#fde8e0";
10
+ readonly 200: "#fbd5c7";
11
+ readonly 300: "#f7b79f";
12
+ readonly 400: "#f18d68";
13
+ readonly 500: "#C14615";
14
+ readonly 600: "#a83b11";
15
+ readonly 700: "#8b2f0e";
16
+ readonly 800: "#73260d";
17
+ readonly 900: "#5f210c";
18
+ readonly DEFAULT: "#C14615";
19
+ };
10
20
  };
11
21
  readonly semantic: {
12
- readonly success: "#10B981";
13
- readonly warning: "#F59E0B";
14
- readonly error: "#EF4444";
15
- readonly info: "#3B82F6";
22
+ readonly secondary: "#000000";
23
+ readonly success: "#057A54";
24
+ readonly warning: "#F5A524";
25
+ readonly danger: "#B62214";
26
+ readonly info: "#2563EB";
16
27
  };
17
28
  readonly neutral: {
18
29
  readonly white: "#FFFFFF";
@@ -30,5 +41,20 @@ export declare const colors: {
30
41
  readonly 900: "#111827";
31
42
  };
32
43
  };
44
+ readonly palettes: {
45
+ readonly secondary: {
46
+ readonly 50: "#f9fafb";
47
+ readonly 100: "#f3f4f6";
48
+ readonly 200: "#e5e7eb";
49
+ readonly 300: "#d1d5db";
50
+ readonly 400: "#9ca3af";
51
+ readonly 500: "#000000";
52
+ readonly 600: "#000000";
53
+ readonly 700: "#000000";
54
+ readonly 800: "#000000";
55
+ readonly 900: "#000000";
56
+ readonly DEFAULT: "#000000";
57
+ };
58
+ };
33
59
  };
34
60
  export type ColorToken = typeof colors;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@veevarts/design-system",
3
3
  "private": false,
4
- "version": "0.1.23",
4
+ "version": "1.0.0-alpha.10",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -16,6 +16,7 @@
16
16
  "preview": "vite preview",
17
17
  "test": "vitest --run",
18
18
  "test:watch": "vitest",
19
+ "test:storybook": "vitest --project storybook --run",
19
20
  "test:unit": "vitest --project unit --run",
20
21
  "test:unit:watch": "vitest --project unit",
21
22
  "test:ui": "vitest --ui",
@@ -23,11 +24,7 @@
23
24
  "storybook": "storybook dev -p 6006",
24
25
  "build-storybook": "storybook build",
25
26
  "deploy-storybook": "npm run build-storybook && npx vercel storybook-static --prod",
26
- "prepublishOnly": "npm run test && npm run lint && npm run build",
27
- "publish:patch": "npm version patch && npm publish && git push origin main --tags",
28
- "publish:minor": "npm version minor && npm publish && git push origin main --tags",
29
- "publish:major": "npm version major && npm publish && git push origin main --tags",
30
- "publish:beta": "npm version prerelease --preid=beta && npm publish --tag beta && git push origin main --tags"
27
+ "prepublishOnly": "npm run test && npm run lint && npm run build"
31
28
  },
32
29
  "peerDependencies": {
33
30
  "@heroui/react": ">=2.7.0",
@@ -49,6 +46,7 @@
49
46
  "react-dom": "^18.0.0 || ^19.0.0"
50
47
  },
51
48
  "dependencies": {
49
+ "@iconify/react": "^6.0.2",
52
50
  "vite-plugin-css-injected-by-js": "3.5.2",
53
51
  "vite-plugin-dts": "4.5.4"
54
52
  },
@@ -56,6 +54,15 @@
56
54
  "@chromatic-com/storybook": "^4.1.3",
57
55
  "@eslint/js": "^9.39.1",
58
56
  "@heroui/react": "^2.8.7",
57
+ "@storybook/addon-a11y": "^10.0.8",
58
+ "@storybook/addon-docs": "^10.0.8",
59
+ "@storybook/addon-onboarding": "^10.0.8",
60
+ "@storybook/addon-vitest": "^10.0.8",
61
+ "@storybook/react-vite": "^10.0.8",
62
+ "@tailwindcss/line-clamp": "^0.4.4",
63
+ "@testing-library/jest-dom": "^6.9.1",
64
+ "@testing-library/react": "^16.3.1",
65
+ "@testing-library/user-event": "^14.6.1",
59
66
  "@tiptap/extension-color": "^2.27.0",
60
67
  "@tiptap/extension-highlight": "^2.27.2",
61
68
  "@tiptap/extension-link": "^2.27.2",
@@ -67,16 +74,7 @@
67
74
  "@tiptap/pm": "^2.27.0",
68
75
  "@tiptap/react": "^2.27.0",
69
76
  "@tiptap/starter-kit": "^2.27.0",
70
- "lucide-react": "^0.562.0",
71
- "@storybook/addon-a11y": "^10.0.8",
72
- "@storybook/addon-docs": "^10.0.8",
73
- "@storybook/addon-onboarding": "^10.0.8",
74
- "@storybook/addon-vitest": "^10.0.8",
75
- "@storybook/react-vite": "^10.0.8",
76
- "@testing-library/jest-dom": "^6.9.1",
77
- "@testing-library/react": "^16.3.1",
78
- "@testing-library/user-event": "^14.6.1",
79
- "@types/node": "^24.10.1",
77
+ "@types/node": "^24.10.9",
80
78
  "@types/react": "^19.2.5",
81
79
  "@types/react-dom": "^19.2.3",
82
80
  "@vitejs/plugin-react": "^5.1.1",
@@ -90,6 +88,7 @@
90
88
  "framer-motion": "^11.15.0",
91
89
  "globals": "^16.5.0",
92
90
  "jsdom": "^27.4.0",
91
+ "lucide-react": "^0.562.0",
93
92
  "playwright": "^1.56.1",
94
93
  "postcss": "^8.5.6",
95
94
  "react": "19.2.3",
@@ -1,4 +0,0 @@
1
- /**
2
- * Footer Component
3
- */
4
- export declare function Footer(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export { Footer } from './Footer';