@clickmax/checkout-react 12.5.17 → 12.5.19

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/theme.css CHANGED
@@ -50,6 +50,24 @@
50
50
  color: var(--cx-checkout-color-muted);
51
51
  }
52
52
 
53
+ /* Highlighted installment leads; the cash price drops to the secondary line. */
54
+ :where([data-cx-checkout="price"][data-highlight="true"] [data-cx-checkout="price-installments"]) {
55
+ color: inherit;
56
+ font-size: 1.5rem;
57
+ font-weight: 700;
58
+ }
59
+
60
+ :where([data-cx-checkout="price"][data-highlight="true"] [data-cx-checkout="price-current"]) {
61
+ color: var(--cx-checkout-color-muted);
62
+ font-size: 1rem;
63
+ font-weight: 400;
64
+ }
65
+
66
+ :where([data-cx-checkout="recurrence"], [data-cx-checkout="order-bump-trial-after"]) {
67
+ color: var(--cx-checkout-color-muted);
68
+ font-size: 0.875rem;
69
+ }
70
+
53
71
  :where(
54
72
  [data-cx-checkout="personal-data"],
55
73
  [data-cx-checkout="address"],
@@ -145,3 +163,41 @@
145
163
  height: 220px;
146
164
  justify-self: center;
147
165
  }
166
+
167
+ /* Social proof: the page places the region; the balloon only gets its card look. */
168
+ :where([data-cx-checkout="social-proof-balloon"]) {
169
+ display: flex;
170
+ align-items: center;
171
+ gap: 8px;
172
+ padding: 8px 4px 8px 12px;
173
+ border: 1px solid var(--cx-checkout-color-border);
174
+ border-radius: var(--cx-checkout-radius);
175
+ background: #fff;
176
+ box-shadow: 0 8px 24px rgb(17 24 39 / 0.12);
177
+ font-size: 0.875rem;
178
+ transition: opacity 200ms ease-out;
179
+ }
180
+
181
+ :where([data-cx-checkout="social-proof-balloon"][data-leaving="true"]) {
182
+ opacity: 0;
183
+ }
184
+
185
+ :where([data-cx-checkout="social-proof-text"], [data-cx-checkout="social-proof-meta"]) {
186
+ margin: 0;
187
+ }
188
+
189
+ :where([data-cx-checkout="social-proof-meta"]) {
190
+ font-size: 0.8125rem;
191
+ opacity: 0.75;
192
+ }
193
+
194
+ :where([data-cx-checkout="social-proof-close"]) {
195
+ margin-left: auto;
196
+ min-width: 44px;
197
+ min-height: 44px;
198
+ border: 0;
199
+ background: none;
200
+ font: inherit;
201
+ font-size: 1.25rem;
202
+ cursor: pointer;
203
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickmax/checkout-react",
3
- "version": "12.5.17",
3
+ "version": "12.5.19",
4
4
  "description": "Headless React components for the Clickmax checkout",
5
5
  "keywords": [
6
6
  "clickmax",