@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.
- package/README.md +2 -8
- package/dist/components/accordion/accordion.behavior.js +1 -0
- package/dist/components/accordion/accordion.css +1 -0
- package/dist/components/accordion/accordion.twig +16 -0
- package/dist/components/accordion/accordion.wingsuit.yml +77 -0
- package/dist/components/accordion-item/accordion-item.twig +22 -0
- package/dist/components/breadcrumb/breadcrumb.behavior.js +1 -0
- package/dist/components/breadcrumb/breadcrumb.css +1 -0
- package/dist/components/breadcrumb/breadcrumb.twig +43 -0
- package/dist/components/breadcrumb/breadcrumb.wingsuit.yml +36 -0
- package/dist/components/button/button.css +1 -0
- package/dist/components/button/button.twig +23 -0
- package/dist/components/button/button.wingsuit.yml +114 -0
- package/dist/components/callout/callout.behavior.js +1 -0
- package/dist/components/callout/callout.css +1 -0
- package/dist/components/callout/callout.twig +41 -0
- package/dist/components/callout/callout.wingsuit.yml +72 -0
- package/dist/components/card/card.css +1 -0
- package/dist/components/card/card.twig +24 -0
- package/dist/components/card/card.wingsuit.yml +227 -0
- package/dist/components/card_data/card_data.twig +101 -0
- package/dist/components/card_data/card_data.wingsuit.yml +135 -0
- package/dist/components/card_detail/card_detail.twig +37 -0
- package/dist/components/card_detail/card_detail.wingsuit.yml +71 -0
- package/dist/components/card_factlist/card_factlist.twig +21 -0
- package/dist/components/card_factlist/card_factlist.wingsuit.yml +46 -0
- package/dist/components/card_feature/card_feature.twig +39 -0
- package/dist/components/card_feature/card_feature.wingsuit.yml +80 -0
- package/dist/components/card_multilink/card_multilink.twig +45 -0
- package/dist/components/card_multilink/card_multilink.wingsuit.yml +91 -0
- package/dist/components/card_promo/card_promo.twig +35 -0
- package/dist/components/card_promo/card_promo.wingsuit.yml +71 -0
- package/dist/components/card_stat/card_stat.twig +24 -0
- package/dist/components/card_stat/card_stat.wingsuit.yml +44 -0
- package/dist/components/card_text/card_text.twig +35 -0
- package/dist/components/card_text/card_text.wingsuit.yml +57 -0
- package/dist/components/cardgroup/cardgroup.css +1 -0
- package/dist/components/cardgroup/cardgroup.twig +46 -0
- package/dist/components/cardgroup/cardgroup.wingsuit.yml +158 -0
- package/dist/components/checkbox/checkbox.css +1 -0
- package/dist/components/checkbox/checkbox.twig +17 -0
- package/dist/components/checkbox/checkbox.wingsuit.yml +83 -0
- package/dist/components/container/container.css +1 -0
- package/dist/components/contextmenu/contextmenu.css +1 -0
- package/dist/components/contextmenu/contextmenu.twig +12 -0
- package/dist/components/contextmenu/contextmenu.wingsuit.yml +24 -0
- package/dist/components/credit/credit.css +1 -0
- package/dist/components/datacard/datacard.css +1 -0
- package/dist/components/datepicker/datepicker.css +1 -0
- package/dist/components/datepicker/datepicker.twig +20 -0
- package/dist/components/datepicker/datepicker.wingsuit.yml +72 -0
- package/dist/components/detailcard/detailcard.css +1 -0
- package/dist/components/dropdown/dropdown.css +1 -0
- package/dist/components/dropdown/dropdown.twig +22 -0
- package/dist/components/dropdown/dropdown.wingsuit.yml +100 -0
- package/dist/components/empty/empty.css +1 -0
- package/dist/components/factlistcard/factlistcard.css +1 -0
- package/dist/components/featurecard/featurecard.css +1 -0
- package/dist/components/fieldset/fieldset.css +1 -0
- package/dist/components/fieldset/fieldset.twig +70 -0
- package/dist/components/file-upload/file-upload.css +1 -0
- package/dist/components/fileupload/fileupload.behavior.js +1 -0
- package/dist/components/fileupload/fileupload.twig +20 -0
- package/dist/components/fileupload/fileupload.wingsuit.yml +94 -0
- package/dist/components/footer/footer.css +1 -0
- package/dist/components/footer/footer.twig +63 -0
- package/dist/components/footer/footer.wingsuit.yml +106 -0
- package/dist/components/form/form.css +1 -0
- package/dist/components/form/form.twig +19 -0
- package/dist/components/form/form.wingsuit.yml +205 -0
- package/dist/components/formcontrol/formcontrol.css +1 -0
- package/dist/components/formcontrol/formcontrol.twig +89 -0
- package/dist/components/heading/heading.css +1 -0
- package/dist/components/hero/hero.css +1 -0
- package/dist/components/hero/hero.twig +65 -0
- package/dist/components/hero/hero.wingsuit.yml +182 -0
- package/dist/components/herocard/herocard.css +1 -0
- package/dist/components/herocard/herocard.twig +30 -0
- package/dist/components/herocard/herocard.wingsuit.yml +71 -0
- package/dist/components/icon/icon.behavior.js +1 -0
- package/dist/components/icon/icon.css +1 -0
- package/dist/components/icon/icon.twig +4 -0
- package/dist/components/icon/icon.wingsuit.yml +29 -0
- package/dist/components/image/image.css +1 -0
- package/dist/components/image/image.twig +29 -0
- package/dist/components/image/image.wingsuit.yml +57 -0
- package/dist/components/input/input.css +1 -0
- package/dist/components/input/input.twig +10 -0
- package/dist/components/link/link.css +1 -0
- package/dist/components/link/link.twig +8 -0
- package/dist/components/link/link.wingsuit.yml +36 -0
- package/dist/components/linklist/linklist.behavior.js +1 -0
- package/dist/components/linklist/linklist.css +1 -0
- package/dist/components/linklist/linklist.twig +26 -0
- package/dist/components/linklist/linklist.wingsuit.yml +55 -0
- package/dist/components/list/list.css +1 -0
- package/dist/components/list/list.twig +35 -0
- package/dist/components/list/list.wingsuit.yml +60 -0
- package/dist/components/list-item/list-item.twig +6 -0
- package/dist/components/list-item/list-item.wingsuit.yml +19 -0
- package/dist/components/loading/loading.behavior.js +1 -0
- package/dist/components/loading/loading.css +1 -0
- package/dist/components/loading/loading.twig +8 -0
- package/dist/components/loading/loading.wingsuit.yml +39 -0
- package/dist/components/localnav/localnav.twig +86 -0
- package/dist/components/localnav/localnav.wingsuit.yml +88 -0
- package/dist/components/logo/logo.css +1 -0
- package/dist/components/logogrid/logogrid.css +1 -0
- package/dist/components/logogrid/logogrid.twig +17 -0
- package/dist/components/logogrid/logogrid.wingsuit.yml +45 -0
- package/dist/components/modal/modal.behavior.js +1 -0
- package/dist/components/modal/modal.css +1 -0
- package/dist/components/modal/modal.twig +20 -0
- package/dist/components/modal/modal.wingsuit.yml +61 -0
- package/dist/components/multilinkcard/multilinkcard.css +1 -0
- package/dist/components/navigation/navigation.behavior.js +1 -0
- package/dist/components/navigation/navigation.css +1 -0
- package/dist/components/navigation/navigation.twig +171 -0
- package/dist/components/navigation/navigation.wingsuit.yml +126 -0
- package/dist/components/notification/notification.behavior.js +1 -0
- package/dist/components/notification/notification.css +1 -0
- package/dist/components/notification/notification.twig +18 -0
- package/dist/components/notification/notification.wingsuit.yml +59 -0
- package/dist/components/numberpicker/numberpicker.twig +16 -0
- package/dist/components/numberpicker/numberpicker.wingsuit.yml +91 -0
- package/dist/components/pagination/pagination.css +1 -0
- package/dist/components/pagination/pagination.twig +49 -0
- package/dist/components/pagination/pagination.wingsuit.yml +75 -0
- package/dist/components/picture/picture.twig +21 -0
- package/dist/components/polyfill/polyfill.twig +10 -0
- package/dist/components/profile/profile.css +1 -0
- package/dist/components/profile/profile.twig +26 -0
- package/dist/components/profile/profile.wingsuit.yml +46 -0
- package/dist/components/promocard/promocard.css +1 -0
- package/dist/components/radio/radio.css +1 -0
- package/dist/components/radio/radio.twig +23 -0
- package/dist/components/radio/radio.wingsuit.yml +83 -0
- package/dist/components/readmore/readmore.behavior.js +1 -0
- package/dist/components/readmore/readmore.css +1 -0
- package/dist/components/readmore/readmore.twig +16 -0
- package/dist/components/readmore/readmore.wingsuit.yml +37 -0
- package/dist/components/richtext/richtext.css +1 -0
- package/dist/components/richtext/richtext.twig +6 -0
- package/dist/components/richtext/richtext.wingsuit.yml +13 -0
- package/dist/components/search/search.behavior.js +1 -0
- package/dist/components/search/search.twig +31 -0
- package/dist/components/search/search.wingsuit.yml +89 -0
- package/dist/components/searchfield/searchfield.css +1 -0
- package/dist/components/socialmedia/socialmedia.css +1 -0
- package/dist/components/socialmedia/socialmedia.twig +17 -0
- package/dist/components/socialmedia/socialmedia.wingsuit.yml +59 -0
- package/dist/components/statcard/statcard.css +1 -0
- package/dist/components/table/table.behavior.js +1 -0
- package/dist/components/table/table.css +1 -0
- package/dist/components/table/table.twig +39 -0
- package/dist/components/table/table.wingsuit.yml +112 -0
- package/dist/components/tableofcontents/tableofcontents.behavior.js +1 -0
- package/dist/components/tableofcontents/tableofcontents.css +1 -0
- package/dist/components/tableofcontents/tableofcontents.twig +47 -0
- package/dist/components/tableofcontents/tableofcontents.wingsuit.yml +44 -0
- package/dist/components/tabs/tabs.behavior.js +1 -0
- package/dist/components/tabs/tabs.css +1 -0
- package/dist/components/tabs/tabs.twig +26 -0
- package/dist/components/tabs/tabs.wingsuit.yml +169 -0
- package/dist/components/tag/tag.behavior.js +1 -0
- package/dist/components/tag/tag.css +1 -0
- package/dist/components/tag/tag.twig +30 -0
- package/dist/components/tag/tag.wingsuit.yml +43 -0
- package/dist/components/tags/tags.twig +15 -0
- package/dist/components/tags/tags.wingsuit.yml +45 -0
- package/dist/components/textarea/textarea.css +1 -0
- package/dist/components/textarea/textarea.twig +14 -0
- package/dist/components/textarea/textarea.wingsuit.yml +126 -0
- package/dist/components/textcard/textcard.css +1 -0
- package/dist/components/textinput/textinput.css +1 -0
- package/dist/components/textinput/textinput.twig +14 -0
- package/dist/components/textinput/textinput.wingsuit.yml +86 -0
- package/dist/components/toggle/toggle.css +1 -0
- package/dist/components/toggle/toggle.twig +36 -0
- package/dist/components/toggle/toggle.wingsuit.yml +94 -0
- package/dist/components/tooltip/tooltip.behavior.js +1 -0
- package/dist/components/tooltip/tooltip.css +1 -0
- package/dist/components/tooltip/tooltip.twig +14 -0
- package/dist/components/tooltip/tooltip.wingsuit.yml +53 -0
- package/dist/components/video/video.behavior.js +16 -0
- package/dist/components/video/video.css +1 -0
- package/dist/components/video/video.twig +18 -0
- package/dist/components/video/video.wingsuit.yml +82 -0
- package/dist/components/videoplayer/videoplayer.twig +8 -0
- package/dist/global/styles.css +2 -0
- package/package.json +46 -17
- package/src/patterns/components/accordion/accordion-item.twig +1 -1
- package/src/patterns/components/accordion/accordion.wingsuit.yml +2 -3
- package/src/patterns/components/breadcrumb/breadcrumb.twig +1 -1
- package/src/patterns/components/button/button.wingsuit.yml +8 -8
- package/src/patterns/components/callout/callout.wingsuit.yml +6 -6
- package/src/patterns/components/card/card.wingsuit.yml +10 -11
- package/src/patterns/components/card_detail/card_detail.wingsuit.yml +3 -3
- package/src/patterns/components/card_feature/card_feature.wingsuit.yml +3 -3
- package/src/patterns/components/card_multilink/card_multilink.wingsuit.yml +3 -3
- package/src/patterns/components/card_promo/card_promo.wingsuit.yml +3 -3
- package/src/patterns/components/cardgroup/cardgroup.wingsuit.yml +3 -3
- package/src/patterns/components/datepicker/datepicker.wingsuit.yml +1 -0
- package/src/patterns/components/fileupload/fileupload.wingsuit.yml +3 -3
- package/src/patterns/components/herocard/herocard.wingsuit.yml +2 -2
- package/src/patterns/components/icon/icon.wingsuit.yml +2 -2
- package/src/patterns/components/image/image.wingsuit.yml +3 -3
- package/src/patterns/components/list/list-item.twig +2 -2
- package/src/patterns/components/list/list.twig +34 -28
- package/src/patterns/components/list/list.wingsuit.yml +20 -9
- package/src/patterns/components/pagination/pagination.wingsuit.yml +4 -2
- package/src/patterns/components/readmore/readmore.twig +1 -1
- package/src/patterns/components/readmore/readmore.wingsuit.yml +3 -3
- package/src/patterns/components/richtext/richtext.twig +1 -1
- package/src/patterns/components/table/table.twig +2 -2
- package/src/patterns/components/table/table.wingsuit.yml +6 -6
- package/src/patterns/components/tags/tag.wingsuit.yml +3 -3
- package/src/patterns/components/tags/tags.wingsuit.yml +4 -4
- package/src/patterns/components/textarea/textarea.wingsuit.yml +2 -2
- package/src/patterns/components/tooltip/tooltip.twig +1 -1
- package/src/patterns/components/tooltip/tooltip.wingsuit.yml +2 -2
- package/.browserslistrc +0 -4
- package/.eslintrc.js +0 -25
- package/.stylelintignore +0 -9
- package/.stylelintrc +0 -19
- package/.turbo/turbo-build:lib.log +0 -9
- package/CHANGELOG.md +0 -1008
- package/apps/storybook/assets.js +0 -10
- package/apps/storybook/config/prefix.yml +0 -1
- package/apps/storybook/main.js +0 -27
- package/apps/storybook/manager-head.html +0 -65
- package/apps/storybook/manager.js +0 -7
- package/apps/storybook/patterns/colors.stories.mdx +0 -23
- package/apps/storybook/patterns/intro.stories.mdx +0 -184
- package/apps/storybook/patterns/typeset.stories.mdx +0 -32
- package/apps/storybook/patterns/welcome.stories.mdx +0 -62
- package/apps/storybook/preview-body.html +0 -4
- package/apps/storybook/preview-head.html +0 -5
- package/apps/storybook/preview.js +0 -36
- package/apps/storybook/styles.scss +0 -25
- package/apps/storybook/theme.js +0 -46
- package/babel.config.js +0 -16
- package/images/add.svg +0 -1
- package/images/arrow.svg +0 -1
- package/images/arrowleft.svg +0 -1
- package/images/arrowright.svg +0 -1
- package/images/breadcrumbdivider.svg +0 -1
- package/images/breadcrumbdividerrtl.svg +0 -1
- package/images/burger.svg +0 -1
- package/images/checkmark.svg +0 -1
- package/images/close.svg +0 -1
- package/images/copyright.svg +0 -1
- package/images/doublearrow.svg +0 -1
- package/images/elipsis.svg +0 -1
- package/images/equilateraltriangle.svg +0 -1
- package/images/error.svg +0 -1
- package/images/facebook.svg +0 -1
- package/images/favicon.ico +0 -0
- package/images/flickr.svg +0 -1
- package/images/footertriangle.svg +0 -1
- package/images/fullscreen.svg +0 -1
- package/images/global.svg +0 -1
- package/images/halfsquaretriangle.svg +0 -1
- package/images/hero.jpg +0 -0
- package/images/home.svg +0 -1
- package/images/ilo-dg.jpg +0 -0
- package/images/ilo-headquarters.jpg +0 -0
- package/images/info.svg +0 -1
- package/images/instagram.svg +0 -1
- package/images/large.jpg +0 -0
- package/images/linkedin.svg +0 -1
- package/images/listarrow.svg +0 -1
- package/images/listarrowreverse.svg +0 -1
- package/images/media-file-poster.jpg +0 -0
- package/images/medium.jpg +0 -0
- package/images/minus.svg +0 -1
- package/images/muted.svg +0 -1
- package/images/paginationarrow.svg +0 -1
- package/images/pause.svg +0 -1
- package/images/play.svg +0 -1
- package/images/publication.jpg +0 -0
- package/images/quote.svg +0 -1
- package/images/scalenerighttriangle.svg +0 -1
- package/images/scalenerighttrianglereverse.svg +0 -1
- package/images/search.svg +0 -1
- package/images/small.jpg +0 -0
- package/images/stemarrow.svg +0 -1
- package/images/success.svg +0 -1
- package/images/tiktok.svg +0 -1
- package/images/triangle.svg +0 -1
- package/images/triangledecoration.svg +0 -1
- package/images/trianglereverse.svg +0 -1
- package/images/twitter.svg +0 -1
- package/images/video-example.mp4 +0 -0
- package/images/volume.svg +0 -1
- package/images/warning.svg +0 -1
- package/images/youtube-video-poster.avif +0 -0
- package/images/youtube.svg +0 -1
- package/importprefix.js +0 -20
- package/importsvgs.js +0 -5
- package/jest.config.js +0 -18
- package/outputtwigs.js +0 -57
- package/postcss.config.js +0 -6
- package/wingsuit.config.js +0 -28
package/apps/storybook/assets.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
prefix: ilo
|
package/apps/storybook/main.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
const wingsuitCore = require("@wingsuit-designsystem/core");
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
addons: [
|
|
5
|
-
"@storybook/addon-docs",
|
|
6
|
-
"@storybook/addon-viewport",
|
|
7
|
-
"@storybook/addon-controls",
|
|
8
|
-
"@storybook/addon-links",
|
|
9
|
-
"@storybook/addon-backgrounds",
|
|
10
|
-
"@storybook/addon-postcss",
|
|
11
|
-
"storybook-addon-rtl-direction",
|
|
12
|
-
],
|
|
13
|
-
staticDirs: [
|
|
14
|
-
{
|
|
15
|
-
from: "../../node_modules/@ilo-org/brand-assets/dist/assets/",
|
|
16
|
-
to: "/brand-assets",
|
|
17
|
-
},
|
|
18
|
-
{ from: "../../node_modules/@ilo-org/fonts/font-css", to: "/fonts" },
|
|
19
|
-
],
|
|
20
|
-
webpackFinal: (config) => {
|
|
21
|
-
const final = wingsuitCore.getAppPack(
|
|
22
|
-
wingsuitCore.resolveConfig("storybook"),
|
|
23
|
-
[config]
|
|
24
|
-
);
|
|
25
|
-
return final;
|
|
26
|
-
},
|
|
27
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
<!-- .storybook/manager-head.html -->
|
|
2
|
-
<style>
|
|
3
|
-
@import url("/fonts/fonts-google.css");
|
|
4
|
-
@import url("https://fonts.googleapis.com/css2?family=Fira+Code&display=swap");
|
|
5
|
-
</style>
|
|
6
|
-
|
|
7
|
-
<!-- Canonical URL -->
|
|
8
|
-
|
|
9
|
-
<link href="https://twig.ui.ilo.org" rel="canonical" />
|
|
10
|
-
|
|
11
|
-
<!-- Favicon -->
|
|
12
|
-
<link rel="icon" href="/images/favicon.ico" type="image/x-icon" />
|
|
13
|
-
|
|
14
|
-
<style>
|
|
15
|
-
:root {
|
|
16
|
-
--ilo-white: #fff;
|
|
17
|
-
--ilo-dark-blue: #230050;
|
|
18
|
-
--ilo-light-blue: #ffcd2d;
|
|
19
|
-
--ilo-turquoise: #05d2d2;
|
|
20
|
-
--ilo-purple: #960a55;
|
|
21
|
-
--ilo-light-blue: rgba(235, 245, 253, 1);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
body {
|
|
25
|
-
font-family: "Noto Sans", sans-serif;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
a[id*="overview"] > svg {
|
|
29
|
-
color: var(--ilo-purple);
|
|
30
|
-
font-family: "Overpass", sans-serif;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
a:not[id*="overview"] > svg {
|
|
34
|
-
color: var(--ilo-turquoise);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* Remount component */
|
|
38
|
-
button[title="Remount component"]:hover,
|
|
39
|
-
button[title="Zoom in"]:hover,
|
|
40
|
-
button[title="Zoom out"]:hover,
|
|
41
|
-
button[title="Reset zoom"]:hover,
|
|
42
|
-
button[title="Change the background of the preview"]:hover,
|
|
43
|
-
button[title="Apply a grid to the preview"]:hover,
|
|
44
|
-
button[title="Change the size of the preview"]:hover,
|
|
45
|
-
button[title="Enable measure"]:hover,
|
|
46
|
-
button[title="Apply outlines to the preview"]:hover,
|
|
47
|
-
button[title="Vision simulator"]:hover,
|
|
48
|
-
button[title="Go full screen [F]"]:hover,
|
|
49
|
-
a[title="Open canvas in new tab"]:hover,
|
|
50
|
-
button[title="Copy canvas link"]:hover {
|
|
51
|
-
color: var(--ilo-dark-blue);
|
|
52
|
-
background-color: var(--ilo-light-blue);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
button.sto-1qova3h,
|
|
56
|
-
button.sto-4f61h0,
|
|
57
|
-
button[title="Rotate viewport"]:hover {
|
|
58
|
-
color: var(--ilo-light-blue);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
button.tabbutton:active,
|
|
62
|
-
button.tabbutton:focus {
|
|
63
|
-
border-bottom-color: var(--ilo-light-blue);
|
|
64
|
-
}
|
|
65
|
-
</style>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Meta,
|
|
3
|
-
ColorPalette,
|
|
4
|
-
ColorItem,
|
|
5
|
-
Subtitle,
|
|
6
|
-
} from "@storybook/addon-docs/blocks";
|
|
7
|
-
const colors = require("../../../src/tokens/exports/_colors.scss");
|
|
8
|
-
|
|
9
|
-
<Meta
|
|
10
|
-
title="Tokens/Colors"
|
|
11
|
-
parameters={{ viewMode: "docs", previewTabs: { canvas: { hidden: true } } }}
|
|
12
|
-
/>
|
|
13
|
-
|
|
14
|
-
# Colors
|
|
15
|
-
|
|
16
|
-
<Subtitle>ILO Brand Colors</Subtitle>
|
|
17
|
-
<ColorPalette>
|
|
18
|
-
{Object.keys(colors).map((key) => {
|
|
19
|
-
const color = typeof colors[key] === "string" ? [colors[key]] : colors[key];
|
|
20
|
-
const title = `.${key}`;
|
|
21
|
-
return <ColorItem key={key} title={title} colors={color} />;
|
|
22
|
-
})}
|
|
23
|
-
</ColorPalette>
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas } from "@storybook/addon-docs/blocks";
|
|
2
|
-
import { Badge } from "@storybook/components";
|
|
3
|
-
import { getStorybook, storiesOf } from "@storybook/react";
|
|
4
|
-
import LinkTo from "@storybook/addon-links/react";
|
|
5
|
-
|
|
6
|
-
<Meta
|
|
7
|
-
title="Getting Started"
|
|
8
|
-
parameters={{ viewMode: "docs", previewTabs: { canvas: { hidden: true } } }}
|
|
9
|
-
/>
|
|
10
|
-
|
|
11
|
-
<div style={{ paddingTop: "40px", color: "inherit" }}>
|
|
12
|
-
<h1
|
|
13
|
-
style={{
|
|
14
|
-
fontFamily: "Overpass",
|
|
15
|
-
fontSize: "45.56px",
|
|
16
|
-
fontWeight: "700",
|
|
17
|
-
marginBottom: "40px",
|
|
18
|
-
}}
|
|
19
|
-
>
|
|
20
|
-
Getting Started
|
|
21
|
-
</h1>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
Welcome to the ILO Design System Twig component library. This resource is crafted to assist developers in creating accessible, user-friendly websites for Drupal that with the International Labour Organization's Visual Identity. The library offers a variety of easy-to-use components tailored for these popular platforms, ensuring both compliance with web accessibility standards and a cohesive visual style. Components are responsive and are ready-made for RTL layouts.
|
|
25
|
-
|
|
26
|
-
## Requirements
|
|
27
|
-
|
|
28
|
-
The Design System comprises a series of packages that you can install from the [npm](https://www.npmjs.com/) registry directly into your custom theme. As such, you'll need to have `npm` or similar package manager (`yarn` or `pnpm`) installed in your environment.
|
|
29
|
-
|
|
30
|
-
## Installation
|
|
31
|
-
|
|
32
|
-
You will want to install the latest versions of both `@ilo-org/twig` and `@ilo-org/styles`. The first includes all of the Twig and JavaScript files that you'll need to use the component, whereas the second includes the stylesheets that you'll need to render them.
|
|
33
|
-
|
|
34
|
-
In the root of your custom theme, run the following command:
|
|
35
|
-
|
|
36
|
-
`$ npm i @ilo-org/twig @ilo-org/styles`
|
|
37
|
-
|
|
38
|
-
⚠️ Note that the two libraries are versioned separately so you'll want to make sure that you're always using the latest versions of both to ensure they're both in sync. You should see an installation warning if you try to install incompatible versions.
|
|
39
|
-
|
|
40
|
-
## Usage
|
|
41
|
-
|
|
42
|
-
Now that you have installed the component library, you'll need to expose them so that you can integrate them into your templates.
|
|
43
|
-
|
|
44
|
-
### Bundle JavaScript
|
|
45
|
-
|
|
46
|
-
You'll want to start by moving the components' JavaScript to a distribution folder where you can serve it as static assets. The easiest way to do this is with a JavaScript bundler like [Rollup.js](https://rollupjs.org/). Here's a sample configuration to illustrate.
|
|
47
|
-
|
|
48
|
-
```js
|
|
49
|
-
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
50
|
-
import commonjs from "@rollup/plugin-commonjs";
|
|
51
|
-
import { globSync } from "glob";
|
|
52
|
-
|
|
53
|
-
const designSystemEntries = globSync(
|
|
54
|
-
"node_modules/@ilo-org/twig/dist/components/**"
|
|
55
|
-
);
|
|
56
|
-
|
|
57
|
-
export default () => {
|
|
58
|
-
return designSystemEntries.map((entry) => {
|
|
59
|
-
return {
|
|
60
|
-
input: entry,
|
|
61
|
-
output: {
|
|
62
|
-
dir: "dist/js",
|
|
63
|
-
compact: true,
|
|
64
|
-
format: "umd",
|
|
65
|
-
name: entry.match(/([^\/]+)\.js$/)[1],
|
|
66
|
-
},
|
|
67
|
-
plugins: [nodeResolve(), commonjs()],
|
|
68
|
-
};
|
|
69
|
-
});
|
|
70
|
-
};
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
This will output all of the Components JavaScript files into a `dist/js` directory so you'll have a list of both the component JavaScript and the `Drupal.behavior` declarations that you'll need to attach them to components.
|
|
74
|
-
|
|
75
|
-
```tree
|
|
76
|
-
📦js
|
|
77
|
-
┣ 📜accordion.behavior.js
|
|
78
|
-
┣ 📜accordion.js
|
|
79
|
-
┣ 📜breadcrumb.behavior.js
|
|
80
|
-
┣ 📜breadcrumb.js
|
|
81
|
-
┣ 📜callout.behavior.js
|
|
82
|
-
┣ 📜callout.js
|
|
83
|
-
...
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Bundle CSS
|
|
87
|
-
|
|
88
|
-
The CSS files are available in the 'dist/css' subdirectories:
|
|
89
|
-
|
|
90
|
-
```tree
|
|
91
|
-
📦css
|
|
92
|
-
┣ 📂00-base
|
|
93
|
-
┃ ┣ 📜base.css
|
|
94
|
-
┣ 📂01-paragraphs
|
|
95
|
-
┃ ┣ 📜paragraphs.css
|
|
96
|
-
┃ ┗ 📜breadcrumb.css
|
|
97
|
-
┣ 📂02-templates
|
|
98
|
-
┃ ┣ 📜maintenance-page.css
|
|
99
|
-
...
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Populating the theme.libraries.yml file
|
|
103
|
-
|
|
104
|
-
The theme.libraries.yml should first include the base CSS file:
|
|
105
|
-
|
|
106
|
-
```yaml
|
|
107
|
-
base:
|
|
108
|
-
css:
|
|
109
|
-
theme:
|
|
110
|
-
dist/css/00-base/base.css: {}
|
|
111
|
-
node_modules/@ilo-org/styles/css/global.css: {}
|
|
112
|
-
node_modules/@ilo-org/styles/css/components/container.css: {}
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Then, for each component, you have to declare the CSS file in the theme.libraries.yml file. For example, for the breadcrumb component:
|
|
116
|
-
|
|
117
|
-
```yaml
|
|
118
|
-
breadcrumb:
|
|
119
|
-
css:
|
|
120
|
-
theme:
|
|
121
|
-
dist/css/01-paragraphs/breadcrumb.css: {}
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
With the 'dist' directory in your theme, you have to declare the components in the theme.libraries.yml file. For example, for the breadcrumb component:
|
|
125
|
-
|
|
126
|
-
```yaml
|
|
127
|
-
breadcrumb:
|
|
128
|
-
css:
|
|
129
|
-
theme:
|
|
130
|
-
dist/css/01-paragraphs/breadcrumb.css: {}
|
|
131
|
-
embeds:
|
|
132
|
-
js:
|
|
133
|
-
dist/js/embeds.js: { defer: true }
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
The documentation for the theme.libraries.yml file is available [here](https://www.drupal.org/docs/8/creating-custom-modules/adding-stylesheets-css-and-javascript-js-to-a-drupal-8-module).
|
|
137
|
-
|
|
138
|
-
In the template file of the component, you have to declare the component in the Twig file. For example, for the breadcrumb component:
|
|
139
|
-
|
|
140
|
-
```twig
|
|
141
|
-
{{ attach_library('ilo/breadcrumb') }}
|
|
142
|
-
|
|
143
|
-
{% include '@ilo-org/twig/breadcrumb/breadcrumb.twig' with {
|
|
144
|
-
home: breadcrumb_home,
|
|
145
|
-
links: breadcrumb_links,
|
|
146
|
-
} %}
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
A helper function in your theme.theme file to aggregate all .behavior.js files:
|
|
150
|
-
|
|
151
|
-
```php
|
|
152
|
-
/**
|
|
153
|
-
* Implements hook_library_info_build().
|
|
154
|
-
*
|
|
155
|
-
* Generate libraries for all components if they don't already exist.
|
|
156
|
-
* The library name will mapped be the name of the source CSS / JS file,
|
|
157
|
-
* e.g. site_header.css will be mapped to `{THEME}/site_header`.
|
|
158
|
-
*
|
|
159
|
-
*/
|
|
160
|
-
function theme_library_info_build() {
|
|
161
|
-
// Define libraries based on the components.
|
|
162
|
-
$extensions = ['css'];
|
|
163
|
-
$directory = 'themes/custom/ilo/node_modules/@ilo-org/styles/css/components';
|
|
164
|
-
$css = 'node_modules/@ilo-org/styles/css/components';
|
|
165
|
-
$js = 'dist/js';
|
|
166
|
-
$extensions = array_map('preg_quote', $extensions);
|
|
167
|
-
$extensions = implode('|', $extensions);
|
|
168
|
-
$file_scan = \Drupal::service('file_system')->scanDirectory($directory, "/{$extensions}$/");
|
|
169
|
-
$libraries = [];
|
|
170
|
-
foreach ($file_scan as $file) {
|
|
171
|
-
$libraries[$file->name]['css'] = [
|
|
172
|
-
'component' => [
|
|
173
|
-
$css . '/' . $file->name . '.css' => [],
|
|
174
|
-
],
|
|
175
|
-
];
|
|
176
|
-
if (file_exists('themes/custom/ilo/' . $js . '/' . $file->name . '.behavior.js')) {
|
|
177
|
-
$libraries[$file->name]['js'] = [
|
|
178
|
-
$js . '/' . $file->name . '.behavior.js' => [],
|
|
179
|
-
];
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
return $libraries;
|
|
183
|
-
}
|
|
184
|
-
```
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Meta, Subtitle } from "@storybook/addon-docs/blocks";
|
|
2
|
-
import { Typeset } from "@wingsuit-designsystem/storybook";
|
|
3
|
-
const fontFamilies = require("../../../src/tokens/exports/_font-families.scss");
|
|
4
|
-
const fontHeadingSizes = require("../../../src/tokens/exports/_font-sizes-heading.scss");
|
|
5
|
-
|
|
6
|
-
<Meta
|
|
7
|
-
title="Tokens/Typography"
|
|
8
|
-
parameters={{ viewMode: "docs", previewTabs: { canvas: { hidden: true } } }}
|
|
9
|
-
/>
|
|
10
|
-
|
|
11
|
-
# Typography
|
|
12
|
-
|
|
13
|
-
<Subtitle>Typefaces and font sizes</Subtitle>
|
|
14
|
-
|
|
15
|
-
## Headings (h1-h6)
|
|
16
|
-
|
|
17
|
-
<div>
|
|
18
|
-
{Object.keys(fontFamilies).map((key) => {
|
|
19
|
-
return (
|
|
20
|
-
<div key={key}>
|
|
21
|
-
<Subtitle>
|
|
22
|
-
<b>{key} Font Family:</b> {fontFamilies[key]}
|
|
23
|
-
</Subtitle>
|
|
24
|
-
<Typeset
|
|
25
|
-
fontFamily={fontFamilies[key]}
|
|
26
|
-
classNamePrefix="."
|
|
27
|
-
fontSizes={fontHeadingSizes}
|
|
28
|
-
/>
|
|
29
|
-
</div>
|
|
30
|
-
);
|
|
31
|
-
})}
|
|
32
|
-
</div>
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas } from "@storybook/addon-docs/blocks";
|
|
2
|
-
import { Badge } from "@storybook/components";
|
|
3
|
-
import { getStorybook, storiesOf } from "@storybook/react";
|
|
4
|
-
import LinkTo from "@storybook/addon-links/react";
|
|
5
|
-
|
|
6
|
-
<Meta
|
|
7
|
-
title="Welcome"
|
|
8
|
-
parameters={{ viewMode: "docs", previewTabs: { canvas: { hidden: true } } }}
|
|
9
|
-
/>
|
|
10
|
-
|
|
11
|
-
# ILO Design System
|
|
12
|
-
|
|
13
|
-
## Twig Component Library
|
|
14
|
-
|
|
15
|
-
<div>
|
|
16
|
-
<a
|
|
17
|
-
class="ilo--button ilo--button--large ilo--button--primary optionalclass"
|
|
18
|
-
href="/docs/introduction--page"
|
|
19
|
-
target="true"
|
|
20
|
-
rel="noopener noreferrer"
|
|
21
|
-
style={{ margin: "1rem 20px 0 0" }}
|
|
22
|
-
>
|
|
23
|
-
<span class="link__label">Get started</span>
|
|
24
|
-
</a>
|
|
25
|
-
<a
|
|
26
|
-
class="ilo--button ilo--button--large ilo--button--tertiary optionalclass"
|
|
27
|
-
href="https://brand.ilo.org/designsystem"
|
|
28
|
-
target="true"
|
|
29
|
-
rel="noopener noreferrer"
|
|
30
|
-
style={{ margin: "1rem 20px 0 0" }}
|
|
31
|
-
>
|
|
32
|
-
<span class="link__label">Design Docs</span>
|
|
33
|
-
</a>
|
|
34
|
-
<a
|
|
35
|
-
class="ilo--button ilo--button--large ilo--button--tertiary optionalclass"
|
|
36
|
-
href="https://www.figma.com/file/RRxsfLNxjoypKrfJg1EwJf/ILO-Components-Library?type=design&node-id=34%3A1554&mode=design&t=mMJCQdfOgEz1AsYP-1"
|
|
37
|
-
target="true"
|
|
38
|
-
rel="noopener noreferrer"
|
|
39
|
-
style={{ margin: "1rem 20px 0 0" }}
|
|
40
|
-
>
|
|
41
|
-
<span class="link__label">Figma</span>
|
|
42
|
-
</a>
|
|
43
|
-
<a
|
|
44
|
-
class="ilo--button ilo--button--large ilo--button--tertiary optionalclass"
|
|
45
|
-
href="https://github.com/international-labour-organization/designsystem"
|
|
46
|
-
target="true"
|
|
47
|
-
rel="noopener noreferrer"
|
|
48
|
-
style={{ margin: "1rem 20px 0 0" }}
|
|
49
|
-
>
|
|
50
|
-
<span class="link__label">Follow on Github</span>
|
|
51
|
-
</a>
|
|
52
|
-
|
|
53
|
-
<a
|
|
54
|
-
class="ilo--button ilo--button--large ilo--button--tertiary optionalclass"
|
|
55
|
-
href="https://react.ui.ilo.org"
|
|
56
|
-
target="true"
|
|
57
|
-
rel="noopener noreferrer"
|
|
58
|
-
style={{ margin: "1rem 0 0" }}
|
|
59
|
-
>
|
|
60
|
-
<span class="link__label">ILO Design System for React</span>
|
|
61
|
-
</a>
|
|
62
|
-
</div>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { configure, initJsBehaviors } from "@wingsuit-designsystem/storybook";
|
|
2
|
-
import { addParameters } from "@storybook/react";
|
|
3
|
-
import "./styles.scss";
|
|
4
|
-
|
|
5
|
-
const namespaces = require("../../src/namespaces");
|
|
6
|
-
|
|
7
|
-
initJsBehaviors("Drupal");
|
|
8
|
-
|
|
9
|
-
addParameters({
|
|
10
|
-
viewMode: "docs",
|
|
11
|
-
previewTabs: {
|
|
12
|
-
"storybook/docs/panel": {
|
|
13
|
-
index: 1,
|
|
14
|
-
title: "Documentation",
|
|
15
|
-
},
|
|
16
|
-
canvas: { title: "Canvas", hidden: false },
|
|
17
|
-
},
|
|
18
|
-
options: {
|
|
19
|
-
storySort: {
|
|
20
|
-
method: "alphabetical",
|
|
21
|
-
order: ["Welcome", "Intro", "Tokens", ["Colors", "Typography"]],
|
|
22
|
-
locales: "en-US",
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
configure(
|
|
28
|
-
module,
|
|
29
|
-
[
|
|
30
|
-
require.context("./patterns", true, /\.stories(\.jsx|\.js|\.mdx)$/),
|
|
31
|
-
require.context("wspatterns", true, /\.stories(\.jsx|\.js|\.mdx)$/),
|
|
32
|
-
],
|
|
33
|
-
require.context("./config", false, /\.json|\.ya?ml$/),
|
|
34
|
-
require.context("wspatterns", true, /\.twig$/),
|
|
35
|
-
namespaces
|
|
36
|
-
);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
@import "@ilo-org/themes/build/scss/tokens";
|
|
2
|
-
@import "@ilo-org/styles/scss/monorepo";
|
|
3
|
-
|
|
4
|
-
h1,
|
|
5
|
-
h2,
|
|
6
|
-
h3,
|
|
7
|
-
h4,
|
|
8
|
-
h5 {
|
|
9
|
-
font-family: "Overpass", sans-serif !important;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
button[title="Zoom in"]:hover,
|
|
13
|
-
button[title="Zoom out"]:hover,
|
|
14
|
-
button[title="Reset zoom"]:hover {
|
|
15
|
-
color: $brand-ilo-dark-blue;
|
|
16
|
-
background-color: $brand-ilo-light-blue;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
a[class*="ilo--button"] {
|
|
20
|
-
color: $brand-ilo-dark-blue;
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
color: $brand-ilo-blue;
|
|
24
|
-
}
|
|
25
|
-
}
|
package/apps/storybook/theme.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// .storybook/YourTheme.js
|
|
2
|
-
|
|
3
|
-
import { create } from "@storybook/theming";
|
|
4
|
-
import ilo_logo from "@ilo-org/brand-assets/dist/assets/logo_en_horizontal_blue.svg";
|
|
5
|
-
import brandColors from "@ilo-org/themes/tokens/brand/base.json";
|
|
6
|
-
|
|
7
|
-
const { brand } = brandColors;
|
|
8
|
-
|
|
9
|
-
export default create({
|
|
10
|
-
base: "light",
|
|
11
|
-
brandTitle: "ILO Design System for Twig",
|
|
12
|
-
brandUrl: "https://www.ilo.org/",
|
|
13
|
-
brandImage: ilo_logo,
|
|
14
|
-
brandTarget: "_self",
|
|
15
|
-
|
|
16
|
-
colorPrimary: brand["ilo-dark-blue"].value,
|
|
17
|
-
colorSecondary: brand["ilo-blue"].value,
|
|
18
|
-
|
|
19
|
-
// UI
|
|
20
|
-
appBg: brand["ilo-light-blue"].value,
|
|
21
|
-
appContentBg: brand["ilo-white"].value,
|
|
22
|
-
appBorderColor: brand["ilo-grey-ui"].value,
|
|
23
|
-
appBorderRadius: 0,
|
|
24
|
-
|
|
25
|
-
fontBase: "'Noto Sans', sans-serif",
|
|
26
|
-
fontCode: "'Fira Code', monospace",
|
|
27
|
-
|
|
28
|
-
// Text colors
|
|
29
|
-
textColor: brand["ilo-dark-blue"].value,
|
|
30
|
-
textInverseColor: brand["ilo-white"].value,
|
|
31
|
-
textMutedColor: brand["ilo-grey-accessible"].value,
|
|
32
|
-
|
|
33
|
-
// Toolbar default and active colors
|
|
34
|
-
barTextColor: brand["ilo-white"].value,
|
|
35
|
-
barSelectedColor: brand["ilo-yellow"].value,
|
|
36
|
-
barBg: brand["ilo-dark-blue"].value,
|
|
37
|
-
|
|
38
|
-
buttonBg: brand["ilo-white"].value,
|
|
39
|
-
buttonBorder: brand["ilo-grey-ui"].value,
|
|
40
|
-
booleanBg: brand["ilo-light-blue"].value,
|
|
41
|
-
booleanSelectedBg: brand["ilo-white"].value,
|
|
42
|
-
inputBg: brand["ilo-light-blue"].value,
|
|
43
|
-
inputBorder: brand["ilo-grey-ui"].value,
|
|
44
|
-
inputTextColor: brand["ilo-dark-blue"].value,
|
|
45
|
-
inputBorderRadius: 3,
|
|
46
|
-
});
|
package/babel.config.js
DELETED
package/images/add.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 11H13V6H11V11H6V13H11V18H13V13H18V11Z"/></svg>
|
package/images/arrow.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 16.7791L4 8.77914L5.45455 7.2207L12 13.7662L18.5455 7.2207L20 8.77914L12 16.7791Z"/></svg>
|
package/images/arrowleft.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m7.9 12.5-.2-.2c0-.1-.1-.2-.1-.3s0-.2.1-.3c0-.1.1-.2.2-.2L15.4 4l1 1-7 7 7 7-1 1-7.5-7.5z"/></svg>
|
package/images/arrowright.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="M8.63792 19.9964L7.6499 19.0082L14.6571 11.9999L7.6499 4.99159L8.63792 4.00342L16.1426 11.5023C16.2083 11.5675 16.2604 11.645 16.296 11.7304C16.3316 11.8158 16.3499 11.9074 16.3499 11.9999C16.3499 12.0924 16.3316 12.184 16.296 12.2694C16.2604 12.3548 16.2083 12.4324 16.1426 12.4975L8.63792 19.9964Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 8 16"><path fill="currentColor" d="M1.73149 16L0.613281 15.1855L5.83848 8L0.613281 0.814495L1.73149 0L7.25349 7.59275C7.33987 7.71097 7.38643 7.85359 7.38643 8C7.38643 8.14641 7.33987 8.28903 7.25349 8.40725L1.73149 16Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 16"><path fill="currentColor" d="M0.7,8.4C0.7,8.3,0.6,8.1,0.6,8s0-0.3,0.1-0.4L6.3,0l1.1,0.8L2.2,8l5.2,7.2L6.3,16L0.7,8.4z"/></svg>
|
package/images/burger.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 32 32"><path fill="currentColor" d="M24 8H17.3333 14.6667 8V10.6667H14.6667 17.3333 24V8zM24 14.667H17.3333 14.6667 8V17.3337H14.6667 17.3333 24V14.667zM24 21.333H17.3333 14.6667 8V23.9997H14.6667 17.3333 24V21.333z"/></svg>
|
package/images/checkmark.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 13 10"><path fill="currentColor" d="M4.375 6.25L1.875 3.75L0 5.625L4.375 10L12.5 1.875L10.625 0L4.375 6.25Z"/></svg>
|
package/images/close.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.9497 15.5356L13.4142 12L16.9497 8.46451L15.5355 7.05029L12 10.5858L8.46446 7.05029L7.05025 8.46451L10.5858 12L7.05025 15.5356L8.46446 16.9498L12 13.4143L15.5355 16.9498L16.9497 15.5356Z"/></svg>
|
package/images/copyright.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12"><path fill="currentColor" d="M6 0C4.81331 0 3.65328 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456725 3.7039C0.00259969 4.80026 -0.11622 6.00666 0.115291 7.17054C0.346802 8.33443 0.918247 9.40353 1.75736 10.2426C2.59648 11.0818 3.66558 11.6532 4.82946 11.8847C5.99335 12.1162 7.19975 11.9974 8.2961 11.5433C9.39246 11.0892 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C12 4.4087 11.3679 2.88258 10.2426 1.75736C9.11743 0.632141 7.5913 0 6 0ZM6 10.5C5.10999 10.5 4.23996 10.2361 3.49994 9.74161C2.75992 9.24715 2.18314 8.54434 1.84254 7.72208C1.50195 6.89981 1.41284 5.99501 1.58647 5.12209C1.7601 4.24918 2.18869 3.44736 2.81802 2.81802C3.44736 2.18868 4.24918 1.7601 5.1221 1.58647C5.99501 1.41283 6.89981 1.50195 7.72208 1.84254C8.54435 2.18314 9.24715 2.75991 9.74162 3.49993C10.2361 4.23996 10.5 5.10998 10.5 6C10.5 7.19347 10.0259 8.33807 9.18198 9.18198C8.33807 10.0259 7.19348 10.5 6 10.5Z"/><path fill="currentColor" d="M6.1575 4.50004C6.37549 4.49168 6.59209 4.53809 6.7875 4.63504L7.455 4.97254L8.13 3.63754L7.5 3.29254C7.08256 3.08844 6.62202 2.9881 6.1575 3.00004C4.44 3.00004 3.375 4.14754 3.375 6.00004C3.375 7.85254 4.44 9.00004 6.1575 9.00004C6.62202 9.01198 7.08256 8.91164 7.5 8.70754L8.1675 8.36254L7.4925 7.02754L6.825 7.36504C6.62959 7.46199 6.41299 7.5084 6.195 7.50004C5.775 7.50004 4.875 7.50004 4.875 6.00004C4.875 4.50004 5.775 4.50004 6.1575 4.50004Z"/></svg>
|
package/images/doublearrow.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 18 16"><path fill="currentColor" d="M17.2791 8L9.27914 16L7.7207 14.5455L14.2662 8L7.7207 1.45455L9.27914 0L17.2791 8Z"/><path fill="currentColor" d="M10.2791 8L2.27914 16L0.720703 14.5455L7.26616 8L0.720703 1.45455L2.27914 0L10.2791 8Z"/></svg>
|
package/images/elipsis.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 4"><path fill="currentColor" d="M2 4C3.10457 4 4 3.10457 4 2 4 .89543 3.10457 0 2 0 .89543 0 0 .89543 0 2 0 3.10457.89543 4 2 4zM8 4C9.10457 4 10 3.10457 10 2 10 .89543 9.10457 0 8 0 6.89543 0 6 .89543 6 2 6 3.10457 6.89543 4 8 4zM14 4C15.1046 4 16 3.10457 16 2 16 .89543 15.1046 0 14 0 12.8954 0 12 .89543 12 2 12 3.10457 12.8954 4 14 4z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 11"><path fill="currentColor" d="M6.00007 10.8462L12 0L0 0L6.00007 10.8462Z"/></svg>
|
package/images/error.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentColor" d="M11.31 0H4.69L0 4.69V11.31L4.69 16H11.31L16 11.31V4.69L11.31 0ZM8 12C7.75279 12.0015 7.51378 11.9114 7.32911 11.747C7.14443 11.5827 7.02719 11.3557 7 11.11V11C6.9985 10.7528 7.08863 10.5138 7.25298 10.3291C7.41734 10.1444 7.64428 10.0272 7.89 10H8C8.24721 9.9985 8.48622 10.0886 8.67089 10.253C8.85557 10.4173 8.97281 10.6443 9 10.89V11C9.0015 11.2472 8.91137 11.4862 8.74701 11.6709C8.58266 11.8556 8.35572 11.9728 8.11 12H8ZM9 9H7V4H9V9Z"/></svg>
|
package/images/facebook.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentColor" d="M15.9999 8.02727C15.9989 6.4988 15.56 5.00262 14.7352 3.71579C13.9104 2.42896 12.7343 1.40534 11.3459 0.766059C9.95758 0.126781 8.41516 -0.101394 6.90119 0.108536C5.38721 0.318466 3.96507 0.957714 2.80304 1.95063C1.64102 2.94355 0.787752 4.24858 0.344223 5.71127C-0.0993054 7.17397 -0.114533 8.73312 0.300343 10.2042C0.715219 11.6753 1.54283 12.9967 2.68524 14.0121C3.82766 15.0276 5.23704 15.6945 6.74663 15.9339V10.3406H4.74664V8.02727H6.74663V6.26727C6.74663 4.26727 7.94662 3.15393 9.77328 3.15393C10.3719 3.16359 10.9691 3.21707 11.5599 3.31393V5.31393H10.5533C10.4026 5.29332 10.2494 5.30269 10.1024 5.34152C9.95536 5.38035 9.81748 5.44787 9.69666 5.54019C9.57584 5.63251 9.47446 5.74781 9.39837 5.87945C9.32228 6.0111 9.27297 6.15649 9.25328 6.30727C9.24653 6.39158 9.24653 6.47629 9.25328 6.5606V8.0606H11.4666L11.1133 10.3739H9.24661V15.9673C11.1354 15.6693 12.855 14.7047 14.0939 13.2481C15.3327 11.7915 16.0089 9.93941 15.9999 8.02727Z"/></svg>
|
package/images/favicon.ico
DELETED
|
Binary file
|
package/images/flickr.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 18 16"><path d="M16.25 0H1.65C1.25 0 0.95 0.3 0.95 0.7V15.4C0.95 15.7 1.25 16 1.65 16H16.35C16.75 16 17.05 15.7 17.05 15.3V0.7C16.95 0.3 16.65 0 16.25 0ZM5.45 10C4.05 10 2.95 8.9 2.95 7.5C2.95 6.1 4.05 5 5.45 5C6.85 5 7.95 6.1 7.95 7.5C7.95 8.9 6.85 10 5.45 10ZM12.45 10C11.05 10 9.95 8.9 9.95 7.5C9.95 6.1 11.05 5 12.45 5C13.85 5 14.95 6.1 14.95 7.5C14.95 8.9 13.85 10 12.45 10Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 409.5 236"><path fill="currentColor" d="M409.5 236c-1.7-.6-3.5-1.1-5.1-2-5.3-2.9-10.5-5.9-15.7-9-4.8-2.8-9.5-5.8-14.3-8.7-4.3-2.6-8.5-5.1-12.9-7.5-4.9-2.7-10-5.2-14.9-8-3.8-2.2-7.4-4.8-11.2-7.1-5.7-3.3-11.6-6.4-17.3-9.7-3.9-2.2-7.6-4.6-11.5-6.9-4-2.3-8.1-4.4-12-6.7-3.8-2.2-7.5-4.5-11.3-6.7-2.4-1.4-4.9-2.5-7.3-3.9-2.8-1.6-5.5-3.3-8.2-4.9-3.8-2.3-7.5-4.6-11.4-6.8-3.9-2.3-7.9-4.5-11.9-6.8-6.1-3.5-12.2-6.8-18.2-10.4-4.8-2.8-9.4-5.8-14.2-8.5-4.8-2.8-9.8-5.3-14.6-8.1-3.6-2.1-7.2-4.3-10.8-6.4-5.9-3.5-11.8-6.9-17.7-10.3-4.8-2.8-9.6-5.7-14.4-8.5-3.8-2.2-7.8-4.4-11.6-6.6-3-1.7-5.9-3.6-8.9-5.4-3-1.8-6.2-3.4-9.2-5.1-3.9-2.2-7.8-4.4-11.6-6.6-4.1-2.4-8.1-4.8-12.2-7.2-5.8-3.4-11.5-6.9-17.3-10.2-4.9-2.8-9.9-5.4-14.7-8.2-3.7-2.1-7.3-4.5-11-6.6-4.9-2.9-9.8-5.6-14.7-8.4-4.7-2.7-9.4-5.6-14.2-8.3-5-2.9-10-5.7-15-8.6C10.3 5.6 6.6 3.3 2.8 1 2 .5 1 .3 0 0h409.5v236z"/></svg>
|
package/images/fullscreen.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="M14.2721 5L16.6865 7.41373 13.8228 10.2774 14.7226 11.1772 17.5863 8.31355 20 10.7273V5H14.2721zM14.7226 12.8228L13.8228 13.7226 16.6865 16.5863 14.2727 19H20V13.2721L17.5863 15.6865 14.7226 12.8228zM11.2774 12.8228L8.41373 15.6865 6 13.2727V19H11.7279L9.31355 16.5863 12.1772 13.7226 11.2774 12.8228zM11.7273 5H6V10.7279L8.41373 8.31355 11.2774 11.1772 12.1772 10.2774 9.31355 7.41373 11.7273 5z"/></svg>
|
package/images/global.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M1.08687 7.46667H3.21031C3.2851 5.53749 3.76315 3.78006 4.51995 2.45566C4.65969 2.21111 4.81092 1.97841 4.97289 1.76064C2.81175 2.81109 1.27822 4.9513 1.08687 7.46667ZM8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0ZM7.46667 1.1413C6.74082 1.34466 6.03016 1.96273 5.44607 2.98488C4.79279 4.12812 4.35217 5.69751 4.27783 7.46667H7.46667V1.1413ZM7.46667 8.53333H4.27783C4.35217 10.3025 4.79279 11.8719 5.44607 13.0151C6.03016 14.0373 6.74082 14.6553 7.46667 14.8587V8.53333ZM4.97289 14.2394C4.81093 14.0216 4.65969 13.7889 4.51995 13.5443C3.76315 12.2199 3.2851 10.4625 3.21031 8.53333H1.08687C1.27822 11.0487 2.81176 13.1889 4.97289 14.2394ZM8.53333 14.8587V8.53333H11.7222C11.6478 10.3025 11.2072 11.8719 10.5539 13.0151C9.96984 14.0373 9.25918 14.6553 8.53333 14.8587ZM11.7222 7.46667H8.53333V1.1413C9.25918 1.34466 9.96984 1.96273 10.5539 2.98488C11.2072 4.12812 11.6478 5.69751 11.7222 7.46667ZM12.7897 7.46667C12.7149 5.53749 12.2369 3.78006 11.4801 2.45566C11.3403 2.21111 11.1891 1.97841 11.0271 1.76064C13.1883 2.81109 14.7218 4.95129 14.9131 7.46667H12.7897ZM12.7897 8.53333C12.7149 10.4625 12.2369 12.2199 11.4801 13.5443C11.3403 13.7889 11.1891 14.0216 11.0271 14.2394C13.1883 13.1889 14.7218 11.0487 14.9131 8.53333H12.7897Z" clip-rule="evenodd"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M24.0007 24L0 0V24H24.0007Z"/></svg>
|
package/images/hero.jpg
DELETED
|
Binary file
|
package/images/home.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentColor" d="M15.3877 5.71677L8.43113 0.151551C8.30832 0.0545014 8.15636 0.00170898 7.99983 0.00170898C7.8433 0.00170898 7.69134 0.0545014 7.56853 0.151551L0.612004 5.71677C0.530019 5.78155 0.463681 5.86397 0.417917 5.95791C0.372153 6.05185 0.348138 6.15489 0.347656 6.25938V15.3029C0.347656 15.4874 0.420948 15.6643 0.551408 15.7948C0.681868 15.9252 0.85881 15.9985 1.04331 15.9985H5.91287V10.4333H10.0868V15.9985H14.9564C15.1409 15.9985 15.3178 15.9252 15.4483 15.7948C15.5787 15.6643 15.652 15.4874 15.652 15.3029V6.25938C15.6515 6.15489 15.6275 6.05185 15.5817 5.95791C15.536 5.86397 15.4696 5.78155 15.3877 5.71677Z"/></svg>
|
package/images/ilo-dg.jpg
DELETED
|
Binary file
|
|
Binary file
|