@snokam/footer 6.0.0 → 7.0.0

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