@puzzle-ui/pieces 0.0.0-stage → 0.5.0
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/LICENSE +21 -0
- package/dist/components/hero/accommodation-hero.cjs +13 -0
- package/dist/components/hero/accommodation-hero.cjs.map +1 -0
- package/dist/components/hero/accommodation-hero.d.cts +3 -0
- package/dist/components/hero/accommodation-hero.d.ts +3 -0
- package/dist/components/hero/accommodation-hero.js +14 -0
- package/dist/components/hero/accommodation-hero.js.map +1 -0
- package/dist/components/hero/agency-hero.cjs +13 -0
- package/dist/components/hero/agency-hero.cjs.map +1 -0
- package/dist/components/hero/agency-hero.d.cts +3 -0
- package/dist/components/hero/agency-hero.d.ts +3 -0
- package/dist/components/hero/agency-hero.js +14 -0
- package/dist/components/hero/agency-hero.js.map +1 -0
- package/dist/components/hero/app-hero.cjs +13 -0
- package/dist/components/hero/app-hero.cjs.map +1 -0
- package/dist/components/hero/app-hero.d.cts +3 -0
- package/dist/components/hero/app-hero.d.ts +3 -0
- package/dist/components/hero/app-hero.js +14 -0
- package/dist/components/hero/app-hero.js.map +1 -0
- package/dist/components/hero/campaign-hero.cjs +13 -0
- package/dist/components/hero/campaign-hero.cjs.map +1 -0
- package/dist/components/hero/campaign-hero.d.cts +3 -0
- package/dist/components/hero/campaign-hero.d.ts +3 -0
- package/dist/components/hero/campaign-hero.js +14 -0
- package/dist/components/hero/campaign-hero.js.map +1 -0
- package/dist/components/hero/centered-hero.cjs +12 -0
- package/dist/components/hero/centered-hero.cjs.map +1 -0
- package/dist/components/hero/centered-hero.d.cts +3 -0
- package/dist/components/hero/centered-hero.d.ts +3 -0
- package/dist/components/hero/centered-hero.js +13 -0
- package/dist/components/hero/centered-hero.js.map +1 -0
- package/dist/components/hero/coming-soon-hero.cjs +12 -0
- package/dist/components/hero/coming-soon-hero.cjs.map +1 -0
- package/dist/components/hero/coming-soon-hero.d.cts +3 -0
- package/dist/components/hero/coming-soon-hero.d.ts +3 -0
- package/dist/components/hero/coming-soon-hero.js +13 -0
- package/dist/components/hero/coming-soon-hero.js.map +1 -0
- package/dist/components/hero/create-hero-preset.cjs +11 -0
- package/dist/components/hero/create-hero-preset.cjs.map +1 -0
- package/dist/components/hero/create-hero-preset.js +11 -0
- package/dist/components/hero/create-hero-preset.js.map +1 -0
- package/dist/components/hero/dashboard-welcome-hero.cjs +12 -0
- package/dist/components/hero/dashboard-welcome-hero.cjs.map +1 -0
- package/dist/components/hero/dashboard-welcome-hero.d.cts +3 -0
- package/dist/components/hero/dashboard-welcome-hero.d.ts +3 -0
- package/dist/components/hero/dashboard-welcome-hero.js +13 -0
- package/dist/components/hero/dashboard-welcome-hero.js.map +1 -0
- package/dist/components/hero/editorial-hero.cjs +13 -0
- package/dist/components/hero/editorial-hero.cjs.map +1 -0
- package/dist/components/hero/editorial-hero.d.cts +3 -0
- package/dist/components/hero/editorial-hero.d.ts +3 -0
- package/dist/components/hero/editorial-hero.js +14 -0
- package/dist/components/hero/editorial-hero.js.map +1 -0
- package/dist/components/hero/full-screen-hero.cjs +13 -0
- package/dist/components/hero/full-screen-hero.cjs.map +1 -0
- package/dist/components/hero/full-screen-hero.d.cts +3 -0
- package/dist/components/hero/full-screen-hero.d.ts +3 -0
- package/dist/components/hero/full-screen-hero.js +14 -0
- package/dist/components/hero/full-screen-hero.js.map +1 -0
- package/dist/components/hero/hero-video.cjs +45 -0
- package/dist/components/hero/hero-video.cjs.map +1 -0
- package/dist/components/hero/hero-video.js +45 -0
- package/dist/components/hero/hero-video.js.map +1 -0
- package/dist/components/hero/hero.cjs +98 -0
- package/dist/components/hero/hero.cjs.map +1 -0
- package/dist/components/hero/hero.css +312 -0
- package/dist/components/hero/hero.d.cts +3 -0
- package/dist/components/hero/hero.d.ts +3 -0
- package/dist/components/hero/hero.js +98 -0
- package/dist/components/hero/hero.js.map +1 -0
- package/dist/components/hero/hero.types.d.cts +44 -0
- package/dist/components/hero/hero.types.d.ts +44 -0
- package/dist/components/hero/hero.utils.cjs +8 -0
- package/dist/components/hero/hero.utils.cjs.map +1 -0
- package/dist/components/hero/hero.utils.js +8 -0
- package/dist/components/hero/hero.utils.js.map +1 -0
- package/dist/components/hero/image-hero.cjs +16 -0
- package/dist/components/hero/image-hero.cjs.map +1 -0
- package/dist/components/hero/image-hero.d.cts +6 -0
- package/dist/components/hero/image-hero.d.ts +6 -0
- package/dist/components/hero/image-hero.js +16 -0
- package/dist/components/hero/image-hero.js.map +1 -0
- package/dist/components/hero/index.d.cts +22 -0
- package/dist/components/hero/index.d.ts +22 -0
- package/dist/components/hero/minimal-hero.cjs +12 -0
- package/dist/components/hero/minimal-hero.cjs.map +1 -0
- package/dist/components/hero/minimal-hero.d.cts +3 -0
- package/dist/components/hero/minimal-hero.d.ts +3 -0
- package/dist/components/hero/minimal-hero.js +13 -0
- package/dist/components/hero/minimal-hero.js.map +1 -0
- package/dist/components/hero/print-shop-hero.cjs +13 -0
- package/dist/components/hero/print-shop-hero.cjs.map +1 -0
- package/dist/components/hero/print-shop-hero.d.cts +3 -0
- package/dist/components/hero/print-shop-hero.d.ts +3 -0
- package/dist/components/hero/print-shop-hero.js +14 -0
- package/dist/components/hero/print-shop-hero.js.map +1 -0
- package/dist/components/hero/product-hero.cjs +13 -0
- package/dist/components/hero/product-hero.cjs.map +1 -0
- package/dist/components/hero/product-hero.d.cts +3 -0
- package/dist/components/hero/product-hero.d.ts +3 -0
- package/dist/components/hero/product-hero.js +14 -0
- package/dist/components/hero/product-hero.js.map +1 -0
- package/dist/components/hero/restaurant-hero.cjs +13 -0
- package/dist/components/hero/restaurant-hero.cjs.map +1 -0
- package/dist/components/hero/restaurant-hero.d.cts +3 -0
- package/dist/components/hero/restaurant-hero.d.ts +3 -0
- package/dist/components/hero/restaurant-hero.js +14 -0
- package/dist/components/hero/restaurant-hero.js.map +1 -0
- package/dist/components/hero/saas-hero.cjs +13 -0
- package/dist/components/hero/saas-hero.cjs.map +1 -0
- package/dist/components/hero/saas-hero.d.cts +3 -0
- package/dist/components/hero/saas-hero.d.ts +3 -0
- package/dist/components/hero/saas-hero.js +14 -0
- package/dist/components/hero/saas-hero.js.map +1 -0
- package/dist/components/hero/search-hero.cjs +12 -0
- package/dist/components/hero/search-hero.cjs.map +1 -0
- package/dist/components/hero/search-hero.d.cts +3 -0
- package/dist/components/hero/search-hero.d.ts +3 -0
- package/dist/components/hero/search-hero.js +13 -0
- package/dist/components/hero/search-hero.js.map +1 -0
- package/dist/components/hero/split-hero.cjs +12 -0
- package/dist/components/hero/split-hero.cjs.map +1 -0
- package/dist/components/hero/split-hero.d.cts +3 -0
- package/dist/components/hero/split-hero.d.ts +3 -0
- package/dist/components/hero/split-hero.js +13 -0
- package/dist/components/hero/split-hero.js.map +1 -0
- package/dist/components/hero/store-hero.cjs +13 -0
- package/dist/components/hero/store-hero.cjs.map +1 -0
- package/dist/components/hero/store-hero.d.cts +3 -0
- package/dist/components/hero/store-hero.d.ts +3 -0
- package/dist/components/hero/store-hero.js +14 -0
- package/dist/components/hero/store-hero.js.map +1 -0
- package/dist/components/hero/video-hero.cjs +16 -0
- package/dist/components/hero/video-hero.cjs.map +1 -0
- package/dist/components/hero/video-hero.d.cts +6 -0
- package/dist/components/hero/video-hero.d.ts +6 -0
- package/dist/components/hero/video-hero.js +16 -0
- package/dist/components/hero/video-hero.js.map +1 -0
- package/dist/index.cjs +41 -0
- package/dist/index.d.cts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +21 -0
- package/package.json +68 -4
- package/README.md +0 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_hero = require("./hero.cjs");
|
|
2
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
+
// src/components/hero/image-hero.tsx
|
|
4
|
+
const ImageHero = ({ backgroundImage, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_hero.Hero, {
|
|
5
|
+
layout: "full-width",
|
|
6
|
+
mediaPosition: "background",
|
|
7
|
+
alignment: "center",
|
|
8
|
+
height: "large",
|
|
9
|
+
theme: "dark",
|
|
10
|
+
overlay: "gradient",
|
|
11
|
+
...props,
|
|
12
|
+
backgroundImage
|
|
13
|
+
});
|
|
14
|
+
exports.ImageHero = ImageHero;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=image-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-hero.cjs","names":["Hero"],"sources":["../../../src/components/hero/image-hero.tsx"],"sourcesContent":["import { Hero } from \"./hero\";\nimport type { HeroProps } from \"./hero.types\";\n\ntype ImageHeroProps = Omit<HeroProps, \"backgroundImage\"> & {\n backgroundImage: string;\n};\n\nconst ImageHero = ({ backgroundImage, ...props }: ImageHeroProps) => (\n <Hero\n layout=\"full-width\"\n mediaPosition=\"background\"\n alignment=\"center\"\n height=\"large\"\n theme=\"dark\"\n overlay=\"gradient\"\n {...props}\n backgroundImage={backgroundImage}\n />\n);\n\nexport { ImageHero };\nexport type { ImageHeroProps };\n"],"mappings":";;;AAOA,MAAM,aAAa,EAAE,iBAAiB,GAAG,YACvC,iBAAA,GAAA,kBAAA,IAAA,CAACA,aAAAA,MAAD;CACE,QAAO;CACP,eAAc;CACd,WAAU;CACV,QAAO;CACP,OAAM;CACN,SAAQ;CACR,GAAI;CACa;AAClB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HeroProps } from "./hero.types.cjs";
|
|
2
|
+
type ImageHeroProps = Omit<HeroProps, "backgroundImage"> & {
|
|
3
|
+
backgroundImage: string;
|
|
4
|
+
};
|
|
5
|
+
declare const ImageHero: ({ backgroundImage, ...props }: ImageHeroProps) => import("react").JSX.Element;
|
|
6
|
+
export { ImageHero, type ImageHeroProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HeroProps } from "./hero.types.js";
|
|
2
|
+
type ImageHeroProps = Omit<HeroProps, "backgroundImage"> & {
|
|
3
|
+
backgroundImage: string;
|
|
4
|
+
};
|
|
5
|
+
declare const ImageHero: ({ backgroundImage, ...props }: ImageHeroProps) => import("react").JSX.Element;
|
|
6
|
+
export { ImageHero, type ImageHeroProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Hero } from "./hero.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
// src/components/hero/image-hero.tsx
|
|
4
|
+
const ImageHero = ({ backgroundImage, ...props }) => /* @__PURE__ */ jsx(Hero, {
|
|
5
|
+
layout: "full-width",
|
|
6
|
+
mediaPosition: "background",
|
|
7
|
+
alignment: "center",
|
|
8
|
+
height: "large",
|
|
9
|
+
theme: "dark",
|
|
10
|
+
overlay: "gradient",
|
|
11
|
+
...props,
|
|
12
|
+
backgroundImage
|
|
13
|
+
});
|
|
14
|
+
export { ImageHero };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=image-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-hero.js","names":[],"sources":["../../../src/components/hero/image-hero.tsx"],"sourcesContent":["import { Hero } from \"./hero\";\nimport type { HeroProps } from \"./hero.types\";\n\ntype ImageHeroProps = Omit<HeroProps, \"backgroundImage\"> & {\n backgroundImage: string;\n};\n\nconst ImageHero = ({ backgroundImage, ...props }: ImageHeroProps) => (\n <Hero\n layout=\"full-width\"\n mediaPosition=\"background\"\n alignment=\"center\"\n height=\"large\"\n theme=\"dark\"\n overlay=\"gradient\"\n {...props}\n backgroundImage={backgroundImage}\n />\n);\n\nexport { ImageHero };\nexport type { ImageHeroProps };\n"],"mappings":";;;AAOA,MAAM,aAAa,EAAE,iBAAiB,GAAG,YACvC,oBAAC,MAAD;CACE,QAAO;CACP,eAAc;CACd,WAAU;CACV,QAAO;CACP,OAAM;CACN,SAAQ;CACR,GAAI;CACa;AAClB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Hero } from "./hero.cjs";
|
|
2
|
+
import { SplitHero } from "./split-hero.cjs";
|
|
3
|
+
import { CenteredHero } from "./centered-hero.cjs";
|
|
4
|
+
import { FullScreenHero } from "./full-screen-hero.cjs";
|
|
5
|
+
import { VideoHero, VideoHeroProps } from "./video-hero.cjs";
|
|
6
|
+
import { ImageHero, ImageHeroProps } from "./image-hero.cjs";
|
|
7
|
+
import { MinimalHero } from "./minimal-hero.cjs";
|
|
8
|
+
import { EditorialHero } from "./editorial-hero.cjs";
|
|
9
|
+
import { AgencyHero } from "./agency-hero.cjs";
|
|
10
|
+
import { ProductHero } from "./product-hero.cjs";
|
|
11
|
+
import { SaaSHero } from "./saas-hero.cjs";
|
|
12
|
+
import { StoreHero } from "./store-hero.cjs";
|
|
13
|
+
import { RestaurantHero } from "./restaurant-hero.cjs";
|
|
14
|
+
import { AccommodationHero } from "./accommodation-hero.cjs";
|
|
15
|
+
import { PrintShopHero } from "./print-shop-hero.cjs";
|
|
16
|
+
import { DashboardWelcomeHero } from "./dashboard-welcome-hero.cjs";
|
|
17
|
+
import { AppHero } from "./app-hero.cjs";
|
|
18
|
+
import { CampaignHero } from "./campaign-hero.cjs";
|
|
19
|
+
import { ComingSoonHero } from "./coming-soon-hero.cjs";
|
|
20
|
+
import { SearchHero } from "./search-hero.cjs";
|
|
21
|
+
import { HeroAlignment, HeroContentWidth, HeroHeight, HeroLayout, HeroMediaPosition, HeroOverlay, HeroProps, HeroTheme, HeroVideoSource } from "./hero.types.cjs";
|
|
22
|
+
export { AccommodationHero, AgencyHero, AppHero, CampaignHero, CenteredHero, ComingSoonHero, DashboardWelcomeHero, EditorialHero, FullScreenHero, Hero, type HeroAlignment, type HeroContentWidth, type HeroHeight, type HeroLayout, type HeroMediaPosition, type HeroOverlay, type HeroProps, type HeroTheme, type HeroVideoSource, ImageHero, type ImageHeroProps, MinimalHero, PrintShopHero, ProductHero, RestaurantHero, SaaSHero, SearchHero, SplitHero, StoreHero, VideoHero, type VideoHeroProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Hero } from "./hero.js";
|
|
2
|
+
import { SplitHero } from "./split-hero.js";
|
|
3
|
+
import { CenteredHero } from "./centered-hero.js";
|
|
4
|
+
import { FullScreenHero } from "./full-screen-hero.js";
|
|
5
|
+
import { VideoHero, VideoHeroProps } from "./video-hero.js";
|
|
6
|
+
import { ImageHero, ImageHeroProps } from "./image-hero.js";
|
|
7
|
+
import { MinimalHero } from "./minimal-hero.js";
|
|
8
|
+
import { EditorialHero } from "./editorial-hero.js";
|
|
9
|
+
import { AgencyHero } from "./agency-hero.js";
|
|
10
|
+
import { ProductHero } from "./product-hero.js";
|
|
11
|
+
import { SaaSHero } from "./saas-hero.js";
|
|
12
|
+
import { StoreHero } from "./store-hero.js";
|
|
13
|
+
import { RestaurantHero } from "./restaurant-hero.js";
|
|
14
|
+
import { AccommodationHero } from "./accommodation-hero.js";
|
|
15
|
+
import { PrintShopHero } from "./print-shop-hero.js";
|
|
16
|
+
import { DashboardWelcomeHero } from "./dashboard-welcome-hero.js";
|
|
17
|
+
import { AppHero } from "./app-hero.js";
|
|
18
|
+
import { CampaignHero } from "./campaign-hero.js";
|
|
19
|
+
import { ComingSoonHero } from "./coming-soon-hero.js";
|
|
20
|
+
import { SearchHero } from "./search-hero.js";
|
|
21
|
+
import { HeroAlignment, HeroContentWidth, HeroHeight, HeroLayout, HeroMediaPosition, HeroOverlay, HeroProps, HeroTheme, HeroVideoSource } from "./hero.types.js";
|
|
22
|
+
export { AccommodationHero, AgencyHero, AppHero, CampaignHero, CenteredHero, ComingSoonHero, DashboardWelcomeHero, EditorialHero, FullScreenHero, Hero, type HeroAlignment, type HeroContentWidth, type HeroHeight, type HeroLayout, type HeroMediaPosition, type HeroOverlay, type HeroProps, type HeroTheme, type HeroVideoSource, ImageHero, type ImageHeroProps, MinimalHero, PrintShopHero, ProductHero, RestaurantHero, SaaSHero, SearchHero, SplitHero, StoreHero, VideoHero, type VideoHeroProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/hero/minimal-hero.tsx
|
|
2
|
+
const MinimalHero = require("./create-hero-preset.cjs").createHeroPreset({
|
|
3
|
+
layout: "centered",
|
|
4
|
+
alignment: "start",
|
|
5
|
+
height: "auto",
|
|
6
|
+
theme: "light",
|
|
7
|
+
overlay: "none",
|
|
8
|
+
contentWidth: "narrow"
|
|
9
|
+
});
|
|
10
|
+
exports.MinimalHero = MinimalHero;
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=minimal-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minimal-hero.cjs","names":["createHeroPreset"],"sources":["../../../src/components/hero/minimal-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst MinimalHero = createHeroPreset<HeroProps>({\n layout: \"centered\",\n alignment: \"start\",\n height: \"auto\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"narrow\",\n});\n\nexport { MinimalHero };\n"],"mappings":";AAGA,MAAM,c,kCAAcA,CAAAA,CAAAA,iBAA4B;CAC9C,QAAQ;CACR,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createHeroPreset } from "./create-hero-preset.js";
|
|
2
|
+
// src/components/hero/minimal-hero.tsx
|
|
3
|
+
const MinimalHero = createHeroPreset({
|
|
4
|
+
layout: "centered",
|
|
5
|
+
alignment: "start",
|
|
6
|
+
height: "auto",
|
|
7
|
+
theme: "light",
|
|
8
|
+
overlay: "none",
|
|
9
|
+
contentWidth: "narrow"
|
|
10
|
+
});
|
|
11
|
+
export { MinimalHero };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=minimal-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minimal-hero.js","names":[],"sources":["../../../src/components/hero/minimal-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst MinimalHero = createHeroPreset<HeroProps>({\n layout: \"centered\",\n alignment: \"start\",\n height: \"auto\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"narrow\",\n});\n\nexport { MinimalHero };\n"],"mappings":";;AAGA,MAAM,cAAc,iBAA4B;CAC9C,QAAQ;CACR,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/components/hero/print-shop-hero.tsx
|
|
2
|
+
const PrintShopHero = require("./create-hero-preset.cjs").createHeroPreset({
|
|
3
|
+
layout: "split",
|
|
4
|
+
mediaPosition: "right",
|
|
5
|
+
alignment: "start",
|
|
6
|
+
height: "large",
|
|
7
|
+
theme: "light",
|
|
8
|
+
overlay: "none",
|
|
9
|
+
contentWidth: "normal"
|
|
10
|
+
});
|
|
11
|
+
exports.PrintShopHero = PrintShopHero;
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=print-shop-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"print-shop-hero.cjs","names":["createHeroPreset"],"sources":["../../../src/components/hero/print-shop-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst PrintShopHero = createHeroPreset<HeroProps>({\n layout: \"split\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"normal\",\n});\n\nexport { PrintShopHero };\n"],"mappings":";AAGA,MAAM,gB,kCAAgBA,CAAAA,CAAAA,iBAA4B;CAChD,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createHeroPreset } from "./create-hero-preset.js";
|
|
2
|
+
// src/components/hero/print-shop-hero.tsx
|
|
3
|
+
const PrintShopHero = createHeroPreset({
|
|
4
|
+
layout: "split",
|
|
5
|
+
mediaPosition: "right",
|
|
6
|
+
alignment: "start",
|
|
7
|
+
height: "large",
|
|
8
|
+
theme: "light",
|
|
9
|
+
overlay: "none",
|
|
10
|
+
contentWidth: "normal"
|
|
11
|
+
});
|
|
12
|
+
export { PrintShopHero };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=print-shop-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"print-shop-hero.js","names":[],"sources":["../../../src/components/hero/print-shop-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst PrintShopHero = createHeroPreset<HeroProps>({\n layout: \"split\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"normal\",\n});\n\nexport { PrintShopHero };\n"],"mappings":";;AAGA,MAAM,gBAAgB,iBAA4B;CAChD,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/components/hero/product-hero.tsx
|
|
2
|
+
const ProductHero = require("./create-hero-preset.cjs").createHeroPreset({
|
|
3
|
+
layout: "split",
|
|
4
|
+
mediaPosition: "right",
|
|
5
|
+
alignment: "start",
|
|
6
|
+
height: "large",
|
|
7
|
+
theme: "light",
|
|
8
|
+
overlay: "none",
|
|
9
|
+
contentWidth: "normal"
|
|
10
|
+
});
|
|
11
|
+
exports.ProductHero = ProductHero;
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=product-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-hero.cjs","names":["createHeroPreset"],"sources":["../../../src/components/hero/product-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst ProductHero = createHeroPreset<HeroProps>({\n layout: \"split\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"normal\",\n});\n\nexport { ProductHero };\n"],"mappings":";AAGA,MAAM,c,kCAAcA,CAAAA,CAAAA,iBAA4B;CAC9C,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createHeroPreset } from "./create-hero-preset.js";
|
|
2
|
+
// src/components/hero/product-hero.tsx
|
|
3
|
+
const ProductHero = createHeroPreset({
|
|
4
|
+
layout: "split",
|
|
5
|
+
mediaPosition: "right",
|
|
6
|
+
alignment: "start",
|
|
7
|
+
height: "large",
|
|
8
|
+
theme: "light",
|
|
9
|
+
overlay: "none",
|
|
10
|
+
contentWidth: "normal"
|
|
11
|
+
});
|
|
12
|
+
export { ProductHero };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=product-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-hero.js","names":[],"sources":["../../../src/components/hero/product-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst ProductHero = createHeroPreset<HeroProps>({\n layout: \"split\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"normal\",\n});\n\nexport { ProductHero };\n"],"mappings":";;AAGA,MAAM,cAAc,iBAA4B;CAC9C,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/components/hero/restaurant-hero.tsx
|
|
2
|
+
const RestaurantHero = require("./create-hero-preset.cjs").createHeroPreset({
|
|
3
|
+
layout: "full-width",
|
|
4
|
+
mediaPosition: "background",
|
|
5
|
+
alignment: "start",
|
|
6
|
+
height: "large",
|
|
7
|
+
theme: "dark",
|
|
8
|
+
overlay: "gradient",
|
|
9
|
+
contentWidth: "normal"
|
|
10
|
+
});
|
|
11
|
+
exports.RestaurantHero = RestaurantHero;
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=restaurant-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restaurant-hero.cjs","names":["createHeroPreset"],"sources":["../../../src/components/hero/restaurant-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst RestaurantHero = createHeroPreset<HeroProps>({\n layout: \"full-width\",\n mediaPosition: \"background\",\n alignment: \"start\",\n height: \"large\",\n theme: \"dark\",\n overlay: \"gradient\",\n contentWidth: \"normal\",\n});\n\nexport { RestaurantHero };\n"],"mappings":";AAGA,MAAM,iB,kCAAiBA,CAAAA,CAAAA,iBAA4B;CACjD,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createHeroPreset } from "./create-hero-preset.js";
|
|
2
|
+
// src/components/hero/restaurant-hero.tsx
|
|
3
|
+
const RestaurantHero = createHeroPreset({
|
|
4
|
+
layout: "full-width",
|
|
5
|
+
mediaPosition: "background",
|
|
6
|
+
alignment: "start",
|
|
7
|
+
height: "large",
|
|
8
|
+
theme: "dark",
|
|
9
|
+
overlay: "gradient",
|
|
10
|
+
contentWidth: "normal"
|
|
11
|
+
});
|
|
12
|
+
export { RestaurantHero };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=restaurant-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restaurant-hero.js","names":[],"sources":["../../../src/components/hero/restaurant-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst RestaurantHero = createHeroPreset<HeroProps>({\n layout: \"full-width\",\n mediaPosition: \"background\",\n alignment: \"start\",\n height: \"large\",\n theme: \"dark\",\n overlay: \"gradient\",\n contentWidth: \"normal\",\n});\n\nexport { RestaurantHero };\n"],"mappings":";;AAGA,MAAM,iBAAiB,iBAA4B;CACjD,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/components/hero/saas-hero.tsx
|
|
2
|
+
const SaaSHero = require("./create-hero-preset.cjs").createHeroPreset({
|
|
3
|
+
layout: "asymmetric",
|
|
4
|
+
mediaPosition: "right",
|
|
5
|
+
alignment: "start",
|
|
6
|
+
height: "large",
|
|
7
|
+
theme: "light",
|
|
8
|
+
overlay: "none",
|
|
9
|
+
contentWidth: "normal"
|
|
10
|
+
});
|
|
11
|
+
exports.SaaSHero = SaaSHero;
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=saas-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saas-hero.cjs","names":["createHeroPreset"],"sources":["../../../src/components/hero/saas-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst SaaSHero = createHeroPreset<HeroProps>({\n layout: \"asymmetric\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"normal\",\n});\n\nexport { SaaSHero };\n"],"mappings":";AAGA,MAAM,W,kCAAWA,CAAAA,CAAAA,iBAA4B;CAC3C,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createHeroPreset } from "./create-hero-preset.js";
|
|
2
|
+
// src/components/hero/saas-hero.tsx
|
|
3
|
+
const SaaSHero = createHeroPreset({
|
|
4
|
+
layout: "asymmetric",
|
|
5
|
+
mediaPosition: "right",
|
|
6
|
+
alignment: "start",
|
|
7
|
+
height: "large",
|
|
8
|
+
theme: "light",
|
|
9
|
+
overlay: "none",
|
|
10
|
+
contentWidth: "normal"
|
|
11
|
+
});
|
|
12
|
+
export { SaaSHero };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=saas-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saas-hero.js","names":[],"sources":["../../../src/components/hero/saas-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst SaaSHero = createHeroPreset<HeroProps>({\n layout: \"asymmetric\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"normal\",\n});\n\nexport { SaaSHero };\n"],"mappings":";;AAGA,MAAM,WAAW,iBAA4B;CAC3C,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/hero/search-hero.tsx
|
|
2
|
+
const SearchHero = require("./create-hero-preset.cjs").createHeroPreset({
|
|
3
|
+
layout: "centered",
|
|
4
|
+
alignment: "center",
|
|
5
|
+
height: "large",
|
|
6
|
+
theme: "light",
|
|
7
|
+
overlay: "none",
|
|
8
|
+
contentWidth: "wide"
|
|
9
|
+
});
|
|
10
|
+
exports.SearchHero = SearchHero;
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=search-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-hero.cjs","names":["createHeroPreset"],"sources":["../../../src/components/hero/search-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst SearchHero = createHeroPreset<HeroProps>({\n layout: \"centered\",\n alignment: \"center\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"wide\",\n});\n\nexport { SearchHero };\n"],"mappings":";AAGA,MAAM,a,kCAAaA,CAAAA,CAAAA,iBAA4B;CAC7C,QAAQ;CACR,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createHeroPreset } from "./create-hero-preset.js";
|
|
2
|
+
// src/components/hero/search-hero.tsx
|
|
3
|
+
const SearchHero = createHeroPreset({
|
|
4
|
+
layout: "centered",
|
|
5
|
+
alignment: "center",
|
|
6
|
+
height: "large",
|
|
7
|
+
theme: "light",
|
|
8
|
+
overlay: "none",
|
|
9
|
+
contentWidth: "wide"
|
|
10
|
+
});
|
|
11
|
+
export { SearchHero };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=search-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-hero.js","names":[],"sources":["../../../src/components/hero/search-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst SearchHero = createHeroPreset<HeroProps>({\n layout: \"centered\",\n alignment: \"center\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"wide\",\n});\n\nexport { SearchHero };\n"],"mappings":";;AAGA,MAAM,aAAa,iBAA4B;CAC7C,QAAQ;CACR,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/hero/split-hero.tsx
|
|
2
|
+
const SplitHero = require("./create-hero-preset.cjs").createHeroPreset({
|
|
3
|
+
layout: "split",
|
|
4
|
+
mediaPosition: "right",
|
|
5
|
+
alignment: "start",
|
|
6
|
+
height: "auto",
|
|
7
|
+
theme: "light",
|
|
8
|
+
overlay: "none"
|
|
9
|
+
});
|
|
10
|
+
exports.SplitHero = SplitHero;
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=split-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split-hero.cjs","names":["createHeroPreset"],"sources":["../../../src/components/hero/split-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst SplitHero = createHeroPreset<HeroProps>({\n layout: \"split\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"auto\",\n theme: \"light\",\n overlay: \"none\",\n});\n\nexport { SplitHero };\n"],"mappings":";AAGA,MAAM,Y,kCAAYA,CAAAA,CAAAA,iBAA4B;CAC5C,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;AACX,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createHeroPreset } from "./create-hero-preset.js";
|
|
2
|
+
// src/components/hero/split-hero.tsx
|
|
3
|
+
const SplitHero = createHeroPreset({
|
|
4
|
+
layout: "split",
|
|
5
|
+
mediaPosition: "right",
|
|
6
|
+
alignment: "start",
|
|
7
|
+
height: "auto",
|
|
8
|
+
theme: "light",
|
|
9
|
+
overlay: "none"
|
|
10
|
+
});
|
|
11
|
+
export { SplitHero };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=split-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split-hero.js","names":[],"sources":["../../../src/components/hero/split-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst SplitHero = createHeroPreset<HeroProps>({\n layout: \"split\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"auto\",\n theme: \"light\",\n overlay: \"none\",\n});\n\nexport { SplitHero };\n"],"mappings":";;AAGA,MAAM,YAAY,iBAA4B;CAC5C,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;AACX,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/components/hero/store-hero.tsx
|
|
2
|
+
const StoreHero = require("./create-hero-preset.cjs").createHeroPreset({
|
|
3
|
+
layout: "split",
|
|
4
|
+
mediaPosition: "right",
|
|
5
|
+
alignment: "start",
|
|
6
|
+
height: "large",
|
|
7
|
+
theme: "light",
|
|
8
|
+
overlay: "none",
|
|
9
|
+
contentWidth: "normal"
|
|
10
|
+
});
|
|
11
|
+
exports.StoreHero = StoreHero;
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=store-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-hero.cjs","names":["createHeroPreset"],"sources":["../../../src/components/hero/store-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst StoreHero = createHeroPreset<HeroProps>({\n layout: \"split\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"normal\",\n});\n\nexport { StoreHero };\n"],"mappings":";AAGA,MAAM,Y,kCAAYA,CAAAA,CAAAA,iBAA4B;CAC5C,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createHeroPreset } from "./create-hero-preset.js";
|
|
2
|
+
// src/components/hero/store-hero.tsx
|
|
3
|
+
const StoreHero = createHeroPreset({
|
|
4
|
+
layout: "split",
|
|
5
|
+
mediaPosition: "right",
|
|
6
|
+
alignment: "start",
|
|
7
|
+
height: "large",
|
|
8
|
+
theme: "light",
|
|
9
|
+
overlay: "none",
|
|
10
|
+
contentWidth: "normal"
|
|
11
|
+
});
|
|
12
|
+
export { StoreHero };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=store-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-hero.js","names":[],"sources":["../../../src/components/hero/store-hero.tsx"],"sourcesContent":["import { createHeroPreset } from \"./create-hero-preset\";\nimport type { HeroProps } from \"./hero.types\";\n\nconst StoreHero = createHeroPreset<HeroProps>({\n layout: \"split\",\n mediaPosition: \"right\",\n alignment: \"start\",\n height: \"large\",\n theme: \"light\",\n overlay: \"none\",\n contentWidth: \"normal\",\n});\n\nexport { StoreHero };\n"],"mappings":";;AAGA,MAAM,YAAY,iBAA4B;CAC5C,QAAQ;CACR,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,cAAc;AAChB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_hero = require("./hero.cjs");
|
|
2
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
+
// src/components/hero/video-hero.tsx
|
|
4
|
+
const VideoHero = ({ backgroundVideo, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_hero.Hero, {
|
|
5
|
+
layout: "full-width",
|
|
6
|
+
mediaPosition: "background",
|
|
7
|
+
alignment: "center",
|
|
8
|
+
height: "viewport",
|
|
9
|
+
theme: "dark",
|
|
10
|
+
overlay: "gradient",
|
|
11
|
+
...props,
|
|
12
|
+
backgroundVideo
|
|
13
|
+
});
|
|
14
|
+
exports.VideoHero = VideoHero;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=video-hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-hero.cjs","names":["Hero"],"sources":["../../../src/components/hero/video-hero.tsx"],"sourcesContent":["import { Hero } from \"./hero\";\nimport type { HeroProps, HeroVideoSource } from \"./hero.types\";\n\ntype VideoHeroProps = Omit<HeroProps, \"backgroundVideo\"> & {\n backgroundVideo: HeroVideoSource;\n};\n\nconst VideoHero = ({ backgroundVideo, ...props }: VideoHeroProps) => (\n <Hero\n layout=\"full-width\"\n mediaPosition=\"background\"\n alignment=\"center\"\n height=\"viewport\"\n theme=\"dark\"\n overlay=\"gradient\"\n {...props}\n backgroundVideo={backgroundVideo}\n />\n);\n\nexport { VideoHero };\nexport type { VideoHeroProps };\n"],"mappings":";;;AAOA,MAAM,aAAa,EAAE,iBAAiB,GAAG,YACvC,iBAAA,GAAA,kBAAA,IAAA,CAACA,aAAAA,MAAD;CACE,QAAO;CACP,eAAc;CACd,WAAU;CACV,QAAO;CACP,OAAM;CACN,SAAQ;CACR,GAAI;CACa;AAClB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HeroProps, HeroVideoSource } from "./hero.types.cjs";
|
|
2
|
+
type VideoHeroProps = Omit<HeroProps, "backgroundVideo"> & {
|
|
3
|
+
backgroundVideo: HeroVideoSource;
|
|
4
|
+
};
|
|
5
|
+
declare const VideoHero: ({ backgroundVideo, ...props }: VideoHeroProps) => import("react").JSX.Element;
|
|
6
|
+
export { VideoHero, type VideoHeroProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HeroProps, HeroVideoSource } from "./hero.types.js";
|
|
2
|
+
type VideoHeroProps = Omit<HeroProps, "backgroundVideo"> & {
|
|
3
|
+
backgroundVideo: HeroVideoSource;
|
|
4
|
+
};
|
|
5
|
+
declare const VideoHero: ({ backgroundVideo, ...props }: VideoHeroProps) => import("react").JSX.Element;
|
|
6
|
+
export { VideoHero, type VideoHeroProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Hero } from "./hero.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
// src/components/hero/video-hero.tsx
|
|
4
|
+
const VideoHero = ({ backgroundVideo, ...props }) => /* @__PURE__ */ jsx(Hero, {
|
|
5
|
+
layout: "full-width",
|
|
6
|
+
mediaPosition: "background",
|
|
7
|
+
alignment: "center",
|
|
8
|
+
height: "viewport",
|
|
9
|
+
theme: "dark",
|
|
10
|
+
overlay: "gradient",
|
|
11
|
+
...props,
|
|
12
|
+
backgroundVideo
|
|
13
|
+
});
|
|
14
|
+
export { VideoHero };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=video-hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-hero.js","names":[],"sources":["../../../src/components/hero/video-hero.tsx"],"sourcesContent":["import { Hero } from \"./hero\";\nimport type { HeroProps, HeroVideoSource } from \"./hero.types\";\n\ntype VideoHeroProps = Omit<HeroProps, \"backgroundVideo\"> & {\n backgroundVideo: HeroVideoSource;\n};\n\nconst VideoHero = ({ backgroundVideo, ...props }: VideoHeroProps) => (\n <Hero\n layout=\"full-width\"\n mediaPosition=\"background\"\n alignment=\"center\"\n height=\"viewport\"\n theme=\"dark\"\n overlay=\"gradient\"\n {...props}\n backgroundVideo={backgroundVideo}\n />\n);\n\nexport { VideoHero };\nexport type { VideoHeroProps };\n"],"mappings":";;;AAOA,MAAM,aAAa,EAAE,iBAAiB,GAAG,YACvC,oBAAC,MAAD;CACE,QAAO;CACP,eAAc;CACd,WAAU;CACV,QAAO;CACP,OAAM;CACN,SAAQ;CACR,GAAI;CACa;AAClB,CAAA"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_hero = require("./components/hero/hero.cjs");
|
|
3
|
+
const require_split_hero = require("./components/hero/split-hero.cjs");
|
|
4
|
+
const require_centered_hero = require("./components/hero/centered-hero.cjs");
|
|
5
|
+
const require_full_screen_hero = require("./components/hero/full-screen-hero.cjs");
|
|
6
|
+
const require_video_hero = require("./components/hero/video-hero.cjs");
|
|
7
|
+
const require_image_hero = require("./components/hero/image-hero.cjs");
|
|
8
|
+
const require_minimal_hero = require("./components/hero/minimal-hero.cjs");
|
|
9
|
+
const require_editorial_hero = require("./components/hero/editorial-hero.cjs");
|
|
10
|
+
const require_agency_hero = require("./components/hero/agency-hero.cjs");
|
|
11
|
+
const require_product_hero = require("./components/hero/product-hero.cjs");
|
|
12
|
+
const require_saas_hero = require("./components/hero/saas-hero.cjs");
|
|
13
|
+
const require_store_hero = require("./components/hero/store-hero.cjs");
|
|
14
|
+
const require_restaurant_hero = require("./components/hero/restaurant-hero.cjs");
|
|
15
|
+
const require_accommodation_hero = require("./components/hero/accommodation-hero.cjs");
|
|
16
|
+
const require_print_shop_hero = require("./components/hero/print-shop-hero.cjs");
|
|
17
|
+
const require_dashboard_welcome_hero = require("./components/hero/dashboard-welcome-hero.cjs");
|
|
18
|
+
const require_app_hero = require("./components/hero/app-hero.cjs");
|
|
19
|
+
const require_campaign_hero = require("./components/hero/campaign-hero.cjs");
|
|
20
|
+
const require_coming_soon_hero = require("./components/hero/coming-soon-hero.cjs");
|
|
21
|
+
const require_search_hero = require("./components/hero/search-hero.cjs");
|
|
22
|
+
exports.AccommodationHero = require_accommodation_hero.AccommodationHero;
|
|
23
|
+
exports.AgencyHero = require_agency_hero.AgencyHero;
|
|
24
|
+
exports.AppHero = require_app_hero.AppHero;
|
|
25
|
+
exports.CampaignHero = require_campaign_hero.CampaignHero;
|
|
26
|
+
exports.CenteredHero = require_centered_hero.CenteredHero;
|
|
27
|
+
exports.ComingSoonHero = require_coming_soon_hero.ComingSoonHero;
|
|
28
|
+
exports.DashboardWelcomeHero = require_dashboard_welcome_hero.DashboardWelcomeHero;
|
|
29
|
+
exports.EditorialHero = require_editorial_hero.EditorialHero;
|
|
30
|
+
exports.FullScreenHero = require_full_screen_hero.FullScreenHero;
|
|
31
|
+
exports.Hero = require_hero.Hero;
|
|
32
|
+
exports.ImageHero = require_image_hero.ImageHero;
|
|
33
|
+
exports.MinimalHero = require_minimal_hero.MinimalHero;
|
|
34
|
+
exports.PrintShopHero = require_print_shop_hero.PrintShopHero;
|
|
35
|
+
exports.ProductHero = require_product_hero.ProductHero;
|
|
36
|
+
exports.RestaurantHero = require_restaurant_hero.RestaurantHero;
|
|
37
|
+
exports.SaaSHero = require_saas_hero.SaaSHero;
|
|
38
|
+
exports.SearchHero = require_search_hero.SearchHero;
|
|
39
|
+
exports.SplitHero = require_split_hero.SplitHero;
|
|
40
|
+
exports.StoreHero = require_store_hero.StoreHero;
|
|
41
|
+
exports.VideoHero = require_video_hero.VideoHero;
|