vue3-extended-multiselect 1.2.1 → 1.2.3

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.2.1**
3
+ Current `vue3-extended-multiselect` version: **1.2.3**
4
4
 
5
5
  ***
6
6
 
@@ -138,4 +138,11 @@ Adding descriptive comments for some types in typings.
138
138
  * Fix bug with undefined class in extended multiselect wrapper class list.
139
139
 
140
140
  ### 1.2.1 (2022-12-21)
141
- * Moving transitions of "border-radius" css-property from computed property to css variable.
141
+ * Moving transitions of "border-radius" css-property from computed property to css variable.
142
+
143
+ ### 1.2.2 (2022-12-21)
144
+ * Removal of excess "transition" css-property.
145
+
146
+ ### 1.2.3 (2022-12-22)
147
+ * Fix bug with excess bottom offset of options list when prop "toggleAppearanceSide" set to "atop".
148
+ * Supplementation of some css-variables.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # vue3-extended-multiselect v1.2.1
1
+ # vue3-extended-multiselect v1.2.3
2
2
 
3
3
  ***
4
4
 
@@ -171,7 +171,8 @@ Vue3 extended multiselect provides following css-variables:
171
171
  --icons-align-self: start;
172
172
  --icons-justify-self: center;
173
173
  --pointer-cursor: pointer;
174
- --wrapper-transition: border-top-left-radius 250ms ease-out, border-top-right-radius 250ms ease-out;
174
+ --wrapper-transition: border-top-left-radius 250ms ease 0s, border-top-right-radius 250ms ease 0s,
175
+ border-bottom-left-radius 250ms ease-out, border-bottom-right-radius 250ms ease-out;
175
176
  ```
176
177
 
177
178
  You can override it globally or by particular instance class name.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue3-extended-multiselect",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Extended multiselect component for applications based on Vue 3 framework",
5
5
  "keywords": [
6
6
  "multiselect",
@@ -1131,7 +1131,7 @@ onMounted(() => {
1131
1131
 
1132
1132
  if (toggleMaxHeight.value > offsetHeight) {
1133
1133
  heightFromMounted.value = {
1134
- top: `-${offsetHeight}px`,
1134
+ top: `-${offsetHeight - 1}px`,
1135
1135
  };
1136
1136
  }
1137
1137
  } else {
@@ -253,7 +253,7 @@ import ExtendedMultiselectToggle from "./ExtendedMultiselectToggle.vue";
253
253
 
254
254
  /**
255
255
  * @author Ridiger Daniil Dmitrievich
256
- * @version 1.2.1
256
+ * @version 1.2.3
257
257
  */
258
258
 
259
259
  const props = defineProps({
@@ -39,7 +39,6 @@
39
39
  .extended__multiselect-strict {
40
40
  border: var(--border);
41
41
  border-radius: var(--border-radius);
42
- transition: border-bottom-left-radius 250ms, border-bottom-right-radius 250ms;
43
42
  display: grid;
44
43
  padding: var(--wrapper-padding);
45
44
  width: var(--max-size);
@@ -45,5 +45,6 @@
45
45
  --icons-align-self: start;
46
46
  --icons-justify-self: center;
47
47
  --pointer-cursor: pointer;
48
- --wrapper-transition: border-top-left-radius 250ms ease-out, border-top-right-radius 250ms ease-out;
48
+ --wrapper-transition: border-top-left-radius 250ms ease 0s, border-top-right-radius 250ms ease 0s,
49
+ border-bottom-left-radius 250ms ease-out, border-bottom-right-radius 250ms ease-out;
49
50
  }
@@ -658,7 +658,7 @@ describe("props", () => {
658
658
 
659
659
  const optionWrapper = wrapper.findComponent(ExtendedMultiselectOptions);
660
660
 
661
- expect(optionWrapper.attributes("style")).toMatch("top: -0px");
661
+ expect(optionWrapper.attributes("style")).toMatch("top: -400px; max-height: 400px;");
662
662
  });
663
663
 
664
664