@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
|
@@ -10,7 +10,6 @@ import '../../Link/Link.js';
|
|
|
10
10
|
import '../DetailCard/DetailCard.js';
|
|
11
11
|
import '../FactlistCard/FactListCard.js';
|
|
12
12
|
import '../../List/List.js';
|
|
13
|
-
import '../../../ListCtx-da435fdf.js';
|
|
14
13
|
import '../../List/ListItem.js';
|
|
15
14
|
import '../FeatureCard/FeatureCard.js';
|
|
16
15
|
import '../../LinkList/LinkList.js';
|
|
@@ -23,13 +22,13 @@ import '../../Profile/Profile.js';
|
|
|
23
22
|
const textCardGroup = {
|
|
24
23
|
cards: [
|
|
25
24
|
{
|
|
26
|
-
title: "
|
|
27
|
-
eyebrow: "
|
|
25
|
+
title: "ILO welcomes first global agreement on working conditions",
|
|
26
|
+
eyebrow: "Press release",
|
|
28
27
|
date: {
|
|
29
28
|
human: "20 September 2022",
|
|
30
29
|
unix: "1670389200",
|
|
31
30
|
},
|
|
32
|
-
theme: "
|
|
31
|
+
theme: "dark",
|
|
33
32
|
link: "https:/www.ilo.org",
|
|
34
33
|
profile: {
|
|
35
34
|
avatar: "/ilo-dg.jpg",
|
|
@@ -39,13 +38,45 @@ const textCardGroup = {
|
|
|
39
38
|
},
|
|
40
39
|
},
|
|
41
40
|
{
|
|
42
|
-
title: "
|
|
41
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
42
|
+
eyebrow: "Report",
|
|
43
|
+
date: {
|
|
44
|
+
human: "21 September 2022",
|
|
45
|
+
unix: "1670389200",
|
|
46
|
+
},
|
|
47
|
+
theme: "dark",
|
|
48
|
+
link: "https:/www.ilo.org",
|
|
49
|
+
profile: {
|
|
50
|
+
avatar: "/ilo-dg.jpg",
|
|
51
|
+
description: "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: "Can digital technology be an equality machine? ",
|
|
43
58
|
eyebrow: "Podcast",
|
|
44
59
|
date: {
|
|
45
|
-
human: "
|
|
60
|
+
human: "25 September 2022",
|
|
46
61
|
unix: "1670389200",
|
|
47
62
|
},
|
|
48
|
-
theme: "
|
|
63
|
+
theme: "dark",
|
|
64
|
+
link: "https:/www.ilo.org",
|
|
65
|
+
profile: {
|
|
66
|
+
avatar: "/ilo-dg.jpg",
|
|
67
|
+
description: "Gilbert Houngbo is the Director-General of the International Labour Organization",
|
|
68
|
+
name: "Gilbert Houngbo",
|
|
69
|
+
role: "ILO Director-General",
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
title: "Why we need greater social justice?",
|
|
74
|
+
eyebrow: "Podcast",
|
|
75
|
+
date: {
|
|
76
|
+
human: "31 September 2022",
|
|
77
|
+
unix: "1670389200",
|
|
78
|
+
},
|
|
79
|
+
theme: "dark",
|
|
49
80
|
link: "https:/www.ilo.org",
|
|
50
81
|
profile: {
|
|
51
82
|
avatar: "/ilo-dg.jpg",
|
|
@@ -55,7 +86,7 @@ const textCardGroup = {
|
|
|
55
86
|
},
|
|
56
87
|
},
|
|
57
88
|
],
|
|
58
|
-
cardCount: "
|
|
89
|
+
cardCount: "three",
|
|
59
90
|
type: "text",
|
|
60
91
|
cta: {
|
|
61
92
|
label: "Discover our unique mission",
|
|
@@ -65,8 +96,8 @@ const textCardGroup = {
|
|
|
65
96
|
const statCardGroup = {
|
|
66
97
|
cards: [
|
|
67
98
|
{
|
|
68
|
-
title: "
|
|
69
|
-
intro: "
|
|
99
|
+
title: "Can digital technology be an equality machine?",
|
|
100
|
+
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.",
|
|
70
101
|
color: "turquoise",
|
|
71
102
|
source: {
|
|
72
103
|
label: "World Employment and Social Outlook: Trends 2023",
|
|
@@ -74,7 +105,7 @@ const statCardGroup = {
|
|
|
74
105
|
},
|
|
75
106
|
},
|
|
76
107
|
{
|
|
77
|
-
title: "
|
|
108
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
78
109
|
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.",
|
|
79
110
|
color: "turquoise",
|
|
80
111
|
source: {
|
|
@@ -83,8 +114,8 @@ const statCardGroup = {
|
|
|
83
114
|
},
|
|
84
115
|
},
|
|
85
116
|
{
|
|
86
|
-
title: "Global employment growth down by half
|
|
87
|
-
intro: "
|
|
117
|
+
title: "Global employment growth down by half",
|
|
118
|
+
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.",
|
|
88
119
|
color: "turquoise",
|
|
89
120
|
source: {
|
|
90
121
|
label: "World Employment and Social Outlook: Trends 2023",
|
|
@@ -92,7 +123,7 @@ const statCardGroup = {
|
|
|
92
123
|
},
|
|
93
124
|
},
|
|
94
125
|
{
|
|
95
|
-
title: "
|
|
126
|
+
title: "ILO welcomes first global agreement on working conditions and rights of professional football players",
|
|
96
127
|
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.",
|
|
97
128
|
color: "turquoise",
|
|
98
129
|
source: {
|
|
@@ -101,7 +132,7 @@ const statCardGroup = {
|
|
|
101
132
|
},
|
|
102
133
|
},
|
|
103
134
|
],
|
|
104
|
-
cardCount: "
|
|
135
|
+
cardCount: "three",
|
|
105
136
|
type: "stat",
|
|
106
137
|
cta: {
|
|
107
138
|
label: "Discover our unique mission",
|
|
@@ -111,8 +142,8 @@ const statCardGroup = {
|
|
|
111
142
|
const multilinkCardGroup = {
|
|
112
143
|
cards: [
|
|
113
144
|
{
|
|
114
|
-
title: "ILO welcomes
|
|
115
|
-
eyebrow: "
|
|
145
|
+
title: "ILO welcomes first global agreement on working conditions",
|
|
146
|
+
eyebrow: "Press release",
|
|
116
147
|
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.",
|
|
117
148
|
image: "/hero.jpg",
|
|
118
149
|
alignment: "left",
|
|
@@ -141,6 +172,64 @@ const multilinkCardGroup = {
|
|
|
141
172
|
},
|
|
142
173
|
{
|
|
143
174
|
title: "ILO welcomes G7 call to make a just transition to a green economy happen",
|
|
175
|
+
eyebrow: "Report",
|
|
176
|
+
intro: "A toxic combination of mutually-reinforcing crises inflation, debt, food and fuel price rises, geopolitical tensions and conflict.",
|
|
177
|
+
image: "/hero.jpg",
|
|
178
|
+
alignment: "left",
|
|
179
|
+
link: "https:/www.ilo.org",
|
|
180
|
+
linklist: {
|
|
181
|
+
headline: "",
|
|
182
|
+
linkgroup: [
|
|
183
|
+
{
|
|
184
|
+
links: [
|
|
185
|
+
{
|
|
186
|
+
label: "Read the press release",
|
|
187
|
+
url: "https://www.ilo.org",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
label: "See the statement",
|
|
191
|
+
url: "https://www.ilo.org",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
label: "Remarks to G7 Openening Session",
|
|
195
|
+
url: "https://www.ilo.org",
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook",
|
|
204
|
+
eyebrow: "Podcast",
|
|
205
|
+
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.",
|
|
206
|
+
image: "/hero.jpg",
|
|
207
|
+
alignment: "left",
|
|
208
|
+
link: "https:/www.ilo.org",
|
|
209
|
+
linklist: {
|
|
210
|
+
headline: "",
|
|
211
|
+
linkgroup: [
|
|
212
|
+
{
|
|
213
|
+
links: [
|
|
214
|
+
{
|
|
215
|
+
label: "Read the press release",
|
|
216
|
+
url: "https://www.ilo.org",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
label: "See the statement",
|
|
220
|
+
url: "https://www.ilo.org",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
label: "Remarks to G7 Openening Session",
|
|
224
|
+
url: "https://www.ilo.org",
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
144
233
|
eyebrow: "High-level meeting",
|
|
145
234
|
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.",
|
|
146
235
|
image: "/hero.jpg",
|
|
@@ -170,7 +259,7 @@ const multilinkCardGroup = {
|
|
|
170
259
|
},
|
|
171
260
|
],
|
|
172
261
|
type: "multilink",
|
|
173
|
-
cardCount: "
|
|
262
|
+
cardCount: "three",
|
|
174
263
|
cta: {
|
|
175
264
|
label: "Discover our unique mission",
|
|
176
265
|
url: "https://www.ilo.org",
|
|
@@ -180,8 +269,8 @@ const promoCardGroup = {
|
|
|
180
269
|
cards: [
|
|
181
270
|
{
|
|
182
271
|
size: "standard",
|
|
183
|
-
title: "ILO welcomes
|
|
184
|
-
eyebrow: "
|
|
272
|
+
title: "ILO welcomes first global agreement on working conditions",
|
|
273
|
+
eyebrow: "Report",
|
|
185
274
|
theme: "dark",
|
|
186
275
|
cornercut: true,
|
|
187
276
|
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.",
|
|
@@ -193,7 +282,7 @@ const promoCardGroup = {
|
|
|
193
282
|
},
|
|
194
283
|
{
|
|
195
284
|
size: "standard",
|
|
196
|
-
title: "
|
|
285
|
+
title: "Renewable energy jobs hits 12.7 million globally",
|
|
197
286
|
eyebrow: "High-level meeting",
|
|
198
287
|
theme: "dark",
|
|
199
288
|
cornercut: true,
|
|
@@ -206,7 +295,20 @@ const promoCardGroup = {
|
|
|
206
295
|
},
|
|
207
296
|
{
|
|
208
297
|
size: "standard",
|
|
209
|
-
title: "ILO welcomes G7 call to make a just transition
|
|
298
|
+
title: "ILO welcomes G7 call to make a just transition",
|
|
299
|
+
eyebrow: "Podcast",
|
|
300
|
+
theme: "dark",
|
|
301
|
+
cornercut: true,
|
|
302
|
+
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.",
|
|
303
|
+
link: "https:/www.ilo.org",
|
|
304
|
+
cta: {
|
|
305
|
+
label: "Read the press release",
|
|
306
|
+
url: "https://www.ilo.org",
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
size: "standard",
|
|
311
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook",
|
|
210
312
|
eyebrow: "High-level meeting",
|
|
211
313
|
theme: "dark",
|
|
212
314
|
cornercut: true,
|
|
@@ -219,7 +321,7 @@ const promoCardGroup = {
|
|
|
219
321
|
},
|
|
220
322
|
],
|
|
221
323
|
type: "promo",
|
|
222
|
-
cardCount: "
|
|
324
|
+
cardCount: "three",
|
|
223
325
|
cta: {
|
|
224
326
|
label: "Discover our unique mission",
|
|
225
327
|
url: "https://www.ilo.org",
|
|
@@ -230,12 +332,8 @@ const featureCardGroup = {
|
|
|
230
332
|
{
|
|
231
333
|
isvideo: false,
|
|
232
334
|
title: "ILO welcomes G7 call to make a just transition to a green economy happen",
|
|
233
|
-
eyebrow: "
|
|
335
|
+
eyebrow: "Press release",
|
|
234
336
|
theme: "dark",
|
|
235
|
-
date: {
|
|
236
|
-
human: "18 March 2023",
|
|
237
|
-
unix: "1670389200",
|
|
238
|
-
},
|
|
239
337
|
image: "/small.jpg",
|
|
240
338
|
link: "https:/www.ilo.org",
|
|
241
339
|
linklist: {
|
|
@@ -254,13 +352,9 @@ const featureCardGroup = {
|
|
|
254
352
|
},
|
|
255
353
|
{
|
|
256
354
|
isvideo: false,
|
|
257
|
-
title: "
|
|
258
|
-
eyebrow: "
|
|
355
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
356
|
+
eyebrow: "Report",
|
|
259
357
|
theme: "dark",
|
|
260
|
-
date: {
|
|
261
|
-
human: "18 March 2023",
|
|
262
|
-
unix: "1670389200",
|
|
263
|
-
},
|
|
264
358
|
image: "/small.jpg",
|
|
265
359
|
link: "https:/www.ilo.org",
|
|
266
360
|
linklist: {
|
|
@@ -279,13 +373,9 @@ const featureCardGroup = {
|
|
|
279
373
|
},
|
|
280
374
|
{
|
|
281
375
|
isvideo: false,
|
|
282
|
-
title: "
|
|
283
|
-
eyebrow: "
|
|
376
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook for Indians going to the European Union",
|
|
377
|
+
eyebrow: "Podcast",
|
|
284
378
|
theme: "dark",
|
|
285
|
-
date: {
|
|
286
|
-
human: "18 March 2023",
|
|
287
|
-
unix: "1670389200",
|
|
288
|
-
},
|
|
289
379
|
image: "/small.jpg",
|
|
290
380
|
link: "https:/www.ilo.org",
|
|
291
381
|
linklist: {
|
|
@@ -304,13 +394,9 @@ const featureCardGroup = {
|
|
|
304
394
|
},
|
|
305
395
|
{
|
|
306
396
|
isvideo: false,
|
|
307
|
-
title: "
|
|
308
|
-
eyebrow: "
|
|
397
|
+
title: "Can digital technology be an equality machine?",
|
|
398
|
+
eyebrow: "Podcast",
|
|
309
399
|
theme: "dark",
|
|
310
|
-
date: {
|
|
311
|
-
human: "18 March 2023",
|
|
312
|
-
unix: "1670389200",
|
|
313
|
-
},
|
|
314
400
|
image: "/small.jpg",
|
|
315
401
|
link: "https:/www.ilo.org",
|
|
316
402
|
linklist: {
|
|
@@ -341,29 +427,53 @@ const detailCardGroup = {
|
|
|
341
427
|
title: "Technical meeting on digitalization in the construction sector",
|
|
342
428
|
eyebrow: "Meeting",
|
|
343
429
|
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.",
|
|
430
|
+
date: {
|
|
431
|
+
human: "12 March 2023",
|
|
432
|
+
unix: "1670389200",
|
|
433
|
+
},
|
|
434
|
+
image: "/medium.jpg",
|
|
435
|
+
link: "https:/www.ilo.org",
|
|
436
|
+
eventdetails: "5:30 - 12:00 CET | Geneva",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
440
|
+
eyebrow: "Promo",
|
|
441
|
+
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.",
|
|
344
442
|
date: {
|
|
345
443
|
human: "18 March 2023",
|
|
346
444
|
unix: "1670389200",
|
|
347
445
|
},
|
|
348
446
|
image: "/medium.jpg",
|
|
349
447
|
link: "https:/www.ilo.org",
|
|
350
|
-
eventdetails: "
|
|
448
|
+
eventdetails: "7:30 - 12:00 CET | Geneva",
|
|
351
449
|
},
|
|
352
450
|
{
|
|
353
|
-
title: "
|
|
451
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook",
|
|
452
|
+
eyebrow: "Report",
|
|
453
|
+
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.",
|
|
454
|
+
date: {
|
|
455
|
+
human: "22 March 2023",
|
|
456
|
+
unix: "1670389200",
|
|
457
|
+
},
|
|
458
|
+
image: "/medium.jpg",
|
|
459
|
+
link: "https:/www.ilo.org",
|
|
460
|
+
eventdetails: "10:30 - 12:00 CET | Geneva",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
title: "Can digital technology be an equality machine?",
|
|
354
464
|
eyebrow: "Meeting",
|
|
355
465
|
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.",
|
|
356
466
|
date: {
|
|
357
|
-
human: "
|
|
467
|
+
human: "31 March 2023",
|
|
358
468
|
unix: "1670389200",
|
|
359
469
|
},
|
|
360
470
|
image: "/medium.jpg",
|
|
361
471
|
link: "https:/www.ilo.org",
|
|
362
|
-
eventdetails: "
|
|
472
|
+
eventdetails: "11:30 - 12:00 CET | Geneva",
|
|
363
473
|
},
|
|
364
474
|
],
|
|
365
475
|
type: "detail",
|
|
366
|
-
cardCount: "
|
|
476
|
+
cardCount: "three",
|
|
367
477
|
cta: {
|
|
368
478
|
label: "Discover our unique mission",
|
|
369
479
|
url: "https://www.ilo.org",
|
|
@@ -371,6 +481,15 @@ const detailCardGroup = {
|
|
|
371
481
|
};
|
|
372
482
|
const factListCardGroup = {
|
|
373
483
|
cards: [
|
|
484
|
+
{
|
|
485
|
+
title: "ILO welcomes first global agreement on working conditions",
|
|
486
|
+
theme: "light",
|
|
487
|
+
list: [
|
|
488
|
+
"The current slowdown means that many workers will have to accept lower quality jobs, often at very low pay.",
|
|
489
|
+
"Global employment growth will be only 1.0 per cent in 2023, less than half the level in 2022.",
|
|
490
|
+
"The labour market deterioration is mainly due to emerging geopolitical tensions and the Ukraine conflict.",
|
|
491
|
+
],
|
|
492
|
+
},
|
|
374
493
|
{
|
|
375
494
|
title: "Economic slowdown likely to force workers to accept lower quality jobs",
|
|
376
495
|
theme: "light",
|
|
@@ -381,7 +500,16 @@ const factListCardGroup = {
|
|
|
381
500
|
],
|
|
382
501
|
},
|
|
383
502
|
{
|
|
384
|
-
title: "
|
|
503
|
+
title: "Telangana and Andhra Pradesh launch pre-departure handbook",
|
|
504
|
+
theme: "light",
|
|
505
|
+
list: [
|
|
506
|
+
"The current slowdown means that many workers will have to accept lower quality jobs, often at very low pay.",
|
|
507
|
+
"Global employment growth will be only 1.0 per cent in 2023, less than half the level in 2022.",
|
|
508
|
+
"The labour market deterioration is mainly due to emerging geopolitical tensions and the Ukraine conflict.",
|
|
509
|
+
],
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
title: "Renewable energy jobs hit 12.7 million globally",
|
|
385
513
|
theme: "light",
|
|
386
514
|
list: [
|
|
387
515
|
"Global employment growth will be only 1.0 per cent in 2023, less than half the level in 2022.",
|
|
@@ -391,7 +519,7 @@ const factListCardGroup = {
|
|
|
391
519
|
},
|
|
392
520
|
],
|
|
393
521
|
type: "factlist",
|
|
394
|
-
cardCount: "
|
|
522
|
+
cardCount: "three",
|
|
395
523
|
cta: {
|
|
396
524
|
label: "Discover our unique mission",
|
|
397
525
|
url: "https://www.ilo.org",
|
|
@@ -400,83 +528,16 @@ const factListCardGroup = {
|
|
|
400
528
|
const dataCardGroup = {
|
|
401
529
|
cards: [
|
|
402
530
|
{
|
|
403
|
-
size: "
|
|
404
|
-
eyebrow: "
|
|
405
|
-
image: "/small.jpg",
|
|
406
|
-
columns: "two",
|
|
407
|
-
dataset: {
|
|
408
|
-
content: {
|
|
409
|
-
items: [
|
|
410
|
-
{
|
|
411
|
-
label: "Date",
|
|
412
|
-
copy: "18 March 2023",
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
label: "Event type",
|
|
416
|
-
copy: "Technical meeting of experts",
|
|
417
|
-
},
|
|
418
|
-
],
|
|
419
|
-
},
|
|
420
|
-
files: {
|
|
421
|
-
headline: "Files",
|
|
422
|
-
items: [
|
|
423
|
-
{
|
|
424
|
-
label: "Meeting agenda",
|
|
425
|
-
url: "https://www.ilo.org",
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
label: "Briefing notes",
|
|
429
|
-
url: "https://www.ilo.org",
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
label: "Practical info",
|
|
433
|
-
url: "https://www.ilo.org",
|
|
434
|
-
},
|
|
435
|
-
],
|
|
436
|
-
},
|
|
437
|
-
cta: {
|
|
438
|
-
headline: "Read online",
|
|
439
|
-
items: [
|
|
440
|
-
{
|
|
441
|
-
label: "HTML Version",
|
|
442
|
-
url: "https://www.ilo.org",
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
label: "InfoStories",
|
|
446
|
-
url: "https://www.ilo.org/infostories/en-GB",
|
|
447
|
-
},
|
|
448
|
-
],
|
|
449
|
-
},
|
|
450
|
-
links: {
|
|
451
|
-
headline: "Languages",
|
|
452
|
-
items: [
|
|
453
|
-
{
|
|
454
|
-
label: "English",
|
|
455
|
-
url: "https://www.ilo.org",
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
label: "Español",
|
|
459
|
-
url: "https://www.ilo.org",
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
label: "Français",
|
|
463
|
-
url: "https://www.ilo.org",
|
|
464
|
-
},
|
|
465
|
-
],
|
|
466
|
-
},
|
|
467
|
-
},
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
size: "wide",
|
|
471
|
-
eyebrow: "Meeting",
|
|
531
|
+
size: "standard",
|
|
532
|
+
eyebrow: "Press release",
|
|
472
533
|
image: "/small.jpg",
|
|
473
|
-
columns: "
|
|
534
|
+
columns: "one",
|
|
474
535
|
dataset: {
|
|
475
536
|
content: {
|
|
476
537
|
items: [
|
|
477
538
|
{
|
|
478
539
|
label: "Date",
|
|
479
|
-
copy: "
|
|
540
|
+
copy: "20 March 2023",
|
|
480
541
|
},
|
|
481
542
|
{
|
|
482
543
|
label: "Event type",
|
|
@@ -491,10 +552,6 @@ const dataCardGroup = {
|
|
|
491
552
|
label: "Meeting agenda",
|
|
492
553
|
url: "https://www.ilo.org",
|
|
493
554
|
},
|
|
494
|
-
{
|
|
495
|
-
label: "Briefing notes",
|
|
496
|
-
url: "https://www.ilo.org",
|
|
497
|
-
},
|
|
498
555
|
{
|
|
499
556
|
label: "Practical info",
|
|
500
557
|
url: "https://www.ilo.org",
|
|
@@ -534,30 +591,26 @@ const dataCardGroup = {
|
|
|
534
591
|
},
|
|
535
592
|
},
|
|
536
593
|
{
|
|
537
|
-
size: "
|
|
538
|
-
eyebrow: "
|
|
594
|
+
size: "standard",
|
|
595
|
+
eyebrow: "Report",
|
|
539
596
|
image: "/small.jpg",
|
|
540
|
-
columns: "
|
|
597
|
+
columns: "one",
|
|
541
598
|
dataset: {
|
|
542
599
|
content: {
|
|
543
600
|
items: [
|
|
544
601
|
{
|
|
545
602
|
label: "Date",
|
|
546
|
-
copy: "
|
|
603
|
+
copy: "23 March 2023",
|
|
547
604
|
},
|
|
548
605
|
{
|
|
549
606
|
label: "Event type",
|
|
550
|
-
copy: "
|
|
607
|
+
copy: "Casual meeting",
|
|
551
608
|
},
|
|
552
609
|
],
|
|
553
610
|
},
|
|
554
611
|
files: {
|
|
555
612
|
headline: "Files",
|
|
556
613
|
items: [
|
|
557
|
-
{
|
|
558
|
-
label: "Meeting agenda",
|
|
559
|
-
url: "https://www.ilo.org",
|
|
560
|
-
},
|
|
561
614
|
{
|
|
562
615
|
label: "Briefing notes",
|
|
563
616
|
url: "https://www.ilo.org",
|
|
@@ -584,10 +637,6 @@ const dataCardGroup = {
|
|
|
584
637
|
links: {
|
|
585
638
|
headline: "Languages",
|
|
586
639
|
items: [
|
|
587
|
-
{
|
|
588
|
-
label: "English",
|
|
589
|
-
url: "https://www.ilo.org",
|
|
590
|
-
},
|
|
591
640
|
{
|
|
592
641
|
label: "Español",
|
|
593
642
|
url: "https://www.ilo.org",
|
|
@@ -601,16 +650,16 @@ const dataCardGroup = {
|
|
|
601
650
|
},
|
|
602
651
|
},
|
|
603
652
|
{
|
|
604
|
-
size: "
|
|
653
|
+
size: "standard",
|
|
605
654
|
eyebrow: "Meeting",
|
|
606
655
|
image: "/small.jpg",
|
|
607
|
-
columns: "
|
|
656
|
+
columns: "one",
|
|
608
657
|
dataset: {
|
|
609
658
|
content: {
|
|
610
659
|
items: [
|
|
611
660
|
{
|
|
612
661
|
label: "Date",
|
|
613
|
-
copy: "
|
|
662
|
+
copy: "24 March 2023",
|
|
614
663
|
},
|
|
615
664
|
{
|
|
616
665
|
label: "Event type",
|
|
@@ -621,14 +670,6 @@ const dataCardGroup = {
|
|
|
621
670
|
files: {
|
|
622
671
|
headline: "Files",
|
|
623
672
|
items: [
|
|
624
|
-
{
|
|
625
|
-
label: "Meeting agenda",
|
|
626
|
-
url: "https://www.ilo.org",
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
label: "Briefing notes",
|
|
630
|
-
url: "https://www.ilo.org",
|
|
631
|
-
},
|
|
632
673
|
{
|
|
633
674
|
label: "Practical info",
|
|
634
675
|
url: "https://www.ilo.org",
|
|
@@ -659,25 +700,21 @@ const dataCardGroup = {
|
|
|
659
700
|
label: "Español",
|
|
660
701
|
url: "https://www.ilo.org",
|
|
661
702
|
},
|
|
662
|
-
{
|
|
663
|
-
label: "Français",
|
|
664
|
-
url: "https://www.ilo.org",
|
|
665
|
-
},
|
|
666
703
|
],
|
|
667
704
|
},
|
|
668
705
|
},
|
|
669
706
|
},
|
|
670
707
|
{
|
|
671
|
-
size: "
|
|
708
|
+
size: "standard",
|
|
672
709
|
eyebrow: "Meeting",
|
|
673
710
|
image: "/small.jpg",
|
|
674
|
-
columns: "
|
|
711
|
+
columns: "one",
|
|
675
712
|
dataset: {
|
|
676
713
|
content: {
|
|
677
714
|
items: [
|
|
678
715
|
{
|
|
679
716
|
label: "Date",
|
|
680
|
-
copy: "
|
|
717
|
+
copy: "29 March 2023",
|
|
681
718
|
},
|
|
682
719
|
{
|
|
683
720
|
label: "Event type",
|
|
@@ -735,7 +772,7 @@ const dataCardGroup = {
|
|
|
735
772
|
},
|
|
736
773
|
},
|
|
737
774
|
],
|
|
738
|
-
cardCount: "
|
|
775
|
+
cardCount: "three",
|
|
739
776
|
type: "data",
|
|
740
777
|
cta: {
|
|
741
778
|
label: "Discover our unique mission",
|
|
@@ -6,7 +6,6 @@ import ListItem from '../../List/ListItem.js';
|
|
|
6
6
|
import 'tslib';
|
|
7
7
|
import 'react';
|
|
8
8
|
import '../../../GlobalCtx-7fb23cfa.js';
|
|
9
|
-
import '../../../ListCtx-da435fdf.js';
|
|
10
9
|
|
|
11
10
|
const FactlistCard = ({ title, theme = "narrow", size, list, }) => {
|
|
12
11
|
const { prefix } = useGlobalSettings();
|
|
@@ -15,7 +15,7 @@ const TextCard = ({ eyebrow, title, theme, size, date, profile, link, }) => {
|
|
|
15
15
|
[`${baseClass}__size__${size}`]: size,
|
|
16
16
|
[`${baseClass}__theme__${theme}`]: theme,
|
|
17
17
|
});
|
|
18
|
-
return (jsx("div", Object.assign({ className: wrapperClass }, { children: jsxs("div", Object.assign({ className: cardClasses }, { children: [link && (jsx("a", Object.assign({ className: `${baseClass}--link`, href: link, title: title }, { children: jsx("span", Object.assign({ className: `${baseClass}--link--text` }, { children: title })) }))), jsx("div", Object.assign({ className: `${baseClass}--wrap` }, { children: jsxs("div", Object.assign({ className: `${baseClass}--content` }, { children: [eyebrow && jsx("p", Object.assign({ className: `${baseClass}--eyebrow` }, { children: eyebrow })), title && jsx("h5", Object.assign({ className: `${baseClass}--title` }, { children: title })), date && (jsx("time", Object.assign({ className: `${baseClass}--date`, dateTime: date.unix }, { children: date.human }))), profile && profile.avatar && (jsx(Profile, { avatar: profile.avatar, description: profile.description, link: profile.link, name: profile.name, role: profile.role, className: `${prefix}--
|
|
18
|
+
return (jsx("div", Object.assign({ className: wrapperClass }, { children: jsxs("div", Object.assign({ className: cardClasses }, { children: [link && (jsx("a", Object.assign({ className: `${baseClass}--link`, href: link, title: title }, { children: jsx("span", Object.assign({ className: `${baseClass}--link--text` }, { children: title })) }))), jsx("div", Object.assign({ className: `${baseClass}--wrap` }, { children: jsxs("div", Object.assign({ className: `${baseClass}--content` }, { children: [eyebrow && jsx("p", Object.assign({ className: `${baseClass}--eyebrow` }, { children: eyebrow })), title && jsx("h5", Object.assign({ className: `${baseClass}--title` }, { children: title })), date && (jsx("time", Object.assign({ className: `${baseClass}--date`, dateTime: date.unix }, { children: date.human }))), profile && profile.avatar && (jsx(Profile, { avatar: profile.avatar, description: profile.description, link: profile.link, name: profile.name, role: profile.role, className: `${prefix}--profile__theme__${theme}` }))] })) }))] })) })));
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export { TextCard as default };
|