@saasquatch/mint-components 1.15.0-22 → 1.15.0-24
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.
- package/dist/cjs/{ShadowViewAddon-d7977499.js → ShadowViewAddon-c08a66ce.js} +5 -4
- package/dist/cjs/{global-f06aabc0.js → global-24116a83.js} +38 -24
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +2 -2
- package/dist/cjs/sqm-big-stat_41.cjs.entry.js +2 -2
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-invoice-table-view-431faed1.js → sqm-invoice-table-view-50d3d314.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-969cf926.js → sqm-portal-email-verification-view-df11fb08.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-96e936cf.js → sqm-portal-profile-view-e787abd7.js} +2 -2
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +5 -5
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +4 -3
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/global/styles.js +38 -24
- package/dist/collection/global/styles.ts +38 -24
- package/dist/esm/{ShadowViewAddon-70b09bad.js → ShadowViewAddon-2e660338.js} +5 -4
- package/dist/esm/{global-5e65213d.js → global-f2c5e24d.js} +38 -24
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_17.entry.js +2 -2
- package/dist/esm/sqm-big-stat_41.entry.js +2 -2
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/{sqm-invoice-table-view-a2c45ff7.js → sqm-invoice-table-view-ed95e27f.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-56a69db0.js → sqm-portal-email-verification-view-39d511dd.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-5cf91770.js → sqm-portal-profile-view-d1880cba.js} +2 -2
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +5 -5
- package/dist/esm-es5/ShadowViewAddon-2e660338.js +1 -0
- package/dist/esm-es5/{global-5e65213d.js → global-f2c5e24d.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-a2c45ff7.js → sqm-invoice-table-view-ed95e27f.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-56a69db0.js → sqm-portal-email-verification-view-39d511dd.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-5cf91770.js → sqm-portal-profile-view-d1880cba.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/global/styles.ts +38 -24
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-eadd9d56.entry.js → p-0451d643.entry.js} +1 -1
- package/dist/mint-components/{p-125a798a.system.entry.js → p-2ee84c00.system.entry.js} +1 -1
- package/dist/mint-components/{p-2d0163d2.system.entry.js → p-30ac1c79.system.entry.js} +1 -1
- package/dist/mint-components/p-30d7d26b.system.js +1 -0
- package/dist/mint-components/{p-aace41ea.system.entry.js → p-3d77414e.system.entry.js} +1 -1
- package/dist/mint-components/p-47f80dfd.js +394 -0
- package/dist/mint-components/{p-5b1b2c10.system.entry.js → p-49105755.system.entry.js} +1 -1
- package/dist/mint-components/{p-48b3ef9c.entry.js → p-4aa6e20f.entry.js} +1 -1
- package/dist/mint-components/{p-1e7e8dd2.js → p-4e431a8d.js} +1 -1
- package/dist/mint-components/{p-5e617dd6.system.js → p-514ea17c.system.js} +1 -1
- package/dist/mint-components/{p-773e2418.system.js → p-55b29b78.system.js} +11 -11
- package/dist/mint-components/{p-6131a44f.system.entry.js → p-579bead4.system.entry.js} +1 -1
- package/dist/mint-components/{p-861d4824.entry.js → p-68550fc4.entry.js} +1 -1
- package/dist/mint-components/{p-61af919f.entry.js → p-81b9486a.entry.js} +1 -1
- package/dist/mint-components/{p-ecb29723.entry.js → p-891e731c.entry.js} +1 -1
- package/dist/mint-components/{p-317264ac.system.entry.js → p-96341a8c.system.entry.js} +1 -1
- package/dist/mint-components/{p-05f785fb.system.js → p-9909b0ed.system.js} +1 -1
- package/dist/mint-components/{p-03622801.entry.js → p-ae83b881.entry.js} +1 -1
- package/dist/mint-components/{p-d24a881e.system.js → p-b0523725.system.js} +1 -1
- package/dist/mint-components/{p-f5023fd8.system.entry.js → p-c185e7f3.system.entry.js} +1 -1
- package/dist/mint-components/{p-ebae139f.system.js → p-c20aea0f.system.js} +1 -1
- package/dist/mint-components/{p-ac095a53.system.entry.js → p-cccda08a.system.entry.js} +1 -1
- package/dist/mint-components/{p-f189d803.entry.js → p-ced0c08c.entry.js} +1 -1
- package/dist/mint-components/{p-b1c78ed4.js → p-d0eb2bed.js} +1 -1
- package/dist/mint-components/{p-1b983c86.entry.js → p-db3b97c4.entry.js} +1 -1
- package/dist/mint-components/{p-a34ac378.js → p-dc569f51.js} +1 -1
- package/dist/mint-components/{p-37e86ead.js → p-dddb6666.js} +13 -13
- package/dist/mint-components/{p-749cb346.system.entry.js → p-e111cc4e.system.entry.js} +1 -1
- package/dist/mint-components/{p-e53acd7c.entry.js → p-f1581d0e.entry.js} +1 -1
- package/dist/mint-components/{p-69e017e1.entry.js → p-f2917213.entry.js} +2 -2
- package/dist/mint-components/{p-e977ff3b.system.entry.js → p-f2d3b601.system.entry.js} +1 -1
- package/dist/mint-components/{p-386c82ba.entry.js → p-fd2d7755.entry.js} +2 -2
- package/dist/mint-components/{p-26d60973.system.entry.js → p-ff7c1d05.system.entry.js} +1 -1
- package/dist/types/global/styles.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-70b09bad.js +0 -1
- package/dist/mint-components/p-1dc920f0.js +0 -394
- package/dist/mint-components/p-456a43e1.system.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a29c60ef.js');
|
|
4
4
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
5
|
-
const global = require('./global-
|
|
5
|
+
const global = require('./global-24116a83.js');
|
|
6
6
|
const index_module = require('./index.module-ee84433d.js');
|
|
7
7
|
const cjs = require('./cjs-1066ec21.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -1572,6 +1572,7 @@ function PortalChangePasswordView(props) {
|
|
|
1572
1572
|
const { states, callbacks } = props;
|
|
1573
1573
|
const style = {
|
|
1574
1574
|
Dialog: {
|
|
1575
|
+
background: "var(--sqm-portal-background)",
|
|
1575
1576
|
padding: "0",
|
|
1576
1577
|
"&::part(close-button)": {
|
|
1577
1578
|
"margin-top": "var(--sl-spacing-medium)",
|
|
@@ -1626,14 +1627,14 @@ function PortalChangePasswordView(props) {
|
|
|
1626
1627
|
index.h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText }),
|
|
1627
1628
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
|
|
1628
1629
|
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
|
|
1629
|
-
index.h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
1630
|
-
index.h("sl-button", { class: sheet.classes.CancelButton, type: "text", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
1630
|
+
index.h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
1631
|
+
index.h("sl-button", { class: sheet.classes.CancelButton, type: "text", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
1631
1632
|
}))),
|
|
1632
1633
|
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
1633
1634
|
labelMargin: "x-large",
|
|
1634
1635
|
padding: "xxx-large",
|
|
1635
1636
|
label: (index.h(sqmTextSpanView.TextSpanView, Object.assign({}, { type: "h2" }), states.content.portalChangePasswordHeader)),
|
|
1636
|
-
content: (index.h("sl-button", { onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
1637
|
+
content: (index.h("sl-button", { exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
1637
1638
|
}),
|
|
1638
1639
|
index.h("style", { type: "text/css" }, styleString))));
|
|
1639
1640
|
}
|
|
@@ -26518,6 +26518,26 @@ html {
|
|
|
26518
26518
|
--sqm-secondary-button-color: #FFFFFF; /* Spotify White for text */
|
|
26519
26519
|
--sqm-secondary-button-color-border: #FFFFFF; /* Spotify White for border */
|
|
26520
26520
|
--sqm-secondary-button-radius: 30px;
|
|
26521
|
+
|
|
26522
|
+
--sqm-input-background: #121212;
|
|
26523
|
+
--sqm-input-border: 1px solid #7c7c7c;
|
|
26524
|
+
--sqm-input-border-radius: 30px;
|
|
26525
|
+
--sqm-input-color: white;
|
|
26526
|
+
--sqm-input-focus-border: 1px solid #1ed760;
|
|
26527
|
+
--sqm-input-label-color: white;
|
|
26528
|
+
--sqm-border-width: 1px;
|
|
26529
|
+
--sqm-input-label-font-size: white;
|
|
26530
|
+
--sqm-input-disabled-color: white;
|
|
26531
|
+
--sqm-input-disabled-background: #303030;
|
|
26532
|
+
|
|
26533
|
+
--sl-input-color: var(--sqm-input-color);
|
|
26534
|
+
--sl-input-color-hover: var(--sqm-input-color);
|
|
26535
|
+
--sl-input-color-focus: var(--sqm-input-color);
|
|
26536
|
+
--sl-input-color-disabled: var(--sqm-input-disabled-color);
|
|
26537
|
+
--sl-input-border-color-disabled: #7c7c7c;
|
|
26538
|
+
--sl-input-border-color-focus: white !important;
|
|
26539
|
+
--sl-input-border-color: #7c7c7c;
|
|
26540
|
+
--sl-input-border-color-hover: white;
|
|
26521
26541
|
}
|
|
26522
26542
|
|
|
26523
26543
|
body {
|
|
@@ -26598,15 +26618,6 @@ sl-badge[type="neutral"]::part(base) {
|
|
|
26598
26618
|
color: var(--sqm-neutral-badge-text-color, var(--sl-color-neutral-700));
|
|
26599
26619
|
}
|
|
26600
26620
|
|
|
26601
|
-
// .terms-link,
|
|
26602
|
-
// .terms-link:visited {
|
|
26603
|
-
// color: var(--sl-color-gray-500);
|
|
26604
|
-
// text-decoration: none;
|
|
26605
|
-
// }
|
|
26606
|
-
// .terms-link:hover {
|
|
26607
|
-
// color: var(--sl-color-gray-600);
|
|
26608
|
-
// }
|
|
26609
|
-
|
|
26610
26621
|
h1, h2, h3, h4{
|
|
26611
26622
|
line-height: var(--sl-line-height-dense);
|
|
26612
26623
|
}
|
|
@@ -26693,8 +26704,6 @@ sl-details::part(summary) {
|
|
|
26693
26704
|
background-color: var(--sqm-primary-button-background-hover);
|
|
26694
26705
|
}
|
|
26695
26706
|
|
|
26696
|
-
|
|
26697
|
-
|
|
26698
26707
|
*::part(primarybutton-base):focus{
|
|
26699
26708
|
box-shadow: none;
|
|
26700
26709
|
}
|
|
@@ -26714,27 +26723,32 @@ sl-details::part(summary) {
|
|
|
26714
26723
|
box-shadow: none;
|
|
26715
26724
|
}
|
|
26716
26725
|
|
|
26717
|
-
|
|
26718
|
-
|
|
26726
|
+
*::part(input-label), *::part(select-label), *::part(textarea-label){
|
|
26727
|
+
font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));
|
|
26728
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
26729
|
+
color: var(--sqm-input-label-color, var(--sqm-text), black);
|
|
26719
26730
|
}
|
|
26720
26731
|
|
|
26721
|
-
|
|
26722
|
-
|
|
26732
|
+
*::part(input-base), *::part(select-base), *::part(textarea-base){
|
|
26733
|
+
background-color: var(--sqm-input-background, #fff);
|
|
26734
|
+
border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-medium), 0.25rem);
|
|
26735
|
+
color: var(--sqm-input-color, white);
|
|
26736
|
+
border-width: var(--sqm-border-width, 1px);
|
|
26723
26737
|
}
|
|
26724
26738
|
|
|
26725
|
-
|
|
26726
|
-
|
|
26739
|
+
*::part(input-label):focus,
|
|
26740
|
+
*::part(select-label):focus,
|
|
26741
|
+
*::part(textarea-label):focus {
|
|
26742
|
+
border: var(--sqm-input-focus-border, 1px solid var(--sl-input-border-color-focus));
|
|
26743
|
+
background: pink !important;
|
|
26727
26744
|
}
|
|
26728
26745
|
|
|
26729
|
-
*::part(input-label), *::part(select-label), *::part(textarea-label){
|
|
26730
|
-
|
|
26731
|
-
|
|
26746
|
+
*::part(input-label):disabled, *::part(select-label):disabled, *::part(textarea-label):disabled{
|
|
26747
|
+
background: var(--sqm-input-disabled-background, #f5f5f5);
|
|
26748
|
+
color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));
|
|
26732
26749
|
}
|
|
26733
26750
|
|
|
26734
|
-
|
|
26735
|
-
font-size: var(--sl-input-label-font-size-small);
|
|
26736
|
-
font-weight: var(--sl-font-weight-semibold);
|
|
26737
|
-
}
|
|
26751
|
+
|
|
26738
26752
|
|
|
26739
26753
|
*::part(menuitem-base):hover{
|
|
26740
26754
|
background-color: var(--sl-color-gray-200);
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-24116a83.js');
|
|
8
8
|
require('./index.module-ee84433d.js');
|
|
9
9
|
|
|
10
10
|
/*
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -18,7 +18,7 @@ const luxon = require('./luxon-2926d85f.js');
|
|
|
18
18
|
const useReferralTable = require('./useReferralTable-7c3f9600.js');
|
|
19
19
|
const sqmTextSpanView = require('./sqm-text-span-view-56e48a78.js');
|
|
20
20
|
const ErrorView = require('./ErrorView-b2fcf954.js');
|
|
21
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-
|
|
21
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-50d3d314.js');
|
|
22
22
|
const extractProps = require('./extractProps-fd93ba62.js');
|
|
23
23
|
const keys = require('./keys-cff24974.js');
|
|
24
24
|
const usePayoutStatus = require('./usePayoutStatus-4b5894ef.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -23,7 +23,7 @@ const sqmPortalLoginView = require('./sqm-portal-login-view-84e99287.js');
|
|
|
23
23
|
const usePortalLogin = require('./usePortalLogin-63d896d1.js');
|
|
24
24
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
25
25
|
const utilities = require('./utilities-78f5e169.js');
|
|
26
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
26
|
+
const ShadowViewAddon = require('./ShadowViewAddon-c08a66ce.js');
|
|
27
27
|
require('./sqm-portal-container-view-4f15143a.js');
|
|
28
28
|
const usePayoutStatus = require('./usePayoutStatus-4b5894ef.js');
|
|
29
29
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-24116a83.js');
|
|
8
8
|
require('./index.module-ee84433d.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-d39a55d8.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a29c60ef.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-24116a83.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const mixins = require('./mixins-f7e0377a.js');
|
|
7
7
|
const sqmTextSpanView = require('./sqm-text-span-view-56e48a78.js');
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-f7e0377a.js');
|
|
12
12
|
require('./sqm-text-span-view-56e48a78.js');
|
|
13
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
13
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-df11fb08.js');
|
|
14
14
|
|
|
15
15
|
function usePortalEmailVerification(props) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
package/dist/cjs/{sqm-portal-profile-view-96e936cf.js → sqm-portal-profile-view-e787abd7.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a29c60ef.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-24116a83.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const sqmTextSpanView = require('./sqm-text-span-view-56e48a78.js');
|
|
7
7
|
|
|
@@ -79,7 +79,7 @@ function PortalProfileView(props) {
|
|
|
79
79
|
? errors === null || errors === void 0 ? void 0 : errors.lastName.message : undefined }))),
|
|
80
80
|
index.h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label, base: input-base", disabled: true }),
|
|
81
81
|
states.showCountry && (index.h("sl-input", { label: text.countrytext, value: country, exportparts: "label: input-label, base: input-base", disabled: true })),
|
|
82
|
-
index.h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
|
|
82
|
+
index.h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
|
|
83
83
|
callbacks.onSubmit(e);
|
|
84
84
|
}, submit: true }, text.submitChangeButtonText))));
|
|
85
85
|
}
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./sqm-text-span-view-56e48a78.js');
|
|
13
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
13
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-e787abd7.js');
|
|
14
14
|
const utilities = require('./utilities-78f5e169.js');
|
|
15
15
|
|
|
16
16
|
const GET_USER = index_module.dist.gql `
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-24116a83.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
require('./cjs-1066ec21.js');
|
|
10
10
|
require('./utils-6847bc06.js');
|
|
@@ -24,20 +24,20 @@ const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-d39a55d8.js'
|
|
|
24
24
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-11d57c12.js');
|
|
25
25
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-38a5227a.js');
|
|
26
26
|
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-5dfd2b52.js');
|
|
27
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
27
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-df11fb08.js');
|
|
28
28
|
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-b986086e.js');
|
|
29
29
|
const sqmPortalLoginView = require('./sqm-portal-login-view-84e99287.js');
|
|
30
30
|
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-1b2440c3.js');
|
|
31
31
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-4377d849.js');
|
|
32
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
32
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-e787abd7.js');
|
|
33
33
|
require('./utilities-78f5e169.js');
|
|
34
34
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-52fc50fe.js');
|
|
35
35
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-4f837226.js');
|
|
36
36
|
require('./ErrorView-b2fcf954.js');
|
|
37
37
|
const sqmQrCodeView = require('./sqm-qr-code-view-3da9ed28.js');
|
|
38
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
38
|
+
const ShadowViewAddon = require('./ShadowViewAddon-c08a66ce.js');
|
|
39
39
|
const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
|
|
40
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-
|
|
40
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-50d3d314.js');
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* lodash (Custom Build) <https://lodash.com/>
|
package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js
CHANGED
|
@@ -7,6 +7,7 @@ export function PortalChangePasswordView(props) {
|
|
|
7
7
|
const { states, callbacks } = props;
|
|
8
8
|
const style = {
|
|
9
9
|
Dialog: {
|
|
10
|
+
background: "var(--sqm-portal-background)",
|
|
10
11
|
padding: "0",
|
|
11
12
|
"&::part(close-button)": {
|
|
12
13
|
"margin-top": "var(--sl-spacing-medium)",
|
|
@@ -61,14 +62,14 @@ export function PortalChangePasswordView(props) {
|
|
|
61
62
|
h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText }),
|
|
62
63
|
h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
|
|
63
64
|
h(PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
|
|
64
|
-
h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
65
|
-
h("sl-button", { class: sheet.classes.CancelButton, type: "text", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
65
|
+
h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
66
|
+
h("sl-button", { class: sheet.classes.CancelButton, type: "text", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
66
67
|
}))),
|
|
67
68
|
h(PortalSectionView, Object.assign({}, {
|
|
68
69
|
labelMargin: "x-large",
|
|
69
70
|
padding: "xxx-large",
|
|
70
71
|
label: (h(TextSpanView, Object.assign({}, { type: "h2" }), states.content.portalChangePasswordHeader)),
|
|
71
|
-
content: (h("sl-button", { onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
72
|
+
content: (h("sl-button", { exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
72
73
|
}),
|
|
73
74
|
h("style", { type: "text/css" }, styleString))));
|
|
74
75
|
}
|
|
@@ -76,7 +76,7 @@ export function PortalProfileView(props) {
|
|
|
76
76
|
? errors === null || errors === void 0 ? void 0 : errors.lastName.message : undefined }))),
|
|
77
77
|
h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label, base: input-base", disabled: true }),
|
|
78
78
|
states.showCountry && (h("sl-input", { label: text.countrytext, value: country, exportparts: "label: input-label, base: input-base", disabled: true })),
|
|
79
|
-
h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
|
|
79
|
+
h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
|
|
80
80
|
callbacks.onSubmit(e);
|
|
81
81
|
}, submit: true }, text.submitChangeButtonText))));
|
|
82
82
|
}
|
|
@@ -612,6 +612,26 @@ html {
|
|
|
612
612
|
--sqm-secondary-button-color: #FFFFFF; /* Spotify White for text */
|
|
613
613
|
--sqm-secondary-button-color-border: #FFFFFF; /* Spotify White for border */
|
|
614
614
|
--sqm-secondary-button-radius: 30px;
|
|
615
|
+
|
|
616
|
+
--sqm-input-background: #121212;
|
|
617
|
+
--sqm-input-border: 1px solid #7c7c7c;
|
|
618
|
+
--sqm-input-border-radius: 30px;
|
|
619
|
+
--sqm-input-color: white;
|
|
620
|
+
--sqm-input-focus-border: 1px solid #1ed760;
|
|
621
|
+
--sqm-input-label-color: white;
|
|
622
|
+
--sqm-border-width: 1px;
|
|
623
|
+
--sqm-input-label-font-size: white;
|
|
624
|
+
--sqm-input-disabled-color: white;
|
|
625
|
+
--sqm-input-disabled-background: #303030;
|
|
626
|
+
|
|
627
|
+
--sl-input-color: var(--sqm-input-color);
|
|
628
|
+
--sl-input-color-hover: var(--sqm-input-color);
|
|
629
|
+
--sl-input-color-focus: var(--sqm-input-color);
|
|
630
|
+
--sl-input-color-disabled: var(--sqm-input-disabled-color);
|
|
631
|
+
--sl-input-border-color-disabled: #7c7c7c;
|
|
632
|
+
--sl-input-border-color-focus: white !important;
|
|
633
|
+
--sl-input-border-color: #7c7c7c;
|
|
634
|
+
--sl-input-border-color-hover: white;
|
|
615
635
|
}
|
|
616
636
|
|
|
617
637
|
body {
|
|
@@ -692,15 +712,6 @@ sl-badge[type="neutral"]::part(base) {
|
|
|
692
712
|
color: var(--sqm-neutral-badge-text-color, var(--sl-color-neutral-700));
|
|
693
713
|
}
|
|
694
714
|
|
|
695
|
-
// .terms-link,
|
|
696
|
-
// .terms-link:visited {
|
|
697
|
-
// color: var(--sl-color-gray-500);
|
|
698
|
-
// text-decoration: none;
|
|
699
|
-
// }
|
|
700
|
-
// .terms-link:hover {
|
|
701
|
-
// color: var(--sl-color-gray-600);
|
|
702
|
-
// }
|
|
703
|
-
|
|
704
715
|
h1, h2, h3, h4{
|
|
705
716
|
line-height: var(--sl-line-height-dense);
|
|
706
717
|
}
|
|
@@ -787,8 +798,6 @@ sl-details::part(summary) {
|
|
|
787
798
|
background-color: var(--sqm-primary-button-background-hover);
|
|
788
799
|
}
|
|
789
800
|
|
|
790
|
-
|
|
791
|
-
|
|
792
801
|
*::part(primarybutton-base):focus{
|
|
793
802
|
box-shadow: none;
|
|
794
803
|
}
|
|
@@ -808,27 +817,32 @@ sl-details::part(summary) {
|
|
|
808
817
|
box-shadow: none;
|
|
809
818
|
}
|
|
810
819
|
|
|
811
|
-
|
|
812
|
-
|
|
820
|
+
*::part(input-label), *::part(select-label), *::part(textarea-label){
|
|
821
|
+
font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));
|
|
822
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
823
|
+
color: var(--sqm-input-label-color, var(--sqm-text), black);
|
|
813
824
|
}
|
|
814
825
|
|
|
815
|
-
|
|
816
|
-
|
|
826
|
+
*::part(input-base), *::part(select-base), *::part(textarea-base){
|
|
827
|
+
background-color: var(--sqm-input-background, #fff);
|
|
828
|
+
border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-medium), 0.25rem);
|
|
829
|
+
color: var(--sqm-input-color, white);
|
|
830
|
+
border-width: var(--sqm-border-width, 1px);
|
|
817
831
|
}
|
|
818
832
|
|
|
819
|
-
|
|
820
|
-
|
|
833
|
+
*::part(input-label):focus,
|
|
834
|
+
*::part(select-label):focus,
|
|
835
|
+
*::part(textarea-label):focus {
|
|
836
|
+
border: var(--sqm-input-focus-border, 1px solid var(--sl-input-border-color-focus));
|
|
837
|
+
background: pink !important;
|
|
821
838
|
}
|
|
822
839
|
|
|
823
|
-
*::part(input-label), *::part(select-label), *::part(textarea-label){
|
|
824
|
-
|
|
825
|
-
|
|
840
|
+
*::part(input-label):disabled, *::part(select-label):disabled, *::part(textarea-label):disabled{
|
|
841
|
+
background: var(--sqm-input-disabled-background, #f5f5f5);
|
|
842
|
+
color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));
|
|
826
843
|
}
|
|
827
844
|
|
|
828
|
-
|
|
829
|
-
font-size: var(--sl-input-label-font-size-small);
|
|
830
|
-
font-weight: var(--sl-font-weight-semibold);
|
|
831
|
-
}
|
|
845
|
+
|
|
832
846
|
|
|
833
847
|
*::part(menuitem-base):hover{
|
|
834
848
|
background-color: var(--sl-color-gray-200);
|
|
@@ -613,6 +613,26 @@ html {
|
|
|
613
613
|
--sqm-secondary-button-color: #FFFFFF; /* Spotify White for text */
|
|
614
614
|
--sqm-secondary-button-color-border: #FFFFFF; /* Spotify White for border */
|
|
615
615
|
--sqm-secondary-button-radius: 30px;
|
|
616
|
+
|
|
617
|
+
--sqm-input-background: #121212;
|
|
618
|
+
--sqm-input-border: 1px solid #7c7c7c;
|
|
619
|
+
--sqm-input-border-radius: 30px;
|
|
620
|
+
--sqm-input-color: white;
|
|
621
|
+
--sqm-input-focus-border: 1px solid #1ed760;
|
|
622
|
+
--sqm-input-label-color: white;
|
|
623
|
+
--sqm-border-width: 1px;
|
|
624
|
+
--sqm-input-label-font-size: white;
|
|
625
|
+
--sqm-input-disabled-color: white;
|
|
626
|
+
--sqm-input-disabled-background: #303030;
|
|
627
|
+
|
|
628
|
+
--sl-input-color: var(--sqm-input-color);
|
|
629
|
+
--sl-input-color-hover: var(--sqm-input-color);
|
|
630
|
+
--sl-input-color-focus: var(--sqm-input-color);
|
|
631
|
+
--sl-input-color-disabled: var(--sqm-input-disabled-color);
|
|
632
|
+
--sl-input-border-color-disabled: #7c7c7c;
|
|
633
|
+
--sl-input-border-color-focus: white !important;
|
|
634
|
+
--sl-input-border-color: #7c7c7c;
|
|
635
|
+
--sl-input-border-color-hover: white;
|
|
616
636
|
}
|
|
617
637
|
|
|
618
638
|
body {
|
|
@@ -693,15 +713,6 @@ sl-badge[type="neutral"]::part(base) {
|
|
|
693
713
|
color: var(--sqm-neutral-badge-text-color, var(--sl-color-neutral-700));
|
|
694
714
|
}
|
|
695
715
|
|
|
696
|
-
// .terms-link,
|
|
697
|
-
// .terms-link:visited {
|
|
698
|
-
// color: var(--sl-color-gray-500);
|
|
699
|
-
// text-decoration: none;
|
|
700
|
-
// }
|
|
701
|
-
// .terms-link:hover {
|
|
702
|
-
// color: var(--sl-color-gray-600);
|
|
703
|
-
// }
|
|
704
|
-
|
|
705
716
|
h1, h2, h3, h4{
|
|
706
717
|
line-height: var(--sl-line-height-dense);
|
|
707
718
|
}
|
|
@@ -788,8 +799,6 @@ sl-details::part(summary) {
|
|
|
788
799
|
background-color: var(--sqm-primary-button-background-hover);
|
|
789
800
|
}
|
|
790
801
|
|
|
791
|
-
|
|
792
|
-
|
|
793
802
|
*::part(primarybutton-base):focus{
|
|
794
803
|
box-shadow: none;
|
|
795
804
|
}
|
|
@@ -809,27 +818,32 @@ sl-details::part(summary) {
|
|
|
809
818
|
box-shadow: none;
|
|
810
819
|
}
|
|
811
820
|
|
|
812
|
-
|
|
813
|
-
|
|
821
|
+
*::part(input-label), *::part(select-label), *::part(textarea-label){
|
|
822
|
+
font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));
|
|
823
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
824
|
+
color: var(--sqm-input-label-color, var(--sqm-text), black);
|
|
814
825
|
}
|
|
815
826
|
|
|
816
|
-
|
|
817
|
-
|
|
827
|
+
*::part(input-base), *::part(select-base), *::part(textarea-base){
|
|
828
|
+
background-color: var(--sqm-input-background, #fff);
|
|
829
|
+
border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-medium), 0.25rem);
|
|
830
|
+
color: var(--sqm-input-color, white);
|
|
831
|
+
border-width: var(--sqm-border-width, 1px);
|
|
818
832
|
}
|
|
819
833
|
|
|
820
|
-
|
|
821
|
-
|
|
834
|
+
*::part(input-label):focus,
|
|
835
|
+
*::part(select-label):focus,
|
|
836
|
+
*::part(textarea-label):focus {
|
|
837
|
+
border: var(--sqm-input-focus-border, 1px solid var(--sl-input-border-color-focus));
|
|
838
|
+
background: pink !important;
|
|
822
839
|
}
|
|
823
840
|
|
|
824
|
-
*::part(input-label), *::part(select-label), *::part(textarea-label){
|
|
825
|
-
|
|
826
|
-
|
|
841
|
+
*::part(input-label):disabled, *::part(select-label):disabled, *::part(textarea-label):disabled{
|
|
842
|
+
background: var(--sqm-input-disabled-background, #f5f5f5);
|
|
843
|
+
color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));
|
|
827
844
|
}
|
|
828
845
|
|
|
829
|
-
|
|
830
|
-
font-size: var(--sl-input-label-font-size-small);
|
|
831
|
-
font-weight: var(--sl-font-weight-semibold);
|
|
832
|
-
}
|
|
846
|
+
|
|
833
847
|
|
|
834
848
|
*::part(menuitem-base):hover{
|
|
835
849
|
background-color: var(--sl-color-gray-200);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-91e7729f.js';
|
|
2
2
|
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-f2c5e24d.js';
|
|
4
4
|
import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
@@ -1570,6 +1570,7 @@ function PortalChangePasswordView(props) {
|
|
|
1570
1570
|
const { states, callbacks } = props;
|
|
1571
1571
|
const style = {
|
|
1572
1572
|
Dialog: {
|
|
1573
|
+
background: "var(--sqm-portal-background)",
|
|
1573
1574
|
padding: "0",
|
|
1574
1575
|
"&::part(close-button)": {
|
|
1575
1576
|
"margin-top": "var(--sl-spacing-medium)",
|
|
@@ -1624,14 +1625,14 @@ function PortalChangePasswordView(props) {
|
|
|
1624
1625
|
h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText }),
|
|
1625
1626
|
h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
|
|
1626
1627
|
h(PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
|
|
1627
|
-
h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
1628
|
-
h("sl-button", { class: sheet.classes.CancelButton, type: "text", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
1628
|
+
h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
1629
|
+
h("sl-button", { class: sheet.classes.CancelButton, type: "text", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
1629
1630
|
}))),
|
|
1630
1631
|
h(PortalSectionView, Object.assign({}, {
|
|
1631
1632
|
labelMargin: "x-large",
|
|
1632
1633
|
padding: "xxx-large",
|
|
1633
1634
|
label: (h(TextSpanView, Object.assign({}, { type: "h2" }), states.content.portalChangePasswordHeader)),
|
|
1634
|
-
content: (h("sl-button", { onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
1635
|
+
content: (h("sl-button", { exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
1635
1636
|
}),
|
|
1636
1637
|
h("style", { type: "text/css" }, styleString))));
|
|
1637
1638
|
}
|