@ilo-org/react 0.13.0 → 0.14.1

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 (290) hide show
  1. package/lib/cjs/components/Cards/CardGroup/CardGroup.js +0 -1
  2. package/lib/cjs/components/Cards/CardGroup/index.js +197 -160
  3. package/lib/cjs/components/Cards/FactlistCard/FactListCard.js +0 -1
  4. package/lib/cjs/components/Cards/FactlistCard/index.js +0 -1
  5. package/lib/cjs/components/Cards/TextCard/TextCard.js +1 -1
  6. package/lib/cjs/components/List/List.js +9 -11
  7. package/lib/cjs/components/List/ListItem.js +4 -7
  8. package/lib/cjs/components/List/index.js +1 -2
  9. package/lib/cjs/components/index.js +0 -1
  10. package/lib/cjs/index.js +0 -1
  11. package/lib/esm/components/Cards/CardGroup/CardGroup.js +0 -1
  12. package/lib/esm/components/Cards/CardGroup/index.js +197 -160
  13. package/lib/esm/components/Cards/FactlistCard/FactListCard.js +0 -1
  14. package/lib/esm/components/Cards/FactlistCard/index.js +0 -1
  15. package/lib/esm/components/Cards/TextCard/TextCard.js +1 -1
  16. package/lib/esm/components/List/List.js +10 -12
  17. package/lib/esm/components/List/ListItem.js +4 -7
  18. package/lib/esm/components/List/index.js +1 -2
  19. package/lib/esm/components/index.js +0 -1
  20. package/lib/esm/index.js +0 -1
  21. package/lib/types/react/src/components/List/List.props.d.ts +2 -9
  22. package/lib/types/react/src/components/List/ListItem.props.d.ts +0 -6
  23. package/lib/types/react/src/types/index.d.ts +0 -2
  24. package/package.json +35 -12
  25. package/.eslintrc.cjs +0 -39
  26. package/CHANGELOG.md +0 -858
  27. package/lib/cjs/ListCtx-14aa546f.js +0 -9
  28. package/lib/esm/ListCtx-da435fdf.js +0 -6
  29. package/lib/types/react/src/components/List/ListCtx.d.ts +0 -4
  30. package/rollup.config.mjs +0 -70
  31. package/src/components/Accordion/Accordion.args.ts +0 -16
  32. package/src/components/Accordion/Accordion.props.ts +0 -41
  33. package/src/components/Accordion/Accordion.tsx +0 -62
  34. package/src/components/Accordion/AccordionButton.props.ts +0 -13
  35. package/src/components/Accordion/AccordionButton.tsx +0 -58
  36. package/src/components/Accordion/AccordionCtx.ts +0 -9
  37. package/src/components/Accordion/AccordionItem.props.ts +0 -25
  38. package/src/components/Accordion/AccordionItem.tsx +0 -27
  39. package/src/components/Accordion/AccordionPanel.props.ts +0 -25
  40. package/src/components/Accordion/AccordionPanel.tsx +0 -46
  41. package/src/components/Accordion/index.ts +0 -4
  42. package/src/components/Breadcrumb/Breadcrumb.args.ts +0 -61
  43. package/src/components/Breadcrumb/Breadcrumb.props.ts +0 -13
  44. package/src/components/Breadcrumb/Breadcrumb.tsx +0 -82
  45. package/src/components/Breadcrumb/index.ts +0 -1
  46. package/src/components/Button/Button.args.ts +0 -35
  47. package/src/components/Button/Button.props.ts +0 -89
  48. package/src/components/Button/Button.tsx +0 -77
  49. package/src/components/Button/index.ts +0 -2
  50. package/src/components/Callout/Callout.args.ts +0 -38
  51. package/src/components/Callout/Callout.props.ts +0 -60
  52. package/src/components/Callout/Callout.tsx +0 -80
  53. package/src/components/Callout/index.ts +0 -2
  54. package/src/components/Cards/CardGroup/CardGroup.args.ts +0 -768
  55. package/src/components/Cards/CardGroup/CardGroup.props.ts +0 -78
  56. package/src/components/Cards/CardGroup/CardGroup.tsx +0 -54
  57. package/src/components/Cards/CardGroup/index.tsx +0 -3
  58. package/src/components/Cards/DataCard/DataCard.args.ts +0 -69
  59. package/src/components/Cards/DataCard/DataCard.props.ts +0 -60
  60. package/src/components/Cards/DataCard/DataCard.tsx +0 -107
  61. package/src/components/Cards/DataCard/index.tsx +0 -3
  62. package/src/components/Cards/DetailCard/DetailCard.args.ts +0 -17
  63. package/src/components/Cards/DetailCard/DetailCard.props.ts +0 -43
  64. package/src/components/Cards/DetailCard/DetailCard.tsx +0 -62
  65. package/src/components/Cards/DetailCard/index.tsx +0 -3
  66. package/src/components/Cards/FactlistCard/FactListCard.args.ts +0 -14
  67. package/src/components/Cards/FactlistCard/FactListCard.props.ts +0 -19
  68. package/src/components/Cards/FactlistCard/FactListCard.tsx +0 -42
  69. package/src/components/Cards/FactlistCard/index.tsx +0 -3
  70. package/src/components/Cards/FeatureCard/FeatureCard.args.ts +0 -30
  71. package/src/components/Cards/FeatureCard/FeatureCard.props.ts +0 -38
  72. package/src/components/Cards/FeatureCard/FeatureCard.tsx +0 -69
  73. package/src/components/Cards/FeatureCard/index.tsx +0 -3
  74. package/src/components/Cards/MultilinkCard/MultiLinkCard.tsx +0 -76
  75. package/src/components/Cards/MultilinkCard/MultilinkCard.args.ts +0 -33
  76. package/src/components/Cards/MultilinkCard/MultilinkCard.props.ts +0 -30
  77. package/src/components/Cards/MultilinkCard/index.tsx +0 -3
  78. package/src/components/Cards/PromoCard/PromoCard.args.ts +0 -19
  79. package/src/components/Cards/PromoCard/PromoCard.props.ts +0 -36
  80. package/src/components/Cards/PromoCard/PromoCard.tsx +0 -60
  81. package/src/components/Cards/PromoCard/index.tsx +0 -3
  82. package/src/components/Cards/StatCard/StatCard.args.ts +0 -14
  83. package/src/components/Cards/StatCard/StatCard.props.ts +0 -21
  84. package/src/components/Cards/StatCard/StatCard.tsx +0 -36
  85. package/src/components/Cards/StatCard/index.tsx +0 -3
  86. package/src/components/Cards/TextCard/TextCard.args.ts +0 -21
  87. package/src/components/Cards/TextCard/TextCard.props.ts +0 -32
  88. package/src/components/Cards/TextCard/TextCard.tsx +0 -62
  89. package/src/components/Cards/TextCard/index.tsx +0 -3
  90. package/src/components/Checkbox/Checkbox.args.ts +0 -42
  91. package/src/components/Checkbox/Checkbox.props.ts +0 -5
  92. package/src/components/Checkbox/Checkbox.tsx +0 -94
  93. package/src/components/Checkbox/index.ts +0 -2
  94. package/src/components/Collapse/Collapse.props.ts +0 -92
  95. package/src/components/Collapse/Collapse.tsx +0 -130
  96. package/src/components/Collapse/index.ts +0 -1
  97. package/src/components/ContextMenu/ContextMenu.args.ts +0 -62
  98. package/src/components/ContextMenu/ContextMenu.props.ts +0 -28
  99. package/src/components/ContextMenu/ContextMenu.tsx +0 -32
  100. package/src/components/ContextMenu/index.ts +0 -1
  101. package/src/components/Credit/Credit.args.ts +0 -14
  102. package/src/components/Credit/Credit.props.ts +0 -11
  103. package/src/components/Credit/Credit.tsx +0 -41
  104. package/src/components/Credit/index.ts +0 -1
  105. package/src/components/DatePicker/DatePicker.args.ts +0 -56
  106. package/src/components/DatePicker/DatePicker.props.ts +0 -26
  107. package/src/components/DatePicker/DatePicker.tsx +0 -80
  108. package/src/components/DatePicker/index.ts +0 -1
  109. package/src/components/Dropdown/Dropdown.args.ts +0 -70
  110. package/src/components/Dropdown/Dropdown.props.ts +0 -53
  111. package/src/components/Dropdown/Dropdown.tsx +0 -95
  112. package/src/components/Dropdown/index.ts +0 -1
  113. package/src/components/Empty/Empty.props.ts +0 -13
  114. package/src/components/Empty/Empty.tsx +0 -16
  115. package/src/components/Empty/index.ts +0 -1
  116. package/src/components/Fieldset/Fieldset.props.ts +0 -33
  117. package/src/components/Fieldset/Fieldset.tsx +0 -96
  118. package/src/components/Fieldset/index.ts +0 -1
  119. package/src/components/FileUpload/FileUpload.args.ts +0 -60
  120. package/src/components/FileUpload/FileUpload.props.ts +0 -21
  121. package/src/components/FileUpload/FileUpload.tsx +0 -116
  122. package/src/components/FileUpload/index.ts +0 -1
  123. package/src/components/Footer/Footer.args.ts +0 -74
  124. package/src/components/Footer/Footer.props.ts +0 -60
  125. package/src/components/Footer/Footer.tsx +0 -99
  126. package/src/components/Footer/index.ts +0 -1
  127. package/src/components/Form/Form.args.ts +0 -5
  128. package/src/components/Form/Form.props.ts +0 -8
  129. package/src/components/Form/Form.tsx +0 -23
  130. package/src/components/Form/index.ts +0 -2
  131. package/src/components/FormControl/FormControl.props.ts +0 -72
  132. package/src/components/FormControl/FormControl.tsx +0 -169
  133. package/src/components/FormControl/index.ts +0 -2
  134. package/src/components/FormElement/FormElement.props.ts +0 -60
  135. package/src/components/FormElement/FormElement.tsx +0 -19
  136. package/src/components/FormElement/index.ts +0 -1
  137. package/src/components/GlobalProvider/GlobalCtx.ts +0 -6
  138. package/src/components/GlobalProvider/GlobalProvider.props.ts +0 -15
  139. package/src/components/GlobalProvider/GlobalProvider.tsx +0 -21
  140. package/src/components/GlobalProvider/index.ts +0 -2
  141. package/src/components/Heading/Heading.args.ts +0 -49
  142. package/src/components/Heading/Heading.props.ts +0 -24
  143. package/src/components/Heading/Heading.tsx +0 -28
  144. package/src/components/Heading/index.ts +0 -1
  145. package/src/components/Hero/Hero.args.ts +0 -136
  146. package/src/components/Hero/Hero.props.ts +0 -62
  147. package/src/components/Hero/Hero.tsx +0 -94
  148. package/src/components/Hero/HeroCard.props.ts +0 -54
  149. package/src/components/Hero/HeroCard.tsx +0 -65
  150. package/src/components/Hero/index.ts +0 -2
  151. package/src/components/Icon/Icon.args.ts +0 -15
  152. package/src/components/Icon/Icon.props.ts +0 -16
  153. package/src/components/Icon/Icon.tsx +0 -25
  154. package/src/components/Icon/index.ts +0 -1
  155. package/src/components/Image/Image.args.ts +0 -29
  156. package/src/components/Image/Image.props.ts +0 -43
  157. package/src/components/Image/Image.tsx +0 -51
  158. package/src/components/Image/index.ts +0 -1
  159. package/src/components/Input/Input.args.ts +0 -139
  160. package/src/components/Input/Input.props.ts +0 -65
  161. package/src/components/Input/Input.tsx +0 -65
  162. package/src/components/Input/index.ts +0 -1
  163. package/src/components/Link/Link.props.ts +0 -39
  164. package/src/components/Link/Link.tsx +0 -42
  165. package/src/components/Link/index.ts +0 -1
  166. package/src/components/LinkList/LinkList.args.ts +0 -193
  167. package/src/components/LinkList/LinkList.props.ts +0 -52
  168. package/src/components/LinkList/LinkList.tsx +0 -59
  169. package/src/components/LinkList/index.ts +0 -1
  170. package/src/components/List/List.args.ts +0 -34
  171. package/src/components/List/List.props.ts +0 -37
  172. package/src/components/List/List.tsx +0 -41
  173. package/src/components/List/ListCtx.ts +0 -7
  174. package/src/components/List/ListItem.props.ts +0 -25
  175. package/src/components/List/ListItem.tsx +0 -22
  176. package/src/components/List/index.ts +0 -2
  177. package/src/components/Loading/Loading.args.ts +0 -55
  178. package/src/components/Loading/Loading.props.ts +0 -23
  179. package/src/components/Loading/Loading.tsx +0 -24
  180. package/src/components/Loading/index.ts +0 -1
  181. package/src/components/LocalNav/LocalNav.args.ts +0 -64
  182. package/src/components/LocalNav/LocalNav.props.ts +0 -56
  183. package/src/components/LocalNav/LocalNav.tsx +0 -181
  184. package/src/components/LocalNav/index.ts +0 -1
  185. package/src/components/Logo/Logo.args.ts +0 -45
  186. package/src/components/Logo/Logo.props.ts +0 -67
  187. package/src/components/Logo/Logo.tsx +0 -247
  188. package/src/components/Logo/index.ts +0 -1
  189. package/src/components/LogoGrid/LogoGrid.args.ts +0 -50
  190. package/src/components/LogoGrid/LogoGrid.props.ts +0 -28
  191. package/src/components/LogoGrid/LogoGrid.tsx +0 -53
  192. package/src/components/LogoGrid/index.ts +0 -1
  193. package/src/components/Navigation/Navigation.args.ts +0 -113
  194. package/src/components/Navigation/Navigation.props.ts +0 -120
  195. package/src/components/Navigation/Navigation.tsx +0 -246
  196. package/src/components/Navigation/index.ts +0 -1
  197. package/src/components/Notification/Notification.args.ts +0 -157
  198. package/src/components/Notification/Notification.props.ts +0 -67
  199. package/src/components/Notification/Notification.tsx +0 -78
  200. package/src/components/Notification/index.ts +0 -1
  201. package/src/components/NumberPicker/NumberPicker.args.ts +0 -50
  202. package/src/components/NumberPicker/NumberPicker.props.ts +0 -26
  203. package/src/components/NumberPicker/NumberPicker.tsx +0 -88
  204. package/src/components/NumberPicker/index.ts +0 -1
  205. package/src/components/Pagination/Pagination.args.ts +0 -43
  206. package/src/components/Pagination/Pagination.props.ts +0 -66
  207. package/src/components/Pagination/Pagination.tsx +0 -115
  208. package/src/components/Pagination/index.ts +0 -1
  209. package/src/components/Profile/Profile.args.ts +0 -58
  210. package/src/components/Profile/Profile.props.ts +0 -55
  211. package/src/components/Profile/Profile.tsx +0 -51
  212. package/src/components/Profile/index.ts +0 -1
  213. package/src/components/Radio/Radio.args.ts +0 -15
  214. package/src/components/Radio/Radio.props.ts +0 -6
  215. package/src/components/Radio/Radio.tsx +0 -102
  216. package/src/components/Radio/index.ts +0 -2
  217. package/src/components/ReadMore/ReadMore.args.ts +0 -23
  218. package/src/components/ReadMore/ReadMore.props.ts +0 -38
  219. package/src/components/ReadMore/ReadMore.tsx +0 -55
  220. package/src/components/ReadMore/index.ts +0 -1
  221. package/src/components/RichText/RichText.props.ts +0 -11
  222. package/src/components/RichText/RichText.tsx +0 -22
  223. package/src/components/RichText/index.ts +0 -1
  224. package/src/components/RichText/richText.args.ts +0 -38
  225. package/src/components/SearchField/SearchField.args.ts +0 -73
  226. package/src/components/SearchField/SearchField.props.ts +0 -35
  227. package/src/components/SearchField/SearchField.tsx +0 -83
  228. package/src/components/SearchField/index.ts +0 -1
  229. package/src/components/SocialMedia/SocialMedia.args.ts +0 -54
  230. package/src/components/SocialMedia/SocialMedia.props.ts +0 -45
  231. package/src/components/SocialMedia/SocialMedia.tsx +0 -46
  232. package/src/components/SocialMedia/index.ts +0 -3
  233. package/src/components/TableOfContents/TableOfContents.args.ts +0 -35
  234. package/src/components/TableOfContents/TableOfContents.props.ts +0 -23
  235. package/src/components/TableOfContents/TableOfContents.tsx +0 -32
  236. package/src/components/TableOfContents/index.ts +0 -1
  237. package/src/components/Tabs/Tabs.args.tsx +0 -201
  238. package/src/components/Tabs/Tabs.props.ts +0 -13
  239. package/src/components/Tabs/Tabs.tsx +0 -60
  240. package/src/components/Tabs/index.ts +0 -1
  241. package/src/components/Tag/Tag.args.ts +0 -15
  242. package/src/components/Tag/Tag.props.ts +0 -34
  243. package/src/components/Tag/Tag.tsx +0 -104
  244. package/src/components/Tag/TagCtx.ts +0 -4
  245. package/src/components/Tag/TagSet.args.ts +0 -37
  246. package/src/components/Tag/TagSet.props.ts +0 -37
  247. package/src/components/Tag/TagSet.tsx +0 -61
  248. package/src/components/Tag/index.ts +0 -2
  249. package/src/components/TextInput/TextInput.args.ts +0 -75
  250. package/src/components/TextInput/TextInput.props.ts +0 -20
  251. package/src/components/TextInput/TextInput.tsx +0 -71
  252. package/src/components/TextInput/index.ts +0 -2
  253. package/src/components/Textarea/Textarea.args.ts +0 -34
  254. package/src/components/Textarea/Textarea.props.ts +0 -45
  255. package/src/components/Textarea/Textarea.tsx +0 -52
  256. package/src/components/Textarea/index.ts +0 -3
  257. package/src/components/Toggle/Toggle.args.ts +0 -62
  258. package/src/components/Toggle/Toggle.props.ts +0 -27
  259. package/src/components/Toggle/Toggle.tsx +0 -85
  260. package/src/components/Toggle/index.ts +0 -3
  261. package/src/components/Tooltip/Tooltip.args.ts +0 -39
  262. package/src/components/Tooltip/Tooltip.props.ts +0 -38
  263. package/src/components/Tooltip/Tooltip.tsx +0 -119
  264. package/src/components/Tooltip/index.ts +0 -1
  265. package/src/components/Video/Video.args.ts +0 -47
  266. package/src/components/Video/Video.props.ts +0 -35
  267. package/src/components/Video/Video.tsx +0 -34
  268. package/src/components/Video/VideoPlayer.props.ts +0 -51
  269. package/src/components/Video/VideoPlayer.tsx +0 -71
  270. package/src/components/Video/index.ts +0 -1
  271. package/src/components/Video/media-file-poster.jpg +0 -0
  272. package/src/components/index.ts +0 -46
  273. package/src/declarations.d.ts +0 -36
  274. package/src/hooks/index.ts +0 -2
  275. package/src/hooks/useGlobalSettings.ts +0 -13
  276. package/src/hooks/usePrevious.ts +0 -15
  277. package/src/hooks/useVideoPlayer.ts +0 -85
  278. package/src/index.ts +0 -1
  279. package/src/types/forms.args.ts +0 -288
  280. package/src/types/index.ts +0 -139
  281. package/src/types/temp.d.ts +0 -9
  282. package/src/utils/checkArrayDuplicates.ts +0 -3
  283. package/src/utils/createChainedFunction.ts +0 -31
  284. package/src/utils/getDefaultDimensionValue.ts +0 -28
  285. package/src/utils/hoursMinutesSeconds.ts +0 -8
  286. package/src/utils/index.ts +0 -6
  287. package/src/utils/transitionEndListener.ts +0 -29
  288. package/src/utils/triggerBrowserReflow.ts +0 -4
  289. package/tsconfig.build.json +0 -19
  290. package/tsconfig.json +0 -8
@@ -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: "Why we need greater social justice",
27
- eyebrow: "Podcast",
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: "light",
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: "Why we need greater social justice",
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: "20 September 2022",
60
+ human: "25 September 2022",
46
61
  unix: "1670389200",
47
62
  },
48
- theme: "light",
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: "two",
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: "Global employment growth down by half in 2023",
69
- 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
+ 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: "Global employment growth down by half in 2023",
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 in 2023",
87
- 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.",
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: "Global employment growth down by half in 2023",
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: "four",
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 G7 call to make a just transition to a green economy happen",
115
- eyebrow: "High-level meeting",
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: "two",
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 G7 call to make a just transition to a green economy happen",
184
- eyebrow: "High-level meeting",
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: "ILO welcomes G7 call to make a just transition to a green economy happen",
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 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: "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: "two",
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: "High-level meeting",
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: "ILO welcomes G7 call to make a just transition to a green economy happen",
258
- eyebrow: "High-level meeting",
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: "ILO welcomes G7 call to make a just transition to a green economy happen",
283
- eyebrow: "High-level meeting",
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: "ILO welcomes G7 call to make a just transition to a green economy happen",
308
- eyebrow: "High-level meeting",
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: "8:30 - 12:00 CET | Geneva",
448
+ eventdetails: "7:30 - 12:00 CET | Geneva",
351
449
  },
352
450
  {
353
- title: "Technical meeting on digitalization in the construction sector",
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: "18 March 2023",
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: "8:30 - 12:00 CET | Geneva",
472
+ eventdetails: "11:30 - 12:00 CET | Geneva",
363
473
  },
364
474
  ],
365
475
  type: "detail",
366
- cardCount: "two",
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: "Economic slowdown likely to force workers to accept lower quality jobs",
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: "two",
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: "wide",
404
- eyebrow: "Meeting",
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: "two",
534
+ columns: "one",
474
535
  dataset: {
475
536
  content: {
476
537
  items: [
477
538
  {
478
539
  label: "Date",
479
- copy: "18 March 2023",
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: "wide",
538
- eyebrow: "Meeting",
594
+ size: "standard",
595
+ eyebrow: "Report",
539
596
  image: "/small.jpg",
540
- columns: "two",
597
+ columns: "one",
541
598
  dataset: {
542
599
  content: {
543
600
  items: [
544
601
  {
545
602
  label: "Date",
546
- copy: "18 March 2023",
603
+ copy: "23 March 2023",
547
604
  },
548
605
  {
549
606
  label: "Event type",
550
- copy: "Technical meeting of experts",
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: "wide",
653
+ size: "standard",
605
654
  eyebrow: "Meeting",
606
655
  image: "/small.jpg",
607
- columns: "two",
656
+ columns: "one",
608
657
  dataset: {
609
658
  content: {
610
659
  items: [
611
660
  {
612
661
  label: "Date",
613
- copy: "18 March 2023",
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: "wide",
708
+ size: "standard",
672
709
  eyebrow: "Meeting",
673
710
  image: "/small.jpg",
674
- columns: "two",
711
+ columns: "one",
675
712
  dataset: {
676
713
  content: {
677
714
  items: [
678
715
  {
679
716
  label: "Date",
680
- copy: "18 March 2023",
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: "four",
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();
@@ -6,7 +6,6 @@ import 'tslib';
6
6
  import 'react';
7
7
  import '../../../GlobalCtx-7fb23cfa.js';
8
8
  import '../../List/List.js';
9
- import '../../../ListCtx-da435fdf.js';
10
9
  import '../../List/ListItem.js';
11
10
 
12
11
  const FactlistCardArgs = {
@@ -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}--profile--contents--${theme}` }))] })) }))] })) })));
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 };