q2-tecton-elements 1.71.4 → 1.73.0
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 +32564 -26687
- package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +85 -20
- package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
- package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
- package/dist/cjs/{index-SpDCZABA.js → index-BqyWHpNu.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{q2-action-group_2.cjs.entry.js → q2-action-group.cjs.entry.js} +1 -89
- package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +113 -12
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +14 -7
- package/dist/cjs/q2-card-image.cjs.entry.js +4 -4
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
- package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
- package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
- package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +9 -6
- package/dist/cjs/q2-context.cjs.entry.js +6 -5
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
- package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
- package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/q2-editable-field.cjs.entry.js +51 -37
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +60 -4
- 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-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +21 -3
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +3 -3
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +59 -17
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +5 -5
- package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
- package/dist/cjs/q2-pill.cjs.entry.js +8 -5
- package/dist/cjs/q2-radio-group.cjs.entry.js +22 -4
- package/dist/cjs/q2-radio.cjs.entry.js +3 -3
- package/dist/cjs/q2-relative-time.cjs.entry.js +3 -3
- package/dist/cjs/q2-resize-observer.cjs.entry.js +92 -0
- package/dist/cjs/q2-search.cjs.entry.js +4 -4
- package/dist/cjs/q2-section.cjs.entry.js +7 -7
- package/dist/cjs/q2-select.cjs.entry.js +41 -21
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-surface.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +5 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
- package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-btn/q2-btn.css +152 -146
- package/dist/collection/components/q2-btn/q2-btn.js +10 -4
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +229 -20
- package/dist/collection/components/q2-calendar/q2-calendar.css +3 -0
- package/dist/collection/components/q2-calendar/q2-calendar.js +20 -7
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +26 -15
- package/dist/collection/components/q2-card/test/q2-card-test.vr.js +4 -0
- package/dist/collection/components/q2-card-image/q2-card-image.css +89 -134
- package/dist/collection/components/q2-card-image/q2-card-image.js +4 -4
- package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js +4 -0
- package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +45 -0
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +2 -2
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +2 -0
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
- package/dist/collection/components/q2-context/q2-context.css +5 -0
- package/dist/collection/components/q2-context/q2-context.js +4 -3
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +14 -4
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +6 -0
- package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +52 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
- package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
- package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.css +2 -0
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
- package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.vr.js +30 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.css +2 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +59 -45
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.css +27 -0
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +98 -2
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js +22 -0
- 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/q2-input.css +67 -1
- package/dist/collection/components/q2-input/q2-input.js +160 -15
- package/dist/collection/components/q2-input/test/q2-input-test.vr.js +35 -0
- package/dist/collection/components/q2-item/q2-item.css +3 -1
- package/dist/collection/components/q2-item/q2-item.js +19 -1
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +8 -2
- 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-message/q2-message.css +5 -5
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.css +40 -3
- package/dist/collection/components/q2-modal/q2-modal.js +100 -16
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +32 -7
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +33 -4
- package/dist/collection/components/q2-otp/q2-otp.js +4 -4
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.css +2 -2
- package/dist/collection/components/q2-pill/q2-pill.js +6 -3
- package/dist/collection/components/q2-popover/q2-popover.css +4 -2
- package/dist/collection/components/q2-popover/q2-popover.js +50 -14
- package/dist/collection/components/q2-radio/q2-radio.css +158 -104
- package/dist/collection/components/q2-radio/q2-radio.js +5 -2
- package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js +25 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.css +39 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +73 -4
- package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js +43 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +2 -2
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.css +2 -0
- package/dist/collection/components/q2-search/q2-search.js +6 -3
- package/dist/collection/components/q2-section/q2-section.css +2 -0
- package/dist/collection/components/q2-section/q2-section.js +6 -6
- package/dist/collection/components/q2-select/q2-select.css +3 -0
- package/dist/collection/components/q2-select/q2-select.js +48 -22
- package/dist/collection/components/q2-select/test/q2-select-test.vr.js +13 -0
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-surface/q2-surface.js +1 -1
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +6 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +5 -3
- package/dist/collection/utils/chart-keyboard.js +76 -0
- package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
- package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
- package/dist/collection/utils/index.js +2 -2
- package/dist/collection/utils/test/vr-helpers.js +16 -2
- package/dist/components/charting.js +1603 -1532
- package/dist/components/dataSample.js +7 -7
- package/dist/components/index.js +57 -53
- package/dist/components/index2.js +3 -3
- package/dist/components/q2-action-sheet.js +224 -103
- package/dist/components/q2-avatar2.js +8 -8
- package/dist/components/q2-btn2.js +2 -2
- package/dist/components/q2-calendar.js +15 -10
- package/dist/components/q2-card-image.js +24 -24
- package/dist/components/q2-carousel-pane2.js +3 -3
- package/dist/components/q2-carousel.js +37 -24
- package/dist/components/q2-chart-area.js +415 -369
- package/dist/components/q2-chart-bar.js +193 -148
- package/dist/components/q2-chart-donut.js +185 -158
- package/dist/components/q2-checkbox-group.js +12 -12
- package/dist/components/q2-checkbox2.js +12 -12
- package/dist/components/q2-context.js +30 -29
- package/dist/components/q2-currency.js +9 -9
- package/dist/components/q2-data-table.js +111 -111
- package/dist/components/q2-date-calendar.d.ts +11 -0
- package/dist/components/q2-date-calendar.js +5 -0
- package/dist/components/q2-date-calendar2.js +678 -0
- package/dist/components/q2-date-picker.d.ts +11 -0
- package/dist/components/q2-date-picker.js +5 -0
- package/dist/components/q2-date-picker2.js +875 -0
- package/dist/components/q2-detail.js +3 -3
- package/dist/components/q2-dropdown.js +13 -13
- package/dist/components/q2-editable-field.js +45 -36
- package/dist/components/q2-example.js +11 -11
- package/dist/components/q2-file-picker.js +71 -11
- package/dist/components/q2-form.js +6 -6
- package/dist/components/q2-formatted-text.js +2 -2
- package/dist/components/q2-input2.js +268 -163
- package/dist/components/q2-item2.js +33 -23
- package/dist/components/q2-legend2.js +7 -7
- package/dist/components/q2-list2.js +6 -6
- package/dist/components/q2-message2.js +29 -29
- package/dist/components/q2-meter.js +7 -7
- package/dist/components/q2-modal.js +94 -76
- package/dist/components/q2-month-picker.js +17 -17
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +52 -32
- package/dist/components/q2-otp.js +8 -8
- package/dist/components/q2-pagination.js +67 -67
- package/dist/components/q2-pill.js +17 -15
- package/dist/components/q2-popover2.js +77 -53
- package/dist/components/q2-radio-group.js +70 -40
- package/dist/components/q2-radio.js +40 -55
- package/dist/components/q2-relative-time.js +5 -5
- package/dist/components/q2-resize-observer2.js +23 -23
- package/dist/components/q2-search.js +6 -6
- package/dist/components/q2-section.js +33 -33
- package/dist/components/q2-select2.js +47 -40
- package/dist/components/q2-stepper-pane.js +17 -13
- package/dist/components/q2-stepper-vertical.js +4 -4
- package/dist/components/q2-stepper.js +57 -57
- package/dist/components/q2-surface.js +3 -3
- package/dist/components/q2-tab-container.js +18 -18
- package/dist/components/q2-tab-pane.js +2 -2
- package/dist/components/q2-tag2.js +8 -6
- package/dist/components/q2-textarea.js +3 -3
- package/dist/components/sectorHelper.js +78 -78
- package/dist/components/tecton-tab-pane.js +12 -11
- package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
- package/dist/esm/click-elsewhere_3.entry.js +85 -20
- package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
- package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
- package/dist/esm/{index-Cps4jSQM.js → index-CP8pXJ-l.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{q2-action-group_2.entry.js → q2-action-group.entry.js} +3 -90
- package/dist/esm/q2-action-sheet.entry.js +99 -19
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_2.entry.js +113 -12
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +14 -7
- package/dist/esm/q2-card-image.entry.js +4 -4
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +20 -6
- package/dist/esm/q2-chart-area.entry.js +38 -7
- package/dist/esm/q2-chart-bar.entry.js +39 -8
- package/dist/esm/q2-chart-donut.entry.js +31 -13
- package/dist/esm/q2-checkbox-group.entry.js +3 -3
- package/dist/esm/q2-checkbox_2.entry.js +9 -6
- package/dist/esm/q2-context.entry.js +6 -5
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +7 -7
- package/dist/esm/q2-date-calendar.entry.js +450 -0
- package/dist/esm/q2-date-picker_2.entry.js +965 -0
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +4 -4
- package/dist/esm/q2-editable-field.entry.js +51 -37
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +60 -4
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +21 -3
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +3 -3
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +59 -17
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +5 -5
- package/dist/esm/q2-pagination.entry.js +4 -4
- package/dist/esm/q2-pill.entry.js +8 -5
- package/dist/esm/q2-radio-group.entry.js +22 -4
- package/dist/esm/q2-radio.entry.js +3 -3
- package/dist/esm/q2-relative-time.entry.js +3 -3
- package/dist/esm/q2-resize-observer.entry.js +90 -0
- package/dist/esm/q2-search.entry.js +4 -4
- package/dist/esm/q2-section.entry.js +7 -7
- package/dist/esm/q2-select.entry.js +41 -21
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-surface.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +2 -2
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +5 -3
- package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +98 -54
- package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
- package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
- package/dist/q2-tecton-elements/{index-Cps4jSQM.js → index-CP8pXJ-l.js} +2 -2
- package/dist/q2-tecton-elements/{q2-action-group_2.entry.js → q2-action-group.entry.js} +35 -113
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
- package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +240 -140
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-calendar.entry.js +18 -13
- package/dist/q2-tecton-elements/q2-card-image.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +190 -144
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +382 -338
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +186 -160
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +21 -19
- package/dist/q2-tecton-elements/q2-context.entry.js +18 -17
- package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-data-table.entry.js +38 -38
- package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
- package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
- package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +50 -41
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +62 -7
- 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-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +27 -17
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +30 -30
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-modal.entry.js +61 -45
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-pagination.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-pill.entry.js +43 -41
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +55 -34
- package/dist/q2-tecton-elements/q2-radio.entry.js +38 -53
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +81 -0
- package/dist/q2-tecton-elements/q2-search.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-section.entry.js +25 -25
- package/dist/q2-tecton-elements/q2-select.entry.js +28 -21
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +19 -15
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
- package/dist/q2-tecton-elements/q2-surface.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +15 -15
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +8 -7
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
- package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
- package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
- package/dist/types/components/q2-card-image/q2-card-image.d.ts +1 -1
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
- package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
- package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
- package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
- package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
- package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
- package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
- package/dist/types/components/q2-dropdown/test/q2-dropdown-test.vr.d.ts +1 -0
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +20 -2
- package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +20 -0
- package/dist/types/components/q2-input/q2-input.d.ts +32 -4
- package/dist/types/components/q2-item/q2-item.d.ts +3 -0
- package/dist/types/components/q2-modal/q2-modal.d.ts +10 -1
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
- package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
- package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +18 -2
- package/dist/types/components/q2-search/q2-search.d.ts +3 -1
- package/dist/types/components/q2-select/q2-select.d.ts +12 -4
- package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
- package/dist/types/components.d.ts +1112 -195
- package/dist/types/global.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/chart-keyboard.d.ts +16 -0
- package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
- package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
- package/dist/types/utils/test/vr-helpers.d.ts +2 -0
- package/package.json +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
- package/dist/esm/q2-optgroup.entry.js +0 -68
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
|
@@ -87,109 +87,57 @@ button {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
* @prop --tct-card-image-status-background-enabled: (<color>) Controls the background color of the status banner when status is enabled.
|
|
142
|
-
* @prop --tct-card-image-status-color-enabled: (<color>) Controls the text color of the status banner when status is enabled.
|
|
143
|
-
* @prop --tct-card-image-status-background-disabled: (<color>) Controls the background color of the status banner when status is disabled.
|
|
144
|
-
* @prop --tct-card-image-status-color-disabled: (<color>) Controls the text color of the status banner when status is disabled.
|
|
145
|
-
* @prop --tct-card-image-status-background-locked: (<color>) Controls the background color of the status banner when status is locked.
|
|
146
|
-
* @prop --tct-card-image-status-color-locked: (<color>) Controls the text color of the status banner when status is locked.
|
|
147
|
-
* @prop --tct-card-image-status-background-damaged: (<color>) Controls the background color of the status banner when status is damaged.
|
|
148
|
-
* @prop --tct-card-image-status-color-damaged: (<color>) Controls the text color of the status banner when status is damaged.
|
|
149
|
-
* @prop --tct-card-image-status-background-lost: (<color>) Controls the background color of the status banner when status is lost.
|
|
150
|
-
* @prop --tct-card-image-status-color-lost: (<color>) Controls the text color of the status banner when status is lost.
|
|
151
|
-
* @prop --tct-card-image-status-background-stolen: (<color>) Controls the background color of the status banner when status is stolen.
|
|
152
|
-
* @prop --tct-card-image-status-color-stolen: (<color>) Controls the text color of the status banner when status is stolen.
|
|
153
|
-
* @prop --tct-card-image-status-background-lost-or-stolen: (<color>) Controls the background color of the status banner when status is lost-or-stolen.
|
|
154
|
-
* @prop --tct-card-image-status-color-lost-or-stolen: (<color>) Controls the text color of the status banner when status is lost-or-stolen.
|
|
155
|
-
*/
|
|
156
|
-
--tct-card-image-status-box-shadow: var(
|
|
157
|
-
--app-shadow-3,
|
|
158
|
-
0px 0px 2px rgba(0, 0, 0, 0.12),
|
|
159
|
-
0px 8px 16px rgba(0, 0, 0, 0.14)
|
|
160
|
-
);
|
|
161
|
-
--tct-card-image-status-background-digital: var(--tct-black, #000);
|
|
162
|
-
--tct-card-image-status-color-digital: var(--tct-white, #fff);
|
|
163
|
-
--tct-card-image-status-background-enabled: var(--tct-stoplight-info, #0079c1);
|
|
164
|
-
--tct-card-image-status-color-enabled: var(--tct-white, #fff);
|
|
165
|
-
--tct-card-image-status-background-disabled: var(--tct-stoplight-alert, #d20a0a);
|
|
166
|
-
--tct-card-image-status-color-disabled: var(--tct-white, #fff);
|
|
167
|
-
--tct-card-image-status-background-locked: var(--tct-stoplight-alert, #d20a0a);
|
|
168
|
-
--tct-card-image-status-color-locked: var(--tct-white, #fff);
|
|
169
|
-
--tct-card-image-status-background-damaged: var(--tct-stoplight-warning, #c35500);
|
|
170
|
-
--tct-card-image-status-color-damaged: var(--tct-white, #fff);
|
|
171
|
-
--tct-card-image-status-background-lost: var(--tct-stoplight-warning, #c35500);
|
|
172
|
-
--tct-card-image-status-color-lost: var(--tct-white, #fff);
|
|
173
|
-
--tct-card-image-status-background-stolen: var(--tct-stoplight-warning, #c35500);
|
|
174
|
-
--tct-card-image-status-color-stolen: var(--tct-white, #fff);
|
|
175
|
-
--tct-card-image-status-background-lost-or-stolen: var(--tct-stoplight-warning, #c35500);
|
|
176
|
-
--tct-card-image-status-color-lost-or-stolen: var(--tct-white, #fff);
|
|
177
|
-
/**
|
|
178
|
-
* @prop --tct-card-image-disabled-opacity: (<number>) Controls the opacity of the card image container when disabled.
|
|
179
|
-
* @prop --tct-card-image-max-width: (<length-percentage>) Controls the maximum width of the card image container.
|
|
180
|
-
* @prop --tct-card-image-min-width: (<length>) Controls the minimum width of the card image container.
|
|
181
|
-
* @prop --tct-card-image-width?: (<length-percentage>) Controls the optional explicit width of the card image container.
|
|
182
|
-
* @prop --tct-card-image-base-url?: (<image>) Controls the optional background image of the base layer when bg-custom is applied.
|
|
183
|
-
* @prop --tct-card-image-overlay-url?: (<image>) Controls the optional background image of the overlay layer when bg-custom is applied.
|
|
184
|
-
* @prop --tct-card-image-fi-logo: (<image>) Controls the financial-institution logo image rendered on the card.
|
|
185
|
-
* @prop --tct-card-image-logo-padding: (<length-percentage>+) Controls the inner padding around the financial-institution logo.
|
|
186
|
-
* @prop --tct-card-image-type-color: (<color>) Controls the text color of the card vendor type label.
|
|
187
|
-
* @prop --tct-card-image-type-font-size: (<length-percentage>) Controls the font size of the card vendor type label.
|
|
188
|
-
* @prop --tct-card-image-type-margin-bottom: (<length-percentage>) Controls the bottom margin of the card vendor type label.
|
|
189
|
-
* @prop --tct-card-image-type-margin-right: (<length-percentage>) Controls the right margin of the card vendor type label.
|
|
190
|
-
*/
|
|
191
|
-
}
|
|
192
|
-
|
|
90
|
+
/**
|
|
91
|
+
* @prop --tct-card-image-base-blur: (<length>) Controls the blur radius applied to the base card image layer.
|
|
92
|
+
* @prop --tct-card-image-primary-color: (<color>) Controls the background color of the base layer when bg-primary is applied.
|
|
93
|
+
* @prop --tct-card-image-secondary-color: (<color>) Controls the background color of the base layer when bg-secondary is applied.
|
|
94
|
+
* @prop --tct-card-image-tertiary-color: (<color>) Controls the background color of the base layer when bg-tertiary is applied.
|
|
95
|
+
* @prop --tct-card-image-base-gradient-deg: (<angle>) Controls the angle of the base layer gradient.
|
|
96
|
+
* @prop --tct-card-image-base-gradient-left-color: (<color>) Controls the left color stop of the base layer gradient.
|
|
97
|
+
* @prop --tct-card-image-base-gradient-left-stop: (<percentage>) Controls the position of the left color stop of the base layer gradient.
|
|
98
|
+
* @prop --tct-card-image-base-gradient-middle-color: (<color>) Controls the middle color stop of the base layer gradient.
|
|
99
|
+
* @prop --tct-card-image-base-gradient-middle-stop: (<percentage>) Controls the position of the middle color stop of the base layer gradient.
|
|
100
|
+
* @prop --tct-card-image-base-gradient-right-color: (<color>) Controls the right color stop of the base layer gradient.
|
|
101
|
+
* @prop --tct-card-image-base-gradient-right-stop: (<percentage>) Controls the position of the right color stop of the base layer gradient.
|
|
102
|
+
* @prop --tct-card-image-overlay-opacity: (<number>) Controls the opacity of the overlay layer.
|
|
103
|
+
* @prop --tct-card-image-overlay-mix-blend-mode: (<custom-ident>) Controls the mix-blend-mode of the dot-pattern overlay.
|
|
104
|
+
* @prop --tct-card-image-dot-size: (<length>) Controls the size of dots in the dot-pattern overlay.
|
|
105
|
+
* @prop --tct-card-image-dot-spacing: (<length>) Controls the spacing between dots in the dot-pattern overlay.
|
|
106
|
+
* @prop --tct-card-image-dot-color: (<color>) Controls the color of dots in the dot-pattern overlay.
|
|
107
|
+
* @prop --tct-card-image-font-color: (<color>) Controls the text color of the card number, holder, and other card details.
|
|
108
|
+
* @prop --tct-card-image-text-shadow: (*) Controls the text shadow of the card number, holder, and other card details.
|
|
109
|
+
* @prop --tct-card-image-status-box-shadow: (*) Controls the box shadow of the status banner that straddles the top edge of the card.
|
|
110
|
+
* @prop --tct-card-image-status-background-digital: (<color>) Controls the background color of the status banner when status is digital.
|
|
111
|
+
* @prop --tct-card-image-status-color-digital: (<color>) Controls the text color of the status banner when status is digital.
|
|
112
|
+
* @prop --tct-card-image-status-background-enabled: (<color>) Controls the background color of the status banner when status is enabled.
|
|
113
|
+
* @prop --tct-card-image-status-color-enabled: (<color>) Controls the text color of the status banner when status is enabled.
|
|
114
|
+
* @prop --tct-card-image-status-background-new: (<color>) Controls the background color of the status banner when status is new.
|
|
115
|
+
* @prop --tct-card-image-status-color-new: (<color>) Controls the text color of the status banner when status is new.
|
|
116
|
+
* @prop --tct-card-image-status-background-disabled: (<color>) Controls the background color of the status banner when status is disabled.
|
|
117
|
+
* @prop --tct-card-image-status-color-disabled: (<color>) Controls the text color of the status banner when status is disabled.
|
|
118
|
+
* @prop --tct-card-image-status-background-locked: (<color>) Controls the background color of the status banner when status is locked.
|
|
119
|
+
* @prop --tct-card-image-status-color-locked: (<color>) Controls the text color of the status banner when status is locked.
|
|
120
|
+
* @prop --tct-card-image-status-background-damaged: (<color>) Controls the background color of the status banner when status is damaged.
|
|
121
|
+
* @prop --tct-card-image-status-color-damaged: (<color>) Controls the text color of the status banner when status is damaged.
|
|
122
|
+
* @prop --tct-card-image-status-background-lost: (<color>) Controls the background color of the status banner when status is lost.
|
|
123
|
+
* @prop --tct-card-image-status-color-lost: (<color>) Controls the text color of the status banner when status is lost.
|
|
124
|
+
* @prop --tct-card-image-status-background-stolen: (<color>) Controls the background color of the status banner when status is stolen.
|
|
125
|
+
* @prop --tct-card-image-status-color-stolen: (<color>) Controls the text color of the status banner when status is stolen.
|
|
126
|
+
* @prop --tct-card-image-status-background-lost-or-stolen: (<color>) Controls the background color of the status banner when status is lost-or-stolen.
|
|
127
|
+
* @prop --tct-card-image-status-color-lost-or-stolen: (<color>) Controls the text color of the status banner when status is lost-or-stolen.
|
|
128
|
+
* @prop --tct-card-image-disabled-opacity: (<number>) Controls the opacity of the card image container when disabled.
|
|
129
|
+
* @prop --tct-card-image-max-width: (<length-percentage>) Controls the maximum width of the card image container.
|
|
130
|
+
* @prop --tct-card-image-min-width: (<length>) Controls the minimum width of the card image container.
|
|
131
|
+
* @prop --tct-card-image-width?: (<length-percentage>) Controls the optional explicit width of the card image container.
|
|
132
|
+
* @prop --tct-card-image-base-url?: (<image>) Controls the optional background image of the base layer when bg-custom is applied.
|
|
133
|
+
* @prop --tct-card-image-overlay-url?: (<image>) Controls the optional background image of the overlay layer when bg-custom is applied.
|
|
134
|
+
* @prop --tct-card-image-fi-logo: (<image>) Controls the financial-institution logo image rendered on the card.
|
|
135
|
+
* @prop --tct-card-image-logo-padding: (<length-percentage>+) Controls the inner padding around the financial-institution logo.
|
|
136
|
+
* @prop --tct-card-image-type-color: (<color>) Controls the text color of the card vendor type label.
|
|
137
|
+
* @prop --tct-card-image-type-font-size: (<length-percentage>) Controls the font size of the card vendor type label.
|
|
138
|
+
* @prop --tct-card-image-type-margin-bottom: (<length-percentage>) Controls the bottom margin of the card vendor type label.
|
|
139
|
+
* @prop --tct-card-image-type-margin-right: (<length-percentage>) Controls the right margin of the card vendor type label.
|
|
140
|
+
*/
|
|
193
141
|
:host {
|
|
194
142
|
display: flex;
|
|
195
143
|
flex-direction: column;
|
|
@@ -248,6 +196,7 @@ button {
|
|
|
248
196
|
}
|
|
249
197
|
|
|
250
198
|
.card-wrapper > q2-btn {
|
|
199
|
+
--tct-btn-default-double-focus-visible-ring: var(--comp-aesthetic-btn-focus-ring, none);
|
|
251
200
|
--const-double-focus-ring: none;
|
|
252
201
|
--tct-btn-min-height-medium: 0;
|
|
253
202
|
--tct-btn-padding-size-medium: 0;
|
|
@@ -259,6 +208,7 @@ button {
|
|
|
259
208
|
.card-wrapper {
|
|
260
209
|
position: relative;
|
|
261
210
|
max-width: 100%;
|
|
211
|
+
--comp-aesthetic-btn-focus-ring: var(--tct-btn-default-double-focus-visible-ring);
|
|
262
212
|
}
|
|
263
213
|
|
|
264
214
|
.card-action {
|
|
@@ -316,33 +266,33 @@ button {
|
|
|
316
266
|
|
|
317
267
|
.card-image {
|
|
318
268
|
z-index: 1;
|
|
319
|
-
filter: blur(var(--tct-card-image-base-blur));
|
|
269
|
+
filter: blur(var(--tct-card-image-base-blur, 0px));
|
|
320
270
|
}
|
|
321
271
|
|
|
322
272
|
.card-image-overlay {
|
|
323
273
|
z-index: 2;
|
|
324
|
-
opacity: var(--tct-card-image-overlay-opacity);
|
|
274
|
+
opacity: var(--tct-card-image-overlay-opacity, 1);
|
|
325
275
|
}
|
|
326
276
|
|
|
327
277
|
.card-image.bg-primary {
|
|
328
|
-
background-color: var(--tct-card-image-primary-color);
|
|
278
|
+
background-color: var(--tct-card-image-primary-color, var(--t-primary, #5446a4));
|
|
329
279
|
}
|
|
330
280
|
.card-image.bg-secondary {
|
|
331
|
-
background-color: var(--tct-card-image-secondary-color);
|
|
281
|
+
background-color: var(--tct-card-image-secondary-color, var(--t-secondary, #2a7de1));
|
|
332
282
|
}
|
|
333
283
|
.card-image.bg-tertiary {
|
|
334
|
-
background-color: var(--tct-card-image-tertiary-color);
|
|
284
|
+
background-color: var(--tct-card-image-tertiary-color, var(--t-tertiary, #6b7280));
|
|
335
285
|
}
|
|
336
286
|
|
|
337
287
|
.card-image.bg-gradient {
|
|
338
|
-
background: linear-gradient(var(--tct-card-image-base-gradient-deg), var(--tct-card-image-base-gradient-left-color) var(--tct-card-image-base-gradient-left-stop), var(--tct-card-image-base-gradient-middle-color) var(--tct-card-image-base-gradient-middle-stop), var(--tct-card-image-base-gradient-right-color) var(--tct-card-image-base-gradient-right-stop));
|
|
288
|
+
background: linear-gradient(var(--tct-card-image-base-gradient-deg, 110.95deg), var(--tct-card-image-base-gradient-left-color, var(--t-gray-2, #1a1a1a)) var(--tct-card-image-base-gradient-left-stop, 0.54%), var(--tct-card-image-base-gradient-middle-color, var(--t-gray-11, #cccccc)) var(--tct-card-image-base-gradient-middle-stop, 60.22%), var(--tct-card-image-base-gradient-right-color, var(--t-gray-2, #1a1a1a)) var(--tct-card-image-base-gradient-right-stop, 100%));
|
|
339
289
|
}
|
|
340
290
|
|
|
341
291
|
.card-image-overlay.bg-dot {
|
|
342
|
-
background-image: radial-gradient(circle, var(--tct-card-image-dot-color) var(--tct-card-image-dot-size), transparent var(--tct-card-image-dot-size));
|
|
343
|
-
background-size: var(--tct-card-image-dot-spacing) var(--tct-card-image-dot-spacing);
|
|
344
|
-
mix-blend-mode: var(--tct-card-image-overlay-mix-blend-mode);
|
|
345
|
-
opacity: var(--tct-card-image-overlay-opacity);
|
|
292
|
+
background-image: radial-gradient(circle, var(--tct-card-image-dot-color, rgba(128, 128, 128, 0.5)) var(--tct-card-image-dot-size, 0.5px), transparent var(--tct-card-image-dot-size, 0.5px));
|
|
293
|
+
background-size: var(--tct-card-image-dot-spacing, 2px) var(--tct-card-image-dot-spacing, 2px);
|
|
294
|
+
mix-blend-mode: var(--tct-card-image-overlay-mix-blend-mode, normal);
|
|
295
|
+
opacity: var(--tct-card-image-overlay-opacity, 1);
|
|
346
296
|
}
|
|
347
297
|
|
|
348
298
|
.card-image.bg-custom {
|
|
@@ -368,7 +318,7 @@ button {
|
|
|
368
318
|
padding: 0 12px;
|
|
369
319
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
370
320
|
border-radius: 5px/5px;
|
|
371
|
-
box-shadow: var(--tct-card-image-status-box-shadow);
|
|
321
|
+
box-shadow: var(--tct-card-image-status-box-shadow, var(--app-shadow-3));
|
|
372
322
|
display: flex;
|
|
373
323
|
align-items: center;
|
|
374
324
|
justify-content: center;
|
|
@@ -389,43 +339,48 @@ button {
|
|
|
389
339
|
}
|
|
390
340
|
|
|
391
341
|
.card-status-banner.status-enabled {
|
|
392
|
-
background-color: var(--tct-card-image-status-background-enabled);
|
|
393
|
-
color: var(--tct-card-image-status-color-enabled);
|
|
342
|
+
background-color: var(--tct-card-image-status-background-enabled, var(--const-stoplight-success, #0e8a00));
|
|
343
|
+
color: var(--tct-card-image-status-color-enabled, var(--tct-white, #fff));
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.card-status-banner.status-new {
|
|
347
|
+
background-color: var(--tct-card-image-status-background-new, var(--const-stoplight-info, #0079c1));
|
|
348
|
+
color: var(--tct-card-image-status-color-new, var(--tct-white, #fff));
|
|
394
349
|
}
|
|
395
350
|
|
|
396
351
|
.card-status-banner.status-disabled {
|
|
397
|
-
background-color: var(--tct-card-image-status-background-disabled);
|
|
398
|
-
color: var(--tct-card-image-status-color-disabled);
|
|
352
|
+
background-color: var(--tct-card-image-status-background-disabled, var(--const-stoplight-alert, #d20a0a));
|
|
353
|
+
color: var(--tct-card-image-status-color-disabled, var(--tct-white, #fff));
|
|
399
354
|
}
|
|
400
355
|
|
|
401
356
|
.card-status-banner.status-locked {
|
|
402
|
-
background-color: var(--tct-card-image-status-background-locked);
|
|
403
|
-
color: var(--tct-card-image-status-color-locked);
|
|
357
|
+
background-color: var(--tct-card-image-status-background-locked, var(--const-stoplight-alert, #d20a0a));
|
|
358
|
+
color: var(--tct-card-image-status-color-locked, var(--tct-white, #fff));
|
|
404
359
|
}
|
|
405
360
|
|
|
406
361
|
.card-status-banner.status-damaged {
|
|
407
|
-
background-color: var(--tct-card-image-status-background-damaged);
|
|
408
|
-
color: var(--tct-card-image-status-color-damaged);
|
|
362
|
+
background-color: var(--tct-card-image-status-background-damaged, var(--const-stoplight-warning, #c35500));
|
|
363
|
+
color: var(--tct-card-image-status-color-damaged, var(--tct-white, #fff));
|
|
409
364
|
}
|
|
410
365
|
|
|
411
366
|
.card-status-banner.status-lost {
|
|
412
|
-
background-color: var(--tct-card-image-status-background-lost);
|
|
413
|
-
color: var(--tct-card-image-status-color-lost);
|
|
367
|
+
background-color: var(--tct-card-image-status-background-lost, var(--const-stoplight-warning, #c35500));
|
|
368
|
+
color: var(--tct-card-image-status-color-lost, var(--tct-white, #fff));
|
|
414
369
|
}
|
|
415
370
|
|
|
416
371
|
.card-status-banner.status-stolen {
|
|
417
|
-
background-color: var(--tct-card-image-status-background-stolen);
|
|
418
|
-
color: var(--tct-card-image-status-color-stolen);
|
|
372
|
+
background-color: var(--tct-card-image-status-background-stolen, var(--const-stoplight-warning, #c35500));
|
|
373
|
+
color: var(--tct-card-image-status-color-stolen, var(--tct-white, #fff));
|
|
419
374
|
}
|
|
420
375
|
|
|
421
376
|
.card-status-banner.status-lost-or-stolen {
|
|
422
|
-
background-color: var(--tct-card-image-status-background-lost-or-stolen);
|
|
423
|
-
color: var(--tct-card-image-status-color-lost-or-stolen);
|
|
377
|
+
background-color: var(--tct-card-image-status-background-lost-or-stolen, var(--const-stoplight-warning, #c35500));
|
|
378
|
+
color: var(--tct-card-image-status-color-lost-or-stolen, var(--tct-white, #fff));
|
|
424
379
|
}
|
|
425
380
|
|
|
426
381
|
.card-status-banner.status-digital {
|
|
427
|
-
background-color: var(--tct-card-image-status-background-digital);
|
|
428
|
-
color: var(--tct-card-image-status-color-digital);
|
|
382
|
+
background-color: var(--tct-card-image-status-background-digital, var(--tct-black, #000));
|
|
383
|
+
color: var(--tct-card-image-status-color-digital, var(--tct-white, #fff));
|
|
429
384
|
}
|
|
430
385
|
|
|
431
386
|
.card-details-wrapper {
|
|
@@ -439,12 +394,12 @@ button {
|
|
|
439
394
|
}
|
|
440
395
|
|
|
441
396
|
.card-text {
|
|
442
|
-
color: var(--tct-card-image-font-color);
|
|
397
|
+
color: var(--tct-card-image-font-color, var(--t-base, #fff));
|
|
443
398
|
font-family: "Open Sans", Arial, sans-serif;
|
|
444
399
|
font-weight: 600;
|
|
445
400
|
line-height: 1;
|
|
446
401
|
letter-spacing: 1.55px;
|
|
447
|
-
text-shadow: var(--tct-card-image-text-shadow);
|
|
402
|
+
text-shadow: var(--tct-card-image-text-shadow, 0px 0px 1px rgba(0, 0, 0, 0.85));
|
|
448
403
|
text-transform: uppercase;
|
|
449
404
|
white-space: nowrap;
|
|
450
405
|
overflow: hidden;
|
|
@@ -530,7 +485,7 @@ button {
|
|
|
530
485
|
|
|
531
486
|
.horizontal-card-type {
|
|
532
487
|
font-size: var(--tct-card-image-type-font-size, 4cqw);
|
|
533
|
-
color: var(--tct-card-image-type-color, var(--tct-card-image-font-color));
|
|
488
|
+
color: var(--tct-card-image-type-color, var(--tct-card-image-font-color, var(--t-base, #fff)));
|
|
534
489
|
margin-right: var(--tct-card-image-type-margin-right, 4.15cqw);
|
|
535
490
|
margin-bottom: var(--tct-card-image-type-margin-bottom, -10.1cqw);
|
|
536
491
|
}
|
|
@@ -685,7 +640,7 @@ button {
|
|
|
685
640
|
.vertical-card-type {
|
|
686
641
|
font-size: var(--tct-card-image-type-font-size, 6.4cqw);
|
|
687
642
|
padding-bottom: 2cqw;
|
|
688
|
-
color: var(--tct-card-image-type-color, var(--tct-card-image-font-color));
|
|
643
|
+
color: var(--tct-card-image-type-color, var(--tct-card-image-font-color, var(--t-base, #fff)));
|
|
689
644
|
margin-right: var(--tct-card-image-type-margin-right, 3cqw);
|
|
690
645
|
margin-bottom: var(--tct-card-image-type-margin-bottom, -19cqw);
|
|
691
646
|
}
|
|
@@ -369,11 +369,11 @@ export class Q2CardImage {
|
|
|
369
369
|
render() {
|
|
370
370
|
const cardContent = this.clickable ? (h("q2-btn", { block: true, disabled: this.disabled, label: this.tctAriaLabel, hideLabel: true, onClick: this.handleCardClick }, this.renderCardContent())) : (this.renderCardContent());
|
|
371
371
|
const showBanner = !!this.cardStatus && this.size === 'large';
|
|
372
|
-
return (h(Host, { key: '
|
|
372
|
+
return (h(Host, { key: '1210673a91d22bac5106d3807ec08179fb6cfd9f', class: {
|
|
373
373
|
[`${this.orientation}`]: true,
|
|
374
374
|
'has-action': this.hasActionSlotContent,
|
|
375
375
|
'has-banner': showBanner,
|
|
376
|
-
} }, this.renderStatusBanner(), h("div", { key: '
|
|
376
|
+
} }, this.renderStatusBanner(), h("div", { key: 'b81dd3c1b02260e9ff1d7e7321d88a3c2d209f83', class: "card-wrapper" }, cardContent, this.renderAction())));
|
|
377
377
|
}
|
|
378
378
|
static get is() { return "q2-card-image"; }
|
|
379
379
|
static get encapsulation() { return "shadow"; }
|
|
@@ -472,8 +472,8 @@ export class Q2CardImage {
|
|
|
472
472
|
"type": "string",
|
|
473
473
|
"mutable": false,
|
|
474
474
|
"complexType": {
|
|
475
|
-
"original": "'digital'
|
|
476
|
-
"resolved": "\"damaged\" | \"digital\" | \"disabled\" | \"enabled\" | \"locked\" | \"lost or stolen\" | \"lost\" | \"stolen\"",
|
|
475
|
+
"original": "| 'digital'\n | 'enabled'\n | 'new'\n | 'disabled'\n | 'locked'\n | 'damaged'\n | 'lost'\n | 'stolen'\n | 'lost or stolen'",
|
|
476
|
+
"resolved": "\"damaged\" | \"digital\" | \"disabled\" | \"enabled\" | \"locked\" | \"lost or stolen\" | \"lost\" | \"new\" | \"stolen\"",
|
|
477
477
|
"references": {}
|
|
478
478
|
},
|
|
479
479
|
"required": false,
|
|
@@ -61,6 +61,10 @@ const VARIANTS = [
|
|
|
61
61
|
name: 'status-enabled',
|
|
62
62
|
html: `<q2-card-image background="primary" card-status="enabled" fi-logo="${FI_LOGO}" chip="gold" card-number="${NUMBER}" expiration-date="${EXP}" card-holder="${HOLDER}" vendor="mastercard" ${W_LG}></q2-card-image>`,
|
|
63
63
|
},
|
|
64
|
+
{
|
|
65
|
+
name: 'status-new',
|
|
66
|
+
html: `<q2-card-image background="primary" card-status="new" fi-logo="${FI_LOGO}" chip="gold" card-number="${NUMBER}" expiration-date="${EXP}" card-holder="${HOLDER}" vendor="mastercard" ${W_LG}></q2-card-image>`,
|
|
67
|
+
},
|
|
64
68
|
{
|
|
65
69
|
name: 'status-disabled',
|
|
66
70
|
html: `<q2-card-image background="primary" card-status="disabled" disabled fi-logo="${FI_LOGO}" chip="gold" card-number="${NUMBER}" expiration-date="${EXP}" card-holder="${HOLDER}" vendor="mastercard" ${W_LG}></q2-card-image>`,
|
|
@@ -68,13 +68,14 @@ export class Q2Carousel {
|
|
|
68
68
|
const logicalIndex = this.paneCount > 0 ? swiper.realIndex % this.paneCount : swiper.realIndex;
|
|
69
69
|
this.index = logicalIndex + 1;
|
|
70
70
|
this.updateCarouselPaneProps();
|
|
71
|
-
const
|
|
71
|
+
const focusSource = document.activeElement;
|
|
72
|
+
const isPaginationFocused = !!focusSource.closest(`#q2-carousel-${this.guid} .q2-carousel-page-indicator`);
|
|
72
73
|
const isCarouselFocused = !!document.activeElement.closest(`#q2-carousel-${this.guid} q2-carousel-pane`);
|
|
73
74
|
const isFocused = isPaginationFocused || isCarouselFocused;
|
|
74
75
|
this.handleAriaLive(isFocused);
|
|
75
76
|
mirrorEmit(this, ['change', 'tctChange'], { index: logicalIndex + 1 });
|
|
76
77
|
if (isPaginationFocused) {
|
|
77
|
-
this.
|
|
78
|
+
this.pendingPaginationFocus = { index: logicalIndex, source: focusSource };
|
|
78
79
|
}
|
|
79
80
|
else if (isCarouselFocused)
|
|
80
81
|
swiper.slides[swiper.activeIndex].focus({
|
|
@@ -349,7 +350,7 @@ export class Q2Carousel {
|
|
|
349
350
|
};
|
|
350
351
|
this.renderNextNavBtn = () => {
|
|
351
352
|
const disabled = this.loop === false && this.realIndex >= this.paneCount - 1;
|
|
352
|
-
return (h("div", { class: "next-btn" }, h("q2-btn", { class: "q2-carousel-navigation-button q2-carousel-navigation-button-next", intent: "
|
|
353
|
+
return (h("div", { class: "next-btn" }, h("q2-btn", { class: "q2-carousel-navigation-button q2-carousel-navigation-button-next", intent: "primary", label: loc('tecton.element.carousel.nextItemLabel'), hideLabel: true, disabled: disabled || undefined, onTctClick: () => { var _a; return (_a = this.swiper) === null || _a === void 0 ? void 0 : _a.slideNext(); } }, h("q2-icon", { type: "arrow-right" }))));
|
|
353
354
|
};
|
|
354
355
|
this.renderPaginationArea = () => {
|
|
355
356
|
const { useDynamicPaginationDots, realIndex, paneCount } = this;
|
|
@@ -373,13 +374,14 @@ export class Q2Carousel {
|
|
|
373
374
|
};
|
|
374
375
|
this.renderPrevNavBtn = () => {
|
|
375
376
|
const disabled = this.loop === false && this.realIndex <= 0;
|
|
376
|
-
return (h("div", { class: "prev-btn" }, h("q2-btn", { class: "q2-carousel-navigation-button q2-carousel-navigation-button-prev", intent: "
|
|
377
|
+
return (h("div", { class: "prev-btn" }, h("q2-btn", { class: "q2-carousel-navigation-button q2-carousel-navigation-button-prev", intent: "primary", label: loc('tecton.element.carousel.previousItemLabel'), hideLabel: true, disabled: disabled || undefined, onTctClick: () => { var _a; return (_a = this.swiper) === null || _a === void 0 ? void 0 : _a.slidePrev(); } }, h("q2-icon", { type: "arrow-left" }))));
|
|
377
378
|
};
|
|
378
379
|
}
|
|
379
380
|
// #endregion
|
|
380
381
|
// #region Component Lifecycle Events
|
|
381
382
|
disconnectedCallback() {
|
|
382
383
|
var _a;
|
|
384
|
+
this.pendingPaginationFocus = undefined;
|
|
383
385
|
if (this.mutationObserver) {
|
|
384
386
|
this.mutationObserver.disconnect();
|
|
385
387
|
this.mutationObserver = null;
|
|
@@ -412,6 +414,18 @@ export class Q2Carousel {
|
|
|
412
414
|
this.mutationObserver = observer;
|
|
413
415
|
overrideFocus(this.hostElement);
|
|
414
416
|
}
|
|
417
|
+
componentDidRender() {
|
|
418
|
+
var _a;
|
|
419
|
+
const pendingFocus = this.pendingPaginationFocus;
|
|
420
|
+
this.pendingPaginationFocus = undefined;
|
|
421
|
+
if (!pendingFocus)
|
|
422
|
+
return;
|
|
423
|
+
const activeElement = document.activeElement;
|
|
424
|
+
if (activeElement !== pendingFocus.source && activeElement !== document.body)
|
|
425
|
+
return;
|
|
426
|
+
// Dynamic pagination hides distant dots until the new active index renders.
|
|
427
|
+
(_a = this.paginationBtns[pendingFocus.index]) === null || _a === void 0 ? void 0 : _a.focus({ preventScroll: true });
|
|
428
|
+
}
|
|
415
429
|
// #endregion
|
|
416
430
|
// #region Listeners
|
|
417
431
|
carouselPaneClicked(event) {
|
|
@@ -561,7 +575,7 @@ export class Q2Carousel {
|
|
|
561
575
|
paginationWrapperClasses.push('evenly-space');
|
|
562
576
|
if (showNavigationArrows && arrowPosition === 'hug')
|
|
563
577
|
paginationWrapperClasses.push('center-space');
|
|
564
|
-
return (h(Host, { key: '
|
|
578
|
+
return (h(Host, { key: 'e0ebc5ae08102ced9a732ca59217cd3c2c501172', id: `q2-carousel-${this.guid}`, class: "q2-carousel-instance" }, insufficientPanes ? (this.renderInsufficientPanesDisplay()) : (h(Fragment, null, paneCount > 1 && (h("div", { class: paginationWrapperClasses.join(' ') }, showNavigationArrows &&
|
|
565
579
|
['bottom', 'hug'].includes(arrowPosition) &&
|
|
566
580
|
this.renderPrevNavBtn(), h("div", { class: "q2-carousel-control-center-tray" }, !hidePagination && this.renderPaginationArea(), autoPlay && this.renderAutoPlayBtn()), showNavigationArrows &&
|
|
567
581
|
['bottom', 'hug'].includes(arrowPosition) &&
|
|
@@ -62,8 +62,21 @@ const FOCUS_VARIANT = {
|
|
|
62
62
|
name: 'with-arrows',
|
|
63
63
|
html: carousel('show-navigation-arrows'),
|
|
64
64
|
};
|
|
65
|
+
// frameless-panes variants that are non-deterministic due to the ResizeObserver race
|
|
66
|
+
// in q2-carousel's schedulePaneHeightSync. Post-hydration aesthetic injection changes
|
|
67
|
+
// CSS custom properties that affect pane content height, which fires ResizeObserver and
|
|
68
|
+
// schedules a 1-rAF pane-sync callback. That callback can land after setupPage's rAF
|
|
69
|
+
// wait resolves, producing different screenshots each run. Themes with larger font
|
|
70
|
+
// overrides (default-2026: 14px via --app-font-size; minimalist: similar) are most
|
|
71
|
+
// susceptible. Other themes happen to produce stable output at the same font metrics
|
|
72
|
+
// as base-theme defaults, so only these two are non-deterministic in practice.
|
|
73
|
+
const FRAMELESS_FLAKY_THEMES = new Set(['default-2026', 'minimalist']);
|
|
65
74
|
const restingCase = (variant, theme) => {
|
|
66
75
|
test(`q2-carousel--${variant.name}--resting — ${theme}`, async ({ page }) => {
|
|
76
|
+
if (variant.name === 'frameless-panes' && FRAMELESS_FLAKY_THEMES.has(theme)) {
|
|
77
|
+
test.skip();
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
67
80
|
await setupPage(page, variant.html, { theme, setupLoc: true });
|
|
68
81
|
await expect(page).toHaveScreenshot(`q2-carousel--${variant.name}--resting--${theme}.png`);
|
|
69
82
|
});
|
|
@@ -80,6 +93,11 @@ const focusIndicatorCase = (variant, theme) => {
|
|
|
80
93
|
await setupPage(page, variant.html, { theme, setupLoc: true });
|
|
81
94
|
await page.keyboard.press('Tab');
|
|
82
95
|
await page.keyboard.press('Tab');
|
|
96
|
+
await expect(page.locator('.q2-carousel-page-indicator-0')).toBeFocused();
|
|
97
|
+
await page.keyboard.press('End');
|
|
98
|
+
await expect(page.locator('.q2-carousel-page-indicator-4')).toBeFocused();
|
|
99
|
+
await page.keyboard.press('Home');
|
|
100
|
+
await expect(page.locator('.q2-carousel-page-indicator-0')).toBeFocused();
|
|
83
101
|
await expect(page).toHaveScreenshot(`q2-carousel--${variant.name}--focus-indicator--${theme}.png`);
|
|
84
102
|
});
|
|
85
103
|
};
|
|
@@ -90,6 +108,32 @@ const focusPaneCase = (variant, theme) => {
|
|
|
90
108
|
await expect(page).toHaveScreenshot(`q2-carousel--${variant.name}--focus-pane--${theme}.png`);
|
|
91
109
|
});
|
|
92
110
|
};
|
|
111
|
+
const focusDynamicIndicatorCase = (theme) => {
|
|
112
|
+
test(`q2-carousel--dynamic-pagination--focus-indicator — ${theme}`, async ({ page }) => {
|
|
113
|
+
const panes = Array.from({ length: 6 }, (_, index) => PANE(index + 1, 6)).join('');
|
|
114
|
+
await setupPage(page, `<q2-carousel auto-height>${panes}</q2-carousel>`, { theme, setupLoc: true });
|
|
115
|
+
await page.keyboard.press('Tab');
|
|
116
|
+
await expect(page.locator('.q2-carousel-page-indicator-0')).toBeFocused();
|
|
117
|
+
for (const [key, index] of [
|
|
118
|
+
['End', 5],
|
|
119
|
+
['Home', 0],
|
|
120
|
+
['ArrowLeft', 5],
|
|
121
|
+
['ArrowRight', 0],
|
|
122
|
+
]) {
|
|
123
|
+
await page.keyboard.press(key);
|
|
124
|
+
const indicator = page.locator(`.q2-carousel-page-indicator-${index}`);
|
|
125
|
+
await expect(indicator).toBeFocused();
|
|
126
|
+
await expect(indicator).toHaveAttribute('aria-selected', 'true');
|
|
127
|
+
await expect(indicator).toBeVisible();
|
|
128
|
+
await expect(indicator).not.toHaveCSS('box-shadow', 'none');
|
|
129
|
+
await page.waitForFunction(() => {
|
|
130
|
+
const container = document.querySelector('.swiper');
|
|
131
|
+
return !container.swiper.animating;
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
await expect(page).toHaveScreenshot(`q2-carousel--dynamic-pagination--focus-indicator--${theme}.png`);
|
|
135
|
+
});
|
|
136
|
+
};
|
|
93
137
|
test.describe('q2-carousel — variants × themes', () => {
|
|
94
138
|
for (const variant of VARIANTS) {
|
|
95
139
|
for (const theme of THEMES) {
|
|
@@ -100,5 +144,6 @@ test.describe('q2-carousel — variants × themes', () => {
|
|
|
100
144
|
focusArrowCase(FOCUS_VARIANT, theme);
|
|
101
145
|
focusIndicatorCase(FOCUS_VARIANT, theme);
|
|
102
146
|
focusPaneCase(FOCUS_VARIANT, theme);
|
|
147
|
+
focusDynamicIndicatorCase(theme);
|
|
103
148
|
}
|
|
104
149
|
});
|
|
@@ -97,12 +97,12 @@ export class Q2CarouselPane {
|
|
|
97
97
|
// #region Render Methods
|
|
98
98
|
render() {
|
|
99
99
|
const { label } = this;
|
|
100
|
-
return (h(Host, { key: '
|
|
100
|
+
return (h(Host, { key: 'f4a4c10d9e66146fae74ee206bb466563ff70957', class: this.generatePaneClass(this.currentPaneIndex), tabIndex: this.isActivePane ? 0 : -1, role: "group", "aria-roledescription": "slide", "aria-hidden": this.isActivePane ? undefined : 'true', "aria-label": label
|
|
101
101
|
? loc(label)
|
|
102
102
|
: loc('tecton.element.carousel.itemDescription', [
|
|
103
103
|
(this.currentPaneIndex + 1).toString(),
|
|
104
104
|
(this.siblingCount || 0).toString(),
|
|
105
|
-
]), onClick: this.paneClicked }, h("article", { key: '
|
|
105
|
+
]), onClick: this.paneClicked }, h("article", { key: '41030b6a419ccd15485eb0b8a04ba6171777f5e9', class: "q2-carousel-pane-main-content" }, h("slot", { key: '33850b8d35a3c134f014a6eb4638be25f7ab76c0' }))));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "q2-carousel-pane"; }
|
|
108
108
|
static get originalStyleUrls() {
|
|
@@ -98,10 +98,21 @@ button {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.container {
|
|
101
|
+
position: relative;
|
|
101
102
|
width: 100%;
|
|
102
103
|
height: 100%;
|
|
103
104
|
}
|
|
104
105
|
|
|
106
|
+
.chart-keyboard-value {
|
|
107
|
+
position: absolute;
|
|
108
|
+
top: 0;
|
|
109
|
+
right: 0;
|
|
110
|
+
padding: var(--app-scale-1x);
|
|
111
|
+
background: var(--t-base);
|
|
112
|
+
color: var(--t-text);
|
|
113
|
+
pointer-events: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
105
116
|
.chart-container {
|
|
106
117
|
width: 100%;
|
|
107
118
|
height: 100%;
|