@snokam/footer 3.1.14 → 3.2.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/CHANGELOG.md +10 -0
- package/dist/v1/Footer.stories.d.ts.map +1 -1
- package/dist/v1/Footer.stories.js +4 -1
- package/dist/v1/Footer.stories.js.map +1 -1
- package/dist/v1/components/Footer/base.d.ts.map +1 -1
- package/dist/v1/components/Footer/base.js +1 -1
- package/dist/v1/components/Footer/base.js.map +1 -1
- package/dist/v1/components/Footer/index.d.ts +1 -1
- package/dist/v1/components/Footer/index.d.ts.map +1 -1
- package/dist/v1/components/Footer/index.js +3 -9
- package/dist/v1/components/Footer/index.js.map +1 -1
- package/dist/v1/components/Footer/types.d.ts +2 -0
- package/dist/v1/components/Footer/types.d.ts.map +1 -1
- package/dist/v1/components/SystemFooter/index.d.ts +4 -0
- package/dist/v1/components/SystemFooter/index.d.ts.map +1 -0
- package/dist/v1/components/SystemFooter/index.js +8 -0
- package/dist/v1/components/SystemFooter/index.js.map +1 -0
- package/dist/v1/index.d.ts +2 -0
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +1 -0
- package/dist/v1/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.2.1](https://github.com/snokam/monorepo/compare/@snokam/footer@3.2.0...@snokam/footer@3.2.1) (2026-10-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @snokam/footer
|
|
9
|
+
|
|
10
|
+
# [3.2.0](https://github.com/snokam/monorepo/compare/@snokam/footer@3.1.14...@snokam/footer@3.2.0) (2026-10-04)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **ui:** solid footer with a wave on system pages; Snøsky wordmark ([#2584](https://github.com/snokam/monorepo/issues/2584)) ([5da5509](https://github.com/snokam/monorepo/commit/5da55096e5aaa5804110c49d9b7212bd6c7bc0a1))
|
|
15
|
+
|
|
6
16
|
## [3.1.14](https://github.com/snokam/monorepo/compare/@snokam/footer@3.1.13...@snokam/footer@3.1.14) (2026-10-04)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @snokam/footer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../src/v1/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGtD;;;;GAIG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAgBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,KAAK,EAAE,KAAU,CAAC;AAE/B,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../src/v1/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGtD;;;;GAIG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAgBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,KAAK,EAAE,KAAU,CAAC;AAE/B,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAIhC,CAAC"}
|
|
@@ -27,7 +27,10 @@ const meta = {
|
|
|
27
27
|
export default meta;
|
|
28
28
|
export const Light = {};
|
|
29
29
|
export const Dark = {
|
|
30
|
-
args: {
|
|
30
|
+
args: {
|
|
31
|
+
theme: FooterTheme.Dark,
|
|
32
|
+
logo: { url: "/snokam-logo-white.svg", alt: "Snøkam" },
|
|
33
|
+
},
|
|
31
34
|
};
|
|
32
35
|
export const WithWaveTransition = {
|
|
33
36
|
args: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.stories.js","sourceRoot":"","sources":["../../src/v1/Footer.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;;GAIG;AACH,MAAM,IAAI,GAA4B;IACpC,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,UAAU;IACrB,UAAU,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE;IACpC,IAAI,EAAE;QACJ,KAAK,EAAE,WAAW,CAAC,KAAK;QACxB,IAAI,EAAE,EAAE,GAAG,EAAE,kBAAkB,EAAE,GAAG,EAAE,QAAQ,EAAE;QAChD,OAAO,EAAE,8EAA2C;QACpD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,gCAAgC,EAAE,IAAI,EAAE,cAAc,EAAE;YAChE,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,EAAE,OAAO,EAAE;SACnD;KACF;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE;KACjE;CACF,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,KAAK,GAAU,EAAE,CAAC;AAE/B,MAAM,CAAC,MA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,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;KACjE;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/base.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAe,MAAM,SAAS,CAAC;AAGvD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU,GAAI,4DAOxB,eAAe,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/base.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAe,MAAM,SAAS,CAAC;AAGvD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU,GAAI,4DAOxB,eAAe,gCAiCjB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAEvE,eAAe,UAAU,CAAC"}
|
|
@@ -19,7 +19,7 @@ import Layout, { Padding } from "@snokam/ui/layout";
|
|
|
19
19
|
*/
|
|
20
20
|
export const FooterBase = ({ theme = FooterTheme.Dark, logo, content, links = [], transitions, themeToggle, }) => {
|
|
21
21
|
const { Link, Image } = useFramework();
|
|
22
|
-
return (_jsx(Layout.Container, { as: "footer", theme: theme, transitions: transitions, children: _jsx(Layout.Content, { children: _jsxs(Layout.Section, { padding: Padding.Large, children: [_jsx(Styled.Logo, { as: Image, "data-sanity": logo.sanityAttr, alt: logo.alt || "Snøkam logo", src: logo.url, width: 236, height: 46 }), Array.isArray(content) ?
|
|
22
|
+
return (_jsx(Layout.Container, { as: "footer", theme: theme, transitions: transitions, children: _jsx(Layout.Content, { children: _jsxs(Layout.Section, { padding: Padding.Large, children: [_jsx(Styled.Logo, { as: Image, "data-sanity": logo.sanityAttr, alt: logo.alt || "Snøkam logo", src: logo.url, width: 236, height: 46 }), Array.isArray(content) ? _jsx(PortableText, { value: content }) : content, links.map((link) => (_jsxs(Styled.Link, { as: Link, href: link.href, children: [link.text, _jsx(ChevronRight, {})] }, link.href))), themeToggle && (_jsx(Styled.ToggleRow, { id: "tema", children: themeToggle }))] }) }) }));
|
|
23
23
|
};
|
|
24
24
|
export { FooterTheme } from "./types";
|
|
25
25
|
export default FooterBase;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../src/v1/components/Footer/base.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAmB,WAAW,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,MAAM,EAAE,EAAe,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACzB,KAAK,GAAG,WAAW,CAAC,IAAI,EACxB,IAAI,EACJ,OAAO,EACP,KAAK,GAAG,EAAE,EACV,WAAW,EACX,WAAW,GACK,EAAE,EAAE;IACpB,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,YAAY,EAAE,CAAC;IAEvC,OAAO,CACL,KAAC,MAAM,CAAC,SAAS,IACf,EAAE,EAAC,QAAQ,EACX,KAAK,EAAE,KAA+B,EACtC,WAAW,EAAE,WAAW,YAExB,KAAC,MAAM,CAAC,OAAO,cACb,MAAC,MAAM,CAAC,OAAO,IAAC,OAAO,EAAE,OAAO,CAAC,KAAK,aACpC,KAAC,MAAM,CAAC,IAAI,IACV,EAAE,EAAE,KAAK,iBACI,IAAI,CAAC,UAAU,EAC5B,GAAG,EAAE,IAAI,CAAC,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AAE,EAAE,GACV,EACD,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAC,YAAY,IAAC,KAAK,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,OAAO,EACnE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,MAAC,MAAM,CAAC,IAAI,IAAC,EAAE,EAAE,IAAI,EAAkB,IAAI,EAAE,IAAI,CAAC,IAAI,aACnD,IAAI,CAAC,IAAI,EACV,KAAC,YAAY,KAAG,KAFU,IAAI,CAAC,IAAI,CAGvB,CACf,CAAC,EACD,WAAW,IAAI,CACd,KAAC,MAAM,CAAC,SAAS,IAAC,EAAE,EAAC,MAAM,YAAE,WAAW,GAAoB,CAC7D,IACc,GACF,GACA,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,eAAe,UAAU,CAAC"}
|
|
@@ -3,6 +3,6 @@ import { FooterProps } from "./types";
|
|
|
3
3
|
* The footer, wired to the app it lives in: logo and copy from the CMS, link targets from the
|
|
4
4
|
* tenant config. {@link FooterBase} is the same footer with those passed in as props.
|
|
5
5
|
*/
|
|
6
|
-
export declare const Footer: ({ theme, showMiljofyrtorn, showBlog, showPresentations, extraLinks, transitions, onThemeSave, }: FooterProps) => import("react").JSX.Element;
|
|
6
|
+
export declare const Footer: ({ theme, showMiljofyrtorn, showBlog, showPresentations, showFaq, showContact, extraLinks, transitions, onThemeSave, }: FooterProps) => import("react").JSX.Element;
|
|
7
7
|
export default Footer;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,WAAW,EAAe,MAAM,SAAS,CAAC;AAI/D;;;GAGG;AACH,eAAO,MAAM,MAAM,GAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,WAAW,EAAe,MAAM,SAAS,CAAC;AAI/D;;;GAGG;AACH,eAAO,MAAM,MAAM,GAAI,uHAUpB,WAAW,gCAoDb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -10,7 +10,7 @@ import { ThemeModeToggle } from "./ThemeModeToggle";
|
|
|
10
10
|
* The footer, wired to the app it lives in: logo and copy from the CMS, link targets from the
|
|
11
11
|
* tenant config. {@link FooterBase} is the same footer with those passed in as props.
|
|
12
12
|
*/
|
|
13
|
-
export const Footer = ({ theme = FooterTheme.Dark, showMiljofyrtorn = true, showBlog = true, showPresentations = false, extraLinks, transitions, onThemeSave, }) => {
|
|
13
|
+
export const Footer = ({ theme = FooterTheme.Dark, showMiljofyrtorn = true, showBlog = true, showPresentations = false, showFaq = true, showContact = true, extraLinks, transitions, onThemeSave, }) => {
|
|
14
14
|
const { getImage, getText, getAttr, getBlock } = usePageContent();
|
|
15
15
|
const config = useConfig();
|
|
16
16
|
const resolvedTheme = useColorScheme();
|
|
@@ -44,14 +44,8 @@ export const Footer = ({ theme = FooterTheme.Dark, showMiljofyrtorn = true, show
|
|
|
44
44
|
},
|
|
45
45
|
]
|
|
46
46
|
: []),
|
|
47
|
-
{
|
|
48
|
-
|
|
49
|
-
text: "FAQ",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
href: `${snokamUrl}/kontakt`,
|
|
53
|
-
text: "Kontakt",
|
|
54
|
-
},
|
|
47
|
+
...(showFaq ? [{ href: `${snokamUrl}/faq`, text: "FAQ" }] : []),
|
|
48
|
+
...(showContact ? [{ href: `${snokamUrl}/kontakt`, text: "Kontakt" }] : []),
|
|
55
49
|
...(extraLinks ?? []),
|
|
56
50
|
];
|
|
57
51
|
return (_jsx(FooterBase, { theme: theme, logo: { url: logo.url, alt: logo.alt, sanityAttr: getAttr(logoKey) }, content: getBlock("footerContent"), links: links, transitions: transitions, themeToggle: _jsx(ThemeModeToggle, { onThemeSave: onThemeSave }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v1/components/Footer/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAA2B,WAAW,EAAE,MAAM,SAAS,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EACrB,KAAK,GAAG,WAAW,CAAC,IAAI,EACxB,gBAAgB,GAAG,IAAI,EACvB,QAAQ,GAAG,IAAI,EACf,iBAAiB,GAAG,KAAK,EACzB,UAAU,EACV,WAAW,EACX,WAAW,GACC,EAAE,EAAE;IAChB,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,cAAc,EAAE,CAAC;IAClE,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,aAAa,GAAG,cAAc,EAAE,CAAC;IAEvC,MAAM,SAAS,GAAG,MAAM,CAAC,2BAA2B,IAAI,EAAE,CAAC;IAC3D,MAAM,OAAO,GACX,aAAa,KAAK,MAAM,IAAI,KAAK,KAAK,WAAW,CAAC,IAAI;QACpD,CAAC,CAAC,iBAAiB;QACnB,CAAC,CAAC,gBAAgB,CAAC;IACvB,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;IAE/B,MAAM,KAAK,GAAiB;QAC1B,GAAG,CAAC,gBAAgB;YAClB,CAAC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AAED,MAAM,WAAW,WAAW;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;CAChD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/SystemFooter/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAe,MAAM,iBAAiB,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,aAAa,CAAC,CAAC;AAE3E,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAEpD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Footer } from "../Footer";
|
|
4
|
+
import { FooterTheme } from "../Footer/types";
|
|
5
|
+
export function SystemFooter(props) {
|
|
6
|
+
return _jsx(Footer, { ...props, theme: FooterTheme.Light });
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v1/components/SystemFooter/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAe,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAI3D,MAAM,UAAU,YAAY,CAAC,KAAwB;IACnD,OAAO,KAAC,MAAM,OAAK,KAAK,EAAE,KAAK,EAAE,WAAW,CAAC,KAAK,GAAI,CAAC;AACzD,CAAC"}
|
package/dist/v1/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Footer } from "./components/Footer";
|
|
2
2
|
export { FooterBase } from "./components/Footer/base";
|
|
3
|
+
export { SystemFooter } from "./components/SystemFooter";
|
|
4
|
+
export type { SystemFooterProps } from "./components/SystemFooter";
|
|
3
5
|
export { FooterTheme } from "./components/Footer/types";
|
|
4
6
|
export type { FooterProps, FooterBaseProps, FooterLink, FooterLogo, } from "./components/Footer/types";
|
|
5
7
|
export default Footer;
|
package/dist/v1/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v1/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,YAAY,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,GACX,MAAM,2BAA2B,CAAC;AACnC,eAAe,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v1/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,YAAY,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,GACX,MAAM,2BAA2B,CAAC;AACnC,eAAe,MAAM,CAAC"}
|
package/dist/v1/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Footer } from "./components/Footer";
|
|
2
2
|
export { FooterBase } from "./components/Footer/base";
|
|
3
|
+
export { SystemFooter } from "./components/SystemFooter";
|
|
3
4
|
export { FooterTheme } from "./components/Footer/types";
|
|
4
5
|
export default Footer;
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
package/dist/v1/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAOxD,eAAe,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAOxD,eAAe,MAAM,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.1
|
|
2
|
+
"version": "3.2.1",
|
|
3
3
|
"dependencies": {
|
|
4
4
|
"@emotion/react": "^11.14.0",
|
|
5
5
|
"@emotion/styled": "^11.14.1",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"next-auth": "4.24.15",
|
|
11
11
|
"react": "19.2.8",
|
|
12
12
|
"react-dom": "19.2.8",
|
|
13
|
-
"@snokam/
|
|
14
|
-
"@snokam/
|
|
13
|
+
"@snokam/auth": "3.3.3",
|
|
14
|
+
"@snokam/sanity-page-content": "4.3.3",
|
|
15
15
|
"@snokam/tenant": "2.1.6",
|
|
16
|
-
"@snokam/ui": "2.
|
|
16
|
+
"@snokam/ui": "2.2.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "^26.1.1",
|