mp-design-system 1.2.42 → 1.2.44

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-design-system",
3
- "version": "1.2.42",
3
+ "version": "1.2.44",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "npm-run-all --parallel bundle:*",
@@ -66,6 +66,7 @@
66
66
  width: 2rem;
67
67
  @include margin('auto', 0);
68
68
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="12" cy="12" r="12" fill="%23CE0058"/><path stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16.666 7.333l-9.333 9.334M7.333 7.333l9.333 9.334"/></svg>') no-repeat center;
69
+ flex-shrink: 0;
69
70
  }
70
71
  }
71
72
 
@@ -10,14 +10,24 @@
10
10
  font-size: var(--step-4) !important;
11
11
  letter-spacing: -.02em;
12
12
  }
13
+
14
+ &__form.o-grid {
15
+ flex-wrap: wrap;
16
+ row-gap: var(--space-s);
17
+
18
+ .c-input {
19
+ flex-shrink: 1;
20
+ }
21
+ }
13
22
 
14
23
  &__input-wrap {
24
+ display: flex;
15
25
  align-items: flex-start;
16
26
  gap: var(--space-s);
17
- flex-wrap: wrap;
18
- display: flex;
27
+ flex-wrap: nowrap;
19
28
 
20
29
  .c-label {
30
+ min-width: 115px;
21
31
  flex-basis: 115px;
22
32
  margin-bottom: 0;
23
33
 
@@ -91,6 +101,7 @@
91
101
  & + & {
92
102
  @include padding-top('s');
93
103
  position: relative;
104
+
94
105
  &::before {
95
106
  content: '';
96
107
  position: absolute;
@@ -101,8 +112,8 @@
101
112
  }
102
113
  }
103
114
 
104
- & .o-grid,
105
- & .o-grid > * {
115
+ & > .o-grid,
116
+ & > .o-grid > * {
106
117
  @include margin-bottom(0);
107
118
  }
108
119
  }
@@ -12,7 +12,7 @@ tagTitle: Forms
12
12
 
13
13
  {% block content %}
14
14
  <div class="mp u-wrap u-margin-top-l u-margin-bottom-l-xl">
15
- <div id="dynamicForm" class="o-grid o-grid--9/3 o-grid--layout">
15
+ <div id="dynamicForm" class="o-grid o-grid--8/3 o-grid--float o-grid--layout">
16
16
  <form id="EmailSales" class="mp-dynamicform u-bg-blue-step-3 u-pad-l" action="/en/about-us/contact-us/sales" method="post" name="dynamicForm" novalidate="">
17
17
  <input name="__RequestVerificationToken" type="hidden" value="Qi0kKqKOgcp5Eu-jjtGH2urIvru-qcwVkx788JhJvIwYb9O-8yHLaI6G-yQgyXXkHzsRRRMdWpzDIcC0OS6lg45vSQMtCyNJSZE0gWrZIINhqHclzzooFx3bTpKp_szrk2r0PKkYkmapgFP5UZ3Rwg2">
18
18
  <div class="validation-summary-valid" data-valmsg-summary="true">
@@ -195,7 +195,7 @@ tagTitle: Forms
195
195
  </div>
196
196
  </div>
197
197
  <div class="c-form__row o-grid o-grid--of-two">
198
- <div class="c-form__input FirstName required ">
198
+ <div class="c-form__input FirstName required c-input-error">
199
199
  <div class="c-form__input-wrap">
200
200
  <label class="c-label u-pad-xs c-label--required" for="FirstName">First name</label>
201
201
  <input type="text" class="c-input" name="FirstName" value="" placeholder="" id="FirstName" required="">