foundry-component-library 0.2.40 → 0.2.42
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.js +88 -0
- package/lib/components/Header/index.tsx +1 -1
- package/lib/components/Hero/Video.tsx +10 -0
- package/lib/components/LargeText/styles.module.scss +1 -1
- package/lib/components/ServiceHubsTeaserEffects/index.tsx +2 -1
- package/lib/components/VideoTeaser/index.tsx +10 -3
- package/lib/components/VideoTeaser/styles.module.scss +0 -14
- package/package.json +1 -1
package/dist/index.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { default as a } from "./components/AgencyNumbers/index.js";
|
|
2
|
+
import { default as r } from "./components/Awards/index.js";
|
|
3
|
+
import { default as s } from "./components/Capabilities/index.js";
|
|
4
|
+
import { default as l } from "./components/case/Content/index.js";
|
|
5
|
+
import { default as d } from "./components/case/Top/index.js";
|
|
6
|
+
import { default as x } from "./components/case/Other/index.js";
|
|
7
|
+
import { default as i } from "./components/cases/Items/index.js";
|
|
8
|
+
import { default as T } from "./components/cases/Top/index.js";
|
|
9
|
+
import { default as S } from "./components/cases/Pagination/index.js";
|
|
10
|
+
import { default as b } from "./components/CaseStudyTeaser/index.js";
|
|
11
|
+
import { default as H } from "./components/contact/Accounts/index.js";
|
|
12
|
+
import { default as O } from "./components/contact/Contacts/index.js";
|
|
13
|
+
import { default as k } from "./components/contact/Offices/index.js";
|
|
14
|
+
import { default as y } from "./components/contact/OfficesSection/index.js";
|
|
15
|
+
import { default as N } from "./components/ContactButton/index.js";
|
|
16
|
+
import { default as B } from "./components/ContactTeaser/index.js";
|
|
17
|
+
import { default as M } from "./components/Container/index.js";
|
|
18
|
+
import { default as E } from "./components/DoubleTiles/index.js";
|
|
19
|
+
import { default as G } from "./components/Footer/index.js";
|
|
20
|
+
import { default as V } from "./components/Header/index.js";
|
|
21
|
+
import { default as q } from "./components/Hero/index.js";
|
|
22
|
+
import { default as J } from "./components/HubsAccordion/index.js";
|
|
23
|
+
import { default as R } from "./components/ImageTitle/index.js";
|
|
24
|
+
import { default as W } from "./components/LargeText/index.js";
|
|
25
|
+
import { default as Y } from "./components/LogoSection/index.js";
|
|
26
|
+
import { default as _ } from "./components/Management/index.js";
|
|
27
|
+
import { default as ee } from "./components/MarketingStats/index.js";
|
|
28
|
+
import { default as ae } from "./components/news/Posts/index.js";
|
|
29
|
+
import { default as re } from "./components/NewsTeaser/index.js";
|
|
30
|
+
import { default as se } from "./components/OfficesTeaser/index.js";
|
|
31
|
+
import { default as le } from "./components/PartnerNetwork/index.js";
|
|
32
|
+
import { default as de } from "./components/QuoteSection/index.js";
|
|
33
|
+
import { default as xe } from "./components/ServiceHubsTeaser/index.js";
|
|
34
|
+
import { default as ie } from "./components/ServiceHubsTeaserEffects/index.js";
|
|
35
|
+
import { default as Te } from "./components/single/Content/index.js";
|
|
36
|
+
import { default as Se } from "./components/single/Top/index.js";
|
|
37
|
+
import { default as be } from "./components/TeamBenefits/index.js";
|
|
38
|
+
import { default as He } from "./components/TeamPhotos/index.js";
|
|
39
|
+
import { default as Oe } from "./components/TextSection/index.js";
|
|
40
|
+
import { default as ke } from "./components/Tiles/index.js";
|
|
41
|
+
import { default as ye } from "./components/StickyTiles/index.js";
|
|
42
|
+
import { default as Ne } from "./components/VideoTeaser/index.js";
|
|
43
|
+
import { default as Be } from "./components/GetInTouch/index.js";
|
|
44
|
+
export {
|
|
45
|
+
H as Accounts,
|
|
46
|
+
a as AgencyNumbers,
|
|
47
|
+
r as Awards,
|
|
48
|
+
s as Capabilities,
|
|
49
|
+
l as CaseContent,
|
|
50
|
+
x as CaseOther,
|
|
51
|
+
b as CaseStudyTeaser,
|
|
52
|
+
d as CaseTop,
|
|
53
|
+
i as CasesItems,
|
|
54
|
+
S as CasesPagination,
|
|
55
|
+
T as CasesTop,
|
|
56
|
+
N as ContactButton,
|
|
57
|
+
B as ContactTeaser,
|
|
58
|
+
O as Contacts,
|
|
59
|
+
M as Container,
|
|
60
|
+
E as DoubleTiles,
|
|
61
|
+
G as Footer,
|
|
62
|
+
Be as GetInTouch,
|
|
63
|
+
V as Header,
|
|
64
|
+
q as Hero,
|
|
65
|
+
J as HubsAccordion,
|
|
66
|
+
R as ImageTitle,
|
|
67
|
+
W as LargeText,
|
|
68
|
+
Y as LogoSection,
|
|
69
|
+
_ as Management,
|
|
70
|
+
ee as MarketingStats,
|
|
71
|
+
re as NewsTeaser,
|
|
72
|
+
k as Offices,
|
|
73
|
+
y as OfficesSection,
|
|
74
|
+
se as OfficesTeaser,
|
|
75
|
+
le as PartnerNetwork,
|
|
76
|
+
Te as PostContent,
|
|
77
|
+
Se as PostTop,
|
|
78
|
+
ae as Posts,
|
|
79
|
+
de as QuoteSection,
|
|
80
|
+
xe as ServiceHubsTeaser,
|
|
81
|
+
ie as ServiceHubsTeaserEffects,
|
|
82
|
+
ye as StickyTiles,
|
|
83
|
+
be as TeamBenefits,
|
|
84
|
+
He as TeamPhotos,
|
|
85
|
+
Oe as TextSection,
|
|
86
|
+
ke as Tiles,
|
|
87
|
+
Ne as VideoTeaser
|
|
88
|
+
};
|
|
@@ -34,8 +34,18 @@ const Video = ({ url }: { url: string }) => {
|
|
|
34
34
|
loop
|
|
35
35
|
muted
|
|
36
36
|
playsinline
|
|
37
|
+
config={{
|
|
38
|
+
file: {
|
|
39
|
+
attributes: {
|
|
40
|
+
playsInline: true,
|
|
41
|
+
webkitPlaysInline: true,
|
|
42
|
+
muted: true,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
}}
|
|
37
46
|
/>
|
|
38
47
|
)}
|
|
48
|
+
asd
|
|
39
49
|
</div>
|
|
40
50
|
);
|
|
41
51
|
};
|
|
@@ -50,7 +50,8 @@ const ServiceHubsTeaserEffects = ({
|
|
|
50
50
|
<Link
|
|
51
51
|
href={tile.uri}
|
|
52
52
|
className={styles.tileWrapper}
|
|
53
|
-
key={tile.id}
|
|
53
|
+
key={tile.id}
|
|
54
|
+
aria-label={tile.title}>
|
|
54
55
|
<div className={`${styles.tile} ${styles[background]}`}>
|
|
55
56
|
{i === 0 && <TileGlass />}
|
|
56
57
|
{i === 1 && <TileFluid />}
|
|
@@ -33,7 +33,7 @@ function VideoTeaser({ url }: { url: string }) {
|
|
|
33
33
|
className={`${styles.wrapper} ${url ? styles.playCursor : ""} ${
|
|
34
34
|
playing ? styles.playing : ""
|
|
35
35
|
}`}>
|
|
36
|
-
<button className={styles.btnMute} onClick={() => setIsMuted(!isMuted)}>
|
|
36
|
+
<button className={styles.btnMute} onClick={() => setIsMuted(!isMuted)} aria-label={isMuted ? "Unmute video" : "Mute video"}>
|
|
37
37
|
{isMuted ? <Muted /> : <Mute />}
|
|
38
38
|
</button>
|
|
39
39
|
<div className={styles.video} onClick={handleClick}>
|
|
@@ -50,12 +50,19 @@ function VideoTeaser({ url }: { url: string }) {
|
|
|
50
50
|
muted={isMuted}
|
|
51
51
|
loop={true}
|
|
52
52
|
config={{
|
|
53
|
-
file: {
|
|
53
|
+
file: {
|
|
54
|
+
attributes: {
|
|
55
|
+
playsInline: true,
|
|
56
|
+
webkitPlaysInline: true,
|
|
57
|
+
muted: true,
|
|
58
|
+
poster: "/video-poster.jpg",
|
|
59
|
+
fetchpriority: "high",
|
|
60
|
+
},
|
|
61
|
+
},
|
|
54
62
|
}}
|
|
55
63
|
/>
|
|
56
64
|
)}
|
|
57
65
|
</div>
|
|
58
|
-
<div className={styles.overlayMobile} />
|
|
59
66
|
</div>
|
|
60
67
|
</>
|
|
61
68
|
);
|
|
@@ -133,17 +133,3 @@
|
|
|
133
133
|
transform: translate(34.5%, 39.5%);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
.overlayMobile {
|
|
138
|
-
position: absolute;
|
|
139
|
-
top: 0;
|
|
140
|
-
left: 0;
|
|
141
|
-
width: 100%;
|
|
142
|
-
height: 100%;
|
|
143
|
-
z-index: 2;
|
|
144
|
-
display: none;
|
|
145
|
-
|
|
146
|
-
@media #{$QUERY-sm} {
|
|
147
|
-
display: block;
|
|
148
|
-
}
|
|
149
|
-
}
|