Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
48a589e
chore: add @mrfylke/contact-form dependency and transpilePackages
sifterstudios Feb 19, 2026
d84ea20
feat(contact): add contact form config module
sifterstudios Feb 19, 2026
853408a
feat(contact): use package lines API handler with authority prefix
sifterstudios Feb 19, 2026
77ee5fe
feat(contact): add contact wrapper with ContactFormRoot and ContactFo…
sifterstudios Feb 19, 2026
b697416
refactor(contact): replace contact pages with catch-all route
sifterstudios Feb 19, 2026
3133e66
refactor(contact): use package shouldShowContactPage in footer
sifterstudios Feb 19, 2026
b6e60fd
refactor(contact): remove contact page-module UI and state machines
sifterstudios Feb 19, 2026
0190226
refactor(contact): remove per-type contact API routes
sifterstudios Feb 19, 2026
e202c4c
chore(contact): update contact translations for package
sifterstudios Feb 19, 2026
26ca98a
refactor(contact): move contact server code from page-modules to serv…
sifterstudios Feb 19, 2026
aa0b6a9
feat(contact): add unified POST /api/contact/submit route
sifterstudios Feb 19, 2026
bfb10ae
style: prettier warnings
rosvik May 18, 2026
fff6796
chore: bump @mrfylke/contact-form
mathiazom Aug 28, 2026
c9af9ab
fix(contact): remove refund fallback form
mathiazom Aug 28, 2026
f9394c8
fix(contact): hide skoleskyss for fram
mathiazom Aug 28, 2026
ca8a711
fix(contact): use static link page for fram lost property
mathiazom Aug 28, 2026
51938b4
chore(contact): remove direct dependency on @emotion/is-prop-valid
mathiazom Aug 28, 2026
fcc61d7
fix(contact): specify refund categories for fram
mathiazom Aug 28, 2026
4257232
feat(contact): support lostProperty form
mathiazom Aug 28, 2026
5bf1979
fix: host-controlled theme and language
mathiazom Aug 31, 2026
4bfc045
fix: shouldShowContactPage
mathiazom Aug 31, 2026
09ace93
refactor: remove 'use client'
mathiazom Sep 1, 2026
8c76ec8
feat: bump contact form
mathiazom Sep 1, 2026
03a1470
refactor: toContactFormLanguage
mathiazom Sep 1, 2026
7d4ab5c
refactor: remove getContactPageTitle
mathiazom Sep 1, 2026
fd24075
chore: bump @mrfylke/contact-form to 0.1.25
mathiazom Sep 8, 2026
84def4f
refactor: remove redundant config
mathiazom Sep 1, 2026
8b49934
feat: migrate api lines route to app router
mathiazom Sep 1, 2026
523687d
feat: active page title
mathiazom Sep 2, 2026
2b7c201
fix: icon sizes
mathiazom Sep 3, 2026
71c17a3
feat: remove icons config
mathiazom Sep 3, 2026
3f59265
refactor: remove default contact form translations
mathiazom Sep 7, 2026
d1d2e71
refactor: typed translation overrides
mathiazom Sep 8, 2026
f4aa63f
chore: translations cleanup
mathiazom Sep 9, 2026
3a826e0
chore: remove unused translations logic
mathiazom Sep 9, 2026
e87d204
chore: remove base level in layout translations
mathiazom Sep 9, 2026
f3721a2
chore: bump @mrfylke/contact-form
mathiazom Sep 11, 2026
93185c0
feat: use default createSubmitRouteHandler
mathiazom Sep 9, 2026
3737956
feat: add feature flags
mathiazom Sep 10, 2026
ac731ea
fix: add missing 'use client'
mathiazom Sep 10, 2026
5ad42a3
fix: hide refundCar.info text
mathiazom Sep 11, 2026
0dfd2c2
feat: enableRequiredAttachmentInOtherTicketRefund
mathiazom Sep 11, 2026
c94bb0e
chore: add more FRAM-specific translations
mathiazom Sep 14, 2026
3e222f2
chore: add even more FRAM-specific translations
mathiazom Sep 14, 2026
761aa39
chore: remove unused translations
mathiazom Sep 14, 2026
26753d4
fix: generic 'Kontakt' header default
mathiazom Sep 14, 2026
dc7afcc
Update pnpm-workspace.yaml
mathiazom Sep 14, 2026
80c801f
fix: avoid pulling in client code for app router api handlers
mathiazom Sep 14, 2026
23d7c35
chore: bump @mrfylke/contact-form
mathiazom Sep 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const orgId = process.env.NEXT_PUBLIC_PLANNER_ORG_ID;
*/
const nextConfig = {
output: 'standalone',
transpilePackages: ['@atb-as/mapbox-shared'],
transpilePackages: ['@atb-as/mapbox-shared', '@mrfylke/contact-form'],
async headers() {
return [
{
Expand Down Expand Up @@ -38,16 +38,21 @@ const nextConfig = {
(rule) => typeof rule.oneOf === 'object',
);
if (oneOf) {
const moduleCssRule = oneOf.oneOf.find(
(rule) => regexEqual(rule.test, /\.module\.css$/),
const moduleCssRules = oneOf.oneOf.filter((rule) =>
regexEqual(rule.test, /\.module\.css$/),
// regexEqual(rule.test, /\.module\.(scss|sass)$/)
);
if (moduleCssRule) {
for (const moduleCssRule of moduleCssRules) {
const cssLoader = moduleCssRule.use.find(({ loader }) =>
loader.includes('css-loader'),
);
if (cssLoader) {
cssLoader.options.modules.mode = 'local';
cssLoader.options.modules = {
...(typeof cssLoader.options.modules === 'object'
? cssLoader.options.modules
: {}),
mode: 'local',
};
}
}
}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@isaacs/ttlcache": "^1.4.1",
"@leile/lobo-t": "^1.0.5",
"@mapbox/polyline": "^1.2.1",
"@mrfylke/contact-form": "^0.1.28",
"@react-aria/focus": "^3.21.0",
"@react-hook/resize-observer": "^2.0.2",
"@resvg/resvg-js": "^2.6.2",
Expand Down
Loading
Loading