@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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Jul 2019 11:38:18 GMT
3
+ * Generated on Fri, 26 Jul 2019 10:57:07 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Jul 2019 11:38:18 GMT
3
+ * Generated on Fri, 26 Jul 2019 10:57:08 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Do not edit directly
4
- Generated on Thu, 18 Jul 2019 11:38:18 GMT
4
+ Generated on Fri, 26 Jul 2019 10:57:07 GMT
5
5
  */
6
6
 
7
7
  $mds-color-brand-1-base: #1b75bb !default;
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  Do not edit directly
3
- Generated on Thu, 18 Jul 2019 11:38:18 GMT
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@madgex/design-system",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "scripts": {
5
5
  "clean": "rimraf dist public tokens/build",
6
6
  "commit": "commit",
@@ -1,3 +1,3 @@
1
- {% macro Button(params) %}
1
+ {% macro MdsButton(params) %}
2
2
  {%- include "./_template.njk" -%}
3
- {% endmacro %}
3
+ {% endmacro %}
@@ -1,6 +1,6 @@
1
- {% from "./button/_macro.njk" import Button %}
1
+ {% from "./button/_macro.njk" import MdsButton %}
2
2
 
3
- {{ Button({
3
+ {{ MdsButton({
4
4
  text: text,
5
5
  element: element,
6
6
  href: href
@@ -1,3 +1,3 @@
1
- {% macro Card(params) %}
1
+ {% macro MdsCard(params) %}
2
2
  {%- include "./_template.njk" -%}
3
3
  {% endmacro %}
@@ -1,11 +1,11 @@
1
- {% from "./card/_macro.njk" import Card %}
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
- {{ Card({
8
+ {{ MdsCard({
9
9
  inList: inList,
10
10
  classes: classes,
11
11
  content: content
@@ -1,3 +1,3 @@
1
- {% macro Icon(params) %}
1
+ {% macro MdsIcon(params) %}
2
2
  {%- include "./_template.njk" -%}
3
3
  {% endmacro %}
@@ -1,5 +1,5 @@
1
- {% from "./icon/_macro.njk" import Icon %}
1
+ {% from "./icon/_macro.njk" import MdsIcon %}
2
2
 
3
- {{ Icon({
3
+ {{ MdsIcon({
4
4
  iconName: iconName
5
5
  }) }}
@@ -1,6 +1,6 @@
1
- {% from "./section-title/_macro.njk" import SectionTitle %}
1
+ {% from "./section-title/_macro.njk" import MdsSectionTitle %}
2
2
 
3
- {{ SectionTitle({
3
+ {{ MdsSectionTitle({
4
4
  title: title,
5
5
  headingTag: headingTag,
6
6
  classes: classes
@@ -1,6 +1,6 @@
1
- {% from "./section-title/_macro.njk" import SectionTitle %}
1
+ {% from "./section-title/_macro.njk" import MdsSectionTitle %}
2
2
 
3
- {{ SectionTitle({
3
+ {{ MdsSectionTitle({
4
4
  title: title,
5
5
  headingTag: headingTag,
6
6
  actionText: actionText,
@@ -1,3 +1,3 @@
1
- {% macro SectionTitle(params) %}
1
+ {% macro MdsSectionTitle(params) %}
2
2
  {%- include "./_template.njk" -%}
3
3
  {% endmacro %}
@@ -1,11 +1,11 @@
1
- {% from "../button/_macro.njk" import Button %}
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
- {{ Button({
8
+ {{ MdsButton({
9
9
  text: params.actionText,
10
10
  element: params.actionElement,
11
11
  href: params.actionHref,
@@ -1,3 +1,3 @@
1
- {% macro Tabs(params) %}
1
+ {% macro MdsTabs(params) %}
2
2
  {%- include "./_template.njk" -%}
3
3
  {% endmacro %}
@@ -1,6 +1,6 @@
1
- {% from "./tabs/_macro.njk" import Tabs %}
1
+ {% from "./tabs/_macro.njk" import MdsTabs %}
2
2
 
3
- {{ Tabs({
3
+ {{ MdsTabs({
4
4
  name: name,
5
5
  classes: classes,
6
6
  content: content
@@ -16,3 +16,7 @@ a {
16
16
  text-decoration: underline;
17
17
  }
18
18
  }
19
+
20
+ img {
21
+ max-width: 100%;
22
+ }