classcard-ui 0.2.796 → 0.2.798

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.796",
3
+ "version": "0.2.798",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -23,8 +23,9 @@
23
23
  $emit('blurEvent', $event);
24
24
  "
25
25
  @focus="$emit('focus', $event.target.value)"
26
- :class="errorClasses"
27
- class="block w-full flex-1 rounded-md px-3 py-2 text-sm text-gray-900 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 disabled:opacity-50"
26
+ :class="`${errorClasses} block w-full flex-1 ${
27
+ customClasses ? customClasses : 'rounded-md'
28
+ } px-3 py-2 text-sm text-gray-900 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 disabled:opacity-50`"
28
29
  :placeholder="placeholder"
29
30
  :disabled="disabled"
30
31
  />
@@ -95,6 +96,9 @@ export default {
95
96
  type: String,
96
97
  default: "text",
97
98
  },
99
+ customClasses: {
100
+ type: String,
101
+ },
98
102
  customIcon: {
99
103
  type: Boolean,
100
104
  default: false,
@@ -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"