classcard-ui 0.2.518 → 0.2.519

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": "classcard-ui",
3
- "version": "0.2.518",
3
+ "version": "0.2.519",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -1,28 +1,31 @@
1
1
  <template>
2
2
  <div>
3
- <div class="bg-white rounded-md -space-y-px">
3
+ <div class="-space-y-px rounded-md bg-white">
4
4
  <div
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
  >
9
- <div class="flex items-center h-5">
9
+ <div class="flex items-start">
10
10
  <input
11
11
  type="radio"
12
12
  :value="item.value"
13
13
  :name="name"
14
14
  v-model="selectedItem"
15
15
  @click="onChange(item.value)"
16
- class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 cursor-pointer border-gray-300 disabled:opacity-50"
16
+ class="mt-0.5 h-4 w-4 cursor-pointer border-gray-300 text-indigo-600 focus:ring-indigo-500 disabled:opacity-50"
17
17
  :disabled="isDisabled"
18
18
  />
19
- <label class="ml-3 flex flex-col cursor-pointer" @click="onChange(item.value)">
19
+ <label
20
+ class="ml-3 flex cursor-pointer flex-col"
21
+ @click="onChange(item.value)"
22
+ >
20
23
  <span class="block text-sm font-medium">
21
24
  {{ item.label }}
22
25
  </span>
23
26
  <span class="block text-sm text-gray-500">
24
27
  {{ item.description }}
25
- </span>
28
+ </span>
26
29
  </label>
27
30
  </div>
28
31
  <slot v-if="item.value === selectedItem" :name="item.value" />