@puckeditor/plugin-ai 0.4.1-canary.180a399e → 0.4.1-canary.19c71086
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/index.css +129 -81
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +163 -117
- package/dist/index.mjs +169 -119
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -228,13 +228,6 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
|
228
228
|
return Component;
|
|
229
229
|
};
|
|
230
230
|
|
|
231
|
-
// ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/arrow-right.js
|
|
232
|
-
init_react_import();
|
|
233
|
-
var ArrowRight = createLucideIcon("ArrowRight", [
|
|
234
|
-
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
235
|
-
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
236
|
-
]);
|
|
237
|
-
|
|
238
231
|
// ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/arrow-up.js
|
|
239
232
|
init_react_import();
|
|
240
233
|
var ArrowUp = createLucideIcon("ArrowUp", [
|
|
@@ -834,6 +827,18 @@ var Card_module_default = { "Card": "_Card_jzb6b_1", "Card-body": "_Card-body_jz
|
|
|
834
827
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
835
828
|
var getClassName8 = get_class_name_factory_default2("Card", Card_module_default);
|
|
836
829
|
|
|
830
|
+
// ../platform-client/components/CardSelector/index.tsx
|
|
831
|
+
init_react_import();
|
|
832
|
+
|
|
833
|
+
// css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/CardSelector/styles.module.css#css-module
|
|
834
|
+
init_react_import();
|
|
835
|
+
var styles_module_default3 = { "CardSelector": "_CardSelector_1ogry_1", "CardSelectorOption": "_CardSelectorOption_1ogry_12", "CardSelectorOption--isSelected": "_CardSelectorOption--isSelected_1ogry_23", "CardSelectorOption--disabled": "_CardSelectorOption--disabled_1ogry_27", "CardSelectorOption-description": "_CardSelectorOption-description_1ogry_31", "CardSelectorOption-body": "_CardSelectorOption-body_1ogry_35" };
|
|
836
|
+
|
|
837
|
+
// ../platform-client/components/CardSelector/index.tsx
|
|
838
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
839
|
+
var cx = get_class_name_factory_default("CardSelector", styles_module_default3);
|
|
840
|
+
var cxOption = get_class_name_factory_default("CardSelectorOption", styles_module_default3);
|
|
841
|
+
|
|
837
842
|
// ../platform-client/components/Code/index.ts
|
|
838
843
|
init_react_import();
|
|
839
844
|
|
|
@@ -847,11 +852,11 @@ var Code_module_default = { "Code": "_Code_d4378_1", "Code-body": "_Code-body_d4
|
|
|
847
852
|
// ../platform-client/components/Code/CopyAction.tsx
|
|
848
853
|
init_react_import();
|
|
849
854
|
var import_react12 = require("react");
|
|
850
|
-
var
|
|
855
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
851
856
|
|
|
852
857
|
// ../platform-client/components/Code/Code.tsx
|
|
853
858
|
var import_react13 = require("react");
|
|
854
|
-
var
|
|
859
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
855
860
|
var getClassName9 = get_class_name_factory_default("Code", Code_module_default);
|
|
856
861
|
var getClassNameTab = get_class_name_factory_default("Tab", Code_module_default);
|
|
857
862
|
|
|
@@ -867,7 +872,7 @@ init_react_import();
|
|
|
867
872
|
var IconButton_module_default = { "IconButton": "_IconButton_thegm_1", "IconButton--disabled": "_IconButton--disabled_thegm_20", "IconButton--dark": "_IconButton--dark_thegm_26", "IconButton-title": "_IconButton-title_thegm_37" };
|
|
868
873
|
|
|
869
874
|
// ../platform-client/components/IconButton/IconButton.tsx
|
|
870
|
-
var
|
|
875
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
871
876
|
var getClassName10 = get_class_name_factory_default2("IconButton", IconButton_module_default);
|
|
872
877
|
var IconButton = ({
|
|
873
878
|
children,
|
|
@@ -884,7 +889,7 @@ var IconButton = ({
|
|
|
884
889
|
}) => {
|
|
885
890
|
const [loading, setLoading] = (0, import_react14.useState)(false);
|
|
886
891
|
const ElementType = href ? "a" : onClick ? "button" : "div";
|
|
887
|
-
const el = /* @__PURE__ */ (0,
|
|
892
|
+
const el = /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
888
893
|
ElementType,
|
|
889
894
|
{
|
|
890
895
|
className: getClassName10({
|
|
@@ -909,11 +914,11 @@ var IconButton = ({
|
|
|
909
914
|
href,
|
|
910
915
|
title,
|
|
911
916
|
children: [
|
|
912
|
-
/* @__PURE__ */ (0,
|
|
917
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: getClassName10("title"), children: title }),
|
|
913
918
|
children,
|
|
914
|
-
loading && /* @__PURE__ */ (0,
|
|
919
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
|
915
920
|
"\xA0\xA0",
|
|
916
|
-
/* @__PURE__ */ (0,
|
|
921
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Loader, { size: 14 })
|
|
917
922
|
] })
|
|
918
923
|
]
|
|
919
924
|
}
|
|
@@ -932,17 +937,17 @@ init_react_import();
|
|
|
932
937
|
var InfoBar_module_default = { "InfoBar": "_InfoBar_kchdj_1", "Info": "_Info_kchdj_1", "Info-title": "_Info-title_kchdj_21" };
|
|
933
938
|
|
|
934
939
|
// ../platform-client/components/InfoBar/InfoBar.tsx
|
|
935
|
-
var
|
|
936
|
-
var
|
|
940
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
941
|
+
var cx2 = getClassNameFactory2("InfoBar", InfoBar_module_default);
|
|
937
942
|
var cxInfo = getClassNameFactory2("Info", InfoBar_module_default);
|
|
938
943
|
var Info = ({ title, children }) => {
|
|
939
|
-
return /* @__PURE__ */ (0,
|
|
940
|
-
/* @__PURE__ */ (0,
|
|
941
|
-
/* @__PURE__ */ (0,
|
|
944
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: cxInfo(), children: [
|
|
945
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cxInfo("title"), children: title }),
|
|
946
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cxInfo("children"), children })
|
|
942
947
|
] });
|
|
943
948
|
};
|
|
944
949
|
var InfoBar = ({ children }) => {
|
|
945
|
-
return /* @__PURE__ */ (0,
|
|
950
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cx2(), children });
|
|
946
951
|
};
|
|
947
952
|
InfoBar.Info = Info;
|
|
948
953
|
|
|
@@ -957,7 +962,7 @@ init_react_import();
|
|
|
957
962
|
var Inline_module_default = { "Inline": "_Inline_6o5on_3", "Inline-inner": "_Inline-inner_6o5on_7", "Inline--noWrap": "_Inline--noWrap_6o5on_12", "Inline--sizeNONE": "_Inline--sizeNONE_6o5on_16", "Inline--sizeXXS": "_Inline--sizeXXS_6o5on_20", "Inline--sizeXS": "_Inline--sizeXS_6o5on_24", "Inline--sizeS": "_Inline--sizeS_6o5on_28", "Inline--sizeM": "_Inline--sizeM_6o5on_32", "Inline--sizeL": "_Inline--sizeL_6o5on_36", "Inline--center": "_Inline--center_6o5on_40", "Inline--centerH": "_Inline--centerH_6o5on_44", "Inline--grow": "_Inline--grow_6o5on_48" };
|
|
958
963
|
|
|
959
964
|
// ../platform-client/components/Inline/Inline.tsx
|
|
960
|
-
var
|
|
965
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
961
966
|
var getClassName11 = get_class_name_factory_default2("Inline", Inline_module_default);
|
|
962
967
|
var Inline = ({
|
|
963
968
|
children,
|
|
@@ -966,7 +971,7 @@ var Inline = ({
|
|
|
966
971
|
size = "m",
|
|
967
972
|
noWrap,
|
|
968
973
|
centerH
|
|
969
|
-
}) => /* @__PURE__ */ (0,
|
|
974
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
970
975
|
"div",
|
|
971
976
|
{
|
|
972
977
|
className: getClassName11({
|
|
@@ -976,7 +981,7 @@ var Inline = ({
|
|
|
976
981
|
noWrap,
|
|
977
982
|
[`size${size.toUpperCase()}`]: size
|
|
978
983
|
}),
|
|
979
|
-
children: /* @__PURE__ */ (0,
|
|
984
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: getClassName11("inner"), children })
|
|
980
985
|
}
|
|
981
986
|
);
|
|
982
987
|
var InlineItem = ({
|
|
@@ -984,7 +989,7 @@ var InlineItem = ({
|
|
|
984
989
|
grow,
|
|
985
990
|
push,
|
|
986
991
|
shrink
|
|
987
|
-
}) => /* @__PURE__ */ (0,
|
|
992
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
988
993
|
"div",
|
|
989
994
|
{
|
|
990
995
|
style: {
|
|
@@ -1009,7 +1014,7 @@ init_react_import();
|
|
|
1009
1014
|
var Link_module_default = { "Link": "_Link_1j70m_1" };
|
|
1010
1015
|
|
|
1011
1016
|
// ../platform-client/components/Link/Link.tsx
|
|
1012
|
-
var
|
|
1017
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1013
1018
|
var getClassName12 = get_class_name_factory_default2("Link", Link_module_default);
|
|
1014
1019
|
|
|
1015
1020
|
// ../platform-client/components/Modal/index.ts
|
|
@@ -1026,8 +1031,8 @@ init_react_import();
|
|
|
1026
1031
|
var Page_module_default = { "Page": "_Page_nkzj9_1", "Page-masthead": "_Page-masthead_nkzj9_8", "Page-crumbs": "_Page-crumbs_nkzj9_18", "Page-crumb": "_Page-crumb_nkzj9_18", "Page-crumbLink": "_Page-crumbLink_nkzj9_29", "Page-actions": "_Page-actions_nkzj9_61", "Page-footer": "_Page-footer_nkzj9_65" };
|
|
1027
1032
|
|
|
1028
1033
|
// ../platform-client/components/Page/Page.tsx
|
|
1029
|
-
var
|
|
1030
|
-
var
|
|
1034
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1035
|
+
var cx3 = getClassNameFactory2("Page", Page_module_default);
|
|
1031
1036
|
|
|
1032
1037
|
// ../platform-client/components/Pagination/index.ts
|
|
1033
1038
|
init_react_import();
|
|
@@ -1041,8 +1046,8 @@ init_react_import();
|
|
|
1041
1046
|
var Pagination_module_default = { "Pagination": "_Pagination_1okv2_1", "PaginationButton": "_PaginationButton_1okv2_8", "PaginationButton--isActive": "_PaginationButton--isActive_1okv2_20", "Pagination-ellipsis": "_Pagination-ellipsis_1okv2_30" };
|
|
1042
1047
|
|
|
1043
1048
|
// ../platform-client/components/Pagination/Pagination.tsx
|
|
1044
|
-
var
|
|
1045
|
-
var
|
|
1049
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
1050
|
+
var cx4 = getClassNameFactory2("Pagination", Pagination_module_default);
|
|
1046
1051
|
var cxButton = getClassNameFactory2("PaginationButton", Pagination_module_default);
|
|
1047
1052
|
|
|
1048
1053
|
// ../platform-client/components/Section/index.ts
|
|
@@ -1056,7 +1061,7 @@ init_react_import();
|
|
|
1056
1061
|
var Section_module_default = { "Section-inner": "_Section-inner_1uwo0_1", "Section--flush": "_Section--flush_1uwo0_8", "Section": "_Section_1uwo0_1", "Section--full": "_Section--full_1uwo0_17" };
|
|
1057
1062
|
|
|
1058
1063
|
// ../platform-client/components/Section/Section.tsx
|
|
1059
|
-
var
|
|
1064
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1060
1065
|
var getClassName13 = getClassNameFactory2("Section", Section_module_default);
|
|
1061
1066
|
|
|
1062
1067
|
// ../platform-client/components/StatusTag/index.ts
|
|
@@ -1076,11 +1081,11 @@ init_react_import();
|
|
|
1076
1081
|
var Tag_module_default = { "Tag": "_Tag_1baze_1", "Tag--colorBlue": "_Tag--colorBlue_1baze_19", "Tag--colorGreen": "_Tag--colorGreen_1baze_23", "Tag--colorRed": "_Tag--colorRed_1baze_27", "Tag--colorMuted": "_Tag--colorMuted_1baze_31", "Tag-sprite": "_Tag-sprite_1baze_35", "Tag--pulse": "_Tag--pulse_1baze_39", "pulse": "_pulse_1baze_1" };
|
|
1077
1082
|
|
|
1078
1083
|
// ../platform-client/components/Tag/Tag.tsx
|
|
1079
|
-
var
|
|
1084
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1080
1085
|
var getClassName14 = getClassNameFactory2("Tag", Tag_module_default);
|
|
1081
1086
|
|
|
1082
1087
|
// ../platform-client/components/StatusTag/StatusTag.tsx
|
|
1083
|
-
var
|
|
1088
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1084
1089
|
|
|
1085
1090
|
// ../platform-client/components/Table/index.ts
|
|
1086
1091
|
init_react_import();
|
|
@@ -1094,7 +1099,7 @@ init_react_import();
|
|
|
1094
1099
|
var Table_module_default = { "Table": "_Table_o345u_1", "Table-filters": "_Table-filters_o345u_9", "Table-inner": "_Table-inner_o345u_13", "Table-table": "_Table-table_o345u_17", "Table--hideHeader": "_Table--hideHeader_o345u_41", "Table-footer": "_Table-footer_o345u_89", "Table--clickableRows": "_Table--clickableRows_o345u_93", "Table-placeholder": "_Table-placeholder_o345u_98", "Table-loader": "_Table-loader_o345u_110", "TableRow--highlightRow": "_TableRow--highlightRow_o345u_114" };
|
|
1095
1100
|
|
|
1096
1101
|
// ../platform-client/components/Table/Table.tsx
|
|
1097
|
-
var
|
|
1102
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1098
1103
|
var getClassName15 = get_class_name_factory_default2("Table", Table_module_default);
|
|
1099
1104
|
var getRowClassName = get_class_name_factory_default2("TableRow", Table_module_default);
|
|
1100
1105
|
|
|
@@ -1113,7 +1118,7 @@ init_react_import();
|
|
|
1113
1118
|
var VerticalSpace_module_default = { "VerticalSpace": "_VerticalSpace_1tjaw_1", "VerticalSpace--size4": "_VerticalSpace--size4_1tjaw_5", "VerticalSpace--size8": "_VerticalSpace--size8_1tjaw_9", "VerticalSpace--size16": "_VerticalSpace--size16_1tjaw_13", "VerticalSpace--size32": "_VerticalSpace--size32_1tjaw_17", "VerticalSpace--size40": "_VerticalSpace--size40_1tjaw_21", "VerticalSpace--size48": "_VerticalSpace--size48_1tjaw_25", "VerticalSpace--size56": "_VerticalSpace--size56_1tjaw_29", "VerticalSpace--size96": "_VerticalSpace--size96_1tjaw_33", "VerticalSpace--size128": "_VerticalSpace--size128_1tjaw_37" };
|
|
1114
1119
|
|
|
1115
1120
|
// ../platform-client/components/VerticalSpace/VerticalSpace.tsx
|
|
1116
|
-
var
|
|
1121
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1117
1122
|
var getClassName16 = get_class_name_factory_default2("VerticalSpace", VerticalSpace_module_default);
|
|
1118
1123
|
|
|
1119
1124
|
// ../platform-client/components/Viewport/index.tsx
|
|
@@ -1121,21 +1126,21 @@ init_react_import();
|
|
|
1121
1126
|
|
|
1122
1127
|
// css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Viewport/styles.module.css#css-module
|
|
1123
1128
|
init_react_import();
|
|
1124
|
-
var
|
|
1129
|
+
var styles_module_default4 = { "Viewport": "_Viewport_1vvhm_3", "Viewport--standard": "_Viewport--standard_1vvhm_6", "Viewport--inline": "_Viewport--inline_1vvhm_7", "Viewport--narrow": "_Viewport--narrow_1vvhm_11", "Viewport--flex": "_Viewport--flex_1vvhm_19" };
|
|
1125
1130
|
|
|
1126
1131
|
// ../platform-client/components/Viewport/index.tsx
|
|
1127
|
-
var
|
|
1128
|
-
var
|
|
1132
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1133
|
+
var cx5 = getClassNameFactory("Viewport", styles_module_default4);
|
|
1129
1134
|
|
|
1130
1135
|
// ../platform-client/context/editor.tsx
|
|
1131
1136
|
init_react_import();
|
|
1132
1137
|
var import_react17 = require("react");
|
|
1133
|
-
var
|
|
1138
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1134
1139
|
var ctx = (0, import_react17.createContext)({});
|
|
1135
1140
|
|
|
1136
1141
|
// css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/ChatBody/styles.module.css#css-module
|
|
1137
1142
|
init_react_import();
|
|
1138
|
-
var
|
|
1143
|
+
var styles_module_default5 = { "Chat": "_Chat_1njo2_1", "Chat-inner": "_Chat-inner_1njo2_17", "Chat--hasMessages": "_Chat--hasMessages_1njo2_25", "Chat--hasChildren": "_Chat--hasChildren_1njo2_29", "Chat-messages": "_Chat-messages_1njo2_34", "Chat-form": "_Chat-form_1njo2_41", "Chat--hideInput": "_Chat--hideInput_1njo2_46", "Chat-formHelper": "_Chat-formHelper_1njo2_60", "Chat-examplePrompts": "_Chat-examplePrompts_1njo2_75", "Chat-examplePrompt": "_Chat-examplePrompt_1njo2_75", "Chat-examplePromptArrow": "_Chat-examplePromptArrow_1njo2_105", "Chat-default": "_Chat-default_1njo2_110", "ChatMessage": "_ChatMessage_1njo2_127", "ChatMessage--userRole": "_ChatMessage--userRole_1njo2_133", "ChatMessage-text": "_ChatMessage-text_1njo2_133", "ChatMessage-data": "_ChatMessage-data_1njo2_231", "ChatMessage-dataInner": "_ChatMessage-dataInner_1njo2_242", "ChatMessage-dataIcon": "_ChatMessage-dataIcon_1njo2_248", "Chat-loader": "_Chat-loader_1njo2_252", "Chat-error": "_Chat-error_1njo2_257", "Chat-errorLabel": "_Chat-errorLabel_1njo2_266", "Chat-errorAction": "_Chat-errorAction_1njo2_270" };
|
|
1139
1144
|
|
|
1140
1145
|
// src/components/PromptForm/index.tsx
|
|
1141
1146
|
init_react_import();
|
|
@@ -1143,11 +1148,11 @@ var import_react18 = require("react");
|
|
|
1143
1148
|
|
|
1144
1149
|
// css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/PromptForm/styles.module.css#css-module
|
|
1145
1150
|
init_react_import();
|
|
1146
|
-
var
|
|
1151
|
+
var styles_module_default6 = { "PromptForm": "_PromptForm_1r4kq_1", "PromptForm-inner": "_PromptForm-inner_1r4kq_8", "PromptForm--dark": "_PromptForm--dark_1r4kq_14", "PromptForm--glow": "_PromptForm--glow_1r4kq_19", "PromptForm-glow": "_PromptForm-glow_1r4kq_19", "loop": "_loop_1r4kq_1", "PromptForm-formInner": "_PromptForm-formInner_1r4kq_60", "PromptForm-input": "_PromptForm-input_1r4kq_66", "PromptForm--disabled": "_PromptForm--disabled_1r4kq_97", "PromptForm-helper": "_PromptForm-helper_1r4kq_102", "PromptForm-actions": "_PromptForm-actions_1r4kq_112", "PromptForm-actionsLeft": "_PromptForm-actionsLeft_1r4kq_123", "PromptForm-actionsRight": "_PromptForm-actionsRight_1r4kq_130", "PromptForm-actionSubmit": "_PromptForm-actionSubmit_1r4kq_135", "PromptForm--userCta": "_PromptForm--userCta_1r4kq_149", "PromptForm--isDisabled": "_PromptForm--isDisabled_1r4kq_157", "PromptForm--isLoading": "_PromptForm--isLoading_1r4kq_162" };
|
|
1147
1152
|
|
|
1148
1153
|
// src/components/PromptForm/index.tsx
|
|
1149
|
-
var
|
|
1150
|
-
var
|
|
1154
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1155
|
+
var cx6 = getClassNameFactory2("PromptForm", styles_module_default6);
|
|
1151
1156
|
function PromptForm({
|
|
1152
1157
|
actions,
|
|
1153
1158
|
colorScheme = "light",
|
|
@@ -1157,10 +1162,18 @@ function PromptForm({
|
|
|
1157
1162
|
inputRef,
|
|
1158
1163
|
isDisabled,
|
|
1159
1164
|
isLoading,
|
|
1160
|
-
placeholder = "Create a page for..."
|
|
1165
|
+
placeholder = "Create a page for...",
|
|
1166
|
+
cta,
|
|
1167
|
+
minRows = 2,
|
|
1168
|
+
maxRows = 5,
|
|
1169
|
+
value = ""
|
|
1161
1170
|
}) {
|
|
1162
1171
|
const hasSetInitialPrompt = (0, import_react18.useRef)(false);
|
|
1163
|
-
const [prompt, setPrompt] = (0, import_react18.useState)(
|
|
1172
|
+
const [prompt, setPrompt] = (0, import_react18.useState)(value);
|
|
1173
|
+
const internalRef = (0, import_react18.useRef)(null);
|
|
1174
|
+
(0, import_react18.useEffect)(() => {
|
|
1175
|
+
setPrompt(value);
|
|
1176
|
+
}, [setPrompt, value]);
|
|
1164
1177
|
const sendPrompt = () => {
|
|
1165
1178
|
if (isLoading || isDisabled) return;
|
|
1166
1179
|
if (handleSubmit) {
|
|
@@ -1176,38 +1189,44 @@ function PromptForm({
|
|
|
1176
1189
|
setPrompt(initialPrompt);
|
|
1177
1190
|
}
|
|
1178
1191
|
}, [setPrompt]);
|
|
1179
|
-
return /* @__PURE__ */ (0,
|
|
1192
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
1180
1193
|
"div",
|
|
1181
1194
|
{
|
|
1182
|
-
className:
|
|
1195
|
+
className: cx6({
|
|
1183
1196
|
isDisabled,
|
|
1184
1197
|
isLoading,
|
|
1185
1198
|
dark: colorScheme === "dark",
|
|
1186
|
-
glow
|
|
1199
|
+
glow,
|
|
1200
|
+
userCta: !!cta
|
|
1187
1201
|
}),
|
|
1188
1202
|
children: [
|
|
1189
|
-
helperText ? /* @__PURE__ */ (0,
|
|
1190
|
-
/* @__PURE__ */ (0,
|
|
1191
|
-
/* @__PURE__ */ (0,
|
|
1192
|
-
/* @__PURE__ */ (0,
|
|
1203
|
+
helperText ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: cx6("helper"), children: helperText }) : null,
|
|
1204
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: cx6("inner"), children: [
|
|
1205
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: cx6("glow") }),
|
|
1206
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1193
1207
|
"form",
|
|
1194
1208
|
{
|
|
1195
1209
|
onSubmit: (e) => {
|
|
1196
1210
|
e.preventDefault();
|
|
1197
1211
|
sendPrompt();
|
|
1198
1212
|
},
|
|
1199
|
-
children: /* @__PURE__ */ (0,
|
|
1200
|
-
/* @__PURE__ */ (0,
|
|
1213
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: cx6("formInner"), children: [
|
|
1214
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1201
1215
|
import_react_textarea_autosize.default,
|
|
1202
1216
|
{
|
|
1203
|
-
className:
|
|
1217
|
+
className: cx6("input"),
|
|
1204
1218
|
name: "prompt",
|
|
1205
|
-
minRows
|
|
1206
|
-
maxRows
|
|
1219
|
+
minRows,
|
|
1220
|
+
maxRows,
|
|
1207
1221
|
placeholder,
|
|
1208
1222
|
disabled: isDisabled,
|
|
1209
1223
|
value: prompt,
|
|
1210
|
-
ref:
|
|
1224
|
+
ref: (node) => {
|
|
1225
|
+
if (inputRef) {
|
|
1226
|
+
inputRef.current = node;
|
|
1227
|
+
}
|
|
1228
|
+
internalRef.current = node;
|
|
1229
|
+
},
|
|
1211
1230
|
onChange: (e) => setPrompt(e.target.value),
|
|
1212
1231
|
onKeyDown: (e) => {
|
|
1213
1232
|
if (!e.shiftKey && e.key === "Enter") {
|
|
@@ -1222,18 +1241,41 @@ function PromptForm({
|
|
|
1222
1241
|
}
|
|
1223
1242
|
}
|
|
1224
1243
|
),
|
|
1225
|
-
/* @__PURE__ */ (0,
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
"
|
|
1229
|
-
{
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1244
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
1245
|
+
"div",
|
|
1246
|
+
{
|
|
1247
|
+
className: cx6("actions"),
|
|
1248
|
+
onClick: () => {
|
|
1249
|
+
internalRef?.current?.focus();
|
|
1250
|
+
},
|
|
1251
|
+
children: [
|
|
1252
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1253
|
+
"div",
|
|
1254
|
+
{
|
|
1255
|
+
className: cx6("actionsLeft"),
|
|
1256
|
+
onClick: (e) => e.stopPropagation(),
|
|
1257
|
+
children: actions
|
|
1258
|
+
}
|
|
1259
|
+
),
|
|
1260
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1261
|
+
"div",
|
|
1262
|
+
{
|
|
1263
|
+
className: cx6("actionsRight"),
|
|
1264
|
+
onClick: (e) => e.stopPropagation(),
|
|
1265
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1266
|
+
"button",
|
|
1267
|
+
{
|
|
1268
|
+
className: cx6("actionSubmit"),
|
|
1269
|
+
type: "submit",
|
|
1270
|
+
disabled: isLoading,
|
|
1271
|
+
children: cta ?? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ArrowUp, { size: 24 })
|
|
1272
|
+
}
|
|
1273
|
+
)
|
|
1274
|
+
}
|
|
1275
|
+
)
|
|
1276
|
+
]
|
|
1277
|
+
}
|
|
1278
|
+
)
|
|
1237
1279
|
] })
|
|
1238
1280
|
}
|
|
1239
1281
|
)
|
|
@@ -1250,9 +1292,9 @@ var toolStatusContext = (0, import_react19.createContext)({});
|
|
|
1250
1292
|
var ToolStatusProvider = toolStatusContext.Provider;
|
|
1251
1293
|
|
|
1252
1294
|
// src/components/ChatBody/index.tsx
|
|
1253
|
-
var
|
|
1254
|
-
var
|
|
1255
|
-
var cxMessage = getClassNameFactory2("ChatMessage",
|
|
1295
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1296
|
+
var cx7 = getClassNameFactory2("Chat", styles_module_default5);
|
|
1297
|
+
var cxMessage = getClassNameFactory2("ChatMessage", styles_module_default5);
|
|
1256
1298
|
function ChatBody({
|
|
1257
1299
|
children,
|
|
1258
1300
|
examplePrompts,
|
|
@@ -1266,17 +1308,17 @@ function ChatBody({
|
|
|
1266
1308
|
}) {
|
|
1267
1309
|
const { scrollRef, contentRef } = (0, import_use_stick_to_bottom.useStickToBottom)();
|
|
1268
1310
|
const hasMessages = messages && messages.length > 0;
|
|
1269
|
-
return /* @__PURE__ */ (0,
|
|
1270
|
-
children ? /* @__PURE__ */ (0,
|
|
1271
|
-
/* @__PURE__ */ (0,
|
|
1272
|
-
/* @__PURE__ */ (0,
|
|
1273
|
-
status === "submitted" && /* @__PURE__ */ (0,
|
|
1274
|
-
error && /* @__PURE__ */ (0,
|
|
1275
|
-
/* @__PURE__ */ (0,
|
|
1276
|
-
handleRetry && /* @__PURE__ */ (0,
|
|
1311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: cx7({ hasMessages, hasChildren: !!children, hideInput }), children: [
|
|
1312
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cx7("default"), children }) : null,
|
|
1313
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: cx7("inner"), ref: scrollRef, children: [
|
|
1314
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cx7("messages"), ref: contentRef, children: messages.toReversed().map((message) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChatMessage, { message }, message.id)) }),
|
|
1315
|
+
status === "submitted" && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cx7("loader"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Loader, { size: 14 }) }),
|
|
1316
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: cx7("error"), children: [
|
|
1317
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cx7("errorLabel"), children: "Something went wrong." }),
|
|
1318
|
+
handleRetry && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cx7("errorAction"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(IconButton, { title: "Retry", onClick: handleRetry, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(RotateCcw, { size: "14" }) }) })
|
|
1277
1319
|
] }),
|
|
1278
|
-
/* @__PURE__ */ (0,
|
|
1279
|
-
/* @__PURE__ */ (0,
|
|
1320
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: cx7("form"), children: [
|
|
1321
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1280
1322
|
PromptForm,
|
|
1281
1323
|
{
|
|
1282
1324
|
glow: !hasMessages,
|
|
@@ -1286,19 +1328,19 @@ function ChatBody({
|
|
|
1286
1328
|
placeholder: "What do you want to build?"
|
|
1287
1329
|
}
|
|
1288
1330
|
),
|
|
1289
|
-
examplePrompts ? /* @__PURE__ */ (0,
|
|
1331
|
+
examplePrompts ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cx7("examplePrompts"), children: examplePrompts }) : null
|
|
1290
1332
|
] })
|
|
1291
1333
|
] })
|
|
1292
1334
|
] });
|
|
1293
1335
|
}
|
|
1294
1336
|
function ChatMessage({ message }) {
|
|
1295
1337
|
const { role, parts } = message;
|
|
1296
|
-
return /* @__PURE__ */ (0,
|
|
1338
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1297
1339
|
"div",
|
|
1298
1340
|
{
|
|
1299
1341
|
className: cxMessage({ [`${role}Role`]: true }),
|
|
1300
1342
|
"data-message-id": message.id,
|
|
1301
|
-
children: parts.map((part, i) => /* @__PURE__ */ (0,
|
|
1343
|
+
children: parts.map((part, i) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1302
1344
|
ChatMessagePart,
|
|
1303
1345
|
{
|
|
1304
1346
|
part,
|
|
@@ -1314,25 +1356,25 @@ function ChatMessageWrapper({
|
|
|
1314
1356
|
role
|
|
1315
1357
|
}) {
|
|
1316
1358
|
if (role === "assistant" || role === "user") {
|
|
1317
|
-
return /* @__PURE__ */ (0,
|
|
1359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react_markdown.default, { children });
|
|
1318
1360
|
}
|
|
1319
|
-
return /* @__PURE__ */ (0,
|
|
1361
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { children });
|
|
1320
1362
|
}
|
|
1321
1363
|
function ChatMessagePart({
|
|
1322
1364
|
part,
|
|
1323
1365
|
role
|
|
1324
1366
|
}) {
|
|
1325
1367
|
if (part.type === "text") {
|
|
1326
|
-
return /* @__PURE__ */ (0,
|
|
1368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cxMessage("text"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChatMessageWrapper, { role, children: part.text }) });
|
|
1327
1369
|
}
|
|
1328
1370
|
if (part.type === "tool-createPage") {
|
|
1329
|
-
return /* @__PURE__ */ (0,
|
|
1371
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(PuckTool, { ...part });
|
|
1330
1372
|
}
|
|
1331
1373
|
if (part.type === "tool-updatePage") {
|
|
1332
|
-
return /* @__PURE__ */ (0,
|
|
1374
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(PuckTool, { ...part });
|
|
1333
1375
|
}
|
|
1334
1376
|
if (part.type === "tool-userTool") {
|
|
1335
|
-
return /* @__PURE__ */ (0,
|
|
1377
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(PuckTool, { ...part });
|
|
1336
1378
|
}
|
|
1337
1379
|
return null;
|
|
1338
1380
|
}
|
|
@@ -1344,12 +1386,12 @@ function PuckTool({
|
|
|
1344
1386
|
const toolStatus = (0, import_react20.useContext)(toolStatusContext)[toolCallId];
|
|
1345
1387
|
const outputObj = output;
|
|
1346
1388
|
const status = outputObj && "status" in outputObj ? outputObj.status : toolStatus ?? { loading: true, label: defaultLabel };
|
|
1347
|
-
return /* @__PURE__ */ (0,
|
|
1389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ToolStatus, { status });
|
|
1348
1390
|
}
|
|
1349
1391
|
function ToolStatus({ status }) {
|
|
1350
|
-
return /* @__PURE__ */ (0,
|
|
1351
|
-
/* @__PURE__ */ (0,
|
|
1352
|
-
/* @__PURE__ */ (0,
|
|
1392
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cxMessage("data"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: cxMessage("dataInner"), children: [
|
|
1393
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cxMessage("dataIcon"), children: status.error ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(TriangleAlert, { size: 18 }) : status.loading ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Loader, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Check, { size: 18 }) }),
|
|
1394
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { children: status.label })
|
|
1353
1395
|
] }) });
|
|
1354
1396
|
}
|
|
1355
1397
|
function ExamplePrompt({
|
|
@@ -1358,9 +1400,9 @@ function ExamplePrompt({
|
|
|
1358
1400
|
onClick
|
|
1359
1401
|
}) {
|
|
1360
1402
|
const El = href ? "a" : "button";
|
|
1361
|
-
return /* @__PURE__ */ (0,
|
|
1362
|
-
/* @__PURE__ */ (0,
|
|
1363
|
-
/* @__PURE__ */ (0,
|
|
1403
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(El, { className: cx7("examplePrompt"), href, onClick, children: [
|
|
1404
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { children: label }),
|
|
1405
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cx7("examplePromptArrow"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowUp, { size: "16" }) })
|
|
1364
1406
|
] });
|
|
1365
1407
|
}
|
|
1366
1408
|
|
|
@@ -1508,7 +1550,7 @@ var dispatchOp = (operation, {
|
|
|
1508
1550
|
|
|
1509
1551
|
// src/components/Chat/index.tsx
|
|
1510
1552
|
var import_html2canvas_pro = __toESM(require("html2canvas-pro"));
|
|
1511
|
-
var
|
|
1553
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1512
1554
|
var q = (0, import_qler.default)();
|
|
1513
1555
|
var BENCHMARK = false;
|
|
1514
1556
|
var prefixedUlid = (prefix = "") => `${prefix ? `${prefix}_` : ""}${(0, import_ulid.ulid)()}`;
|
|
@@ -1665,7 +1707,12 @@ function Chat2({ chat, host = "/api/puck/chat" }) {
|
|
|
1665
1707
|
[status, forcedStatus]
|
|
1666
1708
|
);
|
|
1667
1709
|
(0, import_react22.useEffect)(() => {
|
|
1668
|
-
window.__PUCK_AI = {
|
|
1710
|
+
window.__PUCK_AI = {
|
|
1711
|
+
processData,
|
|
1712
|
+
setMessages,
|
|
1713
|
+
setStatus: setForcedStatus,
|
|
1714
|
+
sendMessage
|
|
1715
|
+
};
|
|
1669
1716
|
}, [processData]);
|
|
1670
1717
|
const handleSubmit = (prompt) => {
|
|
1671
1718
|
const text = prompt.trim();
|
|
@@ -1696,16 +1743,16 @@ function Chat2({ chat, host = "/api/puck/chat" }) {
|
|
|
1696
1743
|
};
|
|
1697
1744
|
});
|
|
1698
1745
|
}, [messages, toolStatus]);
|
|
1699
|
-
return /* @__PURE__ */ (0,
|
|
1700
|
-
/* @__PURE__ */ (0,
|
|
1701
|
-
/* @__PURE__ */ (0,
|
|
1746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: getClassName17(), ref: pluginRef, children: [
|
|
1747
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: getClassName17("header"), children: "AI page builder" }),
|
|
1748
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ToolStatusProvider, { value: toolStatus, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1702
1749
|
ChatBody,
|
|
1703
1750
|
{
|
|
1704
1751
|
messages: messagesWithStatuses,
|
|
1705
1752
|
handleSubmit,
|
|
1706
1753
|
inputRef,
|
|
1707
1754
|
status: resolvedStatus,
|
|
1708
|
-
examplePrompts: examplePrompts?.map(({ label, href, onClick }) => /* @__PURE__ */ (0,
|
|
1755
|
+
examplePrompts: examplePrompts?.map(({ label, href, onClick }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1709
1756
|
ExamplePrompt,
|
|
1710
1757
|
{
|
|
1711
1758
|
label,
|
|
@@ -1719,7 +1766,7 @@ function Chat2({ chat, host = "/api/puck/chat" }) {
|
|
|
1719
1766
|
setError("");
|
|
1720
1767
|
regenerate();
|
|
1721
1768
|
},
|
|
1722
|
-
children: /* @__PURE__ */ (0,
|
|
1769
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1723
1770
|
Placeholder,
|
|
1724
1771
|
{
|
|
1725
1772
|
dispatch: puckDispatch,
|
|
@@ -1749,11 +1796,11 @@ function Placeholder({
|
|
|
1749
1796
|
}
|
|
1750
1797
|
}, 10);
|
|
1751
1798
|
};
|
|
1752
|
-
return /* @__PURE__ */ (0,
|
|
1753
|
-
/* @__PURE__ */ (0,
|
|
1754
|
-
/* @__PURE__ */ (0,
|
|
1755
|
-
/* @__PURE__ */ (0,
|
|
1756
|
-
/* @__PURE__ */ (0,
|
|
1799
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: getClassName17("placeholder"), children: [
|
|
1800
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Bot, { size: "24" }),
|
|
1801
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { children: "Use AI to build a page using the available blocks" }),
|
|
1802
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: getClassName17("actions"), children: [
|
|
1803
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1757
1804
|
"button",
|
|
1758
1805
|
{
|
|
1759
1806
|
className: getClassName17("action"),
|
|
@@ -1761,7 +1808,7 @@ function Placeholder({
|
|
|
1761
1808
|
children: "Enter prompt"
|
|
1762
1809
|
}
|
|
1763
1810
|
),
|
|
1764
|
-
/* @__PURE__ */ (0,
|
|
1811
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1765
1812
|
"button",
|
|
1766
1813
|
{
|
|
1767
1814
|
className: getClassName17("actionOutlined"),
|
|
@@ -1872,21 +1919,21 @@ var ScrollTracking = ({ children }) => {
|
|
|
1872
1919
|
};
|
|
1873
1920
|
|
|
1874
1921
|
// src/index.tsx
|
|
1875
|
-
var
|
|
1922
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1876
1923
|
function createAiPlugin(opts) {
|
|
1877
1924
|
const { scrollTracking = true, ...rest } = opts || {};
|
|
1878
1925
|
return {
|
|
1879
1926
|
label: "AI",
|
|
1880
1927
|
name: "ai",
|
|
1881
|
-
render: () => /* @__PURE__ */ (0,
|
|
1882
|
-
icon: /* @__PURE__ */ (0,
|
|
1928
|
+
render: () => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Chat2, { ...rest }),
|
|
1929
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Bot, {}),
|
|
1883
1930
|
mobilePanelHeight: "min-content",
|
|
1884
1931
|
overrides: {
|
|
1885
1932
|
preview: ({ children }) => {
|
|
1886
1933
|
if (scrollTracking) {
|
|
1887
|
-
return /* @__PURE__ */ (0,
|
|
1934
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ScrollTracking, { children });
|
|
1888
1935
|
}
|
|
1889
|
-
return /* @__PURE__ */ (0,
|
|
1936
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children });
|
|
1890
1937
|
}
|
|
1891
1938
|
}
|
|
1892
1939
|
};
|
|
@@ -1908,7 +1955,6 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
|
1908
1955
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
1909
1956
|
lucide-react/dist/esm/Icon.js:
|
|
1910
1957
|
lucide-react/dist/esm/createLucideIcon.js:
|
|
1911
|
-
lucide-react/dist/esm/icons/arrow-right.js:
|
|
1912
1958
|
lucide-react/dist/esm/icons/arrow-up.js:
|
|
1913
1959
|
lucide-react/dist/esm/icons/bot.js:
|
|
1914
1960
|
lucide-react/dist/esm/icons/check.js:
|