@ilo-org/twig 0.3.0 → 0.3.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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @ilo-org/twig@0.3.0 build:lib /home/runner/work/designsystem/designsystem/packages/twig
2
+ > @ilo-org/twig@0.3.1 build:lib /home/runner/work/designsystem/designsystem/packages/twig
3
3
  > node importprefix.js && node importsvgs.js && pnpm output
4
4
 
5
5
  theme prefix added
6
6
 
7
- > @ilo-org/twig@0.3.0 output /home/runner/work/designsystem/designsystem/packages/twig
7
+ > @ilo-org/twig@0.3.1 output /home/runner/work/designsystem/designsystem/packages/twig
8
8
  > node outputtwigs.js
9
9
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @ilo-org/twig
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ee2e53f51]
8
+ - @ilo-org/styles@0.3.4
9
+
3
10
  ## 0.3.0
4
11
 
5
12
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilo-org/twig",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Twig components for the ILO's Design System",
6
6
  "main": "",
@@ -25,7 +25,7 @@
25
25
  "@ilo-org/brand-assets": "0.1.0",
26
26
  "@ilo-org/fonts": "0.1.0",
27
27
  "@ilo-org/icons": "0.1.17",
28
- "@ilo-org/styles": "0.3.3",
28
+ "@ilo-org/styles": "0.3.4",
29
29
  "@ilo-org/themes": "0.1.15",
30
30
  "@ilo-org/utils": "0.0.11"
31
31
  },
@@ -33,8 +33,16 @@ card:
33
33
  image:
34
34
  type: object
35
35
  label: Image
36
- description: Image settings for the card. Only applies to `Graphic Promo` and `Graphic Text` cards. Image can be a string consisting of an image src or an array of objects with `src` and `breakpoint` properties for responsive images.
37
- preview: ""
36
+ description: Image settings for the card. For responsive images, this can be an array of objects with an `src` property pointing to the image file and a `breakpoint` property indicating the minimum viewport width at which the image should be displayed. For static images, this can be a string pointing to the image file.
37
+ preview:
38
+ - breakpoint: 0
39
+ src: "/images/small.jpg"
40
+ - breakpoint: 800
41
+ src: "/images/medium.jpg"
42
+ - breakpoint: 1200
43
+ src: "/images/large.jpg"
44
+ - breakpoint: 1440
45
+ src: "/images/large.jpg"
38
46
  imageAlt:
39
47
  type: string
40
48
  label: Image Alt
@@ -135,7 +143,6 @@ card:
135
143
  date:
136
144
  human: 20 September 2022
137
145
  unix: 1670389200
138
- image: ""
139
146
  link: "https:/www.ilo.org"
140
147
  profile:
141
148
  avatar: "/images/ilo-dg.jpg"
@@ -166,15 +173,6 @@ card:
166
173
  fields:
167
174
  eyebrow: High-level meeting
168
175
  title: "ILO welcomes G7 call to make a just transition to a green economy happen"
169
- image:
170
- - breakpoint: 0
171
- src: "/images/small.jpg"
172
- - breakpoint: 800
173
- src: "/images/medium.jpg"
174
- - breakpoint: 1200
175
- src: "/images/large.jpg"
176
- - breakpoint: 1440
177
- src: "/images/large.jpg"
178
176
  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."
179
177
  linklist:
180
178
  linkgroup:
@@ -206,7 +204,6 @@ card:
206
204
  human: 17 March 2022
207
205
  unix: 1670389200
208
206
  link: "https://www.ilo.org/search?q=graphic"
209
- image: "/images/hero.jpg"
210
207
  linklist:
211
208
  headline: ""
212
209
  linkgroup:
@@ -225,7 +222,6 @@ card:
225
222
  human: 17 March 2022
226
223
  unix: 1670389200
227
224
  link: "https://www.ilo.org"
228
- image: "/images/medium.jpg"
229
225
  profile:
230
226
  eventdetails: "8:30 - 12:00 CET | Geneva"
231
227
  factlist: