yt-uikit 0.9.13 → 0.9.15-loyalty-patch.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 (123) hide show
  1. package/README.md +94 -94
  2. package/dist/esm/atoms/bundleBuilderProductDetailsAtom.d.ts +4 -4
  3. package/dist/esm/atoms/cartDataAtom.d.ts +3 -3
  4. package/dist/esm/atoms/cartLoadingAtom.d.ts +22 -22
  5. package/dist/esm/atoms/cartTimer.d.ts +2 -2
  6. package/dist/esm/atoms/dateAtom.d.ts +1 -1
  7. package/dist/esm/atoms/freebieClaimModalAtom.d.ts +7 -7
  8. package/dist/esm/atoms/giftWrap.d.ts +2 -2
  9. package/dist/esm/atoms/gstCompanyNameAtom.d.ts +1 -1
  10. package/dist/esm/atoms/gstInputAtom.d.ts +1 -1
  11. package/dist/esm/atoms/maxQtyErrorAtom.d.ts +3 -3
  12. package/dist/esm/atoms/multiClaimSelectionAtom.d.ts +25 -25
  13. package/dist/esm/atoms/noteInputAtom.d.ts +3 -3
  14. package/dist/esm/atoms/postalCodeAtom.d.ts +1 -1
  15. package/dist/esm/atoms/shippingAtom.d.ts +8 -8
  16. package/dist/esm/atoms/showGSTInputAtom.d.ts +1 -1
  17. package/dist/esm/atoms/variantSelectionModalAtom.d.ts +25 -25
  18. package/dist/esm/components/BundleBlock/Bundle.d.ts +446 -446
  19. package/dist/esm/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +50 -50
  20. package/dist/esm/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -9
  21. package/dist/esm/components/BundleBlock/BundleBuilder/SortAndFilter.d.ts +74 -74
  22. package/dist/esm/components/BundleBlock/BundleBuilder/VariantOptionsModal.d.ts +28 -28
  23. package/dist/esm/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +37 -37
  24. package/dist/esm/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +55 -55
  25. package/dist/esm/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +77 -77
  26. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +37 -37
  27. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
  28. package/dist/esm/components/BundleBlock/CollectionBundle/CategoryFilter.d.ts +10 -10
  29. package/dist/esm/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +127 -127
  30. package/dist/esm/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +16 -16
  31. package/dist/esm/components/BundleBlock/ComboBundle.d.ts +17 -17
  32. package/dist/esm/components/BundleBlock/FixedBundle/FixedBundle.d.ts +4 -4
  33. package/dist/esm/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +45 -45
  34. package/dist/esm/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +22 -22
  35. package/dist/esm/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +80 -80
  36. package/dist/esm/components/BundleBlock/Loader.d.ts +5 -5
  37. package/dist/esm/components/BundleBlock/MixAndMatchBundle/MixAndMatchBundle.d.ts +9 -9
  38. package/dist/esm/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +86 -86
  39. package/dist/esm/components/BundleBlock/PersonalizationForm/PersonalizationForm.d.ts +35 -35
  40. package/dist/esm/components/BundleBlock/PersonalizationForm/PersonalizationFormModal.d.ts +24 -24
  41. package/dist/esm/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +27 -27
  42. package/dist/esm/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +80 -80
  43. package/dist/esm/components/BundleBlock/index.d.ts +1 -1
  44. package/dist/esm/components/Cart/ApplyCoupon.d.ts +13 -13
  45. package/dist/esm/components/Cart/Bundle.d.ts +6 -6
  46. package/dist/esm/components/Cart/Cart.d.ts +246 -246
  47. package/dist/esm/components/Cart/CartDrawer.d.ts +26 -26
  48. package/dist/esm/components/Cart/CartOffersCarousel.d.ts +48 -48
  49. package/dist/esm/components/Cart/CartProductsList.d.ts +45 -45
  50. package/dist/esm/components/Cart/CartTimer.d.ts +8 -8
  51. package/dist/esm/components/Cart/CheckoutSection.d.ts +47 -47
  52. package/dist/esm/components/Cart/CouponSelection.d.ts +17 -17
  53. package/dist/esm/components/Cart/DatePicker.d.ts +10 -10
  54. package/dist/esm/components/Cart/EmptyCart.d.ts +33 -33
  55. package/dist/esm/components/Cart/FloatingCart.d.ts +24 -24
  56. package/dist/esm/components/Cart/FooterSections.d.ts +6 -6
  57. package/dist/esm/components/Cart/FreebieClaimManager.d.ts +17 -17
  58. package/dist/esm/components/Cart/FreebieClaimOverlay.d.ts +17 -17
  59. package/dist/esm/components/Cart/FreebieClaimOverlayCard.d.ts +10 -10
  60. package/dist/esm/components/Cart/FreebieClaimSection.d.ts +17 -17
  61. package/dist/esm/components/Cart/FreebieClaimSectionCard.d.ts +16 -16
  62. package/dist/esm/components/Cart/GSTSection.d.ts +15 -15
  63. package/dist/esm/components/Cart/GiftWrap.d.ts +15 -15
  64. package/dist/esm/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
  65. package/dist/esm/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
  66. package/dist/esm/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
  67. package/dist/esm/components/Cart/LoyaltyBadge.d.ts +10 -10
  68. package/dist/esm/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
  69. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
  70. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
  71. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
  72. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
  73. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
  74. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +45 -45
  75. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +6 -6
  76. package/dist/esm/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
  77. package/dist/esm/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
  78. package/dist/esm/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
  79. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
  80. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
  81. package/dist/esm/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
  82. package/dist/esm/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
  83. package/dist/esm/components/Cart/NextFreebieRow.d.ts +19 -19
  84. package/dist/esm/components/Cart/NoteSection.d.ts +8 -8
  85. package/dist/esm/components/Cart/ProductCard.d.ts +30 -30
  86. package/dist/esm/components/Cart/ProductRecCard.d.ts +20 -20
  87. package/dist/esm/components/Cart/ProductRecList.d.ts +23 -23
  88. package/dist/esm/components/Cart/ProgressBarCartLoader.d.ts +7 -7
  89. package/dist/esm/components/Cart/QuantitySelector.d.ts +12 -12
  90. package/dist/esm/components/Cart/RegionSpecificDelivery.d.ts +17 -17
  91. package/dist/esm/components/Cart/RewardPointsPreview.d.ts +10 -10
  92. package/dist/esm/components/Cart/StandardDelivery.d.ts +11 -11
  93. package/dist/esm/components/Cart/StealDealSection.d.ts +14 -14
  94. package/dist/esm/components/Cart/StickyCart.d.ts +64 -64
  95. package/dist/esm/components/Cart/SubtotalSection.d.ts +13 -13
  96. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +19 -19
  97. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
  98. package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +19 -19
  99. package/dist/esm/components/Cart/index.d.ts +1 -1
  100. package/dist/esm/components/Loyalty/Loader.d.ts +10 -10
  101. package/dist/esm/components/Loyalty/LoyaltyProductCatalog.d.ts +60 -60
  102. package/dist/esm/components/Loyalty/index.d.ts +2 -2
  103. package/dist/esm/components/LoyaltyPageBlock/LoyaltyPageBlock.d.ts +64 -64
  104. package/dist/esm/components/Nudge/LeadGenerationNudge.d.ts +15 -15
  105. package/dist/esm/components/Nudge/Nudge.d.ts +40 -40
  106. package/dist/esm/components/Nudge/index.d.ts +1 -1
  107. package/dist/esm/components/ProductOffersBlock/ProductOffersCoupon.d.ts +12 -12
  108. package/dist/esm/components/ProductOffersBlock/ProductOffersList.d.ts +12 -12
  109. package/dist/esm/components/ProductOffersBlock/ProductOffersTermsMobilePopover.d.ts +10 -10
  110. package/dist/esm/components/ProductOffersBlock/ProductOffersTermsPopup.d.ts +10 -10
  111. package/dist/esm/components/ProductOffersBlock/ProductsOffers.d.ts +42 -42
  112. package/dist/esm/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
  113. package/dist/esm/components/SpinnerWheel/WheelSection.d.ts +9 -9
  114. package/dist/esm/components/SpinnerWheel/index.d.ts +1 -1
  115. package/dist/esm/components/index.d.ts +9 -9
  116. package/dist/esm/index.d.ts +1 -1
  117. package/dist/esm/index.js +97 -97
  118. package/dist/esm/utils/converter.d.ts +2 -2
  119. package/dist/esm/utils/customVariantOptions.d.ts +20 -20
  120. package/dist/esm/utils/freebieProductUtils.d.ts +28 -28
  121. package/dist/esm/utils/freebieUtils.d.ts +5 -5
  122. package/dist/esm/utils/index.d.ts +14 -14
  123. package/package.json +96 -96
@@ -1,2 +1,2 @@
1
- export declare const getCurrencyValueFromShopifyPrice: (price: number, currency: string) => number;
2
- export declare const getCurrencySymbol: (cartData: any, currency?: string) => string;
1
+ export declare const getCurrencyValueFromShopifyPrice: (price: number, currency: string) => number;
2
+ export declare const getCurrencySymbol: (cartData: any, currency?: string) => string;
@@ -1,20 +1,20 @@
1
- export interface CustomVariantValue {
2
- name: string;
3
- value: string;
4
- }
5
- export interface CustomVariantOption {
6
- id?: string;
7
- name: string;
8
- type?: "text" | "image" | "color" | string;
9
- values: CustomVariantValue[];
10
- }
11
- export interface CustomVariantOptions {
12
- options: CustomVariantOption[];
13
- }
14
- export declare const normalizeVariantLabel: (label?: string) => string;
15
- export declare const extractHexFromLabel: (label?: string) => string | null;
16
- export declare const loadCustomVariantOptions: () => CustomVariantOptions | null;
17
- export declare const saveCustomVariantOptions: (input: CustomVariantOptions | CustomVariantOption[]) => void;
18
- export declare const clearCustomVariantOptions: () => void;
19
- export declare const findMatchingCustomVariantValue: (customOption: CustomVariantOption | undefined, optionValue?: string) => CustomVariantValue | undefined;
20
- export declare const useCustomVariantOptions: () => CustomVariantOptions | null;
1
+ export interface CustomVariantValue {
2
+ name: string;
3
+ value: string;
4
+ }
5
+ export interface CustomVariantOption {
6
+ id?: string;
7
+ name: string;
8
+ type?: "text" | "image" | "color" | string;
9
+ values: CustomVariantValue[];
10
+ }
11
+ export interface CustomVariantOptions {
12
+ options: CustomVariantOption[];
13
+ }
14
+ export declare const normalizeVariantLabel: (label?: string) => string;
15
+ export declare const extractHexFromLabel: (label?: string) => string | null;
16
+ export declare const loadCustomVariantOptions: () => CustomVariantOptions | null;
17
+ export declare const saveCustomVariantOptions: (input: CustomVariantOptions | CustomVariantOption[]) => void;
18
+ export declare const clearCustomVariantOptions: () => void;
19
+ export declare const findMatchingCustomVariantValue: (customOption: CustomVariantOption | undefined, optionValue?: string) => CustomVariantValue | undefined;
20
+ export declare const useCustomVariantOptions: () => CustomVariantOptions | null;
@@ -1,28 +1,28 @@
1
- export declare const isVariantAvailable: (product: any, variantNode: any) => boolean;
2
- export interface ProcessedFreebieProduct {
3
- selectedVariantId?: string;
4
- selectedVariantGid?: string;
5
- selectedVariantPrice: number;
6
- availableVariants: any[];
7
- displayVariantCount: number;
8
- effectiveDiscount: number;
9
- effectivePrice: number;
10
- dealAmount: number;
11
- showOptions: boolean;
12
- isFree: boolean;
13
- }
14
- /**
15
- * Process freebie product data to extract pricing, variant, and display information
16
- * Consolidates expensive calculations that were happening in multiple components
17
- */
18
- export declare const processFreebieProduct: (product: any, freebieCouponTemplates?: any[], localVariantId?: string) => ProcessedFreebieProduct;
19
- /**
20
- * Get initial variant ID with deal amount preference
21
- * Used by FreebieClaimSectionCard for smart variant selection
22
- *
23
- * Priority order:
24
- * 1. First variant with a deal amount that is also claim-allowed
25
- * 2. First variant from _claim_allowed_variants (the actual claimable variants)
26
- * 3. Fallback to first available variant
27
- */
28
- export declare const getInitialVariantWithDealAmount: (availableVariants: any[], freebieCouponTemplates?: any[], claimAllowedVariants?: string[]) => string | undefined;
1
+ export declare const isVariantAvailable: (product: any, variantNode: any) => boolean;
2
+ export interface ProcessedFreebieProduct {
3
+ selectedVariantId?: string;
4
+ selectedVariantGid?: string;
5
+ selectedVariantPrice: number;
6
+ availableVariants: any[];
7
+ displayVariantCount: number;
8
+ effectiveDiscount: number;
9
+ effectivePrice: number;
10
+ dealAmount: number;
11
+ showOptions: boolean;
12
+ isFree: boolean;
13
+ }
14
+ /**
15
+ * Process freebie product data to extract pricing, variant, and display information
16
+ * Consolidates expensive calculations that were happening in multiple components
17
+ */
18
+ export declare const processFreebieProduct: (product: any, freebieCouponTemplates?: any[], localVariantId?: string) => ProcessedFreebieProduct;
19
+ /**
20
+ * Get initial variant ID with deal amount preference
21
+ * Used by FreebieClaimSectionCard for smart variant selection
22
+ *
23
+ * Priority order:
24
+ * 1. First variant with a deal amount that is also claim-allowed
25
+ * 2. First variant from _claim_allowed_variants (the actual claimable variants)
26
+ * 3. Fallback to first available variant
27
+ */
28
+ export declare const getInitialVariantWithDealAmount: (availableVariants: any[], freebieCouponTemplates?: any[], claimAllowedVariants?: string[]) => string | undefined;
@@ -1,5 +1,5 @@
1
- /**
2
- * Shared utility function for adding freebie products to cart
3
- * Used by both FreebieClaimManager and FreebieClaimSection to avoid code duplication
4
- */
5
- export declare const addFreebieProductsToCart: (selectedProductIds: string[], freebieProductsInCart: any[], addFreebieToCart?: ((variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>) | undefined) => Promise<void>;
1
+ /**
2
+ * Shared utility function for adding freebie products to cart
3
+ * Used by both FreebieClaimManager and FreebieClaimSection to avoid code duplication
4
+ */
5
+ export declare const addFreebieProductsToCart: (selectedProductIds: string[], freebieProductsInCart: any[], addFreebieToCart?: ((variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>) | undefined) => Promise<void>;
@@ -1,14 +1,14 @@
1
- export declare const getAdjustedTitle: (title: string, length?: number) => string;
2
- export declare const getAdjustedTitleByCanvas: (title: string, maxWidthPercentage: number, containerWidth: number, fontFamily?: string, fontSize?: string) => string;
3
- export declare function getColorWithAlpha(colorHex: string, alpha: number): string;
4
- export declare function hexToRGBWithOpacity(hex: any, opacity: any): string;
5
- export declare const getIdFromGid: (gid: string) => string | undefined;
6
- export declare function getCookieValue(cookieName: string): string;
7
- export declare const extractShopifyProductOrVariantId: (id: string) => string;
8
- export declare function setContrastTextColor(element: HTMLElement | null, lightColor?: string, darkColor?: string, threshold?: number): void;
9
- export declare const formatPriceWithCommas: (price: number | string) => string;
10
- export declare const shouldRenderCheckoutMessageInCartList: () => boolean;
11
- export declare const shouldUseBWTheme: () => boolean;
12
- export declare const optimizeShopifyImage: (imageUrl: string | undefined | null, size?: number, quality?: number, format?: "webp" | "auto" | "jpg" | "png") => string;
13
- export declare const darkenColor: (color: string | undefined, amount?: number) => string;
14
- export declare const extractBundleDiscountTitle: (discountTitle: string) => string;
1
+ export declare const getAdjustedTitle: (title: string, length?: number) => string;
2
+ export declare const getAdjustedTitleByCanvas: (title: string, maxWidthPercentage: number, containerWidth: number, fontFamily?: string, fontSize?: string) => string;
3
+ export declare function getColorWithAlpha(colorHex: string, alpha: number): string;
4
+ export declare function hexToRGBWithOpacity(hex: any, opacity: any): string;
5
+ export declare const getIdFromGid: (gid: string) => string | undefined;
6
+ export declare function getCookieValue(cookieName: string): string;
7
+ export declare const extractShopifyProductOrVariantId: (id: string) => string;
8
+ export declare function setContrastTextColor(element: HTMLElement | null, lightColor?: string, darkColor?: string, threshold?: number): void;
9
+ export declare const formatPriceWithCommas: (price: number | string) => string;
10
+ export declare const shouldRenderCheckoutMessageInCartList: () => boolean;
11
+ export declare const shouldUseBWTheme: () => boolean;
12
+ export declare const optimizeShopifyImage: (imageUrl: string | undefined | null, size?: number, quality?: number, format?: "webp" | "auto" | "jpg" | "png") => string;
13
+ export declare const darkenColor: (color: string | undefined, amount?: number) => string;
14
+ export declare const extractBundleDiscountTitle: (discountTitle: string) => string;
package/package.json CHANGED
@@ -1,96 +1,96 @@
1
- {
2
- "name": "yt-uikit",
3
- "version": "0.9.13",
4
- "description": "YourToken UI Kit",
5
- "scripts": {
6
- "rollup": "rm -rf dist && tsc && rollup -c",
7
- "test": "jest",
8
- "storybook": "storybook dev -p 6006",
9
- "build-storybook": "storybook build"
10
- },
11
- "author": "Pulkit Vyas",
12
- "license": "ISC",
13
- "resolutions": {
14
- "@types/react": "^17.0.0",
15
- "@types/react-dom": "^17.0.0"
16
- },
17
- "peerDependencies": {
18
- "canvas-confetti": "^1.0.0",
19
- "currency-symbol-map": "^5.0.0",
20
- "jotai": "^2.0.0",
21
- "react": ">= 16.8.0",
22
- "react-calendar": "^5.0.0",
23
- "react-dom": ">= 16.8.0",
24
- "react-icons": "^5.0.0",
25
- "react-international-phone": "^4.3.0",
26
- "react-modal-image": "^2.6.0",
27
- "react-otp-input": "^3.1.1",
28
- "react-spinners": "^0.14.1",
29
- "react-use": "^17.5.0",
30
- "styled-components": "^6.0.7",
31
- "web-vitals": "^3.5.1"
32
- },
33
- "devDependencies": {
34
- "@babel/core": "^7.16.0",
35
- "@babel/preset-env": "^7.16.4",
36
- "@babel/preset-react": "^7.16.0",
37
- "@babel/preset-typescript": "^7.16.0",
38
- "@mdx-js/react": "^2.1.2",
39
- "@rollup/plugin-commonjs": "^21.0.1",
40
- "@rollup/plugin-node-resolve": "^13.0.6",
41
- "@rollup/plugin-typescript": "^8.3.0",
42
- "@storybook/addon-actions": "^7.6.16",
43
- "@storybook/addon-essentials": "^7.6.16",
44
- "@storybook/addon-links": "^7.6.16",
45
- "@storybook/addon-postcss": "^2.0.0",
46
- "@storybook/addon-styling-webpack": "^0.0.6",
47
- "@storybook/preset-scss": "^1.0.3",
48
- "@storybook/react": "^7.6.16",
49
- "@storybook/react-webpack5": "^7.6.16",
50
- "@testing-library/react": "^13.3.0",
51
- "@types/canvas-confetti": "^1.9.0",
52
- "@types/d3-ease": "^3.0.0",
53
- "@types/jest": "^28.1.6",
54
- "@types/react": "^18.0.15",
55
- "@types/react-modal-image": "^2.6.3",
56
- "autoprefixer": "^10.4.17",
57
- "babel-jest": "^27.3.1",
58
- "babel-loader": "^8.2.3",
59
- "class-variance-authority": "^0.7.0",
60
- "clsx": "^2.1.0",
61
- "css-loader": "^6.5.1",
62
- "currency-symbol-map": "^5.1.0",
63
- "daisyui": "^4.7.2",
64
- "html-webpack-plugin": "^5.5.0",
65
- "identity-obj-proxy": "^3.0.0",
66
- "jest": "^28.1.3",
67
- "jest-worker": "^29.7.0",
68
- "jotai": "^2.6.4",
69
- "react": "^18.2.0",
70
- "react-dom": "^18.2.0",
71
- "react-icons": "5.4.0",
72
- "rollup": "^2.60.0",
73
- "rollup-plugin-dts": "^4.0.1",
74
- "rollup-plugin-postcss": "^4.0.1",
75
- "rollup-plugin-svg": "^2.0.0",
76
- "sass": "^1.43.5",
77
- "sass-loader": "^12.3.0",
78
- "storybook": "^7.6.16",
79
- "style-loader": "^3.3.1",
80
- "tslib": "^2.8.1",
81
- "typescript": "^4.7.4",
82
- "webpack": "^5.89.0",
83
- "webpack-cli": "^5.1.4",
84
- "webpack-dev-server": "^4.15.1"
85
- },
86
- "main": "dist/cjs/index.js",
87
- "module": "dist/esm/index.js",
88
- "files": [
89
- "dist"
90
- ],
91
- "types": "dist/esm/index.d.ts",
92
- "dependencies": {
93
- "prettier": "^3.6.2",
94
- "rollup-plugin-terser": "^7.0.2"
95
- }
96
- }
1
+ {
2
+ "name": "yt-uikit",
3
+ "version": "0.9.15-loyalty-patch.0",
4
+ "description": "YourToken UI Kit",
5
+ "scripts": {
6
+ "rollup": "rm -rf dist && tsc && rollup -c",
7
+ "test": "jest",
8
+ "storybook": "storybook dev -p 6006",
9
+ "build-storybook": "storybook build"
10
+ },
11
+ "author": "Pulkit Vyas",
12
+ "license": "ISC",
13
+ "resolutions": {
14
+ "@types/react": "^17.0.0",
15
+ "@types/react-dom": "^17.0.0"
16
+ },
17
+ "peerDependencies": {
18
+ "canvas-confetti": "^1.0.0",
19
+ "currency-symbol-map": "^5.0.0",
20
+ "jotai": "^2.0.0",
21
+ "react": ">= 16.8.0",
22
+ "react-calendar": "^5.0.0",
23
+ "react-dom": ">= 16.8.0",
24
+ "react-icons": "^5.0.0",
25
+ "react-international-phone": "^4.3.0",
26
+ "react-modal-image": "^2.6.0",
27
+ "react-otp-input": "^3.1.1",
28
+ "react-spinners": "^0.14.1",
29
+ "react-use": "^17.5.0",
30
+ "styled-components": "^6.0.7",
31
+ "web-vitals": "^3.5.1"
32
+ },
33
+ "devDependencies": {
34
+ "@babel/core": "^7.16.0",
35
+ "@babel/preset-env": "^7.16.4",
36
+ "@babel/preset-react": "^7.16.0",
37
+ "@babel/preset-typescript": "^7.16.0",
38
+ "@mdx-js/react": "^2.1.2",
39
+ "@rollup/plugin-commonjs": "^21.0.1",
40
+ "@rollup/plugin-node-resolve": "^13.0.6",
41
+ "@rollup/plugin-typescript": "^8.3.0",
42
+ "@storybook/addon-actions": "^7.6.16",
43
+ "@storybook/addon-essentials": "^7.6.16",
44
+ "@storybook/addon-links": "^7.6.16",
45
+ "@storybook/addon-postcss": "^2.0.0",
46
+ "@storybook/addon-styling-webpack": "^0.0.6",
47
+ "@storybook/preset-scss": "^1.0.3",
48
+ "@storybook/react": "^7.6.16",
49
+ "@storybook/react-webpack5": "^7.6.16",
50
+ "@testing-library/react": "^13.3.0",
51
+ "@types/canvas-confetti": "^1.9.0",
52
+ "@types/d3-ease": "^3.0.0",
53
+ "@types/jest": "^28.1.6",
54
+ "@types/react": "^18.0.15",
55
+ "@types/react-modal-image": "^2.6.3",
56
+ "autoprefixer": "^10.4.17",
57
+ "babel-jest": "^27.3.1",
58
+ "babel-loader": "^8.2.3",
59
+ "class-variance-authority": "^0.7.0",
60
+ "clsx": "^2.1.0",
61
+ "css-loader": "^6.5.1",
62
+ "currency-symbol-map": "^5.1.0",
63
+ "daisyui": "^4.7.2",
64
+ "html-webpack-plugin": "^5.5.0",
65
+ "identity-obj-proxy": "^3.0.0",
66
+ "jest": "^28.1.3",
67
+ "jest-worker": "^29.7.0",
68
+ "jotai": "^2.6.4",
69
+ "react": "^18.2.0",
70
+ "react-dom": "^18.2.0",
71
+ "react-icons": "5.4.0",
72
+ "rollup": "^2.60.0",
73
+ "rollup-plugin-dts": "^4.0.1",
74
+ "rollup-plugin-postcss": "^4.0.1",
75
+ "rollup-plugin-svg": "^2.0.0",
76
+ "sass": "^1.43.5",
77
+ "sass-loader": "^12.3.0",
78
+ "storybook": "^7.6.16",
79
+ "style-loader": "^3.3.1",
80
+ "tslib": "^2.8.1",
81
+ "typescript": "^4.7.4",
82
+ "webpack": "^5.89.0",
83
+ "webpack-cli": "^5.1.4",
84
+ "webpack-dev-server": "^4.15.1"
85
+ },
86
+ "main": "dist/cjs/index.js",
87
+ "module": "dist/esm/index.js",
88
+ "files": [
89
+ "dist"
90
+ ],
91
+ "types": "dist/esm/index.d.ts",
92
+ "dependencies": {
93
+ "prettier": "^3.6.2",
94
+ "rollup-plugin-terser": "^7.0.2"
95
+ }
96
+ }