classcard-ui 0.2.617 → 0.2.618
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 +66 -53
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +66 -53
- 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/CUpload/CUpload.vue +14 -1
package/package.json
CHANGED
|
@@ -53,7 +53,13 @@
|
|
|
53
53
|
<label
|
|
54
54
|
class="absolute inset-0 flex h-full w-full cursor-pointer items-center justify-center bg-gray-900 bg-opacity-75 text-sm font-medium text-white opacity-0 focus-within:opacity-100 hover:opacity-100"
|
|
55
55
|
>
|
|
56
|
-
<
|
|
56
|
+
<c-icon
|
|
57
|
+
v-if="openIcon"
|
|
58
|
+
:name="openIcon.name"
|
|
59
|
+
:type="openIcon.type"
|
|
60
|
+
:class="openIcon.class"
|
|
61
|
+
></c-icon>
|
|
62
|
+
<span>{{ uploadText }}</span>
|
|
57
63
|
<span class="sr-only"> user photo</span>
|
|
58
64
|
</label>
|
|
59
65
|
</div>
|
|
@@ -101,6 +107,13 @@ export default {
|
|
|
101
107
|
fileSize: {
|
|
102
108
|
type: String,
|
|
103
109
|
},
|
|
110
|
+
openIcon: {
|
|
111
|
+
type: Object,
|
|
112
|
+
},
|
|
113
|
+
uploadText: {
|
|
114
|
+
type: String,
|
|
115
|
+
default: "Change",
|
|
116
|
+
},
|
|
104
117
|
hint: {
|
|
105
118
|
type: String,
|
|
106
119
|
default: "",
|