@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.
- package/.storybook/main.ts +41 -0
- package/.storybook/manager-head.html +92 -0
- package/.storybook/manager.ts +6 -0
- package/.storybook/preview-head.html +5 -0
- package/.storybook/preview.tsx +81 -0
- package/.storybook/styles.scss +25 -0
- package/.storybook/theme.ts +46 -0
- package/.turbo/turbo-build:lib.log +15 -0
- package/CHANGELOG.md +26 -0
- package/lib/cjs/components/Cards/CardGroup/CardGroup.js +0 -1
- package/lib/cjs/components/Cards/CardGroup/index.js +197 -160
- package/lib/cjs/components/Cards/FactlistCard/FactListCard.js +0 -1
- package/lib/cjs/components/Cards/FactlistCard/index.js +0 -1
- package/lib/cjs/components/Cards/TextCard/TextCard.js +1 -1
- package/lib/cjs/components/List/List.js +9 -11
- package/lib/cjs/components/List/ListItem.js +4 -7
- package/lib/cjs/components/List/index.js +1 -2
- package/lib/cjs/components/index.js +0 -1
- package/lib/cjs/index.js +0 -1
- package/lib/esm/components/Cards/CardGroup/CardGroup.js +0 -1
- package/lib/esm/components/Cards/CardGroup/index.js +197 -160
- package/lib/esm/components/Cards/FactlistCard/FactListCard.js +0 -1
- package/lib/esm/components/Cards/FactlistCard/index.js +0 -1
- package/lib/esm/components/Cards/TextCard/TextCard.js +1 -1
- package/lib/esm/components/List/List.js +10 -12
- package/lib/esm/components/List/ListItem.js +4 -7
- package/lib/esm/components/List/index.js +1 -2
- package/lib/esm/components/index.js +0 -1
- package/lib/esm/index.js +0 -1
- package/lib/types/react/src/components/List/List.props.d.ts +2 -9
- package/lib/types/react/src/components/List/ListItem.props.d.ts +0 -6
- package/lib/types/react/src/types/index.d.ts +0 -2
- package/package.json +32 -12
- package/public/fao-logo.svg +195 -0
- package/public/favicon.ico +0 -0
- package/public/hero.jpg +0 -0
- package/public/ilo-dg.jpg +0 -0
- package/public/ilo-headquarters.jpg +0 -0
- package/public/large.jpg +0 -0
- package/public/media-file-poster.jpg +0 -0
- package/public/medium.jpg +0 -0
- package/public/react.svg +8 -0
- package/public/small.jpg +0 -0
- package/public/unhcr-logo.svg +1 -0
- package/public/unicef-logo.png +0 -0
- package/public/video-example.mp4 +0 -0
- package/public/wfp-logo.svg +1 -0
- package/public/who-logo.svg +1 -0
- package/public/youtube-video-poster.avif +0 -0
- package/rollup.config.mjs +2 -0
- package/src/__tests__/Accordion.test.tsx +16 -0
- package/src/__tests__/Button.test.tsx +60 -0
- package/src/__tests__/Callout.test.tsx +43 -0
- package/src/__tests__/ContextMenu.test.tsx +19 -0
- package/src/__tests__/Dropdown.test.tsx +38 -0
- package/src/__tests__/Heading.test.tsx +51 -0
- package/src/__tests__/Image.test.tsx +21 -0
- package/src/__tests__/LinkList.test.tsx +17 -0
- package/src/__tests__/List.test.tsx +25 -0
- package/src/__tests__/Loading.test.tsx +33 -0
- package/src/__tests__/Notification.test.tsx +39 -0
- package/src/__tests__/Pagination.test.tsx +58 -0
- package/src/__tests__/Profile.test.tsx +48 -0
- package/src/__tests__/ReadMore.test.tsx +43 -0
- package/src/__tests__/RichText.test.tsx +16 -0
- package/src/__tests__/SearchField.test.tsx +35 -0
- package/src/__tests__/TableOfContents.test.tsx +12 -0
- package/src/__tests__/Tag.test.tsx +10 -0
- package/src/components/Cards/CardGroup/CardGroup.args.ts +205 -166
- package/src/components/Cards/TextCard/TextCard.tsx +1 -1
- package/src/components/List/List.props.ts +2 -10
- package/src/components/List/List.tsx +17 -22
- package/src/components/List/ListItem.props.ts +0 -7
- package/src/components/List/ListItem.tsx +6 -11
- package/src/setup.ts +6 -0
- package/src/stories/Accordion/Accordion.stories.tsx +145 -0
- package/src/stories/Breadcrumb/Breadcrumb.mdx +17 -0
- package/src/stories/Breadcrumb/Breadcrumb.stories.tsx +20 -0
- package/src/stories/Button/Button.mdx +94 -0
- package/src/stories/Button/Button.stories.tsx +68 -0
- package/src/stories/Callout/Callout.mdx +35 -0
- package/src/stories/Callout/Callout.stories.tsx +43 -0
- package/src/stories/Card/DataCard.stories.tsx +45 -0
- package/src/stories/Card/DetailCard.stories.tsx +41 -0
- package/src/stories/Card/FactlistCard.stories.tsx +48 -0
- package/src/stories/Card/FeatureCard.stories.tsx +56 -0
- package/src/stories/Card/MultilinkCard.stories.tsx +48 -0
- package/src/stories/Card/PromoCard.stories.tsx +48 -0
- package/src/stories/Card/StatCard.stories.tsx +45 -0
- package/src/stories/Card/TextCard.stories.tsx +45 -0
- package/src/stories/CardGroup/CardGroup.mdx +17 -0
- package/src/stories/CardGroup/CardGroup.stories.tsx +50 -0
- package/src/stories/Checkbox/Checkbox.stories.tsx +118 -0
- package/src/stories/ContextMenu/ContextMenu.stories.tsx +83 -0
- package/src/stories/DatePicker/DatePicker.stories.tsx +110 -0
- package/src/stories/Dropdown/Dropdown.stories.tsx +145 -0
- package/src/stories/Empty/Empty.stories.tsx +53 -0
- package/src/stories/Fieldset/Fieldset.stories.tsx +167 -0
- package/src/stories/FileUpload/FileUpload.stories.tsx +103 -0
- package/src/stories/Footer/Footer.mdx +17 -0
- package/src/stories/Footer/Footer.stories.tsx +15 -0
- package/src/stories/Form/Form.mdx +58 -0
- package/src/stories/Form/Form.stories.tsx +162 -0
- package/src/stories/GetStarted.mdx +57 -0
- package/src/stories/Heading/Heading.stories.tsx +193 -0
- package/src/stories/Hero/Hero.stories.tsx +68 -0
- package/src/stories/Image/Image.stories.tsx +50 -0
- package/src/stories/Link/Link.stories.tsx +81 -0
- package/src/stories/LinkList/LinkList.args.ts +190 -0
- package/src/stories/LinkList/LinkList.stories.tsx +60 -0
- package/src/stories/List/List.stories.tsx +167 -0
- package/src/stories/Loading/Loading.stories.tsx +97 -0
- package/src/stories/LocalNav/LocalNav.mdx +17 -0
- package/src/stories/LocalNav/LocalNav.stories.tsx +15 -0
- package/src/stories/Logo/Logo.stories.tsx +172 -0
- package/src/stories/LogoGrid/LogoGrid.stories.tsx +59 -0
- package/src/stories/Navigation/Navigation.mdx +17 -0
- package/src/stories/Navigation/Navigation.stories.tsx +15 -0
- package/src/stories/Notification/Notification.stories.tsx +187 -0
- package/src/stories/NumberPicker/NumberPicker.stories.tsx +69 -0
- package/src/stories/Pagination/Pagination.stories.tsx +86 -0
- package/src/stories/Profile/Profile.stories.tsx +64 -0
- package/src/stories/Radio/Radio.stories.tsx +232 -0
- package/src/stories/ReadMore/ReadMore.stories.tsx +59 -0
- package/src/stories/RichText/RichText.stories.tsx +63 -0
- package/src/stories/SearchField/SearchField.stories.tsx +91 -0
- package/src/stories/SocialMedia/SocialMedia.stories.tsx +60 -0
- package/src/stories/TableOfContents/TableOfContents.stories.tsx +55 -0
- package/src/stories/Tabs/Tabs.mdx +17 -0
- package/src/stories/Tabs/Tabs.stories.tsx +25 -0
- package/src/stories/Tag/Tag.stories.tsx +130 -0
- package/src/stories/TextInput/TextInput.stories.tsx +100 -0
- package/src/stories/Textarea/Textarea.stories.tsx +147 -0
- package/src/stories/Toggle/Toggle.stories.tsx +99 -0
- package/src/stories/Tooltip/Tooltip.stories.tsx +82 -0
- package/src/stories/Video/Video.stories.tsx +71 -0
- package/src/stories/Welcome.stories.mdx +37 -0
- package/src/stories/assets/code-brackets.svg +1 -0
- package/src/stories/assets/colors.svg +1 -0
- package/src/stories/assets/comments.svg +1 -0
- package/src/stories/assets/direction.svg +1 -0
- package/src/stories/assets/flow.svg +1 -0
- package/src/stories/assets/plugin.svg +1 -0
- package/src/stories/assets/repo.svg +1 -0
- package/src/stories/assets/stackalt.svg +1 -0
- package/src/stories/welcome.scss +133 -0
- package/src/types/index.ts +0 -2
- package/lib/cjs/ListCtx-14aa546f.js +0 -9
- package/lib/esm/ListCtx-da435fdf.js +0 -6
- package/lib/types/react/src/components/List/ListCtx.d.ts +0 -4
- package/src/components/List/ListCtx.ts +0 -7
|
@@ -12,7 +12,6 @@ require('../../Link/Link.js');
|
|
|
12
12
|
require('../DetailCard/DetailCard.js');
|
|
13
13
|
require('../FactlistCard/FactListCard.js');
|
|
14
14
|
require('../../List/List.js');
|
|
15
|
-
require('../../../ListCtx-14aa546f.js');
|
|
16
15
|
require('../../List/ListItem.js');
|
|
17
16
|
require('../FeatureCard/FeatureCard.js');
|
|
18
17
|
require('../../LinkList/LinkList.js');
|
|
@@ -25,13 +24,13 @@ require('../../Profile/Profile.js');
|
|
|
25
24
|
const textCardGroup = {
|
|
26
25
|
cards: [
|
|
27
26
|
{
|
|
28
|
-
title: "
|
|
29
|
-
eyebrow: "
|
|
27
|
+
title: "ILO welcomes first global agreement on working conditions",
|
|
28
|
+
eyebrow: "Press release",
|
|
30
29
|
date: {
|
|
31
30
|
human: "20 September 2022",
|
|
32
31
|
unix: "1670389200",
|
|
33
32
|
},
|
|
34
|
-
theme: "
|
|
33
|
+
theme: "dark",
|
|
35
34
|
link: "https:/www.ilo.org",
|
|
36
35
|
profile: {
|
|
37
36
|
avatar: "/ilo-dg.jpg",
|
|
@@ -41,13 +40,45 @@ const textCardGroup = {
|
|
|
41
40
|
},
|
|
42
41
|
},
|
|
43
42
|
{
|
|
44
|
-
title: "
|
|
43
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
44
|
+
eyebrow: "Report",
|
|
45
|
+
date: {
|
|
46
|
+
human: "21 September 2022",
|
|
47
|
+
unix: "1670389200",
|
|
48
|
+
},
|
|
49
|
+
theme: "dark",
|
|
50
|
+
link: "https:/www.ilo.org",
|
|
51
|
+
profile: {
|
|
52
|
+
avatar: "/ilo-dg.jpg",
|
|
53
|
+
description: "Gilbert Houngbo is the Director-General of the International Labour Organization",
|
|
54
|
+
name: "Gilbert Houngbo",
|
|
55
|
+
role: "ILO Director-General",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
title: "Can digital technology be an equality machine? ",
|
|
45
60
|
eyebrow: "Podcast",
|
|
46
61
|
date: {
|
|
47
|
-
human: "
|
|
62
|
+
human: "25 September 2022",
|
|
48
63
|
unix: "1670389200",
|
|
49
64
|
},
|
|
50
|
-
theme: "
|
|
65
|
+
theme: "dark",
|
|
66
|
+
link: "https:/www.ilo.org",
|
|
67
|
+
profile: {
|
|
68
|
+
avatar: "/ilo-dg.jpg",
|
|
69
|
+
description: "Gilbert Houngbo is the Director-General of the International Labour Organization",
|
|
70
|
+
name: "Gilbert Houngbo",
|
|
71
|
+
role: "ILO Director-General",
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
title: "Why we need greater social justice?",
|
|
76
|
+
eyebrow: "Podcast",
|
|
77
|
+
date: {
|
|
78
|
+
human: "31 September 2022",
|
|
79
|
+
unix: "1670389200",
|
|
80
|
+
},
|
|
81
|
+
theme: "dark",
|
|
51
82
|
link: "https:/www.ilo.org",
|
|
52
83
|
profile: {
|
|
53
84
|
avatar: "/ilo-dg.jpg",
|
|
@@ -57,7 +88,7 @@ const textCardGroup = {
|
|
|
57
88
|
},
|
|
58
89
|
},
|
|
59
90
|
],
|
|
60
|
-
cardCount: "
|
|
91
|
+
cardCount: "three",
|
|
61
92
|
type: "text",
|
|
62
93
|
cta: {
|
|
63
94
|
label: "Discover our unique mission",
|
|
@@ -67,8 +98,8 @@ const textCardGroup = {
|
|
|
67
98
|
const statCardGroup = {
|
|
68
99
|
cards: [
|
|
69
100
|
{
|
|
70
|
-
title: "
|
|
71
|
-
intro: "
|
|
101
|
+
title: "Can digital technology be an equality machine?",
|
|
102
|
+
intro: "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.",
|
|
72
103
|
color: "turquoise",
|
|
73
104
|
source: {
|
|
74
105
|
label: "World Employment and Social Outlook: Trends 2023",
|
|
@@ -76,7 +107,7 @@ const statCardGroup = {
|
|
|
76
107
|
},
|
|
77
108
|
},
|
|
78
109
|
{
|
|
79
|
-
title: "
|
|
110
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
80
111
|
intro: "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.",
|
|
81
112
|
color: "turquoise",
|
|
82
113
|
source: {
|
|
@@ -85,8 +116,8 @@ const statCardGroup = {
|
|
|
85
116
|
},
|
|
86
117
|
},
|
|
87
118
|
{
|
|
88
|
-
title: "Global employment growth down by half
|
|
89
|
-
intro: "
|
|
119
|
+
title: "Global employment growth down by half",
|
|
120
|
+
intro: "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.",
|
|
90
121
|
color: "turquoise",
|
|
91
122
|
source: {
|
|
92
123
|
label: "World Employment and Social Outlook: Trends 2023",
|
|
@@ -94,7 +125,7 @@ const statCardGroup = {
|
|
|
94
125
|
},
|
|
95
126
|
},
|
|
96
127
|
{
|
|
97
|
-
title: "
|
|
128
|
+
title: "ILO welcomes first global agreement on working conditions and rights of professional football players",
|
|
98
129
|
intro: "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.",
|
|
99
130
|
color: "turquoise",
|
|
100
131
|
source: {
|
|
@@ -103,7 +134,7 @@ const statCardGroup = {
|
|
|
103
134
|
},
|
|
104
135
|
},
|
|
105
136
|
],
|
|
106
|
-
cardCount: "
|
|
137
|
+
cardCount: "three",
|
|
107
138
|
type: "stat",
|
|
108
139
|
cta: {
|
|
109
140
|
label: "Discover our unique mission",
|
|
@@ -113,8 +144,8 @@ const statCardGroup = {
|
|
|
113
144
|
const multilinkCardGroup = {
|
|
114
145
|
cards: [
|
|
115
146
|
{
|
|
116
|
-
title: "ILO welcomes
|
|
117
|
-
eyebrow: "
|
|
147
|
+
title: "ILO welcomes first global agreement on working conditions",
|
|
148
|
+
eyebrow: "Press release",
|
|
118
149
|
intro: "At the end of their meeting the G7 Labour Ministers highlighted the urgent need to greater focus on rights and occupational safety and health.",
|
|
119
150
|
image: "/hero.jpg",
|
|
120
151
|
alignment: "left",
|
|
@@ -143,6 +174,64 @@ const multilinkCardGroup = {
|
|
|
143
174
|
},
|
|
144
175
|
{
|
|
145
176
|
title: "ILO welcomes G7 call to make a just transition to a green economy happen",
|
|
177
|
+
eyebrow: "Report",
|
|
178
|
+
intro: "A toxic combination of mutually-reinforcing crises inflation, debt, food and fuel price rises, geopolitical tensions and conflict.",
|
|
179
|
+
image: "/hero.jpg",
|
|
180
|
+
alignment: "left",
|
|
181
|
+
link: "https:/www.ilo.org",
|
|
182
|
+
linklist: {
|
|
183
|
+
headline: "",
|
|
184
|
+
linkgroup: [
|
|
185
|
+
{
|
|
186
|
+
links: [
|
|
187
|
+
{
|
|
188
|
+
label: "Read the press release",
|
|
189
|
+
url: "https://www.ilo.org",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
label: "See the statement",
|
|
193
|
+
url: "https://www.ilo.org",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
label: "Remarks to G7 Openening Session",
|
|
197
|
+
url: "https://www.ilo.org",
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook",
|
|
206
|
+
eyebrow: "Podcast",
|
|
207
|
+
intro: "At the end of their meeting the G7 Labour Ministers highlighted the urgent need to greater focus on rights and occupational safety and health.",
|
|
208
|
+
image: "/hero.jpg",
|
|
209
|
+
alignment: "left",
|
|
210
|
+
link: "https:/www.ilo.org",
|
|
211
|
+
linklist: {
|
|
212
|
+
headline: "",
|
|
213
|
+
linkgroup: [
|
|
214
|
+
{
|
|
215
|
+
links: [
|
|
216
|
+
{
|
|
217
|
+
label: "Read the press release",
|
|
218
|
+
url: "https://www.ilo.org",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
label: "See the statement",
|
|
222
|
+
url: "https://www.ilo.org",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
label: "Remarks to G7 Openening Session",
|
|
226
|
+
url: "https://www.ilo.org",
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
146
235
|
eyebrow: "High-level meeting",
|
|
147
236
|
intro: "At the end of their meeting the G7 Labour Ministers highlighted the urgent need to greater focus on rights and occupational safety and health.",
|
|
148
237
|
image: "/hero.jpg",
|
|
@@ -172,7 +261,7 @@ const multilinkCardGroup = {
|
|
|
172
261
|
},
|
|
173
262
|
],
|
|
174
263
|
type: "multilink",
|
|
175
|
-
cardCount: "
|
|
264
|
+
cardCount: "three",
|
|
176
265
|
cta: {
|
|
177
266
|
label: "Discover our unique mission",
|
|
178
267
|
url: "https://www.ilo.org",
|
|
@@ -182,8 +271,8 @@ const promoCardGroup = {
|
|
|
182
271
|
cards: [
|
|
183
272
|
{
|
|
184
273
|
size: "standard",
|
|
185
|
-
title: "ILO welcomes
|
|
186
|
-
eyebrow: "
|
|
274
|
+
title: "ILO welcomes first global agreement on working conditions",
|
|
275
|
+
eyebrow: "Report",
|
|
187
276
|
theme: "dark",
|
|
188
277
|
cornercut: true,
|
|
189
278
|
intro: "At the end of their meeting the G7 Labour Ministers highlighted the urgent need to greater focus on rights and occupational safety and health.",
|
|
@@ -195,7 +284,7 @@ const promoCardGroup = {
|
|
|
195
284
|
},
|
|
196
285
|
{
|
|
197
286
|
size: "standard",
|
|
198
|
-
title: "
|
|
287
|
+
title: "Renewable energy jobs hits 12.7 million globally",
|
|
199
288
|
eyebrow: "High-level meeting",
|
|
200
289
|
theme: "dark",
|
|
201
290
|
cornercut: true,
|
|
@@ -208,7 +297,20 @@ const promoCardGroup = {
|
|
|
208
297
|
},
|
|
209
298
|
{
|
|
210
299
|
size: "standard",
|
|
211
|
-
title: "ILO welcomes G7 call to make a just transition
|
|
300
|
+
title: "ILO welcomes G7 call to make a just transition",
|
|
301
|
+
eyebrow: "Podcast",
|
|
302
|
+
theme: "dark",
|
|
303
|
+
cornercut: true,
|
|
304
|
+
intro: "At the end of their meeting the G7 Labour Ministers highlighted the urgent need to greater focus on rights and occupational safety and health.",
|
|
305
|
+
link: "https:/www.ilo.org",
|
|
306
|
+
cta: {
|
|
307
|
+
label: "Read the press release",
|
|
308
|
+
url: "https://www.ilo.org",
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
size: "standard",
|
|
313
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook",
|
|
212
314
|
eyebrow: "High-level meeting",
|
|
213
315
|
theme: "dark",
|
|
214
316
|
cornercut: true,
|
|
@@ -221,7 +323,7 @@ const promoCardGroup = {
|
|
|
221
323
|
},
|
|
222
324
|
],
|
|
223
325
|
type: "promo",
|
|
224
|
-
cardCount: "
|
|
326
|
+
cardCount: "three",
|
|
225
327
|
cta: {
|
|
226
328
|
label: "Discover our unique mission",
|
|
227
329
|
url: "https://www.ilo.org",
|
|
@@ -232,12 +334,8 @@ const featureCardGroup = {
|
|
|
232
334
|
{
|
|
233
335
|
isvideo: false,
|
|
234
336
|
title: "ILO welcomes G7 call to make a just transition to a green economy happen",
|
|
235
|
-
eyebrow: "
|
|
337
|
+
eyebrow: "Press release",
|
|
236
338
|
theme: "dark",
|
|
237
|
-
date: {
|
|
238
|
-
human: "18 March 2023",
|
|
239
|
-
unix: "1670389200",
|
|
240
|
-
},
|
|
241
339
|
image: "/small.jpg",
|
|
242
340
|
link: "https:/www.ilo.org",
|
|
243
341
|
linklist: {
|
|
@@ -256,13 +354,9 @@ const featureCardGroup = {
|
|
|
256
354
|
},
|
|
257
355
|
{
|
|
258
356
|
isvideo: false,
|
|
259
|
-
title: "
|
|
260
|
-
eyebrow: "
|
|
357
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
358
|
+
eyebrow: "Report",
|
|
261
359
|
theme: "dark",
|
|
262
|
-
date: {
|
|
263
|
-
human: "18 March 2023",
|
|
264
|
-
unix: "1670389200",
|
|
265
|
-
},
|
|
266
360
|
image: "/small.jpg",
|
|
267
361
|
link: "https:/www.ilo.org",
|
|
268
362
|
linklist: {
|
|
@@ -281,13 +375,9 @@ const featureCardGroup = {
|
|
|
281
375
|
},
|
|
282
376
|
{
|
|
283
377
|
isvideo: false,
|
|
284
|
-
title: "
|
|
285
|
-
eyebrow: "
|
|
378
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook for Indians going to the European Union",
|
|
379
|
+
eyebrow: "Podcast",
|
|
286
380
|
theme: "dark",
|
|
287
|
-
date: {
|
|
288
|
-
human: "18 March 2023",
|
|
289
|
-
unix: "1670389200",
|
|
290
|
-
},
|
|
291
381
|
image: "/small.jpg",
|
|
292
382
|
link: "https:/www.ilo.org",
|
|
293
383
|
linklist: {
|
|
@@ -306,13 +396,9 @@ const featureCardGroup = {
|
|
|
306
396
|
},
|
|
307
397
|
{
|
|
308
398
|
isvideo: false,
|
|
309
|
-
title: "
|
|
310
|
-
eyebrow: "
|
|
399
|
+
title: "Can digital technology be an equality machine?",
|
|
400
|
+
eyebrow: "Podcast",
|
|
311
401
|
theme: "dark",
|
|
312
|
-
date: {
|
|
313
|
-
human: "18 March 2023",
|
|
314
|
-
unix: "1670389200",
|
|
315
|
-
},
|
|
316
402
|
image: "/small.jpg",
|
|
317
403
|
link: "https:/www.ilo.org",
|
|
318
404
|
linklist: {
|
|
@@ -343,29 +429,53 @@ const detailCardGroup = {
|
|
|
343
429
|
title: "Technical meeting on digitalization in the construction sector",
|
|
344
430
|
eyebrow: "Meeting",
|
|
345
431
|
intro: "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.",
|
|
432
|
+
date: {
|
|
433
|
+
human: "12 March 2023",
|
|
434
|
+
unix: "1670389200",
|
|
435
|
+
},
|
|
436
|
+
image: "/medium.jpg",
|
|
437
|
+
link: "https:/www.ilo.org",
|
|
438
|
+
eventdetails: "5:30 - 12:00 CET | Geneva",
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
442
|
+
eyebrow: "Promo",
|
|
443
|
+
intro: "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.",
|
|
346
444
|
date: {
|
|
347
445
|
human: "18 March 2023",
|
|
348
446
|
unix: "1670389200",
|
|
349
447
|
},
|
|
350
448
|
image: "/medium.jpg",
|
|
351
449
|
link: "https:/www.ilo.org",
|
|
352
|
-
eventdetails: "
|
|
450
|
+
eventdetails: "7:30 - 12:00 CET | Geneva",
|
|
353
451
|
},
|
|
354
452
|
{
|
|
355
|
-
title: "
|
|
453
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook",
|
|
454
|
+
eyebrow: "Report",
|
|
455
|
+
intro: "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.",
|
|
456
|
+
date: {
|
|
457
|
+
human: "22 March 2023",
|
|
458
|
+
unix: "1670389200",
|
|
459
|
+
},
|
|
460
|
+
image: "/medium.jpg",
|
|
461
|
+
link: "https:/www.ilo.org",
|
|
462
|
+
eventdetails: "10:30 - 12:00 CET | Geneva",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
title: "Can digital technology be an equality machine?",
|
|
356
466
|
eyebrow: "Meeting",
|
|
357
467
|
intro: "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.",
|
|
358
468
|
date: {
|
|
359
|
-
human: "
|
|
469
|
+
human: "31 March 2023",
|
|
360
470
|
unix: "1670389200",
|
|
361
471
|
},
|
|
362
472
|
image: "/medium.jpg",
|
|
363
473
|
link: "https:/www.ilo.org",
|
|
364
|
-
eventdetails: "
|
|
474
|
+
eventdetails: "11:30 - 12:00 CET | Geneva",
|
|
365
475
|
},
|
|
366
476
|
],
|
|
367
477
|
type: "detail",
|
|
368
|
-
cardCount: "
|
|
478
|
+
cardCount: "three",
|
|
369
479
|
cta: {
|
|
370
480
|
label: "Discover our unique mission",
|
|
371
481
|
url: "https://www.ilo.org",
|
|
@@ -373,6 +483,15 @@ const detailCardGroup = {
|
|
|
373
483
|
};
|
|
374
484
|
const factListCardGroup = {
|
|
375
485
|
cards: [
|
|
486
|
+
{
|
|
487
|
+
title: "ILO welcomes first global agreement on working conditions",
|
|
488
|
+
theme: "light",
|
|
489
|
+
list: [
|
|
490
|
+
"The current slowdown means that many workers will have to accept lower quality jobs, often at very low pay.",
|
|
491
|
+
"Global employment growth will be only 1.0 per cent in 2023, less than half the level in 2022.",
|
|
492
|
+
"The labour market deterioration is mainly due to emerging geopolitical tensions and the Ukraine conflict.",
|
|
493
|
+
],
|
|
494
|
+
},
|
|
376
495
|
{
|
|
377
496
|
title: "Economic slowdown likely to force workers to accept lower quality jobs",
|
|
378
497
|
theme: "light",
|
|
@@ -383,7 +502,16 @@ const factListCardGroup = {
|
|
|
383
502
|
],
|
|
384
503
|
},
|
|
385
504
|
{
|
|
386
|
-
title: "
|
|
505
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook",
|
|
506
|
+
theme: "light",
|
|
507
|
+
list: [
|
|
508
|
+
"The current slowdown means that many workers will have to accept lower quality jobs, often at very low pay.",
|
|
509
|
+
"Global employment growth will be only 1.0 per cent in 2023, less than half the level in 2022.",
|
|
510
|
+
"The labour market deterioration is mainly due to emerging geopolitical tensions and the Ukraine conflict.",
|
|
511
|
+
],
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
387
515
|
theme: "light",
|
|
388
516
|
list: [
|
|
389
517
|
"Global employment growth will be only 1.0 per cent in 2023, less than half the level in 2022.",
|
|
@@ -393,7 +521,7 @@ const factListCardGroup = {
|
|
|
393
521
|
},
|
|
394
522
|
],
|
|
395
523
|
type: "factlist",
|
|
396
|
-
cardCount: "
|
|
524
|
+
cardCount: "three",
|
|
397
525
|
cta: {
|
|
398
526
|
label: "Discover our unique mission",
|
|
399
527
|
url: "https://www.ilo.org",
|
|
@@ -402,83 +530,16 @@ const factListCardGroup = {
|
|
|
402
530
|
const dataCardGroup = {
|
|
403
531
|
cards: [
|
|
404
532
|
{
|
|
405
|
-
size: "
|
|
406
|
-
eyebrow: "
|
|
407
|
-
image: "/small.jpg",
|
|
408
|
-
columns: "two",
|
|
409
|
-
dataset: {
|
|
410
|
-
content: {
|
|
411
|
-
items: [
|
|
412
|
-
{
|
|
413
|
-
label: "Date",
|
|
414
|
-
copy: "18 March 2023",
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
label: "Event type",
|
|
418
|
-
copy: "Technical meeting of experts",
|
|
419
|
-
},
|
|
420
|
-
],
|
|
421
|
-
},
|
|
422
|
-
files: {
|
|
423
|
-
headline: "Files",
|
|
424
|
-
items: [
|
|
425
|
-
{
|
|
426
|
-
label: "Meeting agenda",
|
|
427
|
-
url: "https://www.ilo.org",
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
label: "Briefing notes",
|
|
431
|
-
url: "https://www.ilo.org",
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
label: "Practical info",
|
|
435
|
-
url: "https://www.ilo.org",
|
|
436
|
-
},
|
|
437
|
-
],
|
|
438
|
-
},
|
|
439
|
-
cta: {
|
|
440
|
-
headline: "Read online",
|
|
441
|
-
items: [
|
|
442
|
-
{
|
|
443
|
-
label: "HTML Version",
|
|
444
|
-
url: "https://www.ilo.org",
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
label: "InfoStories",
|
|
448
|
-
url: "https://www.ilo.org/infostories/en-GB",
|
|
449
|
-
},
|
|
450
|
-
],
|
|
451
|
-
},
|
|
452
|
-
links: {
|
|
453
|
-
headline: "Languages",
|
|
454
|
-
items: [
|
|
455
|
-
{
|
|
456
|
-
label: "English",
|
|
457
|
-
url: "https://www.ilo.org",
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
label: "Español",
|
|
461
|
-
url: "https://www.ilo.org",
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
label: "Français",
|
|
465
|
-
url: "https://www.ilo.org",
|
|
466
|
-
},
|
|
467
|
-
],
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
size: "wide",
|
|
473
|
-
eyebrow: "Meeting",
|
|
533
|
+
size: "standard",
|
|
534
|
+
eyebrow: "Press release",
|
|
474
535
|
image: "/small.jpg",
|
|
475
|
-
columns: "
|
|
536
|
+
columns: "one",
|
|
476
537
|
dataset: {
|
|
477
538
|
content: {
|
|
478
539
|
items: [
|
|
479
540
|
{
|
|
480
541
|
label: "Date",
|
|
481
|
-
copy: "
|
|
542
|
+
copy: "20 March 2023",
|
|
482
543
|
},
|
|
483
544
|
{
|
|
484
545
|
label: "Event type",
|
|
@@ -493,10 +554,6 @@ const dataCardGroup = {
|
|
|
493
554
|
label: "Meeting agenda",
|
|
494
555
|
url: "https://www.ilo.org",
|
|
495
556
|
},
|
|
496
|
-
{
|
|
497
|
-
label: "Briefing notes",
|
|
498
|
-
url: "https://www.ilo.org",
|
|
499
|
-
},
|
|
500
557
|
{
|
|
501
558
|
label: "Practical info",
|
|
502
559
|
url: "https://www.ilo.org",
|
|
@@ -536,30 +593,26 @@ const dataCardGroup = {
|
|
|
536
593
|
},
|
|
537
594
|
},
|
|
538
595
|
{
|
|
539
|
-
size: "
|
|
540
|
-
eyebrow: "
|
|
596
|
+
size: "standard",
|
|
597
|
+
eyebrow: "Report",
|
|
541
598
|
image: "/small.jpg",
|
|
542
|
-
columns: "
|
|
599
|
+
columns: "one",
|
|
543
600
|
dataset: {
|
|
544
601
|
content: {
|
|
545
602
|
items: [
|
|
546
603
|
{
|
|
547
604
|
label: "Date",
|
|
548
|
-
copy: "
|
|
605
|
+
copy: "23 March 2023",
|
|
549
606
|
},
|
|
550
607
|
{
|
|
551
608
|
label: "Event type",
|
|
552
|
-
copy: "
|
|
609
|
+
copy: "Casual meeting",
|
|
553
610
|
},
|
|
554
611
|
],
|
|
555
612
|
},
|
|
556
613
|
files: {
|
|
557
614
|
headline: "Files",
|
|
558
615
|
items: [
|
|
559
|
-
{
|
|
560
|
-
label: "Meeting agenda",
|
|
561
|
-
url: "https://www.ilo.org",
|
|
562
|
-
},
|
|
563
616
|
{
|
|
564
617
|
label: "Briefing notes",
|
|
565
618
|
url: "https://www.ilo.org",
|
|
@@ -586,10 +639,6 @@ const dataCardGroup = {
|
|
|
586
639
|
links: {
|
|
587
640
|
headline: "Languages",
|
|
588
641
|
items: [
|
|
589
|
-
{
|
|
590
|
-
label: "English",
|
|
591
|
-
url: "https://www.ilo.org",
|
|
592
|
-
},
|
|
593
642
|
{
|
|
594
643
|
label: "Español",
|
|
595
644
|
url: "https://www.ilo.org",
|
|
@@ -603,16 +652,16 @@ const dataCardGroup = {
|
|
|
603
652
|
},
|
|
604
653
|
},
|
|
605
654
|
{
|
|
606
|
-
size: "
|
|
655
|
+
size: "standard",
|
|
607
656
|
eyebrow: "Meeting",
|
|
608
657
|
image: "/small.jpg",
|
|
609
|
-
columns: "
|
|
658
|
+
columns: "one",
|
|
610
659
|
dataset: {
|
|
611
660
|
content: {
|
|
612
661
|
items: [
|
|
613
662
|
{
|
|
614
663
|
label: "Date",
|
|
615
|
-
copy: "
|
|
664
|
+
copy: "24 March 2023",
|
|
616
665
|
},
|
|
617
666
|
{
|
|
618
667
|
label: "Event type",
|
|
@@ -623,14 +672,6 @@ const dataCardGroup = {
|
|
|
623
672
|
files: {
|
|
624
673
|
headline: "Files",
|
|
625
674
|
items: [
|
|
626
|
-
{
|
|
627
|
-
label: "Meeting agenda",
|
|
628
|
-
url: "https://www.ilo.org",
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
label: "Briefing notes",
|
|
632
|
-
url: "https://www.ilo.org",
|
|
633
|
-
},
|
|
634
675
|
{
|
|
635
676
|
label: "Practical info",
|
|
636
677
|
url: "https://www.ilo.org",
|
|
@@ -661,25 +702,21 @@ const dataCardGroup = {
|
|
|
661
702
|
label: "Español",
|
|
662
703
|
url: "https://www.ilo.org",
|
|
663
704
|
},
|
|
664
|
-
{
|
|
665
|
-
label: "Français",
|
|
666
|
-
url: "https://www.ilo.org",
|
|
667
|
-
},
|
|
668
705
|
],
|
|
669
706
|
},
|
|
670
707
|
},
|
|
671
708
|
},
|
|
672
709
|
{
|
|
673
|
-
size: "
|
|
710
|
+
size: "standard",
|
|
674
711
|
eyebrow: "Meeting",
|
|
675
712
|
image: "/small.jpg",
|
|
676
|
-
columns: "
|
|
713
|
+
columns: "one",
|
|
677
714
|
dataset: {
|
|
678
715
|
content: {
|
|
679
716
|
items: [
|
|
680
717
|
{
|
|
681
718
|
label: "Date",
|
|
682
|
-
copy: "
|
|
719
|
+
copy: "29 March 2023",
|
|
683
720
|
},
|
|
684
721
|
{
|
|
685
722
|
label: "Event type",
|
|
@@ -737,7 +774,7 @@ const dataCardGroup = {
|
|
|
737
774
|
},
|
|
738
775
|
},
|
|
739
776
|
],
|
|
740
|
-
cardCount: "
|
|
777
|
+
cardCount: "three",
|
|
741
778
|
type: "data",
|
|
742
779
|
cta: {
|
|
743
780
|
label: "Discover our unique mission",
|
|
@@ -8,7 +8,6 @@ var components_List_ListItem = require('../../List/ListItem.js');
|
|
|
8
8
|
require('tslib');
|
|
9
9
|
require('react');
|
|
10
10
|
require('../../../GlobalCtx-10114bdd.js');
|
|
11
|
-
require('../../../ListCtx-14aa546f.js');
|
|
12
11
|
|
|
13
12
|
const FactlistCard = ({ title, theme = "narrow", size, list, }) => {
|
|
14
13
|
const { prefix } = hooks_useGlobalSettings();
|
|
@@ -17,7 +17,7 @@ const TextCard = ({ eyebrow, title, theme, size, date, profile, link, }) => {
|
|
|
17
17
|
[`${baseClass}__size__${size}`]: size,
|
|
18
18
|
[`${baseClass}__theme__${theme}`]: theme,
|
|
19
19
|
});
|
|
20
|
-
return (jsxRuntime.jsx("div", Object.assign({ className: wrapperClass }, { children: jsxRuntime.jsxs("div", Object.assign({ className: cardClasses }, { children: [link && (jsxRuntime.jsx("a", Object.assign({ className: `${baseClass}--link`, href: link, title: title }, { children: jsxRuntime.jsx("span", Object.assign({ className: `${baseClass}--link--text` }, { children: title })) }))), jsxRuntime.jsx("div", Object.assign({ className: `${baseClass}--wrap` }, { children: jsxRuntime.jsxs("div", Object.assign({ className: `${baseClass}--content` }, { children: [eyebrow && jsxRuntime.jsx("p", Object.assign({ className: `${baseClass}--eyebrow` }, { children: eyebrow })), title && jsxRuntime.jsx("h5", Object.assign({ className: `${baseClass}--title` }, { children: title })), date && (jsxRuntime.jsx("time", Object.assign({ className: `${baseClass}--date`, dateTime: date.unix }, { children: date.human }))), profile && profile.avatar && (jsxRuntime.jsx(components_Profile_Profile, { avatar: profile.avatar, description: profile.description, link: profile.link, name: profile.name, role: profile.role, className: `${prefix}--
|
|
20
|
+
return (jsxRuntime.jsx("div", Object.assign({ className: wrapperClass }, { children: jsxRuntime.jsxs("div", Object.assign({ className: cardClasses }, { children: [link && (jsxRuntime.jsx("a", Object.assign({ className: `${baseClass}--link`, href: link, title: title }, { children: jsxRuntime.jsx("span", Object.assign({ className: `${baseClass}--link--text` }, { children: title })) }))), jsxRuntime.jsx("div", Object.assign({ className: `${baseClass}--wrap` }, { children: jsxRuntime.jsxs("div", Object.assign({ className: `${baseClass}--content` }, { children: [eyebrow && jsxRuntime.jsx("p", Object.assign({ className: `${baseClass}--eyebrow` }, { children: eyebrow })), title && jsxRuntime.jsx("h5", Object.assign({ className: `${baseClass}--title` }, { children: title })), date && (jsxRuntime.jsx("time", Object.assign({ className: `${baseClass}--date`, dateTime: date.unix }, { children: date.human }))), profile && profile.avatar && (jsxRuntime.jsx(components_Profile_Profile, { avatar: profile.avatar, description: profile.description, link: profile.link, name: profile.name, role: profile.role, className: `${prefix}--profile__theme__${theme}` }))] })) }))] })) })));
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
module.exports = TextCard;
|