@eturnity/eturnity_reusable_components 1.2.34-3d-master.3 → 1.2.34-3d-master.5

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": "1.2.34-3d-master.3",
3
+ "version": "1.2.34-3d-master.5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><path d="M3.32 2.668c-.472.22-.937.707-1.09 1.142-.17.478-.163 40.686.006 41.27.08.277.228.512.485.768.852.852 2.09.819 2.901-.079.584-.646.542 1.105.519-21.492L6.12 3.96l-.233-.42c-.527-.951-1.609-1.319-2.567-.872m5.5 9.512.02 9.38H36.2l.02-9.38.021-9.38H8.799l.021 9.38m23.74.02v5.48h-20V6.72h20v5.48M13.016 29.362c-2.807 1.987-5.093 3.643-5.08 3.678.026.073 10.119 8.16 10.182 8.16.022 0 .049-1.125.061-2.5l.021-2.5 14.02-.02 14.02-.02v-5.52H18.162l-.021-2.446-.021-2.445-5.104 3.613" fill-rule="evenodd"/></svg>
@@ -25,6 +25,7 @@
25
25
  <selectButton
26
26
  @click="toggleDropdown"
27
27
  :isActive="isActive"
28
+ :selectHeight="selectHeight"
28
29
  :bgColor="buttonBgColor || colorMode=='dark'?'transparentBlack1':'white'"
29
30
  :fontColor="buttonFontColor || colorMode=='dark'?'white':'black'"
30
31
 
@@ -105,7 +106,7 @@ const LabelWrapper = styled.div`
105
106
  align-items: center;
106
107
  justify-content: start;
107
108
  `
108
- const selectButtonAttrs={bgColor:String,fontColor:String,isActive:Boolean}
109
+ const selectButtonAttrs={bgColor:String,fontColor:String,isActive:Boolean,selectHeight:String}
109
110
  const selectButton = styled('div',selectButtonAttrs)`
110
111
  position:relative;
111
112
  box-sizing: border-box;
@@ -117,6 +118,7 @@ const selectButton = styled('div',selectButtonAttrs)`
117
118
  min-height:36px;
118
119
  display: flex;
119
120
  align-items: center;
121
+ max-height:${props=>props.selectHeight};
120
122
  border:1px solid ${(props)=>props.theme.colors.grey4}
121
123
  background-color:${(props) => props.theme.colors[props.bgColor]?props.theme.colors[props.bgColor]:props.bgColor};
122
124
  color:${(props) => props.theme.colors[props.fontColor]?props.theme.colors[props.fontColor]:props.fontColor};
@@ -178,6 +180,10 @@ const InputWrapper = styled('div', inputAttrs)`
178
180
  required: false,
179
181
  default: null
180
182
  },
183
+ selectHeight: {
184
+ required: false,
185
+ default: null
186
+ },
181
187
  optionWidth: {
182
188
  required: false,
183
189
  default: null