@amplifyup/sdk 0.1.45 → 0.1.47
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/AmplifyRenderer.d.mts +1 -1
- package/dist/AmplifyRenderer.d.ts +1 -1
- package/dist/AmplifyRenderer.js +20 -4
- package/dist/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs +20 -4
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +20 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{query-2-zPPrMI.d.mts → query-CWFb7rSm.d.mts} +1 -1
- package/dist/{query-CFpvzSZT.d.ts → query-L7zSmLFX.d.ts} +1 -1
- package/dist/react.d.mts +4 -4
- package/dist/react.d.ts +4 -4
- package/dist/react.js +119 -10
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +119 -10
- package/dist/react.mjs.map +1 -1
- package/dist/server.d.mts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/{types-NdLzHxZo.d.mts → types-DpTzUg1C.d.mts} +1 -0
- package/dist/{types-NdLzHxZo.d.ts → types-DpTzUg1C.d.ts} +1 -0
- package/package.json +1 -1
package/dist/AmplifyRenderer.js
CHANGED
|
@@ -484,6 +484,10 @@ function applyPageContext(input, opts) {
|
|
|
484
484
|
log.warn(`AmplifyUp: unknown resource field "${k}" dropped`);
|
|
485
485
|
continue;
|
|
486
486
|
}
|
|
487
|
+
if (def.passThrough) {
|
|
488
|
+
if (v != null) fields[k] = v;
|
|
489
|
+
continue;
|
|
490
|
+
}
|
|
487
491
|
const coerced = coerceField(def, v, log);
|
|
488
492
|
if (coerced !== void 0) fields[k] = coerced;
|
|
489
493
|
}
|
|
@@ -2581,17 +2585,29 @@ Available Console Commands:
|
|
|
2581
2585
|
'[data-slot-id="main"], [data-amplifyup-slot="main"] {',
|
|
2582
2586
|
" min-height: 50vh !important;",
|
|
2583
2587
|
"}",
|
|
2584
|
-
/*
|
|
2588
|
+
/* Empty-slot CTA — Slot / AmplifyPageContent EmptySlotHint */
|
|
2585
2589
|
".amplifyup-slot-placeholder {",
|
|
2586
2590
|
" display: flex !important;",
|
|
2591
|
+
" flex-direction: column !important;",
|
|
2587
2592
|
" align-items: center !important;",
|
|
2588
2593
|
" justify-content: center !important;",
|
|
2594
|
+
" gap: 12px !important;",
|
|
2589
2595
|
" min-height: inherit !important;",
|
|
2590
|
-
" color: rgba(
|
|
2591
|
-
" font-size:
|
|
2592
|
-
" font-weight:
|
|
2596
|
+
" color: rgba(22, 163, 74, 0.85) !important;",
|
|
2597
|
+
" font-size: 15px !important;",
|
|
2598
|
+
" font-weight: 600 !important;",
|
|
2593
2599
|
" pointer-events: none !important;",
|
|
2594
2600
|
" text-align: center !important;",
|
|
2601
|
+
" box-sizing: border-box !important;",
|
|
2602
|
+
"}",
|
|
2603
|
+
".amplifyup-slot-placeholder-icon {",
|
|
2604
|
+
" color: inherit !important;",
|
|
2605
|
+
"}",
|
|
2606
|
+
".amplifyup-slot-placeholder-label {",
|
|
2607
|
+
" color: inherit !important;",
|
|
2608
|
+
"}",
|
|
2609
|
+
".amplifyup-slot-label {",
|
|
2610
|
+
" pointer-events: none !important;",
|
|
2595
2611
|
"}",
|
|
2596
2612
|
"[data-slot-id].amplifyup-slot-hover, [data-amplifyup-slot].amplifyup-slot-hover {",
|
|
2597
2613
|
" outline-color: rgba(34, 197, 94, 1) !important;",
|