@deriv-web-design/ui 0.1.9 → 0.1.10
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/block-registry.json +12 -3
- package/components.manifest.json +6 -0
- package/dist/index.css +53 -36
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1991,6 +1991,7 @@ var Header = ({
|
|
|
1991
1991
|
leftVisual,
|
|
1992
1992
|
rightVisual,
|
|
1993
1993
|
search,
|
|
1994
|
+
underNavbar = false,
|
|
1994
1995
|
className,
|
|
1995
1996
|
...props
|
|
1996
1997
|
}) => {
|
|
@@ -2037,7 +2038,7 @@ var Header = ({
|
|
|
2037
2038
|
"section",
|
|
2038
2039
|
{
|
|
2039
2040
|
ref: sectionRef,
|
|
2040
|
-
className: ["header", variantClass, className].filter(Boolean).join(" "),
|
|
2041
|
+
className: ["header", variantClass, underNavbar && "header--under-navbar", className].filter(Boolean).join(" "),
|
|
2041
2042
|
...props,
|
|
2042
2043
|
children: [
|
|
2043
2044
|
/* @__PURE__ */ jsx24("div", { className: "header__grid", "aria-hidden": "true" }),
|