vue-quest-ui 0.0.84 → 0.0.86

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/README.md CHANGED
@@ -167,6 +167,9 @@ All components can be customized based on your needs by passing props to them. R
167
167
 
168
168
 
169
169
 
170
+
171
+
172
+
170
173
 
171
174
 
172
175
 
@@ -200,20 +203,20 @@ All components can be customized based on your needs by passing props to them. R
200
203
  * [VisualTable (v0.0.58)](#visualtable)
201
204
  * [QstBox (v0.0.59)](#qstbox)
202
205
  * [QstToast (v0.0.59)](#qsttoast)
203
- * [QstToastContent (v0.0.59)](#qsttoastcontent)
204
206
  * [QstUserSnippet (v0.0.67)](#qstusersnippet)
205
207
  * [QstCreditCardForm (v0.0.76)](#qstcreditcardform)
206
208
  * [QstDigitInput (v0.0.76)](#qstdigitinput)
207
209
  * [QstImgGallery (v0.0.76)](#qstimggallery)
208
210
  * [QstTimeline (v0.0.78)](#qsttimeline)
209
211
  * [QstStatusPipeline (v0.0.79)](#qststatuspipeline)
212
+ * [QstImageUploader (v0.0.86)](#qstimageuploader)
210
213
 
211
214
  ## Props
212
215
 
213
216
  ### `QstIcon`
214
217
 
215
218
 
216
- A versatile, customizable icon that displays Iconify icons.
219
+ A customizable icon component that displays Iconify icons with a built-in library of shortcut icons (qst-*), optional circular styling, and color support.
217
220
 
218
221
  | Name | Type | Required | Default | Description |
219
222
  |------|------|----------|---------|-------------|
@@ -362,7 +365,7 @@ A dropdown component that displays an interactive menu, which can be triggered b
362
365
  ### `QstLoader`
363
366
 
364
367
 
365
- A loader component that visually indicates ongoing processes or background tasks, providing a customizable spinning or animated indicator to enhance user experience during wait times.
368
+ A loader component with support for inline, absolute, and full-page positioning modes, optional backdrop overlay, custom loading images, and subtext.
366
369
 
367
370
  | Name | Type | Required | Default | Description |
368
371
  |------|------|----------|---------|-------------|
@@ -404,6 +407,9 @@ A reusable modal component that provides a flexible, customizable overlay for di
404
407
  | hideCloseBtn | boolean | false | false | — |
405
408
  | closeOnSubmit | boolean | false | false | The modal will be closed when the submit button is clicked. |
406
409
  | hideScroll | boolean | false | true | If the modal has overflow, the scrollbar will be hidden. |
410
+ | closeOnOutsideClick | boolean | false | true | Closes the modal on outside click and emits the 'on-cancel' event. (if cancelOnModalClose is also true) |
411
+ | cancelOnModalClose | boolean | false | true | Emits the 'on-cancel' event when the modal closes by either clicking the 'X' icon or clicking outside the modal. (event is always emited when showCancel is true and user clicks Cancel button) |
412
+ | hideOverlay | boolean | false | false | Removes the overlay behind the modal. |
407
413
 
408
414
 
409
415
 
@@ -437,7 +443,7 @@ A custom designed switch component that allows users to toggle between two state
437
443
  ### `QstScrollContainer`
438
444
 
439
445
 
440
- A scroll wrapper component that uses a slot to render content, with configurable options to display navigation arrows, pagination dots, or a progress bar.
446
+ A horizontal scroll wrapper component with configurable navigation arrows, pagination dots, progress bar, and autoplay functionality for carousel-like content.
441
447
 
442
448
  | Name | Type | Required | Default | Description |
443
449
  |------|------|----------|---------|-------------|
@@ -461,18 +467,20 @@ A scroll wrapper component that uses a slot to render content, with configurable
461
467
  ### `QstImg`
462
468
 
463
469
 
464
- A component for displaying images, with options to toggle images on hover or open in a zoomable modal.
470
+ A component for displaying images with support for lazy loading, hover image toggling, zoomable modal view, and optional overlay and delete functionality.
465
471
 
466
472
  | Name | Type | Required | Default | Description |
467
473
  |------|------|----------|---------|-------------|
468
474
  | src | string | true | — | The source of image that will be displayed. |
469
475
  | alt | string | false | null | Alt text for the image. |
470
- | width | number | false | 100 | The width of the image set in px. |
471
- | height | number | false | null | The height of the image set in px. |
476
+ | width | string | false | 100px | The width of the image. |
477
+ | height | string | false | | The height of the image. |
472
478
  | lazyLoad | boolean | false | false | Utilizes Intersection Observer to lazy load images, only when the image is in the viewport. |
473
479
  | hoverImage | string | false | null | The source of the image that will be showed when hovering over the image src. |
474
480
  | circle | boolean | false | false | Shows the image in a circle. |
475
481
  | useZoom | boolean | false | false | When the user clicks the image, a modal will open with a zoomed image. |
482
+ | showOverlay | boolean | false | false | Shows an overlay when hovering over the image. |
483
+ | useDeleteBtn | boolean | false | false | Shows a delete button when hovering over the image, emits the 'on-delete' event. |
476
484
 
477
485
 
478
486
 
@@ -483,7 +491,7 @@ A component for displaying images, with options to toggle images on hover or ope
483
491
  ### `QstTag`
484
492
 
485
493
 
486
- A component displayed as a small tag or flag, can be set as a link, tooltip, or text to display.
494
+ A customizable label component for displaying tags, badges, or status indicators with support for links, icons, tooltips, and dismissible close buttons.
487
495
 
488
496
  | Name | Type | Required | Default | Description |
489
497
  |------|------|----------|---------|-------------|
@@ -636,7 +644,7 @@ A container component that manages a group of radio buttons for controlled selec
636
644
  ### `QstAutocomplete`
637
645
 
638
646
 
639
- An autocomplete input component, with functionality for single/multiselect, search filtering, open search, and custom options.
647
+ An autocomplete input component with single/multiselect support, search filtering, custom option rendering, and optional API endpoint fetching.
640
648
 
641
649
  | Name | Type | Required | Default | Description |
642
650
  |------|------|----------|---------|-------------|
@@ -707,7 +715,7 @@ A set of input fields designed for selecting an address. The first field feature
707
715
  ### `QstSelect`
708
716
 
709
717
 
710
- A select component, with functionality for single/multiselect, search, select all logic, and custom options.
718
+ A select input component with single/multiselect support, search filtering, custom option rendering, and select all support.
711
719
 
712
720
  | Name | Type | Required | Default | Description |
713
721
  |------|------|----------|---------|-------------|
@@ -802,7 +810,7 @@ A reusable table component that displays structured data with built-in support f
802
810
  ### `QstViewSelector`
803
811
 
804
812
 
805
- A selector component that presents a horizontal list of options, highlighting the active selection and allowing users to easily toggle between choices in a visually intuitive manner.
813
+ A selector component with three display modes (view toggle, tabs, and container) for switching between options, with optional local storage persistence for user selections.
806
814
 
807
815
  | Name | Type | Required | Default | Description |
808
816
  |------|------|----------|---------|-------------|
@@ -910,7 +918,7 @@ A simple UI component designed to highlight important information on a page. Wit
910
918
  ### `QstToast`
911
919
 
912
920
 
913
- A lightweight notification component used to deliver feedback, alerts, or updates to users in a non-intrusive manner. Toast messages appear on the screen based on customizable position and duration settings, providing a seamless user experience.
921
+ A notification component for displaying success, error, warning, and info alerts with customizable positioning and duration. Includes a promise-based loading toast that automatically resolves to success or error.
914
922
 
915
923
  | Name | Type | Required | Default | Description |
916
924
  |------|------|----------|---------|-------------|
@@ -926,22 +934,6 @@ A lightweight notification component used to deliver feedback, alerts, or update
926
934
 
927
935
 
928
936
 
929
- ### `QstToastContent`
930
-
931
-
932
- The child component to QstToast, displays the toast notification. *(This is only the inner component - does not have position, timeout, toggling functionality)*
933
-
934
- | Name | Type | Required | Default | Description |
935
- |------|------|----------|---------|-------------|
936
- | toast | object | true | — | The details of the toast notification to be displayed. |
937
- | size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
938
-
939
-
940
-
941
-
942
-
943
-
944
-
945
937
  ### `QstUserSnippet`
946
938
 
947
939
 
@@ -969,7 +961,7 @@ A clickable UI element designed to display a compact summary of user information
969
961
  ### `QstCreditCardForm`
970
962
 
971
963
 
972
- This component renders a secure and accessible credit card input form for capturing payment information. It includes fields for Card Number, Expiration Date, and CVV, with built-in formatting, validation, and error handling.
964
+ A credit card input form for capturing payment information, with fields for card number, expiration date, and CVV, including automatic formatting and validation.
973
965
 
974
966
  | Name | Type | Required | Default | Description |
975
967
  |------|------|----------|---------|-------------|
@@ -985,7 +977,7 @@ This component renders a secure and accessible credit card input form for captur
985
977
  ### `QstDigitInput`
986
978
 
987
979
 
988
- This component generates a specified number of input fields for entering passcodes and one time passcodes (OTPs), featuring smooth auto-focus and navigation. It supports mobile OTP autofill, ensuring seamless automatic filling on iOS and Android devices.
980
+ A multi-digit input component for entering passcodes and OTPs, featuring auto-focus navigation between fields and mobile OTP autofill support.
989
981
 
990
982
  | Name | Type | Required | Default | Description |
991
983
  |------|------|----------|---------|-------------|
@@ -1026,7 +1018,7 @@ A media gallery designed to display a collection of images and/or videos in an i
1026
1018
  ### `QstTimeline`
1027
1019
 
1028
1020
 
1029
- The timeline component presents a chronological list of events or actions, each displaying a specific date. It supports both expanded and collapsed layouts, and offers customizable markers, icons, or images for each entry. It also includes the ability to expand changes between previous and new values, making it especially useful for tracking updates or data changes over time.
1021
+ A timeline component for displaying a chronological list of events with expandable entries showing changes between previous and new values. Supports expanded and collapsed layouts with customizable markers.
1030
1022
 
1031
1023
  | Name | Type | Required | Default | Description |
1032
1024
  |------|------|----------|---------|-------------|
@@ -1057,7 +1049,7 @@ The timeline component presents a chronological list of events or actions, each
1057
1049
  ### `QstStatusPipeline`
1058
1050
 
1059
1051
 
1060
- This component is a versatile UI element designed to visually represent progress or stages in a process, supporting both horizontal and vertical orientations to fit various layouts. Each stage in the pipeline can display a label and an associated date, allowing users to track progress over time. A distinctive marker highlights the current date. This component is ideal for workflows, project timelines, or delivery tracking interfaces.
1052
+ A progress indicator component for visualizing stages in a workflow or timeline, supporting horizontal and vertical orientations with date-based positioning and a today marker.
1061
1053
 
1062
1054
  | Name | Type | Required | Default | Description |
1063
1055
  |------|------|----------|---------|-------------|
@@ -1079,4 +1071,24 @@ This component is a versatile UI element designed to visually represent progress
1079
1071
 
1080
1072
 
1081
1073
 
1074
+
1075
+ ### `QstImageUploader`
1076
+
1077
+
1078
+ An image upload component with drag and drop functionality, supporting single or multiple file uploads with thumbnail previews and delete capabilities.
1079
+
1080
+ | Name | Type | Required | Default | Description |
1081
+ |------|------|----------|---------|-------------|
1082
+ | modelValue | array | true | — | — |
1083
+ | label | string | false | — | — |
1084
+ | uploadLabel | string | false | Browse or Drag and Drop files to upload | — |
1085
+ | error | string | false | — | — |
1086
+ | useMultiUpload | boolean | false | true | — |
1087
+ | hideDragAnimation | boolean | false | false | — |
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1082
1094