@superinterface/react 3.17.1 → 3.17.3
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.cjs +69 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +69 -56
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -38417,6 +38417,9 @@ var ListItem = function(_ref) {
|
|
|
38417
38417
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_themes16.Box, {
|
|
38418
38418
|
pb: "1",
|
|
38419
38419
|
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("li", {
|
|
38420
|
+
style: {
|
|
38421
|
+
wordBreak: "break-word"
|
|
38422
|
+
},
|
|
38420
38423
|
children: children
|
|
38421
38424
|
})
|
|
38422
38425
|
});
|
|
@@ -42081,7 +42084,7 @@ var MessageContent = function(_ref) {
|
|
|
42081
42084
|
// src/components/threads/Thread/Message/index.tsx
|
|
42082
42085
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
42083
42086
|
var Message = function(t0) {
|
|
42084
|
-
var $ = (0, import_react_compiler_runtime25.c)(
|
|
42087
|
+
var $ = (0, import_react_compiler_runtime25.c)(51);
|
|
42085
42088
|
var message = t0.message, className = t0.className, style = t0.style;
|
|
42086
42089
|
var t1;
|
|
42087
42090
|
bb0: {
|
|
@@ -42220,102 +42223,112 @@ var Message = function(t0) {
|
|
|
42220
42223
|
t4 = $[24];
|
|
42221
42224
|
}
|
|
42222
42225
|
var t5;
|
|
42226
|
+
if ($[25] === Symbol.for("react.memo_cache_sentinel")) {
|
|
42227
|
+
t5 = {
|
|
42228
|
+
wordBreak: "break-word"
|
|
42229
|
+
};
|
|
42230
|
+
$[25] = t5;
|
|
42231
|
+
} else {
|
|
42232
|
+
t5 = $[25];
|
|
42233
|
+
}
|
|
42223
42234
|
var t6;
|
|
42224
|
-
|
|
42225
|
-
|
|
42235
|
+
var t7;
|
|
42236
|
+
if ($[26] !== message) {
|
|
42237
|
+
t6 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Attachments, {
|
|
42226
42238
|
message: message
|
|
42227
42239
|
});
|
|
42228
|
-
|
|
42240
|
+
t7 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MessageContent, {
|
|
42229
42241
|
message: message
|
|
42230
42242
|
});
|
|
42231
|
-
$[
|
|
42232
|
-
$[26] = t5;
|
|
42243
|
+
$[26] = message;
|
|
42233
42244
|
$[27] = t6;
|
|
42245
|
+
$[28] = t7;
|
|
42234
42246
|
} else {
|
|
42235
|
-
t5 = $[26];
|
|
42236
42247
|
t6 = $[27];
|
|
42248
|
+
t7 = $[28];
|
|
42237
42249
|
}
|
|
42238
|
-
var
|
|
42239
|
-
if ($[
|
|
42240
|
-
|
|
42241
|
-
$[
|
|
42242
|
-
$[
|
|
42243
|
-
$[
|
|
42250
|
+
var t8;
|
|
42251
|
+
if ($[29] !== isInProgress || $[30] !== laterRunSteps_0) {
|
|
42252
|
+
t8 = isInProgress && (0, import_radash12.isEmpty)(laterRunSteps_0) && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StartingContentSkeleton, {});
|
|
42253
|
+
$[29] = isInProgress;
|
|
42254
|
+
$[30] = laterRunSteps_0;
|
|
42255
|
+
$[31] = t8;
|
|
42244
42256
|
} else {
|
|
42245
|
-
|
|
42257
|
+
t8 = $[31];
|
|
42246
42258
|
}
|
|
42247
|
-
var
|
|
42248
|
-
if ($[
|
|
42249
|
-
|
|
42259
|
+
var t9;
|
|
42260
|
+
if ($[32] !== t6 || $[33] !== t7 || $[34] !== t8) {
|
|
42261
|
+
t9 = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes33.Box, {
|
|
42262
|
+
style: t5,
|
|
42250
42263
|
children: [
|
|
42251
|
-
t5,
|
|
42252
42264
|
t6,
|
|
42253
|
-
t7
|
|
42265
|
+
t7,
|
|
42266
|
+
t8
|
|
42254
42267
|
]
|
|
42255
42268
|
});
|
|
42256
|
-
$[31] = t5;
|
|
42257
42269
|
$[32] = t6;
|
|
42258
42270
|
$[33] = t7;
|
|
42259
42271
|
$[34] = t8;
|
|
42272
|
+
$[35] = t9;
|
|
42260
42273
|
} else {
|
|
42261
|
-
|
|
42274
|
+
t9 = $[35];
|
|
42262
42275
|
}
|
|
42263
|
-
var
|
|
42264
|
-
if ($[
|
|
42265
|
-
|
|
42276
|
+
var t10;
|
|
42277
|
+
if ($[36] !== laterRunSteps_0) {
|
|
42278
|
+
t10 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(RunSteps, {
|
|
42266
42279
|
runSteps: laterRunSteps_0
|
|
42267
42280
|
});
|
|
42268
|
-
$[
|
|
42269
|
-
$[
|
|
42281
|
+
$[36] = laterRunSteps_0;
|
|
42282
|
+
$[37] = t10;
|
|
42270
42283
|
} else {
|
|
42271
|
-
|
|
42284
|
+
t10 = $[37];
|
|
42272
42285
|
}
|
|
42273
|
-
var
|
|
42274
|
-
if ($[
|
|
42275
|
-
|
|
42286
|
+
var t11;
|
|
42287
|
+
if ($[38] !== isInProgress || $[39] !== laterRunSteps_0) {
|
|
42288
|
+
t11 = isInProgress && !(0, import_radash12.isEmpty)(laterRunSteps_0) && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes33.Box, {
|
|
42276
42289
|
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StartingContentSkeleton, {})
|
|
42277
42290
|
});
|
|
42278
|
-
$[
|
|
42279
|
-
$[
|
|
42280
|
-
$[
|
|
42291
|
+
$[38] = isInProgress;
|
|
42292
|
+
$[39] = laterRunSteps_0;
|
|
42293
|
+
$[40] = t11;
|
|
42281
42294
|
} else {
|
|
42282
|
-
|
|
42295
|
+
t11 = $[40];
|
|
42283
42296
|
}
|
|
42284
|
-
var
|
|
42285
|
-
if ($[
|
|
42286
|
-
|
|
42297
|
+
var t12;
|
|
42298
|
+
if ($[41] !== className || $[42] !== style || $[43] !== t10 || $[44] !== t11 || $[45] !== t4 || $[46] !== t9) {
|
|
42299
|
+
t12 = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes33.Box, {
|
|
42287
42300
|
className: className,
|
|
42288
42301
|
style: style,
|
|
42289
42302
|
children: [
|
|
42290
42303
|
t4,
|
|
42291
|
-
t8,
|
|
42292
42304
|
t9,
|
|
42293
|
-
t10
|
|
42305
|
+
t10,
|
|
42306
|
+
t11
|
|
42294
42307
|
]
|
|
42295
42308
|
});
|
|
42296
|
-
$[
|
|
42297
|
-
$[
|
|
42298
|
-
$[
|
|
42299
|
-
$[
|
|
42300
|
-
$[
|
|
42301
|
-
$[
|
|
42302
|
-
$[
|
|
42309
|
+
$[41] = className;
|
|
42310
|
+
$[42] = style;
|
|
42311
|
+
$[43] = t10;
|
|
42312
|
+
$[44] = t11;
|
|
42313
|
+
$[45] = t4;
|
|
42314
|
+
$[46] = t9;
|
|
42315
|
+
$[47] = t12;
|
|
42303
42316
|
} else {
|
|
42304
|
-
|
|
42317
|
+
t12 = $[47];
|
|
42305
42318
|
}
|
|
42306
|
-
var
|
|
42307
|
-
if ($[
|
|
42308
|
-
|
|
42319
|
+
var t13;
|
|
42320
|
+
if ($[48] !== t12 || $[49] !== t3) {
|
|
42321
|
+
t13 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Provider, {
|
|
42309
42322
|
value: t3,
|
|
42310
|
-
children:
|
|
42323
|
+
children: t12
|
|
42311
42324
|
});
|
|
42312
|
-
$[
|
|
42313
|
-
$[
|
|
42314
|
-
$[
|
|
42325
|
+
$[48] = t12;
|
|
42326
|
+
$[49] = t3;
|
|
42327
|
+
$[50] = t13;
|
|
42315
42328
|
} else {
|
|
42316
|
-
|
|
42329
|
+
t13 = $[50];
|
|
42317
42330
|
}
|
|
42318
|
-
return
|
|
42331
|
+
return t13;
|
|
42319
42332
|
};
|
|
42320
42333
|
function _temp(runStep_0) {
|
|
42321
42334
|
return runStep_0.step_details.type === "message_creation";
|