@saasquatch/mint-components 1.15.0-7 → 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-e666dc8b.js → ShadowViewAddon-3e3e03ab.js} +1 -1
  2. package/dist/cjs/{copy-text-view-7441206d.js → copy-text-view-b2f47da0.js} +2 -2
  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 +22 -4
  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 +32 -2
  18. package/dist/collection/components/sqm-share-link/sqm-share-link.js +36 -3
  19. package/dist/collection/components/views/copy-text-view.js +2 -2
  20. package/dist/esm/{ShadowViewAddon-7c10e0ee.js → ShadowViewAddon-ccd5586b.js} +1 -1
  21. package/dist/esm/{copy-text-view-717050d5.js → copy-text-view-0ac6e1d1.js} +2 -2
  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 +22 -4
  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-7c10e0ee.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-4874193a.system.js → p-6d061986.system.js} +1 -1
  40. package/dist/mint-components/{p-8c12078e.js → p-ab47e9a7.js} +1 -1
  41. package/dist/mint-components/{p-7f1e10d3.entry.js → p-b59cd472.entry.js} +2 -2
  42. package/dist/mint-components/{p-bdbbc673.system.entry.js → p-ccc207bc.system.entry.js} +1 -1
  43. package/dist/mint-components/{p-c0d839d0.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 +9 -1
  54. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +10 -1
  55. package/dist/types/components.d.ts +170 -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-717050d5.js +0 -1
  65. package/dist/mint-components/p-51495bc3.entry.js +0 -13
  66. package/dist/mint-components/p-bb3f1257.system.entry.js +0 -1
  67. package/dist/mint-components/p-c3680c02.js +0 -1
  68. package/dist/mint-components/p-c6841ab8.system.entry.js +0 -1
  69. package/dist/mint-components/p-d8cf46ba.system.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
  */
@@ -4111,7 +4177,15 @@ export namespace Components {
4111
4177
  */
4112
4178
  "backgroundColor"?: string;
4113
4179
  /**
4114
- * The border radius on the share link container
4180
+ * Border color of share link container (default is set to 1px solid transparent)
4181
+ * @uiName Border color
4182
+ * @uiWidget color
4183
+ * @format color
4184
+ * @uiGroup Style
4185
+ */
4186
+ "borderColor"?: string;
4187
+ /**
4188
+ * The border radius on the share link container (in pixels)
4115
4189
  * @uiName Border Radius
4116
4190
  * @uiType number
4117
4191
  * @uiGroup Style
@@ -4188,7 +4262,15 @@ export namespace Components {
4188
4262
  */
4189
4263
  "backgroundColor"?: string;
4190
4264
  /**
4191
- * The border radius on the share link container
4265
+ * Border color of share link container (default is set to 1px solid transparent)
4266
+ * @uiName Border color
4267
+ * @uiWidget color
4268
+ * @format color
4269
+ * @uiGroup Style
4270
+ */
4271
+ "borderColor"?: string;
4272
+ /**
4273
+ * The border radius on the share link container (in pixels)
4192
4274
  * @uiName Border Radius
4193
4275
  * @uiType number
4194
4276
  * @uiGroup Style
@@ -4233,6 +4315,7 @@ export namespace Components {
4233
4315
  * @uiType string
4234
4316
  * @uiEnum ["left", "center", "right"]
4235
4317
  * @uiEnumNames ["Left", "Center", "Right"]
4318
+ * @uiGroup Style
4236
4319
  */
4237
4320
  "textAlign"?: "left" | "center" | "right";
4238
4321
  /**
@@ -7802,6 +7885,7 @@ declare namespace LocalJSX {
7802
7885
  * @uiName Background color
7803
7886
  * @uiWidget color
7804
7887
  * @format color
7888
+ * @uiGroup Style
7805
7889
  */
7806
7890
  "backgroundColor"?: string;
7807
7891
  /**
@@ -7817,6 +7901,15 @@ declare namespace LocalJSX {
7817
7901
  * @uiName Button text
7818
7902
  */
7819
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";
7820
7913
  /**
7821
7914
  * @uiName Description
7822
7915
  * @uiWidget textArea
@@ -7831,11 +7924,13 @@ declare namespace LocalJSX {
7831
7924
  * @uiType string
7832
7925
  * @uiEnum ["top", "bottom"]
7833
7926
  * @uiEnumNames ["Top", "Bottom"]
7927
+ * @uiGroup Style
7834
7928
  */
7835
7929
  "imageMobilePos"?: "top" | "bottom";
7836
7930
  /**
7837
7931
  * @uiName Image percentage
7838
7932
  * @uiType number
7933
+ * @uiGroup Style
7839
7934
  */
7840
7935
  "imagePercentage"?: number;
7841
7936
  /**
@@ -7843,6 +7938,7 @@ declare namespace LocalJSX {
7843
7938
  * @uiType string
7844
7939
  * @uiEnum ["left", "center", "right"]
7845
7940
  * @uiEnumNames ["Left", "Center", "Right"]
7941
+ * @uiGroup Style
7846
7942
  */
7847
7943
  "imagePos"?: "left" | "center" | "right";
7848
7944
  /**
@@ -7856,16 +7952,19 @@ declare namespace LocalJSX {
7856
7952
  * @uiType string
7857
7953
  * @uiEnum ["overlay", "columns"]
7858
7954
  * @uiEnumNames ["Overlay", "Two-column"]
7955
+ * @uiGroup Style
7859
7956
  */
7860
7957
  "layout"?: "overlay" | "columns";
7861
7958
  /**
7862
7959
  * @uiName Overlay color
7863
7960
  * @uiWidget color
7864
7961
  * @format color
7962
+ * @uiGroup Style
7865
7963
  */
7866
7964
  "overlayColor"?: string;
7867
7965
  /**
7868
7966
  * @uiName Overlay opacity
7967
+ * @uiGroup Style
7869
7968
  */
7870
7969
  "overlayOpacity"?: string;
7871
7970
  /**
@@ -7873,6 +7972,7 @@ declare namespace LocalJSX {
7873
7972
  * @uiType string
7874
7973
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
7875
7974
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
7975
+ * @uiGroup Style
7876
7976
  */
7877
7977
  "paddingImage"?: Spacing;
7878
7978
  /**
@@ -7880,12 +7980,14 @@ declare namespace LocalJSX {
7880
7980
  * @uiType string
7881
7981
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
7882
7982
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
7983
+ * @uiGroup Style
7883
7984
  */
7884
7985
  "paddingText"?: Spacing;
7885
7986
  /**
7886
7987
  * @uiName Text color
7887
7988
  * @uiWidget color
7888
7989
  * @format color
7990
+ * @uiGroup Style
7889
7991
  */
7890
7992
  "textColor"?: string;
7891
7993
  }
@@ -9970,14 +10072,47 @@ declare namespace LocalJSX {
9970
10072
  "verticalAlignment"?: "start" | "center" | "end";
9971
10073
  }
9972
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;
9973
10098
  /**
9974
10099
  * Set the copy button style and placement
9975
10100
  * @uiName Style
9976
10101
  * @uiType string
9977
10102
  * @uiEnum ["icon", "button-outside", "button-below"]
9978
10103
  * @uiEnumNames ["Icon", "Button outside", "Button below"]
10104
+ * @uiGroup Style
9979
10105
  */
9980
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";
9981
10116
  /**
9982
10117
  * @uiName Copy button label
9983
10118
  */
@@ -10011,6 +10146,14 @@ declare namespace LocalJSX {
10011
10146
  * @uiEnumNames ["Left", "Center", "Right"]
10012
10147
  */
10013
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;
10014
10157
  /**
10015
10158
  * The number of milliseconds that the tooltip appears for
10016
10159
  * @uiName Tooltip lifespan
@@ -10045,6 +10188,12 @@ declare namespace LocalJSX {
10045
10188
  * @uiWidget programSelector
10046
10189
  */
10047
10190
  "programId"?: string;
10191
+ /**
10192
+ * @uiName Text Color
10193
+ * @uiType string
10194
+ * @uiWidget color
10195
+ */
10196
+ "textColor"?: string;
10048
10197
  /**
10049
10198
  * @uiName Title Text
10050
10199
  */
@@ -10947,7 +11096,15 @@ declare namespace LocalJSX {
10947
11096
  */
10948
11097
  "backgroundColor"?: string;
10949
11098
  /**
10950
- * The border radius on the share link container
11099
+ * Border color of share link container (default is set to 1px solid transparent)
11100
+ * @uiName Border color
11101
+ * @uiWidget color
11102
+ * @format color
11103
+ * @uiGroup Style
11104
+ */
11105
+ "borderColor"?: string;
11106
+ /**
11107
+ * The border radius on the share link container (in pixels)
10951
11108
  * @uiName Border Radius
10952
11109
  * @uiType number
10953
11110
  * @uiGroup Style
@@ -11024,7 +11181,15 @@ declare namespace LocalJSX {
11024
11181
  */
11025
11182
  "backgroundColor"?: string;
11026
11183
  /**
11027
- * The border radius on the share link container
11184
+ * Border color of share link container (default is set to 1px solid transparent)
11185
+ * @uiName Border color
11186
+ * @uiWidget color
11187
+ * @format color
11188
+ * @uiGroup Style
11189
+ */
11190
+ "borderColor"?: string;
11191
+ /**
11192
+ * The border radius on the share link container (in pixels)
11028
11193
  * @uiName Border Radius
11029
11194
  * @uiType number
11030
11195
  * @uiGroup Style
@@ -11069,6 +11234,7 @@ declare namespace LocalJSX {
11069
11234
  * @uiType string
11070
11235
  * @uiEnum ["left", "center", "right"]
11071
11236
  * @uiEnumNames ["Left", "Center", "Right"]
11237
+ * @uiGroup Style
11072
11238
  */
11073
11239
  "textAlign"?: "left" | "center" | "right";
11074
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