@sorayasm/vietri-ds 0.2.0 → 0.2.1

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.
@@ -1,4 +1,5 @@
1
1
  import { type ReactNode } from "react";
2
+ import { type Breakpoint } from "@mui/material/styles";
2
3
  export interface NavLink {
3
4
  label: string;
4
5
  href: string;
@@ -18,6 +19,12 @@ export interface NavBarProps {
18
19
  menuLabel?: string;
19
20
  /** Label of the button that closes the menu on small screens. */
20
21
  closeLabel?: string;
22
+ /**
23
+ * Maximum width of the header content. Default "lg", the same width the
24
+ * page content usually has, so the header lines up with it. Use `false` to
25
+ * let it span the whole width.
26
+ */
27
+ maxWidth?: Breakpoint | false;
21
28
  }
22
- export declare function NavBar({ brand, brandHref, links, actions, ariaLabel, menuLabel, closeLabel, }: NavBarProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function NavBar({ brand, brandHref, links, actions, ariaLabel, menuLabel, closeLabel, maxWidth, }: NavBarProps): import("react/jsx-runtime").JSX.Element;
23
30
  //# sourceMappingURL=NavBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../src/components/NavBar/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAajD,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,uCAAuC;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,oEAAoE;IACpE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAkCD,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,SAAe,EACf,KAAK,EACL,OAAO,EACP,SAAkB,EAClB,SAAkB,EAClB,UAAyB,GAC1B,EAAE,WAAW,2CA+Fb"}
1
+ {"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../src/components/NavBar/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAWjD,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGjE,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,uCAAuC;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,oEAAoE;IACpE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,UAAU,GAAG,KAAK,CAAC;CAC/B;AAkCD,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,SAAe,EACf,KAAK,EACL,OAAO,EACP,SAAkB,EAClB,SAAkB,EAClB,UAAyB,EACzB,QAAe,GAChB,EAAE,WAAW,2CAkGb"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sorayasm/vietri-ds",
3
3
  "private": false,
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",