@ilo-org/twig 0.10.0 → 0.10.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.10.0 build:lib /home/runner/work/designsystem/designsystem/packages/twig
2
+ > @ilo-org/twig@0.10.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.10.0 output /home/runner/work/designsystem/designsystem/packages/twig
7
+ > @ilo-org/twig@0.10.1 output /home/runner/work/designsystem/designsystem/packages/twig
8
8
  > node outputtwigs.js
9
9
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ilo-org/twig
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ac70147d0: Add a block wrap the modal content so it can be overriden.
8
+
3
9
  ## 0.10.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilo-org/twig",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Twig components for the ILO's Design System",
6
6
  "main": "",
@@ -10,7 +10,9 @@
10
10
  <div class="{{prefix}}--modal--wrapper" aria-modal="true" role="alertdialog">
11
11
  <div class="{{prefix}}--modal--background" role="presentation"></div>
12
12
  <div class="{{prefix}}--modal--contents">
13
- {% include '@components/' ~ component ~ '/' ~ component ~ '.twig' with modaldata %}
13
+ {% block modal_content %}
14
+ {% include '@components/' ~ component ~ '/' ~ component ~ '.twig' with modaldata %}
15
+ {% endblock %}
14
16
  {% include '@components/button/button.twig' with closebutton %}
15
17
  </div>
16
18
  </div>