@aurora-ds/components 1.8.5 → 1.8.7

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
@@ -5582,8 +5582,8 @@ const HEADER_STYLES = theme.createStyles((theme) => ({
5582
5582
  * @example <Header px="sm" py="xs" alignItems="center" gap="sm">…</Header>
5583
5583
  * @example <Header withBorder>…</Header>
5584
5584
  */
5585
- const Header = ({ ref, style, className, children, withBorder = true, display = 'flex', px = 'sm', py = 'xs', ...props }) => {
5586
- const { styleProps, restProps } = extractBoxStyleProps({ display, px, py, ...props });
5585
+ const Header = ({ ref, style, className, children, withBorder = true, width = '100%', display = 'flex', px = 'sm', py = 'xs', ...props }) => {
5586
+ const { styleProps, restProps } = extractBoxStyleProps({ display, px, py, width, ...props });
5587
5587
  const generatedClassName = BOX_STYLES.root(styleProps);
5588
5588
  return (jsxRuntime.jsx("header", { ref: ref, className: theme.cx(generatedClassName, withBorder && HEADER_STYLES.withBorder(), className), style: style, ...restProps, children: children }));
5589
5589
  };