@sparrowengg/integrations-templates-frontend 2.1.0-notion-release.3 → 2.1.0-notion-release.4
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/_virtual/index10.js +2 -2
- package/dist/cjs/_virtual/index8.js +2 -2
- package/dist/cjs/_virtual/index9.js +2 -2
- package/dist/cjs/integration-template/components/dashboard.js +8 -1
- package/dist/cjs/integration-template/components/dashboard.js.map +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
- package/dist/cjs/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
- package/dist/cjs/node_modules/style-to-js/cjs/index.js +1 -1
- package/dist/cjs/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/es/_virtual/index10.js +2 -2
- package/dist/es/_virtual/index8.js +2 -2
- package/dist/es/_virtual/index9.js +2 -2
- package/dist/es/integration-template/components/dashboard.js +8 -1
- package/dist/es/integration-template/components/dashboard.js.map +1 -1
- package/dist/es/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/es/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
- package/dist/es/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
- package/dist/es/node_modules/style-to-js/cjs/index.js +1 -1
- package/dist/es/node_modules/style-to-object/cjs/index.js +1 -1
- package/package.json +1 -1
|
@@ -1033,7 +1033,7 @@ const SingleMappingDashboardItem = ({
|
|
|
1033
1033
|
css: {
|
|
1034
1034
|
padding: "$8 $32",
|
|
1035
1035
|
border: "$borderWidths$xs solid $black400",
|
|
1036
|
-
borderTop: "$borderWidths$xs solid $neutral200",
|
|
1036
|
+
borderTop: hasEditMapping === void 0 || hasEditMapping ? "$borderWidths$xs solid $neutral200" : "none",
|
|
1037
1037
|
borderRadius: "0 0 $2xl $2xl",
|
|
1038
1038
|
height: "100%"
|
|
1039
1039
|
}
|
|
@@ -1045,6 +1045,9 @@ const SingleMappingDashboardItem = ({
|
|
|
1045
1045
|
leftIcon: /* @__PURE__ */ React.createElement(pencil.PencilIcon, null),
|
|
1046
1046
|
color: "primary",
|
|
1047
1047
|
variant: "ghost",
|
|
1048
|
+
css: {
|
|
1049
|
+
display: hasEditMapping === void 0 || hasEditMapping ? "block" : "none"
|
|
1050
|
+
},
|
|
1048
1051
|
onClick: () => {
|
|
1049
1052
|
onMappingEditHandler(field.id);
|
|
1050
1053
|
handleEditField({
|
|
@@ -1475,6 +1478,7 @@ const DashboardItem = ({
|
|
|
1475
1478
|
css: {
|
|
1476
1479
|
padding: "$8 $32",
|
|
1477
1480
|
border: "$borderWidths$xs solid $black400",
|
|
1481
|
+
borderTop: hasEditMapping === void 0 || hasEditMapping ? "$borderWidths$xs solid $neutral200" : "none",
|
|
1478
1482
|
borderRadius: "0 0 $2xl $2xl",
|
|
1479
1483
|
height: "100%"
|
|
1480
1484
|
}
|
|
@@ -1492,6 +1496,9 @@ const DashboardItem = ({
|
|
|
1492
1496
|
});
|
|
1493
1497
|
handleDashboardPage(false, type);
|
|
1494
1498
|
},
|
|
1499
|
+
css: {
|
|
1500
|
+
visibility: hasEditMapping === void 0 || hasEditMapping ? "visible" : "hidden"
|
|
1501
|
+
},
|
|
1495
1502
|
leftIcon: /* @__PURE__ */ React.createElement(pencil.PencilIcon, null),
|
|
1496
1503
|
color: "primary",
|
|
1497
1504
|
variant: "ghost"
|