@fluid-app/portal-sdk 0.1.455 → 0.1.456
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/{AlertWidget-CdWJXZn1.mjs → AlertWidget-BtkVIGr9.mjs} +2 -2
- package/dist/{AlertWidget-CdWJXZn1.mjs.map → AlertWidget-BtkVIGr9.mjs.map} +1 -1
- package/dist/{AlertWidget-BJekf1r1.cjs → AlertWidget-C5sAMhqU.cjs} +2 -2
- package/dist/{AlertWidget-BJekf1r1.cjs.map → AlertWidget-C5sAMhqU.cjs.map} +1 -1
- package/dist/{ContactsScreen-DsHXXYfF.cjs → ContactsScreen-BTCUeDHl.cjs} +1 -1
- package/dist/{ContactsScreen-TO0LAuHz.cjs → ContactsScreen-Cu6-ckm9.cjs} +23 -13
- package/dist/ContactsScreen-Cu6-ckm9.cjs.map +1 -0
- package/dist/{ContactsScreen-DhMQm4w2.mjs → ContactsScreen-D0l3-Xof.mjs} +23 -13
- package/dist/ContactsScreen-D0l3-Xof.mjs.map +1 -0
- package/dist/{FluidProvider-CA_HAl9a.mjs → FluidProvider-CbA8KrhD.mjs} +2 -2
- package/dist/{FluidProvider-CA_HAl9a.mjs.map → FluidProvider-CbA8KrhD.mjs.map} +1 -1
- package/dist/{FluidProvider-BULkBuyn.cjs → FluidProvider-JiGJqJQe.cjs} +2 -2
- package/dist/{FluidProvider-BULkBuyn.cjs.map → FluidProvider-JiGJqJQe.cjs.map} +1 -1
- package/dist/{MessagingScreen-DWH9xBbq.cjs → MessagingScreen-BeUhzBWr.cjs} +2 -2
- package/dist/{MessagingScreen-DWH9xBbq.cjs.map → MessagingScreen-BeUhzBWr.cjs.map} +1 -1
- package/dist/{MessagingScreen-CYOGaqKX.mjs → MessagingScreen-BtdVeSR5.mjs} +2 -2
- package/dist/{MessagingScreen-CYOGaqKX.mjs.map → MessagingScreen-BtdVeSR5.mjs.map} +1 -1
- package/dist/{MessagingScreen-B_nyIg2b.cjs → MessagingScreen-D6Bxoq0a.cjs} +5 -5
- package/dist/{MessagingScreen-BG6clVDQ.mjs → MessagingScreen-Dt6Rwk7_.mjs} +5 -5
- package/dist/{OrdersScreen-DMlrdteQ.mjs → OrdersScreen-1kPmXJga.mjs} +5 -5
- package/dist/{OrdersScreen-Dh_nsi8j.cjs → OrdersScreen-BSwESoF3.cjs} +2 -2
- package/dist/{OrdersScreen-Dh_nsi8j.cjs.map → OrdersScreen-BSwESoF3.cjs.map} +1 -1
- package/dist/{OrdersScreen-CfchcnYB.cjs → OrdersScreen-BirJq38x.cjs} +5 -5
- package/dist/{OrdersScreen-CBF6uZSk.mjs → OrdersScreen-fZFg1l1W.mjs} +2 -2
- package/dist/{OrdersScreen-CBF6uZSk.mjs.map → OrdersScreen-fZFg1l1W.mjs.map} +1 -1
- package/dist/{ProfileScreen-CbYASEr9.mjs → ProfileScreen-Bqv7MNPH.mjs} +6 -6
- package/dist/{ProfileScreen-CXqMOEza.cjs → ProfileScreen-BvxuA9P4.cjs} +3 -3
- package/dist/{ProfileScreen-CXqMOEza.cjs.map → ProfileScreen-BvxuA9P4.cjs.map} +1 -1
- package/dist/{ProfileScreen-t2V-W4Dv.cjs → ProfileScreen-CirvTBwX.cjs} +6 -6
- package/dist/{ProfileScreen-DlPK9S_Q.mjs → ProfileScreen-Dj1pTzLz.mjs} +3 -3
- package/dist/{ProfileScreen-DlPK9S_Q.mjs.map → ProfileScreen-Dj1pTzLz.mjs.map} +1 -1
- package/dist/{ShopScreen-BWDYXw4Q.cjs → ShopScreen-3ryiBWeh.cjs} +5 -5
- package/dist/{ShopScreen-BnuiYHKY.mjs → ShopScreen-BKWFrPHB.mjs} +2 -2
- package/dist/{ShopScreen-BnuiYHKY.mjs.map → ShopScreen-BKWFrPHB.mjs.map} +1 -1
- package/dist/{ShopScreen-CrObPeSv.cjs → ShopScreen-C3vwiETG.cjs} +2 -2
- package/dist/{ShopScreen-CrObPeSv.cjs.map → ShopScreen-C3vwiETG.cjs.map} +1 -1
- package/dist/{ShopScreen-1vtAE4X7.mjs → ShopScreen-CfvCqYJ9.mjs} +5 -5
- package/dist/{SubscriptionsScreen-BlB3Ppoa.cjs → SubscriptionsScreen-COBaRHDG.cjs} +6 -6
- package/dist/{SubscriptionsScreen-Bjdz5fx-.cjs → SubscriptionsScreen-DWB0E5Hu.cjs} +3 -3
- package/dist/{SubscriptionsScreen-Bjdz5fx-.cjs.map → SubscriptionsScreen-DWB0E5Hu.cjs.map} +1 -1
- package/dist/{SubscriptionsScreen-DyjmAOvJ.mjs → SubscriptionsScreen-Dv7PjXwb.mjs} +3 -3
- package/dist/{SubscriptionsScreen-DyjmAOvJ.mjs.map → SubscriptionsScreen-Dv7PjXwb.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-CBIjEFKA.mjs → SubscriptionsScreen-G64lYG5v.mjs} +6 -6
- package/dist/{TextWidget-CY71e66E.cjs → TextWidget-CNks2l1S.cjs} +4 -3
- package/dist/TextWidget-CNks2l1S.cjs.map +1 -0
- package/dist/{TextWidget-B-2RFD_g.mjs → TextWidget-cnDl92rJ.mjs} +4 -3
- package/dist/TextWidget-cnDl92rJ.mjs.map +1 -0
- package/dist/{build-widget-registry-L8a9-O3A.cjs → build-widget-registry-7slNHtKU.cjs} +5 -5
- package/dist/{build-widget-registry-L8a9-O3A.cjs.map → build-widget-registry-7slNHtKU.cjs.map} +1 -1
- package/dist/{build-widget-registry-Dy8S7Ggy.mjs → build-widget-registry-BZjLacQ8.mjs} +5 -5
- package/dist/{build-widget-registry-Dy8S7Ggy.mjs.map → build-widget-registry-BZjLacQ8.mjs.map} +1 -1
- package/dist/index.cjs +23 -23
- package/dist/index.d.cts +7 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +7 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +23 -23
- package/dist/{use-portal-card-add-3ds-flow-Dt29-X8z.cjs → use-portal-card-add-3ds-flow-C_Frj80d.cjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-Dt29-X8z.cjs.map → use-portal-card-add-3ds-flow-C_Frj80d.cjs.map} +1 -1
- package/dist/{use-portal-card-add-3ds-flow-B4wqRVNt.mjs → use-portal-card-add-3ds-flow-tvSUKAvl.mjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-B4wqRVNt.mjs.map → use-portal-card-add-3ds-flow-tvSUKAvl.mjs.map} +1 -1
- package/dist/utils/build-remote-widget-plugin-manifests.cjs +3 -3
- package/dist/utils/build-remote-widget-plugin-manifests.mjs +3 -3
- package/package.json +15 -15
- package/dist/ContactsScreen-DhMQm4w2.mjs.map +0 -1
- package/dist/ContactsScreen-TO0LAuHz.cjs.map +0 -1
- package/dist/TextWidget-B-2RFD_g.mjs.map +0 -1
- package/dist/TextWidget-CY71e66E.cjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./translation-adapter-RsuBioxm.mjs";
|
|
2
|
-
import "./build-widget-registry-
|
|
2
|
+
import "./build-widget-registry-BZjLacQ8.mjs";
|
|
3
3
|
import "./ScreenRenderer-BQz-1cCn.mjs";
|
|
4
4
|
import "./use-account-DR6HXMw_.mjs";
|
|
5
5
|
import "./use-optional-store-DpB_jK4Q.mjs";
|
|
6
|
-
import "./FluidProvider-
|
|
6
|
+
import "./FluidProvider-CbA8KrhD.mjs";
|
|
7
7
|
import "./mysite-api-context-BbxSfNft.mjs";
|
|
8
8
|
import "./ContactsTranslationBridge-DCSWCdyq.mjs";
|
|
9
9
|
import "./registry-context-l1jip-6W.mjs";
|
|
@@ -22,8 +22,8 @@ import "./task-composer-form-DzVUCin2.mjs";
|
|
|
22
22
|
import "./LayoutWidget-ENLd1G__.mjs";
|
|
23
23
|
import "./registries-DXVOnKV2.mjs";
|
|
24
24
|
import "./fields-Cz7BkKd6.mjs";
|
|
25
|
-
import "./TextWidget-
|
|
26
|
-
import "./AlertWidget-
|
|
25
|
+
import "./TextWidget-cnDl92rJ.mjs";
|
|
26
|
+
import "./AlertWidget-BtkVIGr9.mjs";
|
|
27
27
|
import "./BulletListWidget-DZrlNEa4.mjs";
|
|
28
28
|
import "./preview-context-DvXxVZ0z.mjs";
|
|
29
29
|
import "./CalendarWidget-DwZ5hrXx.mjs";
|
|
@@ -33,7 +33,7 @@ import "./MediaRenderer-DflyyaXq.mjs";
|
|
|
33
33
|
import "./CarouselWidget-DEyRWj_S.mjs";
|
|
34
34
|
import "./CatchUpWidget-dROZKeGW.mjs";
|
|
35
35
|
import "./src-v1U7mjgR.mjs";
|
|
36
|
-
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-
|
|
36
|
+
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-Dv7PjXwb.mjs";
|
|
37
37
|
import "./ChartWidget-LcbtV1uD.mjs";
|
|
38
38
|
import "./ContainerWidget-bbzSrNUJ.mjs";
|
|
39
39
|
import "./EmbedWidget-EjCuOFOz.mjs";
|
|
@@ -53,6 +53,6 @@ import "./ShopWidget-CwiD88Sr.mjs";
|
|
|
53
53
|
import "./translation-adapter-DfT1IP6Z.mjs";
|
|
54
54
|
import "./translation-adapter-C-L9dSVl.mjs";
|
|
55
55
|
import "./ScreenHeaderContext-C3QlbYCB.mjs";
|
|
56
|
-
import "./use-portal-card-add-3ds-flow-
|
|
56
|
+
import "./use-portal-card-add-3ds-flow-tvSUKAvl.mjs";
|
|
57
57
|
import "./display-CG8t6Bv8.mjs";
|
|
58
58
|
export { SubscriptionsScreen, subscriptionsScreenPropertySchema };
|
|
@@ -12,10 +12,11 @@ const textAlignmentClasses = {
|
|
|
12
12
|
center: "text-center",
|
|
13
13
|
right: "text-right"
|
|
14
14
|
};
|
|
15
|
-
function TextWidget({ titleEnabled = true, title = "Text Widget", titleFontSize = "xl", titleFontWeight = "bold", titleColor = "foreground", titleAlignment = "left", description
|
|
15
|
+
function TextWidget({ titleEnabled = true, title = "Text Widget", titleFontSize = "xl", titleFontWeight = "bold", titleColor = "foreground", titleAlignment = "left", description, content, descriptionFontSize = "md", descriptionFontWeight = "normal", descriptionColor = "foreground", descriptionAlignment = "left", background = {
|
|
16
16
|
type: "solid",
|
|
17
17
|
color: "background"
|
|
18
18
|
}, padding = 4, borderRadius = "md", borderWidth = "none", borderColor = "muted", className, ...props }) {
|
|
19
|
+
const resolvedDescription = description ?? content ?? "This is a text widget";
|
|
19
20
|
const backgroundColor = background.color || "background";
|
|
20
21
|
const backgroundImage = (background.resource?.image_url || background.resource?.imageUrl) && background.type === "image" ? `url(${background.resource.image_url || background.resource.imageUrl})` : "none";
|
|
21
22
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -27,7 +28,7 @@ function TextWidget({ titleEnabled = true, title = "Text Widget", titleFontSize
|
|
|
27
28
|
children: title
|
|
28
29
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
29
30
|
className: `text-${descriptionFontSize} text-${descriptionColor} ${textAlignmentClasses[descriptionAlignment]} font-${descriptionFontWeight}`,
|
|
30
|
-
children:
|
|
31
|
+
children: resolvedDescription
|
|
31
32
|
})]
|
|
32
33
|
});
|
|
33
34
|
}
|
|
@@ -235,4 +236,4 @@ Object.defineProperty(exports, "textWidgetPropertySchema", {
|
|
|
235
236
|
}
|
|
236
237
|
});
|
|
237
238
|
|
|
238
|
-
//# sourceMappingURL=TextWidget-
|
|
239
|
+
//# sourceMappingURL=TextWidget-CNks2l1S.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextWidget-CNks2l1S.cjs","names":["borderWidthClasses","borderColorClasses","getFontSizeField","getFontWeightField","getColorField","AlignLeft","AlignCenter","AlignRight","getPaddingField","getBorderRadiusField","getBorderWidthField","getBorderColorField"],"sources":["../../widgets/src/widgets/TextWidget.tsx"],"sourcesContent":["import type { WidgetPropertySchema } from \"@fluid-app/portal-core/registries\";\nimport type { ComponentProps } from \"react\";\nimport type React from \"react\";\nimport {\n getBorderRadiusField,\n getBorderWidthField,\n getBorderColorField,\n getColorField,\n getFontSizeField,\n getFontWeightField,\n getPaddingField,\n borderWidthClasses,\n borderColorClasses,\n} from \"../core/fields\";\nimport type {\n BackgroundValue,\n BorderRadiusOptions,\n BorderWidthOptions,\n ColorOptions,\n FontSizeOptions,\n FontWeightOptions,\n PaddingOptions,\n} from \"@fluid-app/portal-core/types\";\nimport { AlignCenter, AlignLeft, AlignRight } from \"lucide-react\";\n\ntype TextAlignment = \"left\" | \"center\" | \"right\";\n\nconst textAlignmentClasses: Record<TextAlignment, string> = {\n left: \"text-left\",\n center: \"text-center\",\n right: \"text-right\",\n} as const;\n\ntype TextWidgetProps = ComponentProps<\"div\"> & {\n // Title\n titleEnabled?: boolean;\n title?: string;\n titleFontSize?: FontSizeOptions;\n titleFontWeight?: FontWeightOptions;\n titleColor?: ColorOptions;\n titleAlignment?: TextAlignment;\n\n // Description\n description?: string;\n /**\n * Alias for `description`. Authoring tools and agents reach for `content`\n * often enough that silently dropping it (and rendering placeholder copy)\n * reads as a broken widget — accept it, lowest precedence.\n */\n content?: string;\n descriptionFontSize?: FontSizeOptions;\n descriptionFontWeight?: FontWeightOptions;\n descriptionColor?: ColorOptions;\n descriptionAlignment?: TextAlignment;\n\n // Styling\n background?: BackgroundValue;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n borderWidth?: BorderWidthOptions;\n borderColor?: ColorOptions;\n};\n\nexport function TextWidget({\n titleEnabled = true,\n title = \"Text Widget\",\n titleFontSize = \"xl\",\n titleFontWeight = \"bold\",\n titleColor = \"foreground\",\n titleAlignment = \"left\",\n description,\n content,\n descriptionFontSize = \"md\",\n descriptionFontWeight = \"normal\",\n descriptionColor = \"foreground\",\n descriptionAlignment = \"left\",\n background = {\n type: \"solid\",\n color: \"background\",\n },\n padding = 4,\n borderRadius = \"md\",\n borderWidth = \"none\",\n borderColor = \"muted\",\n className,\n ...props\n}: TextWidgetProps): React.JSX.Element {\n const resolvedDescription = description ?? content ?? \"This is a text widget\";\n const backgroundColor = background.color || \"background\";\n const backgroundImage =\n (background.resource?.image_url || background.resource?.imageUrl) &&\n background.type === \"image\"\n ? `url(${background.resource.image_url || background.resource.imageUrl})`\n : \"none\";\n return (\n <div\n className={`bg-${backgroundColor} p-${padding} rounded-${borderRadius} ${borderWidthClasses[borderWidth]} ${borderWidth !== \"none\" ? borderColorClasses[borderColor] : \"\"} ${className ?? \"\"}`}\n style={{ backgroundImage }}\n {...props}\n >\n {titleEnabled && (\n <h2\n className={`text-${titleFontSize} text-${titleColor} ${textAlignmentClasses[titleAlignment]} font-header font-${titleFontWeight}`}\n >\n {title}\n </h2>\n )}\n <p\n className={`text-${descriptionFontSize} text-${descriptionColor} ${textAlignmentClasses[descriptionAlignment]} font-${descriptionFontWeight}`}\n >\n {resolvedDescription}\n </p>\n </div>\n );\n}\n\nexport const textWidgetPropertySchema: WidgetPropertySchema = {\n widgetType: \"TextWidget\",\n displayName: \"Text Widget\",\n tabsConfig: [{ id: \"content\", label: \"Content\" }],\n dataSourceTargetProps: [\"title\", \"description\"],\n fields: [\n // Content Tab - Title Group\n {\n key: \"titleEnabled\",\n label: \"Widget Title\",\n type: \"boolean\",\n description: \"Enable the title displayed above the text\",\n defaultValue: true,\n tab: \"content\",\n group: \"Title\",\n },\n {\n key: \"title\",\n label: \"Title\",\n type: \"text\",\n description: \"The title\",\n defaultValue: \"Heads up!\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n },\n getFontSizeField({\n key: \"titleFontSize\",\n label: \"Title Font Size\",\n description: \"Font size for the title\",\n defaultValue: \"xl\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n }),\n getFontWeightField({\n key: \"titleFontWeight\",\n label: \"Title Font Weight\",\n description: \"Font weight for the title\",\n defaultValue: \"bold\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n }),\n getColorField({\n key: \"titleColor\",\n label: \"Title Color\",\n description: \"The color of the title\",\n defaultValue: \"foreground\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n }),\n {\n key: \"titleAlignment\",\n label: \"Alignment\",\n type: \"buttonGroup\",\n description: \"Text alignment for the title\",\n options: [\n { icon: AlignLeft, ariaLabel: \"Align left\", value: \"left\" },\n { icon: AlignCenter, ariaLabel: \"Align center\", value: \"center\" },\n { icon: AlignRight, ariaLabel: \"Align right\", value: \"right\" },\n ],\n defaultValue: \"left\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n },\n // Content Tab - Description Group\n {\n key: \"description\",\n label: \"Description\",\n type: \"textarea\",\n description: \"The text message\",\n rows: 3,\n defaultValue:\n \"You can add components and dependencies to your app using the cli.\",\n tab: \"content\",\n group: \"Description\",\n },\n getFontSizeField({\n key: \"descriptionFontSize\",\n label: \"Description Font Size\",\n description: \"Font size for the text\",\n defaultValue: \"md\",\n tab: \"content\",\n group: \"Description\",\n }),\n getFontWeightField({\n key: \"descriptionFontWeight\",\n label: \"Description Font Weight\",\n description: \"Font weight for the text\",\n defaultValue: \"normal\",\n tab: \"content\",\n group: \"Description\",\n }),\n getColorField({\n key: \"descriptionColor\",\n label: \"Description Color\",\n description: \"The color of the text\",\n defaultValue: \"foreground\",\n tab: \"content\",\n group: \"Description\",\n }),\n {\n key: \"descriptionAlignment\",\n label: \"Alignment\",\n type: \"buttonGroup\",\n description: \"Text alignment for the description\",\n options: [\n { icon: AlignLeft, ariaLabel: \"Align left\", value: \"left\" },\n { icon: AlignCenter, ariaLabel: \"Align center\", value: \"center\" },\n { icon: AlignRight, ariaLabel: \"Align right\", value: \"right\" },\n ],\n defaultValue: \"left\",\n tab: \"content\",\n group: \"Description\",\n },\n // Content Tab - Style Group\n {\n type: \"background\",\n key: \"background\",\n label: \"Background\",\n description: \"Background for the text container\",\n defaultValue: \"background\",\n tab: \"content\",\n group: \"Style\",\n },\n getPaddingField({\n key: \"padding\",\n label: \"Padding\",\n description: \"The padding of the text container\",\n defaultValue: 4,\n tab: \"content\",\n group: \"Style\",\n }),\n getBorderRadiusField({\n key: \"borderRadius\",\n description: \"The border radius of the text container\",\n label: \"Border Radius\",\n tab: \"content\",\n group: \"Design\",\n }),\n getBorderWidthField({\n key: \"borderWidth\",\n label: \"Border Width\",\n description: \"The border width of the text container\",\n defaultValue: \"none\",\n tab: \"content\",\n group: \"Design\",\n }),\n getBorderColorField({\n key: \"borderColor\",\n label: \"Border Color\",\n description: \"The border color of the text container\",\n defaultValue: \"muted\",\n tab: \"content\",\n group: \"Design\",\n }),\n ],\n};\n"],"mappings":"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"}
|
|
@@ -12,10 +12,11 @@ const textAlignmentClasses = {
|
|
|
12
12
|
center: "text-center",
|
|
13
13
|
right: "text-right"
|
|
14
14
|
};
|
|
15
|
-
function TextWidget({ titleEnabled = true, title = "Text Widget", titleFontSize = "xl", titleFontWeight = "bold", titleColor = "foreground", titleAlignment = "left", description
|
|
15
|
+
function TextWidget({ titleEnabled = true, title = "Text Widget", titleFontSize = "xl", titleFontWeight = "bold", titleColor = "foreground", titleAlignment = "left", description, content, descriptionFontSize = "md", descriptionFontWeight = "normal", descriptionColor = "foreground", descriptionAlignment = "left", background = {
|
|
16
16
|
type: "solid",
|
|
17
17
|
color: "background"
|
|
18
18
|
}, padding = 4, borderRadius = "md", borderWidth = "none", borderColor = "muted", className, ...props }) {
|
|
19
|
+
const resolvedDescription = description ?? content ?? "This is a text widget";
|
|
19
20
|
const backgroundColor = background.color || "background";
|
|
20
21
|
const backgroundImage = (background.resource?.image_url || background.resource?.imageUrl) && background.type === "image" ? `url(${background.resource.image_url || background.resource.imageUrl})` : "none";
|
|
21
22
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -27,7 +28,7 @@ function TextWidget({ titleEnabled = true, title = "Text Widget", titleFontSize
|
|
|
27
28
|
children: title
|
|
28
29
|
}), /* @__PURE__ */ jsx("p", {
|
|
29
30
|
className: `text-${descriptionFontSize} text-${descriptionColor} ${textAlignmentClasses[descriptionAlignment]} font-${descriptionFontWeight}`,
|
|
30
|
-
children:
|
|
31
|
+
children: resolvedDescription
|
|
31
32
|
})]
|
|
32
33
|
});
|
|
33
34
|
}
|
|
@@ -218,4 +219,4 @@ const textWidgetPropertySchema = {
|
|
|
218
219
|
//#endregion
|
|
219
220
|
export { TextWidget_exports as n, textWidgetPropertySchema as r, TextWidget as t };
|
|
220
221
|
|
|
221
|
-
//# sourceMappingURL=TextWidget-
|
|
222
|
+
//# sourceMappingURL=TextWidget-cnDl92rJ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextWidget-cnDl92rJ.mjs","names":[],"sources":["../../widgets/src/widgets/TextWidget.tsx"],"sourcesContent":["import type { WidgetPropertySchema } from \"@fluid-app/portal-core/registries\";\nimport type { ComponentProps } from \"react\";\nimport type React from \"react\";\nimport {\n getBorderRadiusField,\n getBorderWidthField,\n getBorderColorField,\n getColorField,\n getFontSizeField,\n getFontWeightField,\n getPaddingField,\n borderWidthClasses,\n borderColorClasses,\n} from \"../core/fields\";\nimport type {\n BackgroundValue,\n BorderRadiusOptions,\n BorderWidthOptions,\n ColorOptions,\n FontSizeOptions,\n FontWeightOptions,\n PaddingOptions,\n} from \"@fluid-app/portal-core/types\";\nimport { AlignCenter, AlignLeft, AlignRight } from \"lucide-react\";\n\ntype TextAlignment = \"left\" | \"center\" | \"right\";\n\nconst textAlignmentClasses: Record<TextAlignment, string> = {\n left: \"text-left\",\n center: \"text-center\",\n right: \"text-right\",\n} as const;\n\ntype TextWidgetProps = ComponentProps<\"div\"> & {\n // Title\n titleEnabled?: boolean;\n title?: string;\n titleFontSize?: FontSizeOptions;\n titleFontWeight?: FontWeightOptions;\n titleColor?: ColorOptions;\n titleAlignment?: TextAlignment;\n\n // Description\n description?: string;\n /**\n * Alias for `description`. Authoring tools and agents reach for `content`\n * often enough that silently dropping it (and rendering placeholder copy)\n * reads as a broken widget — accept it, lowest precedence.\n */\n content?: string;\n descriptionFontSize?: FontSizeOptions;\n descriptionFontWeight?: FontWeightOptions;\n descriptionColor?: ColorOptions;\n descriptionAlignment?: TextAlignment;\n\n // Styling\n background?: BackgroundValue;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n borderWidth?: BorderWidthOptions;\n borderColor?: ColorOptions;\n};\n\nexport function TextWidget({\n titleEnabled = true,\n title = \"Text Widget\",\n titleFontSize = \"xl\",\n titleFontWeight = \"bold\",\n titleColor = \"foreground\",\n titleAlignment = \"left\",\n description,\n content,\n descriptionFontSize = \"md\",\n descriptionFontWeight = \"normal\",\n descriptionColor = \"foreground\",\n descriptionAlignment = \"left\",\n background = {\n type: \"solid\",\n color: \"background\",\n },\n padding = 4,\n borderRadius = \"md\",\n borderWidth = \"none\",\n borderColor = \"muted\",\n className,\n ...props\n}: TextWidgetProps): React.JSX.Element {\n const resolvedDescription = description ?? content ?? \"This is a text widget\";\n const backgroundColor = background.color || \"background\";\n const backgroundImage =\n (background.resource?.image_url || background.resource?.imageUrl) &&\n background.type === \"image\"\n ? `url(${background.resource.image_url || background.resource.imageUrl})`\n : \"none\";\n return (\n <div\n className={`bg-${backgroundColor} p-${padding} rounded-${borderRadius} ${borderWidthClasses[borderWidth]} ${borderWidth !== \"none\" ? borderColorClasses[borderColor] : \"\"} ${className ?? \"\"}`}\n style={{ backgroundImage }}\n {...props}\n >\n {titleEnabled && (\n <h2\n className={`text-${titleFontSize} text-${titleColor} ${textAlignmentClasses[titleAlignment]} font-header font-${titleFontWeight}`}\n >\n {title}\n </h2>\n )}\n <p\n className={`text-${descriptionFontSize} text-${descriptionColor} ${textAlignmentClasses[descriptionAlignment]} font-${descriptionFontWeight}`}\n >\n {resolvedDescription}\n </p>\n </div>\n );\n}\n\nexport const textWidgetPropertySchema: WidgetPropertySchema = {\n widgetType: \"TextWidget\",\n displayName: \"Text Widget\",\n tabsConfig: [{ id: \"content\", label: \"Content\" }],\n dataSourceTargetProps: [\"title\", \"description\"],\n fields: [\n // Content Tab - Title Group\n {\n key: \"titleEnabled\",\n label: \"Widget Title\",\n type: \"boolean\",\n description: \"Enable the title displayed above the text\",\n defaultValue: true,\n tab: \"content\",\n group: \"Title\",\n },\n {\n key: \"title\",\n label: \"Title\",\n type: \"text\",\n description: \"The title\",\n defaultValue: \"Heads up!\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n },\n getFontSizeField({\n key: \"titleFontSize\",\n label: \"Title Font Size\",\n description: \"Font size for the title\",\n defaultValue: \"xl\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n }),\n getFontWeightField({\n key: \"titleFontWeight\",\n label: \"Title Font Weight\",\n description: \"Font weight for the title\",\n defaultValue: \"bold\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n }),\n getColorField({\n key: \"titleColor\",\n label: \"Title Color\",\n description: \"The color of the title\",\n defaultValue: \"foreground\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n }),\n {\n key: \"titleAlignment\",\n label: \"Alignment\",\n type: \"buttonGroup\",\n description: \"Text alignment for the title\",\n options: [\n { icon: AlignLeft, ariaLabel: \"Align left\", value: \"left\" },\n { icon: AlignCenter, ariaLabel: \"Align center\", value: \"center\" },\n { icon: AlignRight, ariaLabel: \"Align right\", value: \"right\" },\n ],\n defaultValue: \"left\",\n tab: \"content\",\n group: \"Title\",\n requiresKeyToBeTrue: \"titleEnabled\",\n },\n // Content Tab - Description Group\n {\n key: \"description\",\n label: \"Description\",\n type: \"textarea\",\n description: \"The text message\",\n rows: 3,\n defaultValue:\n \"You can add components and dependencies to your app using the cli.\",\n tab: \"content\",\n group: \"Description\",\n },\n getFontSizeField({\n key: \"descriptionFontSize\",\n label: \"Description Font Size\",\n description: \"Font size for the text\",\n defaultValue: \"md\",\n tab: \"content\",\n group: \"Description\",\n }),\n getFontWeightField({\n key: \"descriptionFontWeight\",\n label: \"Description Font Weight\",\n description: \"Font weight for the text\",\n defaultValue: \"normal\",\n tab: \"content\",\n group: \"Description\",\n }),\n getColorField({\n key: \"descriptionColor\",\n label: \"Description Color\",\n description: \"The color of the text\",\n defaultValue: \"foreground\",\n tab: \"content\",\n group: \"Description\",\n }),\n {\n key: \"descriptionAlignment\",\n label: \"Alignment\",\n type: \"buttonGroup\",\n description: \"Text alignment for the description\",\n options: [\n { icon: AlignLeft, ariaLabel: \"Align left\", value: \"left\" },\n { icon: AlignCenter, ariaLabel: \"Align center\", value: \"center\" },\n { icon: AlignRight, ariaLabel: \"Align right\", value: \"right\" },\n ],\n defaultValue: \"left\",\n tab: \"content\",\n group: \"Description\",\n },\n // Content Tab - Style Group\n {\n type: \"background\",\n key: \"background\",\n label: \"Background\",\n description: \"Background for the text container\",\n defaultValue: \"background\",\n tab: \"content\",\n group: \"Style\",\n },\n getPaddingField({\n key: \"padding\",\n label: \"Padding\",\n description: \"The padding of the text container\",\n defaultValue: 4,\n tab: \"content\",\n group: \"Style\",\n }),\n getBorderRadiusField({\n key: \"borderRadius\",\n description: \"The border radius of the text container\",\n label: \"Border Radius\",\n tab: \"content\",\n group: \"Design\",\n }),\n getBorderWidthField({\n key: \"borderWidth\",\n label: \"Border Width\",\n description: \"The border width of the text container\",\n defaultValue: \"none\",\n tab: \"content\",\n group: \"Design\",\n }),\n getBorderColorField({\n key: \"borderColor\",\n label: \"Border Color\",\n description: \"The border color of the text container\",\n defaultValue: \"muted\",\n tab: \"content\",\n group: \"Design\",\n }),\n ],\n};\n"],"mappings":"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"}
|
|
@@ -3,8 +3,8 @@ const require_use_account = require("./use-account-CPOGOGl6.cjs");
|
|
|
3
3
|
const require_QuickLinksWidget = require("./QuickLinksWidget-mDiAucKr.cjs");
|
|
4
4
|
const require_PointsWidget = require("./PointsWidget-BcBtWxS2.cjs");
|
|
5
5
|
const require_LayoutWidget = require("./LayoutWidget-CS8fOr1e.cjs");
|
|
6
|
-
const require_TextWidget = require("./TextWidget-
|
|
7
|
-
const require_AlertWidget = require("./AlertWidget-
|
|
6
|
+
const require_TextWidget = require("./TextWidget-CNks2l1S.cjs");
|
|
7
|
+
const require_AlertWidget = require("./AlertWidget-C5sAMhqU.cjs");
|
|
8
8
|
const require_BulletListWidget = require("./BulletListWidget-Dz_32RH1.cjs");
|
|
9
9
|
const require_CalendarWidget = require("./CalendarWidget-Cq2SrfVW.cjs");
|
|
10
10
|
const require_CardWidget = require("./CardWidget-CGbAcMeq.cjs");
|
|
@@ -1408,7 +1408,7 @@ function createWidgetFromShareable(item) {
|
|
|
1408
1408
|
//#endregion
|
|
1409
1409
|
//#region ../widgets/src/widgets/index.ts
|
|
1410
1410
|
const widgetPropertySchemas = {
|
|
1411
|
-
AlertWidget: () => Promise.resolve().then(() => require("./AlertWidget-
|
|
1411
|
+
AlertWidget: () => Promise.resolve().then(() => require("./AlertWidget-C5sAMhqU.cjs")).then((n) => n.AlertWidget_exports).then((m) => m.alertWidgetPropertySchema),
|
|
1412
1412
|
BulletListWidget: () => Promise.resolve().then(() => require("./BulletListWidget-Dz_32RH1.cjs")).then((n) => n.BulletListWidget_exports).then((m) => m.bulletListWidgetPropertySchema),
|
|
1413
1413
|
CalendarWidget: () => Promise.resolve().then(() => require("./CalendarWidget-Cq2SrfVW.cjs")).then((n) => n.CalendarWidget_exports).then((m) => m.calendarWidgetPropertySchema),
|
|
1414
1414
|
CardWidget: () => Promise.resolve().then(() => require("./CardWidget-BbddboSI.cjs")).then((m) => m.cardWidgetPropertySchema),
|
|
@@ -1431,7 +1431,7 @@ const widgetPropertySchemas = {
|
|
|
1431
1431
|
ShopWidget: () => Promise.resolve().then(() => require("./ShopWidget-DrLJa_WV.cjs")).then((m) => m.shopWidgetPropertySchema),
|
|
1432
1432
|
SpacerWidget: () => Promise.resolve().then(() => require("./SpacerWidget-CBr--iyL.cjs")).then((n) => n.SpacerWidget_exports).then((m) => m.spacerWidgetPropertySchema),
|
|
1433
1433
|
TableWidget: () => Promise.resolve().then(() => require("./TableWidget-CKZn4yR7.cjs")).then((m) => m.tableWidgetPropertySchema),
|
|
1434
|
-
TextWidget: () => Promise.resolve().then(() => require("./TextWidget-
|
|
1434
|
+
TextWidget: () => Promise.resolve().then(() => require("./TextWidget-CNks2l1S.cjs")).then((n) => n.TextWidget_exports).then((m) => m.textWidgetPropertySchema),
|
|
1435
1435
|
ToDoWidget: () => Promise.resolve().then(() => require("./ToDoWidget-O_rPmjKH.cjs")).then((m) => m.toDoWidgetPropertySchema),
|
|
1436
1436
|
VideoWidget: () => Promise.resolve().then(() => require("./VideoWidget-dt8fNuTR.cjs")).then((n) => n.VideoWidget_exports).then((m) => m.videoWidgetPropertySchema)
|
|
1437
1437
|
};
|
|
@@ -3034,4 +3034,4 @@ Object.defineProperty(exports, "widgetPropertySchemas", {
|
|
|
3034
3034
|
}
|
|
3035
3035
|
});
|
|
3036
3036
|
|
|
3037
|
-
//# sourceMappingURL=build-widget-registry-
|
|
3037
|
+
//# sourceMappingURL=build-widget-registry-7slNHtKU.cjs.map
|