@ilo-org/twig 0.16.3 → 0.17.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 (304) hide show
  1. package/README.md +2 -8
  2. package/dist/components/accordion/accordion.behavior.js +1 -0
  3. package/dist/components/accordion/accordion.css +1 -0
  4. package/dist/components/accordion/accordion.twig +16 -0
  5. package/dist/components/accordion/accordion.wingsuit.yml +77 -0
  6. package/dist/components/accordion-item/accordion-item.twig +22 -0
  7. package/dist/components/breadcrumb/breadcrumb.behavior.js +1 -0
  8. package/dist/components/breadcrumb/breadcrumb.css +1 -0
  9. package/dist/components/breadcrumb/breadcrumb.twig +43 -0
  10. package/dist/components/breadcrumb/breadcrumb.wingsuit.yml +36 -0
  11. package/dist/components/button/button.css +1 -0
  12. package/dist/components/button/button.twig +23 -0
  13. package/dist/components/button/button.wingsuit.yml +114 -0
  14. package/dist/components/callout/callout.behavior.js +1 -0
  15. package/dist/components/callout/callout.css +1 -0
  16. package/dist/components/callout/callout.twig +41 -0
  17. package/dist/components/callout/callout.wingsuit.yml +72 -0
  18. package/dist/components/card/card.css +1 -0
  19. package/dist/components/card/card.twig +24 -0
  20. package/dist/components/card/card.wingsuit.yml +227 -0
  21. package/dist/components/card_data/card_data.twig +101 -0
  22. package/dist/components/card_data/card_data.wingsuit.yml +135 -0
  23. package/dist/components/card_detail/card_detail.twig +37 -0
  24. package/dist/components/card_detail/card_detail.wingsuit.yml +71 -0
  25. package/dist/components/card_factlist/card_factlist.twig +21 -0
  26. package/dist/components/card_factlist/card_factlist.wingsuit.yml +46 -0
  27. package/dist/components/card_feature/card_feature.twig +39 -0
  28. package/dist/components/card_feature/card_feature.wingsuit.yml +80 -0
  29. package/dist/components/card_multilink/card_multilink.twig +45 -0
  30. package/dist/components/card_multilink/card_multilink.wingsuit.yml +91 -0
  31. package/dist/components/card_promo/card_promo.twig +35 -0
  32. package/dist/components/card_promo/card_promo.wingsuit.yml +71 -0
  33. package/dist/components/card_stat/card_stat.twig +24 -0
  34. package/dist/components/card_stat/card_stat.wingsuit.yml +44 -0
  35. package/dist/components/card_text/card_text.twig +35 -0
  36. package/dist/components/card_text/card_text.wingsuit.yml +57 -0
  37. package/dist/components/cardgroup/cardgroup.css +1 -0
  38. package/dist/components/cardgroup/cardgroup.twig +46 -0
  39. package/dist/components/cardgroup/cardgroup.wingsuit.yml +158 -0
  40. package/dist/components/checkbox/checkbox.css +1 -0
  41. package/dist/components/checkbox/checkbox.twig +17 -0
  42. package/dist/components/checkbox/checkbox.wingsuit.yml +83 -0
  43. package/dist/components/container/container.css +1 -0
  44. package/dist/components/contextmenu/contextmenu.css +1 -0
  45. package/dist/components/contextmenu/contextmenu.twig +12 -0
  46. package/dist/components/contextmenu/contextmenu.wingsuit.yml +24 -0
  47. package/dist/components/credit/credit.css +1 -0
  48. package/dist/components/datacard/datacard.css +1 -0
  49. package/dist/components/datepicker/datepicker.css +1 -0
  50. package/dist/components/datepicker/datepicker.twig +20 -0
  51. package/dist/components/datepicker/datepicker.wingsuit.yml +72 -0
  52. package/dist/components/detailcard/detailcard.css +1 -0
  53. package/dist/components/dropdown/dropdown.css +1 -0
  54. package/dist/components/dropdown/dropdown.twig +22 -0
  55. package/dist/components/dropdown/dropdown.wingsuit.yml +100 -0
  56. package/dist/components/empty/empty.css +1 -0
  57. package/dist/components/factlistcard/factlistcard.css +1 -0
  58. package/dist/components/featurecard/featurecard.css +1 -0
  59. package/dist/components/fieldset/fieldset.css +1 -0
  60. package/dist/components/fieldset/fieldset.twig +70 -0
  61. package/dist/components/file-upload/file-upload.css +1 -0
  62. package/dist/components/fileupload/fileupload.behavior.js +1 -0
  63. package/dist/components/fileupload/fileupload.twig +20 -0
  64. package/dist/components/fileupload/fileupload.wingsuit.yml +94 -0
  65. package/dist/components/footer/footer.css +1 -0
  66. package/dist/components/footer/footer.twig +63 -0
  67. package/dist/components/footer/footer.wingsuit.yml +106 -0
  68. package/dist/components/form/form.css +1 -0
  69. package/dist/components/form/form.twig +19 -0
  70. package/dist/components/form/form.wingsuit.yml +205 -0
  71. package/dist/components/formcontrol/formcontrol.css +1 -0
  72. package/dist/components/formcontrol/formcontrol.twig +89 -0
  73. package/dist/components/heading/heading.css +1 -0
  74. package/dist/components/hero/hero.css +1 -0
  75. package/dist/components/hero/hero.twig +65 -0
  76. package/dist/components/hero/hero.wingsuit.yml +182 -0
  77. package/dist/components/herocard/herocard.css +1 -0
  78. package/dist/components/herocard/herocard.twig +30 -0
  79. package/dist/components/herocard/herocard.wingsuit.yml +71 -0
  80. package/dist/components/icon/icon.behavior.js +1 -0
  81. package/dist/components/icon/icon.css +1 -0
  82. package/dist/components/icon/icon.twig +4 -0
  83. package/dist/components/icon/icon.wingsuit.yml +29 -0
  84. package/dist/components/image/image.css +1 -0
  85. package/dist/components/image/image.twig +29 -0
  86. package/dist/components/image/image.wingsuit.yml +57 -0
  87. package/dist/components/input/input.css +1 -0
  88. package/dist/components/input/input.twig +10 -0
  89. package/dist/components/link/link.css +1 -0
  90. package/dist/components/link/link.twig +8 -0
  91. package/dist/components/link/link.wingsuit.yml +36 -0
  92. package/dist/components/linklist/linklist.behavior.js +1 -0
  93. package/dist/components/linklist/linklist.css +1 -0
  94. package/dist/components/linklist/linklist.twig +26 -0
  95. package/dist/components/linklist/linklist.wingsuit.yml +55 -0
  96. package/dist/components/list/list.css +1 -0
  97. package/dist/components/list/list.twig +35 -0
  98. package/dist/components/list/list.wingsuit.yml +60 -0
  99. package/dist/components/list-item/list-item.twig +6 -0
  100. package/dist/components/list-item/list-item.wingsuit.yml +19 -0
  101. package/dist/components/loading/loading.behavior.js +1 -0
  102. package/dist/components/loading/loading.css +1 -0
  103. package/dist/components/loading/loading.twig +8 -0
  104. package/dist/components/loading/loading.wingsuit.yml +39 -0
  105. package/dist/components/localnav/localnav.twig +86 -0
  106. package/dist/components/localnav/localnav.wingsuit.yml +88 -0
  107. package/dist/components/logo/logo.css +1 -0
  108. package/dist/components/logogrid/logogrid.css +1 -0
  109. package/dist/components/logogrid/logogrid.twig +17 -0
  110. package/dist/components/logogrid/logogrid.wingsuit.yml +45 -0
  111. package/dist/components/modal/modal.behavior.js +1 -0
  112. package/dist/components/modal/modal.css +1 -0
  113. package/dist/components/modal/modal.twig +20 -0
  114. package/dist/components/modal/modal.wingsuit.yml +61 -0
  115. package/dist/components/multilinkcard/multilinkcard.css +1 -0
  116. package/dist/components/navigation/navigation.behavior.js +1 -0
  117. package/dist/components/navigation/navigation.css +1 -0
  118. package/dist/components/navigation/navigation.twig +171 -0
  119. package/dist/components/navigation/navigation.wingsuit.yml +126 -0
  120. package/dist/components/notification/notification.behavior.js +1 -0
  121. package/dist/components/notification/notification.css +1 -0
  122. package/dist/components/notification/notification.twig +18 -0
  123. package/dist/components/notification/notification.wingsuit.yml +59 -0
  124. package/dist/components/numberpicker/numberpicker.twig +16 -0
  125. package/dist/components/numberpicker/numberpicker.wingsuit.yml +91 -0
  126. package/dist/components/pagination/pagination.css +1 -0
  127. package/dist/components/pagination/pagination.twig +49 -0
  128. package/dist/components/pagination/pagination.wingsuit.yml +75 -0
  129. package/dist/components/picture/picture.twig +21 -0
  130. package/dist/components/polyfill/polyfill.twig +10 -0
  131. package/dist/components/profile/profile.css +1 -0
  132. package/dist/components/profile/profile.twig +26 -0
  133. package/dist/components/profile/profile.wingsuit.yml +46 -0
  134. package/dist/components/promocard/promocard.css +1 -0
  135. package/dist/components/radio/radio.css +1 -0
  136. package/dist/components/radio/radio.twig +23 -0
  137. package/dist/components/radio/radio.wingsuit.yml +83 -0
  138. package/dist/components/readmore/readmore.behavior.js +1 -0
  139. package/dist/components/readmore/readmore.css +1 -0
  140. package/dist/components/readmore/readmore.twig +16 -0
  141. package/dist/components/readmore/readmore.wingsuit.yml +37 -0
  142. package/dist/components/richtext/richtext.css +1 -0
  143. package/dist/components/richtext/richtext.twig +6 -0
  144. package/dist/components/richtext/richtext.wingsuit.yml +13 -0
  145. package/dist/components/search/search.behavior.js +1 -0
  146. package/dist/components/search/search.twig +31 -0
  147. package/dist/components/search/search.wingsuit.yml +89 -0
  148. package/dist/components/searchfield/searchfield.css +1 -0
  149. package/dist/components/socialmedia/socialmedia.css +1 -0
  150. package/dist/components/socialmedia/socialmedia.twig +17 -0
  151. package/dist/components/socialmedia/socialmedia.wingsuit.yml +59 -0
  152. package/dist/components/statcard/statcard.css +1 -0
  153. package/dist/components/table/table.behavior.js +1 -0
  154. package/dist/components/table/table.css +1 -0
  155. package/dist/components/table/table.twig +39 -0
  156. package/dist/components/table/table.wingsuit.yml +112 -0
  157. package/dist/components/tableofcontents/tableofcontents.behavior.js +1 -0
  158. package/dist/components/tableofcontents/tableofcontents.css +1 -0
  159. package/dist/components/tableofcontents/tableofcontents.twig +47 -0
  160. package/dist/components/tableofcontents/tableofcontents.wingsuit.yml +44 -0
  161. package/dist/components/tabs/tabs.behavior.js +1 -0
  162. package/dist/components/tabs/tabs.css +1 -0
  163. package/dist/components/tabs/tabs.twig +26 -0
  164. package/dist/components/tabs/tabs.wingsuit.yml +169 -0
  165. package/dist/components/tag/tag.behavior.js +1 -0
  166. package/dist/components/tag/tag.css +1 -0
  167. package/dist/components/tag/tag.twig +30 -0
  168. package/dist/components/tag/tag.wingsuit.yml +43 -0
  169. package/dist/components/tags/tags.twig +15 -0
  170. package/dist/components/tags/tags.wingsuit.yml +45 -0
  171. package/dist/components/textarea/textarea.css +1 -0
  172. package/dist/components/textarea/textarea.twig +14 -0
  173. package/dist/components/textarea/textarea.wingsuit.yml +126 -0
  174. package/dist/components/textcard/textcard.css +1 -0
  175. package/dist/components/textinput/textinput.css +1 -0
  176. package/dist/components/textinput/textinput.twig +14 -0
  177. package/dist/components/textinput/textinput.wingsuit.yml +86 -0
  178. package/dist/components/toggle/toggle.css +1 -0
  179. package/dist/components/toggle/toggle.twig +36 -0
  180. package/dist/components/toggle/toggle.wingsuit.yml +94 -0
  181. package/dist/components/tooltip/tooltip.behavior.js +1 -0
  182. package/dist/components/tooltip/tooltip.css +1 -0
  183. package/dist/components/tooltip/tooltip.twig +14 -0
  184. package/dist/components/tooltip/tooltip.wingsuit.yml +53 -0
  185. package/dist/components/video/video.behavior.js +16 -0
  186. package/dist/components/video/video.css +1 -0
  187. package/dist/components/video/video.twig +18 -0
  188. package/dist/components/video/video.wingsuit.yml +82 -0
  189. package/dist/components/videoplayer/videoplayer.twig +8 -0
  190. package/dist/global/styles.css +2 -0
  191. package/package.json +46 -17
  192. package/src/patterns/components/accordion/accordion-item.twig +1 -1
  193. package/src/patterns/components/accordion/accordion.wingsuit.yml +2 -3
  194. package/src/patterns/components/breadcrumb/breadcrumb.twig +1 -1
  195. package/src/patterns/components/button/button.wingsuit.yml +8 -8
  196. package/src/patterns/components/callout/callout.wingsuit.yml +6 -6
  197. package/src/patterns/components/card/card.wingsuit.yml +10 -11
  198. package/src/patterns/components/card_detail/card_detail.wingsuit.yml +3 -3
  199. package/src/patterns/components/card_feature/card_feature.wingsuit.yml +3 -3
  200. package/src/patterns/components/card_multilink/card_multilink.wingsuit.yml +3 -3
  201. package/src/patterns/components/card_promo/card_promo.wingsuit.yml +3 -3
  202. package/src/patterns/components/cardgroup/cardgroup.wingsuit.yml +3 -3
  203. package/src/patterns/components/datepicker/datepicker.wingsuit.yml +1 -0
  204. package/src/patterns/components/fileupload/fileupload.wingsuit.yml +3 -3
  205. package/src/patterns/components/herocard/herocard.wingsuit.yml +2 -2
  206. package/src/patterns/components/icon/icon.wingsuit.yml +2 -2
  207. package/src/patterns/components/image/image.wingsuit.yml +3 -3
  208. package/src/patterns/components/list/list-item.twig +2 -2
  209. package/src/patterns/components/list/list.twig +34 -28
  210. package/src/patterns/components/list/list.wingsuit.yml +20 -9
  211. package/src/patterns/components/pagination/pagination.wingsuit.yml +4 -2
  212. package/src/patterns/components/readmore/readmore.twig +1 -1
  213. package/src/patterns/components/readmore/readmore.wingsuit.yml +3 -3
  214. package/src/patterns/components/richtext/richtext.twig +1 -1
  215. package/src/patterns/components/table/table.twig +2 -2
  216. package/src/patterns/components/table/table.wingsuit.yml +6 -6
  217. package/src/patterns/components/tags/tag.wingsuit.yml +3 -3
  218. package/src/patterns/components/tags/tags.wingsuit.yml +4 -4
  219. package/src/patterns/components/textarea/textarea.wingsuit.yml +2 -2
  220. package/src/patterns/components/tooltip/tooltip.twig +1 -1
  221. package/src/patterns/components/tooltip/tooltip.wingsuit.yml +2 -2
  222. package/.browserslistrc +0 -4
  223. package/.eslintrc.js +0 -25
  224. package/.stylelintignore +0 -9
  225. package/.stylelintrc +0 -19
  226. package/.turbo/turbo-build:lib.log +0 -9
  227. package/CHANGELOG.md +0 -1008
  228. package/apps/storybook/assets.js +0 -10
  229. package/apps/storybook/config/prefix.yml +0 -1
  230. package/apps/storybook/main.js +0 -27
  231. package/apps/storybook/manager-head.html +0 -65
  232. package/apps/storybook/manager.js +0 -7
  233. package/apps/storybook/patterns/colors.stories.mdx +0 -23
  234. package/apps/storybook/patterns/intro.stories.mdx +0 -184
  235. package/apps/storybook/patterns/typeset.stories.mdx +0 -32
  236. package/apps/storybook/patterns/welcome.stories.mdx +0 -62
  237. package/apps/storybook/preview-body.html +0 -4
  238. package/apps/storybook/preview-head.html +0 -5
  239. package/apps/storybook/preview.js +0 -36
  240. package/apps/storybook/styles.scss +0 -25
  241. package/apps/storybook/theme.js +0 -46
  242. package/babel.config.js +0 -16
  243. package/images/add.svg +0 -1
  244. package/images/arrow.svg +0 -1
  245. package/images/arrowleft.svg +0 -1
  246. package/images/arrowright.svg +0 -1
  247. package/images/breadcrumbdivider.svg +0 -1
  248. package/images/breadcrumbdividerrtl.svg +0 -1
  249. package/images/burger.svg +0 -1
  250. package/images/checkmark.svg +0 -1
  251. package/images/close.svg +0 -1
  252. package/images/copyright.svg +0 -1
  253. package/images/doublearrow.svg +0 -1
  254. package/images/elipsis.svg +0 -1
  255. package/images/equilateraltriangle.svg +0 -1
  256. package/images/error.svg +0 -1
  257. package/images/facebook.svg +0 -1
  258. package/images/favicon.ico +0 -0
  259. package/images/flickr.svg +0 -1
  260. package/images/footertriangle.svg +0 -1
  261. package/images/fullscreen.svg +0 -1
  262. package/images/global.svg +0 -1
  263. package/images/halfsquaretriangle.svg +0 -1
  264. package/images/hero.jpg +0 -0
  265. package/images/home.svg +0 -1
  266. package/images/ilo-dg.jpg +0 -0
  267. package/images/ilo-headquarters.jpg +0 -0
  268. package/images/info.svg +0 -1
  269. package/images/instagram.svg +0 -1
  270. package/images/large.jpg +0 -0
  271. package/images/linkedin.svg +0 -1
  272. package/images/listarrow.svg +0 -1
  273. package/images/listarrowreverse.svg +0 -1
  274. package/images/media-file-poster.jpg +0 -0
  275. package/images/medium.jpg +0 -0
  276. package/images/minus.svg +0 -1
  277. package/images/muted.svg +0 -1
  278. package/images/paginationarrow.svg +0 -1
  279. package/images/pause.svg +0 -1
  280. package/images/play.svg +0 -1
  281. package/images/publication.jpg +0 -0
  282. package/images/quote.svg +0 -1
  283. package/images/scalenerighttriangle.svg +0 -1
  284. package/images/scalenerighttrianglereverse.svg +0 -1
  285. package/images/search.svg +0 -1
  286. package/images/small.jpg +0 -0
  287. package/images/stemarrow.svg +0 -1
  288. package/images/success.svg +0 -1
  289. package/images/tiktok.svg +0 -1
  290. package/images/triangle.svg +0 -1
  291. package/images/triangledecoration.svg +0 -1
  292. package/images/trianglereverse.svg +0 -1
  293. package/images/twitter.svg +0 -1
  294. package/images/video-example.mp4 +0 -0
  295. package/images/volume.svg +0 -1
  296. package/images/warning.svg +0 -1
  297. package/images/youtube-video-poster.avif +0 -0
  298. package/images/youtube.svg +0 -1
  299. package/importprefix.js +0 -20
  300. package/importsvgs.js +0 -5
  301. package/jest.config.js +0 -18
  302. package/outputtwigs.js +0 -57
  303. package/postcss.config.js +0 -6
  304. package/wingsuit.config.js +0 -28
package/images/info.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="currentColor" d="M8 0C6.4 0 4.9.5 3.6 1.3c-1.4.9-2.4 2.2-3 3.6C0 6.4-.2 8 .2 9.6c.3 1.6 1.1 3 2.2 4.1 1.1 1.1 2.5 1.9 4.1 2.2s3.2.2 4.6-.5c1.5-.6 2.7-1.6 3.6-2.9.8-1.4 1.3-2.9 1.3-4.5 0-2.1-.8-4.2-2.3-5.7C12.2.8 10.1 0 8 0zm0 14c-1.2 0-2.3-.4-3.3-1-1-.7-1.8-1.6-2.2-2.7C2 9.2 1.9 8 2.1 6.8c.2-1.2.8-2.2 1.6-3.1.8-.8 1.9-1.4 3.1-1.6 1.2-.2 2.4-.1 3.5.4s2 1.2 2.7 2.2c.7 1 1 2.1 1 3.3 0 1.6-.6 3.1-1.8 4.2C11.1 13.4 9.6 14 8 14z"/><path fill="currentColor" d="M9 7H7v5h2V7zM8 6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" fill="none"><path fill="currentColor" d="M8.998 1.441c2.136 0 2.389.009 3.233.047.507.006 1.01.1 1.485.276.348.128.662.334.92.6.267.258.472.572.6.92.177.475.27.978.276 1.485.038.844.047 1.1.047 3.233s-.009 2.389-.047 3.233c-.006.507-.1 1.01-.276 1.485a2.644 2.644 0 0 1-1.518 1.518 4.42 4.42 0 0 1-1.485.276c-.844.038-1.1.047-3.233.047s-2.389-.009-3.233-.047a4.42 4.42 0 0 1-1.485-.276 2.472 2.472 0 0 1-.92-.6 2.472 2.472 0 0 1-.6-.92 4.419 4.419 0 0 1-.276-1.485c-.038-.844-.047-1.1-.047-3.233s.009-2.389.047-3.233c.006-.507.1-1.01.276-1.485.129-.348.334-.662.6-.92.258-.266.572-.472.92-.6.476-.177.978-.27 1.485-.276.844-.038 1.1-.047 3.233-.047l-.002.002Zm0-1.441c-2.173 0-2.445.009-3.3.048a5.868 5.868 0 0 0-1.94.372c-.534.2-1.018.516-1.417.923-.407.4-.722.883-.923 1.417a5.868 5.868 0 0 0-.372 1.94C1.007 5.555.998 5.827.998 8s.01 2.445.048 3.3c.014.663.14 1.319.372 1.94.2.534.516 1.018.923 1.417.4.407.883.722 1.417.923a5.868 5.868 0 0 0 1.942.372c.853.039 1.125.048 3.298.048s2.445-.009 3.3-.048a5.867 5.867 0 0 0 1.942-.372 4.093 4.093 0 0 0 2.34-2.34 5.865 5.865 0 0 0 .372-1.942c.039-.853.048-1.125.048-3.3s-.009-2.445-.048-3.3a5.867 5.867 0 0 0-.374-1.938 3.907 3.907 0 0 0-.923-1.417A3.907 3.907 0 0 0 14.238.42a5.868 5.868 0 0 0-1.94-.372C11.443.009 11.171 0 8.998 0Z"/><path fill="currentColor" d="M8.999 3.892a4.108 4.108 0 1 0 0 8.216 4.108 4.108 0 0 0 0-8.216Zm0 6.775a2.667 2.667 0 1 1 0-5.333 2.667 2.667 0 0 1 0 5.333ZM13.269 4.69a.96.96 0 1 0 0-1.92.96.96 0 0 0 0 1.92Z"/></svg>
package/images/large.jpg DELETED
Binary file
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentColor" d="M15.3321 0.00136665H0.667919C0.578862 -0.00452496 0.489574 0.00867804 0.406033 0.0400916C0.322492 0.0715052 0.246626 0.120404 0.183515 0.183515C0.120404 0.246626 0.0715052 0.322492 0.0400916 0.406033C0.00867804 0.489574 -0.00452496 0.578862 0.00136665 0.667919V15.3321C-0.00452496 15.4211 0.00867804 15.5104 0.0400916 15.594C0.0715052 15.6775 0.120404 15.7534 0.183515 15.8165C0.246626 15.8796 0.322492 15.9285 0.406033 15.9599C0.489574 15.9913 0.578862 16.0045 0.667919 15.9986H15.3321C15.4211 16.0045 15.5104 15.9913 15.594 15.9599C15.6775 15.9285 15.7534 15.8796 15.8165 15.8165C15.8796 15.7534 15.9285 15.6775 15.9599 15.594C15.9913 15.5104 16.0045 15.4211 15.9986 15.3321V0.667919C16.0045 0.578862 15.9913 0.489574 15.9599 0.406033C15.9285 0.322492 15.8796 0.246626 15.8165 0.183515C15.7534 0.120404 15.6775 0.0715052 15.594 0.0400916C15.5104 0.00867804 15.4211 -0.00452496 15.3321 0.00136665ZM4.73389 13.6657H2.40096V6.00034H4.80055V13.6657H4.73389ZM3.5341 4.93386C3.25725 4.93386 2.98662 4.85176 2.75643 4.69796C2.52624 4.54415 2.34683 4.32553 2.24089 4.06976C2.13494 3.81399 2.10722 3.53254 2.16123 3.26102C2.21524 2.98949 2.34856 2.74008 2.54432 2.54432C2.74008 2.34856 2.98949 2.21524 3.26102 2.16123C3.53254 2.10722 3.81399 2.13494 4.06976 2.24089C4.32553 2.34683 4.54415 2.52624 4.69796 2.75643C4.85176 2.98662 4.93386 3.25725 4.93386 3.5341C4.93843 3.71916 4.90535 3.90323 4.83662 4.07512C4.7679 4.24702 4.66496 4.40315 4.53406 4.53406C4.40315 4.66496 4.24702 4.7679 4.07512 4.83662C3.90323 4.90535 3.71916 4.93843 3.5341 4.93386ZM13.6657 13.6657H11.2661V9.933C11.2661 9.06648 11.2661 7.93334 10.0663 7.93334C8.86652 7.93334 8.66655 8.86652 8.66655 9.86635V13.6657H6.26696V6.00034H8.53324V7.06683C8.76578 6.67929 9.09982 6.36269 9.49925 6.15123C9.89867 5.93976 10.3483 5.84149 10.7995 5.86703C13.1991 5.86703 13.6657 7.46676 13.6657 9.53307V13.6657Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 12.4"><path fill="currentColor" d="M10.8,6.4L0,0.4v12L10.8,6.4z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 12.4"><path d="M10.8,12.4v-12L0,6.4L10.8,12.4z"/></svg>
Binary file
package/images/medium.jpg DELETED
Binary file
package/images/minus.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M18 11H6v2h12v-2Z"/></svg>
package/images/muted.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M12.0447 15.7833L16.5999 19.1998C16.7173 19.2885 16.8586 19.3332 16.9999 19.3332 17.1012 19.3332 17.2039 19.3098 17.2979 19.2632 17.5239 19.1499 17.6666 18.9192 17.6666 18.6665V10.1614L12.0447 15.7833zM5.1955 19.8045C5.32549 19.9345 5.49616 19.9998 5.66682 19.9998 5.83748 19.9998 6.00815 19.9345 6.13814 19.8045L20.8045 5.13814C21.0652 4.87748 21.0652 4.45616 20.8045 4.1955 20.5438 3.93483 20.1225 3.93483 19.8619 4.1955L17.6666 6.39079V5.33347C17.6666 5.08081 17.5239 4.85015 17.2979 4.73682 17.0726 4.62549 16.8019 4.64882 16.5999 4.80015L11.4447 8.66674H6.33347C5.96481 8.66674 5.66682 8.96473 5.66682 9.33339V14.6666C5.66682 15.0353 5.96481 15.3333 6.33347 15.3333H8.72409L5.1955 18.8619C4.93483 19.1225 4.93483 19.5438 5.1955 19.8045z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 16"><path fill="currentColor" d="M9.77914 8L1.77915 16L0.220704 14.5455L6.76616 8L0.220703 1.45455L1.77914 0L9.77914 8Z"/></svg>
package/images/pause.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M3 2H9V22H3V2zM15 2H21V22H15V2z"/></svg>
package/images/play.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M22 11.9999L4 2V22L22 11.9999Z"/></svg>
Binary file
package/images/quote.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 65 48"><path fill="currentColor" d="M38.6881 0V18.9628C38.6881 33.5969 48.2619 45.335 61.7407 48L64.3055 42.4852C58.0667 40.1284 54.0539 31.3402 54.0539 25.6637H64.3055V0H38.6881ZM-7.62939e-06 0V18.9628C-7.62939e-06 33.5969 9.62001 45.3427 23.1065 48L25.6637 42.4852C19.4095 40.1284 15.3967 31.3325 15.3967 25.6637H25.6175V0H-7.62939e-06Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 22 12"><path fill="currentColor" d="M0.307453 12L22 0V12H0.307453Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 12"><path fill="currentColor" d="M0.3,12V0L22,12H0.3z"/></svg>
package/images/search.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M16.7068 15.257C17.6255 14.0506 18.1179 12.5734 18.1068 11.057C18.1201 10.1294 17.9488 9.20838 17.603 8.34753C17.2571 7.48667 16.7436 6.70315 16.0923 6.04251C15.4409 5.38187 14.6648 4.8573 13.8089 4.49928C12.9531 4.14126 12.0346 3.95694 11.1068 3.95703C9.2238 3.95703 7.41789 4.70506 6.08638 6.03657C4.75487 7.36808 4.00684 9.17399 4.00684 11.057C4.00684 12.9401 4.75487 14.746 6.08638 16.0775C7.41789 17.409 9.2238 18.157 11.1068 18.157C12.6258 18.1846 14.1082 17.6904 15.3068 16.757L18.3068 19.757C18.4938 19.9403 18.7451 20.0429 19.0068 20.0429C19.2686 20.0429 19.5199 19.9403 19.7068 19.757C19.8901 19.5701 19.9927 19.3188 19.9927 19.057C19.9927 18.7953 19.8901 18.544 19.7068 18.357L16.7068 15.257ZM11.1068 16.057C10.4419 16.0703 9.78091 15.9508 9.16269 15.7055C8.54448 15.4602 7.98142 15.094 7.50648 14.6284C7.03154 14.1628 6.65428 13.6071 6.39677 12.9938C6.13927 12.3806 6.0067 11.7221 6.00684 11.057C6.00684 9.70443 6.54416 8.40722 7.50059 7.45079C8.45703 6.49435 9.75423 5.95703 11.1068 5.95703C12.4594 5.95703 13.7566 6.49435 14.7131 7.45079C15.6695 8.40722 16.2068 9.70443 16.2068 11.057C16.207 11.7221 16.0744 12.3806 15.8169 12.9938C15.5594 13.6071 15.1821 14.1628 14.7072 14.6284C14.2323 15.094 13.6692 15.4602 13.051 15.7055C12.4328 15.9508 11.7718 16.0703 11.1068 16.057Z"/></svg>
package/images/small.jpg DELETED
Binary file
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M18 13.1643L16.7463 11.9106L12.8955 15.7613V4.83594H11.1045V15.7613L7.25373 11.9106L6 13.1643L12 19.1643L18 13.1643Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentColor" d="M8 0C6.41775 0 4.87103 0.469192 3.55544 1.34824C2.23985 2.22729 1.21447 3.47672 0.608967 4.93853C0.00346625 6.40034 -0.15496 8.00887 0.153721 9.56072C0.462403 11.1126 1.22433 12.538 2.34315 13.6569C3.46197 14.7757 4.88743 15.5376 6.43928 15.8463C7.99113 16.155 9.59966 15.9965 11.0615 15.391C12.5233 14.7855 13.7727 13.7602 14.6518 12.4446C15.5308 11.129 16 9.58225 16 8C16 5.87827 15.1571 3.84344 13.6569 2.34315C12.1566 0.842855 10.1217 0 8 0V0ZM7 11.4L3.6 8L5 6.6L7 8.6L11 4.6L12.4 6L7 11.4Z"/></svg>
package/images/tiktok.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 14 18"><path d="m13.1945 4.73109c-.8021-.17157-1.5284-.59484-2.0731-1.20811-.5446-.61328-.8791-1.38448-.9548-2.2012v-.354182h-2.76677v10.980502c-.00171.4861-.15569.9594-.44031 1.3535-.28461.3941-.68556.6891-1.14648.8436-.46093.1545-.95867.1606-1.42328.0176s-.87274-.428-1.16703-.8149c-.29886-.3934-.46465-.8717-.47332-1.3657s.14023-.9778.4251-1.3815c.28487-.4036.69091-.70601 1.15923-.86333.46833-.15732.97458-.16138 1.44537-.01158v-2.81098c-1.04982-.14512-2.11874.04152-3.05726.53382-.93852.49231-1.69968 1.26565-2.177035 2.21185-.477352.94622-.647012 2.01792-.4852503 3.06532.1617623 1.0474.6468563 2.018 1.3874253 2.7761.70625.7227 1.61181 1.2184 2.60108 1.4241.98928.2056 2.0174.1118 2.95313-.2694.93572-.3813 1.7366-1.0328 2.30041-1.8713s.86499-1.826.86499-2.8364v-5.61074c1.1182.79939 2.4589 1.22803 3.8334 1.22559v-2.74913c-.2707.00033-.5407-.02766-.8055-.08353z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 73 40"><path fill="currentColor" d="M0.7,0L73,40V0H0.7z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 116 64"><path fill="currentColor" d="M116 64L0.306641 0V64H116Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 73 40"><path fill="currentColor" d="M0.7,0v40L73,0L0.7,0z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 14"><path fill="currentColor" d="M16 2.06654C15.4109 2.34447 14.7804 2.5246 14.1333 2.59987C14.8103 2.18143 15.3269 1.54744 15.6 0.799871C14.9662 1.19144 14.2656 1.46265 13.5333 1.59987C13.2304 1.26374 12.8602 0.995069 12.4468 0.811305C12.0333 0.62754 11.5858 0.532789 11.1333 0.533204C10.2675 0.534966 9.43763 0.879698 8.8254 1.49193C8.21316 2.10417 7.86843 2.93404 7.86667 3.79987C7.85257 4.04627 7.87504 4.29339 7.93333 4.53321C6.61791 4.47523 5.33022 4.13577 4.15716 3.53774C2.98411 2.93971 1.95297 2.09702 1.13333 1.06654C0.817783 1.56434 0.655503 2.14392 0.666667 2.7332C0.671269 3.27357 0.807176 3.80471 1.06268 4.28087C1.31818 4.75704 1.68562 5.16394 2.13333 5.46654C1.61599 5.47834 1.10639 5.33935 0.666667 5.06654V5.1332C0.659852 5.88583 0.915814 6.61725 1.39043 7.2014C1.86505 7.78554 2.52859 8.18581 3.26667 8.3332C2.98479 8.41509 2.69345 8.45991 2.4 8.46654C2.1977 8.47738 1.99499 8.45486 1.8 8.39987C1.99454 9.06013 2.39935 9.6388 2.95288 10.0479C3.50641 10.4571 4.17839 10.6743 4.86667 10.6665C3.703 11.5697 2.273 12.062 0.8 12.0665C0.531602 12.0775 0.262882 12.0551 0 11.9999C1.49363 12.9535 3.22789 13.4622 5 13.4665C6.22889 13.4781 7.44776 13.2446 8.58536 12.7797C9.72296 12.3147 10.7565 11.6277 11.6255 10.7587C12.4945 9.88967 13.1815 8.85616 13.6465 7.71856C14.1114 6.58096 14.3449 5.3621 14.3333 4.1332V3.7332C14.9691 3.26412 15.5309 2.70231 16 2.06654Z"/></svg>
Binary file
package/images/volume.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="currentColor" d="M14.633 4.735a.67.67 0 0 0-.698.063L8.78 8.666H5.667A.666.666 0 0 0 5 9.333v5.334c0 .369.298.667.667.667h3.112l5.156 3.867a.663.663 0 0 0 .698.064.668.668 0 0 0 .369-.597V5.332a.667.667 0 0 0-.369-.597ZM17.164 9.171l-.471-.471-.943.943.472.471a2.669 2.669 0 0 1 0 3.771l-.472.472.943.943.471-.472a4.005 4.005 0 0 0 0-5.657Z"/><path fill="currentColor" d="m18.579 6.813-.943.943.471.472a5.341 5.341 0 0 1 0 7.544l-.471.471.943.943.471-.471c2.6-2.6 2.6-6.83 0-9.43l-.471-.472Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 17 16"><path fill="currentColor" d="M16.7971 13.0299L10.4771 1.37994C10.3261 1.08852 10.0885 0.850986 9.7971 0.699942C9.40417 0.489826 8.94416 0.443391 8.51716 0.570741C8.09017 0.69809 7.73075 0.988918 7.5171 1.37994L1.1971 13.0299C0.987446 13.4214 0.941284 13.8799 1.06871 14.3053C1.19613 14.7306 1.48677 15.0882 1.8771 15.2999C2.12717 15.4306 2.40498 15.4992 2.6871 15.4999H15.3071C15.5862 15.5004 15.861 15.4316 16.1071 15.2999C16.3017 15.1978 16.4743 15.0582 16.6149 14.8893C16.7555 14.7203 16.8613 14.5252 16.9263 14.3153C16.9914 14.1053 17.0143 13.8846 16.9939 13.6657C16.9734 13.4469 16.9099 13.2342 16.8071 13.0399L16.7971 13.0299ZM8.9971 13.4999C8.79932 13.4999 8.60598 13.4413 8.44153 13.3314C8.27708 13.2215 8.14891 13.0654 8.07322 12.8826C7.99754 12.6999 7.97773 12.4988 8.01632 12.3049C8.0549 12.1109 8.15014 11.9327 8.29 11.7928C8.42985 11.653 8.60803 11.5577 8.80201 11.5192C8.99599 11.4806 9.19706 11.5004 9.37979 11.5761C9.56251 11.6517 9.71869 11.7799 9.82857 11.9444C9.93845 12.1088 9.9971 12.3022 9.9971 12.4999C9.9971 12.7652 9.89175 13.0195 9.70421 13.207C9.51667 13.3946 9.26232 13.4999 8.9971 13.4999ZM9.9971 9.99994C9.9971 10.1326 9.94442 10.2597 9.85066 10.3535C9.75689 10.4473 9.62971 10.4999 9.4971 10.4999H8.4971C8.36449 10.4999 8.23732 10.4473 8.14355 10.3535C8.04978 10.2597 7.9971 10.1326 7.9971 9.99994V5.99994C7.9971 5.86733 8.04978 5.74016 8.14355 5.64639C8.23732 5.55262 8.36449 5.49994 8.4971 5.49994H9.4971C9.62971 5.49994 9.75689 5.55262 9.85066 5.64639C9.94442 5.74016 9.9971 5.86733 9.9971 5.99994V9.99994Z"/></svg>
Binary file
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 12"><path fill="currentColor" d="M15.8 2.8C15.6 1.5 15 0.6 13.6 0.4C11.4 8.9407e-08 8 0 8 0C8 0 4.6 8.9407e-08 2.4 0.4C1 0.6 0.3 1.5 0.2 2.8C0 4.1 0 6 0 6C0 6 0 7.9 0.2 9.2C0.4 10.5 1 11.4 2.4 11.6C4.6 12 8 12 8 12C8 12 11.4 12 13.6 11.6C15 11.3 15.6 10.5 15.8 9.2C16 7.9 16 6 16 6C16 6 16 4.1 15.8 2.8ZM6 9V3L11 6L6 9Z"/></svg>
package/importprefix.js DELETED
@@ -1,20 +0,0 @@
1
- const theme = require("@ilo-org/themes/tokens/theme/base.json");
2
- const fs = require("fs");
3
- const path = require("node:path");
4
- const filepath = path.join(__dirname, "apps/storybook/config/prefix.yml");
5
- let buffer = new Buffer.from(`prefix: ${theme.themeprefix.value}`);
6
-
7
- fs.open(filepath, "w", function (err, fd) {
8
- if (err) {
9
- console.log("Can't open file");
10
- console.log(err);
11
- } else {
12
- fs.write(fd, buffer, 0, buffer.length, null, function (err) {
13
- if (err) {
14
- console.log("Can't write to file");
15
- } else {
16
- console.log("theme prefix added");
17
- }
18
- });
19
- }
20
- });
package/importsvgs.js DELETED
@@ -1,5 +0,0 @@
1
- const fs = require("fs-extra");
2
- const source = "node_modules/@ilo-org/icons/svg";
3
- const destination = "images";
4
-
5
- fs.copy(source, destination);
package/jest.config.js DELETED
@@ -1,18 +0,0 @@
1
- module.exports = {
2
- projects: ["<rootDir>/source/*/jest.config.js"],
3
-
4
- // Everything below here is used by merging into per-design-system jest config
5
- verbose: true,
6
- testURL: "http://localhost/",
7
- setupFiles: ["<rootDir>/tools/tests/unit/setupJest.js"],
8
- moduleFileExtensions: ["js", "json", "vue"],
9
- moduleNameMapper: {
10
- // Jest doesn't care about styles, twig, images, fonts, etc
11
- "\\.(twig|md|yml|yaml|css|scss|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
12
- "<rootDir>/tools/tests/unit/__mocks__/fileMock.js",
13
- },
14
- transform: {
15
- "^.+\\.js$": "babel-jest",
16
- "^.+\\.vue$": "vue-jest",
17
- },
18
- };
package/outputtwigs.js DELETED
@@ -1,57 +0,0 @@
1
- // The build file for Twig package - this copies the twigs from where Storybook needs them to a more convenient folder for use in a CMS
2
- const fs = require("fs");
3
- const path = require("path");
4
- const theme = require("@ilo-org/themes/tokens/theme/base.json");
5
- let buffer = new Buffer.from(`prefix: ${theme.themeprefix.value}`);
6
- const srcpath = `./src/patterns/components`;
7
-
8
- const checkFolder = async (dir) => {
9
- if (!fs.existsSync(dir)) {
10
- fs.mkdirSync(dir);
11
- }
12
- };
13
-
14
- const traverseDirectory = (directory) => {
15
- let files = fs.readdirSync(directory).filter((file) => {
16
- return file !== ".DS_Store";
17
- });
18
- for (const f in files) {
19
- const file = files[f];
20
- const absolute = path.join(directory, file);
21
- const ext = path.extname(file).toLowerCase();
22
- if (fs.statSync(absolute).isDirectory()) {
23
- traverseDirectory(absolute);
24
- } else {
25
- if (ext === ".twig" || (ext === ".js" && file !== "index.js")) {
26
- let filepath = directory
27
- .replace(`src/`, `dist/`)
28
- .replace("patterns/", "")
29
- .replace(`/${file}`, "");
30
- checkFolder(filepath);
31
- fs.readFile(absolute, "utf8", function (err, filedata) {
32
- let formatted = filedata.replace(/{{prefix}}/g, buffer);
33
- fs.writeFile(
34
- `${path
35
- .dirname(absolute)
36
- .replace(`src/`, `dist/`)
37
- .replace("patterns/", "")}/${file}`,
38
- formatted,
39
- "utf8",
40
- function (err) {
41
- if (err) return console.log(".writeFile", err);
42
- }
43
- );
44
- if (err) return console.log("readFile", err);
45
- });
46
- }
47
- }
48
- }
49
- };
50
-
51
- const processTwigs = async () => {
52
- await checkFolder(`./dist/`);
53
- await checkFolder(`./dist/components/`);
54
- traverseDirectory(srcpath);
55
- };
56
-
57
- processTwigs();
package/postcss.config.js DELETED
@@ -1,6 +0,0 @@
1
- const autoprefixer = require("autoprefixer");
2
-
3
- module.exports = {
4
- syntax: "postcss-scss",
5
- plugins: [autoprefixer],
6
- };
@@ -1,28 +0,0 @@
1
- const namespaces = require("./src/namespaces");
2
-
3
- module.exports = {
4
- presets: ["@wingsuit-designsystem/preset-scss"],
5
- designSystems: {
6
- ilo: {
7
- path: "src",
8
- patternFolder: "patterns",
9
- namespaces,
10
- },
11
- },
12
- apps: {
13
- storybook: {
14
- path: "./apps/storybook",
15
- type: "storybook",
16
- cssMode: "hot",
17
- distFolder: "storybook-static",
18
- designSystem: "ilo",
19
- componentTypes: {
20
- wingsuit_presenter:
21
- "ILO component (UI Pattern) with presentation template",
22
- plain: "Twig only component",
23
- plain_presenter: "Twig only component with presentation template",
24
- presenter: "Presentation template",
25
- },
26
- },
27
- },
28
- };