classcard-ui 0.2.795 → 0.2.797

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.795",
3
+ "version": "0.2.797",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -174,7 +174,7 @@
174
174
  <p v-if="!isValidate" class="mt-2 text-left text-sm text-red-600">
175
175
  {{ errorMessage }}
176
176
  </p>
177
- <p v-if="helpText" class="mt-2 text-sm text-gray-500">
177
+ <p v-if="helpText" class="mt-2 text-left text-sm text-gray-500">
178
178
  {{ helpText }}
179
179
  </p>
180
180
  </div>
@@ -96,8 +96,10 @@
96
96
  :isLoading="downloadLoader"
97
97
  ></c-button-icon>
98
98
  </div>
99
+ <!-- no download buttons -->
100
+ <div v-if="!enableDownload && !downloadDropdown"></div>
99
101
  <!-- download button with download options -->
100
- <div v-else class="relative ml-3">
102
+ <div v-if="enableDownload && downloadDropdown" class="relative ml-3">
101
103
  <div>
102
104
  <button
103
105
  @click="handleDownloadToggle"