@charlesgomes/leafcode-shared-lib-react 1.0.94 → 1.0.95
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.js +6 -1
- package/dist/index.mjs +6 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1175,6 +1175,7 @@ function ActionsColumn({
|
|
|
1175
1175
|
type: "button",
|
|
1176
1176
|
className: "btn-icone-actions-column",
|
|
1177
1177
|
onClick: (e) => {
|
|
1178
|
+
e.stopPropagation();
|
|
1178
1179
|
onEdit && onEdit([row]);
|
|
1179
1180
|
},
|
|
1180
1181
|
children: [
|
|
@@ -1196,6 +1197,7 @@ function ActionsColumn({
|
|
|
1196
1197
|
type: "button",
|
|
1197
1198
|
className: "btn-icone-actions-column",
|
|
1198
1199
|
onClick: (e) => {
|
|
1200
|
+
e.stopPropagation();
|
|
1199
1201
|
onDelete && onDelete([row]);
|
|
1200
1202
|
},
|
|
1201
1203
|
children: [
|
|
@@ -1217,7 +1219,10 @@ function ActionsColumn({
|
|
|
1217
1219
|
{
|
|
1218
1220
|
id,
|
|
1219
1221
|
type: "button",
|
|
1220
|
-
onClick: () =>
|
|
1222
|
+
onClick: (e) => {
|
|
1223
|
+
e.stopPropagation();
|
|
1224
|
+
action.onClick([row]);
|
|
1225
|
+
},
|
|
1221
1226
|
className: cn("btn-icone-actions-column", action.className),
|
|
1222
1227
|
children: [
|
|
1223
1228
|
action.icon,
|
package/dist/index.mjs
CHANGED
|
@@ -1122,6 +1122,7 @@ function ActionsColumn({
|
|
|
1122
1122
|
type: "button",
|
|
1123
1123
|
className: "btn-icone-actions-column",
|
|
1124
1124
|
onClick: (e) => {
|
|
1125
|
+
e.stopPropagation();
|
|
1125
1126
|
onEdit && onEdit([row]);
|
|
1126
1127
|
},
|
|
1127
1128
|
children: [
|
|
@@ -1143,6 +1144,7 @@ function ActionsColumn({
|
|
|
1143
1144
|
type: "button",
|
|
1144
1145
|
className: "btn-icone-actions-column",
|
|
1145
1146
|
onClick: (e) => {
|
|
1147
|
+
e.stopPropagation();
|
|
1146
1148
|
onDelete && onDelete([row]);
|
|
1147
1149
|
},
|
|
1148
1150
|
children: [
|
|
@@ -1164,7 +1166,10 @@ function ActionsColumn({
|
|
|
1164
1166
|
{
|
|
1165
1167
|
id,
|
|
1166
1168
|
type: "button",
|
|
1167
|
-
onClick: () =>
|
|
1169
|
+
onClick: (e) => {
|
|
1170
|
+
e.stopPropagation();
|
|
1171
|
+
action.onClick([row]);
|
|
1172
|
+
},
|
|
1168
1173
|
className: cn("btn-icone-actions-column", action.className),
|
|
1169
1174
|
children: [
|
|
1170
1175
|
action.icon,
|