diff --git a/packages/calendars/CHANGELOG.md b/packages/calendars/CHANGELOG.md index 4ae2fcaef..6fd33ee68 100644 --- a/packages/calendars/CHANGELOG.md +++ b/packages/calendars/CHANGELOG.md @@ -1,5 +1,23 @@ # @bubbles-ui/calendars +## 1.2.54 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.54 + - @bubbles-ui/icons@1.2.54 + +## 1.2.53 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.53 + - @bubbles-ui/icons@1.2.53 + ## 1.2.52 ### Patch Changes diff --git a/packages/calendars/package.json b/packages/calendars/package.json index 50c8aa63c..3ab2a7d2f 100644 --- a/packages/calendars/package.json +++ b/packages/calendars/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/calendars", - "version": "1.2.52", + "version": "1.2.54", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -59,8 +59,8 @@ "rrule": "^2.6.8" }, "peerDependencies": { - "@bubbles-ui/components": "^1.2.52", - "@bubbles-ui/icons": "^1.2.52", + "@bubbles-ui/components": "^1.2.54", + "@bubbles-ui/icons": "^1.2.54", "react": "^17.0.1", "react-dom": "^17.0.1", "webpack": "*" diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 05736282c..30927ae33 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,21 @@ # @bubbles-ui/components +## 1.2.54 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/icons@1.2.54 + +## 1.2.53 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/icons@1.2.53 + ## 1.2.52 ### Patch Changes diff --git a/packages/components/package.json b/packages/components/package.json index f1e75b27e..5cb8ce02f 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/components", - "version": "1.2.52", + "version": "1.2.54", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -61,7 +61,7 @@ "chromatic": "npx chromatic --project-token=7b10302a7b6b --build-script-name=build:storybook:raw" }, "dependencies": { - "@bubbles-ui/icons": "^1.2.52", + "@bubbles-ui/icons": "^1.2.54", "@emotion/react": "^11.10.0", "@heroicons/react": "^1.0.5", "@hookform/resolvers": "^3.3.2", diff --git a/packages/components/src/layout/TotalLayout/TotalLayout.js b/packages/components/src/layout/TotalLayout/TotalLayout.js index d3dad789b..2c9a327ea 100644 --- a/packages/components/src/layout/TotalLayout/TotalLayout.js +++ b/packages/components/src/layout/TotalLayout/TotalLayout.js @@ -42,7 +42,7 @@ const TotalLayout = ({ }) => { const form = useFormContext(); const [topScroll, setTopScroll] = React.useState(false); - const [showFooterShadow, setShowFooterShadow] = React.useState(false); + const [showFooterBorder, setShowFooterBorder] = React.useState(false); const [lastValidStep, setLastValidStep] = React.useState(false); const footerLeftOffset = showStepper && 192 + 16; // Stepper plus margin (16) : margin @@ -78,9 +78,9 @@ const TotalLayout = ({ const atTheBottom = scrollHeight - scrollTop === clientHeight; const isScrollable = scrollHeight > clientHeight; - if (isScrollable && !atTheBottom && !showFooterShadow) setShowFooterShadow(true); - else if ((!isScrollable && showFooterShadow) || (atTheBottom && showFooterShadow)) - setShowFooterShadow(false); + if (isScrollable && !atTheBottom && !showFooterBorder) setShowFooterBorder(true); + else if ((!isScrollable && showFooterBorder) || (atTheBottom && showFooterBorder)) + setShowFooterBorder(false); } }; React.useEffect(() => { @@ -175,7 +175,7 @@ const TotalLayout = ({