@saasquatch/mint-components 1.15.0-8 → 1.15.0-9

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 (69) hide show
  1. package/dist/cjs/{ShadowViewAddon-afc40c22.js → ShadowViewAddon-3e3e03ab.js} +1 -1
  2. package/dist/cjs/{copy-text-view-9d4259f4.js → copy-text-view-b2f47da0.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/mint-components.cjs.js +1 -1
  5. package/dist/cjs/sqm-big-stat_41.cjs.entry.js +21 -3
  6. package/dist/cjs/sqm-pagination_3.cjs.entry.js +70 -54
  7. package/dist/cjs/sqm-stencilbook.cjs.entry.js +13 -2
  8. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  9. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +1 -1
  10. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +79 -0
  11. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  12. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
  13. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +165 -1
  14. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
  15. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
  16. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +28 -1
  17. package/dist/collection/components/sqm-share-code/sqm-share-code.js +3 -2
  18. package/dist/collection/components/sqm-share-link/sqm-share-link.js +6 -2
  19. package/dist/collection/components/views/copy-text-view.js +1 -1
  20. package/dist/esm/{ShadowViewAddon-bdedf635.js → ShadowViewAddon-ccd5586b.js} +1 -1
  21. package/dist/esm/{copy-text-view-ca98ab38.js → copy-text-view-0ac6e1d1.js} +1 -1
  22. package/dist/esm/loader.js +1 -1
  23. package/dist/esm/mint-components.js +1 -1
  24. package/dist/esm/sqm-big-stat_41.entry.js +21 -3
  25. package/dist/esm/sqm-pagination_3.entry.js +70 -54
  26. package/dist/esm/sqm-stencilbook.entry.js +13 -2
  27. package/dist/esm-es5/{ShadowViewAddon-bdedf635.js → ShadowViewAddon-ccd5586b.js} +1 -1
  28. package/dist/esm-es5/copy-text-view-0ac6e1d1.js +1 -0
  29. package/dist/esm-es5/loader.js +1 -1
  30. package/dist/esm-es5/mint-components.js +1 -1
  31. package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
  32. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  33. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  34. package/dist/mint-components/mint-components.esm.js +1 -1
  35. package/dist/mint-components/p-19439bf0.system.entry.js +1 -0
  36. package/dist/mint-components/p-2c7ebd5b.js +1 -0
  37. package/dist/mint-components/p-32dbde60.system.js +1 -0
  38. package/dist/mint-components/p-5ca43353.system.entry.js +1 -0
  39. package/dist/mint-components/{p-338bcfd6.system.js → p-6d061986.system.js} +1 -1
  40. package/dist/mint-components/{p-469ad274.js → p-ab47e9a7.js} +1 -1
  41. package/dist/mint-components/{p-484196f8.entry.js → p-b59cd472.entry.js} +2 -2
  42. package/dist/mint-components/{p-c39db551.system.entry.js → p-ccc207bc.system.entry.js} +1 -1
  43. package/dist/mint-components/{p-b889ec31.entry.js → p-cd31cfd4.entry.js} +11 -11
  44. package/dist/mint-components/p-d4546357.entry.js +13 -0
  45. package/dist/mint-components/p-ed11966d.system.js +1 -1
  46. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
  47. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +19 -0
  48. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
  49. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +41 -0
  50. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
  51. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
  52. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +6 -0
  53. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
  54. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +2 -1
  55. package/dist/types/components.d.ts +138 -4
  56. package/dist/types/global/android.d.ts +7 -0
  57. package/dist/types/global/demo.d.ts +2 -0
  58. package/dist/types/stories/features.d.ts +4 -0
  59. package/dist/types/stories/templates.d.ts +4 -0
  60. package/docs/docs.docx +0 -0
  61. package/docs/raisins.json +1 -1
  62. package/grapesjs/grapesjs.js +1 -1
  63. package/package.json +1 -1
  64. package/dist/esm-es5/copy-text-view-ca98ab38.js +0 -1
  65. package/dist/mint-components/p-09a77c82.system.entry.js +0 -1
  66. package/dist/mint-components/p-2195c312.entry.js +0 -13
  67. package/dist/mint-components/p-55c16fb9.system.js +0 -1
  68. package/dist/mint-components/p-642909e6.system.entry.js +0 -1
  69. package/dist/mint-components/p-9fe143f5.js +0 -1
@@ -936,6 +936,7 @@ export namespace Components {
936
936
  * @uiName Background color
937
937
  * @uiWidget color
938
938
  * @format color
939
+ * @uiGroup Style
939
940
  */
940
941
  "backgroundColor"?: string;
941
942
  /**
@@ -951,6 +952,15 @@ export namespace Components {
951
952
  * @uiName Button text
952
953
  */
953
954
  "buttonText"?: string;
955
+ /**
956
+ * The type of the button (primary or secondary) that will be used to copy the link.
957
+ * @uiName Button Type
958
+ * @uiType string
959
+ * @uiEnum ["primary", "secondary"]
960
+ * @uiEnumNames ["Primary", "Secondary"]
961
+ * @uiGroup Style
962
+ */
963
+ "buttonType"?: "primary" | "secondary";
954
964
  /**
955
965
  * @uiName Description
956
966
  * @uiWidget textArea
@@ -965,11 +975,13 @@ export namespace Components {
965
975
  * @uiType string
966
976
  * @uiEnum ["top", "bottom"]
967
977
  * @uiEnumNames ["Top", "Bottom"]
978
+ * @uiGroup Style
968
979
  */
969
980
  "imageMobilePos": "top" | "bottom";
970
981
  /**
971
982
  * @uiName Image percentage
972
983
  * @uiType number
984
+ * @uiGroup Style
973
985
  */
974
986
  "imagePercentage": number;
975
987
  /**
@@ -977,6 +989,7 @@ export namespace Components {
977
989
  * @uiType string
978
990
  * @uiEnum ["left", "center", "right"]
979
991
  * @uiEnumNames ["Left", "Center", "Right"]
992
+ * @uiGroup Style
980
993
  */
981
994
  "imagePos": "left" | "center" | "right";
982
995
  /**
@@ -990,16 +1003,19 @@ export namespace Components {
990
1003
  * @uiType string
991
1004
  * @uiEnum ["overlay", "columns"]
992
1005
  * @uiEnumNames ["Overlay", "Two-column"]
1006
+ * @uiGroup Style
993
1007
  */
994
1008
  "layout": "overlay" | "columns";
995
1009
  /**
996
1010
  * @uiName Overlay color
997
1011
  * @uiWidget color
998
1012
  * @format color
1013
+ * @uiGroup Style
999
1014
  */
1000
1015
  "overlayColor"?: string;
1001
1016
  /**
1002
1017
  * @uiName Overlay opacity
1018
+ * @uiGroup Style
1003
1019
  */
1004
1020
  "overlayOpacity": string;
1005
1021
  /**
@@ -1007,6 +1023,7 @@ export namespace Components {
1007
1023
  * @uiType string
1008
1024
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
1009
1025
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1026
+ * @uiGroup Style
1010
1027
  */
1011
1028
  "paddingImage": Spacing;
1012
1029
  /**
@@ -1014,12 +1031,14 @@ export namespace Components {
1014
1031
  * @uiType string
1015
1032
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
1016
1033
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1034
+ * @uiGroup Style
1017
1035
  */
1018
1036
  "paddingText": Spacing;
1019
1037
  /**
1020
1038
  * @uiName Text color
1021
1039
  * @uiWidget color
1022
1040
  * @format color
1041
+ * @uiGroup Style
1023
1042
  */
1024
1043
  "textColor"?: string;
1025
1044
  }
@@ -3110,14 +3129,47 @@ export namespace Components {
3110
3129
  "verticalAlignment": "start" | "center" | "end";
3111
3130
  }
3112
3131
  interface SqmReferralCode {
3132
+ /**
3133
+ * Background color of share link container
3134
+ * @uiName Background color
3135
+ * @uiWidget color
3136
+ * @format color
3137
+ * @uiGroup Style
3138
+ */
3139
+ "backgroundColor"?: string;
3140
+ /**
3141
+ * Border color of share link container (default is set to 1px solid transparent)
3142
+ * @uiName Border color
3143
+ * @uiWidget color
3144
+ * @format color
3145
+ * @uiGroup Style
3146
+ */
3147
+ "borderColor"?: string;
3148
+ /**
3149
+ * The border radius on the share link container (in pixels)
3150
+ * @uiName Border Radius
3151
+ * @uiType number
3152
+ * @uiGroup Style
3153
+ */
3154
+ "borderRadius"?: string;
3113
3155
  /**
3114
3156
  * Set the copy button style and placement
3115
3157
  * @uiName Style
3116
3158
  * @uiType string
3117
3159
  * @uiEnum ["icon", "button-outside", "button-below"]
3118
3160
  * @uiEnumNames ["Icon", "Button outside", "Button below"]
3161
+ * @uiGroup Style
3119
3162
  */
3120
3163
  "buttonStyle"?: "icon" | "button-outside" | "button-below";
3164
+ /**
3165
+ * The type of the button (primary or secondary) that will be used to copy the link.
3166
+ * @uiName Button Type
3167
+ * @uiType string
3168
+ * @uiEnum ["primary", "secondary"]
3169
+ * @uiEnumNames ["Primary", "Secondary"]
3170
+ * @uiGroup Style
3171
+ */
3172
+ "buttonType"?: "primary" | "secondary";
3121
3173
  /**
3122
3174
  * @uiName Copy button label
3123
3175
  */
@@ -3151,6 +3203,14 @@ export namespace Components {
3151
3203
  * @uiEnumNames ["Left", "Center", "Right"]
3152
3204
  */
3153
3205
  "textAlign": "left" | "center" | "right";
3206
+ /**
3207
+ * Color of the text and copy icon
3208
+ * @uiName Text color
3209
+ * @uiWidget color
3210
+ * @format color
3211
+ * @uiGroup Style
3212
+ */
3213
+ "textColor"?: string;
3154
3214
  /**
3155
3215
  * The number of milliseconds that the tooltip appears for
3156
3216
  * @uiName Tooltip lifespan
@@ -3185,6 +3245,12 @@ export namespace Components {
3185
3245
  * @uiWidget programSelector
3186
3246
  */
3187
3247
  "programId"?: string;
3248
+ /**
3249
+ * @uiName Text Color
3250
+ * @uiType string
3251
+ * @uiWidget color
3252
+ */
3253
+ "textColor"?: string;
3188
3254
  /**
3189
3255
  * @uiName Title Text
3190
3256
  */
@@ -4119,7 +4185,7 @@ export namespace Components {
4119
4185
  */
4120
4186
  "borderColor"?: string;
4121
4187
  /**
4122
- * The border radius on the share link container
4188
+ * The border radius on the share link container (in pixels)
4123
4189
  * @uiName Border Radius
4124
4190
  * @uiType number
4125
4191
  * @uiGroup Style
@@ -4204,7 +4270,7 @@ export namespace Components {
4204
4270
  */
4205
4271
  "borderColor"?: string;
4206
4272
  /**
4207
- * The border radius on the share link container
4273
+ * The border radius on the share link container (in pixels)
4208
4274
  * @uiName Border Radius
4209
4275
  * @uiType number
4210
4276
  * @uiGroup Style
@@ -4249,6 +4315,7 @@ export namespace Components {
4249
4315
  * @uiType string
4250
4316
  * @uiEnum ["left", "center", "right"]
4251
4317
  * @uiEnumNames ["Left", "Center", "Right"]
4318
+ * @uiGroup Style
4252
4319
  */
4253
4320
  "textAlign"?: "left" | "center" | "right";
4254
4321
  /**
@@ -7818,6 +7885,7 @@ declare namespace LocalJSX {
7818
7885
  * @uiName Background color
7819
7886
  * @uiWidget color
7820
7887
  * @format color
7888
+ * @uiGroup Style
7821
7889
  */
7822
7890
  "backgroundColor"?: string;
7823
7891
  /**
@@ -7833,6 +7901,15 @@ declare namespace LocalJSX {
7833
7901
  * @uiName Button text
7834
7902
  */
7835
7903
  "buttonText"?: string;
7904
+ /**
7905
+ * The type of the button (primary or secondary) that will be used to copy the link.
7906
+ * @uiName Button Type
7907
+ * @uiType string
7908
+ * @uiEnum ["primary", "secondary"]
7909
+ * @uiEnumNames ["Primary", "Secondary"]
7910
+ * @uiGroup Style
7911
+ */
7912
+ "buttonType"?: "primary" | "secondary";
7836
7913
  /**
7837
7914
  * @uiName Description
7838
7915
  * @uiWidget textArea
@@ -7847,11 +7924,13 @@ declare namespace LocalJSX {
7847
7924
  * @uiType string
7848
7925
  * @uiEnum ["top", "bottom"]
7849
7926
  * @uiEnumNames ["Top", "Bottom"]
7927
+ * @uiGroup Style
7850
7928
  */
7851
7929
  "imageMobilePos"?: "top" | "bottom";
7852
7930
  /**
7853
7931
  * @uiName Image percentage
7854
7932
  * @uiType number
7933
+ * @uiGroup Style
7855
7934
  */
7856
7935
  "imagePercentage"?: number;
7857
7936
  /**
@@ -7859,6 +7938,7 @@ declare namespace LocalJSX {
7859
7938
  * @uiType string
7860
7939
  * @uiEnum ["left", "center", "right"]
7861
7940
  * @uiEnumNames ["Left", "Center", "Right"]
7941
+ * @uiGroup Style
7862
7942
  */
7863
7943
  "imagePos"?: "left" | "center" | "right";
7864
7944
  /**
@@ -7872,16 +7952,19 @@ declare namespace LocalJSX {
7872
7952
  * @uiType string
7873
7953
  * @uiEnum ["overlay", "columns"]
7874
7954
  * @uiEnumNames ["Overlay", "Two-column"]
7955
+ * @uiGroup Style
7875
7956
  */
7876
7957
  "layout"?: "overlay" | "columns";
7877
7958
  /**
7878
7959
  * @uiName Overlay color
7879
7960
  * @uiWidget color
7880
7961
  * @format color
7962
+ * @uiGroup Style
7881
7963
  */
7882
7964
  "overlayColor"?: string;
7883
7965
  /**
7884
7966
  * @uiName Overlay opacity
7967
+ * @uiGroup Style
7885
7968
  */
7886
7969
  "overlayOpacity"?: string;
7887
7970
  /**
@@ -7889,6 +7972,7 @@ declare namespace LocalJSX {
7889
7972
  * @uiType string
7890
7973
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
7891
7974
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
7975
+ * @uiGroup Style
7892
7976
  */
7893
7977
  "paddingImage"?: Spacing;
7894
7978
  /**
@@ -7896,12 +7980,14 @@ declare namespace LocalJSX {
7896
7980
  * @uiType string
7897
7981
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
7898
7982
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
7983
+ * @uiGroup Style
7899
7984
  */
7900
7985
  "paddingText"?: Spacing;
7901
7986
  /**
7902
7987
  * @uiName Text color
7903
7988
  * @uiWidget color
7904
7989
  * @format color
7990
+ * @uiGroup Style
7905
7991
  */
7906
7992
  "textColor"?: string;
7907
7993
  }
@@ -9986,14 +10072,47 @@ declare namespace LocalJSX {
9986
10072
  "verticalAlignment"?: "start" | "center" | "end";
9987
10073
  }
9988
10074
  interface SqmReferralCode {
10075
+ /**
10076
+ * Background color of share link container
10077
+ * @uiName Background color
10078
+ * @uiWidget color
10079
+ * @format color
10080
+ * @uiGroup Style
10081
+ */
10082
+ "backgroundColor"?: string;
10083
+ /**
10084
+ * Border color of share link container (default is set to 1px solid transparent)
10085
+ * @uiName Border color
10086
+ * @uiWidget color
10087
+ * @format color
10088
+ * @uiGroup Style
10089
+ */
10090
+ "borderColor"?: string;
10091
+ /**
10092
+ * The border radius on the share link container (in pixels)
10093
+ * @uiName Border Radius
10094
+ * @uiType number
10095
+ * @uiGroup Style
10096
+ */
10097
+ "borderRadius"?: string;
9989
10098
  /**
9990
10099
  * Set the copy button style and placement
9991
10100
  * @uiName Style
9992
10101
  * @uiType string
9993
10102
  * @uiEnum ["icon", "button-outside", "button-below"]
9994
10103
  * @uiEnumNames ["Icon", "Button outside", "Button below"]
10104
+ * @uiGroup Style
9995
10105
  */
9996
10106
  "buttonStyle"?: "icon" | "button-outside" | "button-below";
10107
+ /**
10108
+ * The type of the button (primary or secondary) that will be used to copy the link.
10109
+ * @uiName Button Type
10110
+ * @uiType string
10111
+ * @uiEnum ["primary", "secondary"]
10112
+ * @uiEnumNames ["Primary", "Secondary"]
10113
+ * @uiGroup Style
10114
+ */
10115
+ "buttonType"?: "primary" | "secondary";
9997
10116
  /**
9998
10117
  * @uiName Copy button label
9999
10118
  */
@@ -10027,6 +10146,14 @@ declare namespace LocalJSX {
10027
10146
  * @uiEnumNames ["Left", "Center", "Right"]
10028
10147
  */
10029
10148
  "textAlign"?: "left" | "center" | "right";
10149
+ /**
10150
+ * Color of the text and copy icon
10151
+ * @uiName Text color
10152
+ * @uiWidget color
10153
+ * @format color
10154
+ * @uiGroup Style
10155
+ */
10156
+ "textColor"?: string;
10030
10157
  /**
10031
10158
  * The number of milliseconds that the tooltip appears for
10032
10159
  * @uiName Tooltip lifespan
@@ -10061,6 +10188,12 @@ declare namespace LocalJSX {
10061
10188
  * @uiWidget programSelector
10062
10189
  */
10063
10190
  "programId"?: string;
10191
+ /**
10192
+ * @uiName Text Color
10193
+ * @uiType string
10194
+ * @uiWidget color
10195
+ */
10196
+ "textColor"?: string;
10064
10197
  /**
10065
10198
  * @uiName Title Text
10066
10199
  */
@@ -10971,7 +11104,7 @@ declare namespace LocalJSX {
10971
11104
  */
10972
11105
  "borderColor"?: string;
10973
11106
  /**
10974
- * The border radius on the share link container
11107
+ * The border radius on the share link container (in pixels)
10975
11108
  * @uiName Border Radius
10976
11109
  * @uiType number
10977
11110
  * @uiGroup Style
@@ -11056,7 +11189,7 @@ declare namespace LocalJSX {
11056
11189
  */
11057
11190
  "borderColor"?: string;
11058
11191
  /**
11059
- * The border radius on the share link container
11192
+ * The border radius on the share link container (in pixels)
11060
11193
  * @uiName Border Radius
11061
11194
  * @uiType number
11062
11195
  * @uiGroup Style
@@ -11101,6 +11234,7 @@ declare namespace LocalJSX {
11101
11234
  * @uiType string
11102
11235
  * @uiEnum ["left", "center", "right"]
11103
11236
  * @uiEnumNames ["Left", "Center", "Right"]
11237
+ * @uiGroup Style
11104
11238
  */
11105
11239
  "textAlign"?: "left" | "center" | "right";
11106
11240
  /**
@@ -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