@awes-io/ui 2.59.1 → 2.59.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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.59.2](https://github.com/awes-io/client/compare/@awes-io/ui@2.59.1...@awes-io/ui@2.59.2) (2022-11-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **aw-select-object:** mobile overflow fixed ([2a76f28](https://github.com/awes-io/client/commit/2a76f2870368fd10675aadba30104e9fae84ecd7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.59.1](https://github.com/awes-io/client/compare/@awes-io/ui@2.59.0...@awes-io/ui@2.59.1) (2022-10-20)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -62,6 +62,15 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
&__fake-input {
|
|
66
|
+
--icon-width: 2.5rem;
|
|
67
|
+
--icon-count: 0;
|
|
68
|
+
display: block;
|
|
69
|
+
height: calc(1em * theme('lineHeight.normal', 1.5));
|
|
70
|
+
min-width: 0;
|
|
71
|
+
max-width: calc(100% - calc(var(--icon-count) * var(--icon-width)));
|
|
72
|
+
}
|
|
73
|
+
|
|
65
74
|
/**
|
|
66
75
|
* Textarea styles
|
|
67
76
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
ref="element"
|
|
4
|
-
class="flex aw-text-field is-text"
|
|
4
|
+
class="flex max-w-full aw-text-field is-text"
|
|
5
5
|
:class="{
|
|
6
6
|
'is-filled': value === 0 || !!value,
|
|
7
7
|
'has-label': !!label,
|
|
@@ -29,11 +29,12 @@
|
|
|
29
29
|
tabindex="0"
|
|
30
30
|
:class="paddingClass"
|
|
31
31
|
>
|
|
32
|
-
<span
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
<span
|
|
33
|
+
class="aw-text-field__fake-input truncate"
|
|
34
|
+
:class="{ 'opacity-50': !inputValue }"
|
|
35
|
+
:style="{ '--icon-count': iconCount }"
|
|
36
|
+
>
|
|
37
|
+
{{ inputValue || placeholder }}
|
|
37
38
|
</span>
|
|
38
39
|
</span>
|
|
39
40
|
<span
|
|
@@ -126,6 +127,10 @@ export default {
|
|
|
126
127
|
computed: {
|
|
127
128
|
paddingClass() {
|
|
128
129
|
return this.size === 'md' ? 'p-3' : 'p-2'
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
iconCount() {
|
|
133
|
+
return 0 + this.clearable + this.caret
|
|
129
134
|
}
|
|
130
135
|
}
|
|
131
136
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.59.
|
|
3
|
+
"version": "2.59.2",
|
|
4
4
|
"description": "User Interface (UI) components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"vue-template-compiler": "^2.6.10",
|
|
123
123
|
"webfonts-generator": "^0.4.0"
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "84992959b312b8b6a76f69c5294b2381bd36e6c6"
|
|
126
126
|
}
|