@avakhula/ui 0.0.145 → 0.0.147

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.145",
3
+ "version": "0.0.147",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -135,6 +135,10 @@ export default {
135
135
  classList.push("ib-btn-block");
136
136
  }
137
137
 
138
+ if (this.href.length) {
139
+ classList.push("ib-btn-link");
140
+ }
141
+
138
142
  if (this.hasIcon) {
139
143
  classList.push("ib-btn-has-icon");
140
144
  }
@@ -157,7 +157,7 @@ $disabled-btn-color: $neutral-500;
157
157
  }
158
158
 
159
159
  &.ib-btn-disabled {
160
- &a,
160
+ &.ib-btn-link,
161
161
  &:disabled {
162
162
  background: $ghost-btn-disabled-background;
163
163
  }
@@ -196,7 +196,7 @@ $disabled-btn-color: $neutral-500;
196
196
  }
197
197
 
198
198
  &.ib-btn-disabled {
199
- &a,
199
+ &.ib-btn-link,
200
200
  &:disabled {
201
201
  background: $ghostDanger-btn-disabled-background;
202
202
  }
@@ -211,7 +211,7 @@ $disabled-btn-color: $neutral-500;
211
211
  }
212
212
 
213
213
  &.ib-btn-disabled {
214
- &a,
214
+ &.ib-btn-link,
215
215
  &:disabled {
216
216
  background: $disabled-btn-background;
217
217
  color: $disabled-btn-color;
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <ib-popover
3
+ v-if="text.length"
3
4
  :position="position"
4
5
  :always-visible="alwaysVisible"
5
6
  :class="classList"