@eturnity/eturnity_reusable_components 6.39.0 → 6.39.1-EPDM-6921
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
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@eturnity/eturnity_reusable_components",
|
3
|
-
"version": "6.39.
|
3
|
+
"version": "6.39.1-EPDM-6921",
|
4
4
|
"private": false,
|
5
5
|
"scripts": {
|
6
6
|
"dev": "vue-cli-service serve",
|
@@ -60,4 +60,4 @@
|
|
60
60
|
"author": "Aaron Enser",
|
61
61
|
"license": "ISC",
|
62
62
|
"homepage": "https://bitbucket.org/eturnitydevs/eturnity_reusable_components#readme"
|
63
|
-
}
|
63
|
+
}
|
@@ -30,6 +30,7 @@
|
|
30
30
|
ref="select"
|
31
31
|
@click="toggleDropdown"
|
32
32
|
:selectHeight="selectHeight"
|
33
|
+
:height="height"
|
33
34
|
:bgColor="
|
34
35
|
buttonBgColor || colorMode == 'dark' ? 'transparentBlack1' : 'white'
|
35
36
|
"
|
@@ -140,9 +141,7 @@ const Caret = styled.div`
|
|
140
141
|
justify-content: center;
|
141
142
|
width: 30px;
|
142
143
|
min-width: 30px;
|
143
|
-
|
144
|
-
align-items: stretch
|
145
|
-
padding-top: 5px;
|
144
|
+
padding-top: 3px;
|
146
145
|
cursor: pointer;
|
147
146
|
margin-left: auto;
|
148
147
|
`
|
@@ -191,6 +190,7 @@ const selectButtonAttrs = {
|
|
191
190
|
hasError: Boolean,
|
192
191
|
disabled: Boolean,
|
193
192
|
selectHeight: String,
|
193
|
+
height: String,
|
194
194
|
isSearchBarVisible: Boolean,
|
195
195
|
showBorder: Boolean
|
196
196
|
}
|
@@ -206,6 +206,7 @@ const selectButton = styled('div', selectButtonAttrs)`
|
|
206
206
|
display: flex;
|
207
207
|
align-items: center;
|
208
208
|
max-height: ${(props) => props.selectHeight};
|
209
|
+
${(props) => (props.height ? `height: ${props.height}` : '')};
|
209
210
|
${({ showBorder, theme, hasError }) =>
|
210
211
|
showBorder &&
|
211
212
|
`
|
@@ -306,6 +307,10 @@ export default {
|
|
306
307
|
required: false,
|
307
308
|
default: null
|
308
309
|
},
|
310
|
+
height: {
|
311
|
+
required: false,
|
312
|
+
default: null
|
313
|
+
},
|
309
314
|
optionWidth: {
|
310
315
|
required: false,
|
311
316
|
default: null
|
@@ -8,6 +8,8 @@ export const translateLang = (lang) => {
|
|
8
8
|
return 'english_uk'
|
9
9
|
} else if (lang === 'de' || lang === 'de-de') {
|
10
10
|
return 'german'
|
11
|
+
} else if (lang === 'de-at') {
|
12
|
+
return 'german_at'
|
11
13
|
} else if (lang === 'de-ch') {
|
12
14
|
return 'german_ch'
|
13
15
|
} else if (lang === 'de-lu') {
|
@@ -34,8 +36,10 @@ export const translateLang = (lang) => {
|
|
34
36
|
return 'swedish'
|
35
37
|
} else if (lang === 'no-no' || lang === 'nb-no') {
|
36
38
|
return 'norwegian'
|
37
|
-
} else if (lang === 'nl-nl'
|
38
|
-
return '
|
39
|
+
} else if (lang === 'nl-nl') {
|
40
|
+
return 'dutch_nl'
|
41
|
+
} else if (lang === 'nl-be') {
|
42
|
+
return 'dutch_be'
|
39
43
|
} else if (lang === 'cs') {
|
40
44
|
return 'czech'
|
41
45
|
} else if (lang === 'fi-fi') {
|