@ilo-org/twig 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ilo-org/twig
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 84fd6bc7d: Bugfixes with several components
|
|
8
|
+
- 6e470111a: Nav, Card and Hero fixes for QA
|
|
9
|
+
- Updated dependencies [84fd6bc7d]
|
|
10
|
+
- Updated dependencies [6e470111a]
|
|
11
|
+
- @ilo-org/styles@0.1.7
|
|
12
|
+
- @ilo-org/icons@0.1.7
|
|
13
|
+
- @ilo-org/themes@0.1.7
|
|
14
|
+
- @ilo-org/utils@0.0.3
|
|
15
|
+
|
|
3
16
|
## 0.2.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ilo-org/twig",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Twig components for the ILO's Design System",
|
|
6
6
|
"main": "",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@ilo-org/fonts": "0.0.2",
|
|
24
|
-
"@ilo-org/icons": "0.1.
|
|
25
|
-
"@ilo-org/styles": "0.1.
|
|
26
|
-
"@ilo-org/themes": "0.1.
|
|
27
|
-
"@ilo-org/utils": "0.0.
|
|
24
|
+
"@ilo-org/icons": "0.1.7",
|
|
25
|
+
"@ilo-org/styles": "0.1.7",
|
|
26
|
+
"@ilo-org/themes": "0.1.7",
|
|
27
|
+
"@ilo-org/utils": "0.0.3",
|
|
28
28
|
"@wingsuit-designsystem/preset-scss": "^1.2.3",
|
|
29
29
|
"video.js": "^7.19.2"
|
|
30
30
|
},
|
|
@@ -85,7 +85,6 @@
|
|
|
85
85
|
"yaml-loader": "^0.6.0",
|
|
86
86
|
"yo": "^3.1.1"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "bfeff58b8f6e6ace1c28f31ad67d75d6f18ee5a4",
|
|
89
88
|
"scripts": {
|
|
90
89
|
"storybook": "node importprefix.js; node importsvgs.js; start-storybook --config-dir apps/storybook",
|
|
91
90
|
"build:storybook": "node importprefix.js; node importsvgs.js; build-storybook --config-dir apps/storybook -o ./storybook-static",
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
{#
|
|
2
2
|
CARD COMPONENT
|
|
3
3
|
#}
|
|
4
|
-
<div class="{{prefix}}--card {{prefix}}--card--{{theme}} {{prefix}}--card--{{variant}}{% if cornercut %} {{prefix}}--card--{{cornercut}}{% endif %}{% if color %} {{prefix}}--card--{{color}}{% endif %}{% if alignment %} {{prefix}}--card--{{alignment}}{% endif %}
|
|
5
|
-
{{prefix}}--card--{{type}}{% endif %}{% if size %}
|
|
6
|
-
{{prefix}}--card--{{size}}{% endif %}">
|
|
4
|
+
<div class="{{prefix}}--card {{prefix}}--card--{{theme}} {{prefix}}--card--{{variant}}{% if cornercut %} {{prefix}}--card--{{cornercut}}{% endif %}{% if color %} {{prefix}}--card--{{color}}{% endif %}{% if alignment %} {{prefix}}--card--{{alignment}}{% endif %}{% if link %} {{prefix}}--card--action{% endif %}{% if type %} {{prefix}}--card--{{type}}{% endif %}{% if size %} {{prefix}}--card--{{size}}{% endif %}">
|
|
7
5
|
{% if type == "" %}
|
|
8
6
|
{% set type = variant %}
|
|
9
7
|
{% endif %}
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<div class="{{prefix}}--mobile--nav">
|
|
34
34
|
<div class="{{prefix}}--mobile--nav--logo">
|
|
35
35
|
<a href="{{siteurl}}" class="{{prefix}}--header--logo-link">
|
|
36
|
-
<img class="{{prefix}}--header--logo" src="{{
|
|
36
|
+
<img class="{{prefix}}--header--logo" src="{{mobilelogo.image}}" alt="{{mobilelogo.alt}}">
|
|
37
37
|
</a>
|
|
38
38
|
<button class="{{prefix}}--header--menu--close">{{menucloselabel}}</button>
|
|
39
39
|
</div> <!-- /.{{prefix}}--mobile--logo -->
|
|
@@ -11,6 +11,14 @@ navigation:
|
|
|
11
11
|
preview:
|
|
12
12
|
image: "https://placekitten.com/g/155/56"
|
|
13
13
|
alt: Logo
|
|
14
|
+
mobilelogo:
|
|
15
|
+
type: object
|
|
16
|
+
label: Logo
|
|
17
|
+
description: Logo for the nav
|
|
18
|
+
required: true
|
|
19
|
+
preview:
|
|
20
|
+
image: "https://placekitten.com/111/40"
|
|
21
|
+
alt: Logo
|
|
14
22
|
siteurl:
|
|
15
23
|
type: string
|
|
16
24
|
label: Site url
|