vue-quest-ui 0.0.35 → 0.0.36
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 +19 -18
- package/dist/vue-quest-ui.css +1 -1
- package/dist/vue-quest-ui.js +1113 -1111
- package/dist/vue-quest-ui.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/shared/ui/QstDropdown.vue +4 -0
package/README.md
CHANGED
|
@@ -94,6 +94,7 @@ All components can be customized based on your needs by passing props to them. R
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
|
|
97
|
+
|
|
97
98
|
## Components
|
|
98
99
|
* [QstIcon (v0.0.13)](#qsticon)
|
|
99
100
|
* [QstInput (v0.0.14)](#qstinput)
|
|
@@ -146,7 +147,7 @@ A customizable input element that supports the following types: text, password,
|
|
|
146
147
|
| type | string | false | text | The type of input. Can be set to any of the following types: text, password, email, number, phone, tel, textarea, datepicker, datetimepicker, timepicker, decimal, number-string, money. *(type="number" will be a number data type. to use number characters with a string data type (ex/ to start a number with 0) use type="number-string")* |
|
|
147
148
|
| width | string | false | null | The width of the input. |
|
|
148
149
|
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
149
|
-
| color | string | false |
|
|
150
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
150
151
|
| placeholder | string, number | false | — | Placeholder for the input. The placeholder text will be shown as a label, in order to show an animation when focusing the input. |
|
|
151
152
|
| labelPosition | string | false | mid | The position of the label relative to the input when it has a value. |
|
|
152
153
|
| icon | string | false | — | Any Iconify value, the icon will be shown on the right side of the input. Input types such as "phone", "email", and "password" will show an icon by default. |
|
|
@@ -219,7 +220,7 @@ A simple, customizable button that triggers actions when clicked. It supports va
|
|
|
219
220
|
|
|
220
221
|
| Name | Type | Required | Default | Description |
|
|
221
222
|
|------|------|----------|---------|-------------|
|
|
222
|
-
| color | string | false |
|
|
223
|
+
| color | string | false | var(--primary-color) | The background color of the button. |
|
|
223
224
|
| fontColor | string | false | #fff | The color of the button text or icon. |
|
|
224
225
|
| size | string | false | — | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
225
226
|
| icon | string | false | null | Iconify value for the icon. |
|
|
@@ -246,7 +247,7 @@ A dropdown component that displays an interactive menu, which can be triggered b
|
|
|
246
247
|
| closeOnOutsideClick | boolean | false | true | Closes the dropdown menu when clicking outside of it. |
|
|
247
248
|
| position | string | false | bottom | The position that the dropdown will open relative to the trigger. |
|
|
248
249
|
| offset | object | false | {x:0,y:0} | Moves the dropdown from its default position. *(+X moves right, -X moves left, +Y moves down, -Y moves up)* |
|
|
249
|
-
| centerDropdown | boolean | false |
|
|
250
|
+
| centerDropdown | boolean | false | false | Centers the dropdown based on the trigger. Offset can be used to adjust it starting at the center position, the triangle will stay centered. |
|
|
250
251
|
| maxHeight | string | false | null | Max height for the dropdown, if exceeded the dropdown will start scrolling. |
|
|
251
252
|
| useTriangle | boolean | false | false | Shows a triangle relative to the position of the trigger. |
|
|
252
253
|
| offsetTriangle | boolean | false | false | When the offset is set, the triangle will remain anchored to the trigger by default. If true, the triangle will move with the rest of the offset. |
|
|
@@ -264,7 +265,7 @@ A loader component that visually indicates ongoing processes or background tasks
|
|
|
264
265
|
| Name | Type | Required | Default | Description |
|
|
265
266
|
|------|------|----------|---------|-------------|
|
|
266
267
|
| loaderSrc | string | false | null | The image/gif that will be used for the loader. |
|
|
267
|
-
| color | string | false |
|
|
268
|
+
| color | string | false | var(--primary-color) | The color when using the default loader icon. |
|
|
268
269
|
| subtext | string | false | null | Optional text to show below the loader. |
|
|
269
270
|
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
270
271
|
| center | boolean | false | true | Aligns the loader to be centered relative to its parent container. |
|
|
@@ -289,7 +290,7 @@ A reusable modal component that provides a flexible, customizable overlay for di
|
|
|
289
290
|
| width | string | false | 550px | The width of the modal, set in px. |
|
|
290
291
|
| height | string | false | 650px | The height of the modal, set in px. |
|
|
291
292
|
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
292
|
-
| color | string | false |
|
|
293
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
293
294
|
| useLoader | boolean | false | false | When true, shows a loader in the modal. |
|
|
294
295
|
| hideTitle | boolean | false | false | Hides the modal title. |
|
|
295
296
|
| hideFooter | boolean | false | false | Hides the modal footer row. |
|
|
@@ -316,7 +317,7 @@ A custom designed switch component that allows users to toggle between two state
|
|
|
316
317
|
| modelValue | boolean | false | false | Used for v-model, will be set to whether the switch is active. |
|
|
317
318
|
| label | string | false | — | Label displayed to the right of the switch, clicking on the label will toggle the switch. |
|
|
318
319
|
| icon | string | false | — | Any Iconify value, the icon will be displayed to the right of the switch. |
|
|
319
|
-
| color | string | false |
|
|
320
|
+
| color | string | false | var(--primary-color) | The color of the switch when active. |
|
|
320
321
|
| size | string | false | 12px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
321
322
|
| useEditMode | boolean | false | true | Whether the input should be editable or not. |
|
|
322
323
|
| showLabelOnEditMode | boolean | false | true | Shows the label when the input is in edit mode.' |
|
|
@@ -339,10 +340,10 @@ A scroll wrapper component that uses a slot to render content, with configurable
|
|
|
339
340
|
| useDots | boolean | false | false | If the container has overflow, shows dots per the number of slides. |
|
|
340
341
|
| useProgressBar | boolean | false | false | If the container has overflow, shows a progress bar that fills as the user scrolls towards the end of the container. |
|
|
341
342
|
| width | string | false | — | Width of the entire scroll container. |
|
|
342
|
-
| color | string | false |
|
|
343
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
343
344
|
| size | string | false | 20px | Pixel value to resize the component, styles are adjusted when the size is updated. *(arrows, dots, icons)* |
|
|
344
345
|
| hideScroll | boolean | false | true | The scrollbar will be hidden. |
|
|
345
|
-
| slideWidth | string | false |
|
|
346
|
+
| slideWidth | string | false | — | The width of each slide, if not set use a min-width on scroll items. |
|
|
346
347
|
|
|
347
348
|
|
|
348
349
|
|
|
@@ -379,7 +380,7 @@ A component displayed as a small tag or flag, can be set as a link, tooltip, or
|
|
|
379
380
|
| Name | Type | Required | Default | Description |
|
|
380
381
|
|------|------|----------|---------|-------------|
|
|
381
382
|
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
382
|
-
| bgColor | string | false |
|
|
383
|
+
| bgColor | string | false | var(--primary-color) | The background color of the tag. |
|
|
383
384
|
| color | string | false | #fff | The font color of the tag. |
|
|
384
385
|
| useFade | boolean | false | false | Changes the style of the tag to use a faded color scheme. |
|
|
385
386
|
| bold | boolean | false | false | Bolds the text of the tag. |
|
|
@@ -406,10 +407,10 @@ A wrapper component containing a trigger and a content slot, clicking the trigge
|
|
|
406
407
|
|------|------|----------|---------|-------------|
|
|
407
408
|
| useDiv | boolean | false | true | The trigger and content slot elements will have a div parent element. |
|
|
408
409
|
| defaultOpen | boolean | false | false | The row will be intitially expanded by default. |
|
|
409
|
-
| useIcon | boolean | false | false | Shows an
|
|
410
|
+
| useIcon | boolean | false | false | Shows an icon at the end of the trigger row. |
|
|
410
411
|
| rowIndex | number | false | null | Index of the expanded row, used for dynamically selecting a row. *(ex/ when used in a table)* |
|
|
411
412
|
| useOpenBorder | boolean | false | false | Shows a border on the left of the row that expands with the container as it opens. |
|
|
412
|
-
| color | string | false |
|
|
413
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
413
414
|
| icon | string | false | ep:arrow-down-bold | Any iconify value, the icon will show at the end of the trigger row. |
|
|
414
415
|
|
|
415
416
|
|
|
@@ -450,7 +451,7 @@ A customizable checkbox component for selecting true/false values.
|
|
|
450
451
|
| label | string | false | — | Label displayed to the right of the checkbox, clicking on the label will toggle the checkbox. |
|
|
451
452
|
| useLeftLabel | boolean | false | false | The label will be displayed on the left side of the checkbox. |
|
|
452
453
|
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
453
|
-
| color | string | false |
|
|
454
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
454
455
|
|
|
455
456
|
|
|
456
457
|
|
|
@@ -472,7 +473,7 @@ A container component that manages a group of checkbox inputs for controlled sel
|
|
|
472
473
|
| disabled | boolean | false | false | Disables all checkboxes. |
|
|
473
474
|
| groupLabel | string | false | — | The label for the entire checkbox group. Displays above or next to the inputs if displayed in a row. |
|
|
474
475
|
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
475
|
-
| color | string | false |
|
|
476
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
476
477
|
|
|
477
478
|
|
|
478
479
|
|
|
@@ -490,7 +491,7 @@ A single radio button component for exclusive option selection.
|
|
|
490
491
|
| radio | object | true | — | The details for the radio input. Id is optional, v-model will be set to the value property. *({id?: string, value: string, label: string})* |
|
|
491
492
|
| disabled | boolean | false | false | Disables the radio input. |
|
|
492
493
|
| size | string | false | 12px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
493
|
-
| color | string | false |
|
|
494
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
494
495
|
|
|
495
496
|
|
|
496
497
|
|
|
@@ -511,7 +512,7 @@ A container component that manages a group of radio buttons for controlled selec
|
|
|
511
512
|
| useRow | boolean | false | false | The inputs will be displayed in a row, instead of a column. |
|
|
512
513
|
| groupLabel | string | false | — | The label for the entire radio group. Displays above or next to the inputs if displayed in a row. |
|
|
513
514
|
| size | string | false | 12px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
514
|
-
| color | string | false |
|
|
515
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
515
516
|
|
|
516
517
|
|
|
517
518
|
|
|
@@ -533,7 +534,7 @@ An autocomplete input component, with functionality for single/multiselect, sear
|
|
|
533
534
|
| query | string, number | false | null | Used for v-model:query, value will be the searched text in the input. |
|
|
534
535
|
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
535
536
|
| dynamicSizes | object | false | null | Any screen size defined will target that screen size and below (ex/ {xl: '10px'} will change to 10px on max-width: 1549px). Screen sizes larger than what is defined will use the normal props.size. Use dynamicSizes when the dropdown is being teleported to update the dropdown's size as well. |
|
|
536
|
-
| color | string | false |
|
|
537
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
537
538
|
| width | string | false | 100% | The width of the autocomplete. |
|
|
538
539
|
| useEditMode | boolean | false | true | Whether the input should be editable or not. |
|
|
539
540
|
| showLabelOnEditMode | boolean | false | true | Shows a label when in edit mode. |
|
|
@@ -580,7 +581,7 @@ A set of input fields designed for selecting an address. The first field feature
|
|
|
580
581
|
| useEditMode | boolean | false | true | Whether the input should be editable or not. |
|
|
581
582
|
| errors | object | false | {contact:'',address1:'',city:'',state:'',zip:'',country:''} | The errors for each of the address inputs. |
|
|
582
583
|
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
583
|
-
| color | string | false |
|
|
584
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component. |
|
|
584
585
|
| darkMode | boolean | false | false | Changes the styles to a dark theme. |
|
|
585
586
|
|
|
586
587
|
|
|
@@ -601,7 +602,7 @@ A select component, with functionality for single/multiselect, search, select al
|
|
|
601
602
|
| result | object, array|string|number | false | null | Used for v-model:result, value will be the *result* property of AutocompleteProp. |
|
|
602
603
|
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated.' |
|
|
603
604
|
| dynamicSizes | object | false | null | Any screen size defined will target that screen size and below (ex/ {xl: '10px'} will change to 10px on max-width: 1549px). Screen sizes larger than what is defined will use the normal props.size. Use dynamicSizes when the dropdown is being teleported to update dropdown's size as well. |
|
|
604
|
-
| color | string | false |
|
|
605
|
+
| color | string | false | var(--primary-color) | The accent color, used for details within the component.' |
|
|
605
606
|
| width | string | false | — | The width of the select and dropdown. If unset, the sizing will adjust to the size prop for single select or 100% for multiselect. |
|
|
606
607
|
| fullWidth | boolean | false | false | Sets the select to be full-width and take up 100% of its parent container. |
|
|
607
608
|
| useEditMode | boolean | false | true | Whether the input should be editable or not.' |
|