@gravitee/graphene-core 2.57.0 → 2.58.0-fix-monaco-hover.f2e6e9e

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 (30) hide show
  1. package/USAGE_GUIDE.md +92 -22
  2. package/dist/{CodeEditor-izUXIn0I.js → CodeEditor-W9JPCQhc.js} +1 -0
  3. package/dist/{CodeEditorField-2Ph093QR.js → CodeEditorField-cwZAv7Ib.js} +1 -1
  4. package/dist/code-editor/index.js +1 -1
  5. package/dist/composed/AppLayout/AppLayout.d.ts +6 -3
  6. package/dist/composed/AppLayout/AppLayout.d.ts.map +1 -1
  7. package/dist/composed/CodeEditor/CodeEditor.d.ts.map +1 -1
  8. package/dist/composed/JsonSchemaForm/conditional/useDependencyBranchSync.d.ts +27 -0
  9. package/dist/composed/JsonSchemaForm/conditional/useDependencyBranchSync.d.ts.map +1 -0
  10. package/dist/composed/JsonSchemaForm/fields/object/ObjectField.d.ts.map +1 -1
  11. package/dist/composed/JsonSchemaForm/fields/oneOf/OneOfField.d.ts.map +1 -1
  12. package/dist/composed/LayoutSlots/LayoutSlotsContext.d.ts +4 -0
  13. package/dist/composed/LayoutSlots/LayoutSlotsContext.d.ts.map +1 -1
  14. package/dist/composed/LayoutSlots/use-layout-config.d.ts +3 -0
  15. package/dist/composed/LayoutSlots/use-layout-config.d.ts.map +1 -1
  16. package/dist/composed/PageFocused/PageFocused.d.ts +32 -0
  17. package/dist/composed/PageFocused/PageFocused.d.ts.map +1 -0
  18. package/dist/composed/PageFocused/index.d.ts +3 -0
  19. package/dist/composed/PageFocused/index.d.ts.map +1 -0
  20. package/dist/index.d.ts +1 -0
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +373 -319
  23. package/dist/styles/globals.css +1 -1
  24. package/dist/styles/tailwind-theme.css +2 -0
  25. package/dist/tokens/component.css +2 -1
  26. package/package.json +2 -1
  27. package/snippets/context-sidebar-detail-page.tsx +20 -22
  28. package/snippets/creation-wizard-page.tsx +120 -0
  29. package/snippets/json-schema-form-simple.tsx +1 -1
  30. package/snippets/json-schema-form-with-meta.tsx +1 -1
package/USAGE_GUIDE.md CHANGED
@@ -141,9 +141,41 @@ Scale: `0`, `0.5`, `1`, `1.5`, `2`, `2.5`, `3`, `3.5`, `4`, `5`, `6`, `7`, `8`,
141
141
 
142
142
  `rounded-sm`, `rounded-md`, `rounded-lg`, `rounded-xl` (mapped to semantic `--radius`).
143
143
 
144
- ### Layout
144
+ ### Layout — content width system
145
145
 
146
- - Content max width is defined on the theme token `--container-content` (maps to `--content-max-width`). Use the max-width utility Tailwind emits for that token in your setup.
146
+ All pages share a single uniform centered container. No per-page width decisions needed the container never changes between sibling pages, eliminating layout shifts during navigation.
147
+
148
+ The layout owns both **padding** and **max-width** at the layout level. Page components must not duplicate either — do NOT add `p-6` / `p-*` / `px-*` / `py-*` or `max-w-*` classes on page-level wrapper divs.
149
+
150
+ **Decision rule:**
151
+
152
+ 1. Is this a tool/workspace layout (Policy Studio, LLM Studio), observability dashboard, or log/trace explorer? → `useLayoutConfig({ contentVariant: 'full-bleed' })`
153
+ 2. Is this a single-column creation/edit form with a back button and a focused workflow (e.g. alert form, plan form, resource wizard, onboarding stepper)? → Wrap content in `<PageFocused>`. Heuristic: if the page has a "← Back" button and its route matches `/new`, `/:id/edit`, or `/:id` under a list page, it's likely a focused form.
154
+ 3. Everything else (list pages, detail views, settings, dashboards) → Do nothing. The default centered container handles it.
155
+
156
+ ```tsx
157
+ import { PageFocused } from '@gravitee/graphene-core';
158
+
159
+ // Wizard/creation page — focused and centered
160
+ function CreateApiPage() {
161
+ return (
162
+ <PageFocused>
163
+ <StepProgress steps={steps} activeStep={step} />
164
+ <StepContent />
165
+ </PageFocused>
166
+ );
167
+ }
168
+
169
+ // Everything else — just render content directly (no padding, no max-width)
170
+ function ApisPage() {
171
+ return (
172
+ <div className="space-y-4">
173
+ <h2>APIs</h2>
174
+ <DataTable ... />
175
+ </div>
176
+ );
177
+ }
178
+ ```
147
179
 
148
180
  ## Styling
149
181
 
@@ -293,35 +325,51 @@ If you have not migrated to `AppContextBar` yet, keeping the app name as the fir
293
325
 
294
326
  **Linear breadcrumbs:** When each step maps to a **path string** and React Router’s `navigate`, use **`buildLinearBreadcrumbs(navigate, segments)`** so `ContentHeader` / `useLayoutConfig` get consistent `BreadcrumbEntry[]` without copying the same `onClick` wiring. If the first crumb is a **custom action** (e.g. “back” that is not `navigate('/path')`), build that entry by hand or mix with `buildLinearBreadcrumbs`—see Storybook **Composed/ContentHeader → Linear breadcrumbs from builder** for the canonical route-based pattern. API edge cases are covered in `packages/core/src/lib/breadcrumbs/buildLinearBreadcrumbs.test.ts`.
295
327
 
296
- ### `contentVariant` — full-bleed content
297
-
298
- `AppLayout` accepts `contentVariant` to control content area padding:
328
+ ### `contentVariant` — content width
299
329
 
300
- - `"default"` (default) standard padding on all sides.
301
- - `"full-bleed"` — no padding; content spans edge-to-edge.
330
+ `AppLayout` accepts `contentVariant` to control content area width and padding:
302
331
 
303
- Use `full-bleed` for embedded components that manage their own layout grid (Policy Studio, dashboards, full-screen editors):
332
+ - `"default"` (default) centered container with standard padding. All standard pages.
333
+ - `"full-bleed"` — no max-width, no padding; content spans edge-to-edge. Tool layouts, observability dashboards, log/trace explorers.
304
334
 
305
335
  ```tsx
306
- <AppLayout contentVariant="full-bleed">
307
- <PolicyStudio {...props} />
336
+ // Default — no change needed, AppLayout applies the centered container automatically
337
+ <AppLayout>
338
+ <DetailPage />
308
339
  </AppLayout>
309
- ```
310
-
311
- With `useLayoutConfig` (module federation), a nested page can set `contentVariant` without affecting other layout slots owned by parent components:
312
340
 
313
- ```tsx
341
+ // Full-bleed — for tool layouts and observability pages
314
342
  useLayoutConfig({ contentVariant: 'full-bleed' }, []);
315
343
  ```
316
344
 
345
+ With `useLayoutConfig` (module federation), a nested page can set `contentVariant` without affecting other layout slots owned by parent components. Each hook only resets the keys it owns on unmount.
346
+
347
+ For creation wizards and steppers, wrap content in `<PageFocused>` inside the default container — see **Layout — content width system** above.
348
+
317
349
  ### `banner` — full-width status slot
318
350
 
319
351
  `AppLayout` accepts a `banner` prop that renders a full-width region above the padded content wrapper but inside the scroll container. Use it for persistent status indicators with an action (deploy status, environment warnings).
320
352
 
353
+ **Shell layout requirement:** If the host shell renders `<AppLayout>` and reads layout config from `LayoutSlotsProvider`, it must forward **both** `banner` and `bannerSticky` slots to `<AppLayout>`:
354
+
355
+ ```tsx
356
+ <AppLayout
357
+ banner={slots.banner}
358
+ bannerSticky={slots.bannerSticky}
359
+ contentVariant={slots.contentVariant}
360
+ contextSidebar={slots.contextSidebar}
361
+ /* …other slot props… */
362
+ >
363
+ ```
364
+
365
+ Without this wiring, `useLayoutConfig({ banner: … })` calls from consumer modules have no effect.
366
+
367
+ **Usage:**
368
+
321
369
  ```tsx
322
370
  // Direct prop usage
323
371
  <AppLayout banner={<DeployStrip />} bannerSticky>
324
- <PageContent />
372
+ <DetailPage />
325
373
  </AppLayout>
326
374
 
327
375
  // Module federation via useLayoutConfig
@@ -335,26 +383,48 @@ useLayoutConfig({
335
383
 
336
384
  The banner spans full width regardless of `contentVariant`. When `bannerSticky` is true, it sticks to the top of the scroll area so the action remains reachable while scrolling.
337
385
 
386
+ **Migrating inline banners:** If a page currently renders a banner component inline within its page content, move it to `useLayoutConfig`. On unmount or when the status clears, set `banner: null` — `useLayoutConfig` resets owned keys automatically on unmount, so the banner won't linger after navigation.
387
+
388
+ **Accessibility:** Add `role="status"` and a descriptive `aria-label` on the banner's root element so screen readers announce it as a live region:
389
+
338
390
  **Button hierarchy:** When a banner contains an action button alongside page content that has its own primary buttons, use an outline treatment on the banner button to avoid competing with the page's primary CTA:
339
391
 
340
392
  ```tsx
341
- import { Button } from '@gravitee/graphene-core/base/Button';
342
-
343
393
  function DeployStrip({ onDeploy, isPending }) {
344
394
  return (
345
- <div role="status" aria-label="Deploy status" className="flex items-center gap-2 border-b border-border px-5 py-1.5">
346
- <span className="size-1.5 shrink-0 rounded-full bg-warning" />
395
+ <div role="status" aria-label="Deployment status" className="flex items-center gap-2 border-b border-border px-5 py-1.5">
396
+ <span className="size-1.5 shrink-0 rounded-full bg-warning" aria-hidden="true" />
347
397
  <span className="text-sm text-muted-foreground">Undeployed changes</span>
348
398
  <div className="flex-1" />
349
- <Button variant="outline" size="sm" onClick={onDeploy} disabled={isPending}>
399
+ <button
400
+ type="button"
401
+ className="rounded-md border border-warning/25 bg-warning/5 px-2.5 py-0.5 text-sm font-semibold text-warning-foreground transition-colors hover:bg-warning/10 disabled:opacity-50"
402
+ onClick={onDeploy}
403
+ disabled={isPending}
404
+ >
350
405
  {isPending ? 'Deploying…' : 'Deploy API'}
351
- </Button>
406
+ </button>
352
407
  </div>
353
408
  );
354
409
  }
355
410
  ```
356
411
 
357
- See Storybook **Composed/AppLayout → BannerSlot** for the full interactive example, and `snippets/context-sidebar-detail-page.tsx` for a copy-paste integration pattern.
412
+ See Storybook **Composed/AppLayout → BannerSlot** for the full interactive example.
413
+
414
+ ### Adopting the content width system in consumer modules
415
+
416
+ Follow these steps to apply the layout width system to an existing consumer module:
417
+
418
+ 1. **Identify all pages** in your module that render inside `AppLayout`.
419
+ 2. **Categorize each page:**
420
+ - **Default** — list pages, detail views, forms, settings, dashboards. No change needed; `AppLayout` applies the centered container automatically.
421
+ - **PageFocused** — single-column creation wizards or steppers with a back button and a focused workflow (e.g. alert form, plan form, resource wizard, onboarding stepper). Wrap content in `<PageFocused>`. Heuristic: if the page has a "← Back" button and its route matches `/new`, `/:id/edit`, or `/:id` under a list page, it's likely a focused form.
422
+ - **Full-bleed** — tool layouts (Policy Studio, LLM Studio), observability dashboards, log/trace explorers. Add `useLayoutConfig({ contentVariant: 'full-bleed' }, [])` if not already set.
423
+ 3. **Remove page-level padding** — delete `p-6` and any `p-*`, `px-*`, `py-*` classes from the page's root wrapper `<div>`. The layout already provides content padding via the container. This is the most common change — nearly every page will need it.
424
+ 4. **Remove ad-hoc width constraints** — delete any `max-w-*` classes on page-level wrapper divs. The design system owns content width.
425
+ 5. **Verify** — resize the browser to confirm content stays centered without clipping on narrow viewports.
426
+
427
+ See `packages/core/snippets/data-table-list-page.tsx` and `creation-wizard-page.tsx` for complete examples.
358
428
 
359
429
  ### Data table (entity list pages)
360
430
 
@@ -251,6 +251,7 @@ function _({ value: o, defaultValue: s, onChange: c, language: f = "plaintext",
251
251
  horizontalScrollbarSize: 6
252
252
  },
253
253
  overviewRulerLanes: 0,
254
+ fixedOverflowWidgets: !0,
254
255
  ...b
255
256
  }
256
257
  }) : k
@@ -1,5 +1,5 @@
1
1
  import { f as e, h as t, i as n, o as r, p as i, r as a, s as o, t as s, u as c } from "./SchemaBanner-lrLehIB4.js";
2
- import { t as l } from "./CodeEditor-izUXIn0I.js";
2
+ import { t as l } from "./CodeEditor-W9JPCQhc.js";
3
3
  import { useEffect as u, useRef as d, useState as f } from "react";
4
4
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
5
5
  //#region src/composed/JsonSchemaForm/fields/code-editor/CodeEditorField.tsx
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../CodeEditor-izUXIn0I.js";
1
+ import { n as e, t } from "../CodeEditor-W9JPCQhc.js";
2
2
  export { t as CodeEditor, e as setupCodeEditor };
@@ -18,9 +18,12 @@ interface AppLayoutProps {
18
18
  /** Optional callback when context expansion state changes. */
19
19
  readonly onContextExpandedChange?: (expanded: boolean) => void;
20
20
  /**
21
- * Controls content area padding.
22
- * - `"default"` — standard padding on all sides (the default).
23
- * - `"full-bleed"` — no padding; content spans edge-to-edge.
21
+ * Controls content area width and padding.
22
+ * - `"default"` — centered container with standard padding.
23
+ * - `"full-bleed"` — no max-width, no padding; content spans edge-to-edge.
24
+ *
25
+ * All standard pages use the default container. Wizards can optionally
26
+ * use `<PageFocused>` inside the default container for a narrower focus.
24
27
  */
25
28
  readonly contentVariant?: 'default' | 'full-bleed';
26
29
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"AppLayout.d.ts","sourceRoot":"","sources":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K,EACL,YAAY,EACZ,QAAQ,EACR,QAAsB,EACtB,QAAgB,EAChB,QAAgB,EAChB,MAAM,EACN,SAAS,EACT,OAAO,EACP,OAAO,GACR,EAAE,eAAe,qBA2GjB;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"CodeEditor.d.ts","sourceRoot":"","sources":["../../../src/composed/CodeEditor/CodeEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,WAAW,EAAU,MAAM,sBAAsB,CAAC;AAC7E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,kBAAkB,EAAoB,MAAM,UAAU,CAAC;AAIrE,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,sEAAsE;IACtE,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AA6BD,iBAAS,UAAU,CAAC,EAClB,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAsB,EACtB,QAAgB,EAChB,QAAgB,EAChB,MAAM,EACN,SAAS,EACT,OAAO,EACP,OAAO,GACR,EAAE,eAAe,qBA4GjB;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { Control, FieldValues } from 'react-hook-form';
2
+ import { DepBranch } from '../schema/types';
3
+ /**
4
+ * Centralized state sync for an unfolded `dependencies.X.oneOf` block.
5
+ *
6
+ * Watches the discriminator(s) and `unregister`s every property declared by a non-active branch
7
+ * that is NOT also declared by an active branch. The aggregation matters when sibling branches
8
+ * share a property at the same RHF path: mcp-acl's `LITERAL` and `EXPRESSION` both declare
9
+ * `patternValue`, so a per-gate `unregisterOnHide` (one per hidden branch) would wipe the path
10
+ * that the active branch just registered, leaving the displayed input in the DOM while the form
11
+ * state has dropped it — invisible data loss that only surfaces on the next round-trip.
12
+ */
13
+ declare function useDependencyBranchSync(control: Control<FieldValues>, branches: readonly DepBranch[], basePath: string, externalContext: Record<string, unknown> | undefined): void;
14
+ /**
15
+ * Mount-gated wrapper around `useDependencyBranchSync`. Render `<DependencyBranchSyncer>` only
16
+ * when the parent has dep-branches — the hook (and its `useWatch` subscription + effect) then
17
+ * runs solely for the ObjectField / OneOfField instances that need it. Lets callers express the
18
+ * "no deps, no overhead" intent declaratively (`{has && <Syncer .../>}`) instead of polluting
19
+ * the hook with a runtime-conditional path that would still pay the `useWatch` cost.
20
+ */
21
+ interface DependencyBranchSyncerProps {
22
+ readonly branches: readonly DepBranch[];
23
+ readonly basePath: string;
24
+ }
25
+ declare function DependencyBranchSyncer({ branches, basePath }: DependencyBranchSyncerProps): null;
26
+ export { DependencyBranchSyncer, useDependencyBranchSync };
27
+ //# sourceMappingURL=useDependencyBranchSync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDependencyBranchSync.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/conditional/useDependencyBranchSync.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAY,MAAM,iBAAiB,CAAC;AAE3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD;;;;;;;;;GASG;AACH,iBAAS,uBAAuB,CAC9B,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,EAC7B,QAAQ,EAAE,SAAS,SAAS,EAAE,EAC9B,QAAQ,EAAE,MAAM,EAChB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GACnD,IAAI,CA0DN;AAED;;;;;;GAMG;AACH,UAAU,2BAA2B;IACnC,QAAQ,CAAC,QAAQ,EAAE,SAAS,SAAS,EAAE,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,iBAAS,sBAAsB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,2BAA2B,GAAG,IAAI,CAIzF;AAED,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/object/ObjectField.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMrD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAQD,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,gBAAgB,+BA6D3D;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"ObjectField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/object/ObjectField.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMrD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAQD,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,gBAAgB,+BAgD3D;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OneOfField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD,UAAU,eAAe;IACvB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,eAAe,sCAgHnD;AAiBD,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"OneOfField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD,UAAU,eAAe;IACvB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,eAAe,sCA0GnD;AAiBD,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -8,6 +8,10 @@ interface LayoutSlots {
8
8
  readonly leading: ReactNode;
9
9
  readonly viewMode: 'global' | 'context';
10
10
  readonly contextExpanded: boolean;
11
+ /**
12
+ * `"default"` — centered container with padding (use for all standard pages).
13
+ * `"full-bleed"` — no max-width, no padding (tool layouts like Policy Studio).
14
+ */
11
15
  readonly contentVariant: 'default' | 'full-bleed';
12
16
  /** Full-width banner rendered above the padded content area (e.g. deploy status, environment war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CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,UAAU,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,WAAW,CAAC,KAAK,IAAI,CAAC;CACvE;AAED,QAAA,MAAM,aAAa,EAAE,WAUpB,CAAC;AAIF,iBAAS,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAwB1E;AAED,iBAAS,cAAc,IAAI,uBAAuB,CAMjD;AAED,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,CAAC;AAC9D,YAAY,EAAE,WAAW,EAAE,uBAAuB,EAAE,CAAC"}
@@ -7,6 +7,9 @@ import { LayoutSlots } from './LayoutSlotsContext';
7
7
  * **Resets all slots to defaults on unmount** so stale module content
8
8
  * never lingers after navigation.
9
9
  *
10
+ * Uses `useLayoutEffect` to apply config synchronously before paint,
11
+ * preventing visible layout shifts during navigation.
12
+ *
10
13
  * @param config - Slot values the module wants to own.
11
14
  * @param deps - Dependency array that triggers a config re-push
12
15
  * (same semantics as `useEffect` deps).
@@ -1 +1 @@
1
- {"version":3,"file":"use-layout-config.d.ts","sourceRoot":"","sources":["../../../src/composed/LayoutSlots/use-layout-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,sBAAsB,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,iBAAS,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,IAAI,GAAE,KAAK,CAAC,cAAmB,QAYrF;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"use-layout-config.d.ts","sourceRoot":"","sources":["../../../src/composed/LayoutSlots/use-layout-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,sBAAsB,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,iBAAS,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,IAAI,GAAE,KAAK,CAAC,cAAmB,QAYrF;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { ReactNode } from 'react';
2
+ interface PageFocusedProps {
3
+ /** Focused content (stepper, creation wizard, onboarding flow). */
4
+ readonly children: ReactNode;
5
+ readonly className?: string;
6
+ }
7
+ /**
8
+ * Constrains and centers page content for focused flows.
9
+ *
10
+ * Use for creation wizards, multi-step forms, onboarding sequences, and
11
+ * any task where the user is working through a focused linear flow.
12
+ * The centering signals "you are in a sub-task" and draws the eye inward.
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * export function CreateApiWizardPage() {
17
+ * return (
18
+ * <PageFocused>
19
+ * <StepProgress steps={steps} activeStep={step} />
20
+ * <StepContent />
21
+ * </PageFocused>
22
+ * );
23
+ * }
24
+ * ```
25
+ */
26
+ declare function PageFocused({ children, className }: PageFocusedProps): import("react").JSX.Element;
27
+ declare namespace PageFocused {
28
+ var displayName: string;
29
+ }
30
+ export { PageFocused };
31
+ export type { PageFocusedProps };
32
+ //# sourceMappingURL=PageFocused.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageFocused.d.ts","sourceRoot":"","sources":["../../../src/composed/PageFocused/PageFocused.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,UAAU,gBAAgB;IACxB,mEAAmE;IACnE,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,iBAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BAE7D;kBAFQ,WAAW;;;AAMpB,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { PageFocused } from './PageFocused';
2
+ export type { PageFocusedProps } from './PageFocused';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composed/PageFocused/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
package/dist/index.d.ts CHANGED
@@ -62,6 +62,7 @@ export * from './composed/FacetedFilter';
62
62
  export * from './composed/FileUpload';
63
63
  export * from './composed/JsonSchemaForm';
64
64
  export * from './composed/LayoutSlots';
65
+ export * from './composed/PageFocused';
65
66
  export * from './composed/PasswordInput';
66
67
  export * from './composed/SelectorDropdown';
67
68
  export * from './composed/SidebarMode';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAG3F,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AAC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