@deriv-web-design/ui 0.1.9 → 0.1.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/block-registry.json +18 -5
- package/components.manifest.json +7 -1
- package/dist/index.css +68 -32
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1829,6 +1829,14 @@ var Hero = ({
|
|
|
1829
1829
|
...props,
|
|
1830
1830
|
children: [
|
|
1831
1831
|
/* @__PURE__ */ jsx23("div", { className: "hero__overlay", "aria-hidden": "true" }),
|
|
1832
|
+
floatingImage && /* @__PURE__ */ jsx23(
|
|
1833
|
+
Visual,
|
|
1834
|
+
{
|
|
1835
|
+
src: floatingImage,
|
|
1836
|
+
className: "hero__floating-image",
|
|
1837
|
+
alt: ""
|
|
1838
|
+
}
|
|
1839
|
+
),
|
|
1832
1840
|
heroImage && /* @__PURE__ */ jsx23(Visual, { src: heroImage, className: "hero__image-slot", alt: "" }),
|
|
1833
1841
|
/* @__PURE__ */ jsx23("div", { className: "hero__inner", children: /* @__PURE__ */ jsx23("div", { className: "hero__content", children: /* @__PURE__ */ jsx23("div", { className: "hero__left", children: /* @__PURE__ */ jsxs21("div", { className: "hero__body", children: [
|
|
1834
1842
|
/* @__PURE__ */ jsxs21("div", { className: "hero__text", children: [
|
|
@@ -1991,6 +1999,7 @@ var Header = ({
|
|
|
1991
1999
|
leftVisual,
|
|
1992
2000
|
rightVisual,
|
|
1993
2001
|
search,
|
|
2002
|
+
underNavbar = false,
|
|
1994
2003
|
className,
|
|
1995
2004
|
...props
|
|
1996
2005
|
}) => {
|
|
@@ -2037,7 +2046,7 @@ var Header = ({
|
|
|
2037
2046
|
"section",
|
|
2038
2047
|
{
|
|
2039
2048
|
ref: sectionRef,
|
|
2040
|
-
className: ["header", variantClass, className].filter(Boolean).join(" "),
|
|
2049
|
+
className: ["header", variantClass, underNavbar && "header--under-navbar", className].filter(Boolean).join(" "),
|
|
2041
2050
|
...props,
|
|
2042
2051
|
children: [
|
|
2043
2052
|
/* @__PURE__ */ jsx24("div", { className: "header__grid", "aria-hidden": "true" }),
|