@everymatrix/pam-account-balance-modal 0.1.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-f01eba32.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-account-balance-modal-81ade12d.js +1704 -0
  6. package/dist/cjs/pam-account-balance-modal.cjs.js +25 -0
  7. package/dist/cjs/pam-account-balance-modal_2.cjs.entry.js +175 -0
  8. package/dist/collection/collection-manifest.json +19 -0
  9. package/dist/collection/components/pam-account-balance-modal/index.js +1 -0
  10. package/dist/collection/components/pam-account-balance-modal/pam-account-balance-modal.css +217 -0
  11. package/dist/collection/components/pam-account-balance-modal/pam-account-balance-modal.interface.js +1 -0
  12. package/dist/collection/components/pam-account-balance-modal/pam-account-balance-modal.js +635 -0
  13. package/dist/collection/index.js +1 -0
  14. package/dist/collection/utils/locale.utils.js +227 -0
  15. package/dist/esm/app-globals-0f993ce5.js +3 -0
  16. package/dist/esm/index-ee727666.js +1200 -0
  17. package/dist/esm/index.js +2 -0
  18. package/dist/esm/loader.js +11 -0
  19. package/dist/esm/pam-account-balance-modal-8ebcc863.js +1702 -0
  20. package/dist/esm/pam-account-balance-modal.js +20 -0
  21. package/dist/esm/pam-account-balance-modal_2.entry.js +170 -0
  22. package/dist/index.cjs.js +1 -0
  23. package/dist/index.js +1 -0
  24. package/dist/pam-account-balance-modal/index.esm.js +1 -0
  25. package/dist/pam-account-balance-modal/p-86b371f2.js +2 -0
  26. package/dist/pam-account-balance-modal/p-b60c42bd.js +7 -0
  27. package/dist/pam-account-balance-modal/p-d74c687e.entry.js +1 -0
  28. package/dist/pam-account-balance-modal/p-e1255160.js +1 -0
  29. package/dist/pam-account-balance-modal/pam-account-balance-modal.esm.js +1 -0
  30. package/dist/stencil.config.dev.js +19 -0
  31. package/dist/stencil.config.js +18 -0
  32. package/dist/storybook/main.js +43 -0
  33. package/dist/storybook/preview.js +9 -0
  34. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-account-balance-modal/.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-account-balance-modal/.stencil/packages/stencil/pam-account-balance-modal/stencil.config.d.ts +2 -0
  36. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-account-balance-modal/.stencil/packages/stencil/pam-account-balance-modal/stencil.config.dev.d.ts +2 -0
  37. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-account-balance-modal/.stencil/packages/stencil/pam-account-balance-modal/storybook/main.d.ts +3 -0
  38. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-account-balance-modal/.stencil/packages/stencil/pam-account-balance-modal/storybook/preview.d.ts +70 -0
  39. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-account-balance-modal/.stencil/tools/plugins/index.d.ts +3 -0
  40. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-account-balance-modal/.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-account-balance-modal/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
  42. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-account-balance-modal/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
  43. package/dist/types/components/pam-account-balance-modal/index.d.ts +1 -0
  44. package/dist/types/components/pam-account-balance-modal/pam-account-balance-modal.d.ts +52 -0
  45. package/dist/types/components/pam-account-balance-modal/pam-account-balance-modal.interface.d.ts +10 -0
  46. package/dist/types/components.d.ts +65 -0
  47. package/dist/types/index.d.ts +1 -0
  48. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  49. package/dist/types/utils/locale.utils.d.ts +31 -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 +27 -0
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-f01eba32.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-account-balance-modal.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-account-balance-modal_2.cjs",[[1,"pam-account-balance-modal",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"customLocaleIdentifier":[513,"custom-locale-identifier"],"displayBalanceOption":[513,"display-balance-option"],"totalCalculationMode":[513,"total-calculation-mode"],"currencySeparator":[513,"currency-separator"],"currencyDecimal":[513,"currency-decimal"],"currencyPrecision":[513,"currency-precision"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isLoading":[32],"isModalDisplayed":[32],"isSplitWallet":[32],"currentStream":[32],"currency":[32],"updateRealAmountState":[32],"balances":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[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 pamAccountBalanceModal = require('./pam-account-balance-modal-81ade12d.js');
6
+ const index = require('./index-f01eba32.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_account_balance_modal = pamAccountBalanceModal.PamAccountBalanceModal;
175
+ exports.ui_skeleton = UiSkeleton;
@@ -0,0 +1,19 @@
1
+ {
2
+ "entries": [
3
+ "components/pam-account-balance-modal/pam-account-balance-modal.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 { PamAccountBalanceModal } from './pam-account-balance-modal';
@@ -0,0 +1,217 @@
1
+ *,
2
+ *::before,
3
+ *::after {
4
+ font-family: inherit;
5
+ }
6
+
7
+ :host {
8
+ font-family: inherit;
9
+ }
10
+
11
+ input,
12
+ textarea,
13
+ button {
14
+ font-family: inherit;
15
+ }
16
+
17
+ p {
18
+ padding: 0;
19
+ margin: 0;
20
+ }
21
+
22
+ .PamAccountBalanceModal {
23
+ position: relative;
24
+ }
25
+ .PamAccountBalanceModal .LoadingSkeleton {
26
+ border-radius: 10px;
27
+ overflow: hidden;
28
+ width: 60px;
29
+ }
30
+ .PamAccountBalanceModal .BalanceValue {
31
+ font-size: 14px;
32
+ cursor: pointer;
33
+ background: transparent;
34
+ border: none;
35
+ font: inherit;
36
+ color: inherit;
37
+ display: flex;
38
+ flex-wrap: nowrap;
39
+ white-space: nowrap;
40
+ }
41
+ .PamAccountBalanceModal .BalanceValue svg {
42
+ width: 16px;
43
+ fill: var(--emw--color-black, #000000);
44
+ }
45
+ .PamAccountBalanceModal .BalanceValue span {
46
+ padding-left: 5px;
47
+ }
48
+ .PamAccountBalanceModal .BalanceValue .TriangleActive, .PamAccountBalanceModal .BalanceValue .TriangleInactive {
49
+ display: block;
50
+ margin: 0 3px;
51
+ transition: all 0.2s;
52
+ }
53
+ .PamAccountBalanceModal .BalanceValue .TriangleActive:hover, .PamAccountBalanceModal .BalanceValue .TriangleInactive:hover {
54
+ transform: scale(1.2);
55
+ }
56
+ .PamAccountBalanceModal .BalanceValue .TriangleActive svg, .PamAccountBalanceModal .BalanceValue .TriangleInactive svg {
57
+ margin: 2px 0px;
58
+ }
59
+ .PamAccountBalanceModal .BalanceValue .TriangleActive {
60
+ transform: scale(1.1) rotateX(180deg) translateY(3px);
61
+ }
62
+ .PamAccountBalanceModal .BalanceValue .TriangleActive:hover {
63
+ transform: scale(1.1) rotateX(180deg) translateY(3px);
64
+ }
65
+ @media only screen and (max-width: 360px) {
66
+ .PamAccountBalanceModal .BalanceValue {
67
+ font-size: 12px;
68
+ }
69
+ .PamAccountBalanceModal .BalanceValue svg {
70
+ width: 12px;
71
+ }
72
+ }
73
+ .PamAccountBalanceModal .BalanceModalWrapper {
74
+ background: linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);
75
+ position: absolute;
76
+ top: 40px;
77
+ padding: 10px;
78
+ transform: translateX(-45%);
79
+ box-shadow: 0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));
80
+ border-radius: 5px;
81
+ z-index: 17;
82
+ box-shadow: 0px 5px 20px 0px #191919;
83
+ transition: all 0.2s ease-in;
84
+ opacity: 0;
85
+ }
86
+ .PamAccountBalanceModal .BalanceModalWrapper:before {
87
+ content: "";
88
+ background: linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);
89
+ clip-path: polygon(50% 0, 0% 100%, 100% 100%);
90
+ position: absolute;
91
+ top: -8px;
92
+ left: 50%;
93
+ width: 25px;
94
+ height: 10px;
95
+ z-index: 1;
96
+ }
97
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModalClose {
98
+ position: absolute;
99
+ top: 5px;
100
+ right: 5px;
101
+ width: 20px;
102
+ height: 20px;
103
+ z-index: 1;
104
+ cursor: pointer;
105
+ transition: all 0.3s ease;
106
+ background: transparent;
107
+ border: none;
108
+ font: inherit;
109
+ }
110
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModalClose:before {
111
+ content: "";
112
+ background: var(--emw--color-secondary, #FFFFFF);
113
+ position: absolute;
114
+ top: 8px;
115
+ left: 0;
116
+ width: 20px;
117
+ height: 2px;
118
+ transform: rotate(45deg);
119
+ }
120
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModalClose:after {
121
+ content: "";
122
+ background: var(--emw--color-secondary, #FFFFFF);
123
+ position: absolute;
124
+ top: 8px;
125
+ left: 0;
126
+ width: 20px;
127
+ height: 2px;
128
+ transform: rotate(-45deg);
129
+ }
130
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModalClose:hover {
131
+ transform: scale(1.1);
132
+ }
133
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal {
134
+ transition: all 0.2s ease-in;
135
+ width: 270px;
136
+ }
137
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalHeader {
138
+ display: flex;
139
+ align-items: center;
140
+ justify-content: center;
141
+ padding: 20px 0;
142
+ }
143
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalHeader .BalanceModalTitle {
144
+ font-size: 16px;
145
+ font-weight: bold;
146
+ color: var(--emw--header-contrast, var(--emw--color-contrast, #FFFFFF));
147
+ }
148
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalBody .BalanceModalRowBoth {
149
+ display: flex;
150
+ flex-direction: column;
151
+ gap: 5px;
152
+ padding: 20px 0;
153
+ border-bottom: 1px solid var(--emw--color-gray-100, #E6E6E6);
154
+ }
155
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalBody .BalanceModalRowBoth:last-child {
156
+ border-bottom: none;
157
+ }
158
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalBody .BalanceModalRowBoth .BalanceModalRowLine {
159
+ display: flex;
160
+ width: 100%;
161
+ justify-content: space-between;
162
+ }
163
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalBody .BalanceModalRowBoth .BalanceModalText {
164
+ color: var(--emw--header-contrast, var(--emw--color-contrast, #FFFFFF));
165
+ font-size: 14px;
166
+ text-transform: capitalize;
167
+ }
168
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalBody .BalanceModalRowBoth .BalanceModalValue {
169
+ font-size: 14px;
170
+ font-weight: bold;
171
+ color: var(--emw--header-contrast, var(--emw--color-contrast, #FFFFFF));
172
+ }
173
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalFooter {
174
+ display: flex;
175
+ align-items: center;
176
+ padding: 20px 0 10px;
177
+ }
178
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalFooter .BalanceModalAction {
179
+ background: var(--emw--color-primary, #22B04E);
180
+ font-size: 12px;
181
+ color: var(--emw--color-white, #FFFFFF);
182
+ text-transform: uppercase;
183
+ width: 100%;
184
+ border-radius: 30px;
185
+ border: none;
186
+ padding: 10px 0;
187
+ cursor: pointer;
188
+ transition: all 0.2s ease-in;
189
+ box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.2);
190
+ }
191
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalFooter .BalanceModalAction:hover {
192
+ background: rgba(255, 255, 255, 0.1);
193
+ color: var(--emw--color-primary, #22B04E);
194
+ box-shadow: 0px 0px 0px 2px inset var(--emw--color-primary, #22B04E);
195
+ font-size: 14px;
196
+ }
197
+ .PamAccountBalanceModal .BalanceModalWrapper .BalanceModal .BalanceModalFooter .BalanceModalAction:active {
198
+ background: rgba(255, 255, 255, 0.5);
199
+ }
200
+ .PamAccountBalanceModal .BalanceModalWrapper.Open {
201
+ opacity: 1;
202
+ }
203
+
204
+ .PamAccountBalanceModalOverlay {
205
+ background-color: rgba(0, 0, 0, 0.7);
206
+ position: fixed;
207
+ top: 0;
208
+ bottom: 0;
209
+ left: 0;
210
+ right: 0;
211
+ z-index: 16;
212
+ opacity: 0;
213
+ transition: all 0.2s linear;
214
+ }
215
+ .PamAccountBalanceModalOverlay.Open {
216
+ opacity: 1;
217
+ }