@avakhula/ui 0.0.101 → 0.0.103

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": "@avakhula/ui",
3
- "version": "0.0.101",
3
+ "version": "0.0.103",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -39,6 +39,7 @@ export default {
39
39
 
40
40
  if (
41
41
  this.states === progressBarStates.FAILED ||
42
+ this.states === progressBarStates.CANCELING ||
42
43
  this.states === progressBarStates.CANCELED
43
44
  ) {
44
45
  return "close-circle";
@@ -2,5 +2,6 @@ export const progressBarStates = {
2
2
  PROGRESS: "progress",
3
3
  SUCCESS: "success",
4
4
  FAILED: "failed",
5
+ CANCELING: "canceling",
5
6
  CANCELED: "canceled",
6
7
  };
@@ -102,6 +102,13 @@ $progress-bar-canceled-bg: $gray-500;
102
102
  }
103
103
  }
104
104
 
105
+ &.progress-bar-canceling {
106
+ .gradient {
107
+ display: block;
108
+ }
109
+ }
110
+
111
+ &.progress-bar-canceling,
105
112
  &.progress-bar-canceled {
106
113
  .progress {
107
114
  min-width: 100%;
@@ -854,6 +854,7 @@ export default {
854
854
  this.filter(this.filterString, options);
855
855
  },
856
856
  onClose() {
857
+ this.filter(this.filterString, this.options);
857
858
  if (this.isMultiple) {
858
859
  this.$emit("close", Object.keys(this.selected));
859
860
  } else {