@papyrus-sdk/ui-react 0.2.9 → 0.2.10

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/README.md CHANGED
@@ -86,10 +86,12 @@ Props:
86
86
  | `showBrand` | `boolean` | `true` | Show the PapyrusCore brand. |
87
87
  | `brand` | `ReactNode` | `undefined` | Replace the brand area with custom content. |
88
88
  | `title` | `ReactNode` | `undefined` | Optional document title shown in the header. |
89
- | `showSidebarLeftToggle` | `boolean` | `true` | Show the left sidebar toggle button. |
89
+ | `showSidebarLeftToggle` | `boolean` | `true` | Show the left sidebar (thumbnails/outline) toggle button. |
90
90
  | `showPageControls` | `boolean` | `true` | Show page navigation controls. |
91
91
  | `showZoomControls` | `boolean` | `true` | Show zoom controls. |
92
92
  | `showPageThemeSelector` | `boolean` | `true` | Show page theme selector (normal/sepia/dark/contrast). |
93
93
  | `showUIToggle` | `boolean` | `true` | Show light/dark toggle. |
94
94
  | `showUpload` | `boolean` | `true` | Show upload button. |
95
95
  | `showSearch` | `boolean` | `true` | Show search button. |
96
+
97
+ Tip: use `sidebarLeftOpen` in `PapyrusConfig` to set whether the thumbnails/outline sidebar starts open. The Topbar toggle (`showSidebarLeftToggle`) and `useViewerStore.getState().toggleSidebarLeft()` let you open/close it from UI controls.
package/base.css CHANGED
@@ -54,6 +54,16 @@
54
54
  font-size: 14px;
55
55
  }
56
56
 
57
+ @media (max-width: 720px) {
58
+ .papyrus-topbar {
59
+ flex-wrap: wrap;
60
+ height: auto;
61
+ min-height: 56px;
62
+ padding: 8px 12px;
63
+ row-gap: 8px;
64
+ }
65
+ }
66
+
57
67
  .papyrus-sidebar-left,
58
68
  .papyrus-sidebar-right {
59
69
  display: flex;