najwer23morsels 0.20.1 → 0.20.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/lib/Footer.js +1 -1
- package/lib/footer/Footer.d.ts +4 -0
- package/package.json +1 -1
package/lib/Footer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as
|
|
1
|
+
import{jsxs as o,jsx as e}from"react/jsx-runtime";import{G as t}from"./Grid-DaGizIDc.js";import{T as r}from"./TextBox-CWSg4nm8.js";import{s as i,g as n}from"./style-inject.es-CrVRO2OA.js";import"./Loader-D8OrIi__.js";import"react";var a={n23mFooter:"Footer-module_n23mFooter__R0RUZ",n23mFooterPush:"Footer-module_n23mFooterPush__LbDeJ",n23mFooterContainer:"Footer-module_n23mFooterContainer__gMHjx"};i("@layer n23mFooter{html{height:100%}body{min-height:100%;position:relative}.Footer-module_n23mFooter__R0RUZ{.Footer-module_n23mFooterPush__LbDeJ{padding-bottom:100px}.Footer-module_n23mFooterContainer__gMHjx{background-color:var(--bc);bottom:0;height:100px;position:absolute;width:100%}}}");const l=({children:i,author:l="Mariusz Najwer",className:m,initialYear:s="2019",backgroundColor:d="#333333",color:c="white",style:h,...p})=>o("footer",{className:[a.n23mFooter,"n23mFooter",m].filter(Boolean).join(" "),...p,style:{...n({"--bc":d}),...h},children:[e("div",{className:a.n23mFooterPush}),e("div",{className:a.n23mFooterContainer,children:o(t,{layout:"container",widthMax:"1600px",children:[e(t,{layout:"flex",widthMax:"1400px",padding:"20px 0 0",justifyContent:"center",children:o(r,{mobileSize:22,desktopSize:22,color:c,tag:"p",children:["© ",l]})}),e(t,{layout:"flex",widthMax:"1400px",padding:"0",justifyContent:"center",children:o(r,{mobileSize:12,desktopSize:12,color:c,tag:"p",children:[s," - ",(new Date).getFullYear()]})})]})})]});l.displayName="Footer";export{l as Footer};
|
package/lib/footer/Footer.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
interface FooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
2
2
|
children?: React.ReactNode;
|
|
3
3
|
style?: React.CSSProperties;
|
|
4
|
+
author?: string;
|
|
5
|
+
initialYear?: number;
|
|
6
|
+
color: string;
|
|
7
|
+
backgroundColor?: string;
|
|
4
8
|
}
|
|
5
9
|
export declare const Footer: React.FC<FooterProps>;
|
|
6
10
|
export {};
|