classcard-ui 0.2.407 → 0.2.410

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.407",
3
+ "version": "0.2.410",
4
4
  "main": "dist/classcard-ui.common.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -1,11 +1,10 @@
1
1
  <template>
2
- <div class="flex flex-col">
3
- <div
4
- v-if="isUploaded"
5
- class="flex items-center justify-between text-sm font-light"
6
- >
7
- <p class="text-gray-600">{{ label }}</p>
8
- <p class="text-gray-400">{{ hint }}</p>
2
+ <div class="flex h-full flex-col">
3
+ <div class="flex items-center justify-between">
4
+ <label class="block text-sm font-medium text-gray-900">{{ label }}</label>
5
+ <label v-if="isUploaded" class="block text-sm font-medium text-gray-400">
6
+ {{ hint }}
7
+ </label>
9
8
  </div>
10
9
  <button
11
10
  type="button"
@@ -23,7 +22,7 @@
23
22
  </button>
24
23
  <button
25
24
  type="button"
26
- class="flex w-auto items-center justify-center rounded-lg border-2 border-dashed border-gray-300 px-9 py-14 text-center hover:border-gray-400 focus:outline-none"
25
+ class="mt-1.5 flex h-full w-auto items-center justify-center rounded-lg border-2 border-dashed border-gray-300 px-9 py-14 text-center hover:border-gray-400 focus:outline-none"
27
26
  @click="initFilestack()"
28
27
  v-if="displayMode == 'overlay' && !icon"
29
28
  >
@@ -64,11 +63,11 @@ export default {
64
63
  },
65
64
  hint: {
66
65
  type: String,
67
- default: "Optional",
66
+ default: "",
68
67
  },
69
68
  label: {
70
69
  type: String,
71
- default: "Image",
70
+ default: "",
72
71
  },
73
72
  isValidate: { type: Boolean },
74
73
  errorMessage: {