@flipdish/ui-library 0.53.1 → 0.54.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 (92) hide show
  1. package/dist/components/layouts/AppShell/hooks/usePageAreaBounds.cjs.map +1 -0
  2. package/dist/components/layouts/AppShell/hooks/usePageAreaBounds.d.ts.map +1 -0
  3. package/dist/components/layouts/AppShell/hooks/usePageAreaBounds.js.map +1 -0
  4. package/dist/components/layouts/AppShell/hooks/usePageCover.cjs.map +1 -0
  5. package/dist/components/layouts/AppShell/hooks/usePageCover.d.ts.map +1 -0
  6. package/dist/components/layouts/AppShell/hooks/usePageCover.js.map +1 -0
  7. package/dist/components/layouts/AppShell/index.cjs +40 -0
  8. package/dist/components/layouts/AppShell/index.cjs.map +1 -0
  9. package/dist/components/layouts/AppShell/index.d.ts +40 -0
  10. package/dist/components/layouts/AppShell/index.d.ts.map +1 -0
  11. package/dist/components/layouts/AppShell/index.js +38 -0
  12. package/dist/components/layouts/AppShell/index.js.map +1 -0
  13. package/dist/components/layouts/PageHubLayout/components/PageHubLayoutSectionNav.cjs.map +1 -0
  14. package/dist/components/layouts/PageHubLayout/components/PageHubLayoutSectionNav.d.ts.map +1 -0
  15. package/dist/components/layouts/PageHubLayout/components/PageHubLayoutSectionNav.js.map +1 -0
  16. package/dist/components/layouts/PageHubLayout/index.cjs +65 -0
  17. package/dist/components/layouts/PageHubLayout/index.cjs.map +1 -0
  18. package/dist/components/layouts/PageHubLayout/index.d.ts +56 -0
  19. package/dist/components/layouts/PageHubLayout/index.d.ts.map +1 -0
  20. package/dist/components/layouts/PageHubLayout/index.js +63 -0
  21. package/dist/components/layouts/PageHubLayout/index.js.map +1 -0
  22. package/dist/components/layouts/PageHubLayout/pageHubLayout.types.d.ts.map +1 -0
  23. package/dist/components/layouts/PageHubLayout/utilities/pageHubLayout.utils.cjs.map +1 -0
  24. package/dist/components/{templates/PageHubLayout → layouts/PageHubLayout/utilities}/pageHubLayout.utils.d.ts +1 -1
  25. package/dist/components/layouts/PageHubLayout/utilities/pageHubLayout.utils.d.ts.map +1 -0
  26. package/dist/components/layouts/PageHubLayout/utilities/pageHubLayout.utils.js.map +1 -0
  27. package/dist/components/layouts/PageLayout/index.cjs +31 -0
  28. package/dist/components/layouts/PageLayout/index.cjs.map +1 -0
  29. package/dist/components/layouts/PageLayout/index.d.ts +44 -0
  30. package/dist/components/layouts/PageLayout/index.d.ts.map +1 -0
  31. package/dist/components/layouts/PageLayout/index.js +29 -0
  32. package/dist/components/layouts/PageLayout/index.js.map +1 -0
  33. package/dist/components/layouts/WidgetLayout/index.cjs +42 -0
  34. package/dist/components/layouts/WidgetLayout/index.cjs.map +1 -0
  35. package/dist/components/layouts/WidgetLayout/index.d.ts +57 -0
  36. package/dist/components/layouts/WidgetLayout/index.d.ts.map +1 -0
  37. package/dist/components/layouts/WidgetLayout/index.js +40 -0
  38. package/dist/components/layouts/WidgetLayout/index.js.map +1 -0
  39. package/dist/components/templates/AppShell/index.cjs +3 -34
  40. package/dist/components/templates/AppShell/index.cjs.map +1 -1
  41. package/dist/components/templates/AppShell/index.d.ts +7 -39
  42. package/dist/components/templates/AppShell/index.d.ts.map +1 -1
  43. package/dist/components/templates/AppShell/index.js +3 -34
  44. package/dist/components/templates/AppShell/index.js.map +1 -1
  45. package/dist/components/templates/PageHubLayout/index.cjs +3 -59
  46. package/dist/components/templates/PageHubLayout/index.cjs.map +1 -1
  47. package/dist/components/templates/PageHubLayout/index.d.ts +7 -55
  48. package/dist/components/templates/PageHubLayout/index.d.ts.map +1 -1
  49. package/dist/components/templates/PageHubLayout/index.js +3 -59
  50. package/dist/components/templates/PageHubLayout/index.js.map +1 -1
  51. package/dist/components/templates/PageLayout/index.cjs +3 -25
  52. package/dist/components/templates/PageLayout/index.cjs.map +1 -1
  53. package/dist/components/templates/PageLayout/index.d.ts +5 -42
  54. package/dist/components/templates/PageLayout/index.d.ts.map +1 -1
  55. package/dist/components/templates/PageLayout/index.js +3 -25
  56. package/dist/components/templates/PageLayout/index.js.map +1 -1
  57. package/dist/components/templates/WidgetLayout/index.cjs +3 -36
  58. package/dist/components/templates/WidgetLayout/index.cjs.map +1 -1
  59. package/dist/components/templates/WidgetLayout/index.d.ts +7 -56
  60. package/dist/components/templates/WidgetLayout/index.d.ts.map +1 -1
  61. package/dist/components/templates/WidgetLayout/index.js +3 -36
  62. package/dist/components/templates/WidgetLayout/index.js.map +1 -1
  63. package/dist/native/components/layouts/AppShell/index.d.ts +12 -0
  64. package/dist/native/components/layouts/PageHubLayout/index.d.ts +12 -0
  65. package/dist/native/components/layouts/PageLayout/index.d.ts +12 -0
  66. package/dist/native/components/layouts/WidgetLayout/index.d.ts +12 -0
  67. package/package.json +10 -1
  68. package/dist/components/templates/AppShell/hooks/usePageAreaBounds.cjs.map +0 -1
  69. package/dist/components/templates/AppShell/hooks/usePageAreaBounds.d.ts.map +0 -1
  70. package/dist/components/templates/AppShell/hooks/usePageAreaBounds.js.map +0 -1
  71. package/dist/components/templates/AppShell/hooks/usePageCover.cjs.map +0 -1
  72. package/dist/components/templates/AppShell/hooks/usePageCover.d.ts.map +0 -1
  73. package/dist/components/templates/AppShell/hooks/usePageCover.js.map +0 -1
  74. package/dist/components/templates/PageHubLayout/components/PageHubLayoutSectionNav.cjs.map +0 -1
  75. package/dist/components/templates/PageHubLayout/components/PageHubLayoutSectionNav.d.ts.map +0 -1
  76. package/dist/components/templates/PageHubLayout/components/PageHubLayoutSectionNav.js.map +0 -1
  77. package/dist/components/templates/PageHubLayout/pageHubLayout.types.d.ts.map +0 -1
  78. package/dist/components/templates/PageHubLayout/pageHubLayout.utils.cjs.map +0 -1
  79. package/dist/components/templates/PageHubLayout/pageHubLayout.utils.d.ts.map +0 -1
  80. package/dist/components/templates/PageHubLayout/pageHubLayout.utils.js.map +0 -1
  81. /package/dist/components/{templates → layouts}/AppShell/hooks/usePageAreaBounds.cjs +0 -0
  82. /package/dist/components/{templates → layouts}/AppShell/hooks/usePageAreaBounds.d.ts +0 -0
  83. /package/dist/components/{templates → layouts}/AppShell/hooks/usePageAreaBounds.js +0 -0
  84. /package/dist/components/{templates → layouts}/AppShell/hooks/usePageCover.cjs +0 -0
  85. /package/dist/components/{templates → layouts}/AppShell/hooks/usePageCover.d.ts +0 -0
  86. /package/dist/components/{templates → layouts}/AppShell/hooks/usePageCover.js +0 -0
  87. /package/dist/components/{templates → layouts}/PageHubLayout/components/PageHubLayoutSectionNav.cjs +0 -0
  88. /package/dist/components/{templates → layouts}/PageHubLayout/components/PageHubLayoutSectionNav.d.ts +0 -0
  89. /package/dist/components/{templates → layouts}/PageHubLayout/components/PageHubLayoutSectionNav.js +0 -0
  90. /package/dist/components/{templates → layouts}/PageHubLayout/pageHubLayout.types.d.ts +0 -0
  91. /package/dist/components/{templates/PageHubLayout → layouts/PageHubLayout/utilities}/pageHubLayout.utils.cjs +0 -0
  92. /package/dist/components/{templates/PageHubLayout → layouts/PageHubLayout/utilities}/pageHubLayout.utils.js +0 -0
@@ -1,31 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var jsxRuntime = require('react/jsx-runtime');
4
- var ErrorBoundary = require('@flipdish/ui-library/providers/ErrorBoundary');
5
- var cx = require('@flipdish/ui-library/utilities/cx');
6
- var testIdUtils = require('@flipdish/ui-library/utilities/testIdUtils');
3
+ var PageLayout$1 = require('@flipdish/ui-library/components/layouts/PageLayout');
7
4
 
8
- /** English fallback copy — consumers localise via `renderError`. TODO(i18n): source from ui-library's translation layer once one exists. */
9
- const DefaultPageError = ({ testId }) => (jsxRuntime.jsxs("div", { role: "alert", "data-testid": testId, className: "flex w-full flex-col items-center gap-2 py-2xl text-center", children: [jsxRuntime.jsx("h2", { className: "text-lg font-semibold text-primary", children: "Something went wrong" }), jsxRuntime.jsx("p", { className: "text-md text-tertiary", children: "An unexpected error occurred while loading this page." })] }));
10
- /**
11
- * Page-shaped template for app page chrome: a full-width `<main>` that owns the gutters (16px
12
- * on mobile, 24px from `lg`) and the header-to-content gap, an optional header region and an
13
- * error boundary keyed by `pageName`. The boundary wraps `children` only, so the header's
14
- * breadcrumbs stay usable when content throws; an app-level boundary still catches header
15
- * errors.
16
- *
17
- * @summary app-shell page template with a page-scoped error boundary
18
- */
19
- const PageLayout = ({ pageName, header, children, renderError, onError, className, 'data-testid': dataTestId, }) => {
20
- const pageLayoutTestId = testIdUtils.useResolvedTestId({ testId: dataTestId, segment: 'page-layout', rootName: 'page-layout' });
21
- return (jsxRuntime.jsxs("main", { "data-testid": pageLayoutTestId, className: cx.cx('flex w-full flex-col gap-md p-md lg:p-xl', className), children: [header, jsxRuntime.jsx(ErrorBoundary.ErrorBoundary, { identifier: pageName, onError: onError, renderFallback: (error) => {
22
- // `undefined`, not nullish: an explicit `null` from `renderError` is honoured as "render nothing".
23
- const customFallback = renderError?.({ error, pageName });
24
- if (customFallback !== undefined)
25
- return customFallback;
26
- return jsxRuntime.jsx(DefaultPageError, { testId: testIdUtils.joinTestId(pageLayoutTestId, 'error') });
27
- }, children: children })] }));
28
- };
5
+ /** @deprecated Import from `@flipdish/ui-library/components/layouts/PageLayout`. Removed in the next major. */
6
+ const PageLayout = PageLayout$1.PageLayout;
29
7
 
30
8
  exports.PageLayout = PageLayout;
31
9
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../src/components/templates/PageLayout/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx","useResolvedTestId","cx","ErrorBoundary","joinTestId"],"mappings":";;;;;;;AAoCA;AACA,MAAM,gBAAgB,GAAG,CAAC,EAAE,MAAM,EAAuB,MACvDA,eAAA,CAAA,KAAA,EAAA,EAAK,IAAI,EAAC,OAAO,iBAAc,MAAM,EAAE,SAAS,EAAC,4DAA4D,EAAA,QAAA,EAAA,CAC3GC,cAAA,CAAA,IAAA,EAAA,EAAI,SAAS,EAAC,oCAAoC,EAAA,QAAA,EAAA,sBAAA,EAAA,CAA0B,EAC5EA,cAAA,CAAA,GAAA,EAAA,EAAG,SAAS,EAAC,uBAAuB,EAAA,QAAA,EAAA,uDAAA,EAAA,CAA0D,CAAA,EAAA,CAC1F,CACP;AAED;;;;;;;;AAQG;MACU,UAAU,GAAG,CAAC,EACzB,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,WAAW,EACX,OAAO,EACP,SAAS,EACT,aAAa,EAAE,UAAU,GACT,KAAe;AAC/B,IAAA,MAAM,gBAAgB,GAAGC,6BAAiB,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC;AAEnH,IAAA,QACEF,eAAA,CAAA,MAAA,EAAA,EAAA,aAAA,EAAmB,gBAAgB,EAAE,SAAS,EAAEG,KAAE,CAAC,0CAA0C,EAAE,SAAS,CAAC,aACtG,MAAM,EAEPF,cAAA,CAACG,2BAAa,EAAA,EACZ,UAAU,EAAE,QAAQ,EACpB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,CAAC,KAAK,KAAI;;oBAExB,MAAM,cAAc,GAAG,WAAW,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;oBACzD,IAAI,cAAc,KAAK,SAAS;AAAE,wBAAA,OAAO,cAAc;AACvD,oBAAA,OAAOH,cAAA,CAAC,gBAAgB,EAAA,EAAC,MAAM,EAAEI,sBAAU,CAAC,gBAAgB,EAAE,OAAO,CAAC,EAAA,CAAI;AAC5E,gBAAA,CAAC,EAAA,QAAA,EAEA,QAAQ,EAAA,CACK,CAAA,EAAA,CACX;AAEX;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../src/components/templates/PageLayout/index.tsx"],"sourcesContent":[null],"names":["PageLayoutNext"],"mappings":";;;;AAMA;AACO,MAAM,UAAU,GAAGA;;"}
@@ -1,43 +1,6 @@
1
- import type { ErrorInfo, ReactNode } from 'react';
2
- export interface PageLayoutProps {
3
- /**
4
- * Stable, human-readable name of the page (e.g. "CollectionSettings"). Tags the
5
- * page-level error boundary so a thrown error can be attributed to a specific page
6
- * in logs/RUM, and is forwarded to `renderError` and `onError`.
7
- */
8
- pageName: string;
9
- /**
10
- * Header region. Compose `<PageHeader>` (or a feature wrapper around it) here.
11
- * Rendered OUTSIDE the error boundary so page chrome (breadcrumbs, back link)
12
- * stays usable when the content below throws.
13
- */
14
- header?: ReactNode;
15
- /** Page content, rendered INSIDE the error boundary. */
16
- children: ReactNode;
17
- /**
18
- * Replaces the default fallback shown when a child throws. Receives the thrown
19
- * error and `pageName` so consumers can render localised copy. Return `null` to
20
- * render nothing, or `undefined` to keep the default fallback.
21
- */
22
- renderError?: (props: {
23
- error: Error;
24
- pageName: string;
25
- }) => ReactNode;
26
- /** Called when a child throws — wire app-level reporting (e.g. Datadog RUM) here. */
27
- onError?: (error: Error, info: ErrorInfo) => void;
28
- /** Extra classes merged onto the root `<main>`. */
29
- className?: string;
30
- /** Overrides the `data-testid` (defaults to `fd-page-layout`). */
31
- 'data-testid'?: string;
32
- }
33
- /**
34
- * Page-shaped template for app page chrome: a full-width `<main>` that owns the gutters (16px
35
- * on mobile, 24px from `lg`) and the header-to-content gap, an optional header region and an
36
- * error boundary keyed by `pageName`. The boundary wraps `children` only, so the header's
37
- * breadcrumbs stay usable when content throws; an app-level boundary still catches header
38
- * errors.
39
- *
40
- * @summary app-shell page template with a page-scoped error boundary
41
- */
42
- export declare const PageLayout: ({ pageName, header, children, renderError, onError, className, "data-testid": dataTestId, }: PageLayoutProps) => ReactNode;
1
+ import { type PageLayoutProps as PageLayoutPropsNext } from '@flipdish/ui-library/components/layouts/PageLayout';
2
+ /** @deprecated Import from `@flipdish/ui-library/components/layouts/PageLayout`. Removed in the next major. */
3
+ export declare const PageLayout: ({ pageName, header, children, renderError, onError, className, "data-testid": dataTestId, }: PageLayoutPropsNext) => import("react").ReactNode;
4
+ /** @deprecated Import from `@flipdish/ui-library/components/layouts/PageLayout`. Removed in the next major. */
5
+ export type PageLayoutProps = PageLayoutPropsNext;
43
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/PageLayout/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,wDAAwD;IACxD,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;IACvE,qFAAqF;IACrF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAClD,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAUD;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,GAAI,6FAQxB,eAAe,KAAG,SAqBpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/PageLayout/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAgC,KAAK,eAAe,IAAI,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAE/I,+GAA+G;AAC/G,eAAO,MAAM,UAAU,iJAAiB,CAAC;AACzC,+GAA+G;AAC/G,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC"}
@@ -1,29 +1,7 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { ErrorBoundary } from '@flipdish/ui-library/providers/ErrorBoundary';
3
- import { cx } from '@flipdish/ui-library/utilities/cx';
4
- import { useResolvedTestId, joinTestId } from '@flipdish/ui-library/utilities/testIdUtils';
1
+ import { PageLayout as PageLayout$1 } from '@flipdish/ui-library/components/layouts/PageLayout';
5
2
 
6
- /** English fallback copy — consumers localise via `renderError`. TODO(i18n): source from ui-library's translation layer once one exists. */
7
- const DefaultPageError = ({ testId }) => (jsxs("div", { role: "alert", "data-testid": testId, className: "flex w-full flex-col items-center gap-2 py-2xl text-center", children: [jsx("h2", { className: "text-lg font-semibold text-primary", children: "Something went wrong" }), jsx("p", { className: "text-md text-tertiary", children: "An unexpected error occurred while loading this page." })] }));
8
- /**
9
- * Page-shaped template for app page chrome: a full-width `<main>` that owns the gutters (16px
10
- * on mobile, 24px from `lg`) and the header-to-content gap, an optional header region and an
11
- * error boundary keyed by `pageName`. The boundary wraps `children` only, so the header's
12
- * breadcrumbs stay usable when content throws; an app-level boundary still catches header
13
- * errors.
14
- *
15
- * @summary app-shell page template with a page-scoped error boundary
16
- */
17
- const PageLayout = ({ pageName, header, children, renderError, onError, className, 'data-testid': dataTestId, }) => {
18
- const pageLayoutTestId = useResolvedTestId({ testId: dataTestId, segment: 'page-layout', rootName: 'page-layout' });
19
- return (jsxs("main", { "data-testid": pageLayoutTestId, className: cx('flex w-full flex-col gap-md p-md lg:p-xl', className), children: [header, jsx(ErrorBoundary, { identifier: pageName, onError: onError, renderFallback: (error) => {
20
- // `undefined`, not nullish: an explicit `null` from `renderError` is honoured as "render nothing".
21
- const customFallback = renderError?.({ error, pageName });
22
- if (customFallback !== undefined)
23
- return customFallback;
24
- return jsx(DefaultPageError, { testId: joinTestId(pageLayoutTestId, 'error') });
25
- }, children: children })] }));
26
- };
3
+ /** @deprecated Import from `@flipdish/ui-library/components/layouts/PageLayout`. Removed in the next major. */
4
+ const PageLayout = PageLayout$1;
27
5
 
28
6
  export { PageLayout };
29
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/templates/PageLayout/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;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A,EAAA,CACX;AAEX;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/templates/PageLayout/index.tsx"],"sourcesContent":[null],"names":["PageLayoutNext"],"mappings":";;AAMA;AACO,MAAM,UAAU,GAAGA;;"}
@@ -1,42 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var jsxRuntime = require('react/jsx-runtime');
4
- var ErrorBoundary = require('@flipdish/ui-library/providers/ErrorBoundary');
5
- var cx = require('@flipdish/ui-library/utilities/cx');
6
- var testIdUtils = require('@flipdish/ui-library/utilities/testIdUtils');
3
+ var WidgetLayout$1 = require('@flipdish/ui-library/components/layouts/WidgetLayout');
7
4
 
8
- /** English fallback copy — consumers localise via `renderError`. TODO(i18n): source from ui-library's translation layer once one exists. */
9
- const DefaultWidgetError = ({ testId }) => (jsxRuntime.jsxs("div", { role: "alert", "data-testid": testId, className: "flex w-full flex-col items-center gap-2 py-xl text-center", children: [jsxRuntime.jsx("h2", { className: "font-semibold text-md text-primary", children: "Something went wrong" }), jsxRuntime.jsx("p", { className: "text-sm text-tertiary", children: "An unexpected error occurred in this widget." })] }));
10
- /**
11
- * Widget-shaped template for a micro-frontend mounted beside a page: a named `region` that fills
12
- * the height its host gives it, with pinned `header` and `footer` slots around a content area
13
- * that scrolls internally, and an error boundary keyed by `widgetName`. Reach for it instead of
14
- * `PageLayout` whenever the host page already owns `<main>` and the document must not scroll.
15
- *
16
- * @summary bounded-height widget template with pinned header and footer
17
- */
18
- const WidgetLayout = ({ widgetName, label, header, footer, children, renderError, onError, scrollAreaProps, className, 'data-testid': dataTestId, }) => {
19
- const widgetLayoutTestId = testIdUtils.useResolvedTestId({ testId: dataTestId, segment: 'widget-layout', rootName: 'widget-layout' });
20
- const scrollAreaTestId = scrollAreaProps?.['data-testid'] ?? testIdUtils.joinTestId(widgetLayoutTestId, 'scroll-area');
21
- // A `<section>` with an accessible name is a `region` landmark; without a name it is a plain `div`, so a
22
- // host that already provides the landmark does not get a nested, same-named one.
23
- const Root = label ? 'section' : 'div';
24
- return (
25
- // `h-full`, never a viewport unit: the host supplies the bounded height, and WebView viewport units can
26
- // disagree with the visible area. `min-h-0` lets the scroll region shrink below its content's height.
27
- jsxRuntime.jsxs(Root, { "aria-label": label, "data-testid": widgetLayoutTestId, className: cx.cx('flex h-full min-h-0 w-full flex-col gap-md p-md pb-[max(var(--spacing-md),env(safe-area-inset-bottom))]', className), children: [header, jsxRuntime.jsx("div", { id: scrollAreaProps?.id, ref: scrollAreaProps?.ref, "data-testid": scrollAreaTestId,
28
- // Focusable so keyboard users can scroll content that has no focusable element of its own (axe: scrollable-region-focusable).
29
- // biome-ignore lint/a11y/noNoninteractiveTabindex: a scrollable region must be reachable by keyboard
30
- tabIndex: 0,
31
- // `overscroll-contain` keeps a scroll that reaches the end from chaining to the host page.
32
- className: cx.cx('min-h-0 flex-1 overflow-y-auto overscroll-contain outline-focus-ring focus-visible:outline-2 focus-visible:-outline-offset-2', scrollAreaProps?.className), children: jsxRuntime.jsx(ErrorBoundary.ErrorBoundary, { identifier: widgetName, onError: onError, renderFallback: (error) => {
33
- // `undefined`, not nullish: an explicit `null` from `renderError` is honoured as "render nothing".
34
- const customFallback = renderError?.({ error, widgetName });
35
- if (customFallback !== undefined)
36
- return customFallback;
37
- return jsxRuntime.jsx(DefaultWidgetError, { testId: testIdUtils.joinTestId(widgetLayoutTestId, 'error') });
38
- }, children: children }) }), footer] }));
39
- };
5
+ /** @deprecated Import from `@flipdish/ui-library/components/layouts/WidgetLayout`. Removed in the next major. */
6
+ const WidgetLayout = WidgetLayout$1.WidgetLayout;
40
7
 
41
8
  exports.WidgetLayout = WidgetLayout;
42
9
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../src/components/templates/WidgetLayout/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx","useResolvedTestId","joinTestId","cx","ErrorBoundary"],"mappings":";;;;;;;AAoDA;AACA,MAAM,kBAAkB,GAAG,CAAC,E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AC3B,EAAA,QAAA,EAEDH,cAAA,CAACI,2BAAa,EAAA,EACZ,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,CAAC,KAAK,KAAI;;wBAExB,MAAM,cAAc,GAAG,WAAW,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;wBAC3D,IAAI,cAAc,KAAK,SAAS;AAAE,4BAAA,OAAO,cAAc;AACvD,wBAAA,OAAOJ,cAAA,CAAC,kBAAkB,EAAA,EAAC,MAAM,EAAEE,sBAAU,CAAC,kBAAkB,EAAE,OAAO,CAAC,EAAA,CAAI;oBAChF,CAAC,EAAA,QAAA,EAEA,QAAQ,EAAA,CACK,EAAA,CACZ,EAEL,MAAM,CAAA,EAAA,CACF;AAEX;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../src/components/templates/WidgetLayout/index.tsx"],"sourcesContent":[null],"names":["WidgetLayoutNext"],"mappings":";;;;AAUA;AACO,MAAM,YAAY,GAAGA;;"}
@@ -1,57 +1,8 @@
1
- import type { ErrorInfo, ReactNode, Ref } from 'react';
2
- export interface WidgetLayoutScrollAreaProps {
3
- /** `id` for the scrolling element, e.g. for a scroll-to-bottom helper that looks it up. */
4
- id?: string;
5
- /** Ref to the scrolling element, e.g. to keep a chat list pinned to its newest message. */
6
- ref?: Ref<HTMLDivElement>;
7
- /** Extra classes merged onto the scrolling element, e.g. a gap between messages. */
8
- className?: string;
9
- /** Overrides the scrolling element's `data-testid` (defaults to `<root>--scroll-area`). */
10
- 'data-testid'?: string;
11
- }
12
- export interface WidgetLayoutProps {
13
- /**
14
- * Stable, human-readable name of the widget (e.g. "ChatWidget"). Tags the widget-scoped error
15
- * boundary so a thrown error can be attributed in logs/RUM, and is forwarded to `renderError`
16
- * and `onError`.
17
- */
18
- widgetName: string;
19
- /**
20
- * Accessible name that makes the root a `region` landmark. Set it when the widget is the landmark,
21
- * since the host page already owns `<main>`; omit it when the host already wraps the widget in a named
22
- * landmark such as `SidePanel`, so the root is a plain `div` and no nested region repeats the name.
23
- */
24
- label?: string;
25
- /** Pinned above the scroll region and rendered OUTSIDE the error boundary, so a title or close control stays usable when content throws. */
26
- header?: ReactNode;
27
- /** Pinned below the scroll region and rendered OUTSIDE the error boundary; the composer slot. Keeps clear of the device's bottom safe area. */
28
- footer?: ReactNode;
29
- /** Widget content, rendered INSIDE the error boundary and the scroll region. */
30
- children: ReactNode;
31
- /**
32
- * Replaces the default fallback shown when a child throws. Receives the thrown error and `widgetName` so consumers can render
33
- * localised copy. Return `null` to render nothing, or `undefined` to keep the default fallback.
34
- */
35
- renderError?: (props: {
36
- error: Error;
37
- widgetName: string;
38
- }) => ReactNode;
39
- /** Called when a child throws — wire app-level reporting (e.g. Datadog RUM) here. */
40
- onError?: (error: Error, info: ErrorInfo) => void;
41
- /** Hooks for the element that scrolls the content, since the host's bounded height means the widget never scrolls the document. */
42
- scrollAreaProps?: WidgetLayoutScrollAreaProps;
43
- /** Extra classes merged onto the root `<section>`. */
44
- className?: string;
45
- /** Overrides the `data-testid` (defaults to `fd-widget-layout`). */
46
- 'data-testid'?: string;
47
- }
48
- /**
49
- * Widget-shaped template for a micro-frontend mounted beside a page: a named `region` that fills
50
- * the height its host gives it, with pinned `header` and `footer` slots around a content area
51
- * that scrolls internally, and an error boundary keyed by `widgetName`. Reach for it instead of
52
- * `PageLayout` whenever the host page already owns `<main>` and the document must not scroll.
53
- *
54
- * @summary bounded-height widget template with pinned header and footer
55
- */
56
- export declare const WidgetLayout: ({ widgetName, label, header, footer, children, renderError, onError, scrollAreaProps, className, "data-testid": dataTestId, }: WidgetLayoutProps) => ReactNode;
1
+ import { type WidgetLayoutProps as WidgetLayoutPropsNext, type WidgetLayoutScrollAreaProps as WidgetLayoutScrollAreaPropsNext } from '@flipdish/ui-library/components/layouts/WidgetLayout';
2
+ /** @deprecated Import from `@flipdish/ui-library/components/layouts/WidgetLayout`. Removed in the next major. */
3
+ export declare const WidgetLayout: ({ widgetName, label, header, footer, children, renderError, onError, scrollAreaProps, className, "data-testid": dataTestId, }: WidgetLayoutPropsNext) => import("react").ReactNode;
4
+ /** @deprecated Import from `@flipdish/ui-library/components/layouts/WidgetLayout`. Removed in the next major. */
5
+ export type WidgetLayoutProps = WidgetLayoutPropsNext;
6
+ /** @deprecated Import from `@flipdish/ui-library/components/layouts/WidgetLayout`. Removed in the next major. */
7
+ export type WidgetLayoutScrollAreaProps = WidgetLayoutScrollAreaPropsNext;
57
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/WidgetLayout/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,2BAA2B;IAC1C,2FAA2F;IAC3F,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,2FAA2F;IAC3F,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1B,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2FAA2F;IAC3F,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4IAA4I;IAC5I,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,+IAA+I;IAC/I,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,gFAAgF;IAChF,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;IACzE,qFAAqF;IACrF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAClD,mIAAmI;IACnI,eAAe,CAAC,EAAE,2BAA2B,CAAC;IAC9C,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAUD;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,GAAI,+HAW1B,iBAAiB,KAAG,SA+CtB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/WidgetLayout/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,iBAAiB,IAAI,qBAAqB,EAC/C,KAAK,2BAA2B,IAAI,+BAA+B,EACpE,MAAM,sDAAsD,CAAC;AAE9D,iHAAiH;AACjH,eAAO,MAAM,YAAY,qLAAmB,CAAC;AAC7C,iHAAiH;AACjH,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AACtD,iHAAiH;AACjH,MAAM,MAAM,2BAA2B,GAAG,+BAA+B,CAAC"}
@@ -1,40 +1,7 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { ErrorBoundary } from '@flipdish/ui-library/providers/ErrorBoundary';
3
- import { cx } from '@flipdish/ui-library/utilities/cx';
4
- import { useResolvedTestId, joinTestId } from '@flipdish/ui-library/utilities/testIdUtils';
1
+ import { WidgetLayout as WidgetLayout$1 } from '@flipdish/ui-library/components/layouts/WidgetLayout';
5
2
 
6
- /** English fallback copy — consumers localise via `renderError`. TODO(i18n): source from ui-library's translation layer once one exists. */
7
- const DefaultWidgetError = ({ testId }) => (jsxs("div", { role: "alert", "data-testid": testId, className: "flex w-full flex-col items-center gap-2 py-xl text-center", children: [jsx("h2", { className: "font-semibold text-md text-primary", children: "Something went wrong" }), jsx("p", { className: "text-sm text-tertiary", children: "An unexpected error occurred in this widget." })] }));
8
- /**
9
- * Widget-shaped template for a micro-frontend mounted beside a page: a named `region` that fills
10
- * the height its host gives it, with pinned `header` and `footer` slots around a content area
11
- * that scrolls internally, and an error boundary keyed by `widgetName`. Reach for it instead of
12
- * `PageLayout` whenever the host page already owns `<main>` and the document must not scroll.
13
- *
14
- * @summary bounded-height widget template with pinned header and footer
15
- */
16
- const WidgetLayout = ({ widgetName, label, header, footer, children, renderError, onError, scrollAreaProps, className, 'data-testid': dataTestId, }) => {
17
- const widgetLayoutTestId = useResolvedTestId({ testId: dataTestId, segment: 'widget-layout', rootName: 'widget-layout' });
18
- const scrollAreaTestId = scrollAreaProps?.['data-testid'] ?? joinTestId(widgetLayoutTestId, 'scroll-area');
19
- // A `<section>` with an accessible name is a `region` landmark; without a name it is a plain `div`, so a
20
- // host that already provides the landmark does not get a nested, same-named one.
21
- const Root = label ? 'section' : 'div';
22
- return (
23
- // `h-full`, never a viewport unit: the host supplies the bounded height, and WebView viewport units can
24
- // disagree with the visible area. `min-h-0` lets the scroll region shrink below its content's height.
25
- jsxs(Root, { "aria-label": label, "data-testid": widgetLayoutTestId, className: cx('flex h-full min-h-0 w-full flex-col gap-md p-md pb-[max(var(--spacing-md),env(safe-area-inset-bottom))]', className), children: [header, jsx("div", { id: scrollAreaProps?.id, ref: scrollAreaProps?.ref, "data-testid": scrollAreaTestId,
26
- // Focusable so keyboard users can scroll content that has no focusable element of its own (axe: scrollable-region-focusable).
27
- // biome-ignore lint/a11y/noNoninteractiveTabindex: a scrollable region must be reachable by keyboard
28
- tabIndex: 0,
29
- // `overscroll-contain` keeps a scroll that reaches the end from chaining to the host page.
30
- className: cx('min-h-0 flex-1 overflow-y-auto overscroll-contain outline-focus-ring focus-visible:outline-2 focus-visible:-outline-offset-2', scrollAreaProps?.className), children: jsx(ErrorBoundary, { identifier: widgetName, onError: onError, renderFallback: (error) => {
31
- // `undefined`, not nullish: an explicit `null` from `renderError` is honoured as "render nothing".
32
- const customFallback = renderError?.({ error, widgetName });
33
- if (customFallback !== undefined)
34
- return customFallback;
35
- return jsx(DefaultWidgetError, { testId: joinTestId(widgetLayoutTestId, 'error') });
36
- }, children: children }) }), footer] }));
37
- };
3
+ /** @deprecated Import from `@flipdish/ui-library/components/layouts/WidgetLayout`. Removed in the next major. */
4
+ const WidgetLayout = WidgetLayout$1;
38
5
 
39
6
  export { WidgetLayout };
40
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/templates/WidgetLayout/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;AAoDA;AACA,MAAM,kBAAkB,GAAG,CAAC,EAAE,MAAM,EAAuB,MACzDA,IAAA,CAAA,KAAA,EAAA,EAAK,IAAI,EAAC,OAAO,iBAAc,MAAM,EAAE,SAAS,EAAC,2DAA2D,EAAA,QAAA,EAAA,CAC1GC,GAAA,CAAA,IAAA,EAAA,EAAI,SAAS,EAAC,oCAAoC,EAAA,QAAA,EAAA,sBAAA,EAAA,CAA0B,EAC5EA,GAAA,CAAA,GAAA,EAAA,EAAG,SAAS,EAAC,uBAAuB,EAAA,QAAA,EAAA,8CAAA,EAAA,CAAiD,CAAA,EAAA,CACjF,CACP;AAED;;;;;;;AAOG;AACI,MAAM,YAAY,GAAG,CAAC,EAC3B,UAAU,EACV,KAAK,EACL,MAAM,EACN,MAAM,EACN,QAAQ,EACR,WAAW,EACX,OAAO,EACP,eAAe,EACf,SAAS,EACT,aAAa,EAAE,UAAU,GACP,KAAe;AACjC,IAAA,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC;AACzH,IAAA,MAAM,gBAAgB,GAAG,eAAe,GAAG,aAAa,CAAC,IAAI,UAAU,CAAC,kBAAkB,EAAE,aAAa,CAAC;;;IAG1G,MAAM,IAAI,GAAG,KAAK,GAAG,SAAS,GAAG,KAAK;IAEtC;;;AAGE,IAAAD,IAAA,CAAC,IAAI,EAAA,EAAA,YAAA,EACS,KAAK,EAAA,aAAA,EACJ,kBAAkB,EAC/B,SAAS,EAAE,EAAE,CAAC,yGAAyG,EAAE,SAAS,CAAC,EAAA,QAAA,EAAA,CAElI,MAAM,EAEPC,GAAA,CAAA,KAAA,EAAA,EACE,EAAE,EAAE,eAAe,EAAE,EAAE,EACvB,GAAG,EAAE,eAAe,EAAE,GAAG,iBACZ,gBAAgB;;;AAG7B,gBAAA,QAAQ,EAAE,CAAC;;gBAEX,SAAS,EAAE,EAAE,CACX,8HAA8H,EAC9H,eAAe,EAAE,SAAS,CAC3B,EAAA,QAAA,EAEDA,GAAA,CAAC,aAAa,EAAA,EACZ,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,CAAC,KAAK,KAAI;;wBAExB,MAAM,cAAc,GAAG,WAAW,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;wBAC3D,IAAI,cAAc,KAAK,SAAS;AAAE,4BAAA,OAAO,cAAc;AACvD,wBAAA,OAAOA,GAAA,CAAC,kBAAkB,EAAA,EAAC,MAAM,EAAE,UAAU,CAAC,kBAAkB,EAAE,OAAO,CAAC,EAAA,CAAI;oBAChF,CAAC,EAAA,QAAA,EAEA,QAAQ,EAAA,CACK,EAAA,CACZ,EAEL,MAAM,CAAA,EAAA,CACF;AAEX;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/templates/WidgetLayout/index.tsx"],"sourcesContent":[null],"names":["WidgetLayoutNext"],"mappings":";;AAUA;AACO,MAAM,YAAY,GAAGA;;"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `AppShell` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/layouts/AppShell` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `AppShell` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `PageHubLayout` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/layouts/PageHubLayout` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `PageHubLayout` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `PageLayout` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/layouts/PageLayout` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `PageLayout` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `WidgetLayout` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/layouts/WidgetLayout` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `WidgetLayout` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flipdish/ui-library",
3
- "version": "0.53.1",
3
+ "version": "0.54.0",
4
4
  "description": "Flipdish Design System — atomic-design component library (Tailwind v4 + UntitledUI + React Aria).",
5
5
  "type": "module",
6
6
  "imports": {
@@ -71,6 +71,15 @@
71
71
  "import": "./dist/components/forms/*/index.js",
72
72
  "require": "./dist/components/forms/*/index.cjs"
73
73
  },
74
+ "./components/layouts/*": {
75
+ "react-native": {
76
+ "types": "./dist/native/components/layouts/*/index.d.ts",
77
+ "default": "./dist/native/components/layouts/*/index.js"
78
+ },
79
+ "types": "./dist/components/layouts/*/index.d.ts",
80
+ "import": "./dist/components/layouts/*/index.js",
81
+ "require": "./dist/components/layouts/*/index.cjs"
82
+ },
74
83
  "./components/templates/*": {
75
84
  "react-native": {
76
85
  "types": "./dist/native/components/templates/*/index.d.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePageAreaBounds.cjs","sources":["../../../../../src/components/templates/AppShell/hooks/usePageAreaBounds.ts"],"sourcesContent":[null],"names":["useState","useCallback","useLayoutEffect","useResizeObserver","useEffect"],"mappings":";;;;;AAOA,MAAM,KAAK,GAAkB,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;AAErE,MAAM,MAAM,GAAG,CAAC,CAAgB,EAAE,CAAgB,KAAK,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM;AAE3I;;;;;;;AAOG;AACI,MAAM,iBAAiB,GAAG,CAAC,GAAkC,KAAmB;IACrF,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAGA,cAAQ,CAAgB,KAAK,CAAC;AAE1D,IAAA,MAAM,OAAO,GAAGC,iBAAW,CAAC,MAAK;QAC/B,MAAM,IAA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ePageAreaBounds.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iEAAiE,CAAC;AAMrG;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAAI,KAAK,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,KAAG,aA0BtE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePageAreaBounds.js","sources":["../../../../../src/components/templates/AppShell/hooks/usePageAreaBounds.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAOA,MAAM,KAAK,GAAkB,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;AAErE,MAAM,MAAM,GAAG,CAAC,CAAgB,EAAE,CAAgB,KAAK,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM;AAE3I;;;;;;;AAOG;AACI,MAAM,iBAAiB,GAAG,CAAC,GAAkC,KAAmB;IACrF,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAgB,KAAK,CAAC;AAE1D,IAAA,MAAM,OAAO,GAAG,WAAW,CAAC,MAAK;QAC/B,MAAM,IAAI,GAAG,GAAG,CAAC,OAAO,EAAE,qBAAqB,EAAE;QACjD,MAAM,IAAI,GAAG;cACT,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;cACxH,KAAK;QACT,SAAS,CAAC,CAAC,OAAO,MAAM,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;AAClE,IAAA,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;;AAGT,IAAA,eAAe,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,CAAC;IACnC,iBAAiB,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;IAC7C,SAAS,CAAC,MAAK;;;AAGb,QAAA,MAAM,QAAQ,GAAG,CAAC,KAAY,KAAI;AAChC,YAAA,IAAI,KAAK,CAAC,MAAM,YAAY,IAAI,IAAI,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;gBAAE;AACzE,YAAA,OAAO,EAAE;AACX,QAAA,CAAC;QACD,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC;AACnD,QAAA,OAAO,MAAM,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC;AACrE,IAAA,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAElB,IAAA,OAAO,MAAM;AACf;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePageCover.cjs","sources":["../../../../../src/components/templates/AppShell/hooks/usePageCover.ts"],"sourcesContent":[null],"names":["useObjectRef","useCallback"],"mappings":";;;;;AAMA;;;;;;;AAOG;AACI,MAAM,YAAY,GAAG,CAAC,YAA6C,KAAI;AAC5E,IAAA,MAAM,aAAa,GAAGA,kBAAY,CAAC,YAAY,CAAC;AAEhD,IAAA,MAAM,cAAc,GAAGC,iBAAW,CAChC,CAAC,SAAkB,KAAI;QACrB,IAAI,aAAa,CAAC,OAAO;AAAE,YAAA,aAAa,CAAC,OAAO,CAAC,KAAK,GAAG,SAAS;AACpE,IAAA,CAAC,EACD,CAAC,aAAa,CAAC,CAChB;AAED,IAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE;AAC1C;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePageCover.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/AppShell/hooks/usePageCover.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGjC;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,GAAI,cAAc,GAAG,CAAC,cAAc,CAAC,GAAG,SAAS;;gCAI1D,OAAO;CAOtB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePageCover.js","sources":["../../../../../src/components/templates/AppShell/hooks/usePageCover.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAMA;;;;;;;AAOG;AACI,MAAM,YAAY,GAAG,CAAC,YAA6C,KAAI;AAC5E,IAAA,MAAM,aAAa,GAAG,YAAY,CAAC,YAAY,CAAC;AAEhD,IAAA,MAAM,cAAc,GAAG,WAAW,CAChC,CAAC,SAAkB,KAAI;QACrB,IAAI,aAAa,CAAC,OAAO;AAAE,YAAA,aAAa,CAAC,OAAO,CAAC,KAAK,GAAG,SAAS;AACpE,IAAA,CAAC,EACD,CAAC,aAAa,CAAC,CAChB;AAED,IAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE;AAC1C;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageHubLayoutSectionNav.cjs","sources":["../../../../../src/components/templates/PageHubLayout/components/PageHubLayoutSectionNav.tsx"],"sourcesContent":[null],"names":["cx","tabSizes","getTabStyles","_jsxs","_jsx","Badge","AriaLink","AriaButton","joinTestId","slugifyTestId"],"mappings":";;;;;;;;;AAiCA,MAAM,2BAA2B,GAAG,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAoC,KAAI;IACjI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,OAAO,EAAA,CACG;AAEjB,CAAC;AAED;;;;AAIG;MACU,uBAAuB,GAAG,CAAC,EACtC,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,SAAS,EACT,aAAa,EAAE,MAAM,GACQ,MAC7BH,cAAA,CAAA,KAAA,EAAA,EAAA,YAAA,EAAiB,SAAS,EAAA,aAAA,EAAe,MAAM,EAAE,SAAS,EAAEJ,KAAE,CAAC,UAAU,EAAE,SAAS,CAAC,EAAA,QAAA,EAEnFI,cAAA,CAAA,IAAA,EAAA,EAAI,SAAS,EAAC,oCAAoC,YAC/C,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,MACpBA,cAAA,CAAA,IAAA,EAAA,EAAqB,SAAS,EAAC,MAAM,EAAA,QAAA,EACnCA,cAAA,CAAC,2BAA2B,EAAA,EAC1B,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,OAAO,CAAC,EAAE,KAAK,eAAe,EAC1C,QAAQ,EAAE,QAAQ,iBACLI,sBAAU,CAAC,MAAM,EAAE,CAAA,QAAA,EAAWC,yBAAa,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA,CAAE,CAAC,EAAA,CACvE,EAAA,EANK,OAAO,CAAC,EAAE,CAOd,CACN,CAAC,EAAA,CACC,EAAA,CACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageHubLayoutSectionNav.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/PageHubLayout/components/PageHubLayoutSectionNav.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,UAAU,4BAA4B;IACpC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,kDAAkD;IAClD,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,kEAAkE;IAClE,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,gDAAgD;IAChD,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB;AA+DD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,GAAI,qGAOrC,4BAA4B,gCAgB9B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageHubLayoutSectionNav.js","sources":["../../../../../src/components/templates/PageHubLayout/components/PageHubLayoutSectionNav.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx","AriaLink","AriaButton"],"mappings":";;;;;;;AAiCA,MAAM,2BAA2B,GAAG,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAoC,KAAI;IACjI,MAAM,aAAa,GAAG,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAoB,KAChF,EAAE,CACA,2HAA2H,EAC3H,QAAQ,CAAC,EAAE,CAAC,IAAI,EAChB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAChB,YAAY,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC,CAAC,IAAI,EAC5D,UAAU,IAAI,+BAA+B,CAC9C;AAEH,IAAA,MAAM,OAAO,GAAG,CAAC,EAAE,SAAS,EAAuC,MACjEA,IAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAC,2BAA2B,EAAA,QAAA,EAAA,CACxC,OAAO,CAAC,KAAK,EACb,OAAO,CAAC,KAAK,KAAK,SAAS,KAC1BC,GAAA,CAAC,KAAK,IAAC,IAAI,EAAC,IAAI,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAE,SAAS,IAAI,UAAU,GAAG,OAAO,GAAG,MAAM,EAAE,SAAS,EAAC,+BAA+B,EAAA,QAAA,EAC5H,OAAO,CAAC,KAAK,EAAA,CACR,CACT,CAAA,EAAA,CACI,CACR;AAED,IAAA,IAAI,OAAO,CAAC,IAAI,EAAE;AAChB,QAAA,QACEA,GAAA,CAAC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EAAA,CACC,EAAA,CACD;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageHubLayout.types.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/PageHubLayout/pageHubLayout.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,oBAAoB;IACnC,+HAA+H;IAC/H,EAAE,EAAE,MAAM,CAAC;IACX,wEAAwE;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+GAA+G;IAC/G,MAAM,EAAE,MAAM,SAAS,CAAC;CACzB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageHubLayout.utils.cjs","sources":["../../../../src/components/templates/PageHubLayout/pageHubLayout.utils.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGA;;;;;;;AAOG;MACU,sBAAsB,GAAG,CAAC,QAAgC,EAAE,GAAe,KAAwB;AAC9G,IAAA,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,EAAE,KAAK,GAAG,CAAC;AAClE,IAAA,OAAO,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,EAAE,GAAG,SAAS;AAC1D;AAEA;;;;;;;AAOG;MACU,sBAAsB,GAAG,CAAC,QAAgC,EAAE,UAA8B,KACrG,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,EAAE,KAAK,UAAU,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageHubLayout.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/PageHubLayout/pageHubLayout.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GAAI,UAAU,oBAAoB,EAAE,EAAE,KAAK,GAAG,GAAG,IAAI,KAAG,MAAM,GAAG,SAGnG,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GAAI,UAAU,oBAAoB,EAAE,EAAE,YAAY,MAAM,GAAG,SAAS,KAAG,oBAAoB,GAAG,SACA,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageHubLayout.utils.js","sources":["../../../../src/components/templates/PageHubLayout/pageHubLayout.utils.ts"],"sourcesContent":[null],"names":[],"mappings":"AAGA;;;;;;;AAOG;MACU,sBAAsB,GAAG,CAAC,QAAgC,EAAE,GAAe,KAAwB;AAC9G,IAAA,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,EAAE,KAAK,GAAG,CAAC;AAClE,IAAA,OAAO,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,EAAE,GAAG,SAAS;AAC1D;AAEA;;;;;;;AAOG;MACU,sBAAsB,GAAG,CAAC,QAAgC,EAAE,UAA8B,KACrG,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,EAAE,KAAK,UAAU,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU;;"}