@saasquatch/mint-components 1.4.1-1 → 1.4.1-2

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 (73) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/dist/cjs/{global-0c01d88f.js → global-413d075c.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-divided-layout_26.cjs.entry.js +44 -24
  6. package/dist/cjs/{sqm-leaderboard-rank-view-48245b30.js → sqm-leaderboard-rank-view-b1b55673.js} +1 -1
  7. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  8. package/dist/cjs/{sqm-portal-email-verification-view-68b16f27.js → sqm-portal-email-verification-view-eeb4ca62.js} +1 -1
  9. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  10. package/dist/cjs/{sqm-portal-footer-view-edeeebab.js → sqm-portal-footer-view-08a2efd5.js} +1 -1
  11. package/dist/cjs/sqm-portal-footer.cjs.entry.js +2 -2
  12. package/dist/cjs/{sqm-portal-profile-view-2b48529e.js → sqm-portal-profile-view-ce86369e.js} +1 -1
  13. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  14. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +0 -1
  15. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
  16. package/dist/collection/global/global.js +1 -1
  17. package/dist/collection/stories/PortalRegister.stories.js +5 -12
  18. package/dist/collection/stories/ShareButton.stories.js +30 -1
  19. package/dist/esm/{global-0fcfbedf.js → global-2e50d2dc.js} +1 -1
  20. package/dist/esm/loader.js +1 -1
  21. package/dist/esm/mint-components.js +1 -1
  22. package/dist/esm/sqm-divided-layout_26.entry.js +44 -24
  23. package/dist/esm/{sqm-leaderboard-rank-view-fd7d7f42.js → sqm-leaderboard-rank-view-387f0870.js} +1 -1
  24. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  25. package/dist/esm/{sqm-portal-email-verification-view-6cc56c87.js → sqm-portal-email-verification-view-e366e94a.js} +1 -1
  26. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  27. package/dist/esm/{sqm-portal-footer-view-8a1128d5.js → sqm-portal-footer-view-f12d5e5a.js} +1 -1
  28. package/dist/esm/sqm-portal-footer.entry.js +2 -2
  29. package/dist/esm/{sqm-portal-profile-view-4acf74a5.js → sqm-portal-profile-view-9f3c79c3.js} +1 -1
  30. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  31. package/dist/esm-es5/{global-0fcfbedf.js → global-2e50d2dc.js} +1 -1
  32. package/dist/esm-es5/loader.js +1 -1
  33. package/dist/esm-es5/mint-components.js +1 -1
  34. package/dist/esm-es5/sqm-divided-layout_26.entry.js +1 -1
  35. package/dist/esm-es5/{sqm-leaderboard-rank-view-fd7d7f42.js → sqm-leaderboard-rank-view-387f0870.js} +1 -1
  36. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  37. package/dist/esm-es5/{sqm-portal-email-verification-view-6cc56c87.js → sqm-portal-email-verification-view-e366e94a.js} +1 -1
  38. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  39. package/dist/esm-es5/{sqm-portal-footer-view-8a1128d5.js → sqm-portal-footer-view-f12d5e5a.js} +1 -1
  40. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  41. package/dist/esm-es5/{sqm-portal-profile-view-4acf74a5.js → sqm-portal-profile-view-9f3c79c3.js} +1 -1
  42. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  43. package/dist/mint-components/mint-components.esm.js +1 -1
  44. package/dist/mint-components/mint-components.js +1 -1
  45. package/dist/mint-components/{p-d513229d.js → p-2babeba4.js} +1 -1
  46. package/dist/mint-components/{p-05a86906.entry.js → p-2dc28ab0.entry.js} +2 -2
  47. package/dist/mint-components/{p-51cfdd14.js → p-3adf6ff3.js} +1 -1
  48. package/dist/mint-components/p-406bf49b.entry.js +230 -0
  49. package/dist/mint-components/{p-18aa175f.system.js → p-48fff767.system.js} +1 -1
  50. package/dist/mint-components/p-50557966.system.js +1 -0
  51. package/dist/mint-components/{p-6815e7ba.entry.js → p-52b0b65d.entry.js} +1 -1
  52. package/dist/mint-components/{p-602180a2.system.js → p-679a7054.system.js} +1 -1
  53. package/dist/mint-components/{p-7d996b49.js → p-726c9080.js} +1 -1
  54. package/dist/mint-components/p-77d17f35.js +1 -0
  55. package/dist/mint-components/{p-9ff0425e.system.entry.js → p-9741333b.system.entry.js} +1 -1
  56. package/dist/mint-components/{p-64759dda.system.js → p-9f9191a4.system.js} +1 -1
  57. package/dist/mint-components/{p-54707082.system.js → p-bf26396f.system.js} +1 -1
  58. package/dist/mint-components/{p-d55abc13.entry.js → p-c579f318.entry.js} +2 -2
  59. package/dist/mint-components/p-ca71dd2d.system.entry.js +1 -0
  60. package/dist/mint-components/{p-e50839df.entry.js → p-d1d45d97.entry.js} +1 -1
  61. package/dist/mint-components/{p-991bd182.system.entry.js → p-d5573e0e.system.entry.js} +1 -1
  62. package/dist/mint-components/{p-036c5a7e.system.entry.js → p-e1df7914.system.entry.js} +1 -1
  63. package/dist/mint-components/{p-a646db48.system.entry.js → p-f3fbcdb0.system.entry.js} +1 -1
  64. package/dist/mint-components/{p-3452bdae.system.js → p-fd33dd62.system.js} +1 -1
  65. package/dist/mint-components/{p-d0cad85c.js → p-fe4ecc11.js} +1 -1
  66. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +3 -5
  67. package/dist/types/stories/PortalRegister.stories.d.ts +0 -1
  68. package/dist/types/stories/ShareButton.stories.d.ts +1 -0
  69. package/package.json +1 -1
  70. package/dist/mint-components/p-099e36f5.system.entry.js +0 -1
  71. package/dist/mint-components/p-756a5e6f.system.js +0 -1
  72. package/dist/mint-components/p-975dd0ec.entry.js +0 -230
  73. package/dist/mint-components/p-c84a5b33.js +0 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.4.1] - 2021-01-10
11
+
12
+ ### Fixed
13
+
14
+ - Fixed broken WhatsApp icon by updating the version of bootstrap icons from 1.2.0 to 1.7.2
15
+
10
16
  ## [1.4.0] - 2021-12-09
11
17
 
12
18
  - Updated version of component-boilerplate to prevent rare case of user context being deleted during register
@@ -182,7 +188,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
182
188
  - \<sqm-popup-container>
183
189
  - \<sqm-stencilbook>
184
190
 
185
- [unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@1.4.0...HEAD
191
+ [unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@1.4.1...HEAD
192
+ [1.4.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.4.1
186
193
  [1.4.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.4.0
187
194
  [1.3.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.3.0
188
195
  [1.2.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.2.0
@@ -26497,7 +26497,7 @@ try {
26497
26497
  // SlAlert.register();
26498
26498
  registerIconLibrary("default", {
26499
26499
  // same link that shoelace uses internally
26500
- resolver: (name) => `https://fast.ssqt.io/npm/bootstrap-icons@1.2.0/icons/${name}.svg`,
26500
+ resolver: (name) => `https://fast.ssqt.io/npm/bootstrap-icons@1.7.2/icons/${name}.svg`,
26501
26501
  });
26502
26502
  // SlAlert.register();
26503
26503
  customElements.define("sl-alert", alert_default2);
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  require('./extends-0302d27d.js');
7
- require('./global-0c01d88f.js');
7
+ require('./global-413d075c.js');
8
8
  require('./use-callback-fadb2643.js');
9
9
  require('./index.module-2925fe3b.js');
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
4
  require('./extends-0302d27d.js');
5
- require('./global-0c01d88f.js');
5
+ require('./global-413d075c.js');
6
6
  require('./use-callback-fadb2643.js');
7
7
  require('./index.module-2925fe3b.js');
8
8
 
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
- const global = require('./global-0c01d88f.js');
7
+ const global = require('./global-413d075c.js');
8
8
  const useCallback = require('./use-callback-fadb2643.js');
9
9
  const index_module = require('./index.module-2925fe3b.js');
10
10
  const jsonpointer = require('./jsonpointer-11327262.js');
@@ -15,7 +15,7 @@ const mixins = require('./mixins-7b7c59fe.js');
15
15
  const sqmPortalContainerView = require('./sqm-portal-container-view-d144735a.js');
16
16
  const sqmPortalSectionView = require('./sqm-portal-section-view-3b008930.js');
17
17
  const sqmTextSpanView = require('./sqm-text-span-view-b5ae787b.js');
18
- const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-48245b30.js');
18
+ const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-b1b55673.js');
19
19
  const reRender = require('./re-render-b1ad512d.js');
20
20
  const useDemoBigStat = require('./useDemoBigStat-d7a60992.js');
21
21
  const sqmShareLinkView = require('./sqm-share-link-view-a935d07e.js');
@@ -23,13 +23,13 @@ const ShadowViewAddon = require('./ShadowViewAddon-e9bacad0.js');
23
23
  const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-d06e1885.js');
24
24
  const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-1bad646a.js');
25
25
  const sqmStatContainerView = require('./sqm-stat-container-view-ee7b00ff.js');
26
- const sqmPortalProfileView = require('./sqm-portal-profile-view-2b48529e.js');
26
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-ce86369e.js');
27
27
  const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-1704d285.js');
28
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-68b16f27.js');
28
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-eeb4ca62.js');
29
29
  const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-4d78fd6d.js');
30
30
  const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-b595e302.js');
31
31
  const sqmAssetCardView = require('./sqm-asset-card-view-07f86880.js');
32
- const sqmPortalFooterView = require('./sqm-portal-footer-view-edeeebab.js');
32
+ const sqmPortalFooterView = require('./sqm-portal-footer-view-08a2efd5.js');
33
33
  const sqmHeroView = require('./sqm-hero-view-bb3d00a1.js');
34
34
  const sqmNameFieldsView = require('./sqm-name-fields-view-24614ac7.js');
35
35
 
@@ -1579,7 +1579,6 @@ function PortalRegisterView(props) {
1579
1579
  "Cannot be empty",
1580
1580
  }
1581
1581
  : [])))),
1582
- content.terms,
1583
1582
  index.h("div", { class: sheet$4.classes.ButtonsContainer },
1584
1583
  index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
1585
1584
  content.secondaryButton))));
@@ -5638,7 +5637,6 @@ const PortalRegister = class {
5638
5637
  const content = {
5639
5638
  formData: index.h("slot", { name: "formData" }),
5640
5639
  secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.mn.push(states.loginPath) }, this.loginLabel))),
5641
- terms: index.h("slot", { name: "terms" }),
5642
5640
  emailLabel: this.emailLabel,
5643
5641
  passwordLabel: this.passwordLabel,
5644
5642
  submitLabel: this.submitLabel,
@@ -16525,7 +16523,7 @@ const ShareButton_stories = {
16525
16523
  title: "Share Button",
16526
16524
  };
16527
16525
  const WithIcon = () => {
16528
- const props = { medium: "facebook", iconslot: "suffix" };
16526
+ const props = { medium: "whatsapp", iconslot: "suffix" };
16529
16527
  return index.h(ShareButtonView, Object.assign({}, props), "Share");
16530
16528
  };
16531
16529
  const WithIconOverride = () => {
@@ -16563,6 +16561,35 @@ const FullStackIcon = () => {
16563
16561
  index.h("br", null),
16564
16562
  index.h("sqm-share-button", { medium: "email", icon: "envelope", iconslot: "prefix" },
16565
16563
  index.h("span", null, "Email"))));
16564
+ };
16565
+ const AllMediums = () => {
16566
+ return (index.h("div", null,
16567
+ index.h("sqm-share-button", { medium: "facebook", iconslot: "prefix" },
16568
+ index.h("span", null, "Facebook")),
16569
+ index.h("br", null),
16570
+ index.h("sqm-share-button", { medium: "email", icon: "envelope", iconslot: "prefix" },
16571
+ index.h("span", null, "Email")),
16572
+ index.h("br", null),
16573
+ index.h("sqm-share-button", { medium: "whatsapp", icon: "whatsapp", iconslot: "prefix" },
16574
+ index.h("span", null, "WhatsApp")),
16575
+ index.h("br", null),
16576
+ index.h("sqm-share-button", { medium: "linkedin", iconslot: "prefix" },
16577
+ index.h("span", null, "Linkedin")),
16578
+ index.h("br", null),
16579
+ index.h("sqm-share-button", { medium: "twitter", iconslot: "prefix" },
16580
+ index.h("span", null, "Twitter")),
16581
+ index.h("br", null),
16582
+ index.h("sqm-share-button", { medium: "pinterest", iconslot: "prefix" },
16583
+ index.h("span", null, "Pinterest")),
16584
+ index.h("br", null),
16585
+ index.h("sqm-share-button", { medium: "fbmessenger", icon: "messenger", iconslot: "prefix" },
16586
+ index.h("span", null, "Messenger")),
16587
+ index.h("br", null),
16588
+ index.h("sqm-share-button", { medium: "sms", icon: "chat", iconslot: "prefix" },
16589
+ index.h("span", null, "SMS")),
16590
+ index.h("br", null),
16591
+ index.h("sqm-share-button", { medium: "linemessenger", icon: "line", iconslot: "prefix" },
16592
+ index.h("span", null, "Line Messenger"))));
16566
16593
  };
16567
16594
 
16568
16595
  const ShareButton$1 = /*#__PURE__*/Object.freeze({
@@ -16574,7 +16601,8 @@ const ShareButton$1 = /*#__PURE__*/Object.freeze({
16574
16601
  WithoutIcon: WithoutIcon,
16575
16602
  WithoutText: WithoutText,
16576
16603
  TextStyleWithoutIcon: TextStyleWithoutIcon,
16577
- FullStackIcon: FullStackIcon
16604
+ FullStackIcon: FullStackIcon,
16605
+ AllMediums: AllMediums
16578
16606
  });
16579
16607
 
16580
16608
  const ShareLink_stories = {
@@ -18039,7 +18067,7 @@ const defaultProps$3 = {
18039
18067
  loading: false,
18040
18068
  confirmPassword: true,
18041
18069
  hideInputs: false,
18042
- loginPath: "/login",
18070
+ loginPath: "/login"
18043
18071
  },
18044
18072
  callbacks: {
18045
18073
  submit: () => console.log("Submit!"),
@@ -18056,7 +18084,7 @@ const errorProps$1 = {
18056
18084
  loading: false,
18057
18085
  confirmPassword: true,
18058
18086
  hideInputs: false,
18059
- loginPath: "/login",
18087
+ loginPath: "/login"
18060
18088
  },
18061
18089
  callbacks: {
18062
18090
  submit: () => console.log("Submit!"),
@@ -18076,7 +18104,7 @@ const loadingProps$1 = {
18076
18104
  loading: true,
18077
18105
  confirmPassword: true,
18078
18106
  hideInputs: false,
18079
- loginPath: "/login",
18107
+ loginPath: "/login"
18080
18108
  },
18081
18109
  callbacks: {
18082
18110
  submit: () => console.log("Submit!"),
@@ -18093,7 +18121,7 @@ const slottedProps = {
18093
18121
  loading: false,
18094
18122
  confirmPassword: true,
18095
18123
  hideInputs: false,
18096
- loginPath: "/login",
18124
+ loginPath: "/login"
18097
18125
  },
18098
18126
  callbacks: {
18099
18127
  submit: () => console.log("Submit!"),
@@ -18120,18 +18148,11 @@ const FieldsHidden = () => {
18120
18148
  loading: true,
18121
18149
  confirmPassword: true,
18122
18150
  hideInputs: true,
18123
- loginPath: "/login",
18151
+ loginPath: "/login"
18124
18152
  },
18125
18153
  } }));
18126
18154
  };
18127
- const SlottedInputs = () => index.h(PortalRegisterView, Object.assign({}, slottedProps));
18128
- const TermsAndConditions = () => (index.h(PortalRegisterView, Object.assign({}, defaultProps$3, { content: {
18129
- ...defaultProps$3.content,
18130
- terms: (index.h("p", null,
18131
- "By signing up you agree to the",
18132
- " ",
18133
- index.h("a", { href: "https://example.com", target: "_blank" }, "Terms and Conditions"))),
18134
- } })));
18155
+ const SlottedInputs = () => index.h(PortalRegisterView, Object.assign({}, slottedProps));
18135
18156
 
18136
18157
  const PortalRegister$1 = /*#__PURE__*/Object.freeze({
18137
18158
  __proto__: null,
@@ -18140,8 +18161,7 @@ const PortalRegister$1 = /*#__PURE__*/Object.freeze({
18140
18161
  RegisterWithError: RegisterWithError,
18141
18162
  RegisterLoading: RegisterLoading,
18142
18163
  FieldsHidden: FieldsHidden,
18143
- SlottedInputs: SlottedInputs,
18144
- TermsAndConditions: TermsAndConditions
18164
+ SlottedInputs: SlottedInputs
18145
18165
  });
18146
18166
 
18147
18167
  const scenario = "@author:derek\r\n@owner:ian\r\nFeature: Forgot Password\r\n\r\n @motivating\r\n Scenario: Users can request to reset their password\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email is sent\r\n Then a confirmation banner is shown stating a password reset email was sent\r\n\r\n @motivating\r\n Scenario: Users are notified if sending their password reset email fails\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email fails to send\r\n Then the user does not receive a password reset email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n @landmine\r\n Scenario: If the input email is not associated to an account a success banner is shown but an email is not be sent\r\n Given the user entered an email address that is not associated to an accoun\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n But no email is sent\r\n And a success banner is shown stating a password reset email was sent if the given email was associated to an account\r\n\r\n @motivating\r\n Scenario: Users can resend password reset email\r\n Given a user had previously requested to reset their password\r\n When they enter their email address\r\n And that email address is linked to a previously created account\r\n And they click \"Reset Password\"\r\n Then the user receives a second password reset email\r\n And a success banner is shown stating that their email was sent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to \"/resetPassword\"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> \"redirect-path\" with <value>\r\n When they request a password reset email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /resetPassword |\r\n | has | /resetMyPassword | /resetMyPassword |\r\n\r\n @minutae\r\n Scenario Outline: Navigation back to the login page can be customized but defaults to \"/login\"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> \"login-path\" with <value>\r\n Then they see a \"Sign In\" text button\r\n When they click \"Sign In\"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /login |\r\n | has | /signin | /signin |";
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const global = require('./global-0c01d88f.js');
4
+ const global = require('./global-413d075c.js');
5
5
  const index_module = require('./index.module-2925fe3b.js');
6
6
 
7
7
  var docCache = new Map();
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
- const global = require('./global-0c01d88f.js');
7
+ const global = require('./global-413d075c.js');
8
8
  require('./use-callback-fadb2643.js');
9
9
  const index_module = require('./index.module-2925fe3b.js');
10
10
  const cjs = require('./cjs-1066ec21.js');
11
- const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-48245b30.js');
11
+ const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-b1b55673.js');
12
12
 
13
13
  const GET_RANK = sqmLeaderboardRankView.gql `
14
14
  query ($type: String!, $filter: UserLeaderboardFilterInput) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const global = require('./global-0c01d88f.js');
4
+ const global = require('./global-413d075c.js');
5
5
  const jssPresetDefault_esm = require('./jss-preset-default.esm-6304d24f.js');
6
6
  const mixins = require('./mixins-7b7c59fe.js');
7
7
  const sqmTextSpanView = require('./sqm-text-span-view-b5ae787b.js');
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
- require('./global-0c01d88f.js');
7
+ require('./global-413d075c.js');
8
8
  require('./use-callback-fadb2643.js');
9
9
  const index_module = require('./index.module-2925fe3b.js');
10
10
  require('./jss-preset-default.esm-6304d24f.js');
11
11
  const cjs = require('./cjs-1066ec21.js');
12
12
  require('./mixins-7b7c59fe.js');
13
13
  require('./sqm-text-span-view-b5ae787b.js');
14
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-68b16f27.js');
14
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-eeb4ca62.js');
15
15
 
16
16
  function usePortalEmailVerification(props) {
17
17
  var _a, _b, _c, _d, _e;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const global = require('./global-0c01d88f.js');
4
+ const global = require('./global-413d075c.js');
5
5
  const jssPresetDefault_esm = require('./jss-preset-default.esm-6304d24f.js');
6
6
 
7
7
  function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
- require('./global-0c01d88f.js');
7
+ require('./global-413d075c.js');
8
8
  require('./use-callback-fadb2643.js');
9
9
  require('./index.module-2925fe3b.js');
10
10
  require('./jss-preset-default.esm-6304d24f.js');
11
11
  const utils = require('./utils-95e5317c.js');
12
- const sqmPortalFooterView = require('./sqm-portal-footer-view-edeeebab.js');
12
+ const sqmPortalFooterView = require('./sqm-portal-footer-view-08a2efd5.js');
13
13
 
14
14
  const PortalFooter = class {
15
15
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const global = require('./global-0c01d88f.js');
4
+ const global = require('./global-413d075c.js');
5
5
  const jssPresetDefault_esm = require('./jss-preset-default.esm-6304d24f.js');
6
6
  const sqmPortalContainerView = require('./sqm-portal-container-view-d144735a.js');
7
7
  const sqmTextSpanView = require('./sqm-text-span-view-b5ae787b.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
- require('./global-0c01d88f.js');
7
+ require('./global-413d075c.js');
8
8
  require('./use-callback-fadb2643.js');
9
9
  const index_module = require('./index.module-2925fe3b.js');
10
10
  require('./jss-preset-default.esm-6304d24f.js');
@@ -12,7 +12,7 @@ const utils = require('./utils-95e5317c.js');
12
12
  const cjs = require('./cjs-1066ec21.js');
13
13
  require('./sqm-portal-container-view-d144735a.js');
14
14
  require('./sqm-text-span-view-b5ae787b.js');
15
- const sqmPortalProfileView = require('./sqm-portal-profile-view-2b48529e.js');
15
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-ce86369e.js');
16
16
 
17
17
  const GET_USER = index_module.dist.gql `
18
18
  query {
@@ -69,7 +69,6 @@ export function PortalRegisterView(props) {
69
69
  "Cannot be empty",
70
70
  }
71
71
  : [])))),
72
- content.terms,
73
72
  h("div", { class: sheet.classes.ButtonsContainer },
74
73
  h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
75
74
  content.secondaryButton))));
@@ -71,7 +71,6 @@ export class PortalRegister {
71
71
  formData: h("slot", { name: "formData" }),
72
72
  secondaryButton: (h("slot", { name: "secondaryButton" },
73
73
  h("sl-button", { type: "text", disabled: states.loading, onClick: () => navigation.push(states.loginPath) }, this.loginLabel))),
74
- terms: h("slot", { name: "terms" }),
75
74
  emailLabel: this.emailLabel,
76
75
  passwordLabel: this.passwordLabel,
77
76
  submitLabel: this.submitLabel,
@@ -340,7 +339,7 @@ export class PortalRegister {
340
339
  "mutable": false,
341
340
  "complexType": {
342
341
  "original": "DemoData<PortalRegisterViewProps>",
343
- "resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; refs?: { formRef: any; }; }",
342
+ "resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; content?: { formData?: any; passwordField?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; refs?: { formRef: any; }; }",
344
343
  "references": {
345
344
  "DemoData": {
346
345
  "location": "import",
@@ -19,7 +19,7 @@ try {
19
19
  // SlAlert.register();
20
20
  registerIconLibrary("default", {
21
21
  // same link that shoelace uses internally
22
- resolver: (name) => `https://fast.ssqt.io/npm/bootstrap-icons@1.2.0/icons/${name}.svg`,
22
+ resolver: (name) => `https://fast.ssqt.io/npm/bootstrap-icons@1.7.2/icons/${name}.svg`,
23
23
  });
24
24
  // SlAlert.register();
25
25
  customElements.define("sl-alert", SlAlert);
@@ -9,7 +9,7 @@ const defaultProps = {
9
9
  loading: false,
10
10
  confirmPassword: true,
11
11
  hideInputs: false,
12
- loginPath: "/login",
12
+ loginPath: "/login"
13
13
  },
14
14
  callbacks: {
15
15
  submit: () => console.log("Submit!"),
@@ -26,7 +26,7 @@ const errorProps = {
26
26
  loading: false,
27
27
  confirmPassword: true,
28
28
  hideInputs: false,
29
- loginPath: "/login",
29
+ loginPath: "/login"
30
30
  },
31
31
  callbacks: {
32
32
  submit: () => console.log("Submit!"),
@@ -46,7 +46,7 @@ const loadingProps = {
46
46
  loading: true,
47
47
  confirmPassword: true,
48
48
  hideInputs: false,
49
- loginPath: "/login",
49
+ loginPath: "/login"
50
50
  },
51
51
  callbacks: {
52
52
  submit: () => console.log("Submit!"),
@@ -63,7 +63,7 @@ const slottedProps = {
63
63
  loading: false,
64
64
  confirmPassword: true,
65
65
  hideInputs: false,
66
- loginPath: "/login",
66
+ loginPath: "/login"
67
67
  },
68
68
  callbacks: {
69
69
  submit: () => console.log("Submit!"),
@@ -90,15 +90,8 @@ export const FieldsHidden = () => {
90
90
  loading: true,
91
91
  confirmPassword: true,
92
92
  hideInputs: true,
93
- loginPath: "/login",
93
+ loginPath: "/login"
94
94
  },
95
95
  } }));
96
96
  };
97
97
  export const SlottedInputs = () => h(PortalRegisterView, Object.assign({}, slottedProps));
98
- export const TermsAndConditions = () => (h(PortalRegisterView, Object.assign({}, defaultProps, { content: {
99
- ...defaultProps.content,
100
- terms: (h("p", null,
101
- "By signing up you agree to the",
102
- " ",
103
- h("a", { href: "https://example.com", target: "_blank" }, "Terms and Conditions"))),
104
- } })));
@@ -4,7 +4,7 @@ export default {
4
4
  title: "Share Button",
5
5
  };
6
6
  export const WithIcon = () => {
7
- const props = { medium: "facebook", iconslot: "suffix" };
7
+ const props = { medium: "whatsapp", iconslot: "suffix" };
8
8
  return h(ShareButtonView, Object.assign({}, props), "Share");
9
9
  };
10
10
  export const WithIconOverride = () => {
@@ -43,3 +43,32 @@ export const FullStackIcon = () => {
43
43
  h("sqm-share-button", { medium: "email", icon: "envelope", iconslot: "prefix" },
44
44
  h("span", null, "Email"))));
45
45
  };
46
+ export const AllMediums = () => {
47
+ return (h("div", null,
48
+ h("sqm-share-button", { medium: "facebook", iconslot: "prefix" },
49
+ h("span", null, "Facebook")),
50
+ h("br", null),
51
+ h("sqm-share-button", { medium: "email", icon: "envelope", iconslot: "prefix" },
52
+ h("span", null, "Email")),
53
+ h("br", null),
54
+ h("sqm-share-button", { medium: "whatsapp", icon: "whatsapp", iconslot: "prefix" },
55
+ h("span", null, "WhatsApp")),
56
+ h("br", null),
57
+ h("sqm-share-button", { medium: "linkedin", iconslot: "prefix" },
58
+ h("span", null, "Linkedin")),
59
+ h("br", null),
60
+ h("sqm-share-button", { medium: "twitter", iconslot: "prefix" },
61
+ h("span", null, "Twitter")),
62
+ h("br", null),
63
+ h("sqm-share-button", { medium: "pinterest", iconslot: "prefix" },
64
+ h("span", null, "Pinterest")),
65
+ h("br", null),
66
+ h("sqm-share-button", { medium: "fbmessenger", icon: "messenger", iconslot: "prefix" },
67
+ h("span", null, "Messenger")),
68
+ h("br", null),
69
+ h("sqm-share-button", { medium: "sms", icon: "chat", iconslot: "prefix" },
70
+ h("span", null, "SMS")),
71
+ h("br", null),
72
+ h("sqm-share-button", { medium: "linemessenger", icon: "line", iconslot: "prefix" },
73
+ h("span", null, "Line Messenger"))));
74
+ };
@@ -26495,7 +26495,7 @@ try {
26495
26495
  // SlAlert.register();
26496
26496
  registerIconLibrary("default", {
26497
26497
  // same link that shoelace uses internally
26498
- resolver: (name) => `https://fast.ssqt.io/npm/bootstrap-icons@1.2.0/icons/${name}.svg`,
26498
+ resolver: (name) => `https://fast.ssqt.io/npm/bootstrap-icons@1.7.2/icons/${name}.svg`,
26499
26499
  });
26500
26500
  // SlAlert.register();
26501
26501
  customElements.define("sl-alert", alert_default2);
@@ -1,6 +1,6 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-17b4da69.js';
2
2
  import './extends-3a3f9fe2.js';
3
- import './global-0fcfbedf.js';
3
+ import './global-2e50d2dc.js';
4
4
  import './use-callback-b38a1523.js';
5
5
  import './index.module-1e92a7a3.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { p as promiseResolve, H, b as bootstrapLazy } from './index-17b4da69.js';
2
2
  import './extends-3a3f9fe2.js';
3
- import './global-0fcfbedf.js';
3
+ import './global-2e50d2dc.js';
4
4
  import './use-callback-b38a1523.js';
5
5
  import './index.module-1e92a7a3.js';
6
6