@moneylion/react-native-offer-carousel 1.0.1 → 1.0.3

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 (79) hide show
  1. package/lib/commonjs/builder/builder.js +356 -0
  2. package/lib/commonjs/builder/builder.js.map +1 -0
  3. package/lib/commonjs/builder/config/types.js +2 -0
  4. package/lib/commonjs/builder/config/types.js.map +1 -0
  5. package/lib/commonjs/builder/index.js +28 -0
  6. package/lib/commonjs/builder/index.js.map +1 -0
  7. package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/components.js +0 -2
  8. package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/components.js.map +1 -1
  9. package/lib/commonjs/components/Cards/VideosCard/VideoContent.js +35 -37
  10. package/lib/commonjs/components/Cards/VideosCard/VideoContent.js.map +1 -1
  11. package/lib/commonjs/components/DynamicOffers/DynamicOffers.js +1 -1
  12. package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js +1 -1
  13. package/lib/commonjs/components/Modal/OfferDetailsModal.js +9 -3
  14. package/lib/commonjs/components/Modal/OfferDetailsModal.js.map +1 -1
  15. package/lib/module/builder/builder.js +350 -0
  16. package/lib/module/builder/builder.js.map +1 -0
  17. package/lib/module/builder/config/types.js +2 -0
  18. package/lib/module/builder/config/types.js.map +1 -0
  19. package/lib/module/builder/index.js +3 -0
  20. package/lib/module/builder/index.js.map +1 -0
  21. package/lib/module/capabilities/ui/elements/src/components/MarkdownText/components.js +0 -1
  22. package/lib/module/capabilities/ui/elements/src/components/MarkdownText/components.js.map +1 -1
  23. package/lib/module/components/Cards/VideosCard/VideoContent.js +35 -30
  24. package/lib/module/components/Cards/VideosCard/VideoContent.js.map +1 -1
  25. package/lib/module/components/DynamicOffers/DynamicOffers.js +1 -1
  26. package/lib/module/components/DynamicOffers/DynamicOffers.js.map +1 -1
  27. package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js +1 -1
  28. package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -1
  29. package/lib/module/components/Modal/OfferDetailsModal.js +10 -4
  30. package/lib/module/components/Modal/OfferDetailsModal.js.map +1 -1
  31. package/lib/typescript/{builder → src/builder}/builder.d.ts +2 -2
  32. package/lib/typescript/src/builder/builder.d.ts.map +1 -0
  33. package/lib/typescript/src/builder/config/types.d.ts.map +1 -0
  34. package/lib/typescript/src/builder/index.d.ts.map +1 -0
  35. package/lib/typescript/src/capabilities/configuration/src/brands/createDerivedBrands.d.ts +1 -1
  36. package/lib/typescript/src/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -1
  37. package/lib/typescript/src/capabilities/configuration/src/brands/types.d.ts +1 -1
  38. package/lib/typescript/src/capabilities/configuration/src/brands/types.d.ts.map +1 -1
  39. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -1
  40. package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts +0 -8
  41. package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts.map +1 -1
  42. package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts +1 -1
  43. package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -1
  44. package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts +1 -1
  45. package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +1 -1
  46. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts +1 -1
  47. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -1
  48. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts +1 -1
  49. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -1
  50. package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts +1 -1
  51. package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -1
  52. package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts +1 -1
  53. package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -1
  54. package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts +1 -1
  55. package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -1
  56. package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +1 -1
  57. package/package.json +4 -9
  58. package/src/builder/builder.ts +500 -0
  59. package/src/builder/config/types.ts +107 -0
  60. package/src/builder/index.ts +2 -0
  61. package/src/capabilities/configuration/src/brands/createDerivedBrands.ts +1 -1
  62. package/src/capabilities/configuration/src/brands/types.ts +1 -1
  63. package/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.ts +1 -1
  64. package/src/capabilities/ui/elements/src/components/MarkdownText/components.tsx +0 -1
  65. package/src/components/Cards/VideosCard/VideoContent.tsx +32 -34
  66. package/src/components/DynamicOffers/DynamicOffers.tsx +1 -1
  67. package/src/components/DynamicOffers/Render/DynamicOffersRender.tsx +1 -1
  68. package/src/components/DynamicOffers/Render/Offer.tsx +1 -1
  69. package/src/components/Layouts/CreditCardOfferCard/index.tsx +1 -1
  70. package/src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx +1 -1
  71. package/src/components/Layouts/DefaultOfferCard/index.tsx +1 -1
  72. package/src/components/Layouts/DefaultOfferCard/statsBuilder.tsx +1 -1
  73. package/src/components/Layouts/HeadlineWithDescriptionCard/index.tsx +1 -1
  74. package/src/components/Modal/OfferDetailsModal.tsx +11 -0
  75. package/lib/typescript/builder/builder.d.ts.map +0 -1
  76. package/lib/typescript/builder/config/types.d.ts.map +0 -1
  77. package/lib/typescript/builder/index.d.ts.map +0 -1
  78. /package/lib/typescript/{builder → src/builder}/config/types.d.ts +0 -0
  79. /package/lib/typescript/{builder → src/builder}/index.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import type { Brand } from "../../../../../builder";
1
+ import type { Brand } from "../../../../builder";
2
2
  /**
3
3
  * Extracts and normalizes a brand into -
4
4
  * LicensedBrand - The brand to be used for terms, legal and other compliance needs
@@ -1 +1 @@
1
- {"version":3,"file":"createDerivedBrands.d.ts","sourceRoot":"","sources":["../../../../../../../src/capabilities/configuration/src/brands/createDerivedBrands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAKpD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,UAAW,KAAK,YA0B/C,CAAC"}
1
+ {"version":3,"file":"createDerivedBrands.d.ts","sourceRoot":"","sources":["../../../../../../../src/capabilities/configuration/src/brands/createDerivedBrands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAKjD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,UAAW,KAAK,YA0B/C,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { Brand } from "../../../../../builder";
1
+ import type { Brand } from "../../../../builder";
2
2
  export declare const enhanceType: (brand: Brand) => "business" | "product" | "individual" | "licensed" | undefined;
3
3
  export type { Brand };
4
4
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/capabilities/configuration/src/brands/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAEpD,eAAO,MAAM,WAAW,UAAW,KAAK,mEAGvC,CAAC;AACF,YAAY,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/capabilities/configuration/src/brands/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,WAAW,UAAW,KAAK,mEAGvC,CAAC;AACF,YAAY,EAAE,KAAK,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/capabilities/ui/elements/src/components/MarkdownText/components.tsx"],"names":[],"mappings":"AAKA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,+BAA+B,CAAC;AACvC,OAAa,EACZ,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,MAAM,mCAAmC,CAAC;AAQ3C,eAAO,MAAM,wBAAwB;;;;;MAUjC,WAwHH,CAAC"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/capabilities/ui/elements/src/components/MarkdownText/components.tsx"],"names":[],"mappings":"AAIA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,+BAA+B,CAAC;AACvC,OAAa,EACZ,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,MAAM,mCAAmC,CAAC;AAQ3C,eAAO,MAAM,wBAAwB;;;;;MAUjC,WAwHH,CAAC"}
@@ -1,9 +1 @@
1
- import React from "react";
2
- type Video = {
3
- muxId: string;
4
- subtitle: string;
5
- };
6
- export type VideoContentProps = Video;
7
- export declare const VideoContent: React.MemoExoticComponent<({ muxId, subtitle }: VideoContentProps) => React.JSX.Element>;
8
- export {};
9
1
  //# sourceMappingURL=VideoContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VideoContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Cards/VideosCard/VideoContent.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,KAAK,GAAG;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC;AAEtC,eAAO,MAAM,YAAY,kDAA8B,iBAAiB,uBAsBtE,CAAC"}
1
+ {"version":3,"file":"VideoContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Cards/VideosCard/VideoContent.tsx"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src/types/offerCatalogSchema";
3
3
  import type { Layout } from "../../../utils";
4
- import { productTypeBuilder as builder } from "../../../../builder/builder";
4
+ import { productTypeBuilder as builder } from "../../../builder/builder";
5
5
  export type DynamicOffersRenderProps = {
6
6
  title: string;
7
7
  offers: BaseOffer[];
@@ -1 +1 @@
1
- {"version":3,"file":"DynamicOffersRender.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/DynamicOffersRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAa5E,MAAM,MAAM,wBAAwB,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;QAC3B,KAAK,EAAE,SAAS,CAAC;QACjB,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,UAAU,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;IACH,kBAAkB,EAAE,OAAO,OAAO,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,8GAQ7B,wBAAwB,sBAiN1B,CAAC"}
1
+ {"version":3,"file":"DynamicOffersRender.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/DynamicOffersRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAazE,MAAM,MAAM,wBAAwB,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;QAC3B,KAAK,EAAE,SAAS,CAAC;QACjB,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,UAAU,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;IACH,kBAAkB,EAAE,OAAO,OAAO,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,8GAQ7B,wBAAwB,sBAiN1B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { ProductTypeBuilder } from "../../../../builder";
2
+ import type { ProductTypeBuilder } from "../../../builder";
3
3
  import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
4
4
  type RenderOfferListProps = {
5
5
  productTypeBuilder: ProductTypeBuilder;
@@ -1 +1 @@
1
- {"version":3,"file":"Offer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/Offer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAOhF,KAAK,oBAAoB,GAAG;IAC3B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,CAAC,EACnB,KAAK,EACL,UAAU,EACV,oBAAoB,GACpB,EAAE;QACF,KAAK,EAAE,SAAS,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,oBAAoB,CAAC,EAAE,OAAO,CAAC;KAC/B,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAE/B,CAAC;AAEF,eAAO,MAAM,KAAK,wFAMf,oBAAoB,wBAgEpB,CAAC"}
1
+ {"version":3,"file":"Offer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/Offer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAOhF,KAAK,oBAAoB,GAAG;IAC3B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,CAAC,EACnB,KAAK,EACL,UAAU,EACV,oBAAoB,GACpB,EAAE;QACF,KAAK,EAAE,SAAS,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,oBAAoB,CAAC,EAAE,OAAO,CAAC;KAC/B,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAE/B,CAAC;AAEF,eAAO,MAAM,KAAK,wFAMf,oBAAoB,wBAgEpB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
2
2
  import React from "react";
3
- import type { CreditCardOfferCard as CreditCardOfferCardBuilderProps } from "../../../../builder";
3
+ import type { CreditCardOfferCard as CreditCardOfferCardBuilderProps } from "../../../builder";
4
4
  type CreditCardOfferCardProps = {
5
5
  productTypeBuilder: CreditCardOfferCardBuilderProps;
6
6
  offer: BaseOffer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/CreditCardOfferCard/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAEhF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,IAAI,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AAQlG,KAAK,wBAAwB,GAAG;IAC/B,kBAAkB,EAAE,+BAA+B,CAAC;IACpD,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,mBAAmB,qEAM7B,wBAAwB,sBAgE1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/CreditCardOfferCard/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAEhF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,IAAI,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AAQ/F,KAAK,wBAAwB,GAAG;IAC/B,kBAAkB,EAAE,+BAA+B,CAAC;IACpD,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,mBAAmB,qEAM7B,wBAAwB,sBAgE1B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
2
- import type { CreditCardOfferCard } from "../../../../builder";
2
+ import type { CreditCardOfferCard } from "../../../builder";
3
3
  export declare const makeCreditCardOfferStats: (productTypeBuilder: CreditCardOfferCard) => (offer: BaseOffer) => {
4
4
  stats: import("../../../capabilities/offer-catalog/src/utils/stats/types").StatElementProps[];
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"statsBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG/D,eAAO,MAAM,wBAAwB,uBACf,mBAAmB,aAAa,SAAS;;CAI7D,CAAC"}
1
+ {"version":3,"file":"statsBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,eAAO,MAAM,wBAAwB,uBACf,mBAAmB,aAAa,SAAS;;CAI7D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
2
2
  import React from "react";
3
- import type { DefaultOfferCard as DefaultOfferCardBuilderProps } from "../../../../builder";
3
+ import type { DefaultOfferCard as DefaultOfferCardBuilderProps } from "../../../builder";
4
4
  type DefaultOfferCardProps = {
5
5
  productTypeBuilder: DefaultOfferCardBuilderProps;
6
6
  offer: BaseOffer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/DefaultOfferCard/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAG5F,KAAK,qBAAqB,GAAG;IAC5B,kBAAkB,EAAE,4BAA4B,CAAC;IACjD,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,iFAM1B,qBAAqB,sBAgDvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/DefaultOfferCard/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAGzF,KAAK,qBAAqB,GAAG;IAC5B,kBAAkB,EAAE,4BAA4B,CAAC;IACjD,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,iFAM1B,qBAAqB,sBAgDvB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
2
- import type { DefaultOfferCard } from "../../../../builder";
2
+ import type { DefaultOfferCard } from "../../../builder";
3
3
  export declare const makeDefaultOfferCardStats: (productTypeBuilder: DefaultOfferCard) => (offer: BaseOffer) => {
4
4
  stats: import("../../../capabilities/offer-catalog/src/utils/stats/types").StatElementProps[];
5
5
  topStats: import("../../../capabilities/offer-catalog/src/utils/stats/types").StatElementProps[];
@@ -1 +1 @@
1
- {"version":3,"file":"statsBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/DefaultOfferCard/statsBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,eAAO,MAAM,yBAAyB,uBAChB,gBAAgB,aAAa,SAAS;;;CAQ1D,CAAC"}
1
+ {"version":3,"file":"statsBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/DefaultOfferCard/statsBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,eAAO,MAAM,yBAAyB,uBAChB,gBAAgB,aAAa,SAAS;;;CAQ1D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
3
- import type { HeadlineWithDescriptionCard as HeadlineWithDescriptionCardBuilderProps } from "../../../../builder";
3
+ import type { HeadlineWithDescriptionCard as HeadlineWithDescriptionCardBuilderProps } from "../../../builder";
4
4
  type HeadlineWithDescriptionCardProps = {
5
5
  productTypeBuilder: HeadlineWithDescriptionCardBuilderProps;
6
6
  offer: BaseOffer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/HeadlineWithDescriptionCard/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,KAAK,EAAE,2BAA2B,IAAI,uCAAuC,EAAE,MAAM,qBAAqB,CAAC;AAGlH,KAAK,gCAAgC,GAAG;IACvC,kBAAkB,EAAE,uCAAuC,CAAC;IAC5D,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AACF,eAAO,MAAM,2BAA2B,iFAMrC,gCAAgC,sBAqClC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/HeadlineWithDescriptionCard/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,KAAK,EAAE,2BAA2B,IAAI,uCAAuC,EAAE,MAAM,kBAAkB,CAAC;AAG/G,KAAK,gCAAgC,GAAG;IACvC,kBAAkB,EAAE,uCAAuC,CAAC;IAC5D,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AACF,eAAO,MAAM,2BAA2B,iFAMrC,gCAAgC,sBAqClC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OfferDetailsModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/OfferDetailsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAM7E,KAAK,sBAAsB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAIF,eAAO,MAAM,iBAAiB,6CAK3B,sBAAsB,sBA2CxB,CAAC"}
1
+ {"version":3,"file":"OfferDetailsModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/OfferDetailsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAM7E,KAAK,sBAAsB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAIF,eAAO,MAAM,iBAAiB,6CAK3B,sBAAsB,sBAmDxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneylion/react-native-offer-carousel",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "React Native components for the Engine by MoneyLion Mobile SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -53,13 +53,15 @@
53
53
  "react": "18.2.0",
54
54
  "react-native": "0.74.5",
55
55
  "react-native-builder-bob": "^0.20.0",
56
+ "react-native-svg": "13.10.0",
56
57
  "release-it": "^15.0.0",
57
58
  "type-fest": "4.26.1",
58
59
  "typescript": "~5.3.3"
59
60
  },
60
61
  "peerDependencies": {
61
62
  "react": "*",
62
- "react-native": "*"
63
+ "react-native": "*",
64
+ "react-native-svg": "*"
63
65
  },
64
66
  "workspaces": [
65
67
  "example"
@@ -122,18 +124,11 @@
122
124
  ]
123
125
  },
124
126
  "dependencies": {
125
- "@miblanchard/react-native-slider": "^2.6.0",
126
- "@react-native-async-storage/async-storage": "1.23.1",
127
- "@react-native-picker/picker": "2.7.5",
128
127
  "defu": "6.1.4",
129
128
  "effect": "3.12.0",
130
129
  "numbro": "^2.5.0",
131
130
  "radash": "11.0.0",
132
131
  "react-native-markdown-display": "^7.0.2",
133
- "react-native-mask-text": "^0.14.2",
134
- "react-native-picker-select": "^9.1.3",
135
- "react-native-svg": "15.2.0",
136
- "reshaped": "3.2.7",
137
132
  "ts-pattern": "5.1.1"
138
133
  }
139
134
  }