@ilo-org/twig 1.8.6 → 1.9.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.
Files changed (52) hide show
  1. package/README.md +101 -0
  2. package/dist/components/card_detail/card_detail.twig +8 -1
  3. package/dist/components/dropdown/dropdown.twig +3 -3
  4. package/dist/components/icon/icon.behavior.js +615 -600
  5. package/dist/components/icon/icon.twig +1 -1
  6. package/dist/components/image/image.component.yml +7 -0
  7. package/dist/components/image/image.twig +18 -6
  8. package/dist/components/image/image.wingsuit.yml +7 -0
  9. package/dist/components/tableofcontents/tableofcontents.twig +12 -12
  10. package/dist/components/video/video.twig +1 -1
  11. package/dist/styles/components/accordion.css +1 -1
  12. package/dist/styles/components/blockquote.css +1 -1
  13. package/dist/styles/components/breadcrumb.css +1 -1
  14. package/dist/styles/components/button.css +1 -1
  15. package/dist/styles/components/checkbox.css +1 -1
  16. package/dist/styles/components/contextmenu.css +1 -1
  17. package/dist/styles/components/detailcard.css +1 -1
  18. package/dist/styles/components/dropdown.css +1 -1
  19. package/dist/styles/components/featurecard.css +1 -1
  20. package/dist/styles/components/fieldset.css +1 -1
  21. package/dist/styles/components/file-upload.css +1 -1
  22. package/dist/styles/components/footer.css +1 -1
  23. package/dist/styles/components/formcontrol.css +1 -1
  24. package/dist/styles/components/hero.css +1 -1
  25. package/dist/styles/components/herocard.css +1 -1
  26. package/dist/styles/components/image.css +1 -1
  27. package/dist/styles/components/input.css +1 -1
  28. package/dist/styles/components/languagetoggle.css +1 -1
  29. package/dist/styles/components/linklist.css +1 -1
  30. package/dist/styles/components/multilinkcard.css +1 -1
  31. package/dist/styles/components/navigation.css +1 -1
  32. package/dist/styles/components/notification.css +1 -1
  33. package/dist/styles/components/pagination.css +1 -1
  34. package/dist/styles/components/readmore.css +1 -1
  35. package/dist/styles/components/richtext.css +1 -1
  36. package/dist/styles/components/socialmedia.css +1 -1
  37. package/dist/styles/components/statcard.css +1 -1
  38. package/dist/styles/components/table.css +1 -1
  39. package/dist/styles/components/tableofcontents.css +1 -1
  40. package/dist/styles/components/textarea.css +1 -1
  41. package/dist/styles/components/textinput.css +1 -1
  42. package/dist/styles/components/tooltip.css +1 -1
  43. package/dist/styles/components/video.css +1 -1
  44. package/dist/styles/global.css +1 -1
  45. package/dist/styles/global.css.map +1 -1
  46. package/dist/styles/index.css +4 -2
  47. package/dist/styles/index.css.map +1 -1
  48. package/dist/styles/monorepo.css +4 -2
  49. package/dist/styles/monorepo.css.map +1 -1
  50. package/package.json +16 -17
  51. package/dist/styles/components/credit.css +0 -1
  52. package/dist/styles/components/heading.css +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilo-org/twig",
3
- "version": "1.8.6",
3
+ "version": "1.9.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**/*"
@@ -50,17 +50,17 @@
50
50
  "@rollup/plugin-commonjs": "^23.0.2",
51
51
  "@rollup/plugin-node-resolve": "^15.0.1",
52
52
  "@rollup/plugin-swc": "^0.3.1",
53
- "@storybook/addon-docs": "^8.1.9",
54
- "@storybook/addon-essentials": "^8.1.9",
55
- "@storybook/addon-interactions": "^8.1.9",
56
- "@storybook/addon-links": "^8.1.9",
57
- "@storybook/blocks": "^8.1.9",
58
- "@storybook/builder-vite": "^8.1.9",
59
- "@storybook/html": "^8.1.9",
60
- "@storybook/html-vite": "^8.1.9",
61
- "@storybook/manager-api": "^8.1.9",
62
- "@storybook/test": "^8.1.9",
63
- "@storybook/theming": "^8.1.9",
53
+ "@storybook/addon-docs": "^8.6.4",
54
+ "@storybook/addon-essentials": "^8.6.4",
55
+ "@storybook/addon-interactions": "^8.6.4",
56
+ "@storybook/addon-links": "^8.6.4",
57
+ "@storybook/blocks": "^8.6.4",
58
+ "@storybook/builder-vite": "^8.6.4",
59
+ "@storybook/html": "^8.6.4",
60
+ "@storybook/html-vite": "^8.6.4",
61
+ "@storybook/manager-api": "^8.6.4",
62
+ "@storybook/test": "^8.6.4",
63
+ "@storybook/theming": "^8.6.4",
64
64
  "@swc/core": "^1.7.1",
65
65
  "drupal-attribute": "^1.0.2",
66
66
  "drupal-twig-extensions": "^1.0.0-beta.5",
@@ -69,8 +69,7 @@
69
69
  "react": "^18.3.1",
70
70
  "react-dom": "^18.3.1",
71
71
  "rollup-plugin-copy": "^3.4.0",
72
- "storybook": "^8.1.9",
73
- "storybook-addon-rtl": "^1.0.0",
72
+ "storybook": "^8.6.4",
74
73
  "twig": "^1.16.0",
75
74
  "vite": "^5.3.6",
76
75
  "zod": "^3.23.8",
@@ -82,10 +81,10 @@
82
81
  "video.js": "^7.21.2",
83
82
  "videojs-youtube": "^3.0.1",
84
83
  "@ilo-org/brand-assets": "1.0.1",
85
- "@ilo-org/fonts": "1.0.0",
86
- "@ilo-org/icons": "2.1.0",
84
+ "@ilo-org/fonts": "2.0.0",
85
+ "@ilo-org/icons": "2.2.0",
87
86
  "@ilo-org/maestro": "1.0.1",
88
- "@ilo-org/styles": "1.8.5",
87
+ "@ilo-org/styles": "1.9.0",
89
88
  "@ilo-org/themes": "0.9.1",
90
89
  "@ilo-org/utils": "0.1.1"
91
90
  },
@@ -1 +0,0 @@
1
- @keyframes emptygradient{0%{opacity:1}to{opacity:0}}@keyframes spin{to{-moz-transform:rotate(1turn);-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.ilo--credit{color:#fff;display:inline-block;font-size:11.94px;height:1.2861736334rem;letter-spacing:-.02em;line-height:16.24px;padding:0;position:relative}.ilo--credit--label{background-color:#2d2d2d;padding:4px 8px 4px 12px}.ilo--credit:after{background-position:100% 0;background-repeat:no-repeat;background-size:contain;content:"";height:1.2861736334rem;left:100%;position:absolute;top:-.2143622722rem;width:1.2861736334rem}@media screen and (max-width:1023px){.ilo--credit{width:75%}.ilo--credit--label{bottom:calc(100% + 1px);display:none;left:0;margin-bottom:.6430868167rem;position:absolute}.ilo--credit--label:after{background-position:0 0;background-size:contain;bottom:-.6430868167rem;height:.6430868167rem;left:.32154rem;width:.6430868167rem}.ilo--credit--label:after,.ilo--credit:before{background-repeat:no-repeat;content:"";position:absolute}.ilo--credit:before{background-color:#2d2d2d;background-position:calc(100% - 4px);background-size:.6430868167rem .6430868167rem;height:1.2861736334rem;left:0;top:0;width:1.5541264737rem}.ilo--credit:after{left:1.5541264737rem;top:0}.ilo--credit:hover .ilo--credit--label{display:inline-block}}[dir=rtl] .ilo--credit:after{background-position:0 0;left:auto;right:100%;transform:scaleX(-1)}@media screen and (max-width:1023px){[dir=rtl] .ilo--credit--label{left:auto;right:0}[dir=rtl] .ilo--credit--label:after{background-position:100% 0;left:auto;right:.32154rem}[dir=rtl] .ilo--credit:before{background-position:4px;left:auto;right:0}[dir=rtl] .ilo--credit:after{left:auto;right:1.5541264737rem}}
@@ -1 +0,0 @@
1
- .ilo--h1,.ilo--h2,.ilo--h3,.ilo--h4,.ilo--h5,.ilo--h6{color:inherit;font-family:var(--ilo-fonts-display);font-weight:700}.ilo--h1--default,.ilo--h2--default,.ilo--h3--default,.ilo--h4--default,.ilo--h5--default,.ilo--h6--default{color:#2d2d2d}.ilo--h1--actionable,.ilo--h2--actionable,.ilo--h3--actionable,.ilo--h4--actionable,.ilo--h5--actionable,.ilo--h6--actionable{color:#960a55}.ilo--h1--light,.ilo--h2--light,.ilo--h3--light,.ilo--h4--light,.ilo--h5--light,.ilo--h6--light{color:#fff}.ilo--h1{font-size:45.56px;letter-spacing:-.035em;line-height:52.39px}@media screen and (min-width:610px){.ilo--h1{font-size:56.95px;letter-spacing:-.035em;line-height:65.49px}}.ilo--h2{font-size:36.45px;letter-spacing:-.035em;line-height:43.74px}@media screen and (min-width:610px){.ilo--h2{font-size:45.56px;letter-spacing:-.035em;line-height:52.39px}}.ilo--h3{font-size:29.16px;letter-spacing:-.035em;line-height:36.45px}@media screen and (min-width:610px){.ilo--h3{font-size:36.45px;letter-spacing:-.035em;line-height:43.74px}}.ilo--h4{font-size:23.32px;letter-spacing:-.035em;line-height:29.15px}@media screen and (min-width:610px){.ilo--h4{font-size:29.16px;letter-spacing:-.035em;line-height:36.45px}}.ilo--h5{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px}@media screen and (min-width:610px){.ilo--h5{font-size:23.32px;letter-spacing:-.035em;line-height:29.15px}}.ilo--h6{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px}@media screen and (min-width:610px){.ilo--h6{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px}}