@everymatrix/pam-player-profile 0.8.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.
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-4130c9d2.js +1227 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/pam-player-profile-dc13914a.js +509 -0
- package/dist/cjs/pam-player-profile.cjs.js +25 -0
- package/dist/cjs/pam-player-profile_2.cjs.entry.js +175 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/pam-player-profile/index.js +1 -0
- package/dist/collection/components/pam-player-profile/pam-player-profile.css +263 -0
- package/dist/collection/components/pam-player-profile/pam-player-profile.js +432 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +209 -0
- package/dist/collection/utils/utils.js +12 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-d953d051.js +1200 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/pam-player-profile-e280c440.js +507 -0
- package/dist/esm/pam-player-profile.js +20 -0
- package/dist/esm/pam-player-profile_2.entry.js +170 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/pam-player-profile/index.esm.js +1 -0
- package/dist/pam-player-profile/p-047a7a7b.js +2 -0
- package/dist/pam-player-profile/p-41838095.js +1 -0
- package/dist/pam-player-profile/p-b2438d4d.entry.js +1 -0
- package/dist/pam-player-profile/p-e1255160.js +1 -0
- package/dist/pam-player-profile/pam-player-profile.esm.js +1 -0
- package/dist/stencil.config.dev.js +16 -0
- package/dist/stencil.config.js +18 -0
- package/dist/storybook/main.js +47 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile/.stencil/packages/stencil/pam-player-profile/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile/.stencil/packages/stencil/pam-player-profile/stencil.config.dev.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile/.stencil/packages/stencil/pam-player-profile/storybook/main.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile/.stencil/packages/stencil/pam-player-profile/storybook/preview.d.ts +70 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile/.stencil/tools/plugins/index.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/pam-player-profile/index.d.ts +1 -0
- package/dist/types/components/pam-player-profile/pam-player-profile.d.ts +45 -0
- package/dist/types/components.d.ts +57 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +23 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +26 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const pamPlayerProfile = require('./pam-player-profile-dc13914a.js');
|
|
6
|
+
const index = require('./index-4130c9d2.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_profile = pamPlayerProfile.PamPlayerProfile;
|
|
175
|
+
exports.ui_skeleton = UiSkeleton;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"components/pam-player-profile/pam-player-profile.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 { PamPlayerProfile } from './pam-player-profile';
|
|
@@ -0,0 +1,263 @@
|
|
|
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
|
+
.PamPlayerProfileWrapper {
|
|
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
|
+
.PamPlayerProfileWrapper .ReturnButton {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
.PamPlayerProfileWrapper .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
|
+
.PamPlayerProfileWrapper .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
|
+
.PamPlayerProfileWrapper .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
|
+
.PamPlayerProfileWrapper .Section .SectionContent {
|
|
54
|
+
display: grid;
|
|
55
|
+
column-gap: 50px;
|
|
56
|
+
row-gap: 25px;
|
|
57
|
+
grid-template-rows: auto;
|
|
58
|
+
grid-template-columns: 1fr 1fr;
|
|
59
|
+
padding-bottom: 30px;
|
|
60
|
+
margin-top: 10px;
|
|
61
|
+
}
|
|
62
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field {
|
|
63
|
+
width: 100%;
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
/* Chrome, Safari, Edge, Opera */
|
|
67
|
+
/* Firefox */
|
|
68
|
+
}
|
|
69
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field label {
|
|
70
|
+
font-size: var(--emw--size-small, 14px);
|
|
71
|
+
font-weight: var(--emw--font-weight-semibold, 500);
|
|
72
|
+
margin-bottom: 5px;
|
|
73
|
+
}
|
|
74
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field input {
|
|
75
|
+
font-size: var(--emw--size-small, 14px);
|
|
76
|
+
font-weight: var(--emw--font-weight-light, 300);
|
|
77
|
+
color: var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));
|
|
78
|
+
padding: 10px;
|
|
79
|
+
line-height: 16px;
|
|
80
|
+
background: var(--emw-color-white, #FFFFFF);
|
|
81
|
+
outline: none;
|
|
82
|
+
transition-duration: var(--emw--transition-medium, 250ms);
|
|
83
|
+
border: 1px solid var(--emw--color-gray-100, #353535);
|
|
84
|
+
border-radius: var(--emw--border-radius-medium, 10px);
|
|
85
|
+
width: 100%;
|
|
86
|
+
box-sizing: border-box;
|
|
87
|
+
}
|
|
88
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field input:focus, .PamPlayerProfileWrapper .Section .SectionContent .Field input :focus-within, .PamPlayerProfileWrapper .Section .SectionContent .Field input :focus-visible, .PamPlayerProfileWrapper .Section .SectionContent .Field input :visited {
|
|
89
|
+
border: 1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
90
|
+
box-shadow: 0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
91
|
+
}
|
|
92
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field input::-webkit-outer-spin-button,
|
|
93
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field input::-webkit-inner-spin-button {
|
|
94
|
+
-webkit-appearance: none;
|
|
95
|
+
margin: 0;
|
|
96
|
+
}
|
|
97
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field input[type=number] {
|
|
98
|
+
-moz-appearance: textfield;
|
|
99
|
+
appearance: textfield;
|
|
100
|
+
}
|
|
101
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field.Invalid input {
|
|
102
|
+
border: 1px solid var(--emw-color-error, var(--emw-color-red, #FD2839));
|
|
103
|
+
background: var(--emw-color-pale, #FBECF4);
|
|
104
|
+
color: var(--emw-color-error, var(--emw-color-red, #FD2839));
|
|
105
|
+
}
|
|
106
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field .Error {
|
|
107
|
+
color: var(--emw-color-error, var(--emw-color-red, #FD2839));
|
|
108
|
+
font-size: var(--emw--font-size-x-small, 12px);
|
|
109
|
+
line-height: 10px;
|
|
110
|
+
}
|
|
111
|
+
.PamPlayerProfileWrapper .Section .SectionContent .Field.Disabled input {
|
|
112
|
+
opacity: 0.5;
|
|
113
|
+
}
|
|
114
|
+
.PamPlayerProfileWrapper .Section .SectionContent .CompoundField {
|
|
115
|
+
width: 100%;
|
|
116
|
+
display: flex;
|
|
117
|
+
gap: 10px;
|
|
118
|
+
flex-direction: row;
|
|
119
|
+
}
|
|
120
|
+
.PamPlayerProfileWrapper .ButtonsArea {
|
|
121
|
+
grid-column-gap: 10px;
|
|
122
|
+
grid-template-rows: auto;
|
|
123
|
+
grid-template-columns: 1fr;
|
|
124
|
+
margin-top: 20px;
|
|
125
|
+
width: 50%;
|
|
126
|
+
}
|
|
127
|
+
.PamPlayerProfileWrapper .ButtonsArea .SaveButton {
|
|
128
|
+
display: flex;
|
|
129
|
+
align-items: center;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
box-sizing: border-box;
|
|
132
|
+
cursor: pointer;
|
|
133
|
+
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%));
|
|
134
|
+
border: 2px solid var(--emw--button-border-color, #0E5924);
|
|
135
|
+
color: var(--emw--button-text-color, #FFFFFF);
|
|
136
|
+
border-radius: var(--emw--button-border-radius, 10px);
|
|
137
|
+
font-size: var(--emw--size-standard, 16px);
|
|
138
|
+
text-transform: uppercase;
|
|
139
|
+
transition-duration: var(--emw--transition-medium, 250ms);
|
|
140
|
+
max-width: 400px;
|
|
141
|
+
min-width: 200px;
|
|
142
|
+
padding: 13px 0;
|
|
143
|
+
width: 100%;
|
|
144
|
+
}
|
|
145
|
+
.PamPlayerProfileWrapper .ButtonsArea .SaveButton:active {
|
|
146
|
+
background: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
147
|
+
}
|
|
148
|
+
.PamPlayerProfileWrapper .ButtonsArea .SaveButton.Disabled {
|
|
149
|
+
opacity: 0.3;
|
|
150
|
+
cursor: not-allowed;
|
|
151
|
+
}
|
|
152
|
+
.PamPlayerProfileWrapper.skeleton .ReturnButton {
|
|
153
|
+
display: block;
|
|
154
|
+
width: 200px;
|
|
155
|
+
margin-top: 15px;
|
|
156
|
+
margin-bottom: 20px;
|
|
157
|
+
}
|
|
158
|
+
.PamPlayerProfileWrapper.skeleton .Section .SectionContent {
|
|
159
|
+
grid-template-columns: 50% 50%;
|
|
160
|
+
overflow: hidden;
|
|
161
|
+
}
|
|
162
|
+
.PamPlayerProfileWrapper.skeleton .Section .SectionContent .Field {
|
|
163
|
+
height: 55px;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
}
|
|
166
|
+
.PamPlayerProfileWrapper.skeleton .ButtonsArea .SaveButton {
|
|
167
|
+
width: 500px;
|
|
168
|
+
border-radius: 30px;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
display: block;
|
|
171
|
+
background-image: none;
|
|
172
|
+
border: none;
|
|
173
|
+
}
|
|
174
|
+
@container (max-width: 425px) {
|
|
175
|
+
.PamPlayerProfileWrapper {
|
|
176
|
+
padding: 20px 15px;
|
|
177
|
+
background: var(--emw-color-gray-50, #F9F8F8);
|
|
178
|
+
max-width: unset;
|
|
179
|
+
border-radius: var(--emw--border-radius-small, 5px);
|
|
180
|
+
}
|
|
181
|
+
.PamPlayerProfileWrapper .HeaderText {
|
|
182
|
+
display: none;
|
|
183
|
+
}
|
|
184
|
+
.PamPlayerProfileWrapper .ReturnButton {
|
|
185
|
+
color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
186
|
+
display: inline-flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
column-gap: 10px;
|
|
189
|
+
margin-bottom: 10px;
|
|
190
|
+
}
|
|
191
|
+
.PamPlayerProfileWrapper .ReturnButton svg {
|
|
192
|
+
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
193
|
+
}
|
|
194
|
+
.PamPlayerProfileWrapper h2 {
|
|
195
|
+
color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
196
|
+
font-size: var(--emw--font-size-large, 20px);
|
|
197
|
+
font-weight: var(--emw--font-weight-semibold, 500);
|
|
198
|
+
}
|
|
199
|
+
.PamPlayerProfileWrapper .Section .SectionContent {
|
|
200
|
+
row-gap: 15px;
|
|
201
|
+
grid-template-columns: 1fr;
|
|
202
|
+
}
|
|
203
|
+
.PamPlayerProfileWrapper .Section .SectionTitle {
|
|
204
|
+
margin-top: 5px;
|
|
205
|
+
margin-bottom: 5px;
|
|
206
|
+
font-size: var(--emw--font-size-medium, 16px);
|
|
207
|
+
}
|
|
208
|
+
.PamPlayerProfileWrapper .Section .Field label {
|
|
209
|
+
color: var(--emw-color-gray-300, #58586B);
|
|
210
|
+
font-size: var(--emw--size-x-small, 12px);
|
|
211
|
+
font-weight: var(-emw--font-weight-normal, 400);
|
|
212
|
+
}
|
|
213
|
+
.PamPlayerProfileWrapper .Section .Field input {
|
|
214
|
+
color: var(--emw-color-gray-300, #58586B);
|
|
215
|
+
font-size: var(--emw--size-x-small, 12px);
|
|
216
|
+
font-weight: var(--emw--font-weight-light, 300);
|
|
217
|
+
}
|
|
218
|
+
.PamPlayerProfileWrapper .Section .CompoundField {
|
|
219
|
+
width: 100%;
|
|
220
|
+
display: flex;
|
|
221
|
+
gap: 10px;
|
|
222
|
+
flex-direction: row;
|
|
223
|
+
}
|
|
224
|
+
.PamPlayerProfileWrapper .ButtonsArea {
|
|
225
|
+
grid-column-gap: 10px;
|
|
226
|
+
width: 100%;
|
|
227
|
+
grid-template-columns: 1fr 1fr;
|
|
228
|
+
}
|
|
229
|
+
.PamPlayerProfileWrapper .ButtonsArea .SaveButton {
|
|
230
|
+
font-size: var(--emw--size-x-small, 12px);
|
|
231
|
+
height: 40px;
|
|
232
|
+
color: var(--emw-button-typography, var(--emw-color-white, #FFFFFF));
|
|
233
|
+
}
|
|
234
|
+
.PamPlayerProfileWrapper .ButtonsArea .SaveButton.Disabled {
|
|
235
|
+
color: var(--emw-color-gray-300, #58586B);
|
|
236
|
+
}
|
|
237
|
+
.PamPlayerProfileWrapper.skeleton .Section .SectionContent {
|
|
238
|
+
display: block;
|
|
239
|
+
}
|
|
240
|
+
.PamPlayerProfileWrapper.skeleton .Section .SectionContent .Field {
|
|
241
|
+
margin-bottom: 15px;
|
|
242
|
+
}
|
|
243
|
+
.PamPlayerProfileWrapper.skeleton .ButtonsArea .SaveButton {
|
|
244
|
+
width: 100%;
|
|
245
|
+
height: 100%;
|
|
246
|
+
border-radius: 20px;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@keyframes fadeIn {
|
|
251
|
+
0% {
|
|
252
|
+
opacity: 0.01;
|
|
253
|
+
}
|
|
254
|
+
1% {
|
|
255
|
+
opacity: 0;
|
|
256
|
+
}
|
|
257
|
+
50% {
|
|
258
|
+
opacity: 0;
|
|
259
|
+
}
|
|
260
|
+
100% {
|
|
261
|
+
opacity: 1;
|
|
262
|
+
}
|
|
263
|
+
}
|