classcard-ui 0.2.739 → 0.2.740

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.739",
3
+ "version": "0.2.740",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -8,7 +8,7 @@
8
8
  <button
9
9
  @click="showButtons = !showButtons"
10
10
  type="button"
11
- class="focus:ring-blue-600 focus:border-blue-600 focus:outline-none relative inline-flex items-center rounded-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-900 hover:bg-gray-50 focus:z-10 focus:ring-1 sm:rounded-md sm:px-3"
11
+ class="relative inline-flex items-center rounded-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-900 hover:bg-gray-50 focus:z-10 focus:border-blue-600 focus:outline-none focus:ring-1 focus:ring-blue-600 sm:rounded-md sm:px-3"
12
12
  id="menu-3"
13
13
  aria-expanded="false"
14
14
  aria-haspopup="true"
@@ -23,9 +23,11 @@
23
23
  </div>
24
24
  <div
25
25
  v-show="showButtons"
26
- class="ring-black focus:outline-none absolute z-10 mt-2 w-full origin-top-right rounded-md bg-white shadow-lg ring-1 ring-opacity-5"
26
+ class="absolute z-10 mt-2 w-full origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"
27
27
  role="menu"
28
28
  aria-orientation="vertical"
29
+ @click="handleEvent(button.onClickAction)"
30
+ @blur="handleEvent(button.blurAction)"
29
31
  >
30
32
  <div class="py-1">
31
33
  <a
@@ -52,7 +54,7 @@
52
54
  v-for="(button, index) in buttonObject"
53
55
  v-bind:key="button.label"
54
56
  type="button"
55
- class="focus:outline-none relative inline-flex items-center border-r border-l border-t border-b border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500"
57
+ class="relative inline-flex items-center border-r border-l border-t border-b border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
56
58
  :class="{
57
59
  'rounded-r-md rounded-l-none border-l border-r':
58
60
  index == buttonObject.length - 1,