@aurora-ds/components 1.7.14 → 1.7.15

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 CHANGED
@@ -5433,11 +5433,11 @@ const HEADER_STYLES = theme.createStyles((theme) => ({
5433
5433
  * (logo, site title, navigation). Screen-readers expose it as the
5434
5434
  * `banner` landmark when it is a direct child of `<body>`.
5435
5435
  *
5436
- * @example <Header px="md" py="sm" alignItems="center" gap="sm">…</Header>
5436
+ * @example <Header px="sm" py="xs" alignItems="center" gap="sm">…</Header>
5437
5437
  * @example <Header withBorder>…</Header>
5438
5438
  */
5439
- const Header = ({ ref, style, className, children, withBorder = true, display = 'flex', ...props }) => {
5440
- const { styleProps, restProps } = extractBoxStyleProps({ display, ...props });
5439
+ const Header = ({ ref, style, className, children, withBorder = true, display = 'flex', px = 'sm', py = 'xs', ...props }) => {
5440
+ const { styleProps, restProps } = extractBoxStyleProps({ display, px, py, ...props });
5441
5441
  const generatedClassName = BOX_STYLES.root(styleProps);
5442
5442
  return (jsxRuntime.jsx("header", { ref: ref, className: theme.cx(generatedClassName, withBorder && HEADER_STYLES.withBorder(), className), style: style, ...restProps, children: children }));
5443
5443
  };