vue3-extended-multiselect 1.1.7 → 1.1.8
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/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Patch notes
|
|
2
2
|
|
|
3
|
-
Current `vue3-extended-multiselect` version: **1.1.
|
|
3
|
+
Current `vue3-extended-multiselect` version: **1.1.8**
|
|
4
4
|
|
|
5
5
|
***
|
|
6
6
|
|
|
@@ -125,4 +125,7 @@ Adding descriptive comments for some types in typings.
|
|
|
125
125
|
* Searching for options by async loader is moved to in separate method.
|
|
126
126
|
|
|
127
127
|
### 1.1.7 (2022-12-15)
|
|
128
|
-
* Adding "disableByField" prop for determination of field in options of type "object" which value will be used to disable such options.
|
|
128
|
+
* Adding "disableByField" prop for determination of field in options of type "object" which value will be used to disable such options.
|
|
129
|
+
|
|
130
|
+
### 1.1.8 (2022-12-18)
|
|
131
|
+
* Changing default value of "toggleIcon" prop to "base-arrow".
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# vue3-extended-multiselect v1.1.
|
|
1
|
+
# vue3-extended-multiselect v1.1.8
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -71,7 +71,7 @@ Prop name | Prop type | Prop appointment | Prop default value | Prop values
|
|
|
71
71
|
**searchByField**|String|Determines field in options of type "object" to use in internal search.|""|—|
|
|
72
72
|
**themeType**|String|Defines overall color theme for extended multiselect.|"basic"|"basic", "slate-grey", "slate-blue", "teal",<br/> "strict"|
|
|
73
73
|
**toggle<br/>Appearance<br/>Side**|String|Defines which side options list will be displayed on.|"auto"|"auto", "atop", "under"|
|
|
74
|
-
**toggleIcon**|String|Defines kind of toggle icon from icons collection.|"
|
|
74
|
+
**toggleIcon**|String|Defines kind of toggle icon from icons collection.|"base-arrow"|"base-arrow", "double-arrow", "wide-arrow", "circle-arrow", "inner-arrow", "triangle-arrow", "triangle-circle-arrow"|
|
|
75
75
|
**anyOption<br/>Wrapper<br/>BlockHeight**|Number|Defines "height" css-property for each option in options list.|30|—|
|
|
76
76
|
**increase<br/>Display<br/>By**|Number|Defines gap which increases limit of displayed elements with selected options.|5|—|
|
|
77
77
|
**maxOptions<br/>Count**|Number|Maximal limit of selected options.|null|—|
|
package/package.json
CHANGED
|
@@ -627,12 +627,12 @@ const props = defineProps({
|
|
|
627
627
|
|
|
628
628
|
/**
|
|
629
629
|
* Defines kind of toggle icon from icons collection
|
|
630
|
-
* @default "
|
|
630
|
+
* @default "base-arrow"
|
|
631
631
|
* @property {string} toggleIcon
|
|
632
632
|
*/
|
|
633
633
|
toggleIcon: {
|
|
634
634
|
type: String,
|
|
635
|
-
default: "
|
|
635
|
+
default: "base-arrow",
|
|
636
636
|
validator(value) {
|
|
637
637
|
return toggleIcons.includes(value);
|
|
638
638
|
},
|
package/tests/unit/props.spec.js
CHANGED
|
@@ -674,7 +674,7 @@ describe("props", () => {
|
|
|
674
674
|
const toggleWrapper = wrapper.findComponent(ExtendedMultiselectToggle);
|
|
675
675
|
const icon = toggleWrapper.find("img");
|
|
676
676
|
|
|
677
|
-
expect(toggleWrapper.props("toggleIcon")).toEqual("
|
|
677
|
+
expect(toggleWrapper.props("toggleIcon")).toEqual("base-arrow");
|
|
678
678
|
expect(icon.exists()).toBeTruthy();
|
|
679
679
|
expect(icon.isVisible()).toBeTruthy();
|
|
680
680
|
});
|