Skip to content

Commit

Permalink
chore(release): 1.2.8 [skip ci]
Browse files Browse the repository at this point in the history
## [1.2.8](v1.2.7...v1.2.8) (2023-03-20)

### Bug Fixes

* app bar position ([a4796fe](a4796fe))
  • Loading branch information
semantic-release-bot committed Mar 20, 2023
1 parent a4796fe commit 9dc7b39
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.2.8](https://github.com/ocadotechnology/codeforlife-package-javascript/compare/v1.2.7...v1.2.8) (2023-03-20)


### Bug Fixes

* app bar position ([a4796fe](https://github.com/ocadotechnology/codeforlife-package-javascript/commit/a4796fe164602c01538463a133a801156edfa5fc))

## [1.2.7](https://github.com/ocadotechnology/codeforlife-package-javascript/compare/v1.2.6...v1.2.7) (2023-03-20)


Expand Down
5 changes: 4 additions & 1 deletion lib/cjs/components/ElevatedAppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ var ElevatedAppBar = function (_a) {
threshold: 0
});
return react_1.default.cloneElement(react_1.default.createElement(material_1.AppBar, __assign({}, props),
react_1.default.createElement(material_1.Toolbar, null, children)), { elevation: trigger ? 4 : 0 });
react_1.default.createElement(material_1.Toolbar, null, children)), {
elevation: trigger ? 4 : 0,
position: trigger ? 'fixed' : 'sticky'
});
};
exports.default = ElevatedAppBar;
5 changes: 4 additions & 1 deletion lib/esm/components/ElevatedAppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ var ElevatedAppBar = function (_a) {
threshold: 0
});
return React.cloneElement(React.createElement(AppBar, __assign({}, props),
React.createElement(Toolbar, null, children)), { elevation: trigger ? 4 : 0 });
React.createElement(Toolbar, null, children)), {
elevation: trigger ? 4 : 0,
position: trigger ? 'fixed' : 'sticky'
});
};
export default ElevatedAppBar;

0 comments on commit 9dc7b39

Please sign in to comment.