vue3-extended-multiselect 0.1.3 → 0.1.4

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/.nvmrc CHANGED
Binary file
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Patch notes
2
2
 
3
- Current `vue3-extended-multiselect` version: **0.1.3**
3
+ Current `vue3-extended-multiselect` version: **0.1.4**
4
4
 
5
5
  ***
6
6
 
@@ -45,3 +45,7 @@ Removal of excess symbol in styles.
45
45
  ### 0.1.3 (2022-12-05)
46
46
 
47
47
  Adding .nvmrc file.
48
+
49
+ ### 0.1.4 (2022-12-05)
50
+
51
+ Adding descriptive comments for some types in typings.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # vue3-extended-multiselect v0.1.3
1
+ # vue3-extended-multiselect v0.1.4
2
2
 
3
3
  ***
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue3-extended-multiselect",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Extended multiselect component for applications based on Vue 3 framework",
5
5
  "keywords": [
6
6
  "multiselect",
@@ -1,5 +1,11 @@
1
+ /**
2
+ * General type for any kind of option
3
+ */
1
4
  export type UnionOptionType = string | number | boolean | object | Array<unknown> | Function | null | undefined;
2
5
 
6
+ /**
7
+ * Method types provided by slot-scope
8
+ */
3
9
  export type Cancel = () => void;
4
10
  export type CreateCustomOptionLabel = (option: UnionOptionType) => null | string;
5
11
  export type Increase = Cancel;
@@ -26,6 +32,9 @@ interface SingleOption extends InputIdInPayload {
26
32
  option: UnionOptionType;
27
33
  }
28
34
 
35
+ /**
36
+ * Event types
37
+ */
29
38
  export type CleanEvent = UnionOptionType[] | OptionsList;
30
39
  export type CloseEvent = CleanEvent;
31
40
  export type IncreaseEvent = number | Limit;