vue3-extended-multiselect 0.0.1 → 0.0.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 (3) hide show
  1. package/CHANGELOG.md +6 -2
  2. package/README.md +26 -54
  3. package/package.json +4 -2
package/CHANGELOG.md CHANGED
@@ -1,9 +1,13 @@
1
1
  ##Patch notes
2
2
 
3
- Current vue3-extended-multiselect version: **0.0.1**
3
+ Current vue3-extended-multiselect version: **0.0.2**
4
4
 
5
5
  ***
6
6
 
7
7
  ####0.0.1
8
8
 
9
- Component `vue3-extended-multiselect` was released.
9
+ Component `vue3-extended-multiselect` was released.
10
+
11
+ ####0.0.2
12
+
13
+ Small fixes in documentation
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # vue-extended-multiselect v1.0.0
1
+ # vue-extended-multiselect v0.0.2
2
2
 
3
3
  ***
4
4
 
5
5
  ### Brief annotation
6
6
 
7
- Vue extended multiselect is a component that was created for simplification of custom settings of built-in select element. This component allows developer to escape writing many excess css-rules by using built-in themes and to escape problems with different kinds of provided options. Various decoration of options list by some extra slots will help developer to make it more informative and obvious. More thorough filtering of raw options list given by developer excludes sudden errors if kind of option is not intended for extended multiselect. Switchable useful warnings will help to catch possible errors that may occur while working with options. Tools for working with selected options will allow user to control amount of displayed options and quickly deselect them. Such tools also can be customized by developer. Various slots can help developer to customize to his liking options list, elements with selected options in multiple select or some other interaction elements. You can use this component in your web-applications based on Vue 2 framework, but soon will be added supporting of next Vue versions.
7
+ Vue extended multiselect is a component that was created for simplification of custom settings of built-in select element. This component allows developer to escape writing many excess css-rules by using built-in themes and to escape problems with different kinds of provided options. Various decoration of options list by some extra slots will help developer to make it more informative and obvious. More thorough filtering of raw options list given by developer excludes sudden errors if kind of option is not intended for extended multiselect. Switchable useful warnings will help to catch possible errors that may occur while working with options. Tools for working with selected options will allow user to control amount of displayed options and quickly deselect them. Such tools also can be customized by developer. Various slots can help developer to customize to his liking options list, elements with selected options in multiple select or some other interaction elements. You can use this component in your web-applications based on Vue 3 framework, but soon will be added supporting of next Vue versions.
8
8
 
9
9
  ### Installation with npm
10
10
 
@@ -16,13 +16,13 @@ Vue extended multiselect is a component that was created for simplification of c
16
16
 
17
17
  ### Importing
18
18
 
19
- <span class="purple">import </span><span class="dark">VueExtendedMultiselect </span><span class="purple">from </span><span class="green">"vue-extended-multiselect"</span>
19
+ <span style="color: #8D0A97;">import </span><span style="color: #211F23;">VueExtendedMultiselect </span><span style="color: #8D0A97;">from </span><span style="color: #82C52A;">"vue-extended-multiselect"</span>
20
20
 
21
21
  ### Importing types
22
22
 
23
- <span class="purple">import </span><span class="grey">{ </span><span class="dark">UnionOptionType </span></span><span class="grey">} </span><span class="purple">from </span><span class="green">"vue-extended-multiselect"</span>
23
+ <span style="color: #8D0A97;">import </span><span style="color: #A7A7A7;">{ </span><span style="color: #211F23;">UnionOptionType </span></span><span style="color: #A7A7A7;">} </span><span style="color: #8D0A97;">from </span><span style="color: #82C52A;">"vue-extended-multiselect"</span>
24
24
 
25
- <table>
25
+ <table style="font-size: 11px">
26
26
  <thead>
27
27
  <h3>Props list</h3>
28
28
  </thead>
@@ -193,7 +193,7 @@ Vue extended multiselect is a component that was created for simplification of c
193
193
  <td>String</td>
194
194
  <td>Defines kind for all options which will be created by user.</td>
195
195
  <td>"primitive"</td>
196
- <td class="list-cell">
196
+ <td>
197
197
  <ul type="square">
198
198
  <li>"primitive"</li>
199
199
  <li>"array"</li>
@@ -220,7 +220,7 @@ Vue extended multiselect is a component that was created for simplification of c
220
220
  <td>String</td>
221
221
  <td>Defines svg-filter with color settings for all icons except loader.</td>
222
222
  <td>"basic"</td>
223
- <td class="list-cell">
223
+ <td>
224
224
  <ul type="square">
225
225
  <li>"basic"</li>
226
226
  <li>"black"</li>
@@ -233,7 +233,7 @@ Vue extended multiselect is a component that was created for simplification of c
233
233
  <td>String</td>
234
234
  <td>Defines sizes for all icons in pixels except loader.</td>
235
235
  <td>"large"</td>
236
- <td class="list-cell">
236
+ <td>
237
237
  <ul type="square">
238
238
  <li>"large"</li>
239
239
  <li>"medium"</li>
@@ -253,7 +253,7 @@ Vue extended multiselect is a component that was created for simplification of c
253
253
  <td>String</td>
254
254
  <td>Defines svg-filter with color settings for loader icon.</td>
255
255
  <td>"loader-default"</td>
256
- <td class="list-cell">
256
+ <td>
257
257
  <ul type="square">
258
258
  <li>"loader-default"</li>
259
259
  <li>"basic"</li>
@@ -276,7 +276,7 @@ Vue extended multiselect is a component that was created for simplification of c
276
276
  <td>String</td>
277
277
  <td>Defines overall color theme for extended multiselect.</td>
278
278
  <td>"basic"</td>
279
- <td class="list-cell">
279
+ <td>
280
280
  <ul type="square">
281
281
  <li>"basic"</li>
282
282
  <li>"slate-grey"</li>
@@ -291,7 +291,7 @@ Vue extended multiselect is a component that was created for simplification of c
291
291
  <td>String</td>
292
292
  <td>Defines which side options list will be displayed on.</td>
293
293
  <td>"auto"</td>
294
- <td class="list-cell">
294
+ <td>
295
295
  <ul type="square">
296
296
  <li>"auto"</li>
297
297
  <li>"atop"</li>
@@ -304,7 +304,7 @@ Vue extended multiselect is a component that was created for simplification of c
304
304
  <td>String</td>
305
305
  <td>Defines kind of toggle icon from icons collection.</td>
306
306
  <td>"double-arrow"</td>
307
- <td class="list-cell">
307
+ <td>
308
308
  <ul type="square">
309
309
  <li>"base-arrow"</li>
310
310
  <li>"double-arrow"</li>
@@ -412,7 +412,7 @@ Vue extended multiselect is a component that was created for simplification of c
412
412
  <td>Array</td>
413
413
  <td>Defines a list of keys which in combination with mouse buttons or "enter" key will prevent selection of option.</td>
414
414
  <td>[]</td>
415
- <td class="list-cell">
415
+ <td>
416
416
  <ul type="square">
417
417
  <li>"alt"</li>
418
418
  <li>"ctrl"</li>
@@ -471,7 +471,7 @@ Vue extended multiselect is a component that was created for simplification of c
471
471
  <tr>
472
472
  <th>option</th>
473
473
  <td>Option in options list with its label.</td>
474
- <td class="list-cell">
474
+ <td>
475
475
  <ul type="square">
476
476
  <li>option — option from options list</li>
477
477
  <li>createCustomOptionLabel — function that creates custom label for each option</li>
@@ -481,7 +481,7 @@ Vue extended multiselect is a component that was created for simplification of c
481
481
  <tr>
482
482
  <th>optionBlock</th>
483
483
  <td>Element with selected option and its label.</td>
484
- <td class="list-cell">
484
+ <td>
485
485
  <ul type="square">
486
486
  <li>label — option label</li>
487
487
  <li>deselectBlock — function that deselects option and removes element that contained it</li>
@@ -502,7 +502,7 @@ Vue extended multiselect is a component that was created for simplification of c
502
502
  <tr>
503
503
  <th>showMore</th>
504
504
  <td>Button that increases limit of displayed elements with selected options.</td>
505
- <td class="list-cell">
505
+ <td>
506
506
  <ul type="square">
507
507
  <li>showMoreOptions — function that increases limit of displayed elements with selected options</li>
508
508
  </ul>
@@ -531,7 +531,7 @@ Vue extended multiselect is a component that was created for simplification of c
531
531
  <tr>
532
532
  <th>toggle</th>
533
533
  <td>Button that toggles options list display.</td>
534
- <td class="list-cell">
534
+ <td>
535
535
  <ul type="square">
536
536
  <li>toggleOptionsList — function that toggles options list display</li>
537
537
  </ul>
@@ -540,7 +540,7 @@ Vue extended multiselect is a component that was created for simplification of c
540
540
  <tr>
541
541
  <th>labelBlock</th>
542
542
  <td>Element with single selected option that is shown if search field display is disabled.</td>
543
- <td class="list-cell">
543
+ <td>
544
544
  <ul type="square">
545
545
  <li>labelBlockValue — option label</li>
546
546
  </ul>
@@ -559,7 +559,7 @@ Vue extended multiselect is a component that was created for simplification of c
559
559
  <tr>
560
560
  <th>cancel</th>
561
561
  <td>Button that deselects all options.</td>
562
- <td class="list-cell">
562
+ <td>
563
563
  <ul type="square">
564
564
  <li>cancel — function that deselects all options</li>
565
565
  </ul>
@@ -586,7 +586,7 @@ Vue extended multiselect is a component that was created for simplification of c
586
586
  <td>@pattern-changed</td>
587
587
  <td><b>value</b> — pattern of inner search for available options</td>
588
588
  <td>
589
- <ul type="square" class="list-cell">
589
+ <ul type="square">
590
590
  <li>value — pattern of inner search for available options</li>
591
591
  <li>inputId — id of search field set by "id" prop</li>
592
592
  </ul>
@@ -598,7 +598,7 @@ Vue extended multiselect is a component that was created for simplification of c
598
598
  <td>@select</td>
599
599
  <td><b>option</b> — just now selected option</td>
600
600
  <td>
601
- <ul type="square" class="list-cell">
601
+ <ul type="square">
602
602
  <li>option — just now selected option</li>
603
603
  <li>inputId — id of search field set by "id" prop</li>
604
604
  </ul>
@@ -611,7 +611,7 @@ Vue extended multiselect is a component that was created for simplification of c
611
611
  <td><b>option/options</b> — just now deselected option or array with just now deselected options
612
612
  </td>
613
613
  <td>
614
- <ul type="square" class="list-cell">
614
+ <ul type="square">
615
615
  <li>option/options — just now deselected option or array with just now deselected options</li>
616
616
  <li>inputId — id of search field set by "id" prop</li>
617
617
  </ul>
@@ -623,7 +623,7 @@ Vue extended multiselect is a component that was created for simplification of c
623
623
  <td>@option-created</td>
624
624
  <td><b>option</b> — option created by user</td>
625
625
  <td>
626
- <ul type="square" class="list-cell">
626
+ <ul type="square">
627
627
  <li>option/options — option created by user</li>
628
628
  <li>inputId — id of search field set by "id" prop</li>
629
629
  </ul>
@@ -635,7 +635,7 @@ Vue extended multiselect is a component that was created for simplification of c
635
635
  <td>@active</td>
636
636
  <td>&mdash;</td>
637
637
  <td>
638
- <ul type="square" class="list-cell">
638
+ <ul type="square">
639
639
  <li>inputId — id of search field set by "id" prop</li>
640
640
  </ul>
641
641
  </td>
@@ -646,7 +646,7 @@ Vue extended multiselect is a component that was created for simplification of c
646
646
  <td>@close</td>
647
647
  <td><b>options</b> — array of selected options</td>
648
648
  <td>
649
- <ul type="square" class="list-cell">
649
+ <ul type="square">
650
650
  <li>options — array of selected options</li>
651
651
  <li>inputId — id of search field set by "id" prop</li>
652
652
  </ul>
@@ -658,7 +658,7 @@ Vue extended multiselect is a component that was created for simplification of c
658
658
  <td>@increase</td>
659
659
  <td><b>limit</b> — current limit of options to be shown next</td>
660
660
  <td>
661
- <ul type="square" class="list-cell">
661
+ <ul type="square">
662
662
  <li>limit — current limit of options to be shown next</li>
663
663
  <li>inputId — id of search field set by "id" prop</li>
664
664
  </ul>
@@ -666,31 +666,3 @@ Vue extended multiselect is a component that was created for simplification of c
666
666
  </tr>
667
667
  </tbody>
668
668
  </table>
669
-
670
- <style type="text/css">
671
-
672
- td, th {
673
- text-align: center;
674
- }
675
-
676
- .list-cell {
677
- text-align: left;
678
- }
679
-
680
- .purple {
681
- color: #8D0A97;
682
- }
683
-
684
- .green {
685
- color: #82C52A;
686
- }
687
-
688
- .dark {
689
- color: #211F23;
690
- }
691
-
692
- .grey {
693
- color: #A7A7A7;
694
- }
695
-
696
- </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue3-extended-multiselect",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Extended multiselect component for applications based on Vue 3 framework",
5
5
  "keywords": [
6
6
  "multiselect",
@@ -11,6 +11,7 @@
11
11
  ],
12
12
  "typings": "typings/vue3-extended-multiselect.d.ts",
13
13
  "author": "Ridiger Daniil Dmitrievich <extendedmultiselect@yandex.ru>",
14
+ "license": "MIT",
14
15
  "scripts": {
15
16
  "start": "vue-cli-service serve",
16
17
  "build": "vue-cli-service build",
@@ -22,7 +23,8 @@
22
23
  "core-js": "^3.6.5",
23
24
  "lodash.debounce": "^4.0.8",
24
25
  "tiny-emitter": "^2.1.0",
25
- "vue": "^3.0.0"
26
+ "vue": "^3.0.0",
27
+ "vue3-extended-multiselect": "^0.0.1"
26
28
  },
27
29
  "devDependencies": {
28
30
  "@testing-library/vue": "^6.6.1",