paymob-pixel-alpha 1.1.11 → 1.1.14
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/README.md +0 -8
- package/main.css +8 -5
- package/main.js +3152 -2939
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,8 +22,6 @@ import { Pixel } from 'paymob-pixel-alpha';
|
|
|
22
22
|
Using jsDelivr:
|
|
23
23
|
|
|
24
24
|
```html
|
|
25
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/styles.css">
|
|
26
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/main.css">
|
|
27
25
|
<script src="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/main.js" type="module"></script>
|
|
28
26
|
```
|
|
29
27
|
|
|
@@ -125,8 +123,6 @@ The full list of functions is as follows:
|
|
|
125
123
|
<title>Pixels</title>
|
|
126
124
|
<base href="/">
|
|
127
125
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
128
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/styles.css">
|
|
129
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/main.css">
|
|
130
126
|
</head>
|
|
131
127
|
<body>
|
|
132
128
|
<div style="position: absolute; width: 80%; margin-top: 10%;" id="example"></div>
|
|
@@ -244,8 +240,6 @@ Use Pixel SDK for only card tokenization.
|
|
|
244
240
|
Using jsDelivr:
|
|
245
241
|
|
|
246
242
|
```html
|
|
247
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/styles.css">
|
|
248
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/main.css">
|
|
249
243
|
<script src="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/main.js" type="module"></script>
|
|
250
244
|
```
|
|
251
245
|
|
|
@@ -300,8 +294,6 @@ The full list of functions is as follows:
|
|
|
300
294
|
<title>Pixel Tokenization</title>
|
|
301
295
|
<base href="/">
|
|
302
296
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
303
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/styles.css">
|
|
304
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/paymob-pixel-alpha@latest/main.css">
|
|
305
297
|
</head>
|
|
306
298
|
|
|
307
299
|
<body>
|
package/main.css
CHANGED
|
@@ -55,11 +55,14 @@
|
|
|
55
55
|
right: 0;
|
|
56
56
|
height: 100%;
|
|
57
57
|
background-repeat: no-repeat;
|
|
58
|
-
background-image:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
background-image: var(
|
|
59
|
+
--custom-highlight-background,
|
|
60
|
+
linear-gradient(
|
|
61
|
+
90deg,
|
|
62
|
+
var(--base-color) 0%,
|
|
63
|
+
var(--highlight-color) 50%,
|
|
64
|
+
var(--base-color) 100%
|
|
65
|
+
)
|
|
63
66
|
);
|
|
64
67
|
transform: translateX(-100%);
|
|
65
68
|
|