@veevarts/design-system 1.0.0-alpha.4 → 1.0.0-alpha.8

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.

@@ -0,0 +1,2 @@
1
+ export { formatCurrency, parseCurrency } from './currency';
2
+ export * from './offers';
@@ -0,0 +1,3 @@
1
+ import { Offer } from '../types';
2
+ export declare const sampleOffer: Offer;
3
+ export declare const sampleOffers: Offer[];
@@ -6,7 +6,9 @@ export type { RichTextAreaProps } from './RichText';
6
6
  export { RichTextArea, RICH_TEXT_PRESETS } from './RichText';
7
7
  export { DonationAmounts } from './DonationAmounts';
8
8
  export { ExpireCartTimer } from './ExpireCartTimer';
9
+ export { OfferCard, OfferCardList, OfferCardSkeleton, OfferCardError, OfferCardEmpty, offerListVariants, offerCardVariants, formatCurrency as formatOfferCurrency, parseCurrency as parseOfferCurrency, } from './OfferCard';
9
10
  export type { NavbarProps, NavbarLink, NavbarLanguage } from './Navbar';
10
11
  export type { StepperProps } from './Stepper';
11
12
  export type { DonationAmountsProps, DonationAmount, SelectedDonation, DonationLabels } from './DonationAmounts';
12
13
  export type { ExpireCartTimerProps } from './ExpireCartTimer';
14
+ export type { Offer, OfferSelection, OfferCardLabels, OfferCardErrorLabels, OfferCardClassNames, OfferCardListClassNames, OfferCardSkeletonClassNames, OfferCardErrorClassNames, OfferCardEmptyClassNames, OfferCardSlots, OfferCardProps, OfferCardListProps, OfferCardSkeletonProps, OfferCardErrorProps, OfferCardEmptyProps, } from './OfferCard';
@@ -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: "#C14615";
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: "#C14615";
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";
@@ -23,12 +47,12 @@ export declare const theme: {
23
47
  readonly 200: "#e5e7eb";
24
48
  readonly 300: "#d1d5db";
25
49
  readonly 400: "#9ca3af";
26
- readonly 500: any;
50
+ readonly 500: "#000000";
27
51
  readonly 600: "#000000";
28
52
  readonly 700: "#000000";
29
53
  readonly 800: "#000000";
30
54
  readonly 900: "#000000";
31
- readonly DEFAULT: any;
55
+ readonly DEFAULT: "#000000";
32
56
  };
33
57
  };
34
58
  };
@@ -4,7 +4,19 @@
4
4
  */
5
5
  export declare const colors: {
6
6
  readonly brand: {
7
- readonly primary: "#C14615";
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
+ };
8
20
  };
9
21
  readonly semantic: {
10
22
  readonly secondary: "#000000";
@@ -29,5 +41,20 @@ export declare const colors: {
29
41
  readonly 900: "#111827";
30
42
  };
31
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
+ };
32
59
  };
33
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": "1.0.0-alpha.4",
4
+ "version": "1.0.0-alpha.8",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -74,7 +74,7 @@
74
74
  "@tiptap/pm": "^2.27.0",
75
75
  "@tiptap/react": "^2.27.0",
76
76
  "@tiptap/starter-kit": "^2.27.0",
77
- "@types/node": "^24.10.1",
77
+ "@types/node": "^24.10.9",
78
78
  "@types/react": "^19.2.5",
79
79
  "@types/react-dom": "^19.2.3",
80
80
  "@vitejs/plugin-react": "^5.1.1",