@cosmicdrift/kumiko-bundled-features 0.237.0 → 0.237.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-bundled-features",
3
- "version": "0.237.0",
3
+ "version": "0.237.2",
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>",
@@ -130,12 +130,12 @@
130
130
  "./workflow-runner": "./src/workflow-runner/index.ts"
131
131
  },
132
132
  "dependencies": {
133
- "@cosmicdrift/kumiko-dispatcher-live": "0.237.0",
134
- "@cosmicdrift/kumiko-framework": "0.237.0",
135
- "@cosmicdrift/kumiko-headless": "0.237.0",
136
- "@cosmicdrift/kumiko-renderer": "0.237.0",
137
- "@cosmicdrift/kumiko-renderer-web": "0.237.0",
138
- "@cosmicdrift/kumiko-types": "0.237.0",
133
+ "@cosmicdrift/kumiko-dispatcher-live": "0.237.2",
134
+ "@cosmicdrift/kumiko-framework": "0.237.2",
135
+ "@cosmicdrift/kumiko-headless": "0.237.2",
136
+ "@cosmicdrift/kumiko-renderer": "0.237.2",
137
+ "@cosmicdrift/kumiko-renderer-web": "0.237.2",
138
+ "@cosmicdrift/kumiko-types": "0.237.2",
139
139
  "@mollie/api-client": "^4.5.0",
140
140
  "@node-rs/argon2": "^2.0.2",
141
141
  "@types/mailparser": "^3.4.6",
@@ -164,7 +164,7 @@
164
164
  "devDependencies": {
165
165
  "@testing-library/user-event": "^14.6.1",
166
166
  "@types/qrcode": "^1.5.5",
167
- "@cosmicdrift/kumiko-locale-de": "0.237.0",
168
- "@cosmicdrift/kumiko-locale-es": "0.237.0"
167
+ "@cosmicdrift/kumiko-locale-de": "0.237.2",
168
+ "@cosmicdrift/kumiko-locale-es": "0.237.2"
169
169
  }
170
170
  }
@@ -33,7 +33,7 @@ export function OverviewLayout({
33
33
  const gridClass = columns === 2 ? "sm:grid-cols-2" : "sm:grid-cols-3";
34
34
 
35
35
  return (
36
- <FormScreenShell testId={testId} maxWidth="4xl" className="flex flex-col gap-6">
36
+ <FormScreenShell testId={testId} className="flex flex-col gap-6">
37
37
  <Heading variant="page">{title}</Heading>
38
38
 
39
39
  {state.kind === "loading" && (
@@ -92,7 +92,7 @@ export function TierAdminScreen(): ReactNode {
92
92
  const canSubmit = tenantId !== "" && tier !== "" && !submitting;
93
93
 
94
94
  return (
95
- <FormScreenShell testId="tier-admin-screen" maxWidth="4xl" className="flex flex-col gap-6">
95
+ <FormScreenShell testId="tier-admin-screen" className="flex flex-col gap-6">
96
96
  {tenantsQuery.error !== null && (
97
97
  <Banner variant="error" testId="tier-admin-load-error">
98
98
  {t("tier-admin.error.load")}
@@ -387,7 +387,7 @@ export function PrivacyCenterScreen({
387
387
  };
388
388
 
389
389
  return (
390
- <FormScreenShell className="flex flex-col gap-6" testId="privacy-center-screen" maxWidth="3xl">
390
+ <FormScreenShell className="flex flex-col gap-6" testId="privacy-center-screen">
391
391
  <Heading variant="page">{t("userDataRights.privacyCenter.title")}</Heading>
392
392
  <p className="text-sm text-muted-foreground">{t("userDataRights.privacyCenter.intro")}</p>
393
393
  <ExportSection />
@@ -102,6 +102,17 @@ describe("ProfileScreen", () => {
102
102
  expect(view.getByTestId("profile-email").tagName).toBe("FORM");
103
103
  });
104
104
 
105
+ test("email/password row stretches equal-height cards instead of grid's items-start default (fw#2656)", async () => {
106
+ const view = renderProfile(activeMe);
107
+ await waitFor(() => {
108
+ if (view.queryByTestId("profile-screen") === null) throw new Error("not mounted yet");
109
+ });
110
+ const row = view.getByTestId("profile-email").parentElement;
111
+ expect(row?.className).toContain("grid");
112
+ expect(row?.className).toContain("md:grid-cols-2");
113
+ expect(row?.className).not.toContain("items-start");
114
+ });
115
+
105
116
  test("deletionRequested: Frist-Banner + Abbrechen statt Lösch-Button", async () => {
106
117
  const view = renderProfile({
107
118
  ...activeMe,
@@ -361,11 +361,11 @@ export function ProfileScreen(): ReactNode {
361
361
  };
362
362
 
363
363
  return (
364
- <FormScreenShell className="flex flex-col gap-6" testId="profile-screen" maxWidth="3xl">
364
+ <FormScreenShell className="flex flex-col gap-6" testId="profile-screen">
365
365
  <Heading variant="page">{t("profile.title")}</Heading>
366
- {/* Die zwei kurzen Konto-Forms teilen sich eine Reihe (md+); die
367
- Danger-Zone bleibt volle Breite darunter. */}
368
- <div className="grid items-start gap-6 md:grid-cols-2">
366
+ {/* The two short account forms share a row from md up; the
367
+ danger zone stays full width below. */}
368
+ <div className="grid gap-6 md:grid-cols-2">
369
369
  <ChangeEmailSection me={me} onChanged={refetch} />
370
370
  <ChangePasswordSection />
371
371
  </div>