@aurora-ds/components 1.8.4 → 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/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/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2643,7 +2643,7 @@ Box.displayName = 'Box';
|
|
|
2643
2643
|
* @example <Stack gap='sm'>…</Stack>
|
|
2644
2644
|
* @example <Stack flexDirection='row' gap='md' alignItems='center' justifyContent='space-between'>…</Stack>
|
|
2645
2645
|
*/
|
|
2646
|
-
const Stack = ({ flexDirection = 'row', display = 'flex', gap = 'sm', ...rest }) => (jsxRuntime.jsx(Box, { display: display, flexDirection: flexDirection, gap: gap, ...rest }));
|
|
2646
|
+
const Stack = ({ flexDirection = 'row', display = 'flex', gap = 'sm', alignItems = 'center', width = '100%', ...rest }) => (jsxRuntime.jsx(Box, { display: display, flexDirection: flexDirection, alignItems: alignItems, gap: gap, width: width, ...rest }));
|
|
2647
2647
|
Stack.displayName = 'Stack';
|
|
2648
2648
|
|
|
2649
2649
|
/**
|
|
@@ -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
|
};
|