aprog 1.5.5 → 1.5.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/package.json +1 -1
- package/src/aprog.js +2 -1
- package/src/paginate.js +2 -1
package/package.json
CHANGED
package/src/aprog.js
CHANGED
|
@@ -1335,6 +1335,7 @@ export const checkArrays = (arr1, arr2, checkAll = false) => {
|
|
|
1335
1335
|
|
|
1336
1336
|
const customTitle = (text) => {
|
|
1337
1337
|
const title = div({
|
|
1338
|
+
id: "tooltip",
|
|
1338
1339
|
style: {
|
|
1339
1340
|
position: "absolute",
|
|
1340
1341
|
background: "rgba(0, 0, 0, 0.8)",
|
|
@@ -1349,7 +1350,7 @@ const customTitle = (text) => {
|
|
|
1349
1350
|
},
|
|
1350
1351
|
value: text
|
|
1351
1352
|
});
|
|
1352
|
-
document.body.
|
|
1353
|
+
document.body.append(title);
|
|
1353
1354
|
|
|
1354
1355
|
return title;
|
|
1355
1356
|
};
|
package/src/paginate.js
CHANGED
|
@@ -9,6 +9,7 @@ export const paginate = ({ count = 0, currentPage = 1, onPageChange = () => {},
|
|
|
9
9
|
borderRadius: "0.5rem",
|
|
10
10
|
fontSize: "16px",
|
|
11
11
|
borderWidth: "0.0313rem",
|
|
12
|
+
border: "border: ${theme.borderWidth} solid ${theme.defaultColor};"
|
|
12
13
|
};
|
|
13
14
|
|
|
14
15
|
const theme = { ...defaultColors, ...colors };
|
|
@@ -33,7 +34,7 @@ export const paginate = ({ count = 0, currentPage = 1, onPageChange = () => {},
|
|
|
33
34
|
font-weight: 600;
|
|
34
35
|
color: ${theme.defaultColor};
|
|
35
36
|
background: ${theme.backgroundColor};
|
|
36
|
-
|
|
37
|
+
${theme.border}
|
|
37
38
|
border-radius: ${theme.borderRadius};
|
|
38
39
|
cursor: pointer;
|
|
39
40
|
box-shadow: ${theme.boxShadow};
|