classcard-ui 0.2.350 → 0.2.351

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.350",
3
+ "version": "0.2.351",
4
4
  "main": "dist/classcard-ui.common.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -4,7 +4,7 @@
4
4
  <button
5
5
  v-if="type == 'tertiary'"
6
6
  :class="customClasses"
7
- class="cursor-pointer flex flex-row rounded-md px-4 py-2 text-sm hover:bg-indigo-100 text-indigo-600 hover:text-indigo-800 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-200"
7
+ class="focus:outline-none flex cursor-pointer flex-row rounded-md px-4 py-2 text-sm text-indigo-600 hover:bg-indigo-100 hover:text-indigo-800 focus:ring-2 focus:ring-indigo-200 focus:ring-offset-2"
8
8
  @click="$emit('action')"
9
9
  >
10
10
  <c-icon
@@ -22,7 +22,7 @@
22
22
  :type="type"
23
23
  :class="classes"
24
24
  :disabled="disabled"
25
- class="inline-flex items-center px-4 py-2 shadow-sm text-sm font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-50"
25
+ class="focus:outline-none inline-flex items-center rounded-md px-4 py-2 text-sm font-medium shadow-sm focus:ring-2 focus:ring-offset-2 disabled:opacity-50"
26
26
  @click="$emit('action')"
27
27
  >
28
28
  <c-icon v-if="isLoading" class="mr-2 h-5 w-5" name="loader"></c-icon>
@@ -81,18 +81,14 @@ export default {
81
81
  this.type == "secondary",
82
82
  "text-white hover:bg-indigo-800 bg-indigo-700 focus:ring-indigo-600":
83
83
  this.type == "primary",
84
- "text-white hover:bg-red-800 bg-red-700 focus:ring-red-600":
84
+ "text-white hover:bg-red-800 bg-red-700 focus:ring-red-600 border border-transparent":
85
85
  this.type == "danger",
86
- "text-white hover:bg-green-800 bg-green-700 focus:ring-green-600":
87
- this.type == "success",
86
+ "text-white hover:bg-green-800 bg-green-700 focus:ring-green-600": this.type == "success",
88
87
  "text-green-800 border border-solid border-gray-300 bg-white hover:bg-gray-50 focus:ring-indigo-600":
89
88
  this.type == "secondary-success",
90
- "text-gray-700 hover:bg-gray-200 bg-gray-100":
91
- this.type == "secondary-gray",
92
- "bg-red-100 text-red-800 hover:bg-red-200 focus:ring-red-200":
93
- this.type == "light-red",
94
- "bg-gray-800 text-white hover:bg-gray-700 focus:ring-gray-500":
95
- this.type == "dark-blue",
89
+ "text-gray-700 hover:bg-gray-200 bg-gray-100": this.type == "secondary-gray",
90
+ "bg-red-100 text-red-800 hover:bg-red-200 focus:ring-red-200": this.type == "light-red",
91
+ "bg-gray-800 text-white hover:bg-gray-700 focus:ring-gray-500": this.type == "dark-blue",
96
92
  "cursor-default pointer-events-none": this.isLoading,
97
93
  };
98
94
  classes[this.customClasses] = true;