@colisweb/rescript-toolkit 4.10.1 → 4.10.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "4.10.1",
3
+ "version": "4.10.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -36,7 +36,7 @@ module App = {
36
36
  @react.component
37
37
  let make = (~toggleMenu, ~username=?, ~logoSrc=?, ~onLogoClick, ~logout=?) => {
38
38
  <div
39
- className="bg-white h-16 border-b flex items-center px-1 justify-between fixed top-0 left-0 w-full z-40">
39
+ className="bg-white h-16 border-b flex items-center px-1 justify-between fixed top-0 left-0 w-full z-40 print:hidden">
40
40
  <div className="flex items-center px-1">
41
41
  <button
42
42
  onClick=toggleMenu className="text-neutral-800 hover:bg-neutral-300 rounded-full p-2">
@@ -108,7 +108,7 @@ module App = {
108
108
  <nav
109
109
  className={cx([
110
110
  "sidenav",
111
- "lg:flex border-r px-2 py-3 fixed flex-col bg-white justify-between transition-all duration-300 ease-in-out z-40",
111
+ "lg:flex border-r px-2 py-3 fixed flex-col bg-white justify-between transition-all duration-300 ease-in-out z-40 print:hidden",
112
112
  isNavOpen ? "w-64 overflow-y-auto" : "w-16 hidden sidenav--closed",
113
113
  ])}>
114
114
  {children({onLinkClick, isNavOpen, openMenu})}