@everymatrix/pam-player-documents 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-84b76e65.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-documents-bc881ad5.js +416 -0
  6. package/dist/cjs/pam-player-documents.cjs.js +25 -0
  7. package/dist/cjs/pam-player-documents_2.cjs.entry.js +203 -0
  8. package/dist/collection/collection-manifest.json +19 -0
  9. package/dist/collection/components/pam-player-documents/index.js +1 -0
  10. package/dist/collection/components/pam-player-documents/pam-player-documents.css +249 -0
  11. package/dist/collection/components/pam-player-documents/pam-player-documents.js +428 -0
  12. package/dist/collection/index.js +1 -0
  13. package/dist/collection/utils/locale.utils.js +129 -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-3f96eae4.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-documents-7540c613.js +414 -0
  20. package/dist/esm/pam-player-documents.js +20 -0
  21. package/dist/esm/pam-player-documents_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-documents/app-globals-0f993ce5.js +1 -0
  25. package/dist/pam-player-documents/index-3f96eae4.js +2 -0
  26. package/dist/pam-player-documents/index.esm.js +1 -0
  27. package/dist/pam-player-documents/pam-player-documents-7540c613.js +1 -0
  28. package/dist/pam-player-documents/pam-player-documents.esm.js +1 -0
  29. package/dist/pam-player-documents/pam-player-documents_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-documents/.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-documents/.stencil/packages/stencil/pam-player-documents/stencil.config.d.ts +2 -0
  36. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-documents/.stencil/packages/stencil/pam-player-documents/stencil.config.dev.d.ts +2 -0
  37. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-documents/.stencil/packages/stencil/pam-player-documents/storybook/main.d.ts +3 -0
  38. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-documents/.stencil/packages/stencil/pam-player-documents/storybook/preview.d.ts +70 -0
  39. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-documents/.stencil/tools/plugins/index.d.ts +3 -0
  40. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-documents/.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-documents/.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-documents/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
  43. package/dist/types/components/pam-player-documents/index.d.ts +1 -0
  44. package/dist/types/components/pam-player-documents/pam-player-documents.d.ts +46 -0
  45. package/dist/types/components.d.ts +57 -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 pamPlayerDocuments = require('./pam-player-documents-bc881ad5.js');
6
+ const index = require('./index-84b76e65.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_documents = pamPlayerDocuments.PamPlayerDocuments;
203
+ exports.ui_skeleton = UiSkeleton;
@@ -0,0 +1,19 @@
1
+ {
2
+ "entries": [
3
+ "components/pam-player-documents/pam-player-documents.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 { PamPlayerDocuments } from './pam-player-documents';
@@ -0,0 +1,249 @@
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
+ .PlayerDocumentsWrapper {
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
+ .PlayerDocumentsWrapper .ReturnButton {
27
+ display: none;
28
+ }
29
+ .PlayerDocumentsWrapper h2 {
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
+ .PlayerDocumentsWrapper .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
+ .PlayerDocumentsWrapper .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
+ .PlayerDocumentsWrapper .Section .SectionContent {
54
+ display: grid;
55
+ column-gap: 50px;
56
+ row-gap: 25px;
57
+ grid-template-rows: auto;
58
+ grid-template-columns: 1fr;
59
+ padding-bottom: 30px;
60
+ margin-top: 10px;
61
+ }
62
+ .PlayerDocumentsWrapper .Section .SectionContent .Field {
63
+ width: 100%;
64
+ display: flex;
65
+ flex-direction: column;
66
+ /* Chrome, Safari, Edge, Opera */
67
+ /* Firefox */
68
+ }
69
+ .PlayerDocumentsWrapper .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
+ .PlayerDocumentsWrapper .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
+ .PlayerDocumentsWrapper .Section .SectionContent .Field input:focus, .PlayerDocumentsWrapper .Section .SectionContent .Field input :focus-within, .PlayerDocumentsWrapper .Section .SectionContent .Field input :focus-visible, .PlayerDocumentsWrapper .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
+ .PlayerDocumentsWrapper .Section .SectionContent .Field input::-webkit-outer-spin-button,
93
+ .PlayerDocumentsWrapper .Section .SectionContent .Field input::-webkit-inner-spin-button {
94
+ -webkit-appearance: none;
95
+ margin: 0;
96
+ }
97
+ .PlayerDocumentsWrapper .Section .SectionContent .Field input[type=number] {
98
+ -moz-appearance: textfield;
99
+ appearance: textfield;
100
+ }
101
+ .PlayerDocumentsWrapper .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
+ .PlayerDocumentsWrapper .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
+ .PlayerDocumentsWrapper .Section .SectionContent .Field.Disabled input {
112
+ opacity: 0.5;
113
+ }
114
+ .PlayerDocumentsWrapper .Section .SectionContent .CompoundField {
115
+ width: 100%;
116
+ display: flex;
117
+ gap: 10px;
118
+ flex-direction: row;
119
+ }
120
+ .PlayerDocumentsWrapper .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
+ .PlayerDocumentsWrapper .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
+ .PlayerDocumentsWrapper .ButtonsArea .SaveButton:active {
146
+ background: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
147
+ }
148
+ .PlayerDocumentsWrapper .ButtonsArea .SaveButton.Disabled {
149
+ opacity: 0.3;
150
+ cursor: not-allowed;
151
+ }
152
+ .PlayerDocumentsWrapper.skeleton .ReturnButton {
153
+ display: block;
154
+ width: 200px;
155
+ margin-top: 15px;
156
+ margin-bottom: 20px;
157
+ }
158
+ .PlayerDocumentsWrapper.skeleton .Section .SectionContent {
159
+ grid-template-columns: 1fr 1fr;
160
+ max-height: 100%;
161
+ overflow: hidden;
162
+ }
163
+ .PlayerDocumentsWrapper.skeleton .Section .SectionContent .Field {
164
+ height: 60px;
165
+ overflow: hidden;
166
+ }
167
+ .PlayerDocumentsWrapper.skeleton .ButtonsArea .SaveButton {
168
+ width: 500px;
169
+ border-radius: 30px;
170
+ overflow: hidden;
171
+ display: block;
172
+ background-image: none;
173
+ border: none;
174
+ }
175
+ @container (max-width: 425px) {
176
+ .PlayerDocumentsWrapper {
177
+ padding: 20px 15px;
178
+ background: var(--emw-color-gray-50, #F9F8F8);
179
+ max-width: unset;
180
+ border-radius: var(--emw--border-radius-small, 5px);
181
+ }
182
+ .PlayerDocumentsWrapper .ReturnButton {
183
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
184
+ display: inline-flex;
185
+ align-items: center;
186
+ column-gap: 10px;
187
+ margin-bottom: 10px;
188
+ }
189
+ .PlayerDocumentsWrapper .ReturnButton svg {
190
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
191
+ }
192
+ .PlayerDocumentsWrapper .HeaderText {
193
+ display: none;
194
+ }
195
+ .PlayerDocumentsWrapper h2 {
196
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
197
+ font-size: var(--emw--font-size-large, 20px);
198
+ font-weight: var(--emw--font-weight-semibold, 500);
199
+ }
200
+ .PlayerDocumentsWrapper .Section .SectionContent {
201
+ row-gap: 15px;
202
+ grid-template-columns: 1fr;
203
+ }
204
+ .PlayerDocumentsWrapper .Section .SectionContent .CompoundField {
205
+ width: 100%;
206
+ display: flex;
207
+ gap: 10px;
208
+ flex-direction: column;
209
+ }
210
+ .PlayerDocumentsWrapper .Section .SectionTitle {
211
+ margin-top: 5px;
212
+ margin-bottom: 5px;
213
+ font-size: var(--emw--font-size-medium, 16px);
214
+ }
215
+ .PlayerDocumentsWrapper .Section .Field label {
216
+ color: var(--emw-color-gray-300, #58586B);
217
+ font-size: var(--emw--size-x-small, 12px);
218
+ font-weight: var(-emw--font-weight-normal, 400);
219
+ }
220
+ .PlayerDocumentsWrapper .Section .Field input {
221
+ color: var(--emw-color-gray-300, #58586B);
222
+ font-size: var(--emw--size-x-small, 12px);
223
+ font-weight: var(--emw--font-weight-light, 300);
224
+ }
225
+ .PlayerDocumentsWrapper .ButtonsArea {
226
+ grid-column-gap: 10px;
227
+ width: 100%;
228
+ grid-template-columns: 1fr 1fr;
229
+ }
230
+ .PlayerDocumentsWrapper .ButtonsArea .SaveButton {
231
+ font-size: var(--emw--size-x-small, 12px);
232
+ height: 40px;
233
+ color: var(--emw-button-typography, var(--emw-color-white, #FFFFFF));
234
+ }
235
+ .PlayerDocumentsWrapper .ButtonsArea .SaveButton.Disabled {
236
+ color: var(--emw-color-gray-300, #58586B);
237
+ }
238
+ .PlayerDocumentsWrapper.skeleton .Section .SectionContent {
239
+ display: block;
240
+ }
241
+ .PlayerDocumentsWrapper.skeleton .Section .SectionContent .Field {
242
+ margin-bottom: 15px;
243
+ }
244
+ .PlayerDocumentsWrapper.skeleton .ButtonsArea .SaveButton {
245
+ width: 100%;
246
+ height: 100%;
247
+ border-radius: 20px;
248
+ }
249
+ }