ouisys-component-library 2.0.20 → 2.0.22

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 (62) hide show
  1. package/dist/Features.js +1 -1
  2. package/dist/Features.js.map +1 -1
  3. package/dist/Footer.js +1 -1
  4. package/dist/Footer.js.map +1 -1
  5. package/dist/Header.js +1 -1
  6. package/dist/Header.js.map +1 -1
  7. package/dist/Menu.js +1 -1
  8. package/dist/Menu.js.map +1 -1
  9. package/dist/PersuasiveCreative.js +2 -0
  10. package/dist/PersuasiveCreative.js.map +1 -0
  11. package/dist/PersuasiveZipFolder.js +2 -0
  12. package/dist/PersuasiveZipFolder.js.map +1 -0
  13. package/dist/PricingPolicy.js +1 -1
  14. package/dist/PricingPolicy.js.map +1 -1
  15. package/dist/RefundPolicy.js +1 -1
  16. package/dist/RefundPolicy.js.map +1 -1
  17. package/dist/Showcase.js +1 -1
  18. package/dist/Showcase.js.map +1 -1
  19. package/dist/Testimonials.js +1 -1
  20. package/dist/Testimonials.js.map +1 -1
  21. package/dist/Unsubscription.js +1 -1
  22. package/dist/Unsubscription.js.map +1 -1
  23. package/dist/types/Features/Features.d.ts +1 -1
  24. package/dist/types/Features/Features.types.d.ts +0 -3
  25. package/dist/types/Footer/Footer.types.d.ts +6 -33
  26. package/dist/types/Footer/locale/index.d.ts +1 -0
  27. package/dist/types/Header/Header.d.ts +2 -2
  28. package/dist/types/Header/Header.types.d.ts +2 -13
  29. package/dist/types/Menu/Menu.d.ts +2 -2
  30. package/dist/types/Menu/Menu.types.d.ts +2 -10
  31. package/dist/types/Persuasive/PersuasiveCreative/PersuasiveCreative.d.ts +5 -0
  32. package/dist/types/Persuasive/PersuasiveCreative/PersuasiveCreative.types.d.ts +13 -0
  33. package/dist/types/Persuasive/PersuasiveZipFolder/PersuasiveZipFolder.d.ts +5 -0
  34. package/dist/types/Persuasive/PersuasiveZipFolder/PersuasiveZipFolder.types.d.ts +15 -0
  35. package/dist/types/Prelanders/LovePrelander/LovePrelander.types.d.ts +1 -9
  36. package/dist/types/PricingPolicy/PricingPolicy.d.ts +2 -2
  37. package/dist/types/PricingPolicy/PricingPolicy.types.d.ts +2 -31
  38. package/dist/types/RefundPolicy/RefundPolicy.types.d.ts +2 -11
  39. package/dist/types/Showcase/Showcase.d.ts +2 -2
  40. package/dist/types/Showcase/Showcase.types.d.ts +2 -2
  41. package/dist/types/Unsubscription/Unsubscription.types.d.ts +2 -9
  42. package/dist/types/component-exports/Footer/Footer.d.ts +1 -1
  43. package/dist/types/component-exports/Header/Header.d.ts +1 -1
  44. package/dist/types/component-exports/LovePrelander/LovePrelander.d.ts +1 -1
  45. package/dist/types/component-exports/Menu/Menu.d.ts +1 -1
  46. package/dist/types/component-exports/PersuasiveCreative/PersuasiveCreative.d.ts +2 -0
  47. package/dist/types/component-exports/PersuasiveZipFolder/PersuasiveZipFolder.d.ts +2 -0
  48. package/dist/types/component-exports/PricingPolicy/PricingPolicy.d.ts +1 -1
  49. package/dist/types/component-exports/RefundPolicy/RefundPolicy.d.ts +1 -1
  50. package/dist/types/component-exports/Showcase/Showcase.d.ts +1 -1
  51. package/dist/types/component-exports/Unsubscription/Unsubscription.d.ts +1 -1
  52. package/package.json +7 -7
  53. package/dist/Creative.js +0 -2
  54. package/dist/Creative.js.map +0 -1
  55. package/dist/CreativeZipFolder.js +0 -2
  56. package/dist/CreativeZipFolder.js.map +0 -1
  57. package/dist/types/Creatives/Creative/Creative.d.ts +0 -5
  58. package/dist/types/Creatives/Creative/Creative.types.d.ts +0 -20
  59. package/dist/types/Creatives/CreativeZipFolder/CreativeZipFolder.d.ts +0 -5
  60. package/dist/types/Creatives/CreativeZipFolder/CreativeZipFolder.types.d.ts +0 -26
  61. package/dist/types/component-exports/Creative/Creative.d.ts +0 -2
  62. package/dist/types/component-exports/CreativeZipFolder/CreativeZipFolder.d.ts +0 -2
@@ -1,5 +1,5 @@
1
- import { interfaceFeatures } from './Menu.types.js';
1
+ import { InterfaceFeatures } from './Menu.types.js';
2
2
 
3
- declare const Menu: ({ locale, className, labels, isOpen, setIsOpen, dataQaId, logoUrl }: interfaceFeatures) => JSX.Element;
3
+ declare const Menu: ({ locale, className, labels, isOpen, setIsOpen, dataQaId, logoUrl }: InterfaceFeatures) => JSX.Element;
4
4
 
5
5
  export { Menu };
@@ -1,14 +1,6 @@
1
1
  import { ITracker } from '../custom-types.js';
2
2
 
3
- type typeItems = {
4
- logoUrl: string;
5
- name: string;
6
- locale: string;
7
- isOpen: boolean;
8
- labels: Record<string, string>;
9
- setIsOpen: (isOpen: boolean) => void;
10
- };
11
- interface interfaceFeatures {
3
+ interface InterfaceFeatures {
12
4
  logoUrl: string;
13
5
  className?: string;
14
6
  dataQaId?: string;
@@ -19,4 +11,4 @@ interface interfaceFeatures {
19
11
  setIsOpen: (isOpen: boolean) => void;
20
12
  }
21
13
 
22
- export { interfaceFeatures, typeItems };
14
+ export { InterfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { InterfaceFeatures } from './PersuasiveCreative.types.js';
2
+
3
+ declare const PersuasiveCreative: ({ title, subtitle, caption, image, dataQaId, tracker, className }: InterfaceFeatures) => JSX.Element;
4
+
5
+ export { PersuasiveCreative };
@@ -0,0 +1,13 @@
1
+ import { ITracker } from '../../custom-types.js';
2
+
3
+ interface InterfaceFeatures {
4
+ title: string;
5
+ subtitle: string;
6
+ caption: string;
7
+ dataQaId?: string;
8
+ tracker?: ITracker;
9
+ image: string;
10
+ className?: string;
11
+ }
12
+
13
+ export { InterfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { InterfaceFeatures } from './PersuasiveZipFolder.types.js';
2
+
3
+ declare const PersuasiveZipFolder: ({ title, subtitle, className, caption, image, dataQaId, tracker, ScrollTop, Overlay }: InterfaceFeatures) => JSX.Element;
4
+
5
+ export { PersuasiveZipFolder };
@@ -0,0 +1,15 @@
1
+ import { ITracker } from '../../custom-types.js';
2
+
3
+ interface InterfaceFeatures {
4
+ title: string;
5
+ subtitle: string;
6
+ className?: string;
7
+ dataQaId?: string;
8
+ tracker?: ITracker;
9
+ image?: string;
10
+ caption?: string;
11
+ ScrollTop?: boolean;
12
+ Overlay?: boolean;
13
+ }
14
+
15
+ export { InterfaceFeatures };
@@ -1,13 +1,5 @@
1
1
  import { ITracker } from '../../custom-types.js';
2
2
 
3
- type typeItems = {
4
- logoUrl: string;
5
- name: string;
6
- locale: string;
7
- questions: any[];
8
- currentQuestion: number;
9
- setCurrentQuestion: (currentQuestion: number) => void;
10
- };
11
3
  interface interfaceFeatures {
12
4
  logoUrl: string;
13
5
  className?: string;
@@ -22,4 +14,4 @@ interface interfaceFeatures {
22
14
  setCurrentQuestion: (currentQuestion: number) => void;
23
15
  }
24
16
 
25
- export { interfaceFeatures, typeItems };
17
+ export { interfaceFeatures };
@@ -1,5 +1,5 @@
1
- import { interfacePricingPolicy } from './PricingPolicy.types.js';
1
+ import { InterfaceFeatures } from './PricingPolicy.types.js';
2
2
 
3
- declare const PricingPolicy: ({ locale, dataQaId }: interfacePricingPolicy) => JSX.Element;
3
+ declare const PricingPolicy: ({ locale, dataQaId }: InterfaceFeatures) => JSX.Element;
4
4
 
5
5
  export { PricingPolicy };
@@ -1,35 +1,6 @@
1
- type typeItems = {
2
- pricePoint: string;
3
- dataQaId?: string;
4
- locale?: string;
5
- freePackage: boolean | string;
6
- name: string;
7
- status: boolean | string;
8
- features: string;
9
- };
10
- interface PricingFeature {
11
- name: string;
12
- status: string;
13
- }
14
- interface PricingDetails {
15
- label: string;
16
- subLabel: string;
17
- amount: string;
18
- period: string;
19
- ctaText: string;
20
- }
21
- interface LocaleData {
22
- headline: string;
23
- items: string[];
24
- features: PricingFeature[];
25
- pricing: PricingDetails;
26
- }
27
- interface interfacePricingPolicy {
1
+ interface InterfaceFeatures {
28
2
  locale?: string;
29
3
  dataQaId?: string;
30
4
  }
31
- interface PricingPolicyLocale {
32
- pricingPolicy: LocaleData;
33
- }
34
5
 
35
- export { PricingPolicyLocale, interfacePricingPolicy, typeItems };
6
+ export { InterfaceFeatures };
@@ -1,18 +1,9 @@
1
1
  import lng from './locale/index.js';
2
2
 
3
- type typeLocale = 'en' | 'ar';
4
- type typeItems = {
5
- dataQaId?: string;
6
- locale?: keyof typeof lng;
7
- headline: string;
8
- serviceName: string;
9
- };
10
- interface interfaceRefundPolicy {
11
- refundPolicy: string;
12
- headline: string;
3
+ interface InterfaceFeatures {
13
4
  locale?: keyof typeof lng;
14
5
  dataQaId?: string;
15
6
  serviceName: string;
16
7
  }
17
8
 
18
- export { interfaceRefundPolicy, typeItems, typeLocale };
9
+ export { InterfaceFeatures };
@@ -1,5 +1,5 @@
1
- import { InterfaceShowcase } from './Showcase.types.js';
1
+ import { InterfaceFeatures } from './Showcase.types.js';
2
2
 
3
- declare const Showcase: ({ locale, type, domain, className, dataQaId, tracker }: InterfaceShowcase) => JSX.Element;
3
+ declare const Showcase: ({ locale, type, domain, className, dataQaId, tracker }: InterfaceFeatures) => JSX.Element;
4
4
 
5
5
  export { Showcase };
@@ -5,7 +5,7 @@ type TypeItems = {
5
5
  image?: string;
6
6
  name?: string;
7
7
  };
8
- interface InterfaceShowcase {
8
+ interface InterfaceFeatures {
9
9
  locale: string;
10
10
  type: 'astrology' | 'fitness' | 'football' | 'games' | 'iqbrain' | 'karaoke' | 'video' | 'xracademy';
11
11
  items?: Array<TypeItems>;
@@ -15,4 +15,4 @@ interface InterfaceShowcase {
15
15
  tracker?: ITracker;
16
16
  }
17
17
 
18
- export { InterfaceShowcase, TypeItems };
18
+ export { InterfaceFeatures, TypeItems };
@@ -1,11 +1,4 @@
1
- type typeItems = {
2
- dataQaId?: string;
3
- unsubscriptionText: string[];
4
- unsubscriptionTitle: string;
5
- locale: string;
6
- Unsubscription: string;
7
- };
8
- interface interfaceFeatures {
1
+ interface InterfaceFeatures {
9
2
  unsubscriptionText: string[];
10
3
  unsubscriptionTitle: string;
11
4
  dataQaId?: string;
@@ -13,4 +6,4 @@ interface interfaceFeatures {
13
6
  Unsubscription: string;
14
7
  }
15
8
 
16
- export { interfaceFeatures, typeItems };
9
+ export { InterfaceFeatures };
@@ -1,2 +1,2 @@
1
1
  export { Footer } from '../../Footer/Footer.js';
2
- export { interfaceFeatures, typeItems, typeLocale } from '../../Footer/Footer.types.js';
2
+ export { InterfaceFeatures } from '../../Footer/Footer.types.js';
@@ -1,2 +1,2 @@
1
1
  export { Header } from '../../Header/Header.js';
2
- export { interfaceFeatures, typeItems } from '../../Header/Header.types.js';
2
+ export { InterfaceFeatures } from '../../Header/Header.types.js';
@@ -1,2 +1,2 @@
1
1
  export { LovePrelander } from '../../Prelanders/LovePrelander/LovePrelander.js';
2
- export { interfaceFeatures, typeItems } from '../../Prelanders/LovePrelander/LovePrelander.types.js';
2
+ export { interfaceFeatures } from '../../Prelanders/LovePrelander/LovePrelander.types.js';
@@ -1,2 +1,2 @@
1
1
  export { Menu } from '../../Menu/Menu.js';
2
- export { interfaceFeatures, typeItems } from '../../Menu/Menu.types.js';
2
+ export { InterfaceFeatures } from '../../Menu/Menu.types.js';
@@ -0,0 +1,2 @@
1
+ export { PersuasiveCreative } from '../../Persuasive/PersuasiveCreative/PersuasiveCreative.js';
2
+ export { InterfaceFeatures } from '../../Persuasive/PersuasiveCreative/PersuasiveCreative.types.js';
@@ -0,0 +1,2 @@
1
+ export { PersuasiveZipFolder } from '../../Persuasive/PersuasiveZipFolder/PersuasiveZipFolder.js';
2
+ export { InterfaceFeatures } from '../../Persuasive/PersuasiveZipFolder/PersuasiveZipFolder.types.js';
@@ -1,2 +1,2 @@
1
1
  export { PricingPolicy } from '../../PricingPolicy/PricingPolicy.js';
2
- export { PricingPolicyLocale, interfacePricingPolicy, typeItems } from '../../PricingPolicy/PricingPolicy.types.js';
2
+ export { InterfaceFeatures } from '../../PricingPolicy/PricingPolicy.types.js';
@@ -1,2 +1,2 @@
1
1
  export { RefundPolicy } from '../../RefundPolicy/RefundPolicy.js';
2
- export { interfaceRefundPolicy, typeItems, typeLocale } from '../../RefundPolicy/RefundPolicy.types.js';
2
+ export { InterfaceFeatures } from '../../RefundPolicy/RefundPolicy.types.js';
@@ -1,2 +1,2 @@
1
1
  export { Showcase } from '../../Showcase/Showcase.js';
2
- export { InterfaceShowcase, TypeItems } from '../../Showcase/Showcase.types.js';
2
+ export { InterfaceFeatures, TypeItems } from '../../Showcase/Showcase.types.js';
@@ -1,2 +1,2 @@
1
1
  export { Unsubscription } from '../../Unsubscription/Unsubscription.js';
2
- export { interfaceFeatures, typeItems } from '../../Unsubscription/Unsubscription.types.js';
2
+ export { InterfaceFeatures } from '../../Unsubscription/Unsubscription.types.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ouisys-component-library",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "description": "Ouisys Components",
5
5
  "main": "dist/index.js",
6
6
  "directories": "dist dev-tools",
@@ -55,8 +55,8 @@
55
55
  "./utilities/defineMessages": "./dist/defineMessages.js",
56
56
  "./utilities/injectIntl": "./dist/injectIntl.js",
57
57
  "./utilities/formatSMSLink": "./dist/formatSMSLink.js",
58
- "./Creative": "./dist/Creative.js",
59
- "./CreativeZipFolder": "./dist/CreativeZipFolder.js",
58
+ "./PersuasiveCreative": "./dist/PersuasiveCreative.js",
59
+ "./PersuasiveZipFolder": "./dist/PersuasiveZipFolder.js",
60
60
  "./Header": "./dist/Header.js",
61
61
  "./Unsubscription": "./dist/Unsubscription.js",
62
62
  "./Footer": "./dist/Footer.js",
@@ -116,11 +116,11 @@
116
116
  "Showcase": [
117
117
  "dist/types/Showcase/Showcase.d.ts"
118
118
  ],
119
- "Creative": [
120
- "dist/types/Creative/Creative.d.ts"
119
+ "PersuasiveCreative": [
120
+ "dist/types/PersuasiveCreative/PersuasiveCreative.d.ts"
121
121
  ],
122
- "CreativeZipFolder": [
123
- "dist/types/CreativeZipFolder/CreativeZipFolder.d.ts"
122
+ "PersuasiveZipFolder": [
123
+ "dist/types/PersuasiveZipFolder/PersuasiveZipFolder.d.ts"
124
124
  ],
125
125
  "Footer": [
126
126
  "dist/types/Footer/Footer.d.ts"
package/dist/Creative.js DELETED
@@ -1,2 +0,0 @@
1
- import e from"classnames";import t from"react";import{s as i}from"./style-inject.es-1f59c1d0.js";var a={rating:"Creative-module_rating__8-ZW8","rating-area":"Creative-module_rating-area__BgRjK",ratingArea:"Creative-module_rating-area__BgRjK",rating__background:"Creative-module_rating__background__dOHuZ",ratingBackground:"Creative-module_rating__background__dOHuZ",rating__value:"Creative-module_rating__value__ju-6B",ratingValue:"Creative-module_rating__value__ju-6B",Creative:"Creative-module_Creative__2BWv7",creative:"Creative-module_Creative__2BWv7",Creative__Inner:"Creative-module_Creative__Inner__YUKVu",creativeInner:"Creative-module_Creative__Inner__YUKVu"};i('p{font-size:14px;font-weight:400;line-height:1.5!important}.Creative-module_rating__8-ZW8{height:24px;margin-right:-30px;margin-top:1px}.Creative-module_rating-area__BgRjK{align-items:center;justify-content:space-between;position:absolute;top:0;width:100%}@media screen and (min-width:767px){.Creative-module_rating-area__BgRjK{display:flex;gap:8px;height:36px}}.Creative-module_rating-area__BgRjK p{margin:0}.Creative-module_rating__background__dOHuZ{fill:#ccc;stroke:gold;stroke-width:1;height:100%;transform:scale(.7);width:100%}.Creative-module_rating__value__ju-6B{fill:gold;height:100%;transform:scale(.7)}[hidden]{display:none}body{line-height:1.5}menu,ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}html{-moz-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;overflow-x:hidden;scroll-behavior:smooth}body{font-size:16px;font-weight:400;letter-spacing:0;line-height:1.1;min-height:100dvh;position:relative}a{cursor:pointer;transition:.3s}a,a:focus,a:hover{text-decoration:none}p+p{margin-top:15px}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,select:-webkit-autofill,select:-webkit-autofill:focus,select:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{-webkit-box-shadow:inset 0 0 0 1000px transparent!important}.Creative-module_Creative__2BWv7{background:linear-gradient(1turn,#f5f7fa,#daddfb);font-family:inter,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Apple Color Emoji,Arial,sans-serif,Segoe UI Emoji,Segoe UI Symbol;padding:4vh 0;text-align:center}.Creative-module_Creative__Inner__YUKVu{margin:20px auto;max-width:500px;padding:calc(max(2vh, min(16vh, 4vw)) + 1rem) 2vw 3vh;text-align:center}.Creative-module_Creative__2BWv7 img{background-color:#e4e4e4;display:block;font-size:0;height:20dvh;margin:clamp(1rem,1.4vw,1.5rem) auto;max-height:128px;-o-object-fit:contain;object-fit:contain;overflow:hidden;text-align:center;width:100px}.Creative-module_Creative__2BWv7 h1{color:#d1610a;font-size:21px;font-size:32px;font-weight:700;letter-spacing:-.96px;line-height:36px;padding:0 8px;text-align:center}.Creative-module_Creative__2BWv7 p{font-size:16px;letter-spacing:-.42px;line-height:22px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNyZWF0aXZlLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLEVBR0UsY0FBZSxDQURmLGVBQWdCLENBRGhCLHlCQUdGLENBS0EsK0JBQ0UsV0FBWSxDQUNaLGtCQUFtQixDQUNuQixjQUNGLENBRUEsb0NBR0Usa0JBQW1CLENBQ25CLDZCQUE4QixDQUg5QixpQkFBa0IsQ0FJbEIsS0FBTSxDQUhOLFVBSUYsQ0FDQSxvQ0FDRSxvQ0FFRSxZQUFhLENBQ2IsT0FBUSxDQUZSLFdBR0YsQ0FDRixDQUNBLHNDQUNFLFFBQ0YsQ0FFQSwyQ0FDRSxTQUFVLENBQ1YsV0FBZSxDQUNmLGNBQWUsQ0FDZixXQUFZLENBRVosbUJBQXFCLENBRHJCLFVBRUYsQ0FFQSxzQ0FDRSx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47XG4gIGhlaWdodDogMjBkdmg7XG4gIG1heC1oZWlnaHQ6IDEyOHB4O1xuICB3aWR0aDogMTAwcHg7XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIGZvbnQtc2l6ZTogMDtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZTRlNGU0O1xufVxuLkNyZWF0aXZlIGgxIHtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBwYWRkaW5nOiAwIDhweDtcbiAgY29sb3I6ICNkMTYxMGE7XG4gIGZvbnQtc2l6ZTogMjFweDtcbiAgbGV0dGVyLXNwYWNpbmc6IC0wLjk2cHg7XG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xuICBsaW5lLWhlaWdodDogMzZweDtcbiAgZm9udC1zaXplOiAzMnB4O1xufVxuLkNyZWF0aXZlIHAge1xuICBsZXR0ZXItc3BhY2luZzogLTAuNDJweDtcbiAgbGluZS1oZWlnaHQ6IDIycHg7XG4gIGZvbnQtc2l6ZTogMTZweDtcbn0iXX0= */');var l=function(i){var l=i.PersuasiveTitle,n=i.PersuasiveSubtitle,c=i.PersuasiveCaption,b=i.CreativeImage,o=i.dataQaId,g=void 0===o?"qa-creative":o;return i.tracker,t.createElement("div",{className:e(a.Creative,"Creative"),"data-qa-id":g},t.createElement("div",{className:a.Creative__Inner},t.createElement("div",{className:a.Creative__Pill},t.createElement("p",null,"Paid Content")),l&&t.createElement("h1",null,l),b&&t.createElement("img",{src:b,alt:l}),n&&t.createElement("p",null,n),c&&t.createElement("p",null,c)))};export{l as Creative};
2
- //# sourceMappingURL=Creative.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Creative.js","sources":["../src/Creatives/Creative/Creative.tsx"],"sourcesContent":["import cn from 'classnames';\nimport React from 'react';\nimport styles from './Creative.module.scss';\nimport { interfaceFeatures } from './Creative.types';\n\nexport const Creative = ({\n PersuasiveTitle,\n PersuasiveSubtitle,\n PersuasiveCaption,\n CreativeImage,\n dataQaId = 'qa-creative',\n tracker\n}: interfaceFeatures) => (\n <div className={cn(styles.Creative, 'Creative')} data-qa-id={dataQaId}>\n <div className={styles.Creative__Inner}>\n <div className={styles.Creative__Pill}>\n <p>Paid Content</p>\n </div>\n {PersuasiveTitle && <h1>{PersuasiveTitle}</h1>}\n {CreativeImage && <img src={CreativeImage} alt={PersuasiveTitle} />}\n {PersuasiveSubtitle && <p>{PersuasiveSubtitle}</p>}\n {PersuasiveCaption && <p>{PersuasiveCaption}</p>}\n </div>\n </div>\n);\n"],"names":["Creative","_a","PersuasiveTitle","PersuasiveSubtitle","PersuasiveCaption","CreativeImage","_b","dataQaId","tracker","React","createElement","className","cn","styles","Creative__Inner","Creative__Pill","src","alt"],"mappings":"2tQAKO,IAAMA,EAAW,SAACC,GACvB,IAAAC,oBACAC,uBACAC,sBACAC,kBACAC,EAAAL,EAAAM,SAAAA,OAAQ,IAAAD,EAAG,cAAaA,EAED,OADhBL,EAAAO,QAEPC,EAAAC,cAAA,MAAA,CAAKC,UAAWC,EAAGC,EAAOb,SAAU,yBAAyBO,GAC3DE,EAAAC,cAAA,MAAA,CAAKC,UAAWE,EAAOC,iBACrBL,EAAAC,cAAA,MAAA,CAAKC,UAAWE,EAAOE,gBACrBN,EAAAC,cAAA,IAAA,KAAA,iBAEDR,GAAmBO,EAAKC,cAAA,KAAA,KAAAR,GACxBG,GAAiBI,uBAAKO,IAAKX,EAAeY,IAAKf,IAC/CC,GAAsBM,EAAIC,cAAA,IAAA,KAAAP,GAC1BC,GAAqBK,EAAIC,cAAA,IAAA,KAAAN,IATP"}
@@ -1,2 +0,0 @@
1
- import e from"classnames";import i from"react";import{s as l}from"./style-inject.es-1f59c1d0.js";var t="CreativeZipFolder-module_CreativeZipFolder__-jy9E",a="CreativeZipFolder-module_CreativeZipFolder__inner__p486b",r="CreativeZipFolder-module_CreativeZipFolder__content__3FA-s";l(".CreativeZipFolder-module_CreativeZipFolder__-jy9E{align-items:center;background:linear-gradient(1turn,#f5f7fa,#daddfb);display:flex;flex-direction:column;justify-content:center;padding:3vh 0}.CreativeZipFolder-module_CreativeZipFolder__inner__p486b{display:flex;gap:1rem;justify-content:center;margin:0 auto;width:100%}.CreativeZipFolder-module_CreativeZipFolder__inner__p486b .CreativeZipFolder-module_CreativeZipFolder__content__3FA-s{display:flex;flex-direction:column;justify-content:center}.CreativeZipFolder-module_CreativeZipFolder__inner__p486b img{background-color:#e4e4e4;font-size:0;height:100px;overflow:hidden;width:100px}.CreativeZipFolder-module_CreativeZipFolder__inner__p486b h1{font-size:16px;font-weight:700}.CreativeZipFolder-module_CreativeZipFolder__inner__p486b p{margin:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNyZWF0aXZlWmlwRm9sZGVyLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1EQUtFLGtCQUFtQixDQUpuQixpREFBb0QsQ0FFcEQsWUFBYSxDQUNiLHFCQUFzQixDQUV0QixzQkFBdUIsQ0FKdkIsYUFLRixDQUNBLDBEQUNFLFlBQWEsQ0FJYixRQUFTLENBRFQsc0JBQXVCLENBRnZCLGFBQWMsQ0FDZCxVQUdGLENBQ0Esc0hBQ0UsWUFBYSxDQUNiLHFCQUFzQixDQUN0QixzQkFDRixDQUNBLDhEQUtFLHdCQUF5QixDQUR6QixXQUFZLENBRlosWUFBYSxDQUNiLGVBQWdCLENBRmhCLFdBS0YsQ0FDQSw2REFDRSxjQUFlLENBQ2YsZUFDRixDQUNBLDREQUNFLFFBQ0YiLCJmaWxlIjoiQ3JlYXRpdmVaaXBGb2xkZXIubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuQ3JlYXRpdmVaaXBGb2xkZXIge1xuICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQoMXR1cm4sICNmNWY3ZmEsICNkYWRkZmIpO1xuICBwYWRkaW5nOiAzdmggMDtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG59XG4uQ3JlYXRpdmVaaXBGb2xkZXJfX2lubmVyIHtcbiAgZGlzcGxheTogZmxleDtcbiAgbWFyZ2luOiAwIGF1dG87XG4gIHdpZHRoOiAxMDAlO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgZ2FwOiAxcmVtO1xufVxuLkNyZWF0aXZlWmlwRm9sZGVyX19pbm5lciAuQ3JlYXRpdmVaaXBGb2xkZXJfX2NvbnRlbnQge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbn1cbi5DcmVhdGl2ZVppcEZvbGRlcl9faW5uZXIgaW1nIHtcbiAgd2lkdGg6IDEwMHB4O1xuICBoZWlnaHQ6IDEwMHB4O1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICBmb250LXNpemU6IDA7XG4gIGJhY2tncm91bmQtY29sb3I6ICNlNGU0ZTQ7XG59XG4uQ3JlYXRpdmVaaXBGb2xkZXJfX2lubmVyIGgxIHtcbiAgZm9udC1zaXplOiAxNnB4O1xuICBmb250LXdlaWdodDogYm9sZDtcbn1cbi5DcmVhdGl2ZVppcEZvbGRlcl9faW5uZXIgcCB7XG4gIG1hcmdpbjogMDtcbn0iXX0= */");var d=function(l){var d=l.headline,o=void 0===d?"Zip Folder Creative":d,n=l.subtitle,c=void 0===n?"Subtitle":n,m=l.className,p=void 0===m?"":m,Z=l.subtitle2,b=void 0===Z?"Subtitle2":Z,F=l.CreativeImage,Q=void 0===F?"Creative Name":F,u=l.dataQaId,s=void 0===u?"qa-creative-zip-folder":u,v=l.tracker,x=l.ScrollTop,C=void 0!==x&&x,_=l.Overlay,I=void 0!==_&&_;return i.createElement("div",{className:e(t,"CreativeZipFolder",p),"data-qa-id":s,onClick:function(){C&&(window.scrollTo({top:0,behavior:"smooth"}),null==v||v.customEvent("image-cards","click","scroll-to-top")),I&&console.log("Overlay")}},i.createElement("div",{className:e(a,"CreativeZipFolder__inner")},i.createElement("img",{src:Q,alt:Q}),i.createElement("div",{className:e(r,"CreativeZipFolder__content")},i.createElement("h1",null,o),i.createElement("p",null,c),i.createElement("p",null,b))))};export{d as CreativeZipFolder};
2
- //# sourceMappingURL=CreativeZipFolder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreativeZipFolder.js","sources":["../src/Creatives/CreativeZipFolder/CreativeZipFolder.tsx"],"sourcesContent":["import cn from 'classnames';\nimport React from 'react';\nimport styles from './CreativeZipFolder.module.scss';\nimport { interfaceFeatures } from './CreativeZipFolder.types';\n\nexport const CreativeZipFolder = ({\n headline = 'Zip Folder Creative',\n subtitle = 'Subtitle',\n className = '',\n subtitle2 = 'Subtitle2',\n CreativeImage = 'Creative Name',\n dataQaId = 'qa-creative-zip-folder',\n tracker,\n ScrollTop = false,\n Overlay = false\n}: interfaceFeatures) => (\n <div\n className={cn(styles.CreativeZipFolder, 'CreativeZipFolder', className)}\n data-qa-id={dataQaId}\n onClick={() => {\n if (ScrollTop) {\n window.scrollTo({ top: 0, behavior: 'smooth' });\n tracker?.customEvent('image-cards', 'click', 'scroll-to-top');\n }\n if (Overlay) {\n console.log('Overlay');\n }\n }}\n >\n <div className={cn(styles.CreativeZipFolder__inner, 'CreativeZipFolder__inner')}>\n <img src={CreativeImage} alt={CreativeImage} />\n <div className={cn(styles.CreativeZipFolder__content, 'CreativeZipFolder__content')}>\n <h1>{headline}</h1>\n <p>{subtitle}</p>\n <p>{subtitle2}</p>\n </div>\n </div>\n </div>\n);\n"],"names":["CreativeZipFolder","_a","_b","headline","_c","subtitle","_d","className","_e","subtitle2","_f","CreativeImage","_g","dataQaId","tracker","_h","ScrollTop","_j","Overlay","React","createElement","cn","styles","onClick","window","scrollTo","top","behavior","customEvent","console","log","src","alt"],"mappings":"qmFAKO,IAAMA,EAAoB,SAACC,OAChCC,EAAgCD,EAAAE,SAAhCA,OAAQ,IAAAD,EAAG,sBAAqBA,EAChCE,EAAAH,EAAAI,SAAAA,OAAW,IAAAD,EAAA,WAAUA,EACrBE,cAAAC,OAAY,IAAAD,EAAA,GAAEA,EACdE,EAAuBP,EAAAQ,UAAvBA,OAAS,IAAAD,EAAG,YAAWA,EACvBE,EAAAT,EAAAU,cAAAA,OAAa,IAAAD,EAAG,gBAAeA,EAC/BE,EAAAX,EAAAY,SAAAA,OAAW,IAAAD,EAAA,yBAAwBA,EACnCE,EAAOb,EAAAa,QACPC,EAAiBd,EAAAe,UAAjBA,OAAS,IAAAD,GAAQA,EACjBE,EAAAhB,EAAAiB,QAAAA,OAAU,IAAAD,GAAKA,EACQ,OACvBE,EACEC,cAAA,MAAA,CAAAb,UAAWc,EAAGC,EAA0B,oBAAqBf,gBACjDM,EACZU,QAAS,WACHP,IACFQ,OAAOC,SAAS,CAAEC,IAAK,EAAGC,SAAU,WACpCb,SAAAA,EAASc,YAAY,cAAe,QAAS,kBAE3CV,GACFW,QAAQC,IAAI,aAIhBX,EAAKC,cAAA,MAAA,CAAAb,UAAWc,EAAGC,EAAiC,6BAClDH,EAAAC,cAAA,MAAA,CAAKW,IAAKpB,EAAeqB,IAAKrB,IAC9BQ,EAAKC,cAAA,MAAA,CAAAb,UAAWc,EAAGC,EAAmC,+BACpDH,EAAAC,cAAA,KAAA,KAAKjB,GACLgB,EAAAC,cAAA,IAAA,KAAIf,GACJc,EAAAC,cAAA,IAAA,KAAIX,KAnBa"}
@@ -1,5 +0,0 @@
1
- import { interfaceFeatures } from './Creative.types.js';
2
-
3
- declare const Creative: ({ PersuasiveTitle, PersuasiveSubtitle, PersuasiveCaption, CreativeImage, dataQaId, tracker }: interfaceFeatures) => JSX.Element;
4
-
5
- export { Creative };
@@ -1,20 +0,0 @@
1
- import { ITracker } from '../../custom-types.js';
2
-
3
- type typeItems = {
4
- PersuasiveTitle: string;
5
- Creative: string;
6
- PersuasiveSubtitle: string;
7
- PersuasiveCaption: string;
8
- CreativeImage: string;
9
- };
10
- interface interfaceFeatures {
11
- PersuasiveTitle: string;
12
- Creative: string;
13
- PersuasiveSubtitle: string;
14
- PersuasiveCaption: string;
15
- dataQaId?: string;
16
- tracker?: ITracker;
17
- CreativeImage: string;
18
- }
19
-
20
- export { interfaceFeatures, typeItems };
@@ -1,5 +0,0 @@
1
- import { interfaceFeatures } from './CreativeZipFolder.types.js';
2
-
3
- declare const CreativeZipFolder: ({ headline, subtitle, className, subtitle2, CreativeImage, dataQaId, tracker, ScrollTop, Overlay }: interfaceFeatures) => JSX.Element;
4
-
5
- export { CreativeZipFolder };
@@ -1,26 +0,0 @@
1
- import { ITracker } from '../../custom-types.js';
2
-
3
- type typeItems = {
4
- image: string;
5
- name: string;
6
- subtitle: string;
7
- description: string;
8
- CreativeImage?: string;
9
- subtitle2?: string;
10
- tracker?: ITracker;
11
- ScrollTop?: boolean;
12
- Overlay?: boolean;
13
- };
14
- interface interfaceFeatures {
15
- headline: string;
16
- subtitle: string;
17
- className?: string;
18
- dataQaId?: string;
19
- tracker?: ITracker;
20
- CreativeImage?: string;
21
- subtitle2?: string;
22
- ScrollTop?: boolean;
23
- Overlay?: boolean;
24
- }
25
-
26
- export { interfaceFeatures, typeItems };
@@ -1,2 +0,0 @@
1
- export { Creative } from '../../Creatives/Creative/Creative.js';
2
- export { interfaceFeatures, typeItems } from '../../Creatives/Creative/Creative.types.js';
@@ -1,2 +0,0 @@
1
- export { CreativeZipFolder } from '../../Creatives/CreativeZipFolder/CreativeZipFolder.js';
2
- export { interfaceFeatures, typeItems } from '../../Creatives/CreativeZipFolder/CreativeZipFolder.types.js';