@ilo-org/twig 0.2.0 → 0.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @ilo-org/twig
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - b65d5c4c1: Various bugfixes
8
+ - 487778036: CHangeset wasn't detected by github
9
+ - ab6c0a1c7: Set all packages to rely on latest fixed version of other internal packages
10
+ - d2b78bb88: Right to left for Profile component
11
+ - dd2b3ece6: YHet another changeset, perhaps something is broken with changesets
12
+ - Updated dependencies [b65d5c4c1]
13
+ - Updated dependencies [487778036]
14
+ - Updated dependencies [ab6c0a1c7]
15
+ - Updated dependencies [d2b78bb88]
16
+ - Updated dependencies [dd2b3ece6]
17
+ - @ilo-org/icons@0.1.6
18
+ - @ilo-org/styles@0.1.6
19
+ - @ilo-org/utils@0.0.2
20
+ - @ilo-org/themes@0.1.6
21
+
3
22
  ## 0.2.0
4
23
 
5
24
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilo-org/twig",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Twig components for the ILO's Design System",
6
6
  "main": "",
@@ -21,10 +21,10 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "@ilo-org/fonts": "0.0.2",
24
- "@ilo-org/icons": "0.1.5",
25
- "@ilo-org/styles": "0.1.5",
26
- "@ilo-org/themes": "0.1.5",
27
- "@ilo-org/utils": "0.0.1",
24
+ "@ilo-org/icons": "0.1.6",
25
+ "@ilo-org/styles": "0.1.6",
26
+ "@ilo-org/themes": "0.1.6",
27
+ "@ilo-org/utils": "0.0.2",
28
28
  "@wingsuit-designsystem/preset-scss": "^1.2.3",
29
29
  "video.js": "^7.19.2"
30
30
  },
@@ -156,7 +156,7 @@ export default class Accordion {
156
156
  collapseSection(element) {
157
157
  element.parentElement
158
158
  .querySelector('.ilo--accordion--button')
159
- .setAttribute(ARIA.EXPANDED, 'true');
159
+ .setAttribute(ARIA.EXPANDED, 'false');
160
160
  element.setAttribute(ARIA.HIDDEN, 'false');
161
161
  element.classList.remove('ilo--accordion--panel--open');
162
162
  }
@@ -171,7 +171,7 @@ export default class Accordion {
171
171
  expandSection(element) {
172
172
  element.parentElement
173
173
  .querySelector('.ilo--accordion--button')
174
- .setAttribute(ARIA.EXPANDED, 'false');
174
+ .setAttribute(ARIA.EXPANDED, 'true');
175
175
  element.setAttribute(ARIA.HIDDEN, 'true');
176
176
  element.classList.add('ilo--accordion--panel--open');
177
177
  }
@@ -1,8 +1,8 @@
1
1
  {#
2
2
  CARD COMPONENT
3
3
  #}
4
- <div class="{{prefix}}--card {{prefix}}--card--{{theme}} {{prefix}}--card--{{variant}}{% if cornercut %} {{prefix}}--card--{{cornercut}}{% endif %}{% if color %} {{prefix}}--card--{{color}}{% endif %}{% if alignment %} {{prefix}}--card--{{alignment}}{% endif %} {% if link %} {{prefix}}--card--action{% endif %}{% if type %}
5
- {{prefix}}--card--{{type}}{% endif %}{% if size %}
4
+ <div class="{{prefix}}--card {{prefix}}--card--{{theme}} {{prefix}}--card--{{variant}}{% if cornercut %} {{prefix}}--card--{{cornercut}}{% endif %}{% if color %} {{prefix}}--card--{{color}}{% endif %}{% if alignment %} {{prefix}}--card--{{alignment}}{% endif %} {% if link %} {{prefix}}--card--action{% endif %}{% if type %}
5
+ {{prefix}}--card--{{type}}{% endif %}{% if size %}
6
6
  {{prefix}}--card--{{size}}{% endif %}">
7
7
  {% if type == "" %}
8
8
  {% set type = variant %}
@@ -91,7 +91,7 @@
91
91
  <div class="{{prefix}}--card--data--content-links">
92
92
  <p class="{{prefix}}--card--data--content-label">{{ dataset.links.headline }}</p>
93
93
  {% for item in dataset.links.items %}
94
- {% include "@components/link/link.twig" with {
94
+ {% include "@components/link/link.twig" with {
95
95
  url: item.url,
96
96
  label: item.label,
97
97
  prefix: prefix,
@@ -40,4 +40,5 @@
40
40
  {% if fserror %}
41
41
  <span class="{{prefix}}--fieldset--error">{{fserror}}</span>
42
42
  {% endif %}
43
+ </div>
43
44
  </fieldset>