@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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var reactIs = {exports: {}};
3
+ var lib = {};
4
4
 
5
- exports.__module = reactIs;
5
+ exports.__exports = lib;
6
6
  //# sourceMappingURL=index10.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var cjs = {};
3
+ var reactIs = {exports: {}};
4
4
 
5
- exports.__exports = cjs;
5
+ exports.__module = reactIs;
6
6
  //# sourceMappingURL=index8.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var lib = {};
3
+ var cjs = {};
4
4
 
5
- exports.__exports = lib;
5
+ exports.__exports = cjs;
6
6
  //# sourceMappingURL=index9.js.map
@@ -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"