@avakhula/ui 0.0.291 → 0.0.293

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.291",
3
+ "version": "0.0.293",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div role="checkbox" :class="this.$attrs.class" :aria-checked="checked ? true : false">
2
+ <div role="checkbox" class="ib-checkbox-wrapper" :class="this.$attrs.class" :aria-checked="checked ? true : false">
3
3
  <label
4
4
  v-bind="attrs"
5
5
  :for="id"
@@ -119,7 +119,7 @@ $item-hover-bg: $gray-100;
119
119
  }
120
120
  }
121
121
 
122
- .ib-checkbox {
122
+ .ib-checkbox-wrapper {
123
123
  transition: background-color 0.3s;
124
124
 
125
125
  .ib-checkbox-body {
@@ -458,8 +458,11 @@ export default {
458
458
  });
459
459
  }
460
460
  },
461
- options(newOptions) {
462
- this.initialOptions = copy(newOptions);
461
+ options: {
462
+ handler(newOptions) {
463
+ this.initialOptions = copy(newOptions);
464
+ },
465
+ deep: true,
463
466
  },
464
467
  initialOptions(newOptions) {
465
468
  let isOptionsEqual = true;