@cosmicdrift/kumiko-bundled-features 0.123.1 → 0.123.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-bundled-features",
3
- "version": "0.123.1",
3
+ "version": "0.123.3",
4
4
  "description": "Built-in features — tenant, user, auth, delivery. The stuff you'd rewrite anyway, already typed.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -91,17 +91,18 @@
91
91
  "./legal-pages": "./src/legal-pages/index.ts",
92
92
  "./legal-pages/web": "./src/legal-pages/web/index.ts",
93
93
  "./page-render": "./src/page-render/index.ts",
94
+ "./page-render/web": "./src/page-render/web.ts",
94
95
  "./managed-pages": "./src/managed-pages/index.ts",
95
96
  "./managed-pages/web": "./src/managed-pages/web/index.ts",
96
97
  "./managed-pages/seeding": "./src/managed-pages/seeding.ts",
97
98
  "./step-dispatcher": "./src/step-dispatcher/index.ts"
98
99
  },
99
100
  "dependencies": {
100
- "@cosmicdrift/kumiko-dispatcher-live": "0.123.1",
101
- "@cosmicdrift/kumiko-framework": "0.123.1",
102
- "@cosmicdrift/kumiko-headless": "0.123.1",
103
- "@cosmicdrift/kumiko-renderer": "0.123.1",
104
- "@cosmicdrift/kumiko-renderer-web": "0.123.1",
101
+ "@cosmicdrift/kumiko-dispatcher-live": "0.123.3",
102
+ "@cosmicdrift/kumiko-framework": "0.123.3",
103
+ "@cosmicdrift/kumiko-headless": "0.123.3",
104
+ "@cosmicdrift/kumiko-renderer": "0.123.3",
105
+ "@cosmicdrift/kumiko-renderer-web": "0.123.3",
105
106
  "@mollie/api-client": "^4.5.0",
106
107
  "@node-rs/argon2": "^2.0.2",
107
108
  "@types/nodemailer": "^8.0.0",
@@ -0,0 +1,13 @@
1
+ export {
2
+ type BrandingTokens,
3
+ brandingHeaderHtml,
4
+ brandingStyleBlock,
5
+ EMPTY_BRANDING,
6
+ isSafeHexColor,
7
+ isSafeHttpsUrl,
8
+ layoutMaxWidth,
9
+ } from "./branding";
10
+ export { sanitizeTenantCss } from "./css-sanitize";
11
+ export { TENANT_CONTENT_ATTR, tenantStyleBlock, wrapInLayout } from "./layout";
12
+ export { renderSafeMarkdown } from "./markdown";
13
+ export { securePageHeaders } from "./security-headers";
@@ -12,6 +12,7 @@ import {
12
12
  useQuery,
13
13
  useTranslation,
14
14
  } from "@cosmicdrift/kumiko-renderer";
15
+ import { FormScreenShell } from "@cosmicdrift/kumiko-renderer-web";
15
16
  import { type ReactNode, useState } from "react";
16
17
  import { AuthHandlers } from "../../auth-email-password/constants";
17
18
  import { requestEmailVerification } from "../../auth-email-password/web";
@@ -360,7 +361,7 @@ export function ProfileScreen(): ReactNode {
360
361
  };
361
362
 
362
363
  return (
363
- <div className="flex max-w-5xl flex-col gap-6 p-6" data-testid="profile-screen">
364
+ <FormScreenShell className="flex flex-col gap-6" testId="profile-screen">
364
365
  <Heading variant="page">{t("profile.title")}</Heading>
365
366
  {/* Die zwei kurzen Konto-Forms teilen sich eine Reihe (md+); die
366
367
  Danger-Zone bleibt volle Breite darunter. */}
@@ -369,6 +370,6 @@ export function ProfileScreen(): ReactNode {
369
370
  <ChangePasswordSection />
370
371
  </div>
371
372
  <DangerZoneSection me={me} onChanged={refetch} />
372
- </div>
373
+ </FormScreenShell>
373
374
  );
374
375
  }