@charlesgomes/leafcode-shared-lib-react 1.0.28 → 1.0.30
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 +4 -2
- package/dist/index.js +6 -0
- package/dist/index.mjs +6 -0
- package/dist/styles/table.css +5 -2
- package/package.json +5 -4
package/dist/index.css
CHANGED
|
@@ -400,12 +400,14 @@ th {
|
|
|
400
400
|
opacity: 1;
|
|
401
401
|
}
|
|
402
402
|
.box-icones-actions-column {
|
|
403
|
-
position:
|
|
403
|
+
position: fixed;
|
|
404
|
+
z-index: 2;
|
|
404
405
|
padding: 0.125rem;
|
|
405
406
|
width: fit-content;
|
|
406
407
|
height: fit-content;
|
|
407
408
|
margin: auto;
|
|
408
|
-
|
|
409
|
+
right: 6px;
|
|
410
|
+
transform: translate(-50%, -50%);
|
|
409
411
|
display: flex;
|
|
410
412
|
align-items: center;
|
|
411
413
|
justify-content: center;
|
package/dist/index.js
CHANGED
|
@@ -765,6 +765,12 @@ function DataTableAdvancedFilterWrapper({
|
|
|
765
765
|
// preserva filterFieldCollection, se existir
|
|
766
766
|
...filters[key]?.filterFieldCollection && {
|
|
767
767
|
filterFieldCollection: filters[key].filterFieldCollection
|
|
768
|
+
},
|
|
769
|
+
...filters[key]?.campoId && {
|
|
770
|
+
campoId: filters[key].campoId
|
|
771
|
+
},
|
|
772
|
+
...filters[key]?.operator && {
|
|
773
|
+
operator: filters[key].operator
|
|
768
774
|
}
|
|
769
775
|
};
|
|
770
776
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -716,6 +716,12 @@ function DataTableAdvancedFilterWrapper({
|
|
|
716
716
|
// preserva filterFieldCollection, se existir
|
|
717
717
|
...filters[key]?.filterFieldCollection && {
|
|
718
718
|
filterFieldCollection: filters[key].filterFieldCollection
|
|
719
|
+
},
|
|
720
|
+
...filters[key]?.campoId && {
|
|
721
|
+
campoId: filters[key].campoId
|
|
722
|
+
},
|
|
723
|
+
...filters[key]?.operator && {
|
|
724
|
+
operator: filters[key].operator
|
|
719
725
|
}
|
|
720
726
|
};
|
|
721
727
|
}
|
package/dist/styles/table.css
CHANGED
|
@@ -464,6 +464,7 @@ th {
|
|
|
464
464
|
|
|
465
465
|
.box-row-table .box-icones-actions-column {
|
|
466
466
|
opacity: 0;
|
|
467
|
+
/* opacity: 1; */
|
|
467
468
|
transition: opacity 0.2s ease;
|
|
468
469
|
}
|
|
469
470
|
|
|
@@ -472,12 +473,14 @@ th {
|
|
|
472
473
|
}
|
|
473
474
|
|
|
474
475
|
.box-icones-actions-column {
|
|
475
|
-
position:
|
|
476
|
+
position: fixed;
|
|
477
|
+
z-index: 2;
|
|
476
478
|
padding: 0.125rem;
|
|
477
479
|
width: fit-content;
|
|
478
480
|
height: fit-content;
|
|
479
481
|
margin: auto;
|
|
480
|
-
|
|
482
|
+
right: 6px;
|
|
483
|
+
transform: translate( -50%, -50%);
|
|
481
484
|
display: flex;
|
|
482
485
|
align-items: center;
|
|
483
486
|
justify-content: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@charlesgomes/leafcode-shared-lib-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"description": "Lib de componentes react",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"react-dom": ">=17"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"react": "^19.1.1",
|
|
42
|
-
"react-dom": "^19.1.1",
|
|
43
41
|
"@tailwindcss/postcss": "^4.1.12",
|
|
44
42
|
"@tanstack/react-query": "^5.85.9",
|
|
45
43
|
"@types/react": "^19.1.12",
|
|
46
44
|
"@types/react-dom": "^19.1.9",
|
|
47
45
|
"@vitejs/plugin-react": "^5.0.2",
|
|
48
46
|
"postcss": "^8.5.6",
|
|
47
|
+
"react": "^19.1.1",
|
|
48
|
+
"react-dom": "^19.1.1",
|
|
49
49
|
"tailwindcss": "^4.1.12",
|
|
50
50
|
"tsup": "^8.5.0",
|
|
51
51
|
"typescript": "^5.9.2",
|
|
@@ -54,8 +54,9 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@phosphor-icons/react": "^2.1.10",
|
|
56
56
|
"clsx": "^2.1.1",
|
|
57
|
+
"primereact": "^10.9.7",
|
|
57
58
|
"react-select": "^5.10.2",
|
|
58
59
|
"react-tooltip": "^5.29.1",
|
|
59
60
|
"tailwind-merge": "^3.3.1"
|
|
60
61
|
}
|
|
61
|
-
}
|
|
62
|
+
}
|