@payrails/web-sdk 5.10.0 → 5.12.0-RC.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payrails/web-sdk",
3
- "version": "5.10.0",
3
+ "version": "5.12.0-RC.0",
4
4
  "description": "SDK providing tokenization options on the client for merchants",
5
5
  "main": "index.js",
6
6
  "types": "payrails.d.ts",
@@ -8,6 +8,7 @@
8
8
  "author": "Payrails GitHub Bot <github@payrails.com>",
9
9
  "license": "MIT",
10
10
  "dependencies": {
11
+ "@payrails/fraud-sdk": "1.0.0",
11
12
  "@payrails/web-cse": "1.2.3",
12
13
  "@types/applepayjs": "14.0.4",
13
14
  "@types/googlepay": "0.7.5"
@@ -122,6 +122,41 @@
122
122
  margin-bottom: 4px;
123
123
  }
124
124
 
125
+ .payrails-payment-installments-dropdown {
126
+ display: flex;
127
+ flex-wrap: wrap;
128
+ flex-direction: row;
129
+ justify-content: space-between;
130
+ align-items: center;
131
+ }
132
+
133
+ .payrails-payment-installments-dropdown select {
134
+ width: 100%;
135
+ padding: 10px 15px;
136
+ border: 1px solid #eae8ee;
137
+ border-radius: 4px;
138
+ appearance: none;
139
+ -webkit-appearance: none;
140
+ -moz-appearance: none;
141
+ cursor: pointer;
142
+ }
143
+
144
+ .payrails-payment-installments-dropdown::after {
145
+ content: '\25BC';
146
+ position: absolute;
147
+ top: 18px;
148
+ transform: translateY(-50%);
149
+ pointer-events: none;
150
+ color: rgba(25, 25, 25, 1);
151
+ right: 20px;
152
+ }
153
+
154
+ .payrails-card-form-payment-installments-container {
155
+ position: relative;
156
+ width: 100%;
157
+ margin-bottom: 8px;
158
+ }
159
+
125
160
  #payrails-card-list * {
126
161
  line-height: 1;
127
162
  }