@cloudtower/eagle 0.35.9 → 490.0.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/cjs/core/TableForm/AddRowButton.js +2 -1
- package/dist/cjs/core/TableForm/index.js +1 -0
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +3123 -3124
- package/dist/esm/core/TableForm/AddRowButton.js +2 -1
- package/dist/esm/core/TableForm/index.js +1 -0
- package/dist/esm/stats1.html +1 -1
- package/dist/linaria.merged.scss +3392 -3393
- package/dist/src/core/TableForm/types.d.ts +1 -0
- package/dist/style.css +3123 -3124
- package/package.json +4 -4
|
@@ -48,6 +48,7 @@ const AddRowButton = (props) => {
|
|
|
48
48
|
text,
|
|
49
49
|
extraAction
|
|
50
50
|
},
|
|
51
|
+
style,
|
|
51
52
|
columns,
|
|
52
53
|
addData,
|
|
53
54
|
data
|
|
@@ -81,7 +82,7 @@ const AddRowButton = (props) => {
|
|
|
81
82
|
if (!columns.length) {
|
|
82
83
|
return null;
|
|
83
84
|
}
|
|
84
|
-
return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues({}, props)) : /* @__PURE__ */ React__default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__default.createElement(
|
|
85
|
+
return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues({}, props)) : /* @__PURE__ */ React__default.createElement(AddRowButtonWrapper, { className, style }, /* @__PURE__ */ React__default.createElement(
|
|
85
86
|
Button,
|
|
86
87
|
__spreadProps(__spreadValues({}, restButtonProps), {
|
|
87
88
|
type: restButtonProps.type || "ordinary",
|
|
@@ -191,6 +191,7 @@ const TableForm = React__default.forwardRef(
|
|
|
191
191
|
), (rowAddConfig == null ? void 0 : rowAddConfig.addible) ? /* @__PURE__ */ React__default.createElement(
|
|
192
192
|
AddRowButton,
|
|
193
193
|
{
|
|
194
|
+
style: { marginTop: hideEmptyTable && !data.length ? 0 : 8 },
|
|
194
195
|
config: rowAddConfig,
|
|
195
196
|
addData,
|
|
196
197
|
columns,
|