@fluid-app/portal-sdk 0.1.371 → 0.1.373
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-mSWihekF.mjs → ContainerWidget-C1Nk6GPZ.mjs} +2 -2
- package/dist/{ContainerWidget-mSWihekF.mjs.map → ContainerWidget-C1Nk6GPZ.mjs.map} +1 -1
- package/dist/{ContainerWidget-bMMdFhLg.cjs → ContainerWidget-DVQxqY3k.cjs} +2 -2
- package/dist/{ContainerWidget-bMMdFhLg.cjs.map → ContainerWidget-DVQxqY3k.cjs.map} +1 -1
- package/dist/{ContainerWidget-C2LMzXVj.cjs → ContainerWidget-fhiIAoZA.cjs} +2 -2
- package/dist/{FluidProvider-C80gc4Yi.mjs → FluidProvider-Bu9N22BI.mjs} +5 -5
- package/dist/{FluidProvider-C80gc4Yi.mjs.map → FluidProvider-Bu9N22BI.mjs.map} +1 -1
- package/dist/{FluidProvider-C6d1TUVm.cjs → FluidProvider-CURmntkw.cjs} +5 -5
- package/dist/{FluidProvider-C6d1TUVm.cjs.map → FluidProvider-CURmntkw.cjs.map} +1 -1
- package/dist/{LayoutWidget-BqUbneWw.cjs → LayoutWidget-CzM4gn1-.cjs} +12 -10
- package/dist/LayoutWidget-CzM4gn1-.cjs.map +1 -0
- package/dist/{LayoutWidget-C1BzDeQI.cjs → LayoutWidget-D-wlt7T1.cjs} +1 -1
- package/dist/{LayoutWidget-D3qYKt9F.mjs → LayoutWidget-DXPXYYd_.mjs} +12 -10
- package/dist/LayoutWidget-DXPXYYd_.mjs.map +1 -0
- package/dist/{MessagingScreen-DKzYThAY.mjs → MessagingScreen-D8_oGy_k.mjs} +2 -2
- package/dist/{MessagingScreen-DKzYThAY.mjs.map → MessagingScreen-D8_oGy_k.mjs.map} +1 -1
- package/dist/{MessagingScreen-D3si8TPx.mjs → MessagingScreen-DwmciO1o.mjs} +4 -4
- package/dist/{MessagingScreen-PZyO11S1.cjs → MessagingScreen-NE1Na8rN.cjs} +4 -4
- package/dist/{MessagingScreen-DqxRu2x3.cjs → MessagingScreen-YvwfkYbW.cjs} +2 -2
- package/dist/{MessagingScreen-DqxRu2x3.cjs.map → MessagingScreen-YvwfkYbW.cjs.map} +1 -1
- package/dist/{OrdersScreen-CpNvxRDC.cjs → OrdersScreen-B81SHSOU.cjs} +29 -20
- package/dist/OrdersScreen-B81SHSOU.cjs.map +1 -0
- package/dist/{OrdersScreen-BuX5aWgx.cjs → OrdersScreen-BtgUuBky.cjs} +4 -4
- package/dist/{OrdersScreen-B2htbQ2Q.mjs → OrdersScreen-BycEvuSw.mjs} +29 -20
- package/dist/OrdersScreen-BycEvuSw.mjs.map +1 -0
- package/dist/{OrdersScreen-Cgjfo2Fs.mjs → OrdersScreen-DYjOpQa2.mjs} +4 -4
- package/dist/{ProfileScreen-DlIXDIeu.cjs → ProfileScreen-B0yVzqyg.cjs} +3 -3
- package/dist/{ProfileScreen-DlIXDIeu.cjs.map → ProfileScreen-B0yVzqyg.cjs.map} +1 -1
- package/dist/{ProfileScreen-BCwdwO_p.mjs → ProfileScreen-BVRnPuRm.mjs} +3 -3
- package/dist/{ProfileScreen-BCwdwO_p.mjs.map → ProfileScreen-BVRnPuRm.mjs.map} +1 -1
- package/dist/{ProfileScreen-D7UA604p.mjs → ProfileScreen-Ckf1a-zh.mjs} +5 -5
- package/dist/{ProfileScreen-MypXufrO.cjs → ProfileScreen-DisEMe-1.cjs} +5 -5
- package/dist/{ShopScreen-29SZwMWF.cjs → ShopScreen-B9uHdQP7.cjs} +2 -2
- package/dist/{ShopScreen-29SZwMWF.cjs.map → ShopScreen-B9uHdQP7.cjs.map} +1 -1
- package/dist/{ShopScreen-BC9NDysQ.cjs → ShopScreen-CEB0iwmF.cjs} +4 -4
- package/dist/{ShopScreen-CgN-6gic.mjs → ShopScreen-CPpJB-Kt.mjs} +2 -2
- package/dist/{ShopScreen-CgN-6gic.mjs.map → ShopScreen-CPpJB-Kt.mjs.map} +1 -1
- package/dist/{ShopScreen-BKVNW6ya.mjs → ShopScreen-DN5Y1HQ7.mjs} +4 -4
- package/dist/{SubscriptionsScreen-Dz6Y_1oD.cjs → SubscriptionsScreen-BTQuJNaY.cjs} +3 -3
- package/dist/{SubscriptionsScreen-Dz6Y_1oD.cjs.map → SubscriptionsScreen-BTQuJNaY.cjs.map} +1 -1
- package/dist/{SubscriptionsScreen-dN42J-MR.cjs → SubscriptionsScreen-C_7vhN3q.cjs} +5 -5
- package/dist/{SubscriptionsScreen-M2WaVHH7.mjs → SubscriptionsScreen-DdazqD1V.mjs} +3 -3
- package/dist/{SubscriptionsScreen-M2WaVHH7.mjs.map → SubscriptionsScreen-DdazqD1V.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-CPiLzWhm.mjs → SubscriptionsScreen-ZkjeOBHH.mjs} +5 -5
- package/dist/{authoring-V0sXg_j4.d.mts → authoring-D0yimRFr.d.mts} +2 -2
- package/dist/{authoring-V0sXg_j4.d.mts.map → authoring-D0yimRFr.d.mts.map} +1 -1
- package/dist/{authoring--rXPyZca.d.cts → authoring-Di7OJapg.d.cts} +2 -2
- package/dist/{authoring--rXPyZca.d.cts.map → authoring-Di7OJapg.d.cts.map} +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.d.cts +2 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -2
- 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.d.cts +1 -1
- package/dist/preview/preview-entry.d.mts +1 -1
- package/dist/preview/preview-entry.mjs +4 -4
- package/dist/{use-portal-card-add-3ds-flow-C0YUg213.cjs → use-portal-card-add-3ds-flow-BxFF4Wew.cjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-C0YUg213.cjs.map → use-portal-card-add-3ds-flow-BxFF4Wew.cjs.map} +1 -1
- package/dist/{use-portal-card-add-3ds-flow-DKXraYw-.mjs → use-portal-card-add-3ds-flow-CphCh5cu.mjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-DKXraYw-.mjs.map → use-portal-card-add-3ds-flow-CphCh5cu.mjs.map} +1 -1
- package/dist/{widget-package-descriptor-ByCz_FNh.d.cts → widget-package-descriptor-Chc8Gb6V.d.cts} +8 -8
- package/dist/widget-package-descriptor-Chc8Gb6V.d.cts.map +1 -0
- package/dist/{widget-package-descriptor-CPIPAdUO.d.mts → widget-package-descriptor-fjHqObKE.d.mts} +8 -8
- package/dist/{widget-package-descriptor-CPIPAdUO.d.mts.map → widget-package-descriptor-fjHqObKE.d.mts.map} +1 -1
- package/dist/{widget-package-utils-BdS0B0pI.mjs → widget-package-utils-BS8mCzgZ.mjs} +2 -2
- package/dist/{widget-package-utils-BdS0B0pI.mjs.map → widget-package-utils-BS8mCzgZ.mjs.map} +1 -1
- package/dist/{widget-package-utils-BWn56ZFw.cjs → widget-package-utils-C0WYunNq.cjs} +2 -2
- package/dist/{widget-package-utils-BWn56ZFw.cjs.map → widget-package-utils-C0WYunNq.cjs.map} +1 -1
- package/dist/widgets/authoring.d.cts +1 -1
- package/dist/widgets/authoring.d.mts +1 -1
- package/package.json +18 -18
- package/dist/LayoutWidget-BqUbneWw.cjs.map +0 -1
- package/dist/LayoutWidget-D3qYKt9F.mjs.map +0 -1
- package/dist/OrdersScreen-B2htbQ2Q.mjs.map +0 -1
- package/dist/OrdersScreen-CpNvxRDC.cjs.map +0 -1
- package/dist/widget-package-descriptor-ByCz_FNh.d.cts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ut as __exportAll } from "./use-account-D70N5avv.mjs";
|
|
2
|
-
import { t as LayoutWidget } from "./LayoutWidget-
|
|
2
|
+
import { t as LayoutWidget } from "./LayoutWidget-DXPXYYd_.mjs";
|
|
3
3
|
import { f as getGapField, m as getPaddingField } from "./registries-CSAha0WD.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-C1Nk6GPZ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerWidget-
|
|
1
|
+
{"version":3,"file":"ContainerWidget-C1Nk6GPZ.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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-9hOWP6kD.cjs");
|
|
2
|
-
const require_LayoutWidget = require("./LayoutWidget-
|
|
2
|
+
const require_LayoutWidget = require("./LayoutWidget-CzM4gn1-.cjs");
|
|
3
3
|
const require_registries = require("./registries-DiCQ4oFx.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-DVQxqY3k.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerWidget-
|
|
1
|
+
{"version":3,"file":"ContainerWidget-DVQxqY3k.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"}
|
|
@@ -3,8 +3,8 @@ require("./ScreenRenderer-Ce8MJPnR.cjs");
|
|
|
3
3
|
require("./registry-context-Ds0_y48D.cjs");
|
|
4
4
|
require("./translation-api-context-factory-B6BS_JmA.cjs");
|
|
5
5
|
require("./shell-translation-api-context-uGur0Kah.cjs");
|
|
6
|
-
require("./LayoutWidget-
|
|
6
|
+
require("./LayoutWidget-CzM4gn1-.cjs");
|
|
7
7
|
require("./registries-DiCQ4oFx.cjs");
|
|
8
8
|
require("./fields-D__8kJeJ.cjs");
|
|
9
|
-
const require_ContainerWidget = require("./ContainerWidget-
|
|
9
|
+
const require_ContainerWidget = require("./ContainerWidget-DVQxqY3k.cjs");
|
|
10
10
|
exports.containerWidgetPropertySchema = require_ContainerWidget.containerWidgetPropertySchema;
|
|
@@ -12,7 +12,7 @@ import { n as ShellTranslationProvider } from "./shell-translation-api-context-S
|
|
|
12
12
|
import { n as WidgetsApiProvider } from "./error-state-7TTlrxt0.mjs";
|
|
13
13
|
import { a as titleCaseFromSnake, t as PointsWidget } from "./PointsWidget-C3oNVD91.mjs";
|
|
14
14
|
import { o as ShopTranslationProvider, t as ShopWidget } from "./ShopWidget-YMXis5SJ.mjs";
|
|
15
|
-
import { t as LayoutWidget } from "./LayoutWidget-
|
|
15
|
+
import { t as LayoutWidget } from "./LayoutWidget-DXPXYYd_.mjs";
|
|
16
16
|
import { t as TextWidget } from "./TextWidget-CRo4AN5-.mjs";
|
|
17
17
|
import { t as AlertWidget } from "./AlertWidget-B5aibm-v.mjs";
|
|
18
18
|
import { t as BulletListWidget } from "./BulletListWidget-CSogQ3cu.mjs";
|
|
@@ -20,7 +20,7 @@ import { t as CalendarWidget } from "./CalendarWidget--EIsxRov.mjs";
|
|
|
20
20
|
import { t as CardWidget } from "./CardWidget-cIc9cOG9.mjs";
|
|
21
21
|
import { t as CarouselWidget } from "./CarouselWidget-BTbRZPWn.mjs";
|
|
22
22
|
import { t as ChartWidget } from "./ChartWidget-B4vLdttP.mjs";
|
|
23
|
-
import { t as ContainerWidget } from "./ContainerWidget-
|
|
23
|
+
import { t as ContainerWidget } from "./ContainerWidget-C1Nk6GPZ.mjs";
|
|
24
24
|
import { t as EmbedWidget } from "./EmbedWidget-p_Ybl0em.mjs";
|
|
25
25
|
import { t as ImageWidget } from "./ImageWidget-WtC8Rg1y.mjs";
|
|
26
26
|
import { t as LinkWidget } from "./LinkWidget-mKyp0LGz.mjs";
|
|
@@ -7403,10 +7403,10 @@ const widgetPropertySchemas = {
|
|
|
7403
7403
|
CarouselWidget: () => import("./CarouselWidget-BTbRZPWn.mjs").then((n) => n.n).then((m) => m.carouselWidgetPropertySchema),
|
|
7404
7404
|
CatchUpWidget: () => import("./CatchUpWidget-qNrDLfXJ.mjs").then((n) => n.n).then((m) => m.catchUpWidgetPropertySchema),
|
|
7405
7405
|
ChartWidget: () => import("./ChartWidget-B4vLdttP.mjs").then((n) => n.n).then((m) => m.chartWidgetPropertySchema),
|
|
7406
|
-
ContainerWidget: () => import("./ContainerWidget-
|
|
7406
|
+
ContainerWidget: () => import("./ContainerWidget-C1Nk6GPZ.mjs").then((n) => n.n).then((m) => m.containerWidgetPropertySchema),
|
|
7407
7407
|
EmbedWidget: () => import("./EmbedWidget-p_Ybl0em.mjs").then((n) => n.n).then((m) => m.embedWidgetPropertySchema),
|
|
7408
7408
|
ImageWidget: () => import("./ImageWidget-WtC8Rg1y.mjs").then((n) => n.n).then((m) => m.imageWidgetPropertySchema),
|
|
7409
|
-
LayoutWidget: () => import("./LayoutWidget-
|
|
7409
|
+
LayoutWidget: () => import("./LayoutWidget-DXPXYYd_.mjs").then((n) => n.n).then((m) => m.layoutWidgetPropertySchema),
|
|
7410
7410
|
LinkWidget: () => import("./LinkWidget-mKyp0LGz.mjs").then((n) => n.n).then((m) => m.linkWidgetPropertySchema),
|
|
7411
7411
|
ListWidget: () => import("./ListWidget-CRzXIlzF.mjs").then((n) => n.n).then((m) => m.listWidgetPropertySchema),
|
|
7412
7412
|
MySiteWidget: () => import("./MySiteWidget-CY8eXMWv.mjs").then((n) => n.n).then((m) => m.mySiteWidgetPropertySchema),
|
|
@@ -8778,4 +8778,4 @@ function useFluidContext() {
|
|
|
8778
8778
|
//#endregion
|
|
8779
8779
|
export { createPersister as $, DEFAULT_FONT_SIZES as A, parseColor as B, buildThemeDefinition as C, serialiseTheme as D, deserialiseTheme as E, getDefaultThemeDefinition as F, SEMANTIC_COLOR_NAMES as G, FONT_FAMILY_KEYS as H, generateThemeCSS as I, useAddressFieldsApiOptional as J, ApiError as K, deriveDarkVariant as L, DEFAULT_SPACING as M, DEFAULT_THEME_ID as N, DEFAULT_COLORS as O, DEFAULT_THEME_NAME as P, useAppDefinitionApi as Q, getForegroundColor as R, removeTheme as S, transformThemes as T, FONT_SIZE_KEYS as U, resolveTheme as V, RADIUS_KEYS as W, useLanguagesApi as X, useAddressAutocompleteApi as Y, usePayApi as Z, shellEn as _, messagingDomain as a, applyTheme as b, createSubscriptionsTranslationAdapter as c, ordersDomain as d, deleteDatabase as et, DEFAULT_SDK_WIDGET_REGISTRY as f, createWidgetRegistry as g, createWidgetFromShareable as h, createMessagingTranslationAdapter as i, DEFAULT_RADII as j, DEFAULT_FONT_FAMILIES as k, subscriptionsDomain as l, createScreen as m, useFluidContext as n, createProfileTranslationAdapter as o, widgetPropertySchemas as p, isApiError as q, SUPPORTED_LANGUAGES as r, profileDomain as s, FluidProvider as t, createOrdersTranslationAdapter as u, FluidThemeProvider as v, getActiveThemeId as w, removeAllThemes as x, useThemeContext as y, mergeDarkOverrides as z };
|
|
8780
8780
|
|
|
8781
|
-
//# sourceMappingURL=FluidProvider-
|
|
8781
|
+
//# sourceMappingURL=FluidProvider-Bu9N22BI.mjs.map
|