@everymatrix/pam-player-contacts 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-ed59decb.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-contacts-4a593000.js +469 -0
  6. package/dist/cjs/pam-player-contacts.cjs.js +25 -0
  7. package/dist/cjs/pam-player-contacts_2.cjs.entry.js +203 -0
  8. package/dist/collection/collection-manifest.json +19 -0
  9. package/dist/collection/components/pam-player-contacts/index.js +1 -0
  10. package/dist/collection/components/pam-player-contacts/pam-player-contacts.css +318 -0
  11. package/dist/collection/components/pam-player-contacts/pam-player-contacts.js +492 -0
  12. package/dist/collection/index.js +1 -0
  13. package/dist/collection/utils/locale.utils.js +139 -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-f7c756b2.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-contacts-08c08e29.js +467 -0
  20. package/dist/esm/pam-player-contacts.js +20 -0
  21. package/dist/esm/pam-player-contacts_2.entry.js +198 -0
  22. package/dist/index.cjs.js +1 -0
  23. package/dist/index.js +1 -0
  24. package/dist/pam-player-contacts/app-globals-0f993ce5.js +1 -0
  25. package/dist/pam-player-contacts/index-f7c756b2.js +2 -0
  26. package/dist/pam-player-contacts/index.esm.js +1 -0
  27. package/dist/pam-player-contacts/pam-player-contacts-08c08e29.js +1 -0
  28. package/dist/pam-player-contacts/pam-player-contacts.esm.js +1 -0
  29. package/dist/pam-player-contacts/pam-player-contacts_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-contacts/.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-contacts/.stencil/packages/stencil/pam-player-contacts/stencil.config.d.ts +2 -0
  36. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/packages/stencil/pam-player-contacts/stencil.config.dev.d.ts +2 -0
  37. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/packages/stencil/pam-player-contacts/storybook/main.d.ts +3 -0
  38. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/packages/stencil/pam-player-contacts/storybook/preview.d.ts +70 -0
  39. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/tools/plugins/index.d.ts +3 -0
  40. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.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-contacts/.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-contacts/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
  43. package/dist/types/components/pam-player-contacts/index.d.ts +1 -0
  44. package/dist/types/components/pam-player-contacts/pam-player-contacts.d.ts +56 -0
  45. package/dist/types/components.d.ts +59 -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,203 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const pamPlayerContacts = require('./pam-player-contacts-4a593000.js');
6
+ const index = require('./index-ed59decb.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.stylingValue = {
15
+ width: this.handleStylingProps(this.width),
16
+ height: this.handleStylingProps(this.height),
17
+ borderRadius: this.handleStylingProps(this.borderRadius),
18
+ marginBottom: this.handleStylingProps(this.marginBottom),
19
+ marginTop: this.handleStylingProps(this.marginTop),
20
+ marginLeft: this.handleStylingProps(this.marginLeft),
21
+ marginRight: this.handleStylingProps(this.marginRight)
22
+ };
23
+ this.structure = undefined;
24
+ this.width = 'unset';
25
+ this.height = 'unset';
26
+ this.borderRadius = 'unset';
27
+ this.marginBottom = 'unset';
28
+ this.marginTop = 'unset';
29
+ this.marginLeft = 'unset';
30
+ this.marginRight = 'unset';
31
+ this.animation = true;
32
+ this.rows = 0;
33
+ this.size = '100%';
34
+ this.color = '#c2c2c2';
35
+ this.primaryColor = '#c2c2c2';
36
+ this.secondaryColor = '#ffffff';
37
+ }
38
+ handleStructureChange(newValue, oldValue) {
39
+ if (oldValue !== newValue) {
40
+ this.handleStructure(newValue);
41
+ }
42
+ }
43
+ handleStylingProps(value) {
44
+ switch (typeof value) {
45
+ case 'number':
46
+ return value === 0 ? 0 : `${value}px`;
47
+ case 'undefined':
48
+ return 'unset';
49
+ case 'string':
50
+ if (['auto', 'unset', 'none', 'inherit', 'initial'].includes(value) ||
51
+ value.endsWith('px') ||
52
+ value.endsWith('%')) {
53
+ return value;
54
+ }
55
+ else {
56
+ return 'unset';
57
+ }
58
+ default:
59
+ return 'unset';
60
+ }
61
+ }
62
+ handleStructure(structure) {
63
+ switch (structure) {
64
+ case 'logo':
65
+ return this.renderLogo();
66
+ case 'image':
67
+ return this.renderImage();
68
+ case 'title':
69
+ return this.renderTitle();
70
+ case 'text':
71
+ return this.renderText();
72
+ case 'rectangle':
73
+ return this.renderRectangle();
74
+ case 'circle':
75
+ return this.renderCircle();
76
+ default:
77
+ return null;
78
+ }
79
+ }
80
+ renderLogo() {
81
+ return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: 'Logo ' + (this.animation ? 'Skeleton' : '') })));
82
+ }
83
+ renderImage() {
84
+ return index.h("div", { class: 'Image ' + (this.animation ? 'Skeleton' : '') });
85
+ }
86
+ renderTitle() {
87
+ return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: 'Title ' + (this.animation ? 'Skeleton' : '') })));
88
+ }
89
+ renderText() {
90
+ 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' : '') })))));
91
+ }
92
+ renderRectangle() {
93
+ return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: 'Rectangle ' + (this.animation ? 'Skeleton' : '') })));
94
+ }
95
+ renderCircle() {
96
+ return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: 'Circle ' + (this.animation ? 'Skeleton' : '') })));
97
+ }
98
+ render() {
99
+ let styleBlock = '';
100
+ switch (this.structure) {
101
+ case 'logo':
102
+ styleBlock = `
103
+ :host {
104
+ --emw-skeleton-logo-width: ${this.stylingValue.width};
105
+ --emw-skeleton-logo-height: ${this.stylingValue.height};
106
+ --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
107
+ --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
108
+ --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
109
+ --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
110
+ --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
111
+ --emw-skeleton-logo-background: ${this.color};
112
+ --emw-skeleton-primary-color: ${this.primaryColor};
113
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
114
+ }
115
+ `;
116
+ break;
117
+ case 'image':
118
+ styleBlock = `
119
+ :host {
120
+ --emw-skeleton-image-width: ${this.stylingValue.width};
121
+ --emw-skeleton-image-height: ${this.stylingValue.height};
122
+ --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
123
+ --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
124
+ --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
125
+ --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
126
+ --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
127
+ --emw-skeleton-image-background: ${this.color};
128
+ --emw-skeleton-primary-color: ${this.primaryColor};
129
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
130
+ }
131
+ `;
132
+ break;
133
+ case 'title':
134
+ styleBlock = `
135
+ :host {
136
+ --emw-skeleton-title-width: ${this.stylingValue.width};
137
+ --emw-skeleton-title-height: ${this.stylingValue.height};
138
+ --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
139
+ --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
140
+ --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
141
+ --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
142
+ --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
143
+ --emw-skeleton-title-background: ${this.color};
144
+ --emw-skeleton-primary-color: ${this.primaryColor};
145
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
146
+ }
147
+ `;
148
+ break;
149
+ case 'text':
150
+ styleBlock = `
151
+ :host {
152
+ --emw-skeleton-text-width: ${this.stylingValue.width};
153
+ --emw-skeleton-text-height: ${this.stylingValue.height};
154
+ --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
155
+ --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
156
+ --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
157
+ --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
158
+ --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
159
+ --emw-skeleton-text-background: ${this.color};
160
+ --emw-skeleton-primary-color: ${this.primaryColor};
161
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
162
+ }
163
+ `;
164
+ break;
165
+ case 'rectangle':
166
+ styleBlock = `
167
+ :host {
168
+ --emw-skeleton-rectangle-width: ${this.stylingValue.width};
169
+ --emw-skeleton-rectangle-height: ${this.stylingValue.height};
170
+ --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
171
+ --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
172
+ --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
173
+ --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
174
+ --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
175
+ --emw-skeleton-rectangle-background: ${this.color};
176
+ --emw-skeleton-primary-color: ${this.primaryColor};
177
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
178
+ }
179
+ `;
180
+ break;
181
+ case 'circle':
182
+ styleBlock = `
183
+ :host {
184
+ --emw-skeleton-circle-size: ${this.size};
185
+ --emw-skeleton-circle-background: ${this.color};
186
+ --emw-skeleton-primary-color: ${this.primaryColor};
187
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
188
+ }
189
+ `;
190
+ break;
191
+ default:
192
+ styleBlock = '';
193
+ }
194
+ return (index.h(index.Host, { key: '5c185b76c438d20d4ad88bc48d94ff5628410bb7' }, index.h("style", { key: 'de95e60a5955d5b2af83710423fe40329c187f7e' }, styleBlock), this.handleStructure(this.structure)));
195
+ }
196
+ static get watchers() { return {
197
+ "structure": ["handleStructureChange"]
198
+ }; }
199
+ };
200
+ UiSkeleton.style = UiSkeletonStyle0;
201
+
202
+ exports.pam_player_contacts = pamPlayerContacts.PamPlayerContacts;
203
+ exports.ui_skeleton = UiSkeleton;
@@ -0,0 +1,19 @@
1
+ {
2
+ "entries": [
3
+ "components/pam-player-contacts/pam-player-contacts.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 { PamPlayerContacts } from './pam-player-contacts';
@@ -0,0 +1,318 @@
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
+ .errorContainer {
14
+ font-family: "Roboto";
15
+ font-style: normal;
16
+ font-family: sans-serif;
17
+ display: flex;
18
+ flex-direction: column;
19
+ gap: 24px;
20
+ width: 100%;
21
+ height: 100%;
22
+ }
23
+ .errorContainer .errorMessage {
24
+ color: var(--emw--color-error, var(--emw--color-red, #ed0909));
25
+ font-size: var(--emw-font-size-small, 13px);
26
+ display: block;
27
+ justify-content: center;
28
+ text-align: center;
29
+ }
30
+
31
+ .PlayerContactsWrapper {
32
+ color: var(--emw--pam-typography, var(--emw-color-contrast, #07072A));
33
+ background: var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));
34
+ padding: 50px;
35
+ height: 100%;
36
+ border-radius: var(--emw--border-radius-large, 10px);
37
+ container-type: inline-size;
38
+ opacity: 1;
39
+ animation-name: fadeIn;
40
+ animation-iteration-count: 1;
41
+ animation-timing-function: ease-in;
42
+ animation-duration: 0.3s;
43
+ }
44
+ .PlayerContactsWrapper .ReturnButton {
45
+ display: none;
46
+ }
47
+ .PlayerContactsWrapper .HeaderText {
48
+ font-size: var(--emw--font-size-x-large, 24px);
49
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
50
+ text-transform: capitalize;
51
+ font-weight: var(--emw--font-weight-semibold, 500);
52
+ }
53
+ .PlayerContactsWrapper .Section {
54
+ background: var(--emw-color-pale, var(--emw--color-gray-100, #E6E6E6));
55
+ border-radius: var(--emw--border-radius-large, 10px);
56
+ padding: 10px;
57
+ margin-bottom: 10px;
58
+ }
59
+ .PlayerContactsWrapper .Section .SectionTitle {
60
+ font-size: var(--emw--font-size-large, 20px);
61
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
62
+ text-transform: capitalize;
63
+ font-weight: var(--emw--font-weight-semibold, 500);
64
+ padding: 0;
65
+ border: 0;
66
+ margin-top: 10px;
67
+ margin-bottom: 10px;
68
+ background: transparent;
69
+ cursor: pointer;
70
+ }
71
+ .PlayerContactsWrapper .Section .SectionContent {
72
+ display: grid;
73
+ column-gap: 50px;
74
+ row-gap: 25px;
75
+ grid-template-rows: auto;
76
+ grid-template-columns: 1fr 1fr;
77
+ padding-bottom: 30px;
78
+ margin-top: 10px;
79
+ }
80
+ .PlayerContactsWrapper .Section .SectionContent .Field {
81
+ width: 100%;
82
+ display: flex;
83
+ flex-direction: column;
84
+ /* Chrome, Safari, Edge, Opera */
85
+ /* Firefox */
86
+ }
87
+ .PlayerContactsWrapper .Section .SectionContent .Field label {
88
+ font-size: var(--emw--size-small, 14px);
89
+ font-weight: var(--emw--font-weight-semibold, 500);
90
+ margin-bottom: 5px;
91
+ }
92
+ .PlayerContactsWrapper .Section .SectionContent .Field input {
93
+ font-size: var(--emw--size-small, 14px);
94
+ font-weight: var(--emw--font-weight-light, 300);
95
+ color: var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));
96
+ padding: 10px;
97
+ line-height: 16px;
98
+ background: var(--emw-color-white, #FFFFFF);
99
+ outline: none;
100
+ transition-duration: var(--emw--transition-medium, 250ms);
101
+ border: 1px solid var(--emw--color-gray-100, #353535);
102
+ border-radius: var(--emw--border-radius-medium, 10px);
103
+ width: 100%;
104
+ box-sizing: border-box;
105
+ }
106
+ .PlayerContactsWrapper .Section .SectionContent .Field input:focus, .PlayerContactsWrapper .Section .SectionContent .Field input :focus-within, .PlayerContactsWrapper .Section .SectionContent .Field input :focus-visible, .PlayerContactsWrapper .Section .SectionContent .Field input :visited {
107
+ border: 1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
108
+ box-shadow: 0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
109
+ }
110
+ .PlayerContactsWrapper .Section .SectionContent .Field input::-webkit-outer-spin-button,
111
+ .PlayerContactsWrapper .Section .SectionContent .Field input::-webkit-inner-spin-button {
112
+ -webkit-appearance: none;
113
+ margin: 0;
114
+ }
115
+ .PlayerContactsWrapper .Section .SectionContent .Field input[type=number] {
116
+ -moz-appearance: textfield;
117
+ appearance: textfield;
118
+ }
119
+ .PlayerContactsWrapper .Section .SectionContent .Field div {
120
+ display: flex;
121
+ flex-direction: row;
122
+ align-items: center;
123
+ gap: 16px;
124
+ }
125
+ .PlayerContactsWrapper .Section .SectionContent .Field div input {
126
+ min-width: fit-content;
127
+ width: 100%;
128
+ }
129
+ .PlayerContactsWrapper .Section .SectionContent .Field div button {
130
+ display: flex;
131
+ align-items: center;
132
+ justify-content: center;
133
+ box-sizing: border-box;
134
+ cursor: pointer;
135
+ 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%));
136
+ border: 2px solid var(--emw--button-border-color, #0E5924);
137
+ color: var(--emw--button-text-color, #FFFFFF);
138
+ border-radius: var(--emw--button-border-radius, 10px);
139
+ font-size: var(--emw--font-size-x-small, 12px);
140
+ font-weight: var(--emw--font-weight-semibold, 500);
141
+ text-transform: uppercase;
142
+ transition-duration: var(--emw--transition-medium, 250ms);
143
+ max-width: 100px;
144
+ min-width: 30px;
145
+ width: 100%;
146
+ height: 100%;
147
+ }
148
+ .PlayerContactsWrapper .Section .SectionContent .Field div button:active {
149
+ background: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
150
+ }
151
+ .PlayerContactsWrapper .Section .SectionContent .Field.Invalid input {
152
+ border: 1px solid var(--emw-color-error, var(--emw-color-red, #FD2839));
153
+ background: var(--emw-color-pale, #FBECF4);
154
+ color: var(--emw-color-error, var(--emw-color-red, #FD2839));
155
+ }
156
+ .PlayerContactsWrapper .Section .SectionContent .Field .Error {
157
+ color: var(--emw-color-error, var(--emw-color-red, #FD2839));
158
+ font-size: var(--emw--font-size-x-small, 12px);
159
+ line-height: 10px;
160
+ }
161
+ .PlayerContactsWrapper .Section .SectionContent .Field.Disabled input {
162
+ opacity: 0.5;
163
+ }
164
+ .PlayerContactsWrapper .Section .SectionContent .CompoundField {
165
+ width: 100%;
166
+ display: flex;
167
+ gap: 10px;
168
+ flex-direction: row;
169
+ }
170
+ .PlayerContactsWrapper .Section .VerifiedCheckmark {
171
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
172
+ stroke: #27a305;
173
+ stroke-width: 5;
174
+ }
175
+ .PlayerContactsWrapper .ButtonsArea {
176
+ grid-column-gap: 10px;
177
+ grid-template-rows: auto;
178
+ grid-template-columns: 1fr;
179
+ margin-top: 20px;
180
+ width: 50%;
181
+ }
182
+ .PlayerContactsWrapper .ButtonsArea .SaveButton {
183
+ display: flex;
184
+ align-items: center;
185
+ justify-content: center;
186
+ box-sizing: border-box;
187
+ cursor: pointer;
188
+ 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%));
189
+ border: 2px solid var(--emw--button-border-color, #0E5924);
190
+ color: var(--emw--button-text-color, #FFFFFF);
191
+ border-radius: var(--emw--button-border-radius, 10px);
192
+ font-size: var(--emw--size-standard, 16px);
193
+ text-transform: uppercase;
194
+ transition-duration: var(--emw--transition-medium, 250ms);
195
+ max-width: 400px;
196
+ min-width: 200px;
197
+ padding: 13px 0;
198
+ width: 100%;
199
+ }
200
+ .PlayerContactsWrapper .ButtonsArea .SaveButton:active {
201
+ background: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
202
+ }
203
+ .PlayerContactsWrapper .ButtonsArea .SaveButton.Disabled {
204
+ opacity: 0.3;
205
+ cursor: not-allowed;
206
+ }
207
+ .PlayerContactsWrapper.skeleton .ReturnButton {
208
+ display: block;
209
+ width: 200px;
210
+ margin-top: 15px;
211
+ margin-bottom: 20px;
212
+ }
213
+ .PlayerContactsWrapper.skeleton .Section .SectionContent {
214
+ max-height: 100%;
215
+ overflow: hidden;
216
+ }
217
+ .PlayerContactsWrapper.skeleton .Section .SectionContent .Field {
218
+ height: 60px;
219
+ overflow: hidden;
220
+ }
221
+ .PlayerContactsWrapper.skeleton .ButtonsArea .SaveButton {
222
+ width: 500px;
223
+ border-radius: 30px;
224
+ overflow: hidden;
225
+ display: block;
226
+ background-image: none;
227
+ border: none;
228
+ }
229
+ @container (max-width: 425px) {
230
+ .PlayerContactsWrapper {
231
+ padding: 20px 15px;
232
+ background: var(--emw-color-gray-50, #F9F8F8);
233
+ max-width: unset;
234
+ border-radius: var(--emw--border-radius-small, 5px);
235
+ }
236
+ .PlayerContactsWrapper .ReturnButton {
237
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
238
+ display: inline-flex;
239
+ align-items: center;
240
+ column-gap: 10px;
241
+ margin-bottom: 10px;
242
+ }
243
+ .PlayerContactsWrapper .ReturnButton svg {
244
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
245
+ }
246
+ .PlayerContactsWrapper .HeaderText {
247
+ display: none;
248
+ }
249
+ .PlayerContactsWrapper h2 {
250
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
251
+ font-size: var(--emw--font-size-large, 20px);
252
+ font-weight: var(--emw--font-weight-semibold, 500);
253
+ }
254
+ .PlayerContactsWrapper .Section .SectionContent {
255
+ row-gap: 15px;
256
+ grid-template-columns: 1fr;
257
+ }
258
+ .PlayerContactsWrapper .Section .SectionTitle {
259
+ margin-top: 5px;
260
+ margin-bottom: 5px;
261
+ font-size: var(--emw--font-size-medium, 16px);
262
+ }
263
+ .PlayerContactsWrapper .Section .Field label {
264
+ color: var(--emw-color-gray-300, #58586B);
265
+ font-size: var(--emw--size-x-small, 12px);
266
+ font-weight: var(-emw--font-weight-normal, 400);
267
+ }
268
+ .PlayerContactsWrapper .Section .Field input {
269
+ color: var(--emw-color-gray-300, #58586B);
270
+ font-size: var(--emw--size-x-small, 12px);
271
+ font-weight: var(--emw--font-weight-light, 300);
272
+ }
273
+ .PlayerContactsWrapper .Section .CompoundField {
274
+ width: 100%;
275
+ display: flex;
276
+ gap: 10px;
277
+ flex-direction: row;
278
+ }
279
+ .PlayerContactsWrapper .ButtonsArea {
280
+ grid-column-gap: 10px;
281
+ width: 100%;
282
+ grid-template-columns: 1fr 1fr;
283
+ }
284
+ .PlayerContactsWrapper .ButtonsArea .SaveButton {
285
+ font-size: var(--emw--size-x-small, 12px);
286
+ height: 40px;
287
+ color: var(--emw-button-typography, var(--emw-color-white, #FFFFFF));
288
+ }
289
+ .PlayerContactsWrapper .ButtonsArea .SaveButton.Disabled {
290
+ color: var(--emw-color-gray-300, #58586B);
291
+ }
292
+ .PlayerContactsWrapper.skeleton .Section .SectionContent {
293
+ display: block;
294
+ }
295
+ .PlayerContactsWrapper.skeleton .Section .SectionContent .Field {
296
+ margin-bottom: 15px;
297
+ }
298
+ .PlayerContactsWrapper.skeleton .ButtonsArea .SaveButton {
299
+ width: 100%;
300
+ height: 100%;
301
+ border-radius: 20px;
302
+ }
303
+ }
304
+
305
+ @keyframes fadeIn {
306
+ 0% {
307
+ opacity: 0.01;
308
+ }
309
+ 1% {
310
+ opacity: 0;
311
+ }
312
+ 50% {
313
+ opacity: 0;
314
+ }
315
+ 100% {
316
+ opacity: 1;
317
+ }
318
+ }