q2-tecton-elements 1.72.0 → 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 +38990 -33801
- package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
- 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-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
- package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
- package/dist/cjs/q2-context.cjs.entry.js +4 -4
- 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 +3 -3
- package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
- 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 +20 -2
- 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 +2 -2
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- 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 +7 -4
- package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-search.cjs.entry.js +3 -3
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +8 -4
- 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 +2 -2
- 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 +84 -136
- package/dist/collection/components/q2-btn/q2-btn.js +10 -4
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
- package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -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.js +6 -3
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
- package/dist/collection/components/q2-context/q2-context.js +3 -3
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +3 -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 +47 -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.js +5 -5
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +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/q2-input.js +6 -3
- package/dist/collection/components/q2-item/q2-item.js +19 -1
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -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.js +1 -1
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -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 +36 -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.js +6 -3
- package/dist/collection/components/q2-popover/q2-popover.css +1 -0
- package/dist/collection/components/q2-popover/q2-popover.js +43 -8
- package/dist/collection/components/q2-radio/q2-radio.js +5 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
- 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-search/q2-search.js +6 -3
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +12 -5
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +6 -3
- package/dist/components/q2-card-image.js +2 -2
- 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 +6 -6
- package/dist/components/q2-checkbox2.js +11 -11
- package/dist/components/q2-context.js +20 -20
- 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 +17 -17
- package/dist/components/q2-editable-field.js +16 -5
- package/dist/components/q2-example.js +11 -11
- package/dist/components/q2-file-picker.js +1 -1
- package/dist/components/q2-form.js +6 -6
- package/dist/components/q2-formatted-text.js +2 -2
- package/dist/components/q2-input2.js +5 -5
- package/dist/components/q2-item2.js +32 -22
- package/dist/components/q2-legend2.js +7 -7
- package/dist/components/q2-list2.js +6 -6
- package/dist/components/q2-message2.js +9 -9
- package/dist/components/q2-meter.js +7 -7
- package/dist/components/q2-modal.js +22 -22
- 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 +55 -34
- package/dist/components/q2-otp.js +8 -8
- package/dist/components/q2-pagination.js +67 -67
- package/dist/components/q2-pill.js +16 -14
- package/dist/components/q2-popover2.js +70 -49
- package/dist/components/q2-radio-group.js +7 -7
- package/dist/components/q2-radio.js +6 -6
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +23 -23
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +19 -19
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-pane.js +9 -9
- 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 +17 -17
- 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 +10 -10
- package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
- package/dist/esm/click-elsewhere_3.entry.js +81 -14
- 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-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +9 -4
- package/dist/esm/q2-card-image.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/q2-checkbox_2.entry.js +8 -5
- package/dist/esm/q2-context.entry.js +4 -4
- 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 +3 -3
- package/dist/esm/q2-editable-field.entry.js +20 -7
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +2 -2
- 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 +20 -2
- 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 +2 -2
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- 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 +7 -4
- package/dist/esm/q2-radio-group.entry.js +2 -2
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-search.entry.js +3 -3
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +8 -4
- 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 +2 -2
- package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
- 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-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
- 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 +5 -5
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
- package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
- 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 +187 -141
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
- package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
- 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 +16 -16
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
- 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 +26 -16
- 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 +28 -28
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
- 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 +42 -40
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-search.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +13 -13
- 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 +20 -20
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +7 -7
- 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 +6 -6
- 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-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-editable-field/q2-editable-field.d.ts +14 -1
- package/dist/types/components/q2-input/q2-input.d.ts +4 -2
- package/dist/types/components/q2-item/q2-item.d.ts +3 -0
- 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 +4 -2
- package/dist/types/components/q2-search/q2-search.d.ts +3 -1
- package/dist/types/components/q2-select/q2-select.d.ts +4 -2
- package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
- package/dist/types/components.d.ts +858 -49
- 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/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
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { ActionSheetData, ActionSheetListCloseData } from "q2-tecton-common/lib/types/action-sheet";
|
|
9
9
|
import { ChartData, DonutChartData, EventDetail, FilesObject, FormatterValueObject, Q2DataTableHeader, Q2DataTableRow, Q2DataTableSerializedRow, StepperPaneEvent, ValidFileStatus } from "q2-tecton-common/lib/types/elements";
|
|
10
|
+
import { DatePickerChangeDetail, DatePickerCloseDetail, DatePickerDisplayFormat, DatePickerErrorDetail, DatePickerMode, DatePickerMomentLike, DatePickerSuccessDetail, DatePickerValue } from "./utils/date-picker/date-picker-types";
|
|
10
11
|
import { Q2Input } from "./components/q2-input/q2-input";
|
|
11
12
|
import { TQ2GridAlignOptions, TQ2GridColumnsOptions, TQ2GridGapOptions, TQ2GridJustifyOptions, TQ2GridRowsOptions } from "./components/q2-grid/q2-grid";
|
|
12
13
|
import { TQ2GridAreaAlignOptions, TQ2GridAreaColumnSpanOptions, TQ2GridAreaColumnStartOptions, TQ2GridAreaJustifyOptions, TQ2GridAreaRowSpanOptions, TQ2GridAreaRowStartOptions, TQ2GridAreaZIndexOptions } from "./components/q2-grid-area/q2-grid-area";
|
|
@@ -18,6 +19,7 @@ import { OptionValue, ValidOptionElements } from "./components/q2-option-list/q2
|
|
|
18
19
|
import { OptionValue as OptionValue1 } from "./components/q2-option-list/q2-option-list";
|
|
19
20
|
export { ActionSheetData, ActionSheetListCloseData } from "q2-tecton-common/lib/types/action-sheet";
|
|
20
21
|
export { ChartData, DonutChartData, EventDetail, FilesObject, FormatterValueObject, Q2DataTableHeader, Q2DataTableRow, Q2DataTableSerializedRow, StepperPaneEvent, ValidFileStatus } from "q2-tecton-common/lib/types/elements";
|
|
22
|
+
export { DatePickerChangeDetail, DatePickerCloseDetail, DatePickerDisplayFormat, DatePickerErrorDetail, DatePickerMode, DatePickerMomentLike, DatePickerSuccessDetail, DatePickerValue } from "./utils/date-picker/date-picker-types";
|
|
21
23
|
export { Q2Input } from "./components/q2-input/q2-input";
|
|
22
24
|
export { TQ2GridAlignOptions, TQ2GridColumnsOptions, TQ2GridGapOptions, TQ2GridJustifyOptions, TQ2GridRowsOptions } from "./components/q2-grid/q2-grid";
|
|
23
25
|
export { TQ2GridAreaAlignOptions, TQ2GridAreaColumnSpanOptions, TQ2GridAreaColumnStartOptions, TQ2GridAreaJustifyOptions, TQ2GridAreaRowSpanOptions, TQ2GridAreaRowStartOptions, TQ2GridAreaZIndexOptions } from "./components/q2-grid-area/q2-grid-area";
|
|
@@ -188,20 +190,26 @@ export namespace Components {
|
|
|
188
190
|
"form": string;
|
|
189
191
|
/**
|
|
190
192
|
* Hides the `label`, and assigns its value to the `aria-label` attribute on the `<button>` element.
|
|
193
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance. Use for icon-only buttons.
|
|
191
194
|
*/
|
|
192
195
|
"hideLabel": boolean;
|
|
193
196
|
/**
|
|
194
|
-
* Indicates the
|
|
197
|
+
* Indicates the intended action type, which applies the appropriate styling. Use unprefixed values by default. The legacy `workflow-` prefix remains supported for backward compatibility.
|
|
195
198
|
*/
|
|
196
199
|
"intent": | 'coin'
|
|
200
|
+
| 'destroy'
|
|
201
|
+
| 'escape'
|
|
197
202
|
| 'neutral-text'
|
|
198
203
|
| 'neutral'
|
|
204
|
+
| 'primary'
|
|
205
|
+
| 'secondary'
|
|
199
206
|
| 'workflow-destroy'
|
|
200
207
|
| 'workflow-escape'
|
|
201
208
|
| 'workflow-primary'
|
|
202
209
|
| 'workflow-secondary';
|
|
203
210
|
/**
|
|
204
211
|
* Defines the text content of the button if it is not provided in the `<slot>` of the element. Also used for the `aria-label` of the `<button>` element when only displaying an icon.
|
|
212
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
205
213
|
* @localizable
|
|
206
214
|
*/
|
|
207
215
|
"label": string;
|
|
@@ -291,6 +299,7 @@ export namespace Components {
|
|
|
291
299
|
"errors": string[];
|
|
292
300
|
/**
|
|
293
301
|
* Hide the input field's ` <label> ` element from view.
|
|
302
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
294
303
|
*/
|
|
295
304
|
"hideLabel": boolean;
|
|
296
305
|
/**
|
|
@@ -310,6 +319,7 @@ export namespace Components {
|
|
|
310
319
|
"invalidDates": string[];
|
|
311
320
|
/**
|
|
312
321
|
* The visible label for the `q2-calendar` input field.
|
|
322
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
313
323
|
*/
|
|
314
324
|
"label": string;
|
|
315
325
|
/**
|
|
@@ -1049,8 +1059,8 @@ export namespace Components {
|
|
|
1049
1059
|
*/
|
|
1050
1060
|
"hasError": boolean;
|
|
1051
1061
|
/**
|
|
1052
|
-
*
|
|
1053
|
-
* @warning
|
|
1062
|
+
* Hides the field's `<label>` element from view.
|
|
1063
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
1054
1064
|
*/
|
|
1055
1065
|
"hideLabel": boolean;
|
|
1056
1066
|
/**
|
|
@@ -1059,6 +1069,7 @@ export namespace Components {
|
|
|
1059
1069
|
"indeterminate": boolean;
|
|
1060
1070
|
/**
|
|
1061
1071
|
* The visible label text for the checkbox. Appears to the right of the box for 'default' and 'favorite' checkboxes, and to the left for 'toggle' checkboxes. Yielded content will be adjacent to this text.
|
|
1072
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
1062
1073
|
* @localizable
|
|
1063
1074
|
*/
|
|
1064
1075
|
"label": string;
|
|
@@ -1098,12 +1109,13 @@ export namespace Components {
|
|
|
1098
1109
|
*/
|
|
1099
1110
|
"hasError": boolean;
|
|
1100
1111
|
/**
|
|
1101
|
-
*
|
|
1102
|
-
* @warning
|
|
1112
|
+
* Hides the group's `<label>` element from view.
|
|
1113
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
1103
1114
|
*/
|
|
1104
1115
|
"hideLabel": boolean;
|
|
1105
1116
|
/**
|
|
1106
1117
|
* The label that displays above all the checkboxes.
|
|
1118
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
1107
1119
|
* @localizable
|
|
1108
1120
|
*/
|
|
1109
1121
|
"label": string;
|
|
@@ -1300,6 +1312,311 @@ export namespace Components {
|
|
|
1300
1312
|
*/
|
|
1301
1313
|
"toggleSelectAllRows": () => Promise<void>;
|
|
1302
1314
|
}
|
|
1315
|
+
/**
|
|
1316
|
+
* @name Date Calendar
|
|
1317
|
+
* @category Forms
|
|
1318
|
+
* @summary Use for selecting dates from a standalone calendar.
|
|
1319
|
+
*/
|
|
1320
|
+
interface Q2DateCalendar {
|
|
1321
|
+
/**
|
|
1322
|
+
* Accessible calendar dialog label.
|
|
1323
|
+
*/
|
|
1324
|
+
"accessibleLabel": string;
|
|
1325
|
+
/**
|
|
1326
|
+
* Uses the action-sheet calendar presentation.
|
|
1327
|
+
* @default false
|
|
1328
|
+
*/
|
|
1329
|
+
"actionSheet": boolean;
|
|
1330
|
+
/**
|
|
1331
|
+
* Accessible and visible calendar label.
|
|
1332
|
+
*/
|
|
1333
|
+
"calendarLabel": string;
|
|
1334
|
+
/**
|
|
1335
|
+
* Specifies a time of day after which a date is no longer valid.
|
|
1336
|
+
*/
|
|
1337
|
+
"cutoffTime": string;
|
|
1338
|
+
/**
|
|
1339
|
+
* Defines valid days of the week using calendar checksum values.
|
|
1340
|
+
*/
|
|
1341
|
+
"daysOfWeekChecksum": number;
|
|
1342
|
+
/**
|
|
1343
|
+
* Controls whether navigation appears above or below the date grid.
|
|
1344
|
+
* @default 'down'
|
|
1345
|
+
*/
|
|
1346
|
+
"direction": 'up' | 'down';
|
|
1347
|
+
/**
|
|
1348
|
+
* Disables calendar interaction.
|
|
1349
|
+
* @default false
|
|
1350
|
+
*/
|
|
1351
|
+
"disabled": boolean;
|
|
1352
|
+
/**
|
|
1353
|
+
* Localized disclaimer content.
|
|
1354
|
+
*/
|
|
1355
|
+
"disclaimer": string;
|
|
1356
|
+
/**
|
|
1357
|
+
* Controls the date format used in range summaries.
|
|
1358
|
+
*/
|
|
1359
|
+
"displayFormat"?: DatePickerDisplayFormat;
|
|
1360
|
+
/**
|
|
1361
|
+
* Defines the last selectable date.
|
|
1362
|
+
*/
|
|
1363
|
+
"endDate": string;
|
|
1364
|
+
/**
|
|
1365
|
+
* Moves the visible month to the provided date and focuses that day.
|
|
1366
|
+
*/
|
|
1367
|
+
"focusDate": (value: string | Date) => Promise<void>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Defines an explicit date blacklist using ISO date strings.
|
|
1370
|
+
*/
|
|
1371
|
+
"invalidDates": string[];
|
|
1372
|
+
/**
|
|
1373
|
+
* Formats calendar and range labels using the provided locale.
|
|
1374
|
+
* @default document.documentElement.lang || 'en-US'
|
|
1375
|
+
*/
|
|
1376
|
+
"locale": string | string[];
|
|
1377
|
+
/**
|
|
1378
|
+
* Selects single-date or range calendar behavior.
|
|
1379
|
+
* @default 'single'
|
|
1380
|
+
*/
|
|
1381
|
+
"mode": DatePickerMode;
|
|
1382
|
+
/**
|
|
1383
|
+
* Indicates that a new calendar session has opened.
|
|
1384
|
+
* @default false
|
|
1385
|
+
*/
|
|
1386
|
+
"open": boolean;
|
|
1387
|
+
/**
|
|
1388
|
+
* The committed range end as an ISO date string.
|
|
1389
|
+
*/
|
|
1390
|
+
"rangeEnd": string;
|
|
1391
|
+
/**
|
|
1392
|
+
* The committed range start as an ISO date string.
|
|
1393
|
+
*/
|
|
1394
|
+
"rangeStart": string;
|
|
1395
|
+
/**
|
|
1396
|
+
* Prevents calendar selection while retaining calendar visibility.
|
|
1397
|
+
* @default false
|
|
1398
|
+
*/
|
|
1399
|
+
"readonly": boolean;
|
|
1400
|
+
/**
|
|
1401
|
+
* Selects the provided date when it satisfies the calendar constraints.
|
|
1402
|
+
*/
|
|
1403
|
+
"setValue": (value: string | Date) => Promise<void>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Defines the first selectable date.
|
|
1406
|
+
*/
|
|
1407
|
+
"startDate": string;
|
|
1408
|
+
/**
|
|
1409
|
+
* Defines an explicit date whitelist using ISO date strings.
|
|
1410
|
+
*/
|
|
1411
|
+
"validDates": string[];
|
|
1412
|
+
/**
|
|
1413
|
+
* The committed single date as an ISO date string.
|
|
1414
|
+
*/
|
|
1415
|
+
"value": string;
|
|
1416
|
+
}
|
|
1417
|
+
/**
|
|
1418
|
+
* @name Date Picker
|
|
1419
|
+
* @category Forms
|
|
1420
|
+
* @summary Use for selecting a date or date range with an input and calendar popup.
|
|
1421
|
+
*/
|
|
1422
|
+
interface Q2DatePicker {
|
|
1423
|
+
/**
|
|
1424
|
+
* Renders the calendar panel inline with behavior specific to being hosted by `q2-action-sheet`.
|
|
1425
|
+
* @private
|
|
1426
|
+
* @default false
|
|
1427
|
+
*/
|
|
1428
|
+
"_actionSheet": boolean;
|
|
1429
|
+
/**
|
|
1430
|
+
* Determines the year for a committed month/day typeable date with no year. `future` selects the next year for dates before today, while `past` selects the prior year for dates after today. Only applies to `single-typeable` mode with a month-first or day-first display format.
|
|
1431
|
+
* @default 'current'
|
|
1432
|
+
*/
|
|
1433
|
+
"assume": 'current' | 'future' | 'past';
|
|
1434
|
+
/**
|
|
1435
|
+
* A label shown above the date picker navigation.
|
|
1436
|
+
*/
|
|
1437
|
+
"calendarLabel": string;
|
|
1438
|
+
/**
|
|
1439
|
+
* Displays a button in the input field allowing the user to clear the selected date or range.
|
|
1440
|
+
* @default false
|
|
1441
|
+
*/
|
|
1442
|
+
"clearable": boolean;
|
|
1443
|
+
/**
|
|
1444
|
+
* Delay in milliseconds before the popover closes after selection. Explicitly undefined or non-positive values close immediately.
|
|
1445
|
+
* @default 400
|
|
1446
|
+
*/
|
|
1447
|
+
"closeDelay": number | undefined;
|
|
1448
|
+
/**
|
|
1449
|
+
* Closes the calendar popover if it is open.
|
|
1450
|
+
*/
|
|
1451
|
+
"closePopover": () => Promise<void>;
|
|
1452
|
+
/**
|
|
1453
|
+
* Specifies a time of day after which a date is no longer valid.
|
|
1454
|
+
* @warning Must be a valid ISO date string.
|
|
1455
|
+
*/
|
|
1456
|
+
"cutoffTime": string;
|
|
1457
|
+
/**
|
|
1458
|
+
* Defines valid days of the week using the calendar checksum values. Sunday begins at `1` and each following day doubles through Saturday at `64`.
|
|
1459
|
+
*/
|
|
1460
|
+
"daysOfWeekChecksum": number;
|
|
1461
|
+
/**
|
|
1462
|
+
* Indicates the date picker cannot be focused or interacted with.
|
|
1463
|
+
* @default false
|
|
1464
|
+
*/
|
|
1465
|
+
"disabled": boolean;
|
|
1466
|
+
/**
|
|
1467
|
+
* Text displayed as the input placeholder when the field is disabled.
|
|
1468
|
+
*/
|
|
1469
|
+
"disabledMsg": string;
|
|
1470
|
+
/**
|
|
1471
|
+
* Text shown below the date grid.
|
|
1472
|
+
*/
|
|
1473
|
+
"disclaimer": string;
|
|
1474
|
+
/**
|
|
1475
|
+
* Formats the displayed date using legacy Moment-style tokens. Typeable modes support the numeric formats defined by `DatePickerDisplayFormat` and fall back to `MM/DD/YYYY` for other formats.
|
|
1476
|
+
*/
|
|
1477
|
+
"displayFormat"?: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* Defines the last selectable date. ISO date strings are preferred; legacy date strings and timestamps are normalized to their calendar date, without shifting timestamp time zones.
|
|
1480
|
+
*/
|
|
1481
|
+
"endDate": string;
|
|
1482
|
+
/**
|
|
1483
|
+
* Consumer-provided error messages displayed below the input field.
|
|
1484
|
+
*/
|
|
1485
|
+
"errors": string[];
|
|
1486
|
+
/**
|
|
1487
|
+
* Moves the visible month to the provided date and focuses that day.
|
|
1488
|
+
*/
|
|
1489
|
+
"focusDate": (date: Date) => Promise<void>;
|
|
1490
|
+
/**
|
|
1491
|
+
* Hides the input field's visible label while retaining its accessible name.
|
|
1492
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
1493
|
+
* @default false
|
|
1494
|
+
*/
|
|
1495
|
+
"hideLabel": boolean;
|
|
1496
|
+
/**
|
|
1497
|
+
* Consumer-provided hint messages displayed below the input field.
|
|
1498
|
+
*/
|
|
1499
|
+
"hints": string[];
|
|
1500
|
+
/**
|
|
1501
|
+
* Instructs the component to use the action sheet workflow for displaying its calendar. For more information, see [Action Sheets](https://tecton.q2developer.com/guides/action-sheets/).
|
|
1502
|
+
* @default window.Tecton?.useActionSheets ? true : undefined
|
|
1503
|
+
*/
|
|
1504
|
+
"hoist": boolean | undefined;
|
|
1505
|
+
/**
|
|
1506
|
+
* Shows the input field's error visual state.
|
|
1507
|
+
* @default false
|
|
1508
|
+
*/
|
|
1509
|
+
"invalid": boolean;
|
|
1510
|
+
/**
|
|
1511
|
+
* Defines an explicit date blacklist. ISO dates, legacy date strings, and timestamps are normalized to calendar dates. Assign a new array when changing this property. Mutating the existing array does not trigger validation updates.
|
|
1512
|
+
*/
|
|
1513
|
+
"invalidDates": string[];
|
|
1514
|
+
/**
|
|
1515
|
+
* The visible label for the date picker input field.
|
|
1516
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
1517
|
+
*/
|
|
1518
|
+
"label": string;
|
|
1519
|
+
/**
|
|
1520
|
+
* Formats selected dates using the provided locale. Accepts multiple locales in an array as sequential fallbacks.
|
|
1521
|
+
* @default document.documentElement.lang || 'en-US'
|
|
1522
|
+
*/
|
|
1523
|
+
"locale": string | string[];
|
|
1524
|
+
/**
|
|
1525
|
+
* Selects calendar or typeable behavior for a single date or date range. Enabling the legacy `typeable` prop uses `single-typeable` when `mode` is left at its default; an explicit mode takes precedence.
|
|
1526
|
+
* @default 'single'
|
|
1527
|
+
*/
|
|
1528
|
+
"mode": DatePickerMode;
|
|
1529
|
+
/**
|
|
1530
|
+
* Controls whether the date picker popover is open or closed.
|
|
1531
|
+
* @default false
|
|
1532
|
+
*/
|
|
1533
|
+
"open": boolean;
|
|
1534
|
+
/**
|
|
1535
|
+
* Opens the calendar popover if it is closed.
|
|
1536
|
+
*/
|
|
1537
|
+
"openPopover": () => Promise<void>;
|
|
1538
|
+
/**
|
|
1539
|
+
* Appends "(optional)" to the input label and marks the field as not required.
|
|
1540
|
+
* @default false
|
|
1541
|
+
*/
|
|
1542
|
+
"optional": boolean;
|
|
1543
|
+
/**
|
|
1544
|
+
* Text shown in the input field when no date is selected.
|
|
1545
|
+
*/
|
|
1546
|
+
"placeholder": string;
|
|
1547
|
+
/**
|
|
1548
|
+
* Forces the direction of the popover when it opens.
|
|
1549
|
+
* @deprecated Use `popoverDirection` instead.
|
|
1550
|
+
*/
|
|
1551
|
+
"popDirection": 'up' | 'down';
|
|
1552
|
+
/**
|
|
1553
|
+
* Aligns the calendar popover to the left or right side of the input field.
|
|
1554
|
+
* @default 'left'
|
|
1555
|
+
*/
|
|
1556
|
+
"popoverAlignment": 'left' | 'right';
|
|
1557
|
+
/**
|
|
1558
|
+
* Forces the direction of the popover when it opens. If no value is passed, the popover automatically selects a direction based on available space. Use `up` to place navigation below the date grid.
|
|
1559
|
+
*/
|
|
1560
|
+
"popoverDirection": 'up' | 'down';
|
|
1561
|
+
/**
|
|
1562
|
+
* @deprecated Retained for compatibility with `q2-date-picker`.
|
|
1563
|
+
* @default 355
|
|
1564
|
+
*/
|
|
1565
|
+
"popoverMinHeight": number;
|
|
1566
|
+
/**
|
|
1567
|
+
* Uses absolute positioning for the popover when set to `legacy`. This compatibility option supports layouts where transformed ancestors interfere with fixed positioning.
|
|
1568
|
+
* @default null
|
|
1569
|
+
*/
|
|
1570
|
+
"popoverMode": 'legacy';
|
|
1571
|
+
/**
|
|
1572
|
+
* The selected range end. ISO dates, legacy date strings, and timestamps are accepted.
|
|
1573
|
+
*/
|
|
1574
|
+
"rangeEnd": string;
|
|
1575
|
+
/**
|
|
1576
|
+
* The selected range start. ISO dates, legacy date strings, and timestamps are accepted.
|
|
1577
|
+
*/
|
|
1578
|
+
"rangeStart": string;
|
|
1579
|
+
/**
|
|
1580
|
+
* The field's content is not editable, but the field remains focusable. Appends "(read only)" to the field label.
|
|
1581
|
+
* @default false
|
|
1582
|
+
*/
|
|
1583
|
+
"readonly": boolean;
|
|
1584
|
+
/**
|
|
1585
|
+
* Clears selected values, uncommitted typeable input, and error state without changing configuration props.
|
|
1586
|
+
*/
|
|
1587
|
+
"reset": () => Promise<void>;
|
|
1588
|
+
/**
|
|
1589
|
+
* Opens the calendar and selects the provided date when it is valid.
|
|
1590
|
+
*/
|
|
1591
|
+
"setValue": (value: string | Date | DatePickerMomentLike) => Promise<void>;
|
|
1592
|
+
/**
|
|
1593
|
+
* Defines the first selectable date. ISO date strings are preferred; legacy date strings and timestamps are normalized to their calendar date, without shifting timestamp time zones.
|
|
1594
|
+
*/
|
|
1595
|
+
"startDate": string;
|
|
1596
|
+
/**
|
|
1597
|
+
* Focuses the single typeable input and stages a valid date without committing it.
|
|
1598
|
+
* @warning Only applicable when the effective mode is `single-typeable`.
|
|
1599
|
+
*/
|
|
1600
|
+
"typeValue": (value: string | Date) => Promise<void>;
|
|
1601
|
+
/**
|
|
1602
|
+
* Enables the legacy single-date typeable input behavior.
|
|
1603
|
+
* @default false
|
|
1604
|
+
*/
|
|
1605
|
+
"typeable": boolean;
|
|
1606
|
+
/**
|
|
1607
|
+
* Shows the input field's success visual state when no errors are active.
|
|
1608
|
+
* @default false
|
|
1609
|
+
*/
|
|
1610
|
+
"valid": boolean;
|
|
1611
|
+
/**
|
|
1612
|
+
* Defines an explicit date whitelist. ISO dates, legacy date strings, and timestamps are normalized to calendar dates. Assign a new array when changing this property. Mutating the existing array does not trigger validation updates.
|
|
1613
|
+
*/
|
|
1614
|
+
"validDates": string[];
|
|
1615
|
+
/**
|
|
1616
|
+
* The selected date. ISO date strings are preferred; legacy date strings and Moment-like values are normalized to an ISO date string.
|
|
1617
|
+
*/
|
|
1618
|
+
"value": DatePickerValue;
|
|
1619
|
+
}
|
|
1303
1620
|
/**
|
|
1304
1621
|
* @name Detail
|
|
1305
1622
|
* @category Display
|
|
@@ -1382,8 +1699,8 @@ export namespace Components {
|
|
|
1382
1699
|
*/
|
|
1383
1700
|
"fullWidth": boolean;
|
|
1384
1701
|
/**
|
|
1385
|
-
*
|
|
1386
|
-
* @warning
|
|
1702
|
+
* Hides the dropdown's label text from view.
|
|
1703
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
1387
1704
|
*/
|
|
1388
1705
|
"hideLabel": boolean;
|
|
1389
1706
|
/**
|
|
@@ -1397,7 +1714,7 @@ export namespace Components {
|
|
|
1397
1714
|
"icon": string;
|
|
1398
1715
|
/**
|
|
1399
1716
|
* The text that appears within the button.
|
|
1400
|
-
* @warning
|
|
1717
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
1401
1718
|
* @localizable
|
|
1402
1719
|
*/
|
|
1403
1720
|
"label": string;
|
|
@@ -1555,7 +1872,8 @@ export namespace Components {
|
|
|
1555
1872
|
*/
|
|
1556
1873
|
"formatModifier": string;
|
|
1557
1874
|
/**
|
|
1558
|
-
*
|
|
1875
|
+
* Hides the field's `<label>` element from view.
|
|
1876
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
1559
1877
|
*/
|
|
1560
1878
|
"hideLabel": boolean;
|
|
1561
1879
|
/**
|
|
@@ -1564,6 +1882,7 @@ export namespace Components {
|
|
|
1564
1882
|
"hints": string[];
|
|
1565
1883
|
/**
|
|
1566
1884
|
* The visible descriptor for the element. Serves as the input label while in the edit state and as a decorative label for the read state when `persistentLabel` is `true`.
|
|
1885
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
1567
1886
|
* @localizable
|
|
1568
1887
|
* @default ''
|
|
1569
1888
|
*/
|
|
@@ -2174,8 +2493,8 @@ export namespace Components {
|
|
|
2174
2493
|
*/
|
|
2175
2494
|
"formatModifier": string;
|
|
2176
2495
|
/**
|
|
2177
|
-
*
|
|
2178
|
-
* @warning
|
|
2496
|
+
* Hides the field's `<label>` element from view.
|
|
2497
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
2179
2498
|
*/
|
|
2180
2499
|
"hideLabel": boolean;
|
|
2181
2500
|
/**
|
|
@@ -2198,6 +2517,7 @@ export namespace Components {
|
|
|
2198
2517
|
"iconRight": Q2Icon['type'];
|
|
2199
2518
|
/**
|
|
2200
2519
|
* The label that appears above the field. This is announced by screen readers when the field is focused.
|
|
2520
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
2201
2521
|
* @localizable
|
|
2202
2522
|
*/
|
|
2203
2523
|
"label": string;
|
|
@@ -3157,11 +3477,12 @@ export namespace Components {
|
|
|
3157
3477
|
"groupTileLayout": boolean;
|
|
3158
3478
|
/**
|
|
3159
3479
|
* Hides the field's `<label>` element from view.
|
|
3160
|
-
* @warning
|
|
3480
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
3161
3481
|
*/
|
|
3162
3482
|
"hideLabel": boolean;
|
|
3163
3483
|
/**
|
|
3164
3484
|
* The text that describes the individual radio option.
|
|
3485
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
3165
3486
|
* @localizable
|
|
3166
3487
|
*/
|
|
3167
3488
|
"label": string;
|
|
@@ -3201,12 +3522,13 @@ export namespace Components {
|
|
|
3201
3522
|
*/
|
|
3202
3523
|
"hasError": boolean;
|
|
3203
3524
|
/**
|
|
3204
|
-
*
|
|
3205
|
-
* @warning
|
|
3525
|
+
* Hides the group's `<label>` element from view.
|
|
3526
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
3206
3527
|
*/
|
|
3207
3528
|
"hideLabel": boolean;
|
|
3208
3529
|
/**
|
|
3209
3530
|
* Text for the fieldset legend describing the radio group.
|
|
3531
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
3210
3532
|
* @localizable
|
|
3211
3533
|
*/
|
|
3212
3534
|
"label": string;
|
|
@@ -3360,7 +3682,7 @@ export namespace Components {
|
|
|
3360
3682
|
"filter": boolean;
|
|
3361
3683
|
/**
|
|
3362
3684
|
* Hides the field's `<label>` element from view.
|
|
3363
|
-
* @warning
|
|
3685
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
3364
3686
|
* @default false
|
|
3365
3687
|
*/
|
|
3366
3688
|
"hideLabel": boolean;
|
|
@@ -3370,6 +3692,7 @@ export namespace Components {
|
|
|
3370
3692
|
"invalid": boolean;
|
|
3371
3693
|
/**
|
|
3372
3694
|
* The text that will be used as the label for the field.
|
|
3695
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
3373
3696
|
* @localizable
|
|
3374
3697
|
*/
|
|
3375
3698
|
"label": string;
|
|
@@ -3555,8 +3878,8 @@ export namespace Components {
|
|
|
3555
3878
|
*/
|
|
3556
3879
|
"errors": string[];
|
|
3557
3880
|
/**
|
|
3558
|
-
*
|
|
3559
|
-
* @warning
|
|
3881
|
+
* Hides the field's `<label>` element from view.
|
|
3882
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
3560
3883
|
*/
|
|
3561
3884
|
"hideLabel": boolean;
|
|
3562
3885
|
/**
|
|
@@ -3571,6 +3894,7 @@ export namespace Components {
|
|
|
3571
3894
|
"invalid": boolean;
|
|
3572
3895
|
/**
|
|
3573
3896
|
* The text that will be used as the label for the field.
|
|
3897
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
3574
3898
|
* @localizable
|
|
3575
3899
|
*/
|
|
3576
3900
|
"label": string;
|
|
@@ -3978,8 +4302,8 @@ export namespace Components {
|
|
|
3978
4302
|
*/
|
|
3979
4303
|
"errors": string[];
|
|
3980
4304
|
/**
|
|
3981
|
-
*
|
|
3982
|
-
* @warning
|
|
4305
|
+
* Hides the field's `<label>` element from view.
|
|
4306
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
3983
4307
|
*/
|
|
3984
4308
|
"hideLabel": boolean;
|
|
3985
4309
|
/**
|
|
@@ -3994,6 +4318,7 @@ export namespace Components {
|
|
|
3994
4318
|
"hints": string[];
|
|
3995
4319
|
/**
|
|
3996
4320
|
* The label that appears above the field. This is announced by screen readers when the field is focused.
|
|
4321
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
3997
4322
|
* @localizable
|
|
3998
4323
|
*/
|
|
3999
4324
|
"label": string;
|
|
@@ -4213,6 +4538,14 @@ export interface Q2DataTableCustomEvent<T> extends CustomEvent<T> {
|
|
|
4213
4538
|
detail: T;
|
|
4214
4539
|
target: HTMLQ2DataTableElement;
|
|
4215
4540
|
}
|
|
4541
|
+
export interface Q2DateCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
4542
|
+
detail: T;
|
|
4543
|
+
target: HTMLQ2DateCalendarElement;
|
|
4544
|
+
}
|
|
4545
|
+
export interface Q2DatePickerCustomEvent<T> extends CustomEvent<T> {
|
|
4546
|
+
detail: T;
|
|
4547
|
+
target: HTMLQ2DatePickerElement;
|
|
4548
|
+
}
|
|
4216
4549
|
export interface Q2DropdownItemCustomEvent<T> extends CustomEvent<T> {
|
|
4217
4550
|
detail: T;
|
|
4218
4551
|
target: HTMLQ2DropdownItemElement;
|
|
@@ -4750,6 +5083,61 @@ declare global {
|
|
|
4750
5083
|
prototype: HTMLQ2DataTableElement;
|
|
4751
5084
|
new (): HTMLQ2DataTableElement;
|
|
4752
5085
|
};
|
|
5086
|
+
interface HTMLQ2DateCalendarElementEventMap {
|
|
5087
|
+
"tctCalendarCancel": void;
|
|
5088
|
+
"tctCalendarCommit": DatePickerChangeDetail;
|
|
5089
|
+
"tctCalendarDismiss": void;
|
|
5090
|
+
"tctCalendarError": string;
|
|
5091
|
+
"tctChange": DatePickerChangeDetail;
|
|
5092
|
+
}
|
|
5093
|
+
/**
|
|
5094
|
+
* @name Date Calendar
|
|
5095
|
+
* @category Forms
|
|
5096
|
+
* @summary Use for selecting dates from a standalone calendar.
|
|
5097
|
+
*/
|
|
5098
|
+
interface HTMLQ2DateCalendarElement extends Components.Q2DateCalendar, HTMLStencilElement {
|
|
5099
|
+
addEventListener<K extends keyof HTMLQ2DateCalendarElementEventMap>(type: K, listener: (this: HTMLQ2DateCalendarElement, ev: Q2DateCalendarCustomEvent<HTMLQ2DateCalendarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5100
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5101
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5102
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5103
|
+
removeEventListener<K extends keyof HTMLQ2DateCalendarElementEventMap>(type: K, listener: (this: HTMLQ2DateCalendarElement, ev: Q2DateCalendarCustomEvent<HTMLQ2DateCalendarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
5104
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5105
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5106
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
5107
|
+
}
|
|
5108
|
+
var HTMLQ2DateCalendarElement: {
|
|
5109
|
+
prototype: HTMLQ2DateCalendarElement;
|
|
5110
|
+
new (): HTMLQ2DateCalendarElement;
|
|
5111
|
+
};
|
|
5112
|
+
interface HTMLQ2DatePickerElementEventMap {
|
|
5113
|
+
"change": DatePickerChangeDetail;
|
|
5114
|
+
"error": DatePickerErrorDetail;
|
|
5115
|
+
"success": DatePickerSuccessDetail;
|
|
5116
|
+
"tctCancel": void;
|
|
5117
|
+
"tctChange": DatePickerChangeDetail;
|
|
5118
|
+
"tctClose": DatePickerCloseDetail | void;
|
|
5119
|
+
"tctError": DatePickerErrorDetail;
|
|
5120
|
+
"tctSuccess": DatePickerSuccessDetail;
|
|
5121
|
+
}
|
|
5122
|
+
/**
|
|
5123
|
+
* @name Date Picker
|
|
5124
|
+
* @category Forms
|
|
5125
|
+
* @summary Use for selecting a date or date range with an input and calendar popup.
|
|
5126
|
+
*/
|
|
5127
|
+
interface HTMLQ2DatePickerElement extends Components.Q2DatePicker, HTMLStencilElement {
|
|
5128
|
+
addEventListener<K extends keyof HTMLQ2DatePickerElementEventMap>(type: K, listener: (this: HTMLQ2DatePickerElement, ev: Q2DatePickerCustomEvent<HTMLQ2DatePickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5129
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5130
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5131
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5132
|
+
removeEventListener<K extends keyof HTMLQ2DatePickerElementEventMap>(type: K, listener: (this: HTMLQ2DatePickerElement, ev: Q2DatePickerCustomEvent<HTMLQ2DatePickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
5133
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5134
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5135
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
5136
|
+
}
|
|
5137
|
+
var HTMLQ2DatePickerElement: {
|
|
5138
|
+
prototype: HTMLQ2DatePickerElement;
|
|
5139
|
+
new (): HTMLQ2DatePickerElement;
|
|
5140
|
+
};
|
|
4753
5141
|
/**
|
|
4754
5142
|
* @name Detail
|
|
4755
5143
|
* @category Display
|
|
@@ -5727,6 +6115,8 @@ declare global {
|
|
|
5727
6115
|
"q2-context": HTMLQ2ContextElement;
|
|
5728
6116
|
"q2-currency": HTMLQ2CurrencyElement;
|
|
5729
6117
|
"q2-data-table": HTMLQ2DataTableElement;
|
|
6118
|
+
"q2-date-calendar": HTMLQ2DateCalendarElement;
|
|
6119
|
+
"q2-date-picker": HTMLQ2DatePickerElement;
|
|
5730
6120
|
"q2-detail": HTMLQ2DetailElement;
|
|
5731
6121
|
"q2-dropdown": HTMLQ2DropdownElement;
|
|
5732
6122
|
"q2-dropdown-item": HTMLQ2DropdownItemElement;
|
|
@@ -5956,20 +6346,26 @@ declare namespace LocalJSX {
|
|
|
5956
6346
|
"form"?: string;
|
|
5957
6347
|
/**
|
|
5958
6348
|
* Hides the `label`, and assigns its value to the `aria-label` attribute on the `<button>` element.
|
|
6349
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance. Use for icon-only buttons.
|
|
5959
6350
|
*/
|
|
5960
6351
|
"hideLabel"?: boolean;
|
|
5961
6352
|
/**
|
|
5962
|
-
* Indicates the
|
|
6353
|
+
* Indicates the intended action type, which applies the appropriate styling. Use unprefixed values by default. The legacy `workflow-` prefix remains supported for backward compatibility.
|
|
5963
6354
|
*/
|
|
5964
6355
|
"intent"?: | 'coin'
|
|
6356
|
+
| 'destroy'
|
|
6357
|
+
| 'escape'
|
|
5965
6358
|
| 'neutral-text'
|
|
5966
6359
|
| 'neutral'
|
|
6360
|
+
| 'primary'
|
|
6361
|
+
| 'secondary'
|
|
5967
6362
|
| 'workflow-destroy'
|
|
5968
6363
|
| 'workflow-escape'
|
|
5969
6364
|
| 'workflow-primary'
|
|
5970
6365
|
| 'workflow-secondary';
|
|
5971
6366
|
/**
|
|
5972
6367
|
* Defines the text content of the button if it is not provided in the `<slot>` of the element. Also used for the `aria-label` of the `<button>` element when only displaying an icon.
|
|
6368
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
5973
6369
|
* @localizable
|
|
5974
6370
|
*/
|
|
5975
6371
|
"label"?: string;
|
|
@@ -6058,6 +6454,7 @@ declare namespace LocalJSX {
|
|
|
6058
6454
|
"errors"?: string[];
|
|
6059
6455
|
/**
|
|
6060
6456
|
* Hide the input field's ` <label> ` element from view.
|
|
6457
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
6061
6458
|
*/
|
|
6062
6459
|
"hideLabel"?: boolean;
|
|
6063
6460
|
/**
|
|
@@ -6077,6 +6474,7 @@ declare namespace LocalJSX {
|
|
|
6077
6474
|
"invalidDates"?: string[];
|
|
6078
6475
|
/**
|
|
6079
6476
|
* The visible label for the `q2-calendar` input field.
|
|
6477
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
6080
6478
|
*/
|
|
6081
6479
|
"label"?: string;
|
|
6082
6480
|
/**
|
|
@@ -6594,7 +6992,7 @@ declare namespace LocalJSX {
|
|
|
6594
6992
|
*/
|
|
6595
6993
|
"offsetDataValues"?: boolean;
|
|
6596
6994
|
/**
|
|
6597
|
-
* Emitted when a data point is
|
|
6995
|
+
* Emitted when a data point is explored using the chart pointer or keyboard.
|
|
6598
6996
|
* @deprecated Use 'tctChange' instead
|
|
6599
6997
|
*/
|
|
6600
6998
|
"onChange"?: (event: Q2ChartAreaCustomEvent<{
|
|
@@ -6602,7 +7000,7 @@ declare namespace LocalJSX {
|
|
|
6602
7000
|
data: ChartData;
|
|
6603
7001
|
}>) => void;
|
|
6604
7002
|
/**
|
|
6605
|
-
* Emitted when a data point is
|
|
7003
|
+
* Emitted when a data point is explored using the chart pointer or keyboard.
|
|
6606
7004
|
*/
|
|
6607
7005
|
"onTctChange"?: (event: Q2ChartAreaCustomEvent<{
|
|
6608
7006
|
index: number;
|
|
@@ -6875,8 +7273,8 @@ declare namespace LocalJSX {
|
|
|
6875
7273
|
*/
|
|
6876
7274
|
"hasError"?: boolean;
|
|
6877
7275
|
/**
|
|
6878
|
-
*
|
|
6879
|
-
* @warning
|
|
7276
|
+
* Hides the field's `<label>` element from view.
|
|
7277
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
6880
7278
|
*/
|
|
6881
7279
|
"hideLabel"?: boolean;
|
|
6882
7280
|
/**
|
|
@@ -6885,6 +7283,7 @@ declare namespace LocalJSX {
|
|
|
6885
7283
|
"indeterminate"?: boolean;
|
|
6886
7284
|
/**
|
|
6887
7285
|
* The visible label text for the checkbox. Appears to the right of the box for 'default' and 'favorite' checkboxes, and to the left for 'toggle' checkboxes. Yielded content will be adjacent to this text.
|
|
7286
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
6888
7287
|
* @localizable
|
|
6889
7288
|
*/
|
|
6890
7289
|
"label"?: string;
|
|
@@ -6935,12 +7334,13 @@ declare namespace LocalJSX {
|
|
|
6935
7334
|
*/
|
|
6936
7335
|
"hasError"?: boolean;
|
|
6937
7336
|
/**
|
|
6938
|
-
*
|
|
6939
|
-
* @warning
|
|
7337
|
+
* Hides the group's `<label>` element from view.
|
|
7338
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
6940
7339
|
*/
|
|
6941
7340
|
"hideLabel"?: boolean;
|
|
6942
7341
|
/**
|
|
6943
7342
|
* The label that displays above all the checkboxes.
|
|
7343
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
6944
7344
|
* @localizable
|
|
6945
7345
|
*/
|
|
6946
7346
|
"label"?: string;
|
|
@@ -7160,20 +7560,348 @@ declare namespace LocalJSX {
|
|
|
7160
7560
|
"striped"?: boolean;
|
|
7161
7561
|
}
|
|
7162
7562
|
/**
|
|
7163
|
-
* @name
|
|
7164
|
-
* @category
|
|
7165
|
-
* @summary Use for
|
|
7563
|
+
* @name Date Calendar
|
|
7564
|
+
* @category Forms
|
|
7565
|
+
* @summary Use for selecting dates from a standalone calendar.
|
|
7166
7566
|
*/
|
|
7167
|
-
interface
|
|
7567
|
+
interface Q2DateCalendar {
|
|
7168
7568
|
/**
|
|
7169
|
-
*
|
|
7170
|
-
* @default 'left'
|
|
7569
|
+
* Accessible calendar dialog label.
|
|
7171
7570
|
*/
|
|
7172
|
-
"
|
|
7571
|
+
"accessibleLabel"?: string;
|
|
7173
7572
|
/**
|
|
7174
|
-
*
|
|
7573
|
+
* Uses the action-sheet calendar presentation.
|
|
7574
|
+
* @default false
|
|
7175
7575
|
*/
|
|
7176
|
-
"
|
|
7576
|
+
"actionSheet"?: boolean;
|
|
7577
|
+
/**
|
|
7578
|
+
* Accessible and visible calendar label.
|
|
7579
|
+
*/
|
|
7580
|
+
"calendarLabel"?: string;
|
|
7581
|
+
/**
|
|
7582
|
+
* Specifies a time of day after which a date is no longer valid.
|
|
7583
|
+
*/
|
|
7584
|
+
"cutoffTime"?: string;
|
|
7585
|
+
/**
|
|
7586
|
+
* Defines valid days of the week using calendar checksum values.
|
|
7587
|
+
*/
|
|
7588
|
+
"daysOfWeekChecksum"?: number;
|
|
7589
|
+
/**
|
|
7590
|
+
* Controls whether navigation appears above or below the date grid.
|
|
7591
|
+
* @default 'down'
|
|
7592
|
+
*/
|
|
7593
|
+
"direction"?: 'up' | 'down';
|
|
7594
|
+
/**
|
|
7595
|
+
* Disables calendar interaction.
|
|
7596
|
+
* @default false
|
|
7597
|
+
*/
|
|
7598
|
+
"disabled"?: boolean;
|
|
7599
|
+
/**
|
|
7600
|
+
* Localized disclaimer content.
|
|
7601
|
+
*/
|
|
7602
|
+
"disclaimer"?: string;
|
|
7603
|
+
/**
|
|
7604
|
+
* Controls the date format used in range summaries.
|
|
7605
|
+
*/
|
|
7606
|
+
"displayFormat"?: DatePickerDisplayFormat;
|
|
7607
|
+
/**
|
|
7608
|
+
* Defines the last selectable date.
|
|
7609
|
+
*/
|
|
7610
|
+
"endDate"?: string;
|
|
7611
|
+
/**
|
|
7612
|
+
* Defines an explicit date blacklist using ISO date strings.
|
|
7613
|
+
*/
|
|
7614
|
+
"invalidDates"?: string[];
|
|
7615
|
+
/**
|
|
7616
|
+
* Formats calendar and range labels using the provided locale.
|
|
7617
|
+
* @default document.documentElement.lang || 'en-US'
|
|
7618
|
+
*/
|
|
7619
|
+
"locale"?: string | string[];
|
|
7620
|
+
/**
|
|
7621
|
+
* Selects single-date or range calendar behavior.
|
|
7622
|
+
* @default 'single'
|
|
7623
|
+
*/
|
|
7624
|
+
"mode"?: DatePickerMode;
|
|
7625
|
+
/**
|
|
7626
|
+
* Emitted when the user cancels range selection.
|
|
7627
|
+
*/
|
|
7628
|
+
"onTctCalendarCancel"?: (event: Q2DateCalendarCustomEvent<void>) => void;
|
|
7629
|
+
/**
|
|
7630
|
+
* Emitted when the user commits a single date or date range.
|
|
7631
|
+
*/
|
|
7632
|
+
"onTctCalendarCommit"?: (event: Q2DateCalendarCustomEvent<DatePickerChangeDetail>) => void;
|
|
7633
|
+
/**
|
|
7634
|
+
* Emitted when the calendar asks its container to dismiss it.
|
|
7635
|
+
*/
|
|
7636
|
+
"onTctCalendarDismiss"?: (event: Q2DateCalendarCustomEvent<void>) => void;
|
|
7637
|
+
/**
|
|
7638
|
+
* Emitted when range confirmation validation changes.
|
|
7639
|
+
*/
|
|
7640
|
+
"onTctCalendarError"?: (event: Q2DateCalendarCustomEvent<string>) => void;
|
|
7641
|
+
/**
|
|
7642
|
+
* Emitted with the committed date or range for standalone consumers and framework models.
|
|
7643
|
+
*/
|
|
7644
|
+
"onTctChange"?: (event: Q2DateCalendarCustomEvent<DatePickerChangeDetail>) => void;
|
|
7645
|
+
/**
|
|
7646
|
+
* Indicates that a new calendar session has opened.
|
|
7647
|
+
* @default false
|
|
7648
|
+
*/
|
|
7649
|
+
"open"?: boolean;
|
|
7650
|
+
/**
|
|
7651
|
+
* The committed range end as an ISO date string.
|
|
7652
|
+
*/
|
|
7653
|
+
"rangeEnd"?: string;
|
|
7654
|
+
/**
|
|
7655
|
+
* The committed range start as an ISO date string.
|
|
7656
|
+
*/
|
|
7657
|
+
"rangeStart"?: string;
|
|
7658
|
+
/**
|
|
7659
|
+
* Prevents calendar selection while retaining calendar visibility.
|
|
7660
|
+
* @default false
|
|
7661
|
+
*/
|
|
7662
|
+
"readonly"?: boolean;
|
|
7663
|
+
/**
|
|
7664
|
+
* Defines the first selectable date.
|
|
7665
|
+
*/
|
|
7666
|
+
"startDate"?: string;
|
|
7667
|
+
/**
|
|
7668
|
+
* Defines an explicit date whitelist using ISO date strings.
|
|
7669
|
+
*/
|
|
7670
|
+
"validDates"?: string[];
|
|
7671
|
+
/**
|
|
7672
|
+
* The committed single date as an ISO date string.
|
|
7673
|
+
*/
|
|
7674
|
+
"value"?: string;
|
|
7675
|
+
}
|
|
7676
|
+
/**
|
|
7677
|
+
* @name Date Picker
|
|
7678
|
+
* @category Forms
|
|
7679
|
+
* @summary Use for selecting a date or date range with an input and calendar popup.
|
|
7680
|
+
*/
|
|
7681
|
+
interface Q2DatePicker {
|
|
7682
|
+
/**
|
|
7683
|
+
* Renders the calendar panel inline with behavior specific to being hosted by `q2-action-sheet`.
|
|
7684
|
+
* @private
|
|
7685
|
+
* @default false
|
|
7686
|
+
*/
|
|
7687
|
+
"_actionSheet"?: boolean;
|
|
7688
|
+
/**
|
|
7689
|
+
* Determines the year for a committed month/day typeable date with no year. `future` selects the next year for dates before today, while `past` selects the prior year for dates after today. Only applies to `single-typeable` mode with a month-first or day-first display format.
|
|
7690
|
+
* @default 'current'
|
|
7691
|
+
*/
|
|
7692
|
+
"assume"?: 'current' | 'future' | 'past';
|
|
7693
|
+
/**
|
|
7694
|
+
* A label shown above the date picker navigation.
|
|
7695
|
+
*/
|
|
7696
|
+
"calendarLabel"?: string;
|
|
7697
|
+
/**
|
|
7698
|
+
* Displays a button in the input field allowing the user to clear the selected date or range.
|
|
7699
|
+
* @default false
|
|
7700
|
+
*/
|
|
7701
|
+
"clearable"?: boolean;
|
|
7702
|
+
/**
|
|
7703
|
+
* Delay in milliseconds before the popover closes after selection. Explicitly undefined or non-positive values close immediately.
|
|
7704
|
+
* @default 400
|
|
7705
|
+
*/
|
|
7706
|
+
"closeDelay"?: number | undefined;
|
|
7707
|
+
/**
|
|
7708
|
+
* Specifies a time of day after which a date is no longer valid.
|
|
7709
|
+
* @warning Must be a valid ISO date string.
|
|
7710
|
+
*/
|
|
7711
|
+
"cutoffTime"?: string;
|
|
7712
|
+
/**
|
|
7713
|
+
* Defines valid days of the week using the calendar checksum values. Sunday begins at `1` and each following day doubles through Saturday at `64`.
|
|
7714
|
+
*/
|
|
7715
|
+
"daysOfWeekChecksum"?: number;
|
|
7716
|
+
/**
|
|
7717
|
+
* Indicates the date picker cannot be focused or interacted with.
|
|
7718
|
+
* @default false
|
|
7719
|
+
*/
|
|
7720
|
+
"disabled"?: boolean;
|
|
7721
|
+
/**
|
|
7722
|
+
* Text displayed as the input placeholder when the field is disabled.
|
|
7723
|
+
*/
|
|
7724
|
+
"disabledMsg"?: string;
|
|
7725
|
+
/**
|
|
7726
|
+
* Text shown below the date grid.
|
|
7727
|
+
*/
|
|
7728
|
+
"disclaimer"?: string;
|
|
7729
|
+
/**
|
|
7730
|
+
* Formats the displayed date using legacy Moment-style tokens. Typeable modes support the numeric formats defined by `DatePickerDisplayFormat` and fall back to `MM/DD/YYYY` for other formats.
|
|
7731
|
+
*/
|
|
7732
|
+
"displayFormat"?: string;
|
|
7733
|
+
/**
|
|
7734
|
+
* Defines the last selectable date. ISO date strings are preferred; legacy date strings and timestamps are normalized to their calendar date, without shifting timestamp time zones.
|
|
7735
|
+
*/
|
|
7736
|
+
"endDate"?: string;
|
|
7737
|
+
/**
|
|
7738
|
+
* Consumer-provided error messages displayed below the input field.
|
|
7739
|
+
*/
|
|
7740
|
+
"errors"?: string[];
|
|
7741
|
+
/**
|
|
7742
|
+
* Hides the input field's visible label while retaining its accessible name.
|
|
7743
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
7744
|
+
* @default false
|
|
7745
|
+
*/
|
|
7746
|
+
"hideLabel"?: boolean;
|
|
7747
|
+
/**
|
|
7748
|
+
* Consumer-provided hint messages displayed below the input field.
|
|
7749
|
+
*/
|
|
7750
|
+
"hints"?: string[];
|
|
7751
|
+
/**
|
|
7752
|
+
* Instructs the component to use the action sheet workflow for displaying its calendar. For more information, see [Action Sheets](https://tecton.q2developer.com/guides/action-sheets/).
|
|
7753
|
+
* @default window.Tecton?.useActionSheets ? true : undefined
|
|
7754
|
+
*/
|
|
7755
|
+
"hoist"?: boolean | undefined;
|
|
7756
|
+
/**
|
|
7757
|
+
* Shows the input field's error visual state.
|
|
7758
|
+
* @default false
|
|
7759
|
+
*/
|
|
7760
|
+
"invalid"?: boolean;
|
|
7761
|
+
/**
|
|
7762
|
+
* Defines an explicit date blacklist. ISO dates, legacy date strings, and timestamps are normalized to calendar dates. Assign a new array when changing this property. Mutating the existing array does not trigger validation updates.
|
|
7763
|
+
*/
|
|
7764
|
+
"invalidDates"?: string[];
|
|
7765
|
+
/**
|
|
7766
|
+
* The visible label for the date picker input field.
|
|
7767
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
7768
|
+
*/
|
|
7769
|
+
"label"?: string;
|
|
7770
|
+
/**
|
|
7771
|
+
* Formats selected dates using the provided locale. Accepts multiple locales in an array as sequential fallbacks.
|
|
7772
|
+
* @default document.documentElement.lang || 'en-US'
|
|
7773
|
+
*/
|
|
7774
|
+
"locale"?: string | string[];
|
|
7775
|
+
/**
|
|
7776
|
+
* Selects calendar or typeable behavior for a single date or date range. Enabling the legacy `typeable` prop uses `single-typeable` when `mode` is left at its default; an explicit mode takes precedence.
|
|
7777
|
+
* @default 'single'
|
|
7778
|
+
*/
|
|
7779
|
+
"mode"?: DatePickerMode;
|
|
7780
|
+
/**
|
|
7781
|
+
* Emitted when a date is selected.
|
|
7782
|
+
* @legacyEvent
|
|
7783
|
+
* @deprecated Use `tctChange` instead.
|
|
7784
|
+
*/
|
|
7785
|
+
"onChange"?: (event: Q2DatePickerCustomEvent<DatePickerChangeDetail>) => void;
|
|
7786
|
+
/**
|
|
7787
|
+
* Emitted when an invalid single date is entered or assigned.
|
|
7788
|
+
* @deprecated Use `tctError` instead.
|
|
7789
|
+
*/
|
|
7790
|
+
"onError"?: (event: Q2DatePickerCustomEvent<DatePickerErrorDetail>) => void;
|
|
7791
|
+
/**
|
|
7792
|
+
* Emitted when a valid single date is entered, selected, or assigned.
|
|
7793
|
+
* @deprecated Use `tctSuccess` instead.
|
|
7794
|
+
*/
|
|
7795
|
+
"onSuccess"?: (event: Q2DatePickerCustomEvent<DatePickerSuccessDetail>) => void;
|
|
7796
|
+
/**
|
|
7797
|
+
* Emitted when an action-sheet date range is cancelled.
|
|
7798
|
+
*/
|
|
7799
|
+
"onTctCancel"?: (event: Q2DatePickerCustomEvent<void>) => void;
|
|
7800
|
+
/**
|
|
7801
|
+
* Emitted when a date is selected.
|
|
7802
|
+
*/
|
|
7803
|
+
"onTctChange"?: (event: Q2DatePickerCustomEvent<DatePickerChangeDetail>) => void;
|
|
7804
|
+
/**
|
|
7805
|
+
* Emitted when the picker closes after confirmation. Includes validation details when confirmation fails.
|
|
7806
|
+
*/
|
|
7807
|
+
"onTctClose"?: (event: Q2DatePickerCustomEvent<DatePickerCloseDetail | void>) => void;
|
|
7808
|
+
/**
|
|
7809
|
+
* Emitted when an invalid single date is entered or assigned.
|
|
7810
|
+
*/
|
|
7811
|
+
"onTctError"?: (event: Q2DatePickerCustomEvent<DatePickerErrorDetail>) => void;
|
|
7812
|
+
/**
|
|
7813
|
+
* Emitted when a valid single date is entered, selected, or assigned.
|
|
7814
|
+
*/
|
|
7815
|
+
"onTctSuccess"?: (event: Q2DatePickerCustomEvent<DatePickerSuccessDetail>) => void;
|
|
7816
|
+
/**
|
|
7817
|
+
* Controls whether the date picker popover is open or closed.
|
|
7818
|
+
* @default false
|
|
7819
|
+
*/
|
|
7820
|
+
"open"?: boolean;
|
|
7821
|
+
/**
|
|
7822
|
+
* Appends "(optional)" to the input label and marks the field as not required.
|
|
7823
|
+
* @default false
|
|
7824
|
+
*/
|
|
7825
|
+
"optional"?: boolean;
|
|
7826
|
+
/**
|
|
7827
|
+
* Text shown in the input field when no date is selected.
|
|
7828
|
+
*/
|
|
7829
|
+
"placeholder"?: string;
|
|
7830
|
+
/**
|
|
7831
|
+
* Forces the direction of the popover when it opens.
|
|
7832
|
+
* @deprecated Use `popoverDirection` instead.
|
|
7833
|
+
*/
|
|
7834
|
+
"popDirection"?: 'up' | 'down';
|
|
7835
|
+
/**
|
|
7836
|
+
* Aligns the calendar popover to the left or right side of the input field.
|
|
7837
|
+
* @default 'left'
|
|
7838
|
+
*/
|
|
7839
|
+
"popoverAlignment"?: 'left' | 'right';
|
|
7840
|
+
/**
|
|
7841
|
+
* Forces the direction of the popover when it opens. If no value is passed, the popover automatically selects a direction based on available space. Use `up` to place navigation below the date grid.
|
|
7842
|
+
*/
|
|
7843
|
+
"popoverDirection"?: 'up' | 'down';
|
|
7844
|
+
/**
|
|
7845
|
+
* @deprecated Retained for compatibility with `q2-date-picker`.
|
|
7846
|
+
* @default 355
|
|
7847
|
+
*/
|
|
7848
|
+
"popoverMinHeight"?: number;
|
|
7849
|
+
/**
|
|
7850
|
+
* Uses absolute positioning for the popover when set to `legacy`. This compatibility option supports layouts where transformed ancestors interfere with fixed positioning.
|
|
7851
|
+
* @default null
|
|
7852
|
+
*/
|
|
7853
|
+
"popoverMode"?: 'legacy';
|
|
7854
|
+
/**
|
|
7855
|
+
* The selected range end. ISO dates, legacy date strings, and timestamps are accepted.
|
|
7856
|
+
*/
|
|
7857
|
+
"rangeEnd"?: string;
|
|
7858
|
+
/**
|
|
7859
|
+
* The selected range start. ISO dates, legacy date strings, and timestamps are accepted.
|
|
7860
|
+
*/
|
|
7861
|
+
"rangeStart"?: string;
|
|
7862
|
+
/**
|
|
7863
|
+
* The field's content is not editable, but the field remains focusable. Appends "(read only)" to the field label.
|
|
7864
|
+
* @default false
|
|
7865
|
+
*/
|
|
7866
|
+
"readonly"?: boolean;
|
|
7867
|
+
/**
|
|
7868
|
+
* Defines the first selectable date. ISO date strings are preferred; legacy date strings and timestamps are normalized to their calendar date, without shifting timestamp time zones.
|
|
7869
|
+
*/
|
|
7870
|
+
"startDate"?: string;
|
|
7871
|
+
/**
|
|
7872
|
+
* Enables the legacy single-date typeable input behavior.
|
|
7873
|
+
* @default false
|
|
7874
|
+
*/
|
|
7875
|
+
"typeable"?: boolean;
|
|
7876
|
+
/**
|
|
7877
|
+
* Shows the input field's success visual state when no errors are active.
|
|
7878
|
+
* @default false
|
|
7879
|
+
*/
|
|
7880
|
+
"valid"?: boolean;
|
|
7881
|
+
/**
|
|
7882
|
+
* Defines an explicit date whitelist. ISO dates, legacy date strings, and timestamps are normalized to calendar dates. Assign a new array when changing this property. Mutating the existing array does not trigger validation updates.
|
|
7883
|
+
*/
|
|
7884
|
+
"validDates"?: string[];
|
|
7885
|
+
/**
|
|
7886
|
+
* The selected date. ISO date strings are preferred; legacy date strings and Moment-like values are normalized to an ISO date string.
|
|
7887
|
+
*/
|
|
7888
|
+
"value"?: DatePickerValue;
|
|
7889
|
+
}
|
|
7890
|
+
/**
|
|
7891
|
+
* @name Detail
|
|
7892
|
+
* @category Display
|
|
7893
|
+
* @summary Use for displaying label-value pairs like account details or miscellaneous info.
|
|
7894
|
+
*/
|
|
7895
|
+
interface Q2Detail {
|
|
7896
|
+
/**
|
|
7897
|
+
* Defines the alignment of the label and description when stacked, or when only the label or description is present.
|
|
7898
|
+
* @default 'left'
|
|
7899
|
+
*/
|
|
7900
|
+
"align"?: 'left' | 'right' | 'center';
|
|
7901
|
+
/**
|
|
7902
|
+
* @deprecated Use 'align' instead
|
|
7903
|
+
*/
|
|
7904
|
+
"alignment"?: 'left' | 'right' | 'center';
|
|
7177
7905
|
/**
|
|
7178
7906
|
* Defines the text content of the description.
|
|
7179
7907
|
* @localizable
|
|
@@ -7232,8 +7960,8 @@ declare namespace LocalJSX {
|
|
|
7232
7960
|
*/
|
|
7233
7961
|
"fullWidth"?: boolean;
|
|
7234
7962
|
/**
|
|
7235
|
-
*
|
|
7236
|
-
* @warning
|
|
7963
|
+
* Hides the dropdown's label text from view.
|
|
7964
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
7237
7965
|
*/
|
|
7238
7966
|
"hideLabel"?: boolean;
|
|
7239
7967
|
/**
|
|
@@ -7247,7 +7975,7 @@ declare namespace LocalJSX {
|
|
|
7247
7975
|
"icon"?: string;
|
|
7248
7976
|
/**
|
|
7249
7977
|
* The text that appears within the button.
|
|
7250
|
-
* @warning
|
|
7978
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
7251
7979
|
* @localizable
|
|
7252
7980
|
*/
|
|
7253
7981
|
"label"?: string;
|
|
@@ -7384,7 +8112,8 @@ declare namespace LocalJSX {
|
|
|
7384
8112
|
*/
|
|
7385
8113
|
"formatModifier"?: string;
|
|
7386
8114
|
/**
|
|
7387
|
-
*
|
|
8115
|
+
* Hides the field's `<label>` element from view.
|
|
8116
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
7388
8117
|
*/
|
|
7389
8118
|
"hideLabel"?: boolean;
|
|
7390
8119
|
/**
|
|
@@ -7393,6 +8122,7 @@ declare namespace LocalJSX {
|
|
|
7393
8122
|
"hints"?: string[];
|
|
7394
8123
|
/**
|
|
7395
8124
|
* The visible descriptor for the element. Serves as the input label while in the edit state and as a decorative label for the read state when `persistentLabel` is `true`.
|
|
8125
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
7396
8126
|
* @localizable
|
|
7397
8127
|
* @default ''
|
|
7398
8128
|
*/
|
|
@@ -8024,8 +8754,8 @@ declare namespace LocalJSX {
|
|
|
8024
8754
|
*/
|
|
8025
8755
|
"formatModifier"?: string;
|
|
8026
8756
|
/**
|
|
8027
|
-
*
|
|
8028
|
-
* @warning
|
|
8757
|
+
* Hides the field's `<label>` element from view.
|
|
8758
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
8029
8759
|
*/
|
|
8030
8760
|
"hideLabel"?: boolean;
|
|
8031
8761
|
/**
|
|
@@ -8048,6 +8778,7 @@ declare namespace LocalJSX {
|
|
|
8048
8778
|
"iconRight"?: Q2Icon['type'];
|
|
8049
8779
|
/**
|
|
8050
8780
|
* The label that appears above the field. This is announced by screen readers when the field is focused.
|
|
8781
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
8051
8782
|
* @localizable
|
|
8052
8783
|
*/
|
|
8053
8784
|
"label"?: string;
|
|
@@ -9116,11 +9847,12 @@ declare namespace LocalJSX {
|
|
|
9116
9847
|
"groupTileLayout"?: boolean;
|
|
9117
9848
|
/**
|
|
9118
9849
|
* Hides the field's `<label>` element from view.
|
|
9119
|
-
* @warning
|
|
9850
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
9120
9851
|
*/
|
|
9121
9852
|
"hideLabel"?: boolean;
|
|
9122
9853
|
/**
|
|
9123
9854
|
* The text that describes the individual radio option.
|
|
9855
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
9124
9856
|
* @localizable
|
|
9125
9857
|
*/
|
|
9126
9858
|
"label"?: string;
|
|
@@ -9169,12 +9901,13 @@ declare namespace LocalJSX {
|
|
|
9169
9901
|
*/
|
|
9170
9902
|
"hasError"?: boolean;
|
|
9171
9903
|
/**
|
|
9172
|
-
*
|
|
9173
|
-
* @warning
|
|
9904
|
+
* Hides the group's `<label>` element from view.
|
|
9905
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
9174
9906
|
*/
|
|
9175
9907
|
"hideLabel"?: boolean;
|
|
9176
9908
|
/**
|
|
9177
9909
|
* Text for the fieldset legend describing the radio group.
|
|
9910
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
9178
9911
|
* @localizable
|
|
9179
9912
|
*/
|
|
9180
9913
|
"label"?: string;
|
|
@@ -9317,7 +10050,7 @@ declare namespace LocalJSX {
|
|
|
9317
10050
|
"filter"?: boolean;
|
|
9318
10051
|
/**
|
|
9319
10052
|
* Hides the field's `<label>` element from view.
|
|
9320
|
-
* @warning
|
|
10053
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
9321
10054
|
* @default false
|
|
9322
10055
|
*/
|
|
9323
10056
|
"hideLabel"?: boolean;
|
|
@@ -9327,6 +10060,7 @@ declare namespace LocalJSX {
|
|
|
9327
10060
|
"invalid"?: boolean;
|
|
9328
10061
|
/**
|
|
9329
10062
|
* The text that will be used as the label for the field.
|
|
10063
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
9330
10064
|
* @localizable
|
|
9331
10065
|
*/
|
|
9332
10066
|
"label"?: string;
|
|
@@ -9505,8 +10239,8 @@ declare namespace LocalJSX {
|
|
|
9505
10239
|
*/
|
|
9506
10240
|
"errors"?: string[];
|
|
9507
10241
|
/**
|
|
9508
|
-
*
|
|
9509
|
-
* @warning
|
|
10242
|
+
* Hides the field's `<label>` element from view.
|
|
10243
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
9510
10244
|
*/
|
|
9511
10245
|
"hideLabel"?: boolean;
|
|
9512
10246
|
/**
|
|
@@ -9521,6 +10255,7 @@ declare namespace LocalJSX {
|
|
|
9521
10255
|
"invalid"?: boolean;
|
|
9522
10256
|
/**
|
|
9523
10257
|
* The text that will be used as the label for the field.
|
|
10258
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
9524
10259
|
* @localizable
|
|
9525
10260
|
*/
|
|
9526
10261
|
"label"?: string;
|
|
@@ -9983,8 +10718,8 @@ declare namespace LocalJSX {
|
|
|
9983
10718
|
*/
|
|
9984
10719
|
"errors"?: string[];
|
|
9985
10720
|
/**
|
|
9986
|
-
*
|
|
9987
|
-
* @warning
|
|
10721
|
+
* Hides the field's `<label>` element from view.
|
|
10722
|
+
* @warning Hides the label visually. `label` text is still required for screenreader compliance.
|
|
9988
10723
|
*/
|
|
9989
10724
|
"hideLabel"?: boolean;
|
|
9990
10725
|
/**
|
|
@@ -9999,6 +10734,7 @@ declare namespace LocalJSX {
|
|
|
9999
10734
|
"hints"?: string[];
|
|
10000
10735
|
/**
|
|
10001
10736
|
* The label that appears above the field. This is announced by screen readers when the field is focused.
|
|
10737
|
+
* @warning Required for screen reader compliance even when `hideLabel` is `true`.
|
|
10002
10738
|
* @localizable
|
|
10003
10739
|
*/
|
|
10004
10740
|
"label"?: string;
|
|
@@ -10232,8 +10968,12 @@ declare namespace LocalJSX {
|
|
|
10232
10968
|
"form": string;
|
|
10233
10969
|
"hideLabel": boolean;
|
|
10234
10970
|
"intent": | 'coin'
|
|
10971
|
+
| 'destroy'
|
|
10972
|
+
| 'escape'
|
|
10235
10973
|
| 'neutral-text'
|
|
10236
10974
|
| 'neutral'
|
|
10975
|
+
| 'primary'
|
|
10976
|
+
| 'secondary'
|
|
10237
10977
|
| 'workflow-destroy'
|
|
10238
10978
|
| 'workflow-escape'
|
|
10239
10979
|
| 'workflow-primary'
|
|
@@ -10456,6 +11196,61 @@ declare namespace LocalJSX {
|
|
|
10456
11196
|
"sticky": boolean;
|
|
10457
11197
|
"striped": boolean;
|
|
10458
11198
|
}
|
|
11199
|
+
interface Q2DateCalendarAttributes {
|
|
11200
|
+
"accessibleLabel": string;
|
|
11201
|
+
"actionSheet": boolean;
|
|
11202
|
+
"calendarLabel": string;
|
|
11203
|
+
"cutoffTime": string;
|
|
11204
|
+
"daysOfWeekChecksum": number;
|
|
11205
|
+
"direction": 'up' | 'down';
|
|
11206
|
+
"disabled": boolean;
|
|
11207
|
+
"disclaimer": string;
|
|
11208
|
+
"displayFormat": DatePickerDisplayFormat;
|
|
11209
|
+
"endDate": string;
|
|
11210
|
+
"locale": string | string[];
|
|
11211
|
+
"mode": DatePickerMode;
|
|
11212
|
+
"open": boolean;
|
|
11213
|
+
"rangeEnd": string;
|
|
11214
|
+
"rangeStart": string;
|
|
11215
|
+
"readonly": boolean;
|
|
11216
|
+
"startDate": string;
|
|
11217
|
+
"value": string;
|
|
11218
|
+
}
|
|
11219
|
+
interface Q2DatePickerAttributes {
|
|
11220
|
+
"_actionSheet": boolean;
|
|
11221
|
+
"assume": 'current' | 'future' | 'past';
|
|
11222
|
+
"calendarLabel": string;
|
|
11223
|
+
"clearable": boolean;
|
|
11224
|
+
"closeDelay": number | undefined;
|
|
11225
|
+
"cutoffTime": string;
|
|
11226
|
+
"daysOfWeekChecksum": number;
|
|
11227
|
+
"disabled": boolean;
|
|
11228
|
+
"disabledMsg": string;
|
|
11229
|
+
"disclaimer": string;
|
|
11230
|
+
"displayFormat": string;
|
|
11231
|
+
"endDate": string;
|
|
11232
|
+
"hideLabel": boolean;
|
|
11233
|
+
"hoist": boolean | undefined;
|
|
11234
|
+
"invalid": boolean;
|
|
11235
|
+
"label": string;
|
|
11236
|
+
"locale": string | string[];
|
|
11237
|
+
"mode": DatePickerMode;
|
|
11238
|
+
"open": boolean;
|
|
11239
|
+
"optional": boolean;
|
|
11240
|
+
"placeholder": string;
|
|
11241
|
+
"popDirection": 'up' | 'down';
|
|
11242
|
+
"popoverAlignment": 'left' | 'right';
|
|
11243
|
+
"popoverDirection": 'up' | 'down';
|
|
11244
|
+
"popoverMinHeight": number;
|
|
11245
|
+
"popoverMode": 'legacy';
|
|
11246
|
+
"rangeEnd": string;
|
|
11247
|
+
"rangeStart": string;
|
|
11248
|
+
"readonly": boolean;
|
|
11249
|
+
"startDate": string;
|
|
11250
|
+
"typeable": boolean;
|
|
11251
|
+
"valid": boolean;
|
|
11252
|
+
"value": DatePickerValue;
|
|
11253
|
+
}
|
|
10459
11254
|
interface Q2DetailAttributes {
|
|
10460
11255
|
"align": 'left' | 'right' | 'center';
|
|
10461
11256
|
"alignment": 'left' | 'right' | 'center';
|
|
@@ -11073,6 +11868,8 @@ declare namespace LocalJSX {
|
|
|
11073
11868
|
"q2-context": Omit<Q2Context, keyof Q2ContextAttributes> & { [K in keyof Q2Context & keyof Q2ContextAttributes]?: Q2Context[K] } & { [K in keyof Q2Context & keyof Q2ContextAttributes as `attr:${K}`]?: Q2ContextAttributes[K] } & { [K in keyof Q2Context & keyof Q2ContextAttributes as `prop:${K}`]?: Q2Context[K] };
|
|
11074
11869
|
"q2-currency": Omit<Q2Currency, keyof Q2CurrencyAttributes> & { [K in keyof Q2Currency & keyof Q2CurrencyAttributes]?: Q2Currency[K] } & { [K in keyof Q2Currency & keyof Q2CurrencyAttributes as `attr:${K}`]?: Q2CurrencyAttributes[K] } & { [K in keyof Q2Currency & keyof Q2CurrencyAttributes as `prop:${K}`]?: Q2Currency[K] };
|
|
11075
11870
|
"q2-data-table": Omit<Q2DataTable, keyof Q2DataTableAttributes> & { [K in keyof Q2DataTable & keyof Q2DataTableAttributes]?: Q2DataTable[K] } & { [K in keyof Q2DataTable & keyof Q2DataTableAttributes as `attr:${K}`]?: Q2DataTableAttributes[K] } & { [K in keyof Q2DataTable & keyof Q2DataTableAttributes as `prop:${K}`]?: Q2DataTable[K] };
|
|
11871
|
+
"q2-date-calendar": Omit<Q2DateCalendar, keyof Q2DateCalendarAttributes> & { [K in keyof Q2DateCalendar & keyof Q2DateCalendarAttributes]?: Q2DateCalendar[K] } & { [K in keyof Q2DateCalendar & keyof Q2DateCalendarAttributes as `attr:${K}`]?: Q2DateCalendarAttributes[K] } & { [K in keyof Q2DateCalendar & keyof Q2DateCalendarAttributes as `prop:${K}`]?: Q2DateCalendar[K] };
|
|
11872
|
+
"q2-date-picker": Omit<Q2DatePicker, keyof Q2DatePickerAttributes> & { [K in keyof Q2DatePicker & keyof Q2DatePickerAttributes]?: Q2DatePicker[K] } & { [K in keyof Q2DatePicker & keyof Q2DatePickerAttributes as `attr:${K}`]?: Q2DatePickerAttributes[K] } & { [K in keyof Q2DatePicker & keyof Q2DatePickerAttributes as `prop:${K}`]?: Q2DatePicker[K] };
|
|
11076
11873
|
"q2-detail": Omit<Q2Detail, keyof Q2DetailAttributes> & { [K in keyof Q2Detail & keyof Q2DetailAttributes]?: Q2Detail[K] } & { [K in keyof Q2Detail & keyof Q2DetailAttributes as `attr:${K}`]?: Q2DetailAttributes[K] } & { [K in keyof Q2Detail & keyof Q2DetailAttributes as `prop:${K}`]?: Q2Detail[K] };
|
|
11077
11874
|
"q2-dropdown": Omit<Q2Dropdown, keyof Q2DropdownAttributes> & { [K in keyof Q2Dropdown & keyof Q2DropdownAttributes]?: Q2Dropdown[K] } & { [K in keyof Q2Dropdown & keyof Q2DropdownAttributes as `attr:${K}`]?: Q2DropdownAttributes[K] } & { [K in keyof Q2Dropdown & keyof Q2DropdownAttributes as `prop:${K}`]?: Q2Dropdown[K] };
|
|
11078
11875
|
"q2-dropdown-item": Omit<Q2DropdownItem, keyof Q2DropdownItemAttributes> & { [K in keyof Q2DropdownItem & keyof Q2DropdownItemAttributes]?: Q2DropdownItem[K] } & { [K in keyof Q2DropdownItem & keyof Q2DropdownItemAttributes as `attr:${K}`]?: Q2DropdownItemAttributes[K] } & { [K in keyof Q2DropdownItem & keyof Q2DropdownItemAttributes as `prop:${K}`]?: Q2DropdownItem[K] };
|
|
@@ -11239,6 +12036,18 @@ declare module "@stencil/core" {
|
|
|
11239
12036
|
* @summary Use for displaying large datasets with sorting, filtering, and selecting.
|
|
11240
12037
|
*/
|
|
11241
12038
|
"q2-data-table": LocalJSX.IntrinsicElements["q2-data-table"] & JSXBase.HTMLAttributes<HTMLQ2DataTableElement>;
|
|
12039
|
+
/**
|
|
12040
|
+
* @name Date Calendar
|
|
12041
|
+
* @category Forms
|
|
12042
|
+
* @summary Use for selecting dates from a standalone calendar.
|
|
12043
|
+
*/
|
|
12044
|
+
"q2-date-calendar": LocalJSX.IntrinsicElements["q2-date-calendar"] & JSXBase.HTMLAttributes<HTMLQ2DateCalendarElement>;
|
|
12045
|
+
/**
|
|
12046
|
+
* @name Date Picker
|
|
12047
|
+
* @category Forms
|
|
12048
|
+
* @summary Use for selecting a date or date range with an input and calendar popup.
|
|
12049
|
+
*/
|
|
12050
|
+
"q2-date-picker": LocalJSX.IntrinsicElements["q2-date-picker"] & JSXBase.HTMLAttributes<HTMLQ2DatePickerElement>;
|
|
11242
12051
|
/**
|
|
11243
12052
|
* @name Detail
|
|
11244
12053
|
* @category Display
|