@superinterface/react 3.2.0 → 3.3.0
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 +13 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +66 -58
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2638,10 +2638,17 @@ var components = {
|
|
|
2638
2638
|
});
|
|
2639
2639
|
},
|
|
2640
2640
|
table: function(props) {
|
|
2641
|
-
return /* @__PURE__ */ (0, import_jsx_runtime43.
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, {
|
|
2642
|
+
children: [
|
|
2643
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("style", {
|
|
2644
|
+
children: ".rt-TableRootTable { overflow: inherit; }"
|
|
2645
|
+
}),
|
|
2646
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes31.Table.Root, _object_spread_props(_object_spread({}, props), {
|
|
2647
|
+
variant: "surface",
|
|
2648
|
+
mb: "3"
|
|
2649
|
+
}))
|
|
2650
|
+
]
|
|
2651
|
+
});
|
|
2645
2652
|
},
|
|
2646
2653
|
thead: import_themes31.Table.Header,
|
|
2647
2654
|
tbody: import_themes31.Table.Body,
|
|
@@ -3676,9 +3683,10 @@ var Input = function(props) {
|
|
|
3676
3683
|
isDisabledPrevious,
|
|
3677
3684
|
textareaProps
|
|
3678
3685
|
]);
|
|
3686
|
+
var _props_placeholder;
|
|
3679
3687
|
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(TextareaBase, _object_spread_props(_object_spread({
|
|
3680
3688
|
minRows: 1,
|
|
3681
|
-
placeholder: "Message ".concat(assistantNameContext, "..."),
|
|
3689
|
+
placeholder: (_props_placeholder = props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "Message ".concat(assistantNameContext, "..."),
|
|
3682
3690
|
disabled: isDisabled,
|
|
3683
3691
|
onKeyDown: function(e) {
|
|
3684
3692
|
if (e.key === "Enter" && !e.shiftKey) {
|