@eturnity/eturnity_reusable_components 7.24.3-EPDM-11320.4 → 7.24.3-EPDM-11320.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": "7.24.3-EPDM-11320.4",
3
+ "version": "7.24.3-EPDM-11320.5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -104,30 +104,19 @@
104
104
  })`
105
105
  animation: ${(props) => props.animation};
106
106
  width: 100%;
107
- height: 100%;
108
- background-color: ${(props) =>
109
- props.backgroundColor ? props.backgroundColor : 'transparent'};
110
- padding: ${(props) => (props.backgroundColor ? '3px' : '0')};
111
- }
112
- svg path {
113
- ${({ theme, color }) => color && `fill: ${theme.colors[color] || color};`}
114
- }
115
- &:hover svg path {
116
- ${({ theme, hoveredColor }) =>
117
- hoveredColor && `fill: ${theme.colors[hoveredColor] || hoveredColor};`}
118
- }
119
- &:hover + div {
120
- background-color: ${(props) => props.hoveredColor};
121
- }
122
- @keyframes fade {
123
- 50% {
124
- opacity: 0.3;
107
+ svg {
108
+ width: 100%;
109
+ height: 100%;
110
+ background-color: ${(props) =>
111
+ props.backgroundColor ? props.backgroundColor : 'transparent'};
112
+ padding: ${(props) => (props.backgroundColor ? '3px' : '0')};
125
113
  }
126
114
  svg path {
127
115
  ${({ theme, color }) => color && `fill: ${theme.colors[color] || color};`}
128
116
  }
129
- &:hover > svg path {
130
- ${props.hoveredColor && `fill: ${props.hoveredColor};`}
117
+ &:hover svg path {
118
+ ${({ theme, hoveredColor }) =>
119
+ hoveredColor && `fill: ${theme.colors[hoveredColor] || hoveredColor};`}
131
120
  }
132
121
  &:hover + div {
133
122
  background-color: ${(props) => props.hoveredColor};
@@ -3,7 +3,7 @@
3
3
  <RadioWrapper v-for="(item, index) in options" :key="item.value">
4
4
  <LabelContainer
5
5
  :checkmark-color="checkmarkColor"
6
- :has-label="item.label"
6
+ :has-label="item.label && item.label.length"
7
7
  :is-checked="selectedOption === item.value"
8
8
  :is-disabled="item.disabled"
9
9
  :size="size"
@@ -97,6 +97,7 @@
97
97
  isDisabled: Boolean,
98
98
  isChecked: Boolean,
99
99
  checkmarkColor: String,
100
+ hasLabel: Boolean,
100
101
  }
101
102
  const LabelContainer = styled('label', containerProps)`
102
103
  display: grid;
@@ -378,7 +378,7 @@
378
378
  }
379
379
  font-size: ${(props) => props.fontSize};
380
380
  `
381
- selectDropdown.emits = ['option-hovered', 'option-selected']
381
+ SelectDropdown.emits = ['option-hovered', 'option-selected']
382
382
  const DropdownAttrs = { noRelative: Boolean }
383
383
  const DropdownWrapper = styled('div', DropdownAttrs)`
384
384
  position: ${(props) => (props.noRelative ? 'static' : 'relative')};