vue3-extended-multiselect 1.7.0 → 1.7.2

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.
Files changed (46) hide show
  1. package/.browserslistrc +2 -2
  2. package/.eslintrc.js +34 -34
  3. package/.github/workflows/publish.yml +41 -41
  4. package/CHANGELOG.md +284 -275
  5. package/LICENSE +21 -21
  6. package/README.md +267 -267
  7. package/babel.config.js +9 -9
  8. package/index.js +2 -2
  9. package/jest.config.js +61 -61
  10. package/package.json +46 -46
  11. package/src/assets/base-arrow.svg +70 -70
  12. package/src/assets/cancel.svg +34 -34
  13. package/src/assets/circle-arrow.svg +7 -7
  14. package/src/assets/double-arrow.svg +39 -39
  15. package/src/assets/inner-arrow.svg +8 -8
  16. package/src/assets/loader.svg +5 -5
  17. package/src/assets/triangle-arrow.svg +72 -72
  18. package/src/assets/triangle-circle-arrow.svg +38 -38
  19. package/src/assets/wide-arrow.svg +72 -72
  20. package/src/components/ExtendedMultiselectCancel.vue +165 -165
  21. package/src/components/ExtendedMultiselectInput.vue +705 -705
  22. package/src/components/ExtendedMultiselectLoader.vue +182 -182
  23. package/src/components/ExtendedMultiselectMultiple.vue +365 -365
  24. package/src/components/ExtendedMultiselectOptions.vue +1168 -1168
  25. package/src/components/ExtendedMultiselectToggle.vue +271 -271
  26. package/src/components/Vue3ExtendedMultiselect.vue +1803 -1783
  27. package/src/composition/cancel.js +36 -36
  28. package/src/composition/click-outside.js +8 -8
  29. package/src/composition/emitter.js +8 -8
  30. package/src/composition/image-path.js +16 -16
  31. package/src/composition/labels.js +41 -41
  32. package/src/composition/preselected-options.js +67 -67
  33. package/src/composition/search-value.js +33 -33
  34. package/src/composition/sizes.js +44 -44
  35. package/src/composition/toggle.js +31 -31
  36. package/src/events/LocalEmitter.js +31 -31
  37. package/src/events/instance.js +3 -0
  38. package/src/sets/sets.js +99 -99
  39. package/src/styles/animations.css +18 -18
  40. package/src/styles/main.css +454 -454
  41. package/src/styles/variables.css +49 -49
  42. package/tests/unit/events.spec.js +136 -136
  43. package/tests/unit/props.spec.js +1128 -1128
  44. package/tests/utils/mount.js +37 -37
  45. package/tests/utils/utils.js +20 -20
  46. package/typings/vue3-extended-multiselect.d.ts +43 -43
package/.browserslistrc CHANGED
@@ -1,3 +1,3 @@
1
- > 1%
2
- last 2 versions
1
+ > 1%
2
+ last 2 versions
3
3
  not dead
package/.eslintrc.js CHANGED
@@ -1,35 +1,35 @@
1
- module.exports = {
2
- root: true,
3
- env: {
4
- node: true,
5
- },
6
- extends: [
7
- "plugin:vue/vue3-essential",
8
- "eslint:recommended"
9
- ],
10
- parserOptions: {
11
- parser: "babel-eslint",
12
- sourceType: "module",
13
- ecmaVersion: "13",
14
- ecmaFeatures: {
15
- modules: true
16
- },
17
- },
18
- rules: {
19
- "no-console": "off",
20
- "no-debugger": "off",
21
- "no-unused-vars": "off",
22
- "no-undef": "off"
23
- },
24
- overrides: [
25
- {
26
- files: [
27
- "**/__tests__/*.{j,t}s?(x)",
28
- "**/tests/unit/**/*.spec.{j,t}s?(x)"
29
- ],
30
- env: {
31
- jest: true,
32
- }
33
- }
34
- ]
1
+ module.exports = {
2
+ root: true,
3
+ env: {
4
+ node: true,
5
+ },
6
+ extends: [
7
+ "plugin:vue/vue3-essential",
8
+ "eslint:recommended"
9
+ ],
10
+ parserOptions: {
11
+ parser: "babel-eslint",
12
+ sourceType: "module",
13
+ ecmaVersion: "13",
14
+ ecmaFeatures: {
15
+ modules: true
16
+ },
17
+ },
18
+ rules: {
19
+ "no-console": "off",
20
+ "no-debugger": "off",
21
+ "no-unused-vars": "off",
22
+ "no-undef": "off"
23
+ },
24
+ overrides: [
25
+ {
26
+ files: [
27
+ "**/__tests__/*.{j,t}s?(x)",
28
+ "**/tests/unit/**/*.spec.{j,t}s?(x)"
29
+ ],
30
+ env: {
31
+ jest: true,
32
+ }
33
+ }
34
+ ]
35
35
  }
@@ -1,41 +1,41 @@
1
- # This workflow will run tests using node and then publish a package to GitHub Packages when changes were pushed
2
- # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
-
4
- name: publish
5
-
6
- on:
7
- push:
8
- branches:
9
- - master
10
-
11
- jobs:
12
- tests-checkout:
13
- runs-on: ubuntu-latest
14
- steps:
15
- - name: checkout
16
- uses: actions/checkout@v3
17
- - name: node
18
- uses: actions/setup-node@v3
19
- with:
20
- node-version: 16
21
- registry-url: https://registry.npmjs.org/
22
- - name: install
23
- run: npm install
24
- - name: tests
25
- run: npm run test:unit
26
-
27
- publish-npm:
28
- needs: tests-checkout
29
- runs-on: ubuntu-latest
30
- steps:
31
- - name: checkout
32
- uses: actions/checkout@v3
33
- - name: node
34
- uses: actions/setup-node@v3
35
- with:
36
- node-version: 16
37
- registry-url: https://registry.npmjs.org/
38
- - name: publish
39
- run: npm publish --access public
40
- env:
41
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when changes were pushed
2
+ # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
+
4
+ name: publish
5
+
6
+ on:
7
+ push:
8
+ branches:
9
+ - master
10
+
11
+ jobs:
12
+ tests-checkout:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: checkout
16
+ uses: actions/checkout@v3
17
+ - name: node
18
+ uses: actions/setup-node@v3
19
+ with:
20
+ node-version: 16
21
+ registry-url: https://registry.npmjs.org/
22
+ - name: install
23
+ run: npm install
24
+ - name: tests
25
+ run: npm run test:unit
26
+
27
+ publish-npm:
28
+ needs: tests-checkout
29
+ runs-on: ubuntu-latest
30
+ steps:
31
+ - name: checkout
32
+ uses: actions/checkout@v3
33
+ - name: node
34
+ uses: actions/setup-node@v3
35
+ with:
36
+ node-version: 16
37
+ registry-url: https://registry.npmjs.org/
38
+ - name: publish
39
+ run: npm publish --access public
40
+ env:
41
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}