classcard-ui 0.2.295 → 0.2.296
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/classcard-ui.common.js +52 -52
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +52 -52
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CRadio/CRadio.vue +10 -10
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div>
|
|
3
3
|
<div class="bg-white rounded-md -space-y-px">
|
|
4
4
|
<div
|
|
5
|
-
class="relative rounded-tl-md rounded-tr-md pb-5
|
|
5
|
+
class="relative rounded-tl-md rounded-tr-md pb-5"
|
|
6
6
|
v-for="item in items"
|
|
7
7
|
v-bind:key="item.label"
|
|
8
8
|
>
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 cursor-pointer border-gray-300 disabled:opacity-50"
|
|
17
17
|
:disabled="isDisabled"
|
|
18
18
|
/>
|
|
19
|
+
<label class="ml-3 flex flex-col cursor-pointer" @click="onChange(item.value)">
|
|
20
|
+
<span class="block text-sm font-medium">
|
|
21
|
+
{{ item.label }}
|
|
22
|
+
</span>
|
|
23
|
+
<span class="block text-sm text-gray-500">
|
|
24
|
+
{{ item.description }}
|
|
25
|
+
</span>
|
|
26
|
+
</label>
|
|
19
27
|
</div>
|
|
20
|
-
<
|
|
21
|
-
<span class="block text-sm font-medium">
|
|
22
|
-
{{ item.label }}
|
|
23
|
-
</span>
|
|
24
|
-
<span class="block text-sm text-gray-500">
|
|
25
|
-
{{ item.description }}
|
|
26
|
-
</span>
|
|
27
|
-
<slot v-if="item.value === selectedItem" :name="item.value" />
|
|
28
|
-
</label>
|
|
28
|
+
<slot v-if="item.value === selectedItem" :name="item.value" />
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|