vueless 1.0.2-beta.13 → 1.0.2-beta.15

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": "vueless",
3
- "version": "1.0.2-beta.13",
3
+ "version": "1.0.2-beta.15",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -215,7 +215,7 @@ const tableRowAttrs = computed(() => ({
215
215
  }));
216
216
 
217
217
  watch(localSelectedRows, onChangeLocalSelectedRows, { deep: true });
218
- watch(() => props.selectedRows, onChangeSelectedRows, { deep: true });
218
+ watch(() => props.selectedRows, onChangeSelectedRows, { deep: true, immediate: true });
219
219
  watch(() => props.expandedRows, onChangeExpandedRows, { deep: true });
220
220
  watch(selectAll, onChangeSelectAll);
221
221
  watch(isHeaderSticky, setHeaderCellWidth);
@@ -33,12 +33,6 @@ const props = withDefaults(defineProps<Props>(), {
33
33
  });
34
34
 
35
35
  const emit = defineEmits([
36
- /**
37
- * Triggers when the select component is clicked.
38
- * @property {boolean} value
39
- */
40
- "click",
41
-
42
36
  /**
43
37
  * Triggers when a dropdown list is opened.
44
38
  * @property {string} elementId
@@ -255,8 +249,6 @@ function deactivate() {
255
249
  }
256
250
 
257
251
  function activate() {
258
- emit("click", isOpen.value);
259
-
260
252
  if (isOpen.value || props.disabled || props.readonly) {
261
253
  return;
262
254
  }