@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/index.mjs
CHANGED
|
@@ -471,6 +471,10 @@ function applyPageContext(input, opts) {
|
|
|
471
471
|
log.warn(`AmplifyUp: unknown resource field "${k}" dropped`);
|
|
472
472
|
continue;
|
|
473
473
|
}
|
|
474
|
+
if (def.passThrough) {
|
|
475
|
+
if (v != null) fields[k] = v;
|
|
476
|
+
continue;
|
|
477
|
+
}
|
|
474
478
|
const coerced = coerceField(def, v, log);
|
|
475
479
|
if (coerced !== void 0) fields[k] = coerced;
|
|
476
480
|
}
|
|
@@ -2916,17 +2920,29 @@ Available Console Commands:
|
|
|
2916
2920
|
'[data-slot-id="main"], [data-amplifyup-slot="main"] {',
|
|
2917
2921
|
" min-height: 50vh !important;",
|
|
2918
2922
|
"}",
|
|
2919
|
-
/*
|
|
2923
|
+
/* Empty-slot CTA — Slot / AmplifyPageContent EmptySlotHint */
|
|
2920
2924
|
".amplifyup-slot-placeholder {",
|
|
2921
2925
|
" display: flex !important;",
|
|
2926
|
+
" flex-direction: column !important;",
|
|
2922
2927
|
" align-items: center !important;",
|
|
2923
2928
|
" justify-content: center !important;",
|
|
2929
|
+
" gap: 12px !important;",
|
|
2924
2930
|
" min-height: inherit !important;",
|
|
2925
|
-
" color: rgba(
|
|
2926
|
-
" font-size:
|
|
2927
|
-
" font-weight:
|
|
2931
|
+
" color: rgba(22, 163, 74, 0.85) !important;",
|
|
2932
|
+
" font-size: 15px !important;",
|
|
2933
|
+
" font-weight: 600 !important;",
|
|
2928
2934
|
" pointer-events: none !important;",
|
|
2929
2935
|
" text-align: center !important;",
|
|
2936
|
+
" box-sizing: border-box !important;",
|
|
2937
|
+
"}",
|
|
2938
|
+
".amplifyup-slot-placeholder-icon {",
|
|
2939
|
+
" color: inherit !important;",
|
|
2940
|
+
"}",
|
|
2941
|
+
".amplifyup-slot-placeholder-label {",
|
|
2942
|
+
" color: inherit !important;",
|
|
2943
|
+
"}",
|
|
2944
|
+
".amplifyup-slot-label {",
|
|
2945
|
+
" pointer-events: none !important;",
|
|
2930
2946
|
"}",
|
|
2931
2947
|
"[data-slot-id].amplifyup-slot-hover, [data-amplifyup-slot].amplifyup-slot-hover {",
|
|
2932
2948
|
" outline-color: rgba(34, 197, 94, 1) !important;",
|