@saasquatch/mint-components 1.6.1-13 → 1.6.1-14

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 (228) hide show
  1. package/dist/cjs/sqm-qa.cjs.entry.js +1 -0
  2. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +4 -4
  3. package/dist/collection/components/sqm-brand/sqm-brand.js +1 -1
  4. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -1
  5. package/dist/collection/components/sqm-qa/sqm-qa.js +10 -0
  6. package/dist/collection/components/sqm-scroll/sqm-scroll.js +0 -2
  7. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +1 -1
  8. package/dist/esm/sqm-qa.entry.js +1 -0
  9. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +4 -4
  10. package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -1
  11. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +1 -1
  12. package/dist/types/components/sqm-qa/sqm-qa.d.ts +3 -0
  13. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +0 -2
  14. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +1 -1
  15. package/dist/types/components.d.ts +6 -0
  16. package/docs/docs.docx +0 -0
  17. package/docs/grapesjs.js +54 -0
  18. package/docs/raisins.json +1 -1
  19. package/docs/stats.json +39222 -0
  20. package/grapesjs/grapesjs.js +1 -1
  21. package/package.json +1 -1
  22. package/shoelace/assets/icons/123.svg +3 -0
  23. package/shoelace/assets/icons/activity.svg +3 -0
  24. package/shoelace/assets/icons/apple.svg +4 -0
  25. package/shoelace/assets/icons/bandaid-fill.svg +3 -0
  26. package/shoelace/assets/icons/bandaid.svg +4 -0
  27. package/shoelace/assets/icons/bank.svg +3 -0
  28. package/shoelace/assets/icons/bank2.svg +3 -0
  29. package/shoelace/assets/icons/behance.svg +3 -0
  30. package/shoelace/assets/icons/bell-slash-fill.svg +3 -0
  31. package/shoelace/assets/icons/bell-slash.svg +3 -0
  32. package/shoelace/assets/icons/bluetooth.svg +3 -0
  33. package/shoelace/assets/icons/body-text.svg +3 -0
  34. package/shoelace/assets/icons/boombox-fill.svg +4 -0
  35. package/shoelace/assets/icons/boombox.svg +6 -0
  36. package/shoelace/assets/icons/boxes.svg +3 -0
  37. package/shoelace/assets/icons/cash-coin.svg +6 -0
  38. package/shoelace/assets/icons/check-lg.svg +3 -0
  39. package/shoelace/assets/icons/cloud-haze2.svg +3 -0
  40. package/shoelace/assets/icons/coin.svg +5 -0
  41. package/shoelace/assets/icons/currency-bitcoin.svg +3 -0
  42. package/shoelace/assets/icons/currency-dollar.svg +3 -0
  43. package/shoelace/assets/icons/currency-euro.svg +3 -0
  44. package/shoelace/assets/icons/currency-exchange.svg +3 -0
  45. package/shoelace/assets/icons/currency-pound.svg +3 -0
  46. package/shoelace/assets/icons/currency-yen.svg +3 -0
  47. package/shoelace/assets/icons/dash-lg.svg +3 -0
  48. package/shoelace/assets/icons/device-hdd-fill.svg +4 -0
  49. package/shoelace/assets/icons/device-hdd.svg +5 -0
  50. package/shoelace/assets/icons/device-ssd-fill.svg +4 -0
  51. package/shoelace/assets/icons/device-ssd.svg +4 -0
  52. package/shoelace/assets/icons/displayport-fill.svg +3 -0
  53. package/shoelace/assets/icons/displayport.svg +4 -0
  54. package/shoelace/assets/icons/dpad-fill.svg +3 -0
  55. package/shoelace/assets/icons/dpad.svg +4 -0
  56. package/shoelace/assets/icons/dribbble.svg +3 -0
  57. package/shoelace/assets/icons/ear-fill.svg +3 -0
  58. package/shoelace/assets/icons/ear.svg +3 -0
  59. package/shoelace/assets/icons/easel2-fill.svg +4 -0
  60. package/shoelace/assets/icons/easel2.svg +3 -0
  61. package/shoelace/assets/icons/easel3-fill.svg +3 -0
  62. package/shoelace/assets/icons/easel3.svg +3 -0
  63. package/shoelace/assets/icons/envelope-check-fill.svg +4 -0
  64. package/shoelace/assets/icons/envelope-check.svg +4 -0
  65. package/shoelace/assets/icons/envelope-dash-fill.svg +4 -0
  66. package/shoelace/assets/icons/envelope-dash.svg +4 -0
  67. package/shoelace/assets/icons/envelope-exclamation-fill.svg +4 -0
  68. package/shoelace/assets/icons/envelope-exclamation.svg +4 -0
  69. package/shoelace/assets/icons/envelope-plus-fill.svg +4 -0
  70. package/shoelace/assets/icons/envelope-plus.svg +4 -0
  71. package/shoelace/assets/icons/envelope-slash-fill.svg +4 -0
  72. package/shoelace/assets/icons/envelope-slash.svg +4 -0
  73. package/shoelace/assets/icons/envelope-x-fill.svg +4 -0
  74. package/shoelace/assets/icons/envelope-x.svg +4 -0
  75. package/shoelace/assets/icons/ethernet.svg +4 -0
  76. package/shoelace/assets/icons/exclamation-lg.svg +3 -0
  77. package/shoelace/assets/icons/explicit-fill.svg +3 -0
  78. package/shoelace/assets/icons/explicit.svg +4 -0
  79. package/shoelace/assets/icons/fan.svg +4 -0
  80. package/shoelace/assets/icons/file-earmark-pdf-fill.svg +4 -0
  81. package/shoelace/assets/icons/file-earmark-pdf.svg +4 -0
  82. package/shoelace/assets/icons/file-pdf-fill.svg +4 -0
  83. package/shoelace/assets/icons/file-pdf.svg +4 -0
  84. package/shoelace/assets/icons/fingerprint.svg +7 -0
  85. package/shoelace/assets/icons/gender-ambiguous.svg +3 -0
  86. package/shoelace/assets/icons/gender-female.svg +3 -0
  87. package/shoelace/assets/icons/gender-male.svg +3 -0
  88. package/shoelace/assets/icons/gender-trans.svg +3 -0
  89. package/shoelace/assets/icons/git.svg +3 -0
  90. package/shoelace/assets/icons/gpu-card.svg +5 -0
  91. package/shoelace/assets/icons/graph-down-arrow.svg +3 -0
  92. package/shoelace/assets/icons/graph-up-arrow.svg +3 -0
  93. package/shoelace/assets/icons/hdmi-fill.svg +3 -0
  94. package/shoelace/assets/icons/hdmi.svg +4 -0
  95. package/shoelace/assets/icons/headset-vr.svg +4 -0
  96. package/shoelace/assets/icons/hypnotize.svg +4 -0
  97. package/shoelace/assets/icons/infinity.svg +3 -0
  98. package/shoelace/assets/icons/info-lg.svg +3 -0
  99. package/shoelace/assets/icons/line.svg +3 -0
  100. package/shoelace/assets/icons/list-columns-reverse.svg +3 -0
  101. package/shoelace/assets/icons/list-columns.svg +3 -0
  102. package/shoelace/assets/icons/magic.svg +3 -0
  103. package/shoelace/assets/icons/mastodon.svg +3 -0
  104. package/shoelace/assets/icons/medium.svg +3 -0
  105. package/shoelace/assets/icons/memory.svg +3 -0
  106. package/shoelace/assets/icons/messenger.svg +3 -0
  107. package/shoelace/assets/icons/meta.svg +3 -0
  108. package/shoelace/assets/icons/microsoft.svg +3 -0
  109. package/shoelace/assets/icons/modem-fill.svg +3 -0
  110. package/shoelace/assets/icons/modem.svg +4 -0
  111. package/shoelace/assets/icons/mortarboard-fill.svg +4 -0
  112. package/shoelace/assets/icons/mortarboard.svg +4 -0
  113. package/shoelace/assets/icons/motherboard-fill.svg +4 -0
  114. package/shoelace/assets/icons/motherboard.svg +4 -0
  115. package/shoelace/assets/icons/nintendo-switch.svg +4 -0
  116. package/shoelace/assets/icons/optical-audio-fill.svg +4 -0
  117. package/shoelace/assets/icons/optical-audio.svg +5 -0
  118. package/shoelace/assets/icons/paypal.svg +3 -0
  119. package/shoelace/assets/icons/pc-display-horizontal.svg +3 -0
  120. package/shoelace/assets/icons/pc-display.svg +3 -0
  121. package/shoelace/assets/icons/pc-horizontal.svg +3 -0
  122. package/shoelace/assets/icons/pc.svg +3 -0
  123. package/shoelace/assets/icons/pci-card.svg +4 -0
  124. package/shoelace/assets/icons/person-rolodex.svg +4 -0
  125. package/shoelace/assets/icons/person-video.svg +4 -0
  126. package/shoelace/assets/icons/person-video2.svg +4 -0
  127. package/shoelace/assets/icons/person-video3.svg +4 -0
  128. package/shoelace/assets/icons/person-workspace.svg +4 -0
  129. package/shoelace/assets/icons/piggy-bank-fill.svg +3 -0
  130. package/shoelace/assets/icons/piggy-bank.svg +4 -0
  131. package/shoelace/assets/icons/pin-map-fill.svg +4 -0
  132. package/shoelace/assets/icons/pin-map.svg +4 -0
  133. package/shoelace/assets/icons/pinterest.svg +3 -0
  134. package/shoelace/assets/icons/playstation.svg +3 -0
  135. package/shoelace/assets/icons/plus-lg.svg +3 -0
  136. package/shoelace/assets/icons/plus-slash-minus.svg +3 -0
  137. package/shoelace/assets/icons/projector-fill.svg +3 -0
  138. package/shoelace/assets/icons/projector.svg +4 -0
  139. package/shoelace/assets/icons/qr-code-scan.svg +7 -0
  140. package/shoelace/assets/icons/qr-code.svg +7 -0
  141. package/shoelace/assets/icons/question-lg.svg +3 -0
  142. package/shoelace/assets/icons/quora.svg +3 -0
  143. package/shoelace/assets/icons/quote.svg +3 -0
  144. package/shoelace/assets/icons/radioactive.svg +4 -0
  145. package/shoelace/assets/icons/recycle.svg +3 -0
  146. package/shoelace/assets/icons/reddit.svg +4 -0
  147. package/shoelace/assets/icons/robot.svg +4 -0
  148. package/shoelace/assets/icons/router-fill.svg +6 -0
  149. package/shoelace/assets/icons/router.svg +6 -0
  150. package/shoelace/assets/icons/safe-fill.svg +4 -0
  151. package/shoelace/assets/icons/safe.svg +4 -0
  152. package/shoelace/assets/icons/safe2-fill.svg +4 -0
  153. package/shoelace/assets/icons/safe2.svg +4 -0
  154. package/shoelace/assets/icons/sd-card-fill.svg +3 -0
  155. package/shoelace/assets/icons/sd-card.svg +4 -0
  156. package/shoelace/assets/icons/send-check-fill.svg +4 -0
  157. package/shoelace/assets/icons/send-check.svg +4 -0
  158. package/shoelace/assets/icons/send-dash-fill.svg +4 -0
  159. package/shoelace/assets/icons/send-dash.svg +4 -0
  160. package/shoelace/assets/icons/send-exclamation-fill.svg +4 -0
  161. package/shoelace/assets/icons/send-exclamation.svg +4 -0
  162. package/shoelace/assets/icons/send-fill.svg +3 -0
  163. package/shoelace/assets/icons/send-plus-fill.svg +4 -0
  164. package/shoelace/assets/icons/send-plus.svg +4 -0
  165. package/shoelace/assets/icons/send-slash-fill.svg +4 -0
  166. package/shoelace/assets/icons/send-slash.svg +4 -0
  167. package/shoelace/assets/icons/send-x-fill.svg +4 -0
  168. package/shoelace/assets/icons/send-x.svg +4 -0
  169. package/shoelace/assets/icons/send.svg +3 -0
  170. package/shoelace/assets/icons/signal.svg +3 -0
  171. package/shoelace/assets/icons/skype.svg +3 -0
  172. package/shoelace/assets/icons/slash-lg.svg +3 -0
  173. package/shoelace/assets/icons/snapchat.svg +3 -0
  174. package/shoelace/assets/icons/spotify.svg +3 -0
  175. package/shoelace/assets/icons/stack-overflow.svg +4 -0
  176. package/shoelace/assets/icons/steam.svg +4 -0
  177. package/shoelace/assets/icons/strava.svg +3 -0
  178. package/shoelace/assets/icons/terminal-dash.svg +4 -0
  179. package/shoelace/assets/icons/terminal-plus.svg +4 -0
  180. package/shoelace/assets/icons/terminal-split.svg +4 -0
  181. package/shoelace/assets/icons/terminal-x.svg +4 -0
  182. package/shoelace/assets/icons/thunderbolt-fill.svg +3 -0
  183. package/shoelace/assets/icons/thunderbolt.svg +4 -0
  184. package/shoelace/assets/icons/ticket-detailed-fill.svg +3 -0
  185. package/shoelace/assets/icons/ticket-detailed.svg +4 -0
  186. package/shoelace/assets/icons/ticket-fill.svg +3 -0
  187. package/shoelace/assets/icons/ticket-perforated-fill.svg +3 -0
  188. package/shoelace/assets/icons/ticket-perforated.svg +4 -0
  189. package/shoelace/assets/icons/ticket.svg +3 -0
  190. package/shoelace/assets/icons/tiktok.svg +3 -0
  191. package/shoelace/assets/icons/translate.svg +4 -0
  192. package/shoelace/assets/icons/usb-c-fill.svg +3 -0
  193. package/shoelace/assets/icons/usb-c.svg +4 -0
  194. package/shoelace/assets/icons/usb-drive-fill.svg +3 -0
  195. package/shoelace/assets/icons/usb-drive.svg +3 -0
  196. package/shoelace/assets/icons/usb-fill.svg +3 -0
  197. package/shoelace/assets/icons/usb-micro-fill.svg +3 -0
  198. package/shoelace/assets/icons/usb-micro.svg +4 -0
  199. package/shoelace/assets/icons/usb-mini-fill.svg +3 -0
  200. package/shoelace/assets/icons/usb-mini.svg +4 -0
  201. package/shoelace/assets/icons/usb-plug-fill.svg +3 -0
  202. package/shoelace/assets/icons/usb-plug.svg +3 -0
  203. package/shoelace/assets/icons/usb-symbol.svg +3 -0
  204. package/shoelace/assets/icons/usb.svg +4 -0
  205. package/shoelace/assets/icons/vimeo.svg +3 -0
  206. package/shoelace/assets/icons/webcam-fill.svg +4 -0
  207. package/shoelace/assets/icons/webcam.svg +4 -0
  208. package/shoelace/assets/icons/window-dash.svg +5 -0
  209. package/shoelace/assets/icons/window-desktop.svg +4 -0
  210. package/shoelace/assets/icons/window-fullscreen.svg +4 -0
  211. package/shoelace/assets/icons/window-plus.svg +5 -0
  212. package/shoelace/assets/icons/window-split.svg +4 -0
  213. package/shoelace/assets/icons/window-stack.svg +4 -0
  214. package/shoelace/assets/icons/window-x.svg +5 -0
  215. package/shoelace/assets/icons/windows.svg +3 -0
  216. package/shoelace/assets/icons/wordpress.svg +5 -0
  217. package/shoelace/assets/icons/x-lg.svg +4 -0
  218. package/shoelace/assets/icons/xbox.svg +3 -0
  219. package/shoelace/assets/icons/yin-yang.svg +4 -0
  220. package/shoelace/themes/themes/dark.styles.d.ts +2 -0
  221. package/shoelace/themes/themes/dark.styles.js +531 -0
  222. package/shoelace/themes/themes/light.css +439 -0
  223. package/shoelace/themes/themes/light.styles.d.ts +2 -0
  224. package/shoelace/themes/themes/light.styles.js +531 -0
  225. package/dist/types/global/android.d.ts +0 -7
  226. package/dist/types/global/demo.d.ts +0 -1
  227. package/dist/types/stories/features.d.ts +0 -4
  228. package/dist/types/stories/templates.d.ts +0 -4
@@ -61,6 +61,7 @@ const ShareButton = class {
61
61
  * Description here
62
62
  * @uiName Date Interval with default
63
63
  * @uiWidget dateRange
64
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
64
65
  * @format date-interval
65
66
  */
66
67
  this.dateInterval = "2020-07-07T12:00:00-08:00/2021-08-08T12:00:00-08:00";
@@ -6,13 +6,13 @@ import { useDemoBigStat } from "./useDemoBigStat";
6
6
  import { isDemo, useHost } from "@saasquatch/component-boilerplate";
7
7
  /**
8
8
  *
9
- * @uiName Big Stat
9
+ * @uiName User Stat
10
10
  * @slots [{"name":"","title":"Stat Text"}]
11
11
  * @slotEditor richText
12
12
  * @exampleGroup Statistics
13
- * @example Points Balance - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global">Points Balance</sqm-big-stat>
14
- * @example GiftCards Earned - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global">Giftcards Earned</sqm-big-stat>
15
- * @example Referrals - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount">Referrals</sqm-big-stat>
13
+ * @example Points Balance - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global"><p>Points Balance</p></sqm-big-stat>
14
+ * @example GiftCards Earned - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global"><p>Giftcards Earned</p></sqm-big-stat>
15
+ * @example Referrals - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount"><p>Referrals</p></sqm-big-stat>
16
16
  */
17
17
  export class BigStat {
18
18
  constructor() {
@@ -7,7 +7,7 @@ import { autoColorScaleCss } from "../sqm-stencilbook/AutoColor";
7
7
  * @uiName Brand Container
8
8
  * @slots [{"name":"","title":"Branded Content"}]
9
9
  * @exampleGroup Common Components
10
- * @example Brand Container - <sqm-brand brand="Nunito Sans">Add your branded content here!</sqm-brand>
10
+ * @example Brand Container - <sqm-brand brand="Nunito Sans"><p>Add your branded content here!</p></sqm-brand>
11
11
  */
12
12
  export class BrandComponent {
13
13
  constructor() {
@@ -3,7 +3,7 @@ import { withHooks } from "@saasquatch/stencil-hooks";
3
3
  import { PortalContainerView } from "./sqm-portal-container-view";
4
4
  import { getProps } from "../../utils/utils";
5
5
  /**
6
- * @uiName Portal Container
6
+ * @uiName Container
7
7
  * @slots [{"name":"", "title":"Widget Content"}]
8
8
  * @exampleGroup Layout
9
9
  * @example Row Layout Container - <sqm-portal-container direction="row" padding="none" gap="xxx-large" display="flex" max-width="100%"><p>Add your column content above or below!</p></sqm-portal-container>
@@ -58,6 +58,7 @@ export class ShareButton {
58
58
  * Description here
59
59
  * @uiName Date Interval with default
60
60
  * @uiWidget dateRange
61
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
61
62
  * @format date-interval
62
63
  */
63
64
  this.dateInterval = "2020-07-07T12:00:00-08:00/2021-08-08T12:00:00-08:00";
@@ -319,6 +320,9 @@ export class ShareButton {
319
320
  }, {
320
321
  "text": "dateRange",
321
322
  "name": "uiWidget"
323
+ }, {
324
+ "text": "{\"allowPastDates\":true, \"months\": 1}",
325
+ "name": "uiWidgetOptions"
322
326
  }, {
323
327
  "text": "date-interval",
324
328
  "name": "format"
@@ -581,6 +585,9 @@ export class ShareButton {
581
585
  }, {
582
586
  "text": "dateRange",
583
587
  "name": "uiWidget"
588
+ }, {
589
+ "text": "{\"allowPastDates\":true, \"months\": 1}",
590
+ "name": "uiWidgetOptions"
584
591
  }, {
585
592
  "text": "date-interval",
586
593
  "name": "format"
@@ -867,6 +874,9 @@ export class ShareButton {
867
874
  }, {
868
875
  "text": "dateRange",
869
876
  "name": "uiWidget"
877
+ }, {
878
+ "text": "{\"allowPastDates\":true, \"months\": 1}",
879
+ "name": "uiWidgetOptions"
870
880
  }, {
871
881
  "text": "date-interval",
872
882
  "name": "format"
@@ -4,10 +4,8 @@ import { useScroll } from "./useScroll";
4
4
  import { createStyleSheet } from "../../styling/JSS";
5
5
  /**
6
6
  * @uiName Scroll Button
7
- * @exampleGroup Common Components
8
7
  * @slots [{"name":"", "title":"Button Content"}]
9
8
  * @slotEditor richText
10
- * @example Scroll Button - <sqm-scroll button-type="primary" size="medium" outline mobile scroll-animation="smooth">Button Text</sqm-scroll>
11
9
  */
12
10
  export class Scroll {
13
11
  constructor() {
@@ -4,7 +4,7 @@ import { useRequestRerender } from "../../tables/re-render";
4
4
  import { getProps } from "../../utils/utils";
5
5
  import { TimelineEntryView } from "./sqm-timeline-entry-view";
6
6
  /**
7
- * @uiName Timeline Entry
7
+ * @uiName Program Timeline Entry
8
8
  * @validParents ["sqm-timeline"]
9
9
  * @exampleGroup Common Components
10
10
  * @example Timeline Entry - <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" icon="circle" > </sqm-timeline-entry>
@@ -57,6 +57,7 @@ const ShareButton = class {
57
57
  * Description here
58
58
  * @uiName Date Interval with default
59
59
  * @uiWidget dateRange
60
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
60
61
  * @format date-interval
61
62
  */
62
63
  this.dateInterval = "2020-07-07T12:00:00-08:00/2021-08-08T12:00:00-08:00";
@@ -2,13 +2,13 @@ import { BigStatViewProps } from "./sqm-big-stat-view";
2
2
  import { DemoData } from "../../global/demo";
3
3
  /**
4
4
  *
5
- * @uiName Big Stat
5
+ * @uiName User Stat
6
6
  * @slots [{"name":"","title":"Stat Text"}]
7
7
  * @slotEditor richText
8
8
  * @exampleGroup Statistics
9
- * @example Points Balance - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global">Points Balance</sqm-big-stat>
10
- * @example GiftCards Earned - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global">Giftcards Earned</sqm-big-stat>
11
- * @example Referrals - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount">Referrals</sqm-big-stat>
9
+ * @example Points Balance - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global"><p>Points Balance</p></sqm-big-stat>
10
+ * @example GiftCards Earned - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global"><p>Giftcards Earned</p></sqm-big-stat>
11
+ * @example Referrals - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount"><p>Referrals</p></sqm-big-stat>
12
12
  */
13
13
  export declare class BigStat {
14
14
  /**
@@ -2,7 +2,7 @@
2
2
  * @uiName Brand Container
3
3
  * @slots [{"name":"","title":"Branded Content"}]
4
4
  * @exampleGroup Common Components
5
- * @example Brand Container - <sqm-brand brand="Nunito Sans">Add your branded content here!</sqm-brand>
5
+ * @example Brand Container - <sqm-brand brand="Nunito Sans"><p>Add your branded content here!</p></sqm-brand>
6
6
  */
7
7
  export declare class BrandComponent {
8
8
  /**
@@ -1,6 +1,6 @@
1
1
  import { Spacing } from "../../global/mixins";
2
2
  /**
3
- * @uiName Portal Container
3
+ * @uiName Container
4
4
  * @slots [{"name":"", "title":"Widget Content"}]
5
5
  * @exampleGroup Layout
6
6
  * @example Row Layout Container - <sqm-portal-container direction="row" padding="none" gap="xxx-large" display="flex" max-width="100%"><p>Add your column content above or below!</p></sqm-portal-container>
@@ -55,6 +55,7 @@ export declare class ShareButton {
55
55
  * Description here
56
56
  * @uiName Date Interval with default
57
57
  * @uiWidget dateRange
58
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
58
59
  * @format date-interval
59
60
  */
60
61
  dateInterval?: string;
@@ -123,6 +124,7 @@ export declare class ShareButton {
123
124
  * Description here
124
125
  * @uiName Date Interval with no default
125
126
  * @uiWidget dateRange
127
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
126
128
  * @format date-interval
127
129
  */
128
130
  dateIntervalNoDefault?: string;
@@ -200,6 +202,7 @@ export declare class ShareButton {
200
202
  * @uiName Date Interval required with no default
201
203
  * @required
202
204
  * @uiWidget dateRange
205
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
203
206
  * @format date-interval
204
207
  */
205
208
  dateIntervalRequiredNoDefault?: string;
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * @uiName Scroll Button
3
- * @exampleGroup Common Components
4
3
  * @slots [{"name":"", "title":"Button Content"}]
5
4
  * @slotEditor richText
6
- * @example Scroll Button - <sqm-scroll button-type="primary" size="medium" outline mobile scroll-animation="smooth">Button Text</sqm-scroll>
7
5
  */
8
6
  export declare class Scroll {
9
7
  ignored: boolean;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @uiName Timeline Entry
2
+ * @uiName Program Timeline Entry
3
3
  * @validParents ["sqm-timeline"]
4
4
  * @exampleGroup Common Components
5
5
  * @example Timeline Entry - <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" icon="circle" > </sqm-timeline-entry>
@@ -1201,6 +1201,7 @@ export namespace Components {
1201
1201
  * Description here
1202
1202
  * @uiName Date Interval with default
1203
1203
  * @uiWidget dateRange
1204
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
1204
1205
  * @format date-interval
1205
1206
  */
1206
1207
  "dateInterval"?: string;
@@ -1208,6 +1209,7 @@ export namespace Components {
1208
1209
  * Description here
1209
1210
  * @uiName Date Interval with no default
1210
1211
  * @uiWidget dateRange
1212
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
1211
1213
  * @format date-interval
1212
1214
  */
1213
1215
  "dateIntervalNoDefault"?: string;
@@ -1216,6 +1218,7 @@ export namespace Components {
1216
1218
  * @uiName Date Interval required with no default
1217
1219
  * @required
1218
1220
  * @uiWidget dateRange
1221
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
1219
1222
  * @format date-interval
1220
1223
  */
1221
1224
  "dateIntervalRequiredNoDefault"?: string;
@@ -4192,6 +4195,7 @@ declare namespace LocalJSX {
4192
4195
  * Description here
4193
4196
  * @uiName Date Interval with default
4194
4197
  * @uiWidget dateRange
4198
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
4195
4199
  * @format date-interval
4196
4200
  */
4197
4201
  "dateInterval"?: string;
@@ -4199,6 +4203,7 @@ declare namespace LocalJSX {
4199
4203
  * Description here
4200
4204
  * @uiName Date Interval with no default
4201
4205
  * @uiWidget dateRange
4206
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
4202
4207
  * @format date-interval
4203
4208
  */
4204
4209
  "dateIntervalNoDefault"?: string;
@@ -4207,6 +4212,7 @@ declare namespace LocalJSX {
4207
4212
  * @uiName Date Interval required with no default
4208
4213
  * @required
4209
4214
  * @uiWidget dateRange
4215
+ * @uiWidgetOptions {"allowPastDates":true, "months": 1}
4210
4216
  * @format date-interval
4211
4217
  */
4212
4218
  "dateIntervalRequiredNoDefault"?: string;
package/docs/docs.docx CHANGED
Binary file
@@ -0,0 +1,54 @@
1
+ System.register([], function (exports_1, context_1) {
2
+ "use strict";
3
+ var components;
4
+ var __moduleName = context_1 && context_1.id;
5
+ return {
6
+ setters: [],
7
+ execute: function () {
8
+ components = [{ "tag": "select-test", "name": "Big Stat", "uiSchema": {}, "traits": [] }, { "tag": "sqm-big-stat", "name": "Big Stat", "uiSchema": { "stat-type": { "ui:widget": "StatTypeSelectWidget", "ui:name": "Stat Type", "ui:help": "Select what type of stat to display. Manual paths are also supported." } }, "traits": [{ "name": "stat-type", "type": "string", "title": "Stat Type" }] }, { "tag": "sqm-edit-profile", "name": "Edit Profile", "uiSchema": { "canceltext": { "ui:name": "Cancel button text", "ui:help": "" }, "currentregiontext": { "ui:name": "Region field label", "ui:help": "" }, "editprofileheader": { "ui:name": "Heading", "ui:help": "" }, "editprofiletext": { "ui:name": "Enable editing button text", "ui:help": "" }, "firstnametext": { "ui:name": "First name field label", "ui:help": "" }, "lastnametext": { "ui:name": "Last name field label", "ui:help": "" }, "updatetext": { "ui:name": "Update info button text", "ui:help": "" } }, "traits": [{ "name": "canceltext", "type": "string", "title": "Cancel button text" }, { "name": "currentregiontext", "type": "string", "title": "Region field label" }, { "name": "editprofileheader", "type": "string", "title": "Heading" }, { "name": "editprofiletext", "type": "string", "title": "Enable editing button text" }, { "name": "firstnametext", "type": "string", "title": "First name field label" }, { "name": "lastnametext", "type": "string", "title": "Last name field label" }, { "name": "updatetext", "type": "string", "title": "Update info button text" }] }, { "tag": "sqm-form-message", "name": "Form Message", "uiSchema": { "icon": { "ui:name": "Icon to use in alert", "ui:help": "" }, "type": { "ui:name": "Type of alert", "ui:help": "" } }, "traits": [{ "name": "icon", "type": "string", "title": "Icon to use in alert" }, { "name": "type", "type": "string", "title": "Type of alert" }] }, { "tag": "sqm-hook-story-container", "name": "sqm-hook-story-container", "uiSchema": { "hookStory": { "ui:help": "" } }, "traits": [{ "name": "hookStory", "type": "FunctionalComponent<{}>", "title": "hookStory" }] }, { "tag": "sqm-leaderboard", "name": "Leaderboard", "uiSchema": { "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-type": { "ui:help": "" }, "statsheading": { "ui:name": "Stats Column Heading", "ui:help": "" }, "usersheading": { "ui:name": "User Column Heading", "ui:help": "" } }, "traits": [{ "name": "leaderboard-type", "type": "\"topConvertedReferrers\" | \"topStartedReferrers\"", "title": "Leaderboard type" }, { "name": "rank-type", "type": "\"denseRank\" | \"rank\" | \"rowNumber\"", "title": "rank-type" }, { "name": "statsheading", "type": "string", "title": "Stats Column Heading" }, { "name": "usersheading", "type": "string", "title": "User Column Heading" }] }, { "tag": "sqm-leaderboard-rank", "name": "Leaderboard Rank", "uiSchema": { "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-text": { "ui:help": "" }, "rank-type": { "ui:name": "Default rank", "ui:help": "" }, "unranked-text": { "ui:help": "" } }, "traits": [{ "name": "leaderboard-type", "type": "\"topConvertedReferrers\" | \"topStartedReferrers\"", "title": "Leaderboard type" }, { "name": "rank-text", "type": "string", "title": "rank-text" }, { "name": "rank-type", "type": "\"denseRank\" | \"rank\" | \"rowNumber\"", "title": "Default rank" }, { "name": "unranked-text", "type": "string", "title": "unranked-text" }] }, { "tag": "sqm-navigation-menu", "name": "Portal Frame", "uiSchema": { "include-dropdown": { "ui:name": "Include dropdown menu", "ui:help": "" }, "menu-label": { "ui:name": "Label on the header menu", "ui:help": "" } }, "traits": [{ "name": "include-dropdown", "type": "boolean", "title": "Include dropdown menu" }, { "name": "menu-label", "type": "string", "title": "Label on the header menu" }] }, { "tag": "sqm-popup-container", "name": "Popup container for widgets", "uiSchema": { "close-button": { "ui:name": "Display a close button on the popup", "ui:help": "" }, "close-button-text": { "ui:name": "Text to be used as the close button", "ui:help": "" }, "embed-padding": { "ui:name": "Specify padding on the popup contents when in embedded mode", "ui:help": "" }, "popup-padding": { "ui:name": "Specify padding on the popup contents when in popup mode", "ui:help": "" }, "powered-by": { "ui:name": "Show SaaSquatch Powered By messaging", "ui:help": "" } }, "traits": [{ "name": "close-button", "type": "boolean", "title": "Display a close button on the popup" }, { "name": "close-button-text", "type": "string", "title": "Text to be used as the close button" }, { "name": "embed-padding", "type": "\"large\" | \"medium\" | \"none\" | \"small\"", "title": "Specify padding on the popup contents when in embedded mode" }, { "name": "popup-padding", "type": "\"large\" | \"medium\" | \"none\" | \"small\"", "title": "Specify padding on the popup contents when in popup mode" }, { "name": "powered-by", "type": "boolean", "title": "Show SaaSquatch Powered By messaging" }] }, { "tag": "sqm-portal-email-verification", "name": "Portal Email Verification", "uiSchema": { "next-page-url-parameter": { "ui:help": "" } }, "traits": [{ "name": "next-page-url-parameter", "type": "string", "title": "next-page-url-parameter" }] }, { "tag": "sqm-portal-forgot-password", "name": "Portal Forgot Password", "uiSchema": { "next-page-url-parameter": { "ui:help": "" } }, "traits": [{ "name": "next-page-url-parameter", "type": "string", "title": "next-page-url-parameter" }] }, { "tag": "sqm-portal-frame", "name": "Portal Frame", "uiSchema": {}, "traits": [] }, { "tag": "sqm-portal-login", "name": "Portal Login", "uiSchema": { "next-page": { "ui:help": "" }, "next-page-url-parameter": { "ui:help": "" } }, "traits": [{ "name": "next-page", "type": "string", "title": "next-page" }, { "name": "next-page-url-parameter", "type": "string", "title": "next-page-url-parameter" }] }, { "tag": "sqm-portal-register", "name": "Portal Register", "uiSchema": { "next-page": { "ui:help": "" }, "next-page-url-parameter": { "ui:help": "" } }, "traits": [{ "name": "next-page", "type": "string", "title": "next-page" }, { "name": "next-page-url-parameter", "type": "string", "title": "next-page-url-parameter" }] }, { "tag": "sqm-portal-reset-password", "name": "Portal Reset Password", "uiSchema": { "next-page": { "ui:help": "" }, "next-page-url-parameter": { "ui:help": "" } }, "traits": [{ "name": "next-page", "type": "string", "title": "next-page" }, { "name": "next-page-url-parameter", "type": "string", "title": "next-page-url-parameter" }] }, { "tag": "sqm-portal-verify-email", "name": "Portal Verify Email", "uiSchema": { "next-page": { "ui:help": "" }, "next-page-url-parameter": { "ui:help": "" } }, "traits": [{ "name": "next-page", "type": "string", "title": "next-page" }, { "name": "next-page-url-parameter", "type": "string", "title": "next-page-url-parameter" }] }, { "tag": "sqm-route", "name": "Route (for pages)", "uiSchema": { "path": { "ui:name": "Navigation path name", "ui:help": "" } }, "traits": [{ "name": "path", "type": "string", "title": "Navigation path name" }] }, { "tag": "sqm-router", "name": "Router (for pages)", "uiSchema": {}, "traits": [] }, { "tag": "sqm-share-button", "name": "Share Button", "uiSchema": { "ui:order": ["medium", "program-id", "*", "pill", "disabled", "hideicon"], "disabled": { "ui:name": "Disabled", "ui:help": "" }, "hideicon": { "ui:name": "Hide the icon", "ui:help": "" }, "icon": { "ui:name": "Icon used in button. Will try to select an icon based on the share medium if left empty.", "ui:help": "" }, "iconslot": { "ui:name": "Icon Location", "ui:help": "" }, "medium": { "ui:name": "Share Medium", "ui:help": "The social medium to share on. Share messages and links\r\nwill be pulled from your program config and tagged for analytics." }, "pill": { "ui:name": "Display as pill", "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "Optional programId, or uses the programId context where this button is rendered." }, "sharetext": { "ui:name": "Text used for native sharing (mobile only)", "ui:help": "" }, "sharetitle": { "ui:name": "Title used for native sharing (mobile only)", "ui:help": "" }, "size": { "ui:name": "Button Size", "ui:help": "" }, "type": { "ui:name": "Button Style", "ui:help": "" } }, "traits": [{ "name": "disabled", "type": "boolean", "title": "Disabled" }, { "name": "hideicon", "type": "boolean", "title": "Hide the icon" }, { "name": "icon", "type": "string", "title": "Icon used in button. Will try to select an icon based on the share medium if left empty." }, { "name": "iconslot", "type": "string", "title": "Icon Location", "enum": ["prefix", "suffix"], "enumNames": ["Prefix", "Suffix"] }, { "name": "medium", "type": "string", "title": "Share Medium", "enum": ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest", "reminder", "unknown"], "enumNames": ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest", "Reminder", "Unknown"] }, { "name": "pill", "type": "boolean", "title": "Display as pill" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "sharetext", "type": "string", "title": "Text used for native sharing (mobile only)" }, { "name": "sharetitle", "type": "string", "title": "Title used for native sharing (mobile only)" }, { "name": "size", "type": "string", "title": "Button Size", "enum": ["small", "medium", "large"], "enumNames": ["Small", "Medium", "Large"] }, { "name": "type", "type": "string", "title": "Button Style", "enum": ["primary", "success", "info", "warning", "danger", "default", "text"] }] }, { "tag": "sqm-share-link", "name": "Share Link", "uiSchema": { "program-id": { "ui:name": "Program ID", "ui:help": "The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded." }, "tooltip-lifespan": { "ui:name": "Tooltip lifespan", "ui:help": "The number of milliseconds that the tooltip will appear for" }, "tooltip-text": { "ui:name": "Tooltip text", "ui:help": "This is shown after someone has successfully copied the link to the clipboard." } }, "traits": [{ "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "tooltip-lifespan", "type": "number", "title": "Tooltip lifespan" }, { "name": "tooltip-text", "type": "string", "title": "Tooltip text" }] }, { "tag": "sqm-stencilbook", "name": "sqm-stencilbook", "uiSchema": {}, "traits": [] }, { "tag": "sl-details", "name": "Details", "traits": [{ "type": "string", "name": "summary", "title": "Label" }] }, { "tag": "sl-tab", "name": "Tab", "traits": [{ "type": "string", "name": "panel", "title": "Panel ID" }] }, { "tag": "sl-tab-panel", "name": "Tab Panel", "traits": [{ "type": "string", "name": "name", "title": "Panel ID" }] }, { "tag": "sl-tab-group", "name": "Tab Group", "traits": [{ "type": "string", "name": "placement", "title": "Placement of Tabs", "enum": ["top", "right", "bottom", "left"] }] }];
9
+ exports_1("default", (function (editor, config) {
10
+ if (config === void 0) { config = {}; }
11
+ // Get DomComponents module
12
+ var comps = editor.DomComponents;
13
+ // Get the model and the view from the default Component type
14
+ var defaultType = comps.getType("default");
15
+ var defaultModel = defaultType.model;
16
+ var defaultView = defaultType.view;
17
+ function registerComponent(_a) {
18
+ var tag = _a.tag, name = _a.name, traits = _a.traits, uiSchema = _a.uiSchema;
19
+ comps.addType(tag.toLowerCase(), {
20
+ model: defaultModel.extend({
21
+ defaults: Object.assign({}, defaultModel.prototype.defaults, {
22
+ name: name,
23
+ // can be dropped only inside
24
+ draggable: false,
25
+ // these components can be dropped in here
26
+ droppable: false,
27
+ selectable: true,
28
+ toolbar: [],
29
+ traits: traits,
30
+ uiSchema: uiSchema,
31
+ }),
32
+ }, {
33
+ isComponent: function (el) {
34
+ if (el.tagName === tag.toUpperCase()) {
35
+ return { type: tag.toLowerCase() };
36
+ }
37
+ },
38
+ }),
39
+ view: defaultView.extend({
40
+ render: function () {
41
+ defaultView.prototype.render.apply(this, arguments);
42
+ return this;
43
+ },
44
+ }),
45
+ });
46
+ }
47
+ if (!components) {
48
+ throw new Error("Error registering components. This is likely due to a build problem in the source library. See GrapesJS generator.ts");
49
+ }
50
+ components.forEach(registerComponent);
51
+ }));
52
+ }
53
+ };
54
+ });