classcard-ui 0.2.830 → 0.2.831

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.830",
3
+ "version": "0.2.831",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -104,7 +104,19 @@
104
104
  class="mr-2"
105
105
  ></c-avatar>
106
106
  <div class="w-full hover:text-white">
107
- <p>{{ option[optionLabel] }}</p>
107
+ <div class="flex items-center">
108
+ <p>{{ option[optionLabel] }}</p>
109
+ <!-- <c-tag v-if="tags" label="Something" color="gray"></c-tag> -->
110
+ <div class="ml-3">
111
+ <span
112
+ v-if="tags"
113
+ class="inline-flex rounded-md bg-gray-400 px-2 py-px text-sm leading-5 text-white"
114
+ >
115
+ {{ option.type }}
116
+ </span>
117
+ </div>
118
+ </div>
119
+
108
120
  <p class="text-xs" v-if="option.description">
109
121
  {{ option.description }}
110
122
  </p>
@@ -252,6 +264,10 @@ export default {
252
264
  helpText: {
253
265
  type: String,
254
266
  },
267
+ tags: {
268
+ type: Boolean,
269
+ default: false,
270
+ },
255
271
  },
256
272
  computed: {},
257
273
  data() {
@@ -88,17 +88,20 @@ Default.args = {
88
88
  text: "Packages",
89
89
  initials: "AS",
90
90
  children: [{ id: "15820_Package", text: "Mathematics" }],
91
+ description: "Some descriptions",
91
92
  },
92
93
  {
93
94
  text: "Packages",
94
95
  initials: "AS",
95
96
  children: [{ id: "15820_Package", text: "Mathematics" }],
96
97
  details: "something@gmail.com",
98
+ description: "Some descriptions",
97
99
  },
98
100
  {
99
101
  text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. ",
100
102
  children: [{ id: "15820_Package", text: "Mathematics" }],
101
103
  details: "something@gmail.com",
104
+ description: "Some descriptions",
102
105
  },
103
106
  ],
104
107
  optionLabel: "text",