@ons/design-system 70.0.1 → 70.0.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.
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
.ons-field-group {
|
|
2
2
|
font-size: 0;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-wrap: wrap;
|
|
5
|
+
gap: 1rem;
|
|
3
6
|
|
|
4
7
|
.ons-field {
|
|
5
8
|
display: inline-block;
|
|
6
9
|
font-size: 1rem;
|
|
7
10
|
margin-top: 0;
|
|
8
11
|
vertical-align: top;
|
|
9
|
-
|
|
10
|
-
&:not(:last-child) {
|
|
11
|
-
margin-right: 1rem;
|
|
12
|
-
}
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
{%- else -%}
|
|
22
22
|
<label
|
|
23
23
|
class="{% if params.inputType is not defined -%}ons-label{%- endif %}{{- ' ' + params.classes if params.classes else "" -}}{%- if params.description %} ons-label--with-description{%- endif %} {{- ' ons-label--placeholder' if params.accessiblePlaceholder else "" -}}"
|
|
24
|
+
for="{{ params.for }}"
|
|
24
25
|
{% if params.description %}aria-describedby="{{ descriptionID }}"{% endif %}
|
|
25
|
-
{% if params.for %} for="{{ params.for }}"{% endif %}
|
|
26
26
|
{% if params.id %} id="{{ params.id }}"{% endif %}
|
|
27
27
|
{% if params.attributes %}{% for attribute, value in (params.attributes.items() if params.attributes is mapping and params.attributes.items else params.attributes) %}{{ attribute }}{% if value %}="{{ value }}"{% endif %}{% endfor %}{% endif %}
|
|
28
28
|
>
|