@12-apps/payments-frontend 3.28.0 → 3.28.1
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": "@12-apps/payments-frontend",
|
|
3
|
-
"version": "3.28.
|
|
3
|
+
"version": "3.28.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "Browser half of the vendor-agnostic payments platform: plug-and-play MUI components for the per-provider settings page (credential form from each provider's schema, masked hints, verify/enable) and the checkout page (PIX QR + polling, card tokenization, hosted-checkout redirect), plus the headless hooks and fetch clients they build on. Talks only to the host's payments HTTP surface — never to a provider directly. Microfrontend-ready: no app coupling, host injects theme and auth.",
|
|
@@ -240,7 +240,10 @@ function StepRow({ step, actions }: StepRowProps) {
|
|
|
240
240
|
href={step.button.url}
|
|
241
241
|
target="_blank"
|
|
242
242
|
rel="noreferrer"
|
|
243
|
-
|
|
243
|
+
// Never narrower than its label beside the text, but never wider than
|
|
244
|
+
// the row once it has wrapped under it: at 320px "Abrir o portal do
|
|
245
|
+
// desenvolvedor ↗" was wider than the step and spilled out of it.
|
|
246
|
+
sx={{ ...BTN_SECONDARY_SX, px: '12px', py: '7px', fontSize: '12px', flexShrink: 0, maxWidth: '100%' }}
|
|
244
247
|
// The mark is the promise: this leaves the store and opens the
|
|
245
248
|
// provider's site. A button that reads the same as the in-page ones
|
|
246
249
|
// and then navigates away is a small betrayal, and here it lands on
|