@farm-investimentos/front-mfe-components 15.3.0 → 15.3.1
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/front-mfe-components.common.js +136 -131
- package/dist/front-mfe-components.common.js.map +1 -1
- package/dist/front-mfe-components.css +1 -1
- package/dist/front-mfe-components.umd.js +136 -131
- package/dist/front-mfe-components.umd.js.map +1 -1
- package/dist/front-mfe-components.umd.min.js +1 -1
- package/dist/front-mfe-components.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/TextFieldV2/TextFieldV2.scss +2 -1
- package/src/components/TextFieldV2/TextFieldV2.vue +1 -1
- package/src/components/Typography/Typography.vue +3 -1
- package/src/configurations/typographyHtmlTags.ts +16 -1
package/package.json
CHANGED
|
@@ -186,7 +186,7 @@ export default defineComponent({
|
|
|
186
186
|
});
|
|
187
187
|
const customId = 'farm-textfield-' + (props.id || randomId(2));
|
|
188
188
|
|
|
189
|
-
const showErrorText = computed(() => hasError.value && isTouched.value);
|
|
189
|
+
const showErrorText = computed(() => hasError.value && isTouched.value && isBlured.value);
|
|
190
190
|
|
|
191
191
|
watch(
|
|
192
192
|
() => props.value,
|
|
@@ -43,6 +43,8 @@ export default defineComponent({
|
|
|
43
43
|
| 'label'
|
|
44
44
|
| 'li'
|
|
45
45
|
| 'div'
|
|
46
|
+
| 'dd'
|
|
47
|
+
| 'dt'
|
|
46
48
|
>,
|
|
47
49
|
default: 'p',
|
|
48
50
|
},
|
|
@@ -104,7 +106,7 @@ export default defineComponent({
|
|
|
104
106
|
setup(props) {
|
|
105
107
|
const { size, lineHeight } = toRefs(props);
|
|
106
108
|
|
|
107
|
-
let style = ref({});
|
|
109
|
+
let style = ref({} as { fontSize: string; lineHeight: string });
|
|
108
110
|
let tag = ref(typographyHtmlTags.includes(props.tag) ? props.tag : 'p');
|
|
109
111
|
|
|
110
112
|
const isSizeFromBreakpoints = computed(() => breakPoints.includes(size.value));
|
|
@@ -1 +1,16 @@
|
|
|
1
|
-
export default [
|
|
1
|
+
export default [
|
|
2
|
+
'p',
|
|
3
|
+
'span',
|
|
4
|
+
'h1',
|
|
5
|
+
'h2',
|
|
6
|
+
'h3',
|
|
7
|
+
'h4',
|
|
8
|
+
'h5',
|
|
9
|
+
'h6',
|
|
10
|
+
'legend',
|
|
11
|
+
'label',
|
|
12
|
+
'li',
|
|
13
|
+
'div',
|
|
14
|
+
'dd',
|
|
15
|
+
'dt',
|
|
16
|
+
];
|