@motech-development/breeze-ui 3.2.0 → 3.3.1
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
|
|
1
|
+
import type { HTMLAttributes, Key, ReactElement, ReactNode, Ref } from 'react';
|
|
2
2
|
interface ApplicationShellSharedProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'style' | 'title'> {
|
|
3
|
-
/** Account or user-menu slot in the
|
|
3
|
+
/** Account or user-menu slot in the wide rail footer and compact header. */
|
|
4
4
|
account: ReactNode;
|
|
5
5
|
/** Canonical product brand slot. */
|
|
6
6
|
brand: ReactNode;
|
|
@@ -8,6 +8,8 @@ interface ApplicationShellSharedProps extends Omit<HTMLAttributes<HTMLDivElement
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
/** Compact-header product name. Defaults to `brand`. */
|
|
10
10
|
compactBrand?: ReactNode;
|
|
11
|
+
/** Focuses the main-content target after this application-owned content key changes. */
|
|
12
|
+
contentFocusKey?: Key;
|
|
11
13
|
/** Optional active application-context slot. */
|
|
12
14
|
context?: ReactNode;
|
|
13
15
|
/** Accessible title for the compact navigation drawer. */
|
|
@@ -43,6 +45,6 @@ export type ApplicationShellProps = ApplicationShellSharedProps & (ControlledApp
|
|
|
43
45
|
*
|
|
44
46
|
* @summary responsive application frame with accessible primary navigation
|
|
45
47
|
*/
|
|
46
|
-
export declare function ApplicationShell({ account, brand, children, className, compactBrand, compactNavigationOpen, context, defaultCompactNavigationOpen, mainId, navigation, navigationLabel, onCompactNavigationOpenChange, ref, skipLinkLabel, ...props }: Readonly<ApplicationShellProps>): ReactElement;
|
|
48
|
+
export declare function ApplicationShell({ account, brand, children, className, compactBrand, compactNavigationOpen, context, contentFocusKey, defaultCompactNavigationOpen, mainId, navigation, navigationLabel, onCompactNavigationOpenChange, ref, skipLinkLabel, ...props }: Readonly<ApplicationShellProps>): ReactElement;
|
|
47
49
|
export {};
|
|
48
50
|
//# sourceMappingURL=ApplicationShell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationShell.d.ts","sourceRoot":"","sources":["../../../src/patterns/ApplicationShell/ApplicationShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ApplicationShell.d.ts","sourceRoot":"","sources":["../../../src/patterns/ApplicationShell/ApplicationShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAQ/E,UAAU,2BACR,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;IAC5E,4EAA4E;IAC5E,OAAO,EAAE,SAAS,CAAC;IACnB,oCAAoC;IACpC,KAAK,EAAE,SAAS,CAAC;IACjB,qCAAqC;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,wDAAwD;IACxD,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,wFAAwF;IACxF,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,gDAAgD;IAChD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,0DAA0D;IAC1D,eAAe,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,UAAU,EAAE,SAAS,CAAC;IACtB,sCAAsC;IACtC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1B,wCAAwC;IACxC,aAAa,EAAE,SAAS,CAAC;IACzB,iFAAiF;IACjF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,+BAA+B;IACvC,+CAA+C;IAC/C,qBAAqB,EAAE,OAAO,CAA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