@mythpe/quasar-ui-qui 0.2.33 → 0.2.34
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/package.json +1 -1
- package/src/components/form/MInput.vue +6 -1
- package/src/style/m-input.sass +15 -16
package/package.json
CHANGED
|
@@ -125,7 +125,11 @@ defineOptions({
|
|
|
125
125
|
<template>
|
|
126
126
|
<MCol
|
|
127
127
|
:auto="auto"
|
|
128
|
-
:class="[$attrs.class,{
|
|
128
|
+
:class="[$attrs.class,{
|
|
129
|
+
'm--input__required': inputRules?.required!==undefined,
|
|
130
|
+
'm--input__error': !!errorMessage,
|
|
131
|
+
'm--input__view': viewMode
|
|
132
|
+
},'m--input__col']"
|
|
129
133
|
:col="col"
|
|
130
134
|
:lg="lg"
|
|
131
135
|
:md="md"
|
|
@@ -163,6 +167,7 @@ defineOptions({
|
|
|
163
167
|
<component
|
|
164
168
|
:is="viewMode ? QField : QInput"
|
|
165
169
|
ref="input"
|
|
170
|
+
:class="{'m--input__sar': sar}"
|
|
166
171
|
class="m--input"
|
|
167
172
|
v-bind="{
|
|
168
173
|
...$attrs,
|
package/src/style/m-input.sass
CHANGED
|
@@ -22,19 +22,18 @@ $radius-value: $generic-border-radius !default
|
|
|
22
22
|
content: ' *'
|
|
23
23
|
color: var(--q-negative)
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
font-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
letter-spacing: 0.03333em
|
|
25
|
+
.m--input
|
|
26
|
+
&__color-preview
|
|
27
|
+
border: 1px solid var(--q-primary)
|
|
28
|
+
border-radius: $radius-value
|
|
29
|
+
|
|
30
|
+
&__top-label,
|
|
31
|
+
&__hint,
|
|
32
|
+
&__caption
|
|
33
|
+
margin-bottom: $m--input-helpers-margin
|
|
34
|
+
|
|
35
|
+
//&__caption
|
|
36
|
+
//font-size: 0.75rem
|
|
37
|
+
//font-weight: 400
|
|
38
|
+
//line-height: 1.25rem
|
|
39
|
+
//letter-spacing: 0.03333em
|