@snokam/footer 6.0.0 → 7.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,77 @@
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
+ ## [7.0.1](https://github.com/snokam/monorepo/compare/@snokam/footer@7.0.0...@snokam/footer@7.0.1) (2026-10-14)
7
+
8
+ **Note:** Version bump only for package @snokam/footer
9
+
10
+ # [7.0.0](https://github.com/snokam/monorepo/compare/@snokam/footer@5.0.26...@snokam/footer@7.0.0) (2026-10-14)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **platform:** SaaS onboarding batch 3 — platform sender, internal costs, empty states ([#2900](https://github.com/snokam/monorepo/issues/2900)) ([bdb5a7e](https://github.com/snokam/monorepo/commit/bdb5a7e4bc7865dc32f367a7e1f3f6521ff1d7cb))
15
+
16
+ ### Features
17
+
18
+ - per-company branding (logo, dark logo, icon) ([#2907](https://github.com/snokam/monorepo/issues/2907)) ([dc32583](https://github.com/snokam/monorepo/commit/dc325832803c88158937f45fe5b9e1b64846a52d))
19
+
20
+ ### BREAKING CHANGES
21
+
22
+ - SimpleHeaderBase and FooterBase take `logo` as a ReactNode;
23
+ the HeaderLogo and FooterLogo types are removed.
24
+
25
+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26
+ Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
27
+
28
+ - feat(platform-web): company branding in /manage, at login and in the shell
29
+
30
+ /manage/innstillinger gets a Merkevare section: the logo for light
31
+ backgrounds, the logo for dark backgrounds and the square icon, each with a
32
+ preview on its own background, upload (react-hook-form + zod: type and 2 MB
33
+ checked before sending) and remove. Server error codes map to CMS copy.
34
+ The central login shows the company's logo above "Logg inn hos …", from
35
+ login-config. The /manage shell shows the managed business's logo linking to
36
+ its front page; /admin and an operator without a business show the platform
37
+ business. The public snosky.no chrome keeps the Snøsky logo from the platform
38
+ CMS, through the same BusinessLogo.
39
+
40
+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41
+ Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
42
+
43
+ - fix(my-page-web): drop leftover Snøkam favicons
44
+
45
+ The unused pages-router meta component and finance-web's public/favicon.ico
46
+ served Snøkam's icon to every company; favicons now come from the
47
+ company's uploaded icon.
48
+
49
+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
50
+ Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
51
+
52
+ - fix(handbook-web): no Snøkam share image, no raw-URL fallback in branding metadata
53
+
54
+ The handbook's root metadata no longer hardcodes the Snøkam icon as the
55
+ share image, so the company's share image from makeTenantMetadata applies.
56
+ The favicon and share helpers drop their raw-URL fallback: a transform that
57
+ yields nothing yields no image, never an untransformed (possibly SVG) URL.
58
+
59
+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60
+ Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
61
+
62
+ - fix(ui): show the light logo inverted on dark when no dark logo is uploaded
63
+
64
+ Without a dark logo, a dark background shows the light logo turned white
65
+ (brightness(0) invert(1)) instead of the wordmark. The Merkevare previews
66
+ use static brand tokens, and upload errors are read by parsing the JSON
67
+ body rather than stripping quotes.
68
+
69
+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
70
+ Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
71
+
72
+ - chore(clients): regenerate platform-function clients for branding
73
+
74
+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
75
+ Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
76
+
6
77
  # [6.0.0](https://github.com/snokam/monorepo/compare/@snokam/footer@5.0.26...@snokam/footer@6.0.0) (2026-10-14)
7
78
 
8
79
  ### Bug Fixes
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.0.0",
2
+ "version": "7.0.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/auth": "4.0.0",
14
- "@snokam/sanity-page-content": "5.0.0",
15
- "@snokam/ui": "5.0.0",
16
- "@snokam/tenant": "3.0.0"
13
+ "@snokam/sanity-page-content": "6.1.0",
14
+ "@snokam/tenant": "4.0.0",
15
+ "@snokam/ui": "6.0.0",
16
+ "@snokam/auth": "5.0.1"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/node": "^26.1.1",