classcard-ui 0.2.880 → 0.2.882

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.880",
3
+ "version": "0.2.882",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  :class="`flex items-center ${
4
- isBackground ? `w-min rounded-xl px-2 text-sm bg-${color}-100` : ''
4
+ isBackground ? `w-fit rounded-xl px-2 text-sm bg-${color}-100` : ''
5
5
  }`"
6
6
  >
7
7
  <span
@@ -234,6 +234,9 @@
234
234
  type="solid"
235
235
  ></c-icon>
236
236
  </span>
237
+ <span class="font-medium text-gray-500" v-else-if="fontHeader">
238
+ {{ props.column.label }}
239
+ </span>
237
240
  <span v-else>
238
241
  {{ props.column.label }}
239
242
  </span>
@@ -311,6 +314,10 @@ export default {
311
314
  VueSkeletonLoader,
312
315
  },
313
316
  props: {
317
+ fontHeader: {
318
+ type: Boolean,
319
+ default: false,
320
+ },
314
321
  // To show or hide pagination section
315
322
  pagination: {
316
323
  type: Boolean,