vira 26.11.0 → 26.11.2
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.
|
@@ -40,8 +40,11 @@ export const ViraCheckbox = defineViraElement()({
|
|
|
40
40
|
cursor: not-allowed;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
& .text
|
|
44
|
-
|
|
43
|
+
& .text {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
&::first-line {
|
|
46
|
+
line-height: 24px;
|
|
47
|
+
}
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
50
|
|
|
@@ -110,6 +113,7 @@ export const ViraCheckbox = defineViraElement()({
|
|
|
110
113
|
})}
|
|
111
114
|
${attributes(inputs.attributePassthrough?.label)}
|
|
112
115
|
style=${ifDefined(inputs.stylePassthrough?.label)}
|
|
116
|
+
${listen('click', updateValue)}
|
|
113
117
|
>
|
|
114
118
|
<span
|
|
115
119
|
class="custom-checkbox ${classMap({
|
|
@@ -123,7 +127,6 @@ export const ViraCheckbox = defineViraElement()({
|
|
|
123
127
|
${attributes(inputs.attributePassthrough?.['custom-checkbox'])}
|
|
124
128
|
style=${ifDefined(inputs.stylePassthrough?.['custom-checkbox'])}
|
|
125
129
|
${listenToActivate(updateValue)}
|
|
126
|
-
${listen('click', updateValue)}
|
|
127
130
|
>
|
|
128
131
|
<${ViraIcon.assign({
|
|
129
132
|
icon: Check24Icon,
|