@arc-ui/components 7.0.0 → 7.1.0

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.es.js CHANGED
@@ -1331,7 +1331,7 @@ var Section = function (_a) {
1331
1331
  * Use `SiteFooter` to display information at the bottom of a page.
1332
1332
  */
1333
1333
  var SiteFooter = function (_a) {
1334
- var children = _a.children, currentYear = _a.currentYear, logoLabel = _a.logoLabel, main = _a.main, siteName = _a.siteName, props = __rest(_a, ["children", "currentYear", "logoLabel", "main", "siteName"]);
1334
+ var children = _a.children, currentYear = _a.currentYear, _b = _a.curve, curve = _b === void 0 ? true : _b, logoLabel = _a.logoLabel, main = _a.main, siteName = _a.siteName, props = __rest(_a, ["children", "currentYear", "curve", "logoLabel", "main", "siteName"]);
1335
1335
  useEffect(function () {
1336
1336
  React.Children.map(children, function (item) {
1337
1337
  if (item && item.type !== SiteFooterItem) {
@@ -1340,7 +1340,7 @@ var SiteFooter = function (_a) {
1340
1340
  });
1341
1341
  }, [children]);
1342
1342
  return (React.createElement(React.Fragment, null,
1343
- React.createElement(Curve, { bottomColor: "brand-flat", from: "topLeft", size: "s" }),
1343
+ curve ? (React.createElement(Curve, { bottomColor: "brand-flat", from: "topLeft", size: "s" })) : null,
1344
1344
  React.createElement("footer", __assign({ className: "arc-SiteFooter" }, filterDataAttrs(props)),
1345
1345
  React.createElement(Surface, { background: "brand-flat", paddingVertical: "24" },
1346
1346
  (siteName || main) && (React.createElement(React.Fragment, null,