classcard-ui 0.2.381 → 0.2.385

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.381",
3
+ "version": "0.2.385",
4
4
  "main": "dist/classcard-ui.common.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -18,6 +18,7 @@
18
18
  @input="onDayClick"
19
19
  :value="value"
20
20
  :min-date="minDate"
21
+ :attributes="attrs"
21
22
  firstDayOfWeek="2"
22
23
  :is-required="true"
23
24
  >
@@ -113,6 +114,15 @@ export default {
113
114
  };
114
115
  return {
115
116
  masks,
117
+ attrs: [
118
+ {
119
+ highlight: {
120
+ color: "blue",
121
+ fillMode: "outline",
122
+ },
123
+ dates: new Date(),
124
+ },
125
+ ],
116
126
  };
117
127
  },
118
128
  methods: {
@@ -50,9 +50,10 @@
50
50
  type="button"
51
51
  v-if="items.listIcon"
52
52
  @click="$emit('remove')"
53
- class="focus:outline-none flex h-8 w-8 items-center justify-center rounded-full text-gray-500 hover:bg-red-100 hover:text-red-800 focus:ring-2 focus:ring-red-500"
53
+ class="focus:outline-none"
54
54
  >
55
- <c-icon name="trash" type="solid" class="h-5 w-5 hover:text-red-800"></c-icon>
55
+ <!-- slot for delete icons -->
56
+ <slot name="removeIcons"></slot>
56
57
  </button>
57
58
  </div>
58
59
  </div>