@everymatrix/pam-player-addresses 0.11.0

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 (56) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-bf6d2004.js +1227 -0
  3. package/dist/cjs/index.cjs.js +10 -0
  4. package/dist/cjs/loader.cjs.js +15 -0
  5. package/dist/cjs/pam-player-addresses-8214aff0.js +684 -0
  6. package/dist/cjs/pam-player-addresses.cjs.js +25 -0
  7. package/dist/cjs/pam-player-addresses_2.cjs.entry.js +175 -0
  8. package/dist/collection/collection-manifest.json +19 -0
  9. package/dist/collection/components/pam-player-addresses/index.js +1 -0
  10. package/dist/collection/components/pam-player-addresses/pam-player-addresses.css +276 -0
  11. package/dist/collection/components/pam-player-addresses/pam-player-addresses.js +534 -0
  12. package/dist/collection/index.js +1 -0
  13. package/dist/collection/utils/locale.utils.js +329 -0
  14. package/dist/collection/utils/utils.js +12 -0
  15. package/dist/esm/app-globals-0f993ce5.js +3 -0
  16. package/dist/esm/index-79695a92.js +1200 -0
  17. package/dist/esm/index.js +2 -0
  18. package/dist/esm/loader.js +11 -0
  19. package/dist/esm/pam-player-addresses-911649b4.js +682 -0
  20. package/dist/esm/pam-player-addresses.js +20 -0
  21. package/dist/esm/pam-player-addresses_2.entry.js +170 -0
  22. package/dist/index.cjs.js +1 -0
  23. package/dist/index.js +1 -0
  24. package/dist/pam-player-addresses/app-globals-0f993ce5.js +1 -0
  25. package/dist/pam-player-addresses/index-79695a92.js +2 -0
  26. package/dist/pam-player-addresses/index.esm.js +1 -0
  27. package/dist/pam-player-addresses/pam-player-addresses-911649b4.js +1 -0
  28. package/dist/pam-player-addresses/pam-player-addresses.esm.js +1 -0
  29. package/dist/pam-player-addresses/pam-player-addresses_2.entry.js +1 -0
  30. package/dist/stencil.config.dev.js +17 -0
  31. package/dist/stencil.config.js +19 -0
  32. package/dist/storybook/main.js +47 -0
  33. package/dist/storybook/preview.js +9 -0
  34. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-addresses/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
  35. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-addresses/.stencil/packages/stencil/pam-player-addresses/stencil.config.d.ts +2 -0
  36. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-addresses/.stencil/packages/stencil/pam-player-addresses/stencil.config.dev.d.ts +2 -0
  37. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-addresses/.stencil/packages/stencil/pam-player-addresses/storybook/main.d.ts +3 -0
  38. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-addresses/.stencil/packages/stencil/pam-player-addresses/storybook/preview.d.ts +70 -0
  39. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-addresses/.stencil/tools/plugins/index.d.ts +3 -0
  40. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-addresses/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
  41. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-addresses/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
  42. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-addresses/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
  43. package/dist/types/components/pam-player-addresses/index.d.ts +1 -0
  44. package/dist/types/components/pam-player-addresses/pam-player-addresses.d.ts +52 -0
  45. package/dist/types/components.d.ts +61 -0
  46. package/dist/types/index.d.ts +1 -0
  47. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  48. package/dist/types/utils/locale.utils.d.ts +23 -0
  49. package/dist/types/utils/utils.d.ts +7 -0
  50. package/loader/cdn.js +1 -0
  51. package/loader/index.cjs.js +1 -0
  52. package/loader/index.d.ts +24 -0
  53. package/loader/index.es2017.js +1 -0
  54. package/loader/index.js +2 -0
  55. package/loader/package.json +11 -0
  56. package/package.json +26 -0
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-bf6d2004.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
7
+
8
+ /*
9
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
10
+ */
11
+ var patchBrowser = () => {
12
+ const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('pam-player-addresses.cjs.js', document.baseURI).href));
13
+ const opts = {};
14
+ if (importMeta !== "") {
15
+ opts.resourcesUrl = new URL(".", importMeta).href;
16
+ }
17
+ return index.promiseResolve(opts);
18
+ };
19
+
20
+ patchBrowser().then(async (options) => {
21
+ await appGlobals.globalScripts();
22
+ return index.bootstrapLazy([["pam-player-addresses_2.cjs",[[1,"pam-player-addresses",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"lang":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"isFullAddressDisplayed":[513,"is-full-address-displayed"],"isPermanentAdressEditable":[513,"is-permanent-adress-editable"],"isTemporaryAdressEditable":[513,"is-temporary-adress-editable"],"isStandAlone":[513,"is-stand-alone"],"limitStylingAppends":[32],"isSkeletonLoading":[32],"isSubmitButtonAvailable":[32],"invalidFields":[32],"isMobile":[32],"isPermanentAddressSectionActive":[32],"isTemporaryAddressSectionActive":[32]},null,{"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[2,"border-radius"],"marginBottom":[2,"margin-bottom"],"marginTop":[2,"margin-top"],"marginLeft":[2,"margin-left"],"marginRight":[2,"margin-right"],"animation":[4],"rows":[2],"size":[1],"color":[1],"primaryColor":[1,"primary-color"],"secondaryColor":[1,"secondary-color"]},null,{"structure":["handleStructureChange"]}]]]], options);
23
+ });
24
+
25
+ exports.setNonce = index.setNonce;
@@ -0,0 +1,175 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const pamPlayerAddresses = require('./pam-player-addresses-8214aff0.js');
6
+ const index = require('./index-bf6d2004.js');
7
+
8
+ const uiSkeletonCss = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}";
9
+ const UiSkeletonStyle0 = uiSkeletonCss;
10
+
11
+ const UiSkeleton = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.structure = undefined;
15
+ this.width = undefined;
16
+ this.height = undefined;
17
+ this.borderRadius = undefined;
18
+ this.marginBottom = undefined;
19
+ this.marginTop = undefined;
20
+ this.marginLeft = undefined;
21
+ this.marginRight = undefined;
22
+ this.animation = true;
23
+ this.rows = undefined;
24
+ this.size = undefined;
25
+ this.color = undefined;
26
+ this.primaryColor = undefined;
27
+ this.secondaryColor = undefined;
28
+ }
29
+ handleStructureChange(newValue, oldValue) {
30
+ if (oldValue !== newValue) {
31
+ this.handleStructure(newValue);
32
+ }
33
+ }
34
+ handleStructure(structure) {
35
+ switch (structure) {
36
+ case 'logo':
37
+ return this.renderLogo();
38
+ case 'image':
39
+ return this.renderImage();
40
+ case 'title':
41
+ return this.renderTitle();
42
+ case 'text':
43
+ return this.renderText();
44
+ case 'rectangle':
45
+ return this.renderRectangle();
46
+ case 'circle':
47
+ return this.renderCircle();
48
+ default:
49
+ return null;
50
+ }
51
+ }
52
+ renderLogo() {
53
+ return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: "Logo " + (this.animation ? 'Skeleton' : '') })));
54
+ }
55
+ renderImage() {
56
+ return (index.h("div", { class: "Image " + (this.animation ? 'Skeleton' : '') }));
57
+ }
58
+ renderTitle() {
59
+ return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: "Title " + (this.animation ? 'Skeleton' : '') })));
60
+ }
61
+ renderText() {
62
+ return (index.h("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((_, index$1) => (index.h("div", { key: index$1, class: "Text " + (this.animation ? 'Skeleton' : '') })))));
63
+ }
64
+ renderRectangle() {
65
+ return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: "Rectangle " + (this.animation ? 'Skeleton' : '') })));
66
+ }
67
+ renderCircle() {
68
+ return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: "Circle " + (this.animation ? 'Skeleton' : '') })));
69
+ }
70
+ render() {
71
+ let styleBlock = '';
72
+ switch (this.structure) {
73
+ case 'logo':
74
+ styleBlock = `
75
+ :host {
76
+ --emw-skeleton-logo-width: ${this.width};
77
+ --emw-skeleton-logo-height: ${this.height};
78
+ --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
79
+ --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
80
+ --emw-skeleton-logo-margin-top: ${this.marginTop}px;
81
+ --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
82
+ --emw-skeleton-logo-margin-right: ${this.marginRight}px;
83
+ --emw-skeleton-logo-background: ${this.color};
84
+ --emw-skeleton-primary-color: ${this.primaryColor};
85
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
86
+ }
87
+ `;
88
+ break;
89
+ case 'image':
90
+ styleBlock = `
91
+ :host {
92
+ --emw-skeleton-image-width: ${this.width};
93
+ --emw-skeleton-image-height: ${this.height};
94
+ --emw-skeleton-image-border-radius: ${this.borderRadius}px;
95
+ --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
96
+ --emw-skeleton-image-margin-top: ${this.marginTop}px;
97
+ --emw-skeleton-image-margin-left: ${this.marginLeft}px;
98
+ --emw-skeleton-image-margin-right: ${this.marginRight}px;
99
+ --emw-skeleton-image-background: ${this.color};
100
+ --emw-skeleton-primary-color: ${this.primaryColor};
101
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
102
+ }
103
+ `;
104
+ break;
105
+ case 'title':
106
+ styleBlock = `
107
+ :host {
108
+ --emw-skeleton-title-width: ${this.width};
109
+ --emw-skeleton-title-height: ${this.height};
110
+ --emw-skeleton-title-border-radius: ${this.borderRadius}px;
111
+ --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
112
+ --emw-skeleton-title-margin-top: ${this.marginTop}px;
113
+ --emw-skeleton-title-margin-left: ${this.marginLeft}px;
114
+ --emw-skeleton-title-margin-right: ${this.marginRight}px;
115
+ --emw-skeleton-title-background: ${this.color};
116
+ --emw-skeleton-primary-color: ${this.primaryColor};
117
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
118
+ }
119
+ `;
120
+ break;
121
+ case 'text':
122
+ styleBlock = `
123
+ :host {
124
+ --emw-skeleton-text-width: ${this.width};
125
+ --emw-skeleton-text-height: ${this.height};
126
+ --emw-skeleton-text-border-radius: ${this.borderRadius}px;
127
+ --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
128
+ --emw-skeleton-text-margin-top: ${this.marginTop}px;
129
+ --emw-skeleton-text-margin-left: ${this.marginLeft}px;
130
+ --emw-skeleton-text-margin-right: ${this.marginRight}px;
131
+ --emw-skeleton-text-background: ${this.color};
132
+ --emw-skeleton-primary-color: ${this.primaryColor};
133
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
134
+ }
135
+ `;
136
+ break;
137
+ case 'rectangle':
138
+ styleBlock = `
139
+ :host {
140
+ --emw-skeleton-rectangle-width: ${this.width};
141
+ --emw-skeleton-rectangle-height: ${this.height};
142
+ --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
143
+ --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
144
+ --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
145
+ --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
146
+ --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
147
+ --emw-skeleton-rectangle-background: ${this.color};
148
+ --emw-skeleton-primary-color: ${this.primaryColor};
149
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
150
+ }
151
+ `;
152
+ break;
153
+ case 'circle':
154
+ styleBlock = `
155
+ :host {
156
+ --emw-skeleton-circle-size: ${this.size};
157
+ --emw-skeleton-circle-background: ${this.color};
158
+ --emw-skeleton-primary-color: ${this.primaryColor};
159
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
160
+ }
161
+ `;
162
+ break;
163
+ default:
164
+ styleBlock = '';
165
+ }
166
+ return (index.h(index.Host, { key: '3bb792a149db7fe732d5cbfa092cdb4d6ca0689e' }, index.h("style", { key: 'a4607599b60659f385ae2660513e38b383739674' }, styleBlock), this.handleStructure(this.structure)));
167
+ }
168
+ static get watchers() { return {
169
+ "structure": ["handleStructureChange"]
170
+ }; }
171
+ };
172
+ UiSkeleton.style = UiSkeletonStyle0;
173
+
174
+ exports.pam_player_addresses = pamPlayerAddresses.PamPlayerAddresses;
175
+ exports.ui_skeleton = UiSkeleton;
@@ -0,0 +1,19 @@
1
+ {
2
+ "entries": [
3
+ "components/pam-player-addresses/pam-player-addresses.js"
4
+ ],
5
+ "compiler": {
6
+ "name": "@stencil/core",
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
+ },
10
+ "collections": [
11
+ {
12
+ "name": "@everymatrix/ui-skeleton",
13
+ "tags": [
14
+ "ui-skeleton"
15
+ ]
16
+ }
17
+ ],
18
+ "bundles": []
19
+ }
@@ -0,0 +1 @@
1
+ export { PamPlayerAddresses } from './pam-player-addresses';
@@ -0,0 +1,276 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ button {
6
+ font-family: var(--emw--button-typography);
7
+ }
8
+
9
+ input, select, option {
10
+ font-family: inherit;
11
+ }
12
+
13
+ .PamPlayerAddressesWrapper {
14
+ color: var(--emw--pam-typography, var(--emw-color-contrast, #07072A));
15
+ background: var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));
16
+ padding: 50px;
17
+ height: 100%;
18
+ border-radius: var(--emw--border-radius-large, 10px);
19
+ container-type: inline-size;
20
+ opacity: 1;
21
+ animation-name: fadeIn;
22
+ animation-iteration-count: 1;
23
+ animation-timing-function: ease-in;
24
+ animation-duration: 0.3s;
25
+ }
26
+ .PamPlayerAddressesWrapper .ReturnButton {
27
+ display: none;
28
+ }
29
+ .PamPlayerAddressesWrapper .HeaderText {
30
+ font-size: var(--emw--font-size-x-large, 24px);
31
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
32
+ text-transform: capitalize;
33
+ font-weight: var(--emw--font-weight-semibold, 500);
34
+ }
35
+ .PamPlayerAddressesWrapper .Section {
36
+ background: var(--emw-color-pale, var(--emw--color-gray-100, #E6E6E6));
37
+ border-radius: var(--emw--border-radius-large, 10px);
38
+ padding: 10px;
39
+ margin-bottom: 10px;
40
+ }
41
+ .PamPlayerAddressesWrapper .Section .SectionTitle {
42
+ font-size: var(--emw--font-size-large, 20px);
43
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
44
+ text-transform: capitalize;
45
+ font-weight: var(--emw--font-weight-semibold, 500);
46
+ padding: 0;
47
+ border: 0;
48
+ margin-top: 10px;
49
+ margin-bottom: 10px;
50
+ background: transparent;
51
+ cursor: pointer;
52
+ }
53
+ .PamPlayerAddressesWrapper .Section .SectionContent {
54
+ display: grid;
55
+ max-height: 0;
56
+ padding-bottom: 0;
57
+ margin-top: 0;
58
+ overflow: hidden;
59
+ transition: ease-in-out var(--emw--transition-medium, 250ms);
60
+ column-gap: 50px;
61
+ row-gap: 25px;
62
+ grid-template-rows: auto;
63
+ grid-template-columns: 1fr 1fr;
64
+ }
65
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field {
66
+ width: 100%;
67
+ display: flex;
68
+ flex-direction: column;
69
+ /* Chrome, Safari, Edge, Opera */
70
+ /* Firefox */
71
+ }
72
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field label {
73
+ font-size: var(--emw--size-small, 14px);
74
+ font-weight: var(--emw--font-weight-semibold, 500);
75
+ margin-bottom: 5px;
76
+ }
77
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field input {
78
+ font-size: var(--emw--size-small, 14px);
79
+ font-weight: var(--emw--font-weight-light, 300);
80
+ color: var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));
81
+ padding: 10px;
82
+ line-height: 16px;
83
+ background: var(--emw-color-white, #FFFFFF);
84
+ outline: none;
85
+ transition-duration: var(--emw--transition-medium, 250ms);
86
+ border: 1px solid var(--emw--color-gray-100, #353535);
87
+ border-radius: var(--emw--border-radius-medium, 10px);
88
+ width: 100%;
89
+ box-sizing: border-box;
90
+ }
91
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field input:focus, .PamPlayerAddressesWrapper .Section .SectionContent .Field input :focus-within, .PamPlayerAddressesWrapper .Section .SectionContent .Field input :focus-visible, .PamPlayerAddressesWrapper .Section .SectionContent .Field input :visited {
92
+ border: 1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
93
+ box-shadow: 0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
94
+ }
95
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field input::-webkit-outer-spin-button,
96
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field input::-webkit-inner-spin-button {
97
+ -webkit-appearance: none;
98
+ margin: 0;
99
+ }
100
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field input[type=number] {
101
+ -moz-appearance: textfield;
102
+ appearance: textfield;
103
+ }
104
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field.Invalid input {
105
+ border: 1px solid var(--emw-color-error, var(--emw-color-red, #FD2839));
106
+ background: var(--emw-color-pale, #FBECF4);
107
+ color: var(--emw-color-error, var(--emw-color-red, #FD2839));
108
+ }
109
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field .Error {
110
+ color: var(--emw-color-error, var(--emw-color-red, #FD2839));
111
+ font-size: var(--emw--font-size-x-small, 12px);
112
+ line-height: 10px;
113
+ }
114
+ .PamPlayerAddressesWrapper .Section .SectionContent .Field.Disabled input {
115
+ opacity: 0.5;
116
+ }
117
+ .PamPlayerAddressesWrapper .Section .SectionContent .CompoundField {
118
+ width: 100%;
119
+ display: flex;
120
+ gap: 10px;
121
+ flex-direction: row;
122
+ }
123
+ .PamPlayerAddressesWrapper .Section .SectionContent.Active {
124
+ max-height: 800px;
125
+ padding-bottom: 30px;
126
+ margin-top: 20px;
127
+ }
128
+ .PamPlayerAddressesWrapper .ButtonsArea {
129
+ grid-column-gap: 10px;
130
+ grid-template-rows: auto;
131
+ grid-template-columns: 1fr;
132
+ margin-top: 20px;
133
+ width: 50%;
134
+ }
135
+ .PamPlayerAddressesWrapper .ButtonsArea .SaveButton {
136
+ display: flex;
137
+ align-items: center;
138
+ justify-content: center;
139
+ box-sizing: border-box;
140
+ cursor: pointer;
141
+ background-image: linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));
142
+ border: 2px solid var(--emw--button-border-color, #0E5924);
143
+ color: var(--emw--button-text-color, #FFFFFF);
144
+ border-radius: var(--emw--button-border-radius, 10px);
145
+ font-size: var(--emw--size-standard, 16px);
146
+ text-transform: uppercase;
147
+ transition-duration: var(--emw--transition-medium, 250ms);
148
+ max-width: 400px;
149
+ min-width: 200px;
150
+ padding: 13px 0;
151
+ width: 100%;
152
+ }
153
+ .PamPlayerAddressesWrapper .ButtonsArea .SaveButton:active {
154
+ background: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
155
+ }
156
+ .PamPlayerAddressesWrapper .ButtonsArea .SaveButton.Disabled {
157
+ opacity: 0.3;
158
+ cursor: not-allowed;
159
+ }
160
+ .PamPlayerAddressesWrapper.skeleton .ReturnButton {
161
+ display: block;
162
+ width: 200px;
163
+ margin-top: 15px;
164
+ margin-bottom: 20px;
165
+ }
166
+ .PamPlayerAddressesWrapper.skeleton .Section .SectionTitle {
167
+ width: 200px;
168
+ margin-bottom: 30px;
169
+ }
170
+ .PamPlayerAddressesWrapper.skeleton .Section .SectionContent {
171
+ max-height: 100%;
172
+ grid-template-columns: 50% 50%;
173
+ overflow: hidden;
174
+ }
175
+ .PamPlayerAddressesWrapper.skeleton .Section .SectionContent .Field {
176
+ height: 60px;
177
+ overflow: hidden;
178
+ }
179
+ .PamPlayerAddressesWrapper.skeleton .ButtonsArea .SaveButton {
180
+ width: 500px;
181
+ border-radius: 30px;
182
+ overflow: hidden;
183
+ display: block;
184
+ background-image: none;
185
+ border: none;
186
+ }
187
+ @container (max-width: 425px) {
188
+ .PamPlayerAddressesWrapper {
189
+ padding: 20px 15px;
190
+ background: var(--emw-color-gray-50, #F9F8F8);
191
+ max-width: unset;
192
+ border-radius: var(--emw--border-radius-small, 5px);
193
+ }
194
+ .PamPlayerAddressesWrapper .HeaderText {
195
+ display: none;
196
+ }
197
+ .PamPlayerAddressesWrapper .ReturnButton {
198
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
199
+ display: inline-flex;
200
+ align-items: center;
201
+ column-gap: 10px;
202
+ margin-bottom: 10px;
203
+ }
204
+ .PamPlayerAddressesWrapper .ReturnButton svg {
205
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
206
+ }
207
+ .PamPlayerAddressesWrapper h2 {
208
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
209
+ font-size: var(--emw--font-size-large, 20px);
210
+ font-weight: var(--emw--font-weight-semibold, 500);
211
+ }
212
+ .PamPlayerAddressesWrapper .Section .SectionContent {
213
+ row-gap: 15px;
214
+ grid-template-columns: 1fr;
215
+ }
216
+ .PamPlayerAddressesWrapper .Section .SectionTitle {
217
+ margin-top: 5px;
218
+ margin-bottom: 5px;
219
+ font-size: var(--emw--font-size-medium, 16px);
220
+ }
221
+ .PamPlayerAddressesWrapper .Section .Field label {
222
+ color: var(--emw-color-gray-300, #58586B);
223
+ font-size: var(--emw--size-x-small, 12px);
224
+ font-weight: var(-emw--font-weight-normal, 400);
225
+ }
226
+ .PamPlayerAddressesWrapper .Section .Field input {
227
+ color: var(--emw-color-gray-300, #58586B);
228
+ font-size: var(--emw--size-x-small, 12px);
229
+ font-weight: var(--emw--font-weight-light, 300);
230
+ }
231
+ .PamPlayerAddressesWrapper .Section .CompoundField {
232
+ width: 100%;
233
+ display: flex;
234
+ gap: 10px;
235
+ flex-direction: row;
236
+ }
237
+ .PamPlayerAddressesWrapper .ButtonsArea {
238
+ grid-column-gap: 10px;
239
+ width: 100%;
240
+ grid-template-columns: 1fr 1fr;
241
+ }
242
+ .PamPlayerAddressesWrapper .ButtonsArea .SaveButton {
243
+ font-size: var(--emw--size-x-small, 12px);
244
+ height: 40px;
245
+ color: var(--emw-button-typography, var(--emw-color-white, #FFFFFF));
246
+ }
247
+ .PamPlayerAddressesWrapper .ButtonsArea .SaveButton.Disabled {
248
+ color: var(--emw-color-gray-300, #58586B);
249
+ }
250
+ .PamPlayerAddressesWrapper.skeleton .Section .SectionContent {
251
+ display: block;
252
+ }
253
+ .PamPlayerAddressesWrapper.skeleton .Section .SectionContent .Field {
254
+ margin-bottom: 15px;
255
+ }
256
+ .PamPlayerAddressesWrapper.skeleton .ButtonsArea .SaveButton {
257
+ width: 100%;
258
+ height: 100%;
259
+ border-radius: 20px;
260
+ }
261
+ }
262
+
263
+ @keyframes fadeIn {
264
+ 0% {
265
+ opacity: 0.01;
266
+ }
267
+ 1% {
268
+ opacity: 0;
269
+ }
270
+ 50% {
271
+ opacity: 0;
272
+ }
273
+ 100% {
274
+ opacity: 1;
275
+ }
276
+ }