@saasquatch/mint-components 2.1.10-57 → 2.1.10-60

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 (150) hide show
  1. package/dist/cjs/{ShadowViewAddon-a26deae6.js → ShadowViewAddon-c97e80de.js} +422 -19
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-big-stat_46.cjs.entry.js +271 -29
  5. package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
  6. package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
  7. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  8. package/dist/cjs/{sqm-portal-container-view-70a47420.js → sqm-portal-container-view-757f921b.js} +5 -6
  9. package/dist/cjs/{sqm-portal-email-verification-view-c81fe7f1.js → sqm-portal-email-verification-view-abb773a7.js} +1 -1
  10. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +5 -5
  12. package/dist/cjs/{sqm-portal-profile-view-639337e3.js → sqm-portal-profile-view-3515e1e5.js} +1 -1
  13. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  14. package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
  15. package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
  16. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
  17. package/dist/cjs/{sqm-portal-verify-email-view-424e406a.js → sqm-portal-verify-email-view-717d0633.js} +1 -1
  18. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
  19. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  20. package/dist/cjs/sqm-stencilbook.cjs.entry.js +173 -25
  21. package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-b9e10f5d.js} +1 -1
  22. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  23. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
  24. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
  25. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  26. package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
  27. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +136 -11
  28. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
  29. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
  30. package/dist/collection/components/sqm-share-link/sqm-share-link.js +935 -48
  31. package/dist/collection/components/sqm-share-link/useShareLink.js +227 -14
  32. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
  33. package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +4 -0
  34. package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +2 -1
  35. package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +1 -1
  36. package/dist/collection/components/sqm-user-attribute/useUserAttribute.js +5 -1
  37. package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-33f1a8f7.js} +424 -22
  38. package/dist/esm/loader.js +1 -1
  39. package/dist/esm/mint-components.js +1 -1
  40. package/dist/esm/sqm-big-stat_46.entry.js +271 -29
  41. package/dist/esm/sqm-code-verification.entry.js +1 -1
  42. package/dist/esm/sqm-email-verification.entry.js +1 -1
  43. package/dist/esm/sqm-empty_4.entry.js +1 -1
  44. package/dist/esm/{sqm-portal-container-view-a8c708cd.js → sqm-portal-container-view-200c9df8.js} +6 -7
  45. package/dist/esm/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  46. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  47. package/dist/esm/sqm-portal-forgot-password_6.entry.js +5 -5
  48. package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  49. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  50. package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  51. package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  52. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  53. package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  54. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  55. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  56. package/dist/esm/sqm-stencilbook.entry.js +173 -25
  57. package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  58. package/dist/esm/sqm-text-span.entry.js +1 -1
  59. package/dist/esm-es5/ShadowViewAddon-33f1a8f7.js +1 -0
  60. package/dist/esm-es5/loader.js +1 -1
  61. package/dist/esm-es5/mint-components.js +1 -1
  62. package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
  63. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  64. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  65. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  66. package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +1 -0
  67. package/dist/esm-es5/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  68. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  69. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  70. package/dist/esm-es5/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  71. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  72. package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  73. package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  74. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  75. package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  76. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  77. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  78. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  79. package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  80. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  81. package/dist/mint-components/mint-components.esm.js +1 -1
  82. package/dist/mint-components/{p-ab0ea688.system.entry.js → p-00b235c5.system.entry.js} +1 -1
  83. package/dist/mint-components/p-08930b83.js +499 -0
  84. package/dist/mint-components/p-0b1e90fe.system.js +1 -0
  85. package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
  86. package/dist/mint-components/{p-25558a33.entry.js → p-13292317.entry.js} +1 -1
  87. package/dist/mint-components/{p-d65991d0.entry.js → p-13d1b10d.entry.js} +1 -1
  88. package/dist/mint-components/{p-d4570314.entry.js → p-1d92c169.entry.js} +1 -1
  89. package/dist/mint-components/{p-7161e1a6.js → p-2668335b.js} +1 -1
  90. package/dist/mint-components/p-37dd039d.system.entry.js +1 -0
  91. package/dist/mint-components/{p-6e512063.entry.js → p-3af3e2c1.entry.js} +1 -1
  92. package/dist/mint-components/{p-5ff7b000.entry.js → p-40bad95a.entry.js} +1 -1
  93. package/dist/mint-components/{p-f35d856a.system.js → p-43c31fd5.system.js} +1 -1
  94. package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
  95. package/dist/mint-components/{p-dac20392.system.js → p-686dd5eb.system.js} +1 -1
  96. package/dist/mint-components/{p-7b909aa5.system.js → p-7562cd98.system.js} +1 -1
  97. package/dist/mint-components/p-78b40f71.system.js +1 -0
  98. package/dist/mint-components/{p-cb0a5990.entry.js → p-7939e4af.entry.js} +1 -1
  99. package/dist/mint-components/{p-e6ace3ab.js → p-832aea99.js} +1 -1
  100. package/dist/mint-components/{p-b9f57e84.system.entry.js → p-8899ff38.system.entry.js} +1 -1
  101. package/dist/mint-components/{p-fbe00c97.system.entry.js → p-892797eb.system.entry.js} +1 -1
  102. package/dist/mint-components/{p-d997001a.js → p-8962e023.js} +1 -1
  103. package/dist/mint-components/{p-dd368927.system.entry.js → p-9390586b.system.entry.js} +1 -1
  104. package/dist/mint-components/{p-3c46b4dd.system.js → p-a4825ec2.system.js} +1 -1
  105. package/dist/mint-components/{p-746500b2.entry.js → p-a9fdf5a3.entry.js} +22 -22
  106. package/dist/mint-components/{p-058aefe1.entry.js → p-af407cce.entry.js} +1 -1
  107. package/dist/mint-components/{p-56ca7e3c.js → p-b3ad957c.js} +1 -1
  108. package/dist/mint-components/{p-70570e4d.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
  109. package/dist/mint-components/{p-c67f8558.system.entry.js → p-bba16a46.system.entry.js} +1 -1
  110. package/dist/mint-components/{p-669d52c4.js → p-bee4af5d.js} +1 -1
  111. package/dist/mint-components/p-c592f273.system.entry.js +1 -0
  112. package/dist/mint-components/{p-cabf6326.js → p-c813ec64.js} +1 -1
  113. package/dist/mint-components/p-ca098be1.system.js +1 -1
  114. package/dist/mint-components/{p-18133026.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
  115. package/dist/mint-components/{p-692e14c5.system.js → p-d55c50af.system.js} +1 -1
  116. package/dist/mint-components/p-d91075a5.entry.js +9 -0
  117. package/dist/mint-components/p-e30abc44.js +1 -0
  118. package/dist/mint-components/{p-fb5c9802.entry.js → p-e506bf7f.entry.js} +1 -1
  119. package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-e9485160.system.entry.js} +1 -1
  120. package/dist/mint-components/{p-f0baeed0.entry.js → p-f6528f8a.entry.js} +1 -1
  121. package/dist/mint-components/{p-5141769d.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
  122. package/dist/mint-components/{p-e4f17c21.system.js → p-f8026ed6.system.js} +1 -1
  123. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
  124. package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
  125. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +41 -0
  126. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +195 -2
  127. package/dist/types/components/sqm-share-link/useShareLink.d.ts +33 -4
  128. package/dist/types/components/sqm-user-attribute/UserAttribute.stories.d.ts +3 -0
  129. package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +1 -1
  130. package/dist/types/components.d.ts +349 -2
  131. package/dist/types/global/android.d.ts +7 -0
  132. package/dist/types/global/demo.d.ts +2 -0
  133. package/dist/types/stories/features.d.ts +4 -0
  134. package/dist/types/stories/templates.d.ts +4 -0
  135. package/docs/docs.docx +0 -0
  136. package/docs/raisins.json +1 -1
  137. package/grapesjs/grapesjs.js +1 -1
  138. package/package.json +15 -3
  139. package/readme.md +60 -1
  140. package/dist/esm-es5/ShadowViewAddon-47f1e579.js +0 -1
  141. package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
  142. package/dist/mint-components/p-217dedde.js +0 -463
  143. package/dist/mint-components/p-4007afba.system.entry.js +0 -1
  144. package/dist/mint-components/p-445f50cc.entry.js +0 -9
  145. package/dist/mint-components/p-55676213.entry.js +0 -1
  146. package/dist/mint-components/p-89a20547.system.entry.js +0 -1
  147. package/dist/mint-components/p-b699f76e.system.js +0 -1
  148. package/dist/mint-components/p-b6a1e2ac.js +0 -1
  149. package/dist/mint-components/p-ce050888.system.js +0 -1
  150. package/dist/mint-components/p-e3497e0e.system.entry.js +0 -1
@@ -8,9 +8,9 @@ import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
8
  import './useReferralCodes-52ca720f.js';
9
9
  import './mixins-f750863a.js';
10
10
  import { C as CopyTextView } from './copy-text-view-87259b11.js';
11
- import './sqm-text-span-view-738acfb3.js';
12
- import { b as PortalRegisterView, P as PortalForgotPasswordView, a as PortalLoginView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-1a638fae.js';
13
- import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-2f4936ef.js';
11
+ import './sqm-text-span-view-72f43dff.js';
12
+ import { b as PortalRegisterView, P as PortalForgotPasswordView, a as PortalLoginView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c61536b7.js';
13
+ import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-79265df5.js';
14
14
  import { G as GenericTableView } from './GenericTableView-8c72ac30.js';
15
15
  import './useChildElements-9bccfb72.js';
16
16
  import { l as luxon } from './luxon-1be92a8e.js';
@@ -23,14 +23,14 @@ import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-7a682cc3.j
23
23
  import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-376c1bf6.js';
24
24
  import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-2b66457a.js';
25
25
  import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-b3beac5a.js';
26
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-426370f1.js';
27
- import { P as PortalProfileView } from './sqm-portal-profile-view-f015fd6a.js';
26
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-04528277.js';
27
+ import { P as PortalProfileView } from './sqm-portal-profile-view-b5ea620f.js';
28
28
  import './utilities-77b1e0cc.js';
29
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-cfbc0eb0.js';
29
+ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-f84c04cf.js';
30
30
  import './ErrorView-74cb3af8.js';
31
31
  import { Q as QrCodeView } from './sqm-qr-code-view-ce476721.js';
32
- import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, c as BaseRegistrationFormView, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as useShareLink, K as ProgressBarView, M as ProgressBar$2, O as LeadFormView, Q as LeadDropdownFieldView, U as ShadowViewAddon } from './ShadowViewAddon-47f1e579.js';
33
- import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-a8c708cd.js';
32
+ import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, c as BaseRegistrationFormView, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as ShareLinkView, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-33f1a8f7.js';
33
+ import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-200c9df8.js';
34
34
  import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-19d81a2b.js';
35
35
  import { t as taxTypeToName, L as LoadingView } from './data-12e6aae1.js';
36
36
  import { L as LeadInputFieldView } from './sqm-lead-input-field-view-d1b91650.js';
@@ -14051,21 +14051,145 @@ const CustomStyles$1 = () => {
14051
14051
  return h(CopyTextView, Object.assign({}, props));
14052
14052
  };
14053
14053
  const CustomStylesWithDemoHooks = () => {
14054
- const props = {
14055
- copyString: "https://noah.example.com",
14056
- open: false,
14057
- tooltiptext: "Copied!",
14058
- backgroundColor: "#1ed760",
14059
- borderRadius: "30px",
14060
- textColor: "red",
14061
- buttonType: "primary",
14062
- borderColor: "#121212",
14063
- };
14064
- return (h("sqm-share-link", { demoData: { ...props }, backgroundColor: "#1ed760" }));
14054
+ return (h("sqm-share-link", { demoData: {
14055
+ copyTextViewProps: {
14056
+ copyString: "https://noah.example.com",
14057
+ open: false,
14058
+ tooltiptext: "Copied!",
14059
+ backgroundColor: "#1ed760",
14060
+ borderRadius: "30px",
14061
+ textColor: "red",
14062
+ buttonType: "primary",
14063
+ borderColor: "#121212",
14064
+ },
14065
+ }, backgroundColor: "#1ed760" }));
14065
14066
  };
14066
14067
  const FullStack = () => {
14067
14068
  return h("sqm-share-link", null);
14068
14069
  };
14070
+ // Customize URL stories
14071
+ const noopFn = () => { };
14072
+ const defaultCustomizeProps = {
14073
+ copyTextViewProps: {
14074
+ copyString: "https://ssqt.co/abc123",
14075
+ open: false,
14076
+ tooltiptext: "Copied!",
14077
+ },
14078
+ allowCustomization: true,
14079
+ customizeLinkLabel: "Customize Link",
14080
+ saveLabelText: "Save",
14081
+ savingLabelText: "Saving...",
14082
+ cancelLabelText: "Cancel",
14083
+ editLabelText: "Edit your link",
14084
+ charactersRemainingText: "{count} characters remaining",
14085
+ validatingLabelText: "Validating...",
14086
+ isEditing: false,
14087
+ editValue: "",
14088
+ domainPrefix: "https://ssqt.co/",
14089
+ editsRemaining: 3,
14090
+ maxEdits: 5,
14091
+ limitReached: false,
14092
+ validationError: null,
14093
+ isValidating: false,
14094
+ isSaving: false,
14095
+ characterLimit: 15,
14096
+ minCharacters: 3,
14097
+ charactersRemaining: 15,
14098
+ editLimitText: "You can edit your link up to 5 times.",
14099
+ editLimitReachedText: "5 edit limit reached. To make more changes, please contact {supportLink}.",
14100
+ supportLinkText: "Support",
14101
+ customizeDisabled: false,
14102
+ customizeDisabledTooltip: "Link customization is not available.",
14103
+ minCharactersText: "Minimum 3 characters",
14104
+ onCustomizeClick: noopFn,
14105
+ onEditValueChange: noopFn,
14106
+ onSave: noopFn,
14107
+ onCancel: noopFn,
14108
+ };
14109
+ const CustomizeUrlDefault = () => {
14110
+ return h(ShareLinkView, Object.assign({}, defaultCustomizeProps));
14111
+ };
14112
+ const CustomizeUrlEditing = () => {
14113
+ return (h(ShareLinkView, Object.assign({}, {
14114
+ ...defaultCustomizeProps,
14115
+ isEditing: true,
14116
+ editValue: "nvoiwb18",
14117
+ charactersRemaining: 7,
14118
+ })));
14119
+ };
14120
+ const CustomizeUrlCustomized = () => {
14121
+ return (h(ShareLinkView, Object.assign({}, {
14122
+ ...defaultCustomizeProps,
14123
+ copyTextViewProps: {
14124
+ ...defaultCustomizeProps.copyTextViewProps,
14125
+ copyString: "https://ssqt.co/bobtesterson",
14126
+ },
14127
+ })));
14128
+ };
14129
+ const CustomizeUrlLimitReached = () => {
14130
+ return (h(ShareLinkView, Object.assign({}, {
14131
+ ...defaultCustomizeProps,
14132
+ copyTextViewProps: {
14133
+ ...defaultCustomizeProps.copyTextViewProps,
14134
+ copyString: "https://ssqt.co/bobtesterson",
14135
+ },
14136
+ editsRemaining: 0,
14137
+ limitReached: true,
14138
+ })));
14139
+ };
14140
+ const CustomizeUrlDisabled = () => {
14141
+ return (h(ShareLinkView, Object.assign({}, {
14142
+ ...defaultCustomizeProps,
14143
+ customizeDisabled: true,
14144
+ })));
14145
+ };
14146
+ const CustomizeUrlValidationError = () => {
14147
+ return (h(ShareLinkView, Object.assign({}, {
14148
+ ...defaultCustomizeProps,
14149
+ isEditing: true,
14150
+ editValue: "nvoiwb18",
14151
+ charactersRemaining: 7,
14152
+ validationError: {
14153
+ code: "EXISTING_CODE_CONFLICT",
14154
+ title: "This link is already taken",
14155
+ description: "Try adding numbers, a dash or underscore to create a unique link.",
14156
+ },
14157
+ })));
14158
+ };
14159
+ const CustomizeUrlInvalidCharacters = () => {
14160
+ return (h(ShareLinkView, Object.assign({}, {
14161
+ ...defaultCustomizeProps,
14162
+ isEditing: true,
14163
+ editValue: "nvoiwb18",
14164
+ charactersRemaining: 7,
14165
+ validationError: {
14166
+ code: "INVALID_CHARACTER",
14167
+ title: "Please use only letters, numbers, dashes and underscores",
14168
+ description: "Special characters can break the link when sharing.",
14169
+ },
14170
+ })));
14171
+ };
14172
+ const CustomizeUrlProfanity = () => {
14173
+ return (h(ShareLinkView, Object.assign({}, {
14174
+ ...defaultCustomizeProps,
14175
+ isEditing: true,
14176
+ editValue: "nvoiwb18",
14177
+ charactersRemaining: 7,
14178
+ validationError: {
14179
+ code: "BLOCKED_WORD",
14180
+ title: "Please try a different link",
14181
+ description: "This link contains a restricted word.",
14182
+ },
14183
+ })));
14184
+ };
14185
+ const CustomizeUrlSaving = () => {
14186
+ return (h(ShareLinkView, Object.assign({}, {
14187
+ ...defaultCustomizeProps,
14188
+ isEditing: true,
14189
+ editValue: "bobtesterson",
14190
+ isSaving: true,
14191
+ })));
14192
+ };
14069
14193
 
14070
14194
  const ShareLink = /*#__PURE__*/Object.freeze({
14071
14195
  __proto__: null,
@@ -14080,7 +14204,16 @@ const ShareLink = /*#__PURE__*/Object.freeze({
14080
14204
  CopyButtonBelow: CopyButtonBelow$3,
14081
14205
  CustomStyles: CustomStyles$1,
14082
14206
  CustomStylesWithDemoHooks: CustomStylesWithDemoHooks,
14083
- FullStack: FullStack
14207
+ FullStack: FullStack,
14208
+ CustomizeUrlDefault: CustomizeUrlDefault,
14209
+ CustomizeUrlEditing: CustomizeUrlEditing,
14210
+ CustomizeUrlCustomized: CustomizeUrlCustomized,
14211
+ CustomizeUrlLimitReached: CustomizeUrlLimitReached,
14212
+ CustomizeUrlDisabled: CustomizeUrlDisabled,
14213
+ CustomizeUrlValidationError: CustomizeUrlValidationError,
14214
+ CustomizeUrlInvalidCharacters: CustomizeUrlInvalidCharacters,
14215
+ CustomizeUrlProfanity: CustomizeUrlProfanity,
14216
+ CustomizeUrlSaving: CustomizeUrlSaving
14084
14217
  });
14085
14218
 
14086
14219
  const UseShareLink_stories = {
@@ -14118,11 +14251,11 @@ const BareBonesView$1 = createHookStory(() => {
14118
14251
  return (h("div", null,
14119
14252
  "Sharelink:",
14120
14253
  " ",
14121
- h("code", { style: { borderStyle: "solid", borderWidth: "1px", padding: "2px" } }, res.copyString)));
14254
+ h("code", { style: { borderStyle: "solid", borderWidth: "1px", padding: "2px" } }, res.copyTextViewProps.copyString)));
14122
14255
  });
14123
14256
  const RegularView$2 = createHookStory(() => {
14124
14257
  setupGraphQL$c();
14125
- return (h(CopyTextView, Object.assign({}, useShareLink({
14258
+ return (h(ShareLinkView, Object.assign({}, useShareLink({
14126
14259
  programId: "klip-referral-program",
14127
14260
  tooltiptext: "Copied to clipboard",
14128
14261
  tooltiplifespan: 1000,
@@ -14130,19 +14263,29 @@ const RegularView$2 = createHookStory(() => {
14130
14263
  });
14131
14264
  const FastTooltip = createHookStory(() => {
14132
14265
  setupGraphQL$c();
14133
- return (h(CopyTextView, Object.assign({}, useShareLink({
14266
+ return (h(ShareLinkView, Object.assign({}, useShareLink({
14134
14267
  programId: "klip-referral-program",
14135
- tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
14268
+ tooltiptext: "Copied to clipboard",
14136
14269
  tooltiplifespan: 500,
14137
14270
  }))));
14138
14271
  });
14272
+ const CustomizeUrlEnabled = createHookStory(() => {
14273
+ setupGraphQL$c();
14274
+ return (h(ShareLinkView, Object.assign({}, useShareLink({
14275
+ programId: "klip-referral-program",
14276
+ tooltiptext: "Copied to clipboard",
14277
+ tooltiplifespan: 1000,
14278
+ allowCustomization: true,
14279
+ }))));
14280
+ });
14139
14281
 
14140
14282
  const UseShareLink = /*#__PURE__*/Object.freeze({
14141
14283
  __proto__: null,
14142
14284
  'default': UseShareLink_stories,
14143
14285
  BareBonesView: BareBonesView$1,
14144
14286
  RegularView: RegularView$2,
14145
- FastTooltip: FastTooltip
14287
+ FastTooltip: FastTooltip,
14288
+ CustomizeUrlEnabled: CustomizeUrlEnabled
14146
14289
  });
14147
14290
 
14148
14291
  const scenario$C = "@author:Zach\n@owner:Zach\nFeature: Tabs\n\n The Tabs takes in the Tab component as children and maps through to display their header and content.\n\n Background: A user on the portal is viewing the widget\n Given a user viewing the Tabs component\n\n @motivating\n Scenario: Content inside the active tab is shown\n Given the header is set to <tabHeader>\n And the content inside is <tabContent>\n And the user has clicked <tabHeader>\n Then the <tabContent> is shown\n Examples:\n | tabHeader | tabContent |\n | Settings | This is the settings tab |\n | General | This is the general tab |\n | History | This is the history tab |\n\n @motivating\n @ui\n Scenario: The placement of the tabs is configurable\n Given The placement prop has been passed a valid <placement>\n Then tabs are placed on the <placementResult>\n Examples:\n | placement | placementResult |\n | | top of the content |\n | left | left hand side of the content |\n | right | right hand side of the content |\n | bottom | bottom of the content |\n\n\n @minutia\n @ui\n Scenario Outline: Tabs are setup to use the brand color\n Given the brand color is set to darkblue\n Then the text inside the active tab is darkblue\n And the underline of the active tab is darkblue\n\n @ui\n Scenario: Tabs are responsive\n Given the user is on a mobile device\n When there are more tabs than the horizontal space allows for\n Then clickable arrows appear on the left and right of the tabs\n And the tabs are scrollable\n\n @landmine\n Scenario: Program section cannot be used inside of tabs\n Given a tabs component\n And tab containing a program section with program-id \"test123\"\n And the program section wraps a component using program context\n When the tabs component is rendered\n Then the \"sq:program-id\" event listener for the program section is removed\n And the component does not use program-id \"test123\" to source its data\n And falls back to the global program id";
@@ -18697,8 +18840,13 @@ const UserInfoFormView = /*#__PURE__*/Object.freeze({
18697
18840
  DisabledForm: DisabledForm
18698
18841
  });
18699
18842
 
18843
+ const scenario$G = "@owner:zach @author:zach\nFeature: User Attribute\n Displays a user's custom field value.\n\n Background: A user exists\n Given a user is logged in\n And the user has custom fields\n\n @motivating\n Scenario: A custom field value is displayed\n Given the component has prop \"value\" with value \"firstName\"\n And the user has a custom field \"firstName\" with value \"John\"\n When the component is rendered\n Then the text \"John\" is displayed\n\n @landmine\n Scenario: Nothing is rendered when the custom field does not exist\n Given the component has prop \"value\" with value \"nonExistentField\"\n And the user does not have a custom field \"nonExistentField\"\n Then component is not rendered\n And nothing is displayed\n\n @motivating\n Scenario: A loading skeleton is shown while data is loading\n Given the component is loading user data\n When the component is rendered\n Then a loading skeleton is displayed\n\n @motivating\n Scenario Outline: Optional styling props can be applied to customize the text appearance\n Given the component has prop <prop> with value <value>\n When the component is rendered\n Then the text is displayed with <cssProperty> set to <value>\n\n Examples:\n | prop | value | cssProperty |\n | fontSize | 24 | font-size |\n | color | #E91E63 | color |\n | fontWeight | 700 | font-weight |\n\n @minutia\n Scenario: Style props are optional and default to no custom styling\n Given the component has no style props set\n When the component is rendered\n Then the text is displayed with default browser styles\n";
18844
+
18700
18845
  const UserAttribute_stories = {
18701
18846
  title: "Components/User Attribute",
18847
+ parameters: {
18848
+ scenario: scenario$G,
18849
+ },
18702
18850
  };
18703
18851
  const Default$x = () => {
18704
18852
  return (h("sqm-user-attribute", { demoData: {
@@ -51,7 +51,7 @@ function TextSpanView(props, children) {
51
51
  display: inline;
52
52
  }
53
53
  `;
54
- return (h("span", { class: sheet.classes[type], part: "sqm-base" },
54
+ return (h("span", { class: sheet.classes[type], part: "sqm-text-span" },
55
55
  h("style", { type: "text/css" },
56
56
  vanillaStyle,
57
57
  styleString),
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
2
2
  import { n as h } from './dom-context-hooks.module-50442785.js';
3
3
  import './JSS-67b5cff8.js';
4
- import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
5
5
 
6
6
  const TextSpan = class {
7
7
  constructor(hostRef) {