@papernote/ui 1.11.0 → 1.11.1
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/components/PageLayout.d.ts.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -12
- package/package.json +1 -1
- package/src/components/Page.tsx +2 -2
- package/src/components/PageLayout.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -14028,7 +14028,7 @@ const TwoColumnContent = ({ sidebar, children, className = '', }) => {
|
|
|
14028
14028
|
* </PageLayout>
|
|
14029
14029
|
* ```
|
|
14030
14030
|
*/
|
|
14031
|
-
const Page = ({ children, maxWidth = '
|
|
14031
|
+
const Page = ({ children, maxWidth = 'full', className = '', padding = 'normal', fixed = false }) => {
|
|
14032
14032
|
// Max width classes
|
|
14033
14033
|
const maxWidthClasses = {
|
|
14034
14034
|
'4xl': 'max-w-4xl',
|
|
@@ -14047,7 +14047,7 @@ const Page = ({ children, maxWidth = '7xl', className = '', padding = 'normal',
|
|
|
14047
14047
|
// Margin classes - responsive (fixed left/top, responsive right/bottom) vs all fixed
|
|
14048
14048
|
const marginClasses = fixed
|
|
14049
14049
|
? 'mt-4 ml-4 mr-4 mb-4'
|
|
14050
|
-
: 'mt-4 ml-4 mr-4 mb-4 sm:
|
|
14050
|
+
: 'mt-4 ml-4 mr-4 mb-4 sm:mb-6 md:mb-8';
|
|
14051
14051
|
return (jsxRuntime.jsx("div", { className: "min-h-screen bg-paper-100", children: jsxRuntime.jsx("div", { className: `
|
|
14052
14052
|
bg-white bg-subtle-grain rounded-sm shadow-lg border-l-4 border-paper-300
|
|
14053
14053
|
min-h-[calc(100vh-2rem)] relative
|
|
@@ -61624,7 +61624,7 @@ const AppLayout = ({ children, toolbarSections = [], className = '', showToolbar
|
|
|
61624
61624
|
* </Layout>
|
|
61625
61625
|
* ```
|
|
61626
61626
|
*/
|
|
61627
|
-
function PageLayout({ title, description, children, className = '', headerContent, maxWidth = '
|
|
61627
|
+
function PageLayout({ title, description, children, className = '', headerContent, maxWidth = 'full', fixed = false, actions, rightContent, }) {
|
|
61628
61628
|
// Responsive padding classes - fixed left/top, responsive right/bottom
|
|
61629
61629
|
const paddingClasses = fixed
|
|
61630
61630
|
? 'p-6 pb-20'
|