@aurora-ds/components 1.8.5 → 1.8.6

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/esm/index.js CHANGED
@@ -2623,7 +2623,7 @@ Box.displayName = 'Box';
2623
2623
  * @example <Stack gap='sm'>…</Stack>
2624
2624
  * @example <Stack flexDirection='row' gap='md' alignItems='center' justifyContent='space-between'>…</Stack>
2625
2625
  */
2626
- const Stack = ({ flexDirection = 'row', display = 'flex', gap = 'sm', alignItems = 'center', ...rest }) => (jsx(Box, { display: display, flexDirection: flexDirection, alignItems: alignItems, gap: gap, ...rest }));
2626
+ const Stack = ({ flexDirection = 'row', display = 'flex', gap = 'sm', alignItems = 'center', width = '100%', ...rest }) => (jsx(Box, { display: display, flexDirection: flexDirection, alignItems: alignItems, gap: gap, width: width, ...rest }));
2627
2627
  Stack.displayName = 'Stack';
2628
2628
 
2629
2629
  /**
@@ -5562,8 +5562,8 @@ const HEADER_STYLES = createStyles((theme) => ({
5562
5562
  * @example <Header px="sm" py="xs" alignItems="center" gap="sm">…</Header>
5563
5563
  * @example <Header withBorder>…</Header>
5564
5564
  */
5565
- const Header = ({ ref, style, className, children, withBorder = true, display = 'flex', px = 'sm', py = 'xs', ...props }) => {
5566
- const { styleProps, restProps } = extractBoxStyleProps({ display, px, py, ...props });
5565
+ const Header = ({ ref, style, className, children, withBorder = true, width = '100%', display = 'flex', px = 'sm', py = 'xs', ...props }) => {
5566
+ const { styleProps, restProps } = extractBoxStyleProps({ display, px, py, width, ...props });
5567
5567
  const generatedClassName = BOX_STYLES.root(styleProps);
5568
5568
  return (jsx("header", { ref: ref, className: cx(generatedClassName, withBorder && HEADER_STYLES.withBorder(), className), style: style, ...restProps, children: children }));
5569
5569
  };