@aurora-ds/components 1.7.10 → 1.7.11

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/index.d.ts CHANGED
@@ -2097,7 +2097,14 @@ declare const Grid: FC<GridProps>;
2097
2097
  * Props for the Header component.
2098
2098
  * Accepts all style tokens from Box, forwarded to a native `<header>` element.
2099
2099
  */
2100
- type HeaderProps = SemanticBoxProps<HTMLElement>;
2100
+ type HeaderProps = SemanticBoxProps<HTMLElement> & {
2101
+ /**
2102
+ * When `true`, adds a 1px `borderBottom` using the `borderMain` color token.
2103
+ * Useful for visually separating the header from the page content.
2104
+ * @default false
2105
+ */
2106
+ withBorder?: boolean;
2107
+ };
2101
2108
 
2102
2109
  /**
2103
2110
  * Semantic `<header>` enriched with the same token-aware style props as `Box`.
@@ -2107,6 +2114,7 @@ type HeaderProps = SemanticBoxProps<HTMLElement>;
2107
2114
  * `banner` landmark when it is a direct child of `<body>`.
2108
2115
  *
2109
2116
  * @example <Header padding="md" display="flex" alignItems="center" gap="sm">…</Header>
2117
+ * @example <Header withBorder>…</Header>
2110
2118
  */
2111
2119
  declare const Header: FC<HeaderProps>;
2112
2120
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-ds/components",
3
- "version": "1.7.10",
3
+ "version": "1.7.11",
4
4
  "type": "module",
5
5
  "description": "Aurora DS - React Components Library",
6
6
  "main": "dist/cjs/index.js",