@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
@@ -104,30 +104,19 @@
|
|
104
104
|
})`
|
105
105
|
animation: ${(props) => props.animation};
|
106
106
|
width: 100%;
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
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
|
130
|
-
${
|
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
|
-
|
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')};
|