@saasquatch/mint-components 1.11.1-30 → 1.11.1-32

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.
@@ -7,6 +7,7 @@ import { ReferralCodesView, } from "./sqm-referral-codes-view";
7
7
  import { useReferralCodes } from "./useReferralCodes";
8
8
  /**
9
9
  * @uiName Referral Codes
10
+ * @slots [{"name":"", "title":"Promo Codes Content"}]
10
11
  * @exampleGroup Sharing
11
12
  * @example Referral Codes - <sqm-referral-codes><sqm-pagination slot="pagination"></sqm-pagination><sqm-referral-code slot="shareCodes"></sqm-referral-code><sqm-portal-container gap="small" slot="shareButtons"><sqm-share-button medium="email">Share via email</sqm-share-button><sqm-share-button medium="fbmessenger">Share on Facebook</sqm-share-button><sqm-share-button medium="whatsapp">Share on WhatsApp</sqm-share-button></sqm-portal-container></sqm-referral-codes>
12
13
  */
@@ -78,6 +79,9 @@ export class ReferralCodes {
78
79
  "tags": [{
79
80
  "text": "Program ID",
80
81
  "name": "uiName"
82
+ }, {
83
+ "text": "programSelector",
84
+ "name": "uiWidget"
81
85
  }],
82
86
  "text": ""
83
87
  },
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
2
2
  import { ReferralCodesViewProps } from "./sqm-referral-codes-view";
3
3
  /**
4
4
  * @uiName Referral Codes
5
+ * @slots [{"name":"", "title":"Promo Codes Content"}]
5
6
  * @exampleGroup Sharing
6
7
  * @example Referral Codes - <sqm-referral-codes><sqm-pagination slot="pagination"></sqm-pagination><sqm-referral-code slot="shareCodes"></sqm-referral-code><sqm-portal-container gap="small" slot="shareButtons"><sqm-share-button medium="email">Share via email</sqm-share-button><sqm-share-button medium="fbmessenger">Share on Facebook</sqm-share-button><sqm-share-button medium="whatsapp">Share on WhatsApp</sqm-share-button></sqm-portal-container></sqm-referral-codes>
7
8
  */
@@ -12,6 +13,7 @@ export declare class ReferralCodes {
12
13
  titleText?: string;
13
14
  /**
14
15
  * @uiName Program ID
16
+ * @uiWidget programSelector
15
17
  */
16
18
  programId?: string;
17
19
  /**
@@ -2648,6 +2648,7 @@ export namespace Components {
2648
2648
  "demoData"?: DemoData<ReferralCodesViewProps>;
2649
2649
  /**
2650
2650
  * @uiName Program ID
2651
+ * @uiWidget programSelector
2651
2652
  */
2652
2653
  "programId"?: string;
2653
2654
  /**
@@ -8584,6 +8585,7 @@ declare namespace LocalJSX {
8584
8585
  "demoData"?: DemoData<ReferralCodesViewProps>;
8585
8586
  /**
8586
8587
  * @uiName Program ID
8588
+ * @uiWidget programSelector
8587
8589
  */
8588
8590
  "programId"?: string;
8589
8591
  /**
@@ -0,0 +1,7 @@
1
+ interface AndroidInterface {
2
+ platform: 'android';
3
+ shareOnFacebook(shareUrl: string, fallbackUrl: string): void;
4
+ showToast(toast: string): void;
5
+ }
6
+
7
+ export type PlatformNativeActions = AndroidInterface | undefined;
@@ -0,0 +1,2 @@
1
+ export type DemoData<T extends {}> = Partial<Omit<T, "callbacks" | "text">>;
2
+ export type StoryDemoData<T extends {}> = Partial<Omit<T, "text">>;
@@ -0,0 +1,4 @@
1
+ declare module "*.feature" {
2
+ const content: string;
3
+ export default content;
4
+ }
@@ -0,0 +1,4 @@
1
+ declare module "*.html" {
2
+ const content: string;
3
+ export default content;
4
+ }
package/docs/docs.docx CHANGED
Binary file