classcard-ui 0.2.1484 → 0.2.1485

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.1484",
3
+ "version": "0.2.1485",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
package/src/.DS_Store ADDED
Binary file
@@ -9,8 +9,8 @@
9
9
  v-if="type == 'tertiary'"
10
10
  :class="customClasses"
11
11
  :id="id"
12
- :disabled="disabled"
13
- class="child-button inline-flex h-9 cursor-pointer items-center gap-2 rounded-md px-3 py-2 text-sm text-indigo-600 hover:bg-indigo-100 hover:text-indigo-800 focus:outline-none focus:ring-2 focus:ring-indigo-200 focus:ring-offset-2"
12
+ :disabled="disabled || isLoading"
13
+ class="child-button inline-flex h-9 items-center gap-2 rounded-md px-3 py-2 text-sm text-indigo-600 hover:bg-indigo-100 hover:text-indigo-800 focus:outline-none focus:ring-2 focus:ring-indigo-200 focus:ring-offset-2"
14
14
  @click.prevent="$emit('action')"
15
15
  >
16
16
  <c-icon
@@ -30,7 +30,7 @@
30
30
  :id="id"
31
31
  :style="computedStyles"
32
32
  :class="[classes]"
33
- :disabled="disabled"
33
+ :disabled="disabled || isLoading"
34
34
  class="child-button inline-flex h-9 items-center gap-2 rounded-md px-3 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2"
35
35
  @click.prevent="$emit('action')"
36
36
  >
@@ -52,8 +52,8 @@
52
52
  :id="id"
53
53
  :style="computedStyles"
54
54
  :class="[classes]"
55
- :disabled="disabled"
56
- class="child-button inline-flex h-9 items-center gap-2 rounded-md px-4 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2"
55
+ :disabled="disabled || isLoading"
56
+ class="child-button inline-flex h-9 items-center gap-2 rounded-md px-3 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2"
57
57
  @click.prevent="$emit('action')"
58
58
  >
59
59
  {{ label }}
@@ -73,7 +73,7 @@
73
73
  :type="type"
74
74
  :id="id"
75
75
  :class="[classes]"
76
- :disabled="disabled"
76
+ :disabled="disabled || isLoading"
77
77
  class="child-button inline-flex h-9 items-center gap-2 rounded-md px-3 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2"
78
78
  @click.prevent="$emit('action')"
79
79
  >
@@ -7,7 +7,7 @@
7
7
  tagClasses,
8
8
  useFlex ? 'flex' : 'inline-flex',
9
9
  ]"
10
- class="items-center rounded-md px-2.5 py-0.5 text-sm"
10
+ class="items-center rounded-md px-3 py-0.5 text-sm"
11
11
  >
12
12
  <span
13
13
  v-if="dotIcon"
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  <button
17
17
  type="button"
18
- class="inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
18
+ class="inline-flex items-center rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
19
19
  @click="initFilestack()"
20
20
  :id="id"
21
21
  v-if="displayMode == 'overlay' && icon"
@@ -38,6 +38,7 @@
38
38
  <c-icon
39
39
  name="arrow-up"
40
40
  type="solid"
41
+ cursorType="cursor-pointer"
41
42
  class="mr-1 h-5 w-5 flex-none text-indigo-600"
42
43
  viewBox="0 0 20 20"
43
44
  ></c-icon>