@ilo-org/react 0.13.0 → 0.14.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.
Files changed (151) hide show
  1. package/.storybook/main.ts +41 -0
  2. package/.storybook/manager-head.html +92 -0
  3. package/.storybook/manager.ts +6 -0
  4. package/.storybook/preview-head.html +5 -0
  5. package/.storybook/preview.tsx +81 -0
  6. package/.storybook/styles.scss +25 -0
  7. package/.storybook/theme.ts +46 -0
  8. package/.turbo/turbo-build:lib.log +15 -0
  9. package/CHANGELOG.md +26 -0
  10. package/lib/cjs/components/Cards/CardGroup/CardGroup.js +0 -1
  11. package/lib/cjs/components/Cards/CardGroup/index.js +197 -160
  12. package/lib/cjs/components/Cards/FactlistCard/FactListCard.js +0 -1
  13. package/lib/cjs/components/Cards/FactlistCard/index.js +0 -1
  14. package/lib/cjs/components/Cards/TextCard/TextCard.js +1 -1
  15. package/lib/cjs/components/List/List.js +9 -11
  16. package/lib/cjs/components/List/ListItem.js +4 -7
  17. package/lib/cjs/components/List/index.js +1 -2
  18. package/lib/cjs/components/index.js +0 -1
  19. package/lib/cjs/index.js +0 -1
  20. package/lib/esm/components/Cards/CardGroup/CardGroup.js +0 -1
  21. package/lib/esm/components/Cards/CardGroup/index.js +197 -160
  22. package/lib/esm/components/Cards/FactlistCard/FactListCard.js +0 -1
  23. package/lib/esm/components/Cards/FactlistCard/index.js +0 -1
  24. package/lib/esm/components/Cards/TextCard/TextCard.js +1 -1
  25. package/lib/esm/components/List/List.js +10 -12
  26. package/lib/esm/components/List/ListItem.js +4 -7
  27. package/lib/esm/components/List/index.js +1 -2
  28. package/lib/esm/components/index.js +0 -1
  29. package/lib/esm/index.js +0 -1
  30. package/lib/types/react/src/components/List/List.props.d.ts +2 -9
  31. package/lib/types/react/src/components/List/ListItem.props.d.ts +0 -6
  32. package/lib/types/react/src/types/index.d.ts +0 -2
  33. package/package.json +32 -12
  34. package/public/fao-logo.svg +195 -0
  35. package/public/favicon.ico +0 -0
  36. package/public/hero.jpg +0 -0
  37. package/public/ilo-dg.jpg +0 -0
  38. package/public/ilo-headquarters.jpg +0 -0
  39. package/public/large.jpg +0 -0
  40. package/public/media-file-poster.jpg +0 -0
  41. package/public/medium.jpg +0 -0
  42. package/public/react.svg +8 -0
  43. package/public/small.jpg +0 -0
  44. package/public/unhcr-logo.svg +1 -0
  45. package/public/unicef-logo.png +0 -0
  46. package/public/video-example.mp4 +0 -0
  47. package/public/wfp-logo.svg +1 -0
  48. package/public/who-logo.svg +1 -0
  49. package/public/youtube-video-poster.avif +0 -0
  50. package/rollup.config.mjs +2 -0
  51. package/src/__tests__/Accordion.test.tsx +16 -0
  52. package/src/__tests__/Button.test.tsx +60 -0
  53. package/src/__tests__/Callout.test.tsx +43 -0
  54. package/src/__tests__/ContextMenu.test.tsx +19 -0
  55. package/src/__tests__/Dropdown.test.tsx +38 -0
  56. package/src/__tests__/Heading.test.tsx +51 -0
  57. package/src/__tests__/Image.test.tsx +21 -0
  58. package/src/__tests__/LinkList.test.tsx +17 -0
  59. package/src/__tests__/List.test.tsx +25 -0
  60. package/src/__tests__/Loading.test.tsx +33 -0
  61. package/src/__tests__/Notification.test.tsx +39 -0
  62. package/src/__tests__/Pagination.test.tsx +58 -0
  63. package/src/__tests__/Profile.test.tsx +48 -0
  64. package/src/__tests__/ReadMore.test.tsx +43 -0
  65. package/src/__tests__/RichText.test.tsx +16 -0
  66. package/src/__tests__/SearchField.test.tsx +35 -0
  67. package/src/__tests__/TableOfContents.test.tsx +12 -0
  68. package/src/__tests__/Tag.test.tsx +10 -0
  69. package/src/components/Cards/CardGroup/CardGroup.args.ts +205 -166
  70. package/src/components/Cards/TextCard/TextCard.tsx +1 -1
  71. package/src/components/List/List.props.ts +2 -10
  72. package/src/components/List/List.tsx +17 -22
  73. package/src/components/List/ListItem.props.ts +0 -7
  74. package/src/components/List/ListItem.tsx +6 -11
  75. package/src/setup.ts +6 -0
  76. package/src/stories/Accordion/Accordion.stories.tsx +145 -0
  77. package/src/stories/Breadcrumb/Breadcrumb.mdx +17 -0
  78. package/src/stories/Breadcrumb/Breadcrumb.stories.tsx +20 -0
  79. package/src/stories/Button/Button.mdx +94 -0
  80. package/src/stories/Button/Button.stories.tsx +68 -0
  81. package/src/stories/Callout/Callout.mdx +35 -0
  82. package/src/stories/Callout/Callout.stories.tsx +43 -0
  83. package/src/stories/Card/DataCard.stories.tsx +45 -0
  84. package/src/stories/Card/DetailCard.stories.tsx +41 -0
  85. package/src/stories/Card/FactlistCard.stories.tsx +48 -0
  86. package/src/stories/Card/FeatureCard.stories.tsx +56 -0
  87. package/src/stories/Card/MultilinkCard.stories.tsx +48 -0
  88. package/src/stories/Card/PromoCard.stories.tsx +48 -0
  89. package/src/stories/Card/StatCard.stories.tsx +45 -0
  90. package/src/stories/Card/TextCard.stories.tsx +45 -0
  91. package/src/stories/CardGroup/CardGroup.mdx +17 -0
  92. package/src/stories/CardGroup/CardGroup.stories.tsx +50 -0
  93. package/src/stories/Checkbox/Checkbox.stories.tsx +118 -0
  94. package/src/stories/ContextMenu/ContextMenu.stories.tsx +83 -0
  95. package/src/stories/DatePicker/DatePicker.stories.tsx +110 -0
  96. package/src/stories/Dropdown/Dropdown.stories.tsx +145 -0
  97. package/src/stories/Empty/Empty.stories.tsx +53 -0
  98. package/src/stories/Fieldset/Fieldset.stories.tsx +167 -0
  99. package/src/stories/FileUpload/FileUpload.stories.tsx +103 -0
  100. package/src/stories/Footer/Footer.mdx +17 -0
  101. package/src/stories/Footer/Footer.stories.tsx +15 -0
  102. package/src/stories/Form/Form.mdx +58 -0
  103. package/src/stories/Form/Form.stories.tsx +162 -0
  104. package/src/stories/GetStarted.mdx +57 -0
  105. package/src/stories/Heading/Heading.stories.tsx +193 -0
  106. package/src/stories/Hero/Hero.stories.tsx +68 -0
  107. package/src/stories/Image/Image.stories.tsx +50 -0
  108. package/src/stories/Link/Link.stories.tsx +81 -0
  109. package/src/stories/LinkList/LinkList.args.ts +190 -0
  110. package/src/stories/LinkList/LinkList.stories.tsx +60 -0
  111. package/src/stories/List/List.stories.tsx +167 -0
  112. package/src/stories/Loading/Loading.stories.tsx +97 -0
  113. package/src/stories/LocalNav/LocalNav.mdx +17 -0
  114. package/src/stories/LocalNav/LocalNav.stories.tsx +15 -0
  115. package/src/stories/Logo/Logo.stories.tsx +172 -0
  116. package/src/stories/LogoGrid/LogoGrid.stories.tsx +59 -0
  117. package/src/stories/Navigation/Navigation.mdx +17 -0
  118. package/src/stories/Navigation/Navigation.stories.tsx +15 -0
  119. package/src/stories/Notification/Notification.stories.tsx +187 -0
  120. package/src/stories/NumberPicker/NumberPicker.stories.tsx +69 -0
  121. package/src/stories/Pagination/Pagination.stories.tsx +86 -0
  122. package/src/stories/Profile/Profile.stories.tsx +64 -0
  123. package/src/stories/Radio/Radio.stories.tsx +232 -0
  124. package/src/stories/ReadMore/ReadMore.stories.tsx +59 -0
  125. package/src/stories/RichText/RichText.stories.tsx +63 -0
  126. package/src/stories/SearchField/SearchField.stories.tsx +91 -0
  127. package/src/stories/SocialMedia/SocialMedia.stories.tsx +60 -0
  128. package/src/stories/TableOfContents/TableOfContents.stories.tsx +55 -0
  129. package/src/stories/Tabs/Tabs.mdx +17 -0
  130. package/src/stories/Tabs/Tabs.stories.tsx +25 -0
  131. package/src/stories/Tag/Tag.stories.tsx +130 -0
  132. package/src/stories/TextInput/TextInput.stories.tsx +100 -0
  133. package/src/stories/Textarea/Textarea.stories.tsx +147 -0
  134. package/src/stories/Toggle/Toggle.stories.tsx +99 -0
  135. package/src/stories/Tooltip/Tooltip.stories.tsx +82 -0
  136. package/src/stories/Video/Video.stories.tsx +71 -0
  137. package/src/stories/Welcome.stories.mdx +37 -0
  138. package/src/stories/assets/code-brackets.svg +1 -0
  139. package/src/stories/assets/colors.svg +1 -0
  140. package/src/stories/assets/comments.svg +1 -0
  141. package/src/stories/assets/direction.svg +1 -0
  142. package/src/stories/assets/flow.svg +1 -0
  143. package/src/stories/assets/plugin.svg +1 -0
  144. package/src/stories/assets/repo.svg +1 -0
  145. package/src/stories/assets/stackalt.svg +1 -0
  146. package/src/stories/welcome.scss +133 -0
  147. package/src/types/index.ts +0 -2
  148. package/lib/cjs/ListCtx-14aa546f.js +0 -9
  149. package/lib/esm/ListCtx-da435fdf.js +0 -6
  150. package/lib/types/react/src/components/List/ListCtx.d.ts +0 -4
  151. package/src/components/List/ListCtx.ts +0 -7
@@ -3,13 +3,30 @@ import { CardGroupProps } from "./CardGroup.props";
3
3
  export const textCardGroup: CardGroupProps = {
4
4
  cards: [
5
5
  {
6
- title: "Why we need greater social justice",
7
- eyebrow: "Podcast",
6
+ title: "ILO welcomes first global agreement on working conditions",
7
+ eyebrow: "Press release",
8
8
  date: {
9
9
  human: "20 September 2022",
10
10
  unix: "1670389200",
11
11
  },
12
- theme: "light",
12
+ theme: "dark",
13
+ link: "https:/www.ilo.org",
14
+ profile: {
15
+ avatar: "/ilo-dg.jpg",
16
+ description:
17
+ "Gilbert Houngbo is the Director-General of the International Labour Organization",
18
+ name: "Gilbert Houngbo",
19
+ role: "ILO Director-General",
20
+ },
21
+ },
22
+ {
23
+ title: "Renewable energy jobs hit 12.7 million globally",
24
+ eyebrow: "Report",
25
+ date: {
26
+ human: "21 September 2022",
27
+ unix: "1670389200",
28
+ },
29
+ theme: "dark",
13
30
  link: "https:/www.ilo.org",
14
31
  profile: {
15
32
  avatar: "/ilo-dg.jpg",
@@ -20,13 +37,30 @@ export const textCardGroup: CardGroupProps = {
20
37
  },
21
38
  },
22
39
  {
23
- title: "Why we need greater social justice",
40
+ title: "Can digital technology be an equality machine? ",
24
41
  eyebrow: "Podcast",
25
42
  date: {
26
- human: "20 September 2022",
43
+ human: "25 September 2022",
27
44
  unix: "1670389200",
28
45
  },
29
- theme: "light",
46
+ theme: "dark",
47
+ link: "https:/www.ilo.org",
48
+ profile: {
49
+ avatar: "/ilo-dg.jpg",
50
+ description:
51
+ "Gilbert Houngbo is the Director-General of the International Labour Organization",
52
+ name: "Gilbert Houngbo",
53
+ role: "ILO Director-General",
54
+ },
55
+ },
56
+ {
57
+ title: "Why we need greater social justice?",
58
+ eyebrow: "Podcast",
59
+ date: {
60
+ human: "31 September 2022",
61
+ unix: "1670389200",
62
+ },
63
+ theme: "dark",
30
64
  link: "https:/www.ilo.org",
31
65
  profile: {
32
66
  avatar: "/ilo-dg.jpg",
@@ -37,7 +71,7 @@ export const textCardGroup: CardGroupProps = {
37
71
  },
38
72
  },
39
73
  ],
40
- cardCount: "two",
74
+ cardCount: "three",
41
75
  type: "text",
42
76
  cta: {
43
77
  label: "Discover our unique mission",
@@ -48,9 +82,9 @@ export const textCardGroup: CardGroupProps = {
48
82
  const statCardGroup: CardGroupProps = {
49
83
  cards: [
50
84
  {
51
- title: "Global employment growth down by half in 2023",
85
+ title: "Can digital technology be an equality machine?",
52
86
  intro:
53
- "The current global economic slowdown is likely to force more workers to accept lower quality, poorly paid jobs which lack job security and social protection, so accentuating inequalities exacerbated by the COVID-19 crisis.",
87
+ "A toxic combination of mutually-reinforcing crises inflation, debt, food and fuel price rises, geopolitical tensions and conflict, climate change are threatening to increase poverty, inequality and discrimination worldwide.",
54
88
  color: "turquoise",
55
89
  source: {
56
90
  label: "World Employment and Social Outlook: Trends 2023",
@@ -58,7 +92,7 @@ const statCardGroup: CardGroupProps = {
58
92
  },
59
93
  },
60
94
  {
61
- title: "Global employment growth down by half in 2023",
95
+ title: "Renewable energy jobs hit 12.7 million globally",
62
96
  intro:
63
97
  "The current global economic slowdown is likely to force more workers to accept lower quality, poorly paid jobs which lack job security and social protection, so accentuating inequalities exacerbated by the COVID-19 crisis.",
64
98
  color: "turquoise",
@@ -68,9 +102,9 @@ const statCardGroup: CardGroupProps = {
68
102
  },
69
103
  },
70
104
  {
71
- title: "Global employment growth down by half in 2023",
105
+ title: "Global employment growth down by half",
72
106
  intro:
73
- "The current global economic slowdown is likely to force more workers to accept lower quality, poorly paid jobs which lack job security and social protection, so accentuating inequalities exacerbated by the COVID-19 crisis.",
107
+ "A toxic combination of mutually-reinforcing crises inflation, debt, food and fuel price rises, geopolitical tensions and conflict, climate change are threatening to increase poverty, inequality and discrimination worldwide.",
74
108
  color: "turquoise",
75
109
  source: {
76
110
  label: "World Employment and Social Outlook: Trends 2023",
@@ -78,7 +112,8 @@ const statCardGroup: CardGroupProps = {
78
112
  },
79
113
  },
80
114
  {
81
- title: "Global employment growth down by half in 2023",
115
+ title:
116
+ "ILO welcomes first global agreement on working conditions and rights of professional football players",
82
117
  intro:
83
118
  "The current global economic slowdown is likely to force more workers to accept lower quality, poorly paid jobs which lack job security and social protection, so accentuating inequalities exacerbated by the COVID-19 crisis.",
84
119
  color: "turquoise",
@@ -88,7 +123,7 @@ const statCardGroup: CardGroupProps = {
88
123
  },
89
124
  },
90
125
  ],
91
- cardCount: "four",
126
+ cardCount: "three",
92
127
  type: "stat",
93
128
  cta: {
94
129
  label: "Discover our unique mission",
@@ -99,9 +134,8 @@ const statCardGroup: CardGroupProps = {
99
134
  const multilinkCardGroup: CardGroupProps = {
100
135
  cards: [
101
136
  {
102
- title:
103
- "ILO welcomes G7 call to make a just transition to a green economy happen",
104
- eyebrow: "High-level meeting",
137
+ title: "ILO welcomes first global agreement on working conditions",
138
+ eyebrow: "Press release",
105
139
  intro:
106
140
  "At the end of their meeting the G7 Labour Ministers highlighted the urgent need to greater focus on rights and occupational safety and health.",
107
141
  image: "/hero.jpg",
@@ -132,6 +166,66 @@ const multilinkCardGroup: CardGroupProps = {
132
166
  {
133
167
  title:
134
168
  "ILO welcomes G7 call to make a just transition to a green economy happen",
169
+ eyebrow: "Report",
170
+ intro:
171
+ "A toxic combination of mutually-reinforcing crises inflation, debt, food and fuel price rises, geopolitical tensions and conflict.",
172
+ image: "/hero.jpg",
173
+ alignment: "left",
174
+ link: "https:/www.ilo.org",
175
+ linklist: {
176
+ headline: "",
177
+ linkgroup: [
178
+ {
179
+ links: [
180
+ {
181
+ label: "Read the press release",
182
+ url: "https://www.ilo.org",
183
+ },
184
+ {
185
+ label: "See the statement",
186
+ url: "https://www.ilo.org",
187
+ },
188
+ {
189
+ label: "Remarks to G7 Openening Session",
190
+ url: "https://www.ilo.org",
191
+ },
192
+ ],
193
+ },
194
+ ],
195
+ },
196
+ },
197
+ {
198
+ title: "Telangana and Andhra Pradesh launch pre-departure handbook",
199
+ eyebrow: "Podcast",
200
+ intro:
201
+ "At the end of their meeting the G7 Labour Ministers highlighted the urgent need to greater focus on rights and occupational safety and health.",
202
+ image: "/hero.jpg",
203
+ alignment: "left",
204
+ link: "https:/www.ilo.org",
205
+ linklist: {
206
+ headline: "",
207
+ linkgroup: [
208
+ {
209
+ links: [
210
+ {
211
+ label: "Read the press release",
212
+ url: "https://www.ilo.org",
213
+ },
214
+ {
215
+ label: "See the statement",
216
+ url: "https://www.ilo.org",
217
+ },
218
+ {
219
+ label: "Remarks to G7 Openening Session",
220
+ url: "https://www.ilo.org",
221
+ },
222
+ ],
223
+ },
224
+ ],
225
+ },
226
+ },
227
+ {
228
+ title: "Renewable energy jobs hit 12.7 million globally",
135
229
  eyebrow: "High-level meeting",
136
230
  intro:
137
231
  "At the end of their meeting the G7 Labour Ministers highlighted the urgent need to greater focus on rights and occupational safety and health.",
@@ -162,7 +256,7 @@ const multilinkCardGroup: CardGroupProps = {
162
256
  },
163
257
  ],
164
258
  type: "multilink",
165
- cardCount: "two",
259
+ cardCount: "three",
166
260
  cta: {
167
261
  label: "Discover our unique mission",
168
262
  url: "https://www.ilo.org",
@@ -173,9 +267,8 @@ const promoCardGroup: CardGroupProps = {
173
267
  cards: [
174
268
  {
175
269
  size: "standard",
176
- title:
177
- "ILO welcomes G7 call to make a just transition to a green economy happen",
178
- eyebrow: "High-level meeting",
270
+ title: "ILO welcomes first global agreement on working conditions",
271
+ eyebrow: "Report",
179
272
  theme: "dark",
180
273
  cornercut: true,
181
274
  intro:
@@ -188,8 +281,7 @@ const promoCardGroup: CardGroupProps = {
188
281
  },
189
282
  {
190
283
  size: "standard",
191
- title:
192
- "ILO welcomes G7 call to make a just transition to a green economy happen",
284
+ title: "Renewable energy jobs hits 12.7 million globally",
193
285
  eyebrow: "High-level meeting",
194
286
  theme: "dark",
195
287
  cornercut: true,
@@ -203,8 +295,21 @@ const promoCardGroup: CardGroupProps = {
203
295
  },
204
296
  {
205
297
  size: "standard",
206
- title:
207
- "ILO welcomes G7 call to make a just transition to a green economy happen",
298
+ title: "ILO welcomes G7 call to make a just transition",
299
+ eyebrow: "Podcast",
300
+ theme: "dark",
301
+ cornercut: true,
302
+ intro:
303
+ "At the end of their meeting the G7 Labour Ministers highlighted the urgent need to greater focus on rights and occupational safety and health.",
304
+ link: "https:/www.ilo.org",
305
+ cta: {
306
+ label: "Read the press release",
307
+ url: "https://www.ilo.org",
308
+ },
309
+ },
310
+ {
311
+ size: "standard",
312
+ title: "Telangana and Andhra Pradesh launch pre-departure handbook",
208
313
  eyebrow: "High-level meeting",
209
314
  theme: "dark",
210
315
  cornercut: true,
@@ -218,7 +323,7 @@ const promoCardGroup: CardGroupProps = {
218
323
  },
219
324
  ],
220
325
  type: "promo",
221
- cardCount: "two",
326
+ cardCount: "three",
222
327
  cta: {
223
328
  label: "Discover our unique mission",
224
329
  url: "https://www.ilo.org",
@@ -231,12 +336,8 @@ const featureCardGroup: CardGroupProps = {
231
336
  isvideo: false,
232
337
  title:
233
338
  "ILO welcomes G7 call to make a just transition to a green economy happen",
234
- eyebrow: "High-level meeting",
339
+ eyebrow: "Press release",
235
340
  theme: "dark",
236
- date: {
237
- human: "18 March 2023",
238
- unix: "1670389200",
239
- },
240
341
  image: "/small.jpg",
241
342
  link: "https:/www.ilo.org",
242
343
  linklist: {
@@ -255,14 +356,9 @@ const featureCardGroup: CardGroupProps = {
255
356
  },
256
357
  {
257
358
  isvideo: false,
258
- title:
259
- "ILO welcomes G7 call to make a just transition to a green economy happen",
260
- eyebrow: "High-level meeting",
359
+ title: "Renewable energy jobs hit 12.7 million globally",
360
+ eyebrow: "Report",
261
361
  theme: "dark",
262
- date: {
263
- human: "18 March 2023",
264
- unix: "1670389200",
265
- },
266
362
  image: "/small.jpg",
267
363
  link: "https:/www.ilo.org",
268
364
  linklist: {
@@ -282,13 +378,9 @@ const featureCardGroup: CardGroupProps = {
282
378
  {
283
379
  isvideo: false,
284
380
  title:
285
- "ILO welcomes G7 call to make a just transition to a green economy happen",
286
- eyebrow: "High-level meeting",
381
+ "Telangana and Andhra Pradesh launch pre-departure handbook for Indians going to the European Union",
382
+ eyebrow: "Podcast",
287
383
  theme: "dark",
288
- date: {
289
- human: "18 March 2023",
290
- unix: "1670389200",
291
- },
292
384
  image: "/small.jpg",
293
385
  link: "https:/www.ilo.org",
294
386
  linklist: {
@@ -307,14 +399,9 @@ const featureCardGroup: CardGroupProps = {
307
399
  },
308
400
  {
309
401
  isvideo: false,
310
- title:
311
- "ILO welcomes G7 call to make a just transition to a green economy happen",
312
- eyebrow: "High-level meeting",
402
+ title: "Can digital technology be an equality machine?",
403
+ eyebrow: "Podcast",
313
404
  theme: "dark",
314
- date: {
315
- human: "18 March 2023",
316
- unix: "1670389200",
317
- },
318
405
  image: "/small.jpg",
319
406
  link: "https:/www.ilo.org",
320
407
  linklist: {
@@ -345,6 +432,19 @@ const detailCardGroup: CardGroupProps = {
345
432
  {
346
433
  title: "Technical meeting on digitalization in the construction sector",
347
434
  eyebrow: "Meeting",
435
+ intro:
436
+ "The purpose of the meeting will be to discuss opportunities and challenges for the future of work in the construction industry as a vehicle to ensure a human-centred economic recovery.",
437
+ date: {
438
+ human: "12 March 2023",
439
+ unix: "1670389200",
440
+ },
441
+ image: "/medium.jpg",
442
+ link: "https:/www.ilo.org",
443
+ eventdetails: "5:30 - 12:00 CET | Geneva",
444
+ },
445
+ {
446
+ title: "Renewable energy jobs hit 12.7 million globally",
447
+ eyebrow: "Promo",
348
448
  intro:
349
449
  "The purpose of the meeting will be to discuss opportunities and challenges for the future of work in the construction industry as a vehicle to ensure a human-centred economic recovery.",
350
450
  date: {
@@ -353,24 +453,37 @@ const detailCardGroup: CardGroupProps = {
353
453
  },
354
454
  image: "/medium.jpg",
355
455
  link: "https:/www.ilo.org",
356
- eventdetails: "8:30 - 12:00 CET | Geneva",
456
+ eventdetails: "7:30 - 12:00 CET | Geneva",
357
457
  },
358
458
  {
359
- title: "Technical meeting on digitalization in the construction sector",
459
+ title: "Telangana and Andhra Pradesh launch pre-departure handbook",
460
+ eyebrow: "Report",
461
+ intro:
462
+ "The purpose of the meeting will be to discuss opportunities and challenges for the future of work in the construction industry as a vehicle to ensure a human-centred economic recovery.",
463
+ date: {
464
+ human: "22 March 2023",
465
+ unix: "1670389200",
466
+ },
467
+ image: "/medium.jpg",
468
+ link: "https:/www.ilo.org",
469
+ eventdetails: "10:30 - 12:00 CET | Geneva",
470
+ },
471
+ {
472
+ title: "Can digital technology be an equality machine?",
360
473
  eyebrow: "Meeting",
361
474
  intro:
362
475
  "The purpose of the meeting will be to discuss opportunities and challenges for the future of work in the construction industry as a vehicle to ensure a human-centred economic recovery.",
363
476
  date: {
364
- human: "18 March 2023",
477
+ human: "31 March 2023",
365
478
  unix: "1670389200",
366
479
  },
367
480
  image: "/medium.jpg",
368
481
  link: "https:/www.ilo.org",
369
- eventdetails: "8:30 - 12:00 CET | Geneva",
482
+ eventdetails: "11:30 - 12:00 CET | Geneva",
370
483
  },
371
484
  ],
372
485
  type: "detail",
373
- cardCount: "two",
486
+ cardCount: "three",
374
487
  cta: {
375
488
  label: "Discover our unique mission",
376
489
  url: "https://www.ilo.org",
@@ -379,6 +492,15 @@ const detailCardGroup: CardGroupProps = {
379
492
 
380
493
  const factListCardGroup: CardGroupProps = {
381
494
  cards: [
495
+ {
496
+ title: "ILO welcomes first global agreement on working conditions",
497
+ theme: "light",
498
+ list: [
499
+ "The current slowdown means that many workers will have to accept lower quality jobs, often at very low pay.",
500
+ "Global employment growth will be only 1.0 per cent in 2023, less than half the level in 2022.",
501
+ "The labour market deterioration is mainly due to emerging geopolitical tensions and the Ukraine conflict.",
502
+ ],
503
+ },
382
504
  {
383
505
  title:
384
506
  "Economic slowdown likely to force workers to accept lower quality jobs",
@@ -390,8 +512,16 @@ const factListCardGroup: CardGroupProps = {
390
512
  ],
391
513
  },
392
514
  {
393
- title:
394
- "Economic slowdown likely to force workers to accept lower quality jobs",
515
+ title: "Telangana and Andhra Pradesh launch pre-departure handbook",
516
+ theme: "light",
517
+ list: [
518
+ "The current slowdown means that many workers will have to accept lower quality jobs, often at very low pay.",
519
+ "Global employment growth will be only 1.0 per cent in 2023, less than half the level in 2022.",
520
+ "The labour market deterioration is mainly due to emerging geopolitical tensions and the Ukraine conflict.",
521
+ ],
522
+ },
523
+ {
524
+ title: "Renewable energy jobs hit 12.7 million globally",
395
525
  theme: "light",
396
526
  list: [
397
527
  "Global employment growth will be only 1.0 per cent in 2023, less than half the level in 2022.",
@@ -401,7 +531,7 @@ const factListCardGroup: CardGroupProps = {
401
531
  },
402
532
  ],
403
533
  type: "factlist",
404
- cardCount: "two",
534
+ cardCount: "three",
405
535
  cta: {
406
536
  label: "Discover our unique mission",
407
537
  url: "https://www.ilo.org",
@@ -411,83 +541,16 @@ const factListCardGroup: CardGroupProps = {
411
541
  const dataCardGroup: CardGroupProps = {
412
542
  cards: [
413
543
  {
414
- size: "wide",
415
- eyebrow: "Meeting",
416
- image: "/small.jpg",
417
- columns: "two",
418
- dataset: {
419
- content: {
420
- items: [
421
- {
422
- label: "Date",
423
- copy: "18 March 2023",
424
- },
425
- {
426
- label: "Event type",
427
- copy: "Technical meeting of experts",
428
- },
429
- ],
430
- },
431
- files: {
432
- headline: "Files",
433
- items: [
434
- {
435
- label: "Meeting agenda",
436
- url: "https://www.ilo.org",
437
- },
438
- {
439
- label: "Briefing notes",
440
- url: "https://www.ilo.org",
441
- },
442
- {
443
- label: "Practical info",
444
- url: "https://www.ilo.org",
445
- },
446
- ],
447
- },
448
- cta: {
449
- headline: "Read online",
450
- items: [
451
- {
452
- label: "HTML Version",
453
- url: "https://www.ilo.org",
454
- },
455
- {
456
- label: "InfoStories",
457
- url: "https://www.ilo.org/infostories/en-GB",
458
- },
459
- ],
460
- },
461
- links: {
462
- headline: "Languages",
463
- items: [
464
- {
465
- label: "English",
466
- url: "https://www.ilo.org",
467
- },
468
- {
469
- label: "Español",
470
- url: "https://www.ilo.org",
471
- },
472
- {
473
- label: "Français",
474
- url: "https://www.ilo.org",
475
- },
476
- ],
477
- },
478
- },
479
- },
480
- {
481
- size: "wide",
482
- eyebrow: "Meeting",
544
+ size: "standard",
545
+ eyebrow: "Press release",
483
546
  image: "/small.jpg",
484
- columns: "two",
547
+ columns: "one",
485
548
  dataset: {
486
549
  content: {
487
550
  items: [
488
551
  {
489
552
  label: "Date",
490
- copy: "18 March 2023",
553
+ copy: "20 March 2023",
491
554
  },
492
555
  {
493
556
  label: "Event type",
@@ -502,10 +565,6 @@ const dataCardGroup: CardGroupProps = {
502
565
  label: "Meeting agenda",
503
566
  url: "https://www.ilo.org",
504
567
  },
505
- {
506
- label: "Briefing notes",
507
- url: "https://www.ilo.org",
508
- },
509
568
  {
510
569
  label: "Practical info",
511
570
  url: "https://www.ilo.org",
@@ -545,30 +604,26 @@ const dataCardGroup: CardGroupProps = {
545
604
  },
546
605
  },
547
606
  {
548
- size: "wide",
549
- eyebrow: "Meeting",
607
+ size: "standard",
608
+ eyebrow: "Report",
550
609
  image: "/small.jpg",
551
- columns: "two",
610
+ columns: "one",
552
611
  dataset: {
553
612
  content: {
554
613
  items: [
555
614
  {
556
615
  label: "Date",
557
- copy: "18 March 2023",
616
+ copy: "23 March 2023",
558
617
  },
559
618
  {
560
619
  label: "Event type",
561
- copy: "Technical meeting of experts",
620
+ copy: "Casual meeting",
562
621
  },
563
622
  ],
564
623
  },
565
624
  files: {
566
625
  headline: "Files",
567
626
  items: [
568
- {
569
- label: "Meeting agenda",
570
- url: "https://www.ilo.org",
571
- },
572
627
  {
573
628
  label: "Briefing notes",
574
629
  url: "https://www.ilo.org",
@@ -595,10 +650,6 @@ const dataCardGroup: CardGroupProps = {
595
650
  links: {
596
651
  headline: "Languages",
597
652
  items: [
598
- {
599
- label: "English",
600
- url: "https://www.ilo.org",
601
- },
602
653
  {
603
654
  label: "Español",
604
655
  url: "https://www.ilo.org",
@@ -612,16 +663,16 @@ const dataCardGroup: CardGroupProps = {
612
663
  },
613
664
  },
614
665
  {
615
- size: "wide",
666
+ size: "standard",
616
667
  eyebrow: "Meeting",
617
668
  image: "/small.jpg",
618
- columns: "two",
669
+ columns: "one",
619
670
  dataset: {
620
671
  content: {
621
672
  items: [
622
673
  {
623
674
  label: "Date",
624
- copy: "18 March 2023",
675
+ copy: "24 March 2023",
625
676
  },
626
677
  {
627
678
  label: "Event type",
@@ -632,14 +683,6 @@ const dataCardGroup: CardGroupProps = {
632
683
  files: {
633
684
  headline: "Files",
634
685
  items: [
635
- {
636
- label: "Meeting agenda",
637
- url: "https://www.ilo.org",
638
- },
639
- {
640
- label: "Briefing notes",
641
- url: "https://www.ilo.org",
642
- },
643
686
  {
644
687
  label: "Practical info",
645
688
  url: "https://www.ilo.org",
@@ -670,25 +713,21 @@ const dataCardGroup: CardGroupProps = {
670
713
  label: "Español",
671
714
  url: "https://www.ilo.org",
672
715
  },
673
- {
674
- label: "Français",
675
- url: "https://www.ilo.org",
676
- },
677
716
  ],
678
717
  },
679
718
  },
680
719
  },
681
720
  {
682
- size: "wide",
721
+ size: "standard",
683
722
  eyebrow: "Meeting",
684
723
  image: "/small.jpg",
685
- columns: "two",
724
+ columns: "one",
686
725
  dataset: {
687
726
  content: {
688
727
  items: [
689
728
  {
690
729
  label: "Date",
691
- copy: "18 March 2023",
730
+ copy: "29 March 2023",
692
731
  },
693
732
  {
694
733
  label: "Event type",
@@ -746,7 +785,7 @@ const dataCardGroup: CardGroupProps = {
746
785
  },
747
786
  },
748
787
  ],
749
- cardCount: "four",
788
+ cardCount: "three",
750
789
  type: "data",
751
790
  cta: {
752
791
  label: "Discover our unique mission",
@@ -49,7 +49,7 @@ const TextCard: FC<TextCardProps> = ({
49
49
  link={profile.link}
50
50
  name={profile.name}
51
51
  role={profile.role}
52
- className={`${prefix}--profile--contents--${theme}`}
52
+ className={`${prefix}--profile__theme__${theme}`}
53
53
  />
54
54
  )}
55
55
  </div>
@@ -1,5 +1,4 @@
1
1
  import { ReactElement } from "react";
2
- import { HeadingLevel, ListAlignment, ListOrder } from "../../types";
3
2
  import { ListItemProps } from "./ListItem.props";
4
3
 
5
4
  export interface ListProps {
@@ -11,12 +10,12 @@ export interface ListProps {
11
10
  /**
12
11
  * Declare ordered, unordered or unstyled
13
12
  */
14
- ordered?: ListOrder;
13
+ ordered?: "unordered" | "ordered" | "unstyled";
15
14
 
16
15
  /**
17
16
  * Declare horizontal or default
18
17
  */
19
- alignment?: ListAlignment;
18
+ alignment?: "default" | "horizontal";
20
19
 
21
20
  /**
22
21
  * Specify an optional title
@@ -28,10 +27,3 @@ export interface ListProps {
28
27
  */
29
28
  className?: string;
30
29
  }
31
-
32
- export interface ListContextProps {
33
- activeItems: string[];
34
- alignment?: ListAlignment;
35
- ordered?: ListOrder;
36
- headingLevel?: HeadingLevel;
37
- }