@madgex/design-system 1.17.0 → 1.18.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.
- package/dist/_tokens/css/_tokens.css +1 -1
- package/dist/_tokens/js/_tokens-module.js +1 -1
- package/dist/_tokens/scss/_tokens.scss +1 -1
- package/dist/css/index.css +5 -1
- package/package.json +1 -1
- package/src/components/button/_macro.njk +2 -2
- package/src/components/button/button.njk +2 -2
- package/src/components/card/_macro.njk +1 -1
- package/src/components/card/card.njk +2 -2
- package/src/components/icon/_macro.njk +1 -1
- package/src/components/icon/icon.njk +2 -2
- package/src/components/section-title/01-title.njk +2 -2
- package/src/components/section-title/02-title-with-action.njk +2 -2
- package/src/components/section-title/_macro.njk +1 -1
- package/src/components/section-title/_template.njk +2 -2
- package/src/components/tabs/_macro.njk +1 -1
- package/src/components/tabs/tabs.njk +2 -2
- package/src/scss/core/_defaults.scss +4 -0
package/dist/css/index.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Do not edit directly
|
|
3
|
-
Generated on
|
|
3
|
+
Generated on Fri, 26 Jul 2019 10:57:07 GMT
|
|
4
4
|
*/
|
|
5
5
|
html,
|
|
6
6
|
body,
|
|
@@ -458,6 +458,10 @@ a:hover, a:focus {
|
|
|
458
458
|
text-decoration: underline;
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
+
img {
|
|
462
|
+
max-width: 100%;
|
|
463
|
+
}
|
|
464
|
+
|
|
461
465
|
body {
|
|
462
466
|
font-family: "Helvetica", Arial, sans-serif;
|
|
463
467
|
}
|
package/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{% macro
|
|
1
|
+
{% macro MdsButton(params) %}
|
|
2
2
|
{%- include "./_template.njk" -%}
|
|
3
|
-
{% endmacro %}
|
|
3
|
+
{% endmacro %}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{% from "./card/_macro.njk" import
|
|
1
|
+
{% from "./card/_macro.njk" import MdsCard %}
|
|
2
2
|
|
|
3
3
|
<h2>{{ fractalLabel }}</h2>
|
|
4
4
|
{% if fractalLabel === 'Card used in a list' %}
|
|
5
5
|
<ul>
|
|
6
6
|
{% endif %}
|
|
7
7
|
|
|
8
|
-
{{
|
|
8
|
+
{{ MdsCard({
|
|
9
9
|
inList: inList,
|
|
10
10
|
classes: classes,
|
|
11
11
|
content: content
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{% from "../button/_macro.njk" import
|
|
1
|
+
{% from "../button/_macro.njk" import MdsButton %}
|
|
2
2
|
|
|
3
3
|
<div class="mds-section-title{% if params.classes %} {{ params.classes }}{% endif %}">
|
|
4
4
|
<{{ params.headingtag | default("h2") }} class="mds-section-title__header">{{ params.title }}</{{ params.headingtag | default("h2") }}>
|
|
5
5
|
{% if params.actionText -%}
|
|
6
6
|
<div class="mds-section-title__action">
|
|
7
7
|
{%- if params.actionHref -%}
|
|
8
|
-
{{
|
|
8
|
+
{{ MdsButton({
|
|
9
9
|
text: params.actionText,
|
|
10
10
|
element: params.actionElement,
|
|
11
11
|
href: params.actionHref,
|