foundry-component-library 0.2.4 → 0.2.6

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.
Files changed (40) hide show
  1. package/lib/components/CaseStudyTeaser/styles.module.scss +1 -1
  2. package/lib/components/ContactTeaser/index.tsx +52 -15
  3. package/lib/components/ContactTeaser/styles.module.scss +23 -0
  4. package/lib/components/Container/styles.module.scss +1 -1
  5. package/lib/components/Footer/index.tsx +9 -3
  6. package/lib/components/Footer/styles.module.scss +6 -3
  7. package/lib/components/Header/index.tsx +8 -3
  8. package/lib/components/Header/styles.module.scss +5 -4
  9. package/lib/components/Hero/Video.tsx +43 -0
  10. package/lib/components/Hero/index.tsx +28 -19
  11. package/lib/components/Hero/styles.module.scss +12 -0
  12. package/lib/components/HubsAccordion/Hub.tsx +98 -82
  13. package/lib/components/HubsAccordion/styles.module.scss +4 -10
  14. package/lib/components/QuoteSection/index.tsx +27 -7
  15. package/lib/components/QuoteSection/styles.module.scss +13 -2
  16. package/lib/components/ServiceHubsTeaser/Tile.tsx +3 -21
  17. package/lib/components/ServiceHubsTeaser/index.tsx +38 -9
  18. package/lib/components/ServiceHubsTeaser/styles.module.scss +6 -0
  19. package/lib/components/TeamPhotos/Item.tsx +2 -2
  20. package/lib/components/TeamPhotos/styles.module.scss +2 -1
  21. package/lib/components/TextSection/index.tsx +5 -9
  22. package/lib/components/Tiles/Tile.tsx +2 -19
  23. package/lib/components/VideoTeaser/index.tsx +31 -83
  24. package/lib/components/VideoTeaser/styles.module.scss +3 -11
  25. package/lib/components/case/Content/styles.module.scss +7 -7
  26. package/lib/components/cases/Pagination/index.tsx +3 -5
  27. package/lib/queries/getAboutPage.ts +6 -0
  28. package/lib/queries/getCaseById.ts +3 -0
  29. package/lib/queries/getCaseBySlug.ts +3 -0
  30. package/lib/queries/getCasesPage.ts +3 -0
  31. package/lib/queries/getContactPage.ts +6 -0
  32. package/lib/queries/getHomePage.ts +6 -0
  33. package/lib/queries/getHubBySlug.ts +6 -0
  34. package/lib/queries/getHubsPage.ts +3 -0
  35. package/lib/queries/getNewsPage.ts +3 -0
  36. package/lib/queries/getPeoplePage.ts +6 -0
  37. package/lib/queries/getPerformanceHubPage.ts +6 -0
  38. package/lib/queries/getPostBySlug.ts +3 -0
  39. package/lib/types/index.ts +3 -0
  40. package/package.json +1 -1
@@ -78,6 +78,9 @@ type HomePage = {
78
78
  posts: PostPreview[];
79
79
  contactPage: {
80
80
  customFieldsContact: {
81
+ facebook: string;
82
+ instagram: string;
83
+ linkedin: string;
81
84
  berlinImage?: {
82
85
  sourceUrl: string;
83
86
  };
@@ -216,6 +219,9 @@ export default async function getHomePage({
216
219
  }
217
220
  contactPage: page(id: "${contactPage}", idType: URI) {
218
221
  customFieldsContact {
222
+ facebook
223
+ instagram
224
+ linkedin
219
225
  berlinImage {
220
226
  sourceUrl
221
227
  }
@@ -45,6 +45,9 @@ export default async function getHubBySlug({
45
45
  mainimage {
46
46
  sourceUrl
47
47
  }
48
+ mainvideo{
49
+ mediaItemUrl
50
+ }
48
51
  relatedWork {
49
52
  ... on Case {
50
53
  title
@@ -84,6 +87,9 @@ export default async function getHubBySlug({
84
87
  }
85
88
  contactPage: page(id: "${contactPage}", idType: URI) {
86
89
  customFieldsContact {
90
+ facebook
91
+ instagram
92
+ linkedin
87
93
  berlinImage {
88
94
  sourceUrl
89
95
  }
@@ -165,6 +165,9 @@ export default async function getCasesPage(
165
165
  }
166
166
  contactPage: page(id: "${contactPage}", idType: URI) {
167
167
  customFieldsContact {
168
+ facebook
169
+ instagram
170
+ linkedin
168
171
  berlinImage {
169
172
  sourceUrl
170
173
  }
@@ -119,6 +119,9 @@ export default async function getNewsPage(options: Params): Promise<{
119
119
  }
120
120
  contactPage: page(id: "${contactPage}", idType: URI) {
121
121
  customFieldsContact {
122
+ facebook
123
+ instagram
124
+ linkedin
122
125
  berlinImage {
123
126
  sourceUrl
124
127
  }
@@ -40,6 +40,9 @@ type PeoplePage = {
40
40
  };
41
41
  contactPage: {
42
42
  customFieldsContact: {
43
+ facebook: string;
44
+ instagram: string;
45
+ linkedin: string;
43
46
  berlinImage?: {
44
47
  sourceUrl: string;
45
48
  };
@@ -123,6 +126,9 @@ export default async function getContactPage({
123
126
  }
124
127
  contactPage: page(id: "${contactPage}", idType: URI) {
125
128
  customFieldsContact {
129
+ facebook
130
+ instagram
131
+ linkedin
126
132
  berlinImage {
127
133
  sourceUrl
128
134
  }
@@ -50,6 +50,9 @@ type PerformancePage = {
50
50
  };
51
51
  contactPage: {
52
52
  customFieldsContact: {
53
+ facebook: string;
54
+ instagram: string;
55
+ linkedin: string;
53
56
  berlinImage?: {
54
57
  sourceUrl: string;
55
58
  };
@@ -128,6 +131,9 @@ export default async function getPerformanceHubPage(): Promise<PerformancePage>
128
131
  }
129
132
  contactPage: page(id: "contact", idType: URI) {
130
133
  customFieldsContact {
134
+ facebook
135
+ instagram
136
+ linkedin
131
137
  berlinImage {
132
138
  sourceUrl
133
139
  }
@@ -104,6 +104,9 @@ export default async function getPostBySlug({
104
104
  }
105
105
  contactPage: page(id: "${contactPage}", idType: URI) {
106
106
  customFieldsContact {
107
+ facebook
108
+ instagram
109
+ linkedin
107
110
  berlinImage {
108
111
  sourceUrl
109
112
  }
@@ -319,6 +319,9 @@ export type Hub = {
319
319
  mainimage: {
320
320
  sourceUrl: string;
321
321
  };
322
+ mainvideo: {
323
+ mediaItemUrl: string;
324
+ };
322
325
  caption: string;
323
326
  heading: string;
324
327
  subheading: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foundry-component-library",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",