@aurora-ds/components 1.7.13 → 1.7.14
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/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -5413,11 +5413,11 @@ const HEADER_STYLES = createStyles((theme) => ({
|
|
|
5413
5413
|
* (logo, site title, navigation). Screen-readers expose it as the
|
|
5414
5414
|
* `banner` landmark when it is a direct child of `<body>`.
|
|
5415
5415
|
*
|
|
5416
|
-
* @example <Header
|
|
5416
|
+
* @example <Header px="md" py="sm" alignItems="center" gap="sm">…</Header>
|
|
5417
5417
|
* @example <Header withBorder>…</Header>
|
|
5418
5418
|
*/
|
|
5419
|
-
const Header = ({ ref, style, className, children, withBorder = true, ...props }) => {
|
|
5420
|
-
const { styleProps, restProps } = extractBoxStyleProps(props);
|
|
5419
|
+
const Header = ({ ref, style, className, children, withBorder = true, display = 'flex', ...props }) => {
|
|
5420
|
+
const { styleProps, restProps } = extractBoxStyleProps({ display, ...props });
|
|
5421
5421
|
const generatedClassName = BOX_STYLES.root(styleProps);
|
|
5422
5422
|
return (jsx("header", { ref: ref, className: cx(generatedClassName, withBorder && HEADER_STYLES.withBorder(), className), style: style, ...restProps, children: children }));
|
|
5423
5423
|
};
|