@charlesgomes/leafcode-shared-lib-react 1.0.93 → 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.css +5 -0
- package/dist/index.js +7 -2
- package/dist/index.mjs +7 -2
- package/dist/styles/table.css +6 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -122,6 +122,10 @@ td {
|
|
|
122
122
|
.p-datatable .p-datatable-header {
|
|
123
123
|
background: transparent;
|
|
124
124
|
}
|
|
125
|
+
.p-datatable {
|
|
126
|
+
position: relative;
|
|
127
|
+
overflow: hidden !important;
|
|
128
|
+
}
|
|
125
129
|
.react-flow__node.draggable {
|
|
126
130
|
color: #fff !important;
|
|
127
131
|
}
|
|
@@ -268,6 +272,7 @@ th {
|
|
|
268
272
|
.p-column-filter:hover,
|
|
269
273
|
.p-column-filter:focus {
|
|
270
274
|
border-color: var(--p-column-filter-hover-focus, #6366f1);
|
|
275
|
+
border: none;
|
|
271
276
|
}
|
|
272
277
|
.p-column-filter-menu {
|
|
273
278
|
background-color: transparent;
|
package/dist/index.js
CHANGED
|
@@ -644,7 +644,7 @@ var InputBase2 = ({
|
|
|
644
644
|
value: displayValue.label !== null && displayValue.label !== void 0 ? displayValue : null,
|
|
645
645
|
onChange: (e) => {
|
|
646
646
|
onChange(e);
|
|
647
|
-
onSelect && onSelect();
|
|
647
|
+
onSelect && onSelect(e);
|
|
648
648
|
},
|
|
649
649
|
styles: {
|
|
650
650
|
control: (baseStyles) => ({
|
|
@@ -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
|
@@ -586,7 +586,7 @@ var InputBase2 = ({
|
|
|
586
586
|
value: displayValue.label !== null && displayValue.label !== void 0 ? displayValue : null,
|
|
587
587
|
onChange: (e) => {
|
|
588
588
|
onChange(e);
|
|
589
|
-
onSelect && onSelect();
|
|
589
|
+
onSelect && onSelect(e);
|
|
590
590
|
},
|
|
591
591
|
styles: {
|
|
592
592
|
control: (baseStyles) => ({
|
|
@@ -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,
|
package/dist/styles/table.css
CHANGED
|
@@ -142,6 +142,11 @@ td {
|
|
|
142
142
|
background: transparent;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
+
.p-datatable {
|
|
146
|
+
position: relative;
|
|
147
|
+
overflow: hidden !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
145
150
|
.react-flow__node.draggable {
|
|
146
151
|
color: #fff !important;
|
|
147
152
|
}
|
|
@@ -327,6 +332,7 @@ th {
|
|
|
327
332
|
.p-column-filter:hover,
|
|
328
333
|
.p-column-filter:focus {
|
|
329
334
|
border-color: var(--p-column-filter-hover-focus, #6366f1);
|
|
335
|
+
border: none;
|
|
330
336
|
}
|
|
331
337
|
|
|
332
338
|
.p-column-filter-menu {
|