@fluid-app/portal-sdk 0.1.404 → 0.1.405
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/{ContainerWidget-C59aHP9i.cjs → ContainerWidget-DILiQ1sH.cjs} +2 -2
- package/dist/{ContainerWidget-VRJ-V8sJ.cjs → ContainerWidget-I3XoxvEB.cjs} +2 -2
- package/dist/{ContainerWidget-VRJ-V8sJ.cjs.map → ContainerWidget-I3XoxvEB.cjs.map} +1 -1
- package/dist/{ContainerWidget-CC1zIMoX.mjs → ContainerWidget-ROInhX2I.mjs} +2 -2
- package/dist/{ContainerWidget-CC1zIMoX.mjs.map → ContainerWidget-ROInhX2I.mjs.map} +1 -1
- package/dist/{FluidProvider-w-PbxHiZ.mjs → FluidProvider-GKnXkeIj.mjs} +5 -5
- package/dist/{FluidProvider-w-PbxHiZ.mjs.map → FluidProvider-GKnXkeIj.mjs.map} +1 -1
- package/dist/{FluidProvider-D2ZXrmtu.cjs → FluidProvider-zwOtjsPk.cjs} +5 -5
- package/dist/{FluidProvider-D2ZXrmtu.cjs.map → FluidProvider-zwOtjsPk.cjs.map} +1 -1
- package/dist/{LayoutWidget-B6mLhd_v.mjs → LayoutWidget-B0IM6rzk.mjs} +4 -2
- package/dist/{LayoutWidget-B6mLhd_v.mjs.map → LayoutWidget-B0IM6rzk.mjs.map} +1 -1
- package/dist/{LayoutWidget-CUcF98Yv.cjs → LayoutWidget-CMcW03wp.cjs} +1 -1
- package/dist/{LayoutWidget-dn5ftAss.cjs → LayoutWidget-tf4a1rJr.cjs} +4 -2
- package/dist/{LayoutWidget-dn5ftAss.cjs.map → LayoutWidget-tf4a1rJr.cjs.map} +1 -1
- package/dist/{MessagingScreen-CEsE-08Y.cjs → MessagingScreen-B5ZgL6_2.cjs} +4 -4
- package/dist/{MessagingScreen-Dne7NwPj.cjs → MessagingScreen-CEkYdJlq.cjs} +2 -2
- package/dist/{MessagingScreen-Dne7NwPj.cjs.map → MessagingScreen-CEkYdJlq.cjs.map} +1 -1
- package/dist/{MessagingScreen-CsQU4HRk.mjs → MessagingScreen-COt4qkak.mjs} +4 -4
- package/dist/{MessagingScreen-BnaWRPuP.mjs → MessagingScreen-DVceg9ih.mjs} +2 -2
- package/dist/{MessagingScreen-BnaWRPuP.mjs.map → MessagingScreen-DVceg9ih.mjs.map} +1 -1
- package/dist/{OrdersScreen-BK0fGnpW.cjs → OrdersScreen-BOxI7p-f.cjs} +2 -2
- package/dist/{OrdersScreen-BK0fGnpW.cjs.map → OrdersScreen-BOxI7p-f.cjs.map} +1 -1
- package/dist/{OrdersScreen-K8jpRA_z.mjs → OrdersScreen-BUTD4UlS.mjs} +2 -2
- package/dist/{OrdersScreen-K8jpRA_z.mjs.map → OrdersScreen-BUTD4UlS.mjs.map} +1 -1
- package/dist/{OrdersScreen-CUwiV1Uy.cjs → OrdersScreen-BxLCkJhu.cjs} +4 -4
- package/dist/{OrdersScreen-CGbcnv2h.mjs → OrdersScreen-CL8oO1kU.mjs} +4 -4
- package/dist/{ProfileScreen-mtM-44zQ.mjs → ProfileScreen-AINzmYhB.mjs} +5 -5
- package/dist/{ProfileScreen-DKUniR1Y.cjs → ProfileScreen-BNChpThr.cjs} +5 -5
- package/dist/{ProfileScreen-Ds-P1N_j.mjs → ProfileScreen-BUjYpFxb.mjs} +3 -3
- package/dist/{ProfileScreen-Ds-P1N_j.mjs.map → ProfileScreen-BUjYpFxb.mjs.map} +1 -1
- package/dist/{ProfileScreen-ByzemRQY.cjs → ProfileScreen-Dsgfmgnj.cjs} +3 -3
- package/dist/{ProfileScreen-ByzemRQY.cjs.map → ProfileScreen-Dsgfmgnj.cjs.map} +1 -1
- package/dist/{ShopScreen-NfoqshXL.cjs → ShopScreen-BnuqmbI4.cjs} +4 -4
- package/dist/{ShopScreen-BEAKbAKU.cjs → ShopScreen-CWKF8aXQ.cjs} +2 -2
- package/dist/{ShopScreen-BEAKbAKU.cjs.map → ShopScreen-CWKF8aXQ.cjs.map} +1 -1
- package/dist/{ShopScreen-BHHRYQby.mjs → ShopScreen-b0u6k-QC.mjs} +2 -2
- package/dist/{ShopScreen-BHHRYQby.mjs.map → ShopScreen-b0u6k-QC.mjs.map} +1 -1
- package/dist/{ShopScreen-Du8UwaL2.mjs → ShopScreen-sPlTXKHt.mjs} +4 -4
- package/dist/{SubscriptionsScreen-CmH6q1xO.mjs → SubscriptionsScreen-0xmYA0F7.mjs} +5 -5
- package/dist/{SubscriptionsScreen-D0u_EuIi.mjs → SubscriptionsScreen-B3-aPOUe.mjs} +3 -3
- package/dist/{SubscriptionsScreen-D0u_EuIi.mjs.map → SubscriptionsScreen-B3-aPOUe.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-BM_q1ut3.cjs → SubscriptionsScreen-BNJPJC4Q.cjs} +5 -5
- package/dist/{SubscriptionsScreen-CqftonHe.cjs → SubscriptionsScreen-CMtKOvwi.cjs} +3 -3
- package/dist/{SubscriptionsScreen-CqftonHe.cjs.map → SubscriptionsScreen-CMtKOvwi.cjs.map} +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +20 -20
- package/dist/preview/preview-entry.cjs +4 -4
- package/dist/preview/preview-entry.mjs +4 -4
- package/dist/{use-portal-card-add-3ds-flow-B_sHohTN.mjs → use-portal-card-add-3ds-flow-B4DUz_fQ.mjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-B_sHohTN.mjs.map → use-portal-card-add-3ds-flow-B4DUz_fQ.mjs.map} +1 -1
- package/dist/{use-portal-card-add-3ds-flow-Ca7Fvofg.cjs → use-portal-card-add-3ds-flow-BQyP5sxL.cjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-Ca7Fvofg.cjs.map → use-portal-card-add-3ds-flow-BQyP5sxL.cjs.map} +1 -1
- package/dist/{widget-package-utils-3cs8viyn.mjs → widget-package-utils-B7z7qApd.mjs} +2 -2
- package/dist/{widget-package-utils-3cs8viyn.mjs.map → widget-package-utils-B7z7qApd.mjs.map} +1 -1
- package/dist/{widget-package-utils-CygmmEmW.cjs → widget-package-utils-BGgoR0N5.cjs} +2 -2
- package/dist/{widget-package-utils-CygmmEmW.cjs.map → widget-package-utils-BGgoR0N5.cjs.map} +1 -1
- package/package.json +10 -10
|
@@ -3,8 +3,8 @@ require("./ScreenRenderer-B-ZfGmhX.cjs");
|
|
|
3
3
|
require("./registry-context-D737a2Jb.cjs");
|
|
4
4
|
require("./translation-api-context-factory-mbsJk2UU.cjs");
|
|
5
5
|
require("./shell-translation-api-context-BxZ1W6Eb.cjs");
|
|
6
|
-
require("./LayoutWidget-
|
|
6
|
+
require("./LayoutWidget-tf4a1rJr.cjs");
|
|
7
7
|
require("./registries-DgzzKX8_.cjs");
|
|
8
8
|
require("./fields-DSSM7CHZ.cjs");
|
|
9
|
-
const require_ContainerWidget = require("./ContainerWidget-
|
|
9
|
+
const require_ContainerWidget = require("./ContainerWidget-I3XoxvEB.cjs");
|
|
10
10
|
exports.containerWidgetPropertySchema = require_ContainerWidget.containerWidgetPropertySchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-9hOWP6kD.cjs");
|
|
2
|
-
const require_LayoutWidget = require("./LayoutWidget-
|
|
2
|
+
const require_LayoutWidget = require("./LayoutWidget-tf4a1rJr.cjs");
|
|
3
3
|
const require_registries = require("./registries-DgzzKX8_.cjs");
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
//#region ../widgets/src/widgets/ContainerWidget.tsx
|
|
@@ -48,4 +48,4 @@ Object.defineProperty(exports, "containerWidgetPropertySchema", {
|
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
//# sourceMappingURL=ContainerWidget-
|
|
51
|
+
//# sourceMappingURL=ContainerWidget-I3XoxvEB.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerWidget-
|
|
1
|
+
{"version":3,"file":"ContainerWidget-I3XoxvEB.cjs","names":["LayoutWidget","getGapField","getPaddingField"],"sources":["../../widgets/src/widgets/ContainerWidget.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\nimport type React from \"react\";\nimport { LayoutWidget } from \"./LayoutWidget\";\nimport type { WidgetPropertySchema } from \"@fluid-app/portal-core/registries\";\nimport { getGapField, getPaddingField } from \"../core/fields\";\n\n/**\n * ContainerWidget - Root container widget for screens\n *\n * This widget wraps LayoutWidget and serves as the foundational container\n * for every screen. It cannot be added, deleted, moved, or copied by users.\n *\n * Only exposes limited settings: gap, padding, and backgroundColor\n */\n\ntype ContainerWidgetProps = ComponentProps<typeof LayoutWidget>;\n\nexport function ContainerWidget(\n props: ContainerWidgetProps,\n): React.JSX.Element {\n // Pass all props through to LayoutWidget\n return <LayoutWidget {...props} />;\n}\n\nexport const containerWidgetPropertySchema: WidgetPropertySchema = {\n widgetType: \"ContainerWidget\",\n displayName: \"Canvas Settings\",\n fields: [\n getGapField({\n key: \"gapSize\",\n label: \"Gap\",\n description: \"Gap between widgets\",\n defaultValue: \"md\",\n group: \"Design\",\n }),\n getPaddingField({\n key: \"padding\",\n label: \"Padding\",\n description: \"Padding for the container\",\n defaultValue: 4,\n group: \"Design\",\n }),\n {\n type: \"background\",\n key: \"background\",\n label: \"Background\",\n description: \"Background for the container\",\n defaultValue: \"background\",\n group: \"Design\",\n },\n ],\n};\n"],"mappings":";;;;;AAiBA,SAAgB,gBACd,OACmB;AAEnB,QAAO,iBAAA,GAAA,kBAAA,KAACA,qBAAAA,cAAD,EAAc,GAAI,OAAS,CAAA;;AAGpC,MAAa,gCAAsD;CACjE,YAAY;CACZ,aAAa;CACb,QAAQ;EACNC,mBAAAA,YAAY;GACV,KAAK;GACL,OAAO;GACP,aAAa;GACb,cAAc;GACd,OAAO;GACR,CAAC;EACFC,mBAAAA,gBAAgB;GACd,KAAK;GACL,OAAO;GACP,aAAa;GACb,cAAc;GACd,OAAO;GACR,CAAC;EACF;GACE,MAAM;GACN,KAAK;GACL,OAAO;GACP,aAAa;GACb,cAAc;GACd,OAAO;GACR;EACF;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { lt as __exportAll } from "./translation-adapter-B-Vhfzbz.mjs";
|
|
2
|
-
import { t as LayoutWidget } from "./LayoutWidget-
|
|
2
|
+
import { t as LayoutWidget } from "./LayoutWidget-B0IM6rzk.mjs";
|
|
3
3
|
import { f as getGapField, m as getPaddingField } from "./registries-BZVov8GL.mjs";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../widgets/src/widgets/ContainerWidget.tsx
|
|
@@ -41,4 +41,4 @@ const containerWidgetPropertySchema = {
|
|
|
41
41
|
//#endregion
|
|
42
42
|
export { ContainerWidget_exports as n, containerWidgetPropertySchema as r, ContainerWidget as t };
|
|
43
43
|
|
|
44
|
-
//# sourceMappingURL=ContainerWidget-
|
|
44
|
+
//# sourceMappingURL=ContainerWidget-ROInhX2I.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerWidget-
|
|
1
|
+
{"version":3,"file":"ContainerWidget-ROInhX2I.mjs","names":[],"sources":["../../widgets/src/widgets/ContainerWidget.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\nimport type React from \"react\";\nimport { LayoutWidget } from \"./LayoutWidget\";\nimport type { WidgetPropertySchema } from \"@fluid-app/portal-core/registries\";\nimport { getGapField, getPaddingField } from \"../core/fields\";\n\n/**\n * ContainerWidget - Root container widget for screens\n *\n * This widget wraps LayoutWidget and serves as the foundational container\n * for every screen. It cannot be added, deleted, moved, or copied by users.\n *\n * Only exposes limited settings: gap, padding, and backgroundColor\n */\n\ntype ContainerWidgetProps = ComponentProps<typeof LayoutWidget>;\n\nexport function ContainerWidget(\n props: ContainerWidgetProps,\n): React.JSX.Element {\n // Pass all props through to LayoutWidget\n return <LayoutWidget {...props} />;\n}\n\nexport const containerWidgetPropertySchema: WidgetPropertySchema = {\n widgetType: \"ContainerWidget\",\n displayName: \"Canvas Settings\",\n fields: [\n getGapField({\n key: \"gapSize\",\n label: \"Gap\",\n description: \"Gap between widgets\",\n defaultValue: \"md\",\n group: \"Design\",\n }),\n getPaddingField({\n key: \"padding\",\n label: \"Padding\",\n description: \"Padding for the container\",\n defaultValue: 4,\n group: \"Design\",\n }),\n {\n type: \"background\",\n key: \"background\",\n label: \"Background\",\n description: \"Background for the container\",\n defaultValue: \"background\",\n group: \"Design\",\n },\n ],\n};\n"],"mappings":";;;;;;;;;AAiBA,SAAgB,gBACd,OACmB;AAEnB,QAAO,oBAAC,cAAD,EAAc,GAAI,OAAS,CAAA;;AAGpC,MAAa,gCAAsD;CACjE,YAAY;CACZ,aAAa;CACb,QAAQ;EACN,YAAY;GACV,KAAK;GACL,OAAO;GACP,aAAa;GACb,cAAc;GACd,OAAO;GACR,CAAC;EACF,gBAAgB;GACd,KAAK;GACL,OAAO;GACP,aAAa;GACb,cAAc;GACd,OAAO;GACR,CAAC;EACF;GACE,MAAM;GACN,KAAK;GACL,OAAO;GACP,aAAa;GACb,cAAc;GACd,OAAO;GACR;EACF;CACF"}
|
|
@@ -14,7 +14,7 @@ import { t as createTranslationContext } from "./translation-api-context-factory
|
|
|
14
14
|
import { n as ShellTranslationProvider } from "./shell-translation-api-context-CwhOPjtM.mjs";
|
|
15
15
|
import { n as WidgetsApiProvider } from "./error-state-CmesiiXJ.mjs";
|
|
16
16
|
import { a as titleCaseFromSnake, t as PointsWidget } from "./PointsWidget-Bvnj_7Ck.mjs";
|
|
17
|
-
import { t as LayoutWidget } from "./LayoutWidget-
|
|
17
|
+
import { t as LayoutWidget } from "./LayoutWidget-B0IM6rzk.mjs";
|
|
18
18
|
import { t as TextWidget } from "./TextWidget-DROB24UD.mjs";
|
|
19
19
|
import { t as AlertWidget } from "./AlertWidget-B7u_5CY8.mjs";
|
|
20
20
|
import { t as BulletListWidget } from "./BulletListWidget-D-Mt-4Kd.mjs";
|
|
@@ -22,7 +22,7 @@ import { t as CalendarWidget } from "./CalendarWidget-_BiC1qFm.mjs";
|
|
|
22
22
|
import { t as CardWidget } from "./CardWidget-BBBAgnsg.mjs";
|
|
23
23
|
import { t as CarouselWidget } from "./CarouselWidget-BUQ1Ri8G.mjs";
|
|
24
24
|
import { t as ChartWidget } from "./ChartWidget-Cm-KPwRD.mjs";
|
|
25
|
-
import { t as ContainerWidget } from "./ContainerWidget-
|
|
25
|
+
import { t as ContainerWidget } from "./ContainerWidget-ROInhX2I.mjs";
|
|
26
26
|
import { t as EmbedWidget } from "./EmbedWidget-BHidJxpW.mjs";
|
|
27
27
|
import { t as ImageWidget } from "./ImageWidget-BwddirgT.mjs";
|
|
28
28
|
import { t as LinkWidget } from "./LinkWidget-H88QpMf2.mjs";
|
|
@@ -6488,10 +6488,10 @@ const widgetPropertySchemas = {
|
|
|
6488
6488
|
CarouselWidget: () => import("./CarouselWidget-BUQ1Ri8G.mjs").then((n) => n.n).then((m) => m.carouselWidgetPropertySchema),
|
|
6489
6489
|
CatchUpWidget: () => import("./CatchUpWidget-SznFLD53.mjs").then((n) => n.n).then((m) => m.catchUpWidgetPropertySchema),
|
|
6490
6490
|
ChartWidget: () => import("./ChartWidget-Cm-KPwRD.mjs").then((n) => n.n).then((m) => m.chartWidgetPropertySchema),
|
|
6491
|
-
ContainerWidget: () => import("./ContainerWidget-
|
|
6491
|
+
ContainerWidget: () => import("./ContainerWidget-ROInhX2I.mjs").then((n) => n.n).then((m) => m.containerWidgetPropertySchema),
|
|
6492
6492
|
EmbedWidget: () => import("./EmbedWidget-BHidJxpW.mjs").then((n) => n.n).then((m) => m.embedWidgetPropertySchema),
|
|
6493
6493
|
ImageWidget: () => import("./ImageWidget-BwddirgT.mjs").then((n) => n.n).then((m) => m.imageWidgetPropertySchema),
|
|
6494
|
-
LayoutWidget: () => import("./LayoutWidget-
|
|
6494
|
+
LayoutWidget: () => import("./LayoutWidget-B0IM6rzk.mjs").then((n) => n.n).then((m) => m.layoutWidgetPropertySchema),
|
|
6495
6495
|
LinkWidget: () => import("./LinkWidget-H88QpMf2.mjs").then((n) => n.n).then((m) => m.linkWidgetPropertySchema),
|
|
6496
6496
|
ListWidget: () => import("./ListWidget-QgFIR9fE.mjs").then((n) => n.n).then((m) => m.listWidgetPropertySchema),
|
|
6497
6497
|
MySiteWidget: () => import("./MySiteWidget-6pZKJoDm.mjs").then((n) => n.n).then((m) => m.mySiteWidgetPropertySchema),
|
|
@@ -7873,4 +7873,4 @@ function useFluidContext() {
|
|
|
7873
7873
|
//#endregion
|
|
7874
7874
|
export { useLanguagesApi as C, deleteDatabase as E, useAddressAutocompleteApi as S, createPersister as T, useShopTranslation as _, messagingDomain as a, isApiError as b, createSubscriptionsTranslationAdapter as c, ordersDomain as d, DEFAULT_SDK_WIDGET_REGISTRY as f, createWidgetRegistry as g, createWidgetFromShareable as h, createMessagingTranslationAdapter as i, subscriptionsDomain as l, createScreen as m, useFluidContext as n, createProfileTranslationAdapter as o, widgetPropertySchemas as p, SUPPORTED_LANGUAGES as r, profileDomain as s, FluidProvider as t, createOrdersTranslationAdapter as u, shellEn as v, usePayApi as w, useAddressFieldsApiOptional as x, ApiError as y };
|
|
7875
7875
|
|
|
7876
|
-
//# sourceMappingURL=FluidProvider-
|
|
7876
|
+
//# sourceMappingURL=FluidProvider-GKnXkeIj.mjs.map
|