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