@superinterface/react 2.0.5 → 2.0.7
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2473,16 +2473,17 @@ var TextareaBase = (0, import_react33.forwardRef)(function TextareaBase2(props,
|
|
|
2473
2473
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, {
|
|
2474
2474
|
children: [
|
|
2475
2475
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("style", {
|
|
2476
|
-
children: ".superinterface-textarea { min-height: inherit; height: 30px; }"
|
|
2476
|
+
children: ".superinterface-textarea { min-height: inherit; height: 30px; }\n.superinterface-textarea::placeholder { color: var(--gray-a10); }"
|
|
2477
2477
|
}),
|
|
2478
2478
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_react_textarea_autosize.default, _object_spread({
|
|
2479
2479
|
ref: ref,
|
|
2480
|
-
className: "superinterface-textarea",
|
|
2480
|
+
className: "rt-reset superinterface-textarea",
|
|
2481
2481
|
style: {
|
|
2482
2482
|
border: 0,
|
|
2483
2483
|
outline: 0,
|
|
2484
2484
|
boxSizing: "border-box",
|
|
2485
2485
|
resize: "none",
|
|
2486
|
+
color: "var(--gray-12)",
|
|
2486
2487
|
fontSize: "".concat(14 * UPSCALE_RATIO, "px"),
|
|
2487
2488
|
lineHeight: "".concat(24 * UPSCALE_RATIO, "px"),
|
|
2488
2489
|
transform: "scale(".concat(1 / UPSCALE_RATIO, ")"),
|