q2-tecton-elements 1.57.2 → 1.58.1
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/dist/bundle-report.json +68 -70
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +14 -12
- package/dist/cjs/q2-badge_7.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +35 -33
- package/dist/cjs/q2-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-carousel.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-context.cjs.entry.js +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +21 -13
- package/dist/cjs/q2-file-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-file-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-loading-element.cjs.entry.js +1 -1
- package/dist/cjs/q2-loading-element.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-loading-element.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +7 -7
- package/dist/cjs/q2-message.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-message.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option-list.q2-popover.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +35 -15
- package/dist/cjs/q2-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-tag.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.css +2 -2
- package/dist/collection/components/q2-calendar/q2-calendar.js +34 -32
- package/dist/collection/components/q2-calendar/q2-calendar.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js.map +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +3 -3
- package/dist/collection/components/q2-context/q2-context.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +31 -23
- package/dist/collection/components/q2-file-picker/q2-file-picker.js.map +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/formatting/phone.js +1 -1
- package/dist/collection/components/q2-input/formatting/phone.js.map +1 -1
- package/dist/collection/components/q2-input/q2-input.css +1 -1
- package/dist/collection/components/q2-input/q2-input.js +10 -8
- package/dist/collection/components/q2-input/q2-input.js.map +1 -1
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-loading/q2-loading.css +10 -0
- package/dist/collection/components/q2-loading/skeleton/q2-loading-element/styles.css +1 -0
- package/dist/collection/components/q2-message/q2-message.css +30 -17
- package/dist/collection/components/q2-message/q2-message.js +6 -6
- package/dist/collection/components/q2-message/q2-message.js.map +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +8 -4
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-stepper/q2-stepper.css +4 -4
- package/dist/collection/components/q2-stepper/q2-stepper.js +40 -16
- package/dist/collection/components/q2-stepper/q2-stepper.js.map +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +2 -2
- package/dist/collection/components/q2-tab-container/q2-tab-container.js.map +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-calendar.js +35 -33
- package/dist/components/q2-calendar.js.map +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +2 -2
- package/dist/components/q2-carousel.js.map +1 -1
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox2.js +1 -1
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-file-picker.js +21 -13
- package/dist/components/q2-file-picker.js.map +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-input2.js +12 -10
- package/dist/components/q2-input2.js.map +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-loading-element.js +1 -1
- package/dist/components/q2-loading-element.js.map +1 -1
- package/dist/components/q2-loading2.js +1 -1
- package/dist/components/q2-loading2.js.map +1 -1
- package/dist/components/q2-message2.js +7 -7
- package/dist/components/q2-message2.js.map +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +2 -2
- package/dist/components/q2-popover2.js.map +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-stepper-vertical.js +1 -1
- package/dist/components/q2-stepper.js +38 -17
- package/dist/components/q2-stepper.js.map +1 -1
- package/dist/components/q2-tab-container.js +2 -2
- package/dist/components/q2-tab-container.js.map +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.js.map +1 -1
- package/dist/esm/q2-badge_7.entry.js +16 -14
- package/dist/esm/q2-badge_7.entry.js.map +1 -1
- package/dist/esm/q2-calendar.entry.js +35 -33
- package/dist/esm/q2-calendar.entry.js.map +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js.map +1 -1
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js.map +1 -1
- package/dist/esm/q2-context.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +21 -13
- package/dist/esm/q2-file-picker.entry.js.map +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +1 -1
- package/dist/esm/q2-loading-element.entry.js +1 -1
- package/dist/esm/q2-loading-element.entry.js.map +1 -1
- package/dist/esm/q2-message.entry.js +7 -7
- package/dist/esm/q2-message.entry.js.map +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +2 -2
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option-list.q2-popover.entry.js.map +1 -1
- package/dist/esm/q2-option-list_2.entry.js +2 -2
- package/dist/esm/q2-option-list_2.entry.js.map +1 -1
- package/dist/esm/q2-pagination.entry.js +3 -3
- package/dist/esm/q2-pill.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +35 -15
- package/dist/esm/q2-stepper.entry.js.map +1 -1
- package/dist/esm/q2-tag.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/jest.setup.js +7 -0
- package/dist/jest.setup.js.map +1 -1
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +319 -314
- package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +151 -146
- package/dist/q2-tecton-elements/q2-calendar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-carousel.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +63 -63
- package/dist/q2-tecton-elements/q2-checkbox.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +33 -33
- package/dist/q2-tecton-elements/q2-checkbox.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-context.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-detail.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +21 -13
- package/dist/q2-tecton-elements/q2-file-picker.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-item.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-loading-element.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-loading-element.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +32 -32
- package/dist/q2-tecton-elements/q2-message.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-modal.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-option-list.q2-popover.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +24 -24
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-section.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-stepper.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper.entry.js +77 -59
- package/dist/q2-tecton-elements/q2-stepper.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tag.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +5 -5
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +1 -1
- package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +48 -24
- package/dist/types/components/q2-input/q2-input.d.ts +4 -3
- package/dist/types/components/q2-popover/q2-popover.d.ts +6 -2
- package/dist/types/components/q2-stepper/q2-stepper.d.ts +2 -0
- package/dist/types/components.d.ts +33 -20
- package/package.json +3 -3
|
@@ -2,21 +2,22 @@ import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
type DisplayedFile = {
|
|
3
3
|
file: File;
|
|
4
4
|
message?: string;
|
|
5
|
-
status:
|
|
5
|
+
status: ValidFileStatusType | InvalidFileStatusType;
|
|
6
6
|
toBeRemoved?: boolean;
|
|
7
7
|
};
|
|
8
|
-
type
|
|
9
|
-
type
|
|
10
|
-
export type
|
|
8
|
+
type ValidFileStatusType = 'in-progress' | 'failed' | 'uploaded';
|
|
9
|
+
type InvalidFileStatusType = 'invalid-type' | 'over-size-limit' | 'over-max-files-limit';
|
|
10
|
+
export type ValidFileStatus = {
|
|
11
11
|
name: string;
|
|
12
|
-
status:
|
|
12
|
+
status: ValidFileStatusType;
|
|
13
13
|
message?: string;
|
|
14
14
|
};
|
|
15
|
+
export type InvalidFileStatus = {
|
|
16
|
+
file: File;
|
|
17
|
+
status: InvalidFileStatusType;
|
|
18
|
+
};
|
|
15
19
|
export type FilesObject = {
|
|
16
|
-
invalidFiles:
|
|
17
|
-
file: File;
|
|
18
|
-
status: 'invalid-type' | 'over-size-limit' | 'over-max-files-limit' | 'in-progress' | 'failed' | 'uploaded';
|
|
19
|
-
}[];
|
|
20
|
+
invalidFiles: InvalidFileStatus[];
|
|
20
21
|
validFiles: File[];
|
|
21
22
|
};
|
|
22
23
|
/**
|
|
@@ -34,7 +35,7 @@ export declare class Q2FilePicker implements ComponentInterface {
|
|
|
34
35
|
isDropZoneHighlighted: boolean;
|
|
35
36
|
refreshCounter: number;
|
|
36
37
|
/**
|
|
37
|
-
* The size of the browse button.
|
|
38
|
+
* The size of the browse button.
|
|
38
39
|
*/
|
|
39
40
|
buttonSize: 'none' | 'small' | 'medium' | 'large';
|
|
40
41
|
/**
|
|
@@ -63,22 +64,30 @@ export declare class Q2FilePicker implements ComponentInterface {
|
|
|
63
64
|
*/
|
|
64
65
|
maxFileSize: number;
|
|
65
66
|
/**
|
|
66
|
-
* An array of objects representing the status of
|
|
67
|
-
* Each
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* Custom messages for failed uploads are limited to a single line.
|
|
67
|
+
* An array of `ValidFileStatus` objects representing the upload status of
|
|
68
|
+
* files. Each `ValidFileStatus` object contains the following properties:
|
|
69
|
+
* - `name`: The file name.
|
|
70
|
+
* - `status`: The upload status, either `"failed"` or `"uploaded"`.
|
|
71
|
+
* - `message`: (Optional) A custom status message, used only when `status`
|
|
72
|
+
* is `"failed"`. This allows developers to provide more detail about
|
|
73
|
+
* upload failures while ensuring all other file status messages remain
|
|
74
|
+
* consistent with approved design/UX standards. Custom failure messages
|
|
75
|
+
* are limited to a single line.
|
|
76
76
|
* @localizable
|
|
77
77
|
*/
|
|
78
|
-
status:
|
|
78
|
+
status: ValidFileStatus[];
|
|
79
79
|
/**
|
|
80
|
-
* Returns an
|
|
81
|
-
*
|
|
80
|
+
* Returns an object representing the selected files with two properties:
|
|
81
|
+
* - `invalidFiles`: An array of `InvalidFileStatus` objects representing
|
|
82
|
+
* files that failed validation.
|
|
83
|
+
* - `validFiles`: An array of `File` objects representing files that passed
|
|
84
|
+
* validation.
|
|
85
|
+
*
|
|
86
|
+
* Each `InvalidFileStatus` object includes the following properties:
|
|
87
|
+
* - `file`: The `File` object.
|
|
88
|
+
* - `status`: The validation status, which can be `"invalid-type"` (invalid file
|
|
89
|
+
* type), `"over-size-limit"` (file exceeds the size limit), or
|
|
90
|
+
* `"over-max-files-limit"` (total exceeds the max files limit).
|
|
82
91
|
* @readonly
|
|
83
92
|
*/
|
|
84
93
|
value: FilesObject;
|
|
@@ -87,8 +96,23 @@ export declare class Q2FilePicker implements ComponentInterface {
|
|
|
87
96
|
* browse link.
|
|
88
97
|
*/
|
|
89
98
|
variant: 'browse' | 'browse-drop';
|
|
99
|
+
/**
|
|
100
|
+
* Custom event dispatched when the user selects files. The event detail
|
|
101
|
+
* contains an object representing the selected files with two
|
|
102
|
+
* properties:
|
|
103
|
+
* - `invalidFiles`: An array of `InvalidFileStatus` objects representing
|
|
104
|
+
* files that failed validation.
|
|
105
|
+
* - `validFiles`: An array of `File` objects representing files that passed
|
|
106
|
+
* validation.
|
|
107
|
+
*
|
|
108
|
+
* Each `InvalidFileStatus` object includes the following properties:
|
|
109
|
+
* - `file`: The `File` object.
|
|
110
|
+
* - `status`: The validation status, which can be `"invalid-type"` (invalid file
|
|
111
|
+
* type), `"over-size-limit"` (file exceeds the size limit), or
|
|
112
|
+
* `"over-max-files-limit"` (total exceeds the max files limit).
|
|
113
|
+
*/
|
|
90
114
|
tctChange: EventEmitter<FilesObject>;
|
|
91
|
-
updateFileList(newValue:
|
|
115
|
+
updateFileList(newValue: ValidFileStatus[]): void;
|
|
92
116
|
get actualButtonSize(): "small" | "medium" | "large";
|
|
93
117
|
get dropZoneClasses(): string;
|
|
94
118
|
get fileTypesArray(): string[];
|
|
@@ -295,10 +295,11 @@ export declare class Q2Input {
|
|
|
295
295
|
typeObserver(): void;
|
|
296
296
|
valueObserver(): void;
|
|
297
297
|
get ariaAttributes(): {
|
|
298
|
-
ariaOwns: string;
|
|
299
|
-
ariaHaspopup: string;
|
|
300
|
-
ariaExpanded: string;
|
|
301
298
|
ariaActivedescendant: string;
|
|
299
|
+
ariaControls: string;
|
|
300
|
+
ariaExpanded: string;
|
|
301
|
+
ariaHaspopup: string;
|
|
302
|
+
ariaOwns: string;
|
|
302
303
|
};
|
|
303
304
|
get canSetSelection(): boolean;
|
|
304
305
|
get clearClasses(): string[];
|
|
@@ -8,8 +8,12 @@ import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
|
8
8
|
* Each of the following Scenarios must be tested on each Device, in each Environment.
|
|
9
9
|
*
|
|
10
10
|
* Scenarios:
|
|
11
|
-
* - Q2 Select
|
|
12
|
-
* - Q2 Select
|
|
11
|
+
* - Q2 Select searchable
|
|
12
|
+
* - Q2 Select non-searchable
|
|
13
|
+
*
|
|
14
|
+
* Orientations:
|
|
15
|
+
* - Portrait
|
|
16
|
+
* - Landscape
|
|
13
17
|
*
|
|
14
18
|
* Devices:
|
|
15
19
|
* - iOS Safari
|
|
@@ -43,12 +43,14 @@ export declare class Q2Stepper implements ComponentInterface {
|
|
|
43
43
|
* @testOnly
|
|
44
44
|
*/
|
|
45
45
|
selectStep(value: number | string): Promise<void>;
|
|
46
|
+
lastEnabledStepChanged(): void;
|
|
46
47
|
currentStepChanged(stepNumber: number): void;
|
|
47
48
|
get allPanes(): HTMLQ2StepperPaneElement[];
|
|
48
49
|
checkForPanes: () => void;
|
|
49
50
|
checkScrollState: () => void;
|
|
50
51
|
focusStep(stepNumber: number, scrollIntoView?: boolean, forceFocus?: boolean): void;
|
|
51
52
|
getPaneSlotOrProperty(pane: HTMLQ2StepperPaneElement, slotName: 'description' | 'label'): string;
|
|
53
|
+
handleUndefinedStepProperties(): void;
|
|
52
54
|
onScrollBtnClick: (direction: "left" | "right") => void;
|
|
53
55
|
onSlotChange: () => void;
|
|
54
56
|
onStepClick: (event: any, selectedStep: number) => void;
|
|
@@ -9,7 +9,7 @@ import { ActionSheetData, ActionSheetListCloseData } from "q2-tecton-common/lib/
|
|
|
9
9
|
import { IChartData, IDonutChartData } from "q2-tecton-common/lib/types/element-types";
|
|
10
10
|
import { Q2DataTableHeader, Q2DataTableRow, Q2DataTableSerializedRow } from "./components/q2-data-table/q2-data-table";
|
|
11
11
|
import { Q2Input } from "./components/q2-input/q2-input";
|
|
12
|
-
import { FilesObject,
|
|
12
|
+
import { FilesObject, ValidFileStatus } from "./components/q2-file-picker/q2-file-picker";
|
|
13
13
|
import { TQ2GridAlignOptions, TQ2GridColumnsOptions, TQ2GridGapOptions, TQ2GridJustifyOptions, TQ2GridRowsOptions } from "./components/q2-grid/q2-grid";
|
|
14
14
|
import { TQ2GridAreaAlignOptions, TQ2GridAreaColumnSpanOptions, TQ2GridAreaColumnStartOptions, TQ2GridAreaJustifyOptions, TQ2GridAreaRowSpanOptions, TQ2GridAreaRowStartOptions, TQ2GridAreaZIndexOptions } from "./components/q2-grid-area/q2-grid-area";
|
|
15
15
|
import { Q2Badge } from "./components/q2-badge/q2-badge";
|
|
@@ -24,7 +24,7 @@ export { ActionSheetData, ActionSheetListCloseData } from "q2-tecton-common/lib/
|
|
|
24
24
|
export { IChartData, IDonutChartData } from "q2-tecton-common/lib/types/element-types";
|
|
25
25
|
export { Q2DataTableHeader, Q2DataTableRow, Q2DataTableSerializedRow } from "./components/q2-data-table/q2-data-table";
|
|
26
26
|
export { Q2Input } from "./components/q2-input/q2-input";
|
|
27
|
-
export { FilesObject,
|
|
27
|
+
export { FilesObject, ValidFileStatus } from "./components/q2-file-picker/q2-file-picker";
|
|
28
28
|
export { TQ2GridAlignOptions, TQ2GridColumnsOptions, TQ2GridGapOptions, TQ2GridJustifyOptions, TQ2GridRowsOptions } from "./components/q2-grid/q2-grid";
|
|
29
29
|
export { TQ2GridAreaAlignOptions, TQ2GridAreaColumnSpanOptions, TQ2GridAreaColumnStartOptions, TQ2GridAreaJustifyOptions, TQ2GridAreaRowSpanOptions, TQ2GridAreaRowStartOptions, TQ2GridAreaZIndexOptions } from "./components/q2-grid-area/q2-grid-area";
|
|
30
30
|
export { Q2Badge } from "./components/q2-badge/q2-badge";
|
|
@@ -1300,7 +1300,7 @@ export namespace Components {
|
|
|
1300
1300
|
}
|
|
1301
1301
|
interface Q2FilePicker {
|
|
1302
1302
|
/**
|
|
1303
|
-
* The size of the browse button.
|
|
1303
|
+
* The size of the browse button.
|
|
1304
1304
|
* @default 'medium'
|
|
1305
1305
|
*/
|
|
1306
1306
|
"buttonSize": 'none' | 'small' | 'medium' | 'large';
|
|
@@ -1330,13 +1330,13 @@ export namespace Components {
|
|
|
1330
1330
|
*/
|
|
1331
1331
|
"maxFiles": number;
|
|
1332
1332
|
/**
|
|
1333
|
-
* An array of objects representing the status of
|
|
1333
|
+
* An array of `ValidFileStatus` objects representing the upload status of files. Each `ValidFileStatus` object contains the following properties: - `name`: The file name. - `status`: The upload status, either `"failed"` or `"uploaded"`. - `message`: (Optional) A custom status message, used only when `status` is `"failed"`. This allows developers to provide more detail about upload failures while ensuring all other file status messages remain consistent with approved design/UX standards. Custom failure messages are limited to a single line.
|
|
1334
1334
|
* @localizable
|
|
1335
1335
|
* @default []
|
|
1336
1336
|
*/
|
|
1337
|
-
"status":
|
|
1337
|
+
"status": ValidFileStatus[];
|
|
1338
1338
|
/**
|
|
1339
|
-
* Returns an array of File objects representing
|
|
1339
|
+
* Returns an object representing the selected files with two properties: - `invalidFiles`: An array of `InvalidFileStatus` objects representing files that failed validation. - `validFiles`: An array of `File` objects representing files that passed validation. Each `InvalidFileStatus` object includes the following properties: - `file`: The `File` object. - `status`: The validation status, which can be `"invalid-type"` (invalid file type), `"over-size-limit"` (file exceeds the size limit), or `"over-max-files-limit"` (total exceeds the max files limit).
|
|
1340
1340
|
* @readonly
|
|
1341
1341
|
* @default { invalidFiles: [], validFiles: [] }
|
|
1342
1342
|
*/
|
|
@@ -2380,8 +2380,11 @@ export namespace Components {
|
|
|
2380
2380
|
* Touching this file obligates you to manually test thoroughly, because Puppeteer can't capture every edgecase.
|
|
2381
2381
|
* Each of the following Scenarios must be tested on each Device, in each Environment.
|
|
2382
2382
|
* Scenarios:
|
|
2383
|
-
* - Q2 Select
|
|
2384
|
-
* - Q2 Select
|
|
2383
|
+
* - Q2 Select searchable
|
|
2384
|
+
* - Q2 Select non-searchable
|
|
2385
|
+
* Orientations:
|
|
2386
|
+
* - Portrait
|
|
2387
|
+
* - Landscape
|
|
2385
2388
|
* Devices:
|
|
2386
2389
|
* - iOS Safari
|
|
2387
2390
|
* - Android Chrome
|
|
@@ -2765,7 +2768,6 @@ export namespace Components {
|
|
|
2765
2768
|
interface Q2Stepper {
|
|
2766
2769
|
/**
|
|
2767
2770
|
* The currently selected step.
|
|
2768
|
-
* @default 1
|
|
2769
2771
|
*/
|
|
2770
2772
|
"currentStep": number;
|
|
2771
2773
|
/**
|
|
@@ -3827,8 +3829,11 @@ declare global {
|
|
|
3827
3829
|
* Touching this file obligates you to manually test thoroughly, because Puppeteer can't capture every edgecase.
|
|
3828
3830
|
* Each of the following Scenarios must be tested on each Device, in each Environment.
|
|
3829
3831
|
* Scenarios:
|
|
3830
|
-
* - Q2 Select
|
|
3831
|
-
* - Q2 Select
|
|
3832
|
+
* - Q2 Select searchable
|
|
3833
|
+
* - Q2 Select non-searchable
|
|
3834
|
+
* Orientations:
|
|
3835
|
+
* - Portrait
|
|
3836
|
+
* - Landscape
|
|
3832
3837
|
* Devices:
|
|
3833
3838
|
* - iOS Safari
|
|
3834
3839
|
* - Android Chrome
|
|
@@ -5392,7 +5397,7 @@ declare namespace LocalJSX {
|
|
|
5392
5397
|
}
|
|
5393
5398
|
interface Q2FilePicker {
|
|
5394
5399
|
/**
|
|
5395
|
-
* The size of the browse button.
|
|
5400
|
+
* The size of the browse button.
|
|
5396
5401
|
* @default 'medium'
|
|
5397
5402
|
*/
|
|
5398
5403
|
"buttonSize"?: 'none' | 'small' | 'medium' | 'large';
|
|
@@ -5421,15 +5426,18 @@ declare namespace LocalJSX {
|
|
|
5421
5426
|
* @default Infinity
|
|
5422
5427
|
*/
|
|
5423
5428
|
"maxFiles"?: number;
|
|
5429
|
+
/**
|
|
5430
|
+
* Custom event dispatched when the user selects files. The event detail contains an object representing the selected files with two properties: - `invalidFiles`: An array of `InvalidFileStatus` objects representing files that failed validation. - `validFiles`: An array of `File` objects representing files that passed validation. Each `InvalidFileStatus` object includes the following properties: - `file`: The `File` object. - `status`: The validation status, which can be `"invalid-type"` (invalid file type), `"over-size-limit"` (file exceeds the size limit), or `"over-max-files-limit"` (total exceeds the max files limit).
|
|
5431
|
+
*/
|
|
5424
5432
|
"onTctChange"?: (event: Q2FilePickerCustomEvent<FilesObject>) => void;
|
|
5425
5433
|
/**
|
|
5426
|
-
* An array of objects representing the status of
|
|
5434
|
+
* An array of `ValidFileStatus` objects representing the upload status of files. Each `ValidFileStatus` object contains the following properties: - `name`: The file name. - `status`: The upload status, either `"failed"` or `"uploaded"`. - `message`: (Optional) A custom status message, used only when `status` is `"failed"`. This allows developers to provide more detail about upload failures while ensuring all other file status messages remain consistent with approved design/UX standards. Custom failure messages are limited to a single line.
|
|
5427
5435
|
* @localizable
|
|
5428
5436
|
* @default []
|
|
5429
5437
|
*/
|
|
5430
|
-
"status"?:
|
|
5438
|
+
"status"?: ValidFileStatus[];
|
|
5431
5439
|
/**
|
|
5432
|
-
* Returns an array of File objects representing
|
|
5440
|
+
* Returns an object representing the selected files with two properties: - `invalidFiles`: An array of `InvalidFileStatus` objects representing files that failed validation. - `validFiles`: An array of `File` objects representing files that passed validation. Each `InvalidFileStatus` object includes the following properties: - `file`: The `File` object. - `status`: The validation status, which can be `"invalid-type"` (invalid file type), `"over-size-limit"` (file exceeds the size limit), or `"over-max-files-limit"` (total exceeds the max files limit).
|
|
5433
5441
|
* @readonly
|
|
5434
5442
|
* @default { invalidFiles: [], validFiles: [] }
|
|
5435
5443
|
*/
|
|
@@ -6480,8 +6488,11 @@ declare namespace LocalJSX {
|
|
|
6480
6488
|
* Touching this file obligates you to manually test thoroughly, because Puppeteer can't capture every edgecase.
|
|
6481
6489
|
* Each of the following Scenarios must be tested on each Device, in each Environment.
|
|
6482
6490
|
* Scenarios:
|
|
6483
|
-
* - Q2 Select
|
|
6484
|
-
* - Q2 Select
|
|
6491
|
+
* - Q2 Select searchable
|
|
6492
|
+
* - Q2 Select non-searchable
|
|
6493
|
+
* Orientations:
|
|
6494
|
+
* - Portrait
|
|
6495
|
+
* - Landscape
|
|
6485
6496
|
* Devices:
|
|
6486
6497
|
* - iOS Safari
|
|
6487
6498
|
* - Android Chrome
|
|
@@ -6842,7 +6853,6 @@ declare namespace LocalJSX {
|
|
|
6842
6853
|
interface Q2Stepper {
|
|
6843
6854
|
/**
|
|
6844
6855
|
* The currently selected step.
|
|
6845
|
-
* @default 1
|
|
6846
6856
|
*/
|
|
6847
6857
|
"currentStep"?: number;
|
|
6848
6858
|
/**
|
|
@@ -7309,8 +7319,11 @@ declare module "@stencil/core" {
|
|
|
7309
7319
|
* Touching this file obligates you to manually test thoroughly, because Puppeteer can't capture every edgecase.
|
|
7310
7320
|
* Each of the following Scenarios must be tested on each Device, in each Environment.
|
|
7311
7321
|
* Scenarios:
|
|
7312
|
-
* - Q2 Select
|
|
7313
|
-
* - Q2 Select
|
|
7322
|
+
* - Q2 Select searchable
|
|
7323
|
+
* - Q2 Select non-searchable
|
|
7324
|
+
* Orientations:
|
|
7325
|
+
* - Portrait
|
|
7326
|
+
* - Landscape
|
|
7314
7327
|
* Devices:
|
|
7315
7328
|
* - iOS Safari
|
|
7316
7329
|
* - Android Chrome
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "q2-tecton-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.58.1",
|
|
4
4
|
"description": "Q2 Tecton Custom Elements",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Q2 Tecton Team",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@stencil/core": "4.35.0",
|
|
40
|
-
"q2-tecton-common": "1.
|
|
40
|
+
"q2-tecton-common": "1.58.1",
|
|
41
41
|
"swiper": "8.4.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"typescript": "5.4.5",
|
|
63
63
|
"typescript-eslint": "^7.11.0"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "19ed17d99f238aeeeeea432aab6283fbf9736fcc"
|
|
66
66
|
}
|