@veevarts/design-system 0.1.22 → 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.
Potentially problematic release.
This version of @veevarts/design-system might be problematic. Click here for more details.
- package/dist/index.cjs +12 -12
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3657 -1561
- package/dist/patterns/DonationAmounts/DonationAmounts.d.ts +7 -0
- package/dist/patterns/DonationAmounts/DonationAmounts.test.d.ts +4 -0
- package/dist/patterns/DonationAmounts/index.d.ts +9 -0
- package/dist/patterns/DonationAmounts/types.d.ts +145 -0
- package/dist/patterns/DonationAmounts/utils/currency.d.ts +25 -0
- package/dist/patterns/EventDetails/EventDetails.d.ts +37 -0
- package/dist/patterns/EventDetails/EventDetails.test.d.ts +0 -0
- package/dist/patterns/EventDetails/index.d.ts +2 -0
- package/dist/patterns/ExpireCartTimer/ExpireCartTimer.d.ts +249 -0
- package/dist/patterns/ExpireCartTimer/ExpireCartTimer.test.d.ts +4 -0
- package/dist/patterns/ExpireCartTimer/index.d.ts +1 -0
- package/dist/patterns/Footer/Footer.d.ts +4 -21
- package/dist/patterns/Footer/Footer.test.d.ts +1 -0
- package/dist/patterns/Footer/index.d.ts +0 -1
- package/dist/patterns/Navbar/Navbar.d.ts +23 -7
- package/dist/patterns/Navbar/Navbar.test.d.ts +1 -0
- package/dist/patterns/OfferCard/OfferCard.d.ts +12 -0
- package/dist/patterns/OfferCard/OfferCard.test.d.ts +1 -0
- package/dist/patterns/OfferCard/OfferCardEmpty.d.ts +12 -0
- package/dist/patterns/OfferCard/OfferCardError.d.ts +12 -0
- package/dist/patterns/OfferCard/OfferCardList.d.ts +12 -0
- package/dist/patterns/OfferCard/OfferCardSkeleton.d.ts +12 -0
- package/dist/patterns/OfferCard/animations.d.ts +42 -0
- package/dist/patterns/OfferCard/examples/CustomQuantitySelectorExample.d.ts +1 -0
- package/dist/patterns/OfferCard/examples/ListWithEurosCurrencyExample.d.ts +1 -0
- package/dist/patterns/OfferCard/examples/ListWithoutAnimationExample.d.ts +1 -0
- package/dist/patterns/OfferCard/examples/index.d.ts +3 -0
- package/dist/patterns/OfferCard/index.d.ts +14 -0
- package/dist/patterns/OfferCard/types.d.ts +483 -0
- package/dist/patterns/OfferCard/utils/currency.d.ts +26 -0
- package/dist/patterns/OfferCard/utils/index.d.ts +2 -0
- package/dist/patterns/OfferCard/utils/offers.d.ts +3 -0
- package/dist/patterns/RichText/RichText.d.ts +1 -0
- package/dist/patterns/RichText/toolbar/Toolbar.d.ts +8 -1
- package/dist/patterns/RichText/toolbar/hooks/useToolbarCommands.d.ts +5 -1
- package/dist/patterns/RichText/toolbar/sections/TextFormattingSection.d.ts +5 -1
- package/dist/patterns/RichText/types/props.d.ts +8 -0
- package/dist/patterns/index.d.ts +8 -1
- package/dist/templates/ConfirmationPageTemplate/ConfirmationPageTemplate.d.ts +0 -2
- package/dist/templates/EventDetailsTemplate/EventDetailsTemplate.d.ts +0 -2
- package/dist/theme/index.d.ts +26 -2
- package/dist/tokens/colors.d.ts +33 -7
- package/package.json +16 -12
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NavbarProps } from '../../patterns/Navbar';
|
|
3
3
|
import { StepperProps } from '../../patterns/Stepper';
|
|
4
|
-
import { FooterProps } from '../../patterns/Footer';
|
|
5
4
|
export interface EventInfo {
|
|
6
5
|
title: string;
|
|
7
6
|
description: string;
|
|
@@ -16,7 +15,6 @@ export interface EventInfo {
|
|
|
16
15
|
}
|
|
17
16
|
export interface EventDetailsTemplateProps {
|
|
18
17
|
navbar?: NavbarProps;
|
|
19
|
-
footer?: FooterProps;
|
|
20
18
|
stepper?: StepperProps;
|
|
21
19
|
event: EventInfo;
|
|
22
20
|
primaryAction?: {
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -10,12 +10,36 @@ export declare const theme: {
|
|
|
10
10
|
readonly 200: "#fbd5c7";
|
|
11
11
|
readonly 300: "#f7b79f";
|
|
12
12
|
readonly 400: "#f18d68";
|
|
13
|
-
readonly 500:
|
|
13
|
+
readonly 500: {
|
|
14
|
+
readonly 50: "#fef5f1";
|
|
15
|
+
readonly 100: "#fde8e0";
|
|
16
|
+
readonly 200: "#fbd5c7";
|
|
17
|
+
readonly 300: "#f7b79f";
|
|
18
|
+
readonly 400: "#f18d68";
|
|
19
|
+
readonly 500: "#C14615";
|
|
20
|
+
readonly 600: "#a83b11";
|
|
21
|
+
readonly 700: "#8b2f0e";
|
|
22
|
+
readonly 800: "#73260d";
|
|
23
|
+
readonly 900: "#5f210c";
|
|
24
|
+
readonly DEFAULT: "#C14615";
|
|
25
|
+
};
|
|
14
26
|
readonly 600: "#a83b11";
|
|
15
27
|
readonly 700: "#8b2f0e";
|
|
16
28
|
readonly 800: "#73260d";
|
|
17
29
|
readonly 900: "#5f210c";
|
|
18
|
-
readonly DEFAULT:
|
|
30
|
+
readonly DEFAULT: {
|
|
31
|
+
readonly 50: "#fef5f1";
|
|
32
|
+
readonly 100: "#fde8e0";
|
|
33
|
+
readonly 200: "#fbd5c7";
|
|
34
|
+
readonly 300: "#f7b79f";
|
|
35
|
+
readonly 400: "#f18d68";
|
|
36
|
+
readonly 500: "#C14615";
|
|
37
|
+
readonly 600: "#a83b11";
|
|
38
|
+
readonly 700: "#8b2f0e";
|
|
39
|
+
readonly 800: "#73260d";
|
|
40
|
+
readonly 900: "#5f210c";
|
|
41
|
+
readonly DEFAULT: "#C14615";
|
|
42
|
+
};
|
|
19
43
|
};
|
|
20
44
|
readonly secondary: {
|
|
21
45
|
readonly 50: "#f9fafb";
|
package/dist/tokens/colors.d.ts
CHANGED
|
@@ -4,15 +4,26 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const colors: {
|
|
6
6
|
readonly brand: {
|
|
7
|
-
readonly primary:
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
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.
|
|
4
|
+
"version": "1.0.0-alpha.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -16,13 +16,15 @@
|
|
|
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",
|
|
22
23
|
"test:coverage": "vitest --coverage --run",
|
|
23
24
|
"storybook": "storybook dev -p 6006",
|
|
24
25
|
"build-storybook": "storybook build",
|
|
25
|
-
"deploy-storybook": "npm run build-storybook && npx vercel storybook-static --prod"
|
|
26
|
+
"deploy-storybook": "npm run build-storybook && npx vercel storybook-static --prod",
|
|
27
|
+
"prepublishOnly": "npm run test && npm run lint && npm run build"
|
|
26
28
|
},
|
|
27
29
|
"peerDependencies": {
|
|
28
30
|
"@heroui/react": ">=2.7.0",
|
|
@@ -44,6 +46,7 @@
|
|
|
44
46
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
45
47
|
},
|
|
46
48
|
"dependencies": {
|
|
49
|
+
"@iconify/react": "^6.0.2",
|
|
47
50
|
"vite-plugin-css-injected-by-js": "3.5.2",
|
|
48
51
|
"vite-plugin-dts": "4.5.4"
|
|
49
52
|
},
|
|
@@ -51,6 +54,15 @@
|
|
|
51
54
|
"@chromatic-com/storybook": "^4.1.3",
|
|
52
55
|
"@eslint/js": "^9.39.1",
|
|
53
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",
|
|
54
66
|
"@tiptap/extension-color": "^2.27.0",
|
|
55
67
|
"@tiptap/extension-highlight": "^2.27.2",
|
|
56
68
|
"@tiptap/extension-link": "^2.27.2",
|
|
@@ -62,16 +74,7 @@
|
|
|
62
74
|
"@tiptap/pm": "^2.27.0",
|
|
63
75
|
"@tiptap/react": "^2.27.0",
|
|
64
76
|
"@tiptap/starter-kit": "^2.27.0",
|
|
65
|
-
"
|
|
66
|
-
"@storybook/addon-a11y": "^10.0.8",
|
|
67
|
-
"@storybook/addon-docs": "^10.0.8",
|
|
68
|
-
"@storybook/addon-onboarding": "^10.0.8",
|
|
69
|
-
"@storybook/addon-vitest": "^10.0.8",
|
|
70
|
-
"@storybook/react-vite": "^10.0.8",
|
|
71
|
-
"@testing-library/jest-dom": "^6.9.1",
|
|
72
|
-
"@testing-library/react": "^16.3.1",
|
|
73
|
-
"@testing-library/user-event": "^14.6.1",
|
|
74
|
-
"@types/node": "^24.10.1",
|
|
77
|
+
"@types/node": "^24.10.9",
|
|
75
78
|
"@types/react": "^19.2.5",
|
|
76
79
|
"@types/react-dom": "^19.2.3",
|
|
77
80
|
"@vitejs/plugin-react": "^5.1.1",
|
|
@@ -85,6 +88,7 @@
|
|
|
85
88
|
"framer-motion": "^11.15.0",
|
|
86
89
|
"globals": "^16.5.0",
|
|
87
90
|
"jsdom": "^27.4.0",
|
|
91
|
+
"lucide-react": "^0.562.0",
|
|
88
92
|
"playwright": "^1.56.1",
|
|
89
93
|
"postcss": "^8.5.6",
|
|
90
94
|
"react": "19.2.3",
|