@snokam/footer 2.1.1 → 2.1.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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
+ ## [2.1.2](https://github.com/snokam/monorepo/compare/@snokam/footer@2.1.1...@snokam/footer@2.1.2) (2026-08-18)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **navbar,footer:** make the base subpath self-sufficient ([#2360](https://github.com/snokam/monorepo/issues/2360)) ([dd38214](https://github.com/snokam/monorepo/commit/dd3821496d8ad853650f16f9d4f4457ab1526a97))
11
+
6
12
  ## [2.1.1](https://github.com/snokam/monorepo/compare/@snokam/footer@2.1.0...@snokam/footer@2.1.1) (2026-08-18)
7
13
 
8
14
  ### Bug Fixes
@@ -7,5 +7,7 @@ import { FooterBaseProps } from "./types";
7
7
  * the platform, where the wired version would throw on `useConfig`.
8
8
  */
9
9
  export declare const FooterBase: ({ theme, logo, content, links, transitions, onThemeSave, }: FooterBaseProps) => import("react").JSX.Element;
10
+ export { FooterTheme } from "./types";
11
+ export type { FooterBaseProps, FooterLink, FooterLogo } from "./types";
10
12
  export default FooterBase;
11
13
  //# sourceMappingURL=base.d.ts.map
@@ -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;AAIvD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,4DAOxB,eAAe,gCAqCjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
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;AAIvD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,4DAOxB,eAAe,gCAqCjB,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,5 +19,6 @@ export const FooterBase = ({ theme = FooterTheme.Dark, logo, content, links = []
19
19
  const { Link, Image } = useFramework();
20
20
  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))), _jsx(Styled.ToggleRow, { id: "tema", children: _jsx(ThemeModeToggle, { onThemeSave: onThemeSave }) })] }) }) }));
21
21
  };
22
+ export { FooterTheme } from "./types";
22
23
  export default FooterBase;
23
24
  //# sourceMappingURL=base.js.map
@@ -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;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAmB,WAAW,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAAe,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MA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CAAC,CACxB,KAAC,YAAY,IAAC,KAAK,EAAE,OAAO,GAAI,CACjC,CAAC,CAAC,CAAC,CACF,OAAO,CACR,EACA,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,EACF,KAAC,MAAM,CAAC,SAAS,IAAC,EAAE,EAAC,MAAM,YACzB,KAAC,eAAe,IAAC,WAAW,EAAE,WAAW,GAAI,GAC5B,IACJ,GACF,GACA,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,eAAe,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.1.1",
2
+ "version": "2.1.2",
3
3
  "dependencies": {
4
4
  "@emotion/react": "^11.14.0",
5
5
  "@emotion/styled": "^11.14.1",
@@ -10,8 +10,8 @@
10
10
  "next-auth": "4.24.15",
11
11
  "react": "19.2.8",
12
12
  "react-dom": "19.2.8",
13
- "@snokam/auth": "2.3.1",
14
13
  "@snokam/config": "1.1.0",
14
+ "@snokam/auth": "2.3.1",
15
15
  "@snokam/sanity-page-content": "1.18.0",
16
16
  "@snokam/ui": "1.1.0"
17
17
  },