@saasquatch/mint-components 2.4.5 → 2.4.6

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 (22) hide show
  1. package/dist/cjs/{ShadowViewAddon-331ac9e4.js → ShadowViewAddon-ed5d27ef.js} +11 -2
  2. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +1 -1
  3. package/dist/cjs/sqm-stencilbook.cjs.entry.js +11 -2
  4. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +8 -0
  5. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +11 -2
  6. package/dist/esm/{ShadowViewAddon-ae0cd8b9.js → ShadowViewAddon-4ee8cc57.js} +11 -2
  7. package/dist/esm/sqm-big-stat_47.entry.js +1 -1
  8. package/dist/esm/sqm-stencilbook.entry.js +11 -2
  9. package/dist/esm-es5/{ShadowViewAddon-ae0cd8b9.js → ShadowViewAddon-4ee8cc57.js} +1 -1
  10. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  11. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  12. package/dist/mint-components/mint-components.esm.js +1 -1
  13. package/dist/mint-components/{p-3d2fe16b.js → p-221d044f.js} +4 -4
  14. package/dist/mint-components/{p-cf12347b.system.entry.js → p-3de1b8a7.system.entry.js} +1 -1
  15. package/dist/mint-components/{p-87f119f0.system.js → p-4148d8d7.system.js} +1 -1
  16. package/dist/mint-components/p-bfb00685.system.js +1 -1
  17. package/dist/mint-components/{p-231926a3.system.entry.js → p-ca6c2c4c.system.entry.js} +1 -1
  18. package/dist/mint-components/{p-0d89ef44.entry.js → p-eae73594.entry.js} +1 -1
  19. package/dist/mint-components/{p-1e9c339f.entry.js → p-fb2d9545.entry.js} +2 -2
  20. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
  21. package/docs/docs.docx +0 -0
  22. package/package.json +1 -1
@@ -4290,10 +4290,18 @@ function ShareLinkView(props) {
4290
4290
  whiteSpace: "nowrap",
4291
4291
  userSelect: "none",
4292
4292
  lineHeight: "var(--sl-input-height-medium)",
4293
+ overflow: "hidden",
4294
+ textOverflow: "ellipsis",
4295
+ flexGrow: 0,
4296
+ flexShrink: 1,
4297
+ minWidth: 0,
4298
+ direction: "rtl",
4299
+ textAlign: "left",
4293
4300
  },
4294
4301
  EditInput: {
4295
4302
  maxWidth: "260px",
4296
- width: "100%",
4303
+ flexShrink: 0,
4304
+ flexGrow: 1,
4297
4305
  "&::part(base)": {
4298
4306
  border: "none",
4299
4307
  borderRadius: "0",
@@ -4373,7 +4381,8 @@ function ShareLinkView(props) {
4373
4381
  vanillaStyle$6),
4374
4382
  index.h("p", { class: sheet.classes.EditLabel }, editLabelText),
4375
4383
  index.h("div", { class: sheet.classes.EditInputWrapper },
4376
- index.h("span", { class: sheet.classes.DomainPrefix }, domainPrefix),
4384
+ index.h("span", { class: sheet.classes.DomainPrefix, title: domainPrefix },
4385
+ index.h("span", { dir: "ltr" }, domainPrefix)),
4377
4386
  index.h("sl-input", { class: sheet.classes.EditInput, type: "text", value: editValue, onInput: (e) => onEditValueChange(e.target.value), onKeyDown: (e) => {
4378
4387
  if (e.key === "/" || e.key === "@")
4379
4388
  e.preventDefault();
@@ -29,7 +29,7 @@ const useInstantAccessRegistration = require('./useInstantAccessRegistration-239
29
29
  const useLeadFormState = require('./useLeadFormState-bf49984b.js');
30
30
  const utilities = require('./utilities-fcdb9504.js');
31
31
  const ErrorView = require('./ErrorView-ee7b0f36.js');
32
- const ShadowViewAddon = require('./ShadowViewAddon-331ac9e4.js');
32
+ const ShadowViewAddon = require('./ShadowViewAddon-ed5d27ef.js');
33
33
  require('./sqm-portal-container-view-757f921b.js');
34
34
  const data = require('./data-04ef5511.js');
35
35
  const keys = require('./keys-5a2c9ed2.js');
@@ -35,7 +35,7 @@ require('./utilities-fcdb9504.js');
35
35
  const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-a767b044.js');
36
36
  require('./ErrorView-ee7b0f36.js');
37
37
  const sqmQrCodeView = require('./sqm-qr-code-view-1f2daa76.js');
38
- const ShadowViewAddon = require('./ShadowViewAddon-331ac9e4.js');
38
+ const ShadowViewAddon = require('./ShadowViewAddon-ed5d27ef.js');
39
39
  const sqmPortalContainerView = require('./sqm-portal-container-view-757f921b.js');
40
40
  const sqmUserInfoFormView = require('./sqm-user-info-form-view-9745956d.js');
41
41
  const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-88de1b78.js');
@@ -14389,6 +14389,14 @@ const CustomizeUrlSaving = () => {
14389
14389
  isSaving: true,
14390
14390
  })));
14391
14391
  };
14392
+ const CustomizeUrlEditingMobileNarrow = () => {
14393
+ return (index.h("div", { style: { width: "320px", border: "1px dashed red" } },
14394
+ index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, {
14395
+ ...defaultCustomizeProps,
14396
+ isEditing: true,
14397
+ domainPrefix: "https://referral-marketing.mybrandname.com/",
14398
+ }))));
14399
+ };
14392
14400
 
14393
14401
  const ShareLink = /*#__PURE__*/Object.freeze({
14394
14402
  __proto__: null,
@@ -14412,7 +14420,8 @@ const ShareLink = /*#__PURE__*/Object.freeze({
14412
14420
  CustomizeUrlValidationError: CustomizeUrlValidationError,
14413
14421
  CustomizeUrlInvalidCharacters: CustomizeUrlInvalidCharacters,
14414
14422
  CustomizeUrlProfanity: CustomizeUrlProfanity,
14415
- CustomizeUrlSaving: CustomizeUrlSaving
14423
+ CustomizeUrlSaving: CustomizeUrlSaving,
14424
+ CustomizeUrlEditingMobileNarrow: CustomizeUrlEditingMobileNarrow
14416
14425
  });
14417
14426
 
14418
14427
  const UseShareLink_stories = {
@@ -217,3 +217,11 @@ export const CustomizeUrlSaving = () => {
217
217
  isSaving: true,
218
218
  })));
219
219
  };
220
+ export const CustomizeUrlEditingMobileNarrow = () => {
221
+ return (h("div", { style: { width: "320px", border: "1px dashed red" } },
222
+ h(ShareLinkView, Object.assign({}, {
223
+ ...defaultCustomizeProps,
224
+ isEditing: true,
225
+ domainPrefix: "https://referral-marketing.mybrandname.com/",
226
+ }))));
227
+ };
@@ -64,10 +64,18 @@ export function ShareLinkView(props) {
64
64
  whiteSpace: "nowrap",
65
65
  userSelect: "none",
66
66
  lineHeight: "var(--sl-input-height-medium)",
67
+ overflow: "hidden",
68
+ textOverflow: "ellipsis",
69
+ flexGrow: 0,
70
+ flexShrink: 1,
71
+ minWidth: 0,
72
+ direction: "rtl",
73
+ textAlign: "left",
67
74
  },
68
75
  EditInput: {
69
76
  maxWidth: "260px",
70
- width: "100%",
77
+ flexShrink: 0,
78
+ flexGrow: 1,
71
79
  "&::part(base)": {
72
80
  border: "none",
73
81
  borderRadius: "0",
@@ -147,7 +155,8 @@ export function ShareLinkView(props) {
147
155
  vanillaStyle),
148
156
  h("p", { class: sheet.classes.EditLabel }, editLabelText),
149
157
  h("div", { class: sheet.classes.EditInputWrapper },
150
- h("span", { class: sheet.classes.DomainPrefix }, domainPrefix),
158
+ h("span", { class: sheet.classes.DomainPrefix, title: domainPrefix },
159
+ h("span", { dir: "ltr" }, domainPrefix)),
151
160
  h("sl-input", { class: sheet.classes.EditInput, type: "text", value: editValue, onInput: (e) => onEditValueChange(e.target.value), onKeyDown: (e) => {
152
161
  if (e.key === "/" || e.key === "@")
153
162
  e.preventDefault();
@@ -4288,10 +4288,18 @@ function ShareLinkView(props) {
4288
4288
  whiteSpace: "nowrap",
4289
4289
  userSelect: "none",
4290
4290
  lineHeight: "var(--sl-input-height-medium)",
4291
+ overflow: "hidden",
4292
+ textOverflow: "ellipsis",
4293
+ flexGrow: 0,
4294
+ flexShrink: 1,
4295
+ minWidth: 0,
4296
+ direction: "rtl",
4297
+ textAlign: "left",
4291
4298
  },
4292
4299
  EditInput: {
4293
4300
  maxWidth: "260px",
4294
- width: "100%",
4301
+ flexShrink: 0,
4302
+ flexGrow: 1,
4295
4303
  "&::part(base)": {
4296
4304
  border: "none",
4297
4305
  borderRadius: "0",
@@ -4371,7 +4379,8 @@ function ShareLinkView(props) {
4371
4379
  vanillaStyle$6),
4372
4380
  h("p", { class: sheet.classes.EditLabel }, editLabelText),
4373
4381
  h("div", { class: sheet.classes.EditInputWrapper },
4374
- h("span", { class: sheet.classes.DomainPrefix }, domainPrefix),
4382
+ h("span", { class: sheet.classes.DomainPrefix, title: domainPrefix },
4383
+ h("span", { dir: "ltr" }, domainPrefix)),
4375
4384
  h("sl-input", { class: sheet.classes.EditInput, type: "text", value: editValue, onInput: (e) => onEditValueChange(e.target.value), onKeyDown: (e) => {
4376
4385
  if (e.key === "/" || e.key === "@")
4377
4386
  e.preventDefault();
@@ -25,7 +25,7 @@ import { u as useInstantAccessRegistration } from './useInstantAccessRegistratio
25
25
  import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-6214b2d9.js';
26
26
  import { i as isEmpty } from './utilities-cbd8f2eb.js';
27
27
  import { E as ErrorView } from './ErrorView-74cb3af8.js';
28
- import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-ae0cd8b9.js';
28
+ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-4ee8cc57.js';
29
29
  import './sqm-portal-container-view-200c9df8.js';
30
30
  import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, f as FINANCE_NETWORK_SETTINGS_NAMESPACE, g as GET_FINANCE_NETWORK_SETTINGS, h as CURRENCIES_QUERY_NAMESPACE, i as GET_CURRENCIES } from './data-0be04430.js';
31
31
  import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, b as SHOW_PARTNER_MODAL_NAMESPACE, P as PARTNER_CREATED_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE } from './keys-1054056a.js';
@@ -31,7 +31,7 @@ import './utilities-cbd8f2eb.js';
31
31
  import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-f84c04cf.js';
32
32
  import './ErrorView-74cb3af8.js';
33
33
  import { Q as QrCodeView } from './sqm-qr-code-view-ce476721.js';
34
- 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-ae0cd8b9.js';
34
+ 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-4ee8cc57.js';
35
35
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-200c9df8.js';
36
36
  import { I as InvoiceTableView, T as TaxAndCashDashboardView$1, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-81526655.js';
37
37
  import { L as LeadInputFieldView } from './sqm-lead-input-field-view-671ff96f.js';
@@ -14385,6 +14385,14 @@ const CustomizeUrlSaving = () => {
14385
14385
  isSaving: true,
14386
14386
  })));
14387
14387
  };
14388
+ const CustomizeUrlEditingMobileNarrow = () => {
14389
+ return (h("div", { style: { width: "320px", border: "1px dashed red" } },
14390
+ h(ShareLinkView, Object.assign({}, {
14391
+ ...defaultCustomizeProps,
14392
+ isEditing: true,
14393
+ domainPrefix: "https://referral-marketing.mybrandname.com/",
14394
+ }))));
14395
+ };
14388
14396
 
14389
14397
  const ShareLink = /*#__PURE__*/Object.freeze({
14390
14398
  __proto__: null,
@@ -14408,7 +14416,8 @@ const ShareLink = /*#__PURE__*/Object.freeze({
14408
14416
  CustomizeUrlValidationError: CustomizeUrlValidationError,
14409
14417
  CustomizeUrlInvalidCharacters: CustomizeUrlInvalidCharacters,
14410
14418
  CustomizeUrlProfanity: CustomizeUrlProfanity,
14411
- CustomizeUrlSaving: CustomizeUrlSaving
14419
+ CustomizeUrlSaving: CustomizeUrlSaving,
14420
+ CustomizeUrlEditingMobileNarrow: CustomizeUrlEditingMobileNarrow
14412
14421
  });
14413
14422
 
14414
14423
  const UseShareLink_stories = {