@everchron/ec-shards 0.8.34 → 0.8.35
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/dist/ec-shards.common.js +30 -28
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +30 -28
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +1 -1
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/switch/switch.vue +6 -5
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="ecs-switch-wrapper"
|
|
2
|
+
<div class="ecs-switch-wrapper">
|
|
3
3
|
<label class="ecs-switch"
|
|
4
4
|
:class="[
|
|
5
5
|
sizeClass,
|
|
6
|
-
hasDefaultSlot ? `ecs-switch-has-label` : ''
|
|
6
|
+
hasDefaultSlot ? `ecs-switch-has-label` : '',
|
|
7
|
+
disabled ? `disabled` : ''
|
|
7
8
|
]">
|
|
8
9
|
<input
|
|
9
10
|
type="checkbox"
|
|
@@ -136,10 +137,10 @@
|
|
|
136
137
|
&-wrapper{
|
|
137
138
|
display: flex;
|
|
138
139
|
align-items: center;
|
|
140
|
+
}
|
|
139
141
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
142
|
+
&.disabled{
|
|
143
|
+
opacity: .5;
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
input[type=checkbox] {
|