classcard-ui 0.2.908 → 0.2.910

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.908",
3
+ "version": "0.2.910",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -13,7 +13,7 @@
13
13
  <div class="relative">
14
14
  <input
15
15
  type="text"
16
- class="focus:outline-none relative w-full cursor-default rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left shadow-sm focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 disabled:pointer-events-none disabled:opacity-50 sm:text-sm"
16
+ class="relative w-full cursor-default rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 disabled:pointer-events-none disabled:opacity-50 sm:text-sm"
17
17
  aria-haspopup="listbox"
18
18
  aria-expanded="true"
19
19
  aria-labelledby="listbox-label"
@@ -75,7 +75,7 @@
75
75
  To: "opacity-0"
76
76
  -->
77
77
  <ul
78
- class="ring-black focus:outline-none absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-opacity-5 sm:text-sm"
78
+ class="absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
79
79
  tabindex="-1"
80
80
  role="listbox"
81
81
  aria-labelledby="listbox-label"
@@ -96,7 +96,7 @@
96
96
  <span class="block truncate"> {{ option.label }} </span>
97
97
  </li>
98
98
  <li
99
- class="group relative cursor-default select-none py-2 pl-3 pr-9 text-left text-gray-900 hover:bg-indigo-600 hover:text-white"
99
+ class="group group relative cursor-default select-none py-2 pl-3 pr-9 text-left text-gray-900 hover:bg-indigo-600 hover:text-white"
100
100
  v-for="subOption in option.options"
101
101
  :key="subOption.id"
102
102
  role="option"
@@ -113,6 +113,11 @@
113
113
  ]"
114
114
  >
115
115
  {{ subOption.label }}
116
+ <span
117
+ v-if="subOption.labelExtra"
118
+ class="ml-1 text-sm text-gray-400 group-hover:text-white"
119
+ >{{ subOption.labelExtra }}</span
120
+ >
116
121
  <div
117
122
  v-if="
118
123
  subOption.stock_level ||
package/src/icons.js CHANGED
@@ -345,4 +345,6 @@ export default {
345
345
  "M17 14v6m-3-3h6M6 10h2a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v2a2 2 0 002 2zm10 0h2a2 2 0 002-2V6a2 2 0 00-2-2h-2a2 2 0 00-2 2v2a2 2 0 002 2zM6 20h2a2 2 0 002-2v-2a2 2 0 00-2-2H6a2 2 0 00-2 2v2a2 2 0 002 2z",
346
346
  "menu-cog":
347
347
  "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065zM15 12a3 3 0 11-6 0 3 3 0 016 0z",
348
+ "menu-user":
349
+ "M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z",
348
350
  };
@@ -27,6 +27,7 @@ Default.args = {
27
27
  {
28
28
  id: 11751,
29
29
  label: "Activity - Cricket - Flat Rate",
30
+ labelExtra: "Something",
30
31
  },
31
32
  {
32
33
  id: 13344,
@@ -35,6 +36,7 @@ Default.args = {
35
36
  {
36
37
  id: 13407,
37
38
  label: "Sports - Cricket - 60 mins",
39
+ labelExtra: "Football - extra - 15mins",
38
40
  },
39
41
  {
40
42
  id: 15370,