@eturnity/eturnity_reusable_components 7.22.3 → 7.22.4--EPDM-10563.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "7.22.3",
3
+ "version": "7.22.4--EPDM-10563.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -107,8 +107,9 @@ const IconImage = styled('div', {
107
107
  svg path {
108
108
  ${({ theme, color }) => color && `fill: ${theme.colors[color] || color};`}
109
109
  }
110
- &:hover > svg path {
111
- ${(props) => props.hoveredColor && `fill: ${props.hoveredColor};`}
110
+ &:hover svg path {
111
+ ${({ theme, hoveredColor }) =>
112
+ hoveredColor && `fill: ${theme.colors[hoveredColor] || hoveredColor};`}
112
113
  }
113
114
  &:hover + div {
114
115
  background-color: ${(props) => props.hoveredColor};
@@ -10,7 +10,11 @@
10
10
  :alignItems="alignItems"
11
11
  :noRelative="noRelative"
12
12
  >
13
- <label-wrapper v-if="label" :data-id="labelDataId">
13
+ <label-wrapper
14
+ v-if="label"
15
+ :data-id="labelDataId"
16
+ :infoTextMessage="!!infoTextMessage"
17
+ >
14
18
  <input-label
15
19
  :fontColor="
16
20
  labelFontColor || colorMode == 'dark' ? 'white' : 'eturnityGrey'
@@ -43,7 +47,7 @@
43
47
  buttonFontColor || colorMode == 'dark' ? 'white' : 'black'
44
48
  "
45
49
  :hasError="hasError"
46
- :hasNoPadding="isSearchBarVisible || !hasSelectButtonPadding"
50
+ :hasNoPadding="hasNoPadding"
47
51
  :disabled="disabled"
48
52
  @keydown="onKeyDown"
49
53
  :showBorder="showBorder"
@@ -150,7 +154,7 @@
150
154
  // alignItems="vertical"
151
155
  // label-data-id="test-label-data-id"
152
156
  // data-id="test-data-id"
153
- // :hasSelectButtonPadding="false"
157
+ // :hasNoPadding="true"
154
158
  // >
155
159
  // <template #selector="{selectedValue}">
156
160
  // value selected: {{selectedValue}}
@@ -228,9 +232,12 @@ const Container = styled('div', inputProps)`
228
232
  position: ${(props) => (props.noRelative ? 'static' : 'relative')};
229
233
  display: inline-block;
230
234
  `
231
- const LabelWrapper = styled.div`
235
+
236
+ const LabelWrapperAttrs = { infoTextMessage: Boolean }
237
+ const LabelWrapper = styled('div', LabelWrapperAttrs)`
232
238
  display: inline-grid;
233
- grid-template-columns: auto auto;
239
+ grid-template-columns: ${(props) =>
240
+ props.infoTextMessage ? 'auto auto' : 'auto'};
234
241
  grid-gap: 12px;
235
242
  align-items: center;
236
243
  justify-content: start;
@@ -509,10 +516,6 @@ export default {
509
516
  type: String,
510
517
  default: ''
511
518
  },
512
- hasSelectButtonPadding: {
513
- type: Boolean,
514
- default: true
515
- },
516
519
  isDraggable: {
517
520
  type: Boolean,
518
521
  default: false
@@ -531,6 +534,11 @@ export default {
531
534
  dropdownMenuPosition: {
532
535
  type: String,
533
536
  default: DROPDOWN_MENU_POSITIONS.Automatic // options: ['automatic', bottom]
537
+ },
538
+ hasNoPadding: {
539
+ required: false,
540
+ default: false,
541
+ type: Boolean
534
542
  }
535
543
  },
536
544
 
@@ -31,7 +31,7 @@ const titleAttrs = { color: String, fontSize: String, uppercase: Boolean }
31
31
  const TitleText = styled('span', titleAttrs)`
32
32
  color: ${(props) => (props.color ? props.color : props.theme.colors.black)};
33
33
  font-weight: bold;
34
- font-size: ${(props) => (props.fontSize ? props.fontSize : '18px')};
34
+ font-size: ${(props) => (props.fontSize ? props.fontSize : '20px')};
35
35
  text-transform: ${(props) => (props.uppercase ? 'uppercase' : 'none')};
36
36
  `
37
37