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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as n, h as e, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { l as a, o as i } from "./index-
|
|
3
|
+
import { l as a, o as i } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const r = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -74,54 +74,54 @@ const r = class {
|
|
|
74
74
|
// #region Render Methods
|
|
75
75
|
render() {
|
|
76
76
|
return e("div", {
|
|
77
|
-
key: "
|
|
77
|
+
key: "6e90b90e7720649681c2e95debe81d823095ccd0",
|
|
78
78
|
class: "month-container",
|
|
79
79
|
onKeyDown: this.onMonthKeydown
|
|
80
80
|
}, e("div", {
|
|
81
|
-
key: "
|
|
81
|
+
key: "d1b83fce67fec3beacb73004a02d566f77a5729f",
|
|
82
82
|
class: "navigation"
|
|
83
83
|
}, e("q2-btn", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "0772d6553ee3a75ca829755b3abc7d75ac0fa1aa",
|
|
85
85
|
class: "year-btn",
|
|
86
86
|
onClick: () => this.viewChange.emit({
|
|
87
87
|
view: "year",
|
|
88
88
|
selectedYear: this.year
|
|
89
89
|
})
|
|
90
90
|
}, e("span", {
|
|
91
|
-
key: "
|
|
91
|
+
key: "689e2643923973447a38063260943bfaf98f673c",
|
|
92
92
|
class: "year"
|
|
93
93
|
}, this.year), e("q2-icon", {
|
|
94
|
-
key: "
|
|
94
|
+
key: "590dcf2cf06e4980d70644b5be9e448cfe72abdc",
|
|
95
95
|
class: "year-icon off",
|
|
96
96
|
type: "chevron-down"
|
|
97
97
|
})), e("div", {
|
|
98
|
-
key: "
|
|
98
|
+
key: "3001ad6ece1c302809e27df855c921698b840c56",
|
|
99
99
|
class: "month-controller"
|
|
100
100
|
}, e("div", {
|
|
101
|
-
key: "
|
|
101
|
+
key: "23397576c55f2f5ad32c248459ce986d38f25e5d",
|
|
102
102
|
class: "cal-year-prev-next"
|
|
103
103
|
}, e("q2-btn", {
|
|
104
|
-
key: "
|
|
104
|
+
key: "8d38dd1bc2986e6c43b66c5cf3538adea921b259",
|
|
105
105
|
label: a("tecton.element.calendar.previousYear"),
|
|
106
106
|
"hide-label": !0,
|
|
107
107
|
class: "cal-nav-btn prev-year",
|
|
108
108
|
"test-id": "previousYearButton",
|
|
109
109
|
onClick: () => this.selectYear(this.year - 1)
|
|
110
110
|
}, e("q2-icon", {
|
|
111
|
-
key: "
|
|
111
|
+
key: "55f8e258f83c0209b76efb3798478409ee246133",
|
|
112
112
|
type: "arrow-left"
|
|
113
113
|
})), e("q2-btn", {
|
|
114
|
-
key: "
|
|
114
|
+
key: "578e4c4cd87cf3e25a09d55cb2c20ef0967d44bb",
|
|
115
115
|
label: a("tecton.element.calendar.nextYear"),
|
|
116
116
|
"hide-label": !0,
|
|
117
117
|
class: "cal-nav-btn next-year",
|
|
118
118
|
"test-id": "nextYearButton",
|
|
119
119
|
onClick: () => this.selectYear(this.year + 1)
|
|
120
120
|
}, e("q2-icon", {
|
|
121
|
-
key: "
|
|
121
|
+
key: "f2814f78597a04fca5617b3b59271d6c11221a5c",
|
|
122
122
|
type: "arrow-right"
|
|
123
123
|
}))))), e("div", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "7843d1db40f82116c3f82f544ad045a1f7dabadb",
|
|
125
125
|
class: "month-list",
|
|
126
126
|
onClick: this.onMonthSelection
|
|
127
127
|
}, this.months.map(((t, n) => e("div", {
|
|
@@ -133,7 +133,7 @@ const r = class {
|
|
|
133
133
|
"aria-label": t.label,
|
|
134
134
|
tabindex: n === this.focusedIndex ? 0 : -1
|
|
135
135
|
}, t.abbr))))), this.today && e("div", {
|
|
136
|
-
key: "
|
|
136
|
+
key: "71675483d7a2d770ad8f76b3540d47c10ebb0325",
|
|
137
137
|
class: "today-label"
|
|
138
138
|
}, a("tecton.element.calendar.today"), ": ", this.today));
|
|
139
139
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { c as s, o as r, i as a, l as n } from "./index-
|
|
3
|
+
import { c as s, o as r, i as a, l as n } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const c = class {
|
|
6
6
|
constructor(i) {
|
|
@@ -283,7 +283,7 @@ const c = class {
|
|
|
283
283
|
block: !0,
|
|
284
284
|
class: "send-code-button",
|
|
285
285
|
disabled: this.disabled,
|
|
286
|
-
intent: "
|
|
286
|
+
intent: "primary",
|
|
287
287
|
label: this.localizedSendCodeLabel,
|
|
288
288
|
onClick: this.handleSendCodeClick,
|
|
289
289
|
ref: t => this.sendCodeRef = t
|
|
@@ -301,7 +301,7 @@ const c = class {
|
|
|
301
301
|
block: !0,
|
|
302
302
|
class: "submit-button",
|
|
303
303
|
disabled: this.disabled || !this.isComplete,
|
|
304
|
-
intent: "
|
|
304
|
+
intent: "primary",
|
|
305
305
|
label: this.isVerifying ? this.localizedProcessingLabel : this.localizedSubmitLabel,
|
|
306
306
|
loading: this.isVerifying,
|
|
307
307
|
onClick: this.handleSubmitClick
|
|
@@ -309,7 +309,7 @@ const c = class {
|
|
|
309
309
|
}
|
|
310
310
|
render() {
|
|
311
311
|
return i("div", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "8f4ada9f194f1b0995995e946097b3e24a11f605",
|
|
313
313
|
"aria-busy": this.isVerifying ? "true" : void 0,
|
|
314
314
|
"aria-labelledby": this.label ? this.labelId : void 0,
|
|
315
315
|
class: {
|
|
@@ -323,22 +323,22 @@ const c = class {
|
|
|
323
323
|
},
|
|
324
324
|
role: "group"
|
|
325
325
|
}, this.renderSendCodeButton(), i("div", {
|
|
326
|
-
key: "
|
|
326
|
+
key: "099e1ef5ccc09846faf9952772e61ff7644e5085",
|
|
327
327
|
class: {
|
|
328
328
|
"otp-content": !0,
|
|
329
329
|
"send-code-hidden": "ready" === this.state
|
|
330
330
|
}
|
|
331
331
|
}, this.renderLabel(), i("div", {
|
|
332
|
-
key: "
|
|
332
|
+
key: "5ad6ff061779de6562f523148459729d73bbf53a",
|
|
333
333
|
class: "otp-control-group"
|
|
334
334
|
}, i("div", {
|
|
335
|
-
key: "
|
|
335
|
+
key: "d60e93f2d79d0f4b0348a5b581647ece89e9973c",
|
|
336
336
|
class: "fields-shell"
|
|
337
337
|
}, i("div", {
|
|
338
|
-
key: "
|
|
338
|
+
key: "55b515c8a04e664024dcc66e4d894dcb0ddd4ca4",
|
|
339
339
|
class: "fields-container"
|
|
340
340
|
}, i("input", {
|
|
341
|
-
key: "
|
|
341
|
+
key: "b8319da6e91ea06ff5632c72326460c0e532393d",
|
|
342
342
|
"aria-describedby": this.describedBy,
|
|
343
343
|
"aria-invalid": "error" === this.state ? "true" : "false",
|
|
344
344
|
"aria-label": this.inputAriaLabel,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, g as n } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { n as a, o as s, i as o, b as r, l as c } from "./index-
|
|
3
|
+
import { n as a, o as s, i as o, b as r, l as c } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as h } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -223,12 +223,12 @@ const l = class {
|
|
|
223
223
|
recordType: s.toLowerCase(),
|
|
224
224
|
total: r
|
|
225
225
|
})), i("nav", {
|
|
226
|
-
key: "
|
|
226
|
+
key: "647c141a9df399b3764fdc90c5ae05f113e0019d",
|
|
227
227
|
class: this.containerClasses.join(" "),
|
|
228
228
|
ref: t => this.containerElement = t,
|
|
229
229
|
"aria-label": c("tecton.element.pagination.title")
|
|
230
230
|
}, i("div", {
|
|
231
|
-
key: "
|
|
231
|
+
key: "fd595002af27dd639391665573433783342d2aee",
|
|
232
232
|
class: "description",
|
|
233
233
|
"test-id": "description"
|
|
234
234
|
}, e ? c("tecton.element.pagination.pages", {
|
|
@@ -239,13 +239,13 @@ const l = class {
|
|
|
239
239
|
recordType: s.toLowerCase(),
|
|
240
240
|
total: r.toLocaleString()
|
|
241
241
|
})), i("div", {
|
|
242
|
-
key: "
|
|
242
|
+
key: "da4c7137ed566532a9471a7b83a63c49c51c8e82",
|
|
243
243
|
class: "controls"
|
|
244
244
|
}, i("div", {
|
|
245
|
-
key: "
|
|
245
|
+
key: "ef59aadb7b6cfb82707ffb1ee9e1626428a84801",
|
|
246
246
|
class: "btn-group"
|
|
247
247
|
}, i("q2-btn", {
|
|
248
|
-
key: "
|
|
248
|
+
key: "e5d551764bec56fed3dc34684c4ff2cdfadd95ea",
|
|
249
249
|
ref: t => this.firstPageBtn = t,
|
|
250
250
|
label: c("tecton.element.pagination.goToFirstPage"),
|
|
251
251
|
disabled: u || f,
|
|
@@ -254,10 +254,10 @@ const l = class {
|
|
|
254
254
|
"test-id": "firstPageBtn",
|
|
255
255
|
"hide-label": !0
|
|
256
256
|
}, i("q2-icon", {
|
|
257
|
-
key: "
|
|
257
|
+
key: "7423721c4c3082b8f0fdea5d6bde9fc62640fa24",
|
|
258
258
|
type: "chevron-double-left"
|
|
259
259
|
})), i("q2-btn", {
|
|
260
|
-
key: "
|
|
260
|
+
key: "90b3544e9983fa652f225eda9d18d08883b31c39",
|
|
261
261
|
ref: t => this.prevPageBtn = t,
|
|
262
262
|
label: v,
|
|
263
263
|
disabled: u || f,
|
|
@@ -265,21 +265,21 @@ const l = class {
|
|
|
265
265
|
"test-id": "prevPageBtn",
|
|
266
266
|
"hide-label": !0
|
|
267
267
|
}, i("q2-icon", {
|
|
268
|
-
key: "
|
|
268
|
+
key: "6535f2c3745421cbf1dd5750e3ab8d08288bc148",
|
|
269
269
|
type: "chevron-left"
|
|
270
270
|
}))), i("div", {
|
|
271
|
-
key: "
|
|
271
|
+
key: "d4a581982a62f360e5b693a110a7d75eaf0ba24c",
|
|
272
272
|
class: "input-display",
|
|
273
273
|
hidden: a
|
|
274
274
|
}, i("span", {
|
|
275
|
-
key: "
|
|
275
|
+
key: "45a28afc71ee038d829cbe64550bf929210002a9",
|
|
276
276
|
"aria-hidden": "true"
|
|
277
277
|
}, c("tecton.element.pagination.page")), i("div", {
|
|
278
|
-
key: "
|
|
278
|
+
key: "ba5df7f89aed5be2f882057d8cf344981e3f1127",
|
|
279
279
|
class: "input-wrapper",
|
|
280
280
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
281
281
|
}, i("q2-input", {
|
|
282
|
-
key: "
|
|
282
|
+
key: "686c5c8891bd64a40ba9abe8436475bf3ef8fd38",
|
|
283
283
|
ref: t => this.inputField = t,
|
|
284
284
|
type: "number",
|
|
285
285
|
value: `${h}`,
|
|
@@ -296,13 +296,13 @@ const l = class {
|
|
|
296
296
|
current: "page",
|
|
297
297
|
disabled: u
|
|
298
298
|
})), i("span", {
|
|
299
|
-
key: "
|
|
299
|
+
key: "59853a0308d1f97b6722f40c29219d887842c54c",
|
|
300
300
|
"aria-hidden": "true"
|
|
301
301
|
}, c("tecton.element.pagination.ofPages", [ o.toLocaleString() ]))), i("div", {
|
|
302
|
-
key: "
|
|
302
|
+
key: "17fa28deff49d5a3a28b6d66b5639428a309057a",
|
|
303
303
|
class: "btn-group"
|
|
304
304
|
}, i("q2-btn", {
|
|
305
|
-
key: "
|
|
305
|
+
key: "0e5eca8dc228a8285015d5941d9c4e44af5e5353",
|
|
306
306
|
ref: t => this.nextPageBtn = t,
|
|
307
307
|
label: m,
|
|
308
308
|
disabled: u || b,
|
|
@@ -310,10 +310,10 @@ const l = class {
|
|
|
310
310
|
"test-id": "nextPageBtn",
|
|
311
311
|
"hide-label": !0
|
|
312
312
|
}, i("q2-icon", {
|
|
313
|
-
key: "
|
|
313
|
+
key: "9a42a4961ac7efd40c176145a39f0c63540daf14",
|
|
314
314
|
type: "chevron-right"
|
|
315
315
|
})), i("q2-btn", {
|
|
316
|
-
key: "
|
|
316
|
+
key: "fe0c41536c25d7deffa26fdab4f91405e5b197d6",
|
|
317
317
|
ref: t => this.lastPageBtn = t,
|
|
318
318
|
label: "tecton.element.pagination.goToLastPage",
|
|
319
319
|
disabled: u || b,
|
|
@@ -322,10 +322,10 @@ const l = class {
|
|
|
322
322
|
"test-id": "lastPageBtn",
|
|
323
323
|
"hide-label": !0
|
|
324
324
|
}, i("q2-icon", {
|
|
325
|
-
key: "
|
|
325
|
+
key: "5beccc87ad5ef95350cb21d969b15c0996911126",
|
|
326
326
|
type: "chevron-double-right"
|
|
327
327
|
})))), i("div", {
|
|
328
|
-
key: "
|
|
328
|
+
key: "d60b56b2f8173ea2a6fcf3cf4fd1b5f2807fbc5c",
|
|
329
329
|
class: "per-page",
|
|
330
330
|
hidden: a || !(null === (t = this.perPageIncrements) || void 0 === t ? void 0 : t.length)
|
|
331
331
|
}, g && this.renderPerPage()));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as o, h as i, g as e } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { a, o as
|
|
3
|
+
import { a as r, o as a, i as n, w as c, l as s } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as l } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ const v = class {
|
|
|
31
31
|
value: null,
|
|
32
32
|
values: [],
|
|
33
33
|
active: !1
|
|
34
|
-
}), this.scheduledAfterRender.push(
|
|
34
|
+
}), this.scheduledAfterRender.push(r);
|
|
35
35
|
}, this.determineOptionCount = async () => {
|
|
36
36
|
if (this.optionList) {
|
|
37
37
|
const t = await this.getOptionListOptions();
|
|
@@ -92,7 +92,7 @@ const v = class {
|
|
|
92
92
|
var o;
|
|
93
93
|
await (null === (o = this.optionList) || void 0 === o ? void 0 : o.handleExternalKeydown(t));
|
|
94
94
|
}, this.handleSelectionChanges = async t => {
|
|
95
|
-
const {multiple: o} = this, {value: i = "", values: e = []} = t,
|
|
95
|
+
const {multiple: o} = this, {value: i = "", values: e = []} = t, r = o ? !!e.length : !!i;
|
|
96
96
|
if (!this.hostElement.onchange) if (o) this.selectedOptions = e, this.value = void 0; else {
|
|
97
97
|
const t = await this.getOption(i);
|
|
98
98
|
this.selectedOptions = t ? [ {
|
|
@@ -103,7 +103,7 @@ const v = class {
|
|
|
103
103
|
l(this, [ "change", "tctChange" ], {
|
|
104
104
|
value: o ? void 0 : i,
|
|
105
105
|
values: e,
|
|
106
|
-
active:
|
|
106
|
+
active: r
|
|
107
107
|
});
|
|
108
108
|
}, this.handleSlotKeydown = t => {
|
|
109
109
|
var o;
|
|
@@ -143,8 +143,8 @@ const v = class {
|
|
|
143
143
|
const {selectedOptions: t = []} = this, o = t.map((t => t.value)), i = await this.getOptionListOptions();
|
|
144
144
|
this.optionCount && (this.active = !!o.length), this.selectedOptionElements = (null == i ? void 0 : i.filter((t => o.includes(t.value)))) || [];
|
|
145
145
|
}, this.updateSlotState = () => {
|
|
146
|
-
const {hostElement: t, hasPopoverTop: o, hasPopoverBottom: i} = this, e = t.shadowRoot.querySelector('slot[name="popover-top"]'),
|
|
147
|
-
o !==
|
|
146
|
+
const {hostElement: t, hasPopoverTop: o, hasPopoverBottom: i} = this, e = t.shadowRoot.querySelector('slot[name="popover-top"]'), r = t.shadowRoot.querySelector('slot[name="popover-bottom"]'), a = (null == e ? void 0 : e.assignedNodes().length) > 0, n = (null == r ? void 0 : r.assignedNodes().length) > 0;
|
|
147
|
+
o !== a && (this.hasPopoverTop = a), i !== n && (this.hasPopoverBottom = n);
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
// #endregion
|
|
@@ -161,7 +161,7 @@ const v = class {
|
|
|
161
161
|
}), this.mutationObserver = t;
|
|
162
162
|
}
|
|
163
163
|
componentDidLoad() {
|
|
164
|
-
|
|
164
|
+
a(this.hostElement), this.syncValueProperties(), this.filterSlottedElements();
|
|
165
165
|
}
|
|
166
166
|
componentDidRender() {
|
|
167
167
|
this.scheduledAfterRender.forEach((t => t())), this.scheduledAfterRender = [];
|
|
@@ -175,7 +175,9 @@ const v = class {
|
|
|
175
175
|
n(t, this.hostElement) && this.primaryBtn.focus();
|
|
176
176
|
}
|
|
177
177
|
async popoverStateHandler({detail: {open: t}}) {
|
|
178
|
-
|
|
178
|
+
var o;
|
|
179
|
+
this.open !== t && (this.open = t, t || (this.setOptionListActiveElement(null),
|
|
180
|
+
null === (o = this.primaryBtn) || void 0 === o || o.focus()));
|
|
179
181
|
}
|
|
180
182
|
// #endregion
|
|
181
183
|
// #region Public Methods API
|
|
@@ -214,14 +216,14 @@ const v = class {
|
|
|
214
216
|
// #region Watchers
|
|
215
217
|
selectedOptionsChanged(t) {
|
|
216
218
|
var o, i;
|
|
217
|
-
const {multiple: e} = this,
|
|
218
|
-
e ? (this.value && (this.value = null), this.updateSelectedOptionElements()) : this.value ===
|
|
219
|
+
const {multiple: e} = this, r = null !== (i = null === (o = null == t ? void 0 : t[0]) || void 0 === o ? void 0 : o.value) && void 0 !== i ? i : null;
|
|
220
|
+
e ? (this.value && (this.value = null), this.updateSelectedOptionElements()) : this.value === r ? this.updateSelectedOptionElements() : this.value = r;
|
|
219
221
|
}
|
|
220
222
|
async valueChanged(t, o, i) {
|
|
221
|
-
var e,
|
|
222
|
-
const {label:
|
|
223
|
+
var e, r;
|
|
224
|
+
const {label: a, multiple: n, selectedOptions: c, value: s} = this, l = "value" === i ? t : s, p = "label" === i ? t : a;
|
|
223
225
|
if (n) return;
|
|
224
|
-
const d = null !== (
|
|
226
|
+
const d = null !== (r = null === (e = null == c ? void 0 : c[0]) || void 0 === e ? void 0 : e.value) && void 0 !== r ? r : null;
|
|
225
227
|
if ("value" === i && t === d) this.updateSelectedOptionElements(); else {
|
|
226
228
|
const o = await this.getOption(t), {value: i, display: e} = o || {
|
|
227
229
|
value: l,
|
|
@@ -236,21 +238,21 @@ const v = class {
|
|
|
236
238
|
// #endregion
|
|
237
239
|
// #region Local Methods
|
|
238
240
|
get buttonContent() {
|
|
239
|
-
const {label: t, selectedOptionElements: o, optionCount: i, maxLength: e} = this,
|
|
240
|
-
let
|
|
241
|
-
if (i && 0 !==
|
|
242
|
-
if (1 !==
|
|
243
|
-
const t = s(o[0].display), i = " +" + (
|
|
241
|
+
const {label: t, selectedOptionElements: o, optionCount: i, maxLength: e} = this, r = o.length;
|
|
242
|
+
let a;
|
|
243
|
+
if (i && 0 !== r) {
|
|
244
|
+
if (1 !== r) {
|
|
245
|
+
const t = s(o[0].display), i = " +" + (r - 1);
|
|
244
246
|
return {
|
|
245
247
|
text: `${t}${i}`,
|
|
246
248
|
truncatedText: `${this._truncate(t, e)}${i}`
|
|
247
249
|
};
|
|
248
250
|
}
|
|
249
|
-
|
|
250
|
-
} else
|
|
251
|
+
a = s(o[0].display);
|
|
252
|
+
} else a = s(t);
|
|
251
253
|
return {
|
|
252
|
-
text:
|
|
253
|
-
truncatedText: this._truncate(
|
|
254
|
+
text: a,
|
|
255
|
+
truncatedText: this._truncate(a, e)
|
|
254
256
|
};
|
|
255
257
|
}
|
|
256
258
|
_togglePopover() {
|
|
@@ -270,7 +272,7 @@ const v = class {
|
|
|
270
272
|
}, s("tecton.element.optionList.optionCount", [ this.optionCount ]));
|
|
271
273
|
}
|
|
272
274
|
renderIcon() {
|
|
273
|
-
const {optionCount: t, active: o} = this, e = t && o,
|
|
275
|
+
const {optionCount: t, active: o} = this, e = t && o, r = e || !t ? "close" : "chevron-down";
|
|
274
276
|
return i(e ? "button" : "div", {
|
|
275
277
|
class: "btn-close",
|
|
276
278
|
onClick: e && this.clearSelectedOptions || void 0,
|
|
@@ -278,25 +280,25 @@ const v = class {
|
|
|
278
280
|
"aria-label": e && s("tecton.element.pill.clearSelection") || void 0,
|
|
279
281
|
type: e ? "button" : void 0
|
|
280
282
|
}, i("q2-icon", {
|
|
281
|
-
type:
|
|
283
|
+
type: r
|
|
282
284
|
}));
|
|
283
285
|
}
|
|
284
286
|
render() {
|
|
285
|
-
const {optionCount: t, active: o, open: e} = this, {text:
|
|
287
|
+
const {optionCount: t, active: o, open: e} = this, {text: r, truncatedText: a} = this.buttonContent, n = [ "btn-wrapper" ];
|
|
286
288
|
return (t || o) && n.push("has-icon"), t && n.push("has-options"), i("click-elsewhere", {
|
|
287
|
-
key: "
|
|
289
|
+
key: "8cba59cde3746d0397305512334eb56357e9e5d4",
|
|
288
290
|
onChange: this.onClickElsewhere
|
|
289
291
|
}, i("div", {
|
|
290
|
-
key: "
|
|
292
|
+
key: "391da54f9fd870e223765e6266291dff9775abe6",
|
|
291
293
|
class: n.join(" ")
|
|
292
294
|
}, i("div", {
|
|
293
|
-
key: "
|
|
295
|
+
key: "06431fd76c0a9d30833756407c89ff59609bc3a3",
|
|
294
296
|
class: "btn-height-wrapper",
|
|
295
297
|
ref: t => this.primaryBtnWrapper = t,
|
|
296
298
|
onClick: this.handleWrapperClick,
|
|
297
299
|
tabIndex: -1
|
|
298
300
|
}, i("button", {
|
|
299
|
-
key: "
|
|
301
|
+
key: "609557b9206c91511e78e26c990230e61f7e5c19",
|
|
300
302
|
class: "btn-primary",
|
|
301
303
|
"test-id": "btn-control",
|
|
302
304
|
type: "button",
|
|
@@ -309,14 +311,14 @@ const v = class {
|
|
|
309
311
|
"aria-roledescription": !t && "filter",
|
|
310
312
|
"aria-controls": t ? "option-list" : void 0,
|
|
311
313
|
"aria-expanded": t && `${!!e}` || void 0,
|
|
312
|
-
"aria-label":
|
|
314
|
+
"aria-label": r,
|
|
313
315
|
"aria-pressed": t ? void 0 : `${!!o}`,
|
|
314
316
|
"aria-describedby": t ? "option-description" : void 0
|
|
315
317
|
}, i("slot", {
|
|
316
|
-
key: "
|
|
318
|
+
key: "e1f4c57b7526f714cf0242e101ec0f5c39ebafa5",
|
|
317
319
|
name: "decorator"
|
|
318
|
-
}),
|
|
319
|
-
key: "
|
|
320
|
+
}), a)), this.renderIcon(), !!t && this.renderHiddenElement()), this.optionCount > 0 && i("q2-popover", {
|
|
321
|
+
key: "2777b45efbd94516a633ca4ff1e2d6a452ecbd81",
|
|
320
322
|
ref: t => this.popoverElement = t,
|
|
321
323
|
controlElement: this.primaryBtn,
|
|
322
324
|
open: this.open,
|
|
@@ -326,20 +328,20 @@ const v = class {
|
|
|
326
328
|
align: this.popoverAlignment,
|
|
327
329
|
onFocusout: this.handleFocusOut
|
|
328
330
|
}, i("div", {
|
|
329
|
-
key: "
|
|
331
|
+
key: "54d2c1c8814be9265b4ed8092bd3360da76cc2b0",
|
|
330
332
|
class: "popover-content"
|
|
331
333
|
}, i("div", {
|
|
332
|
-
key: "
|
|
334
|
+
key: "fb95b6f0ab78119f0bf944fa67ec0bcf391088dc",
|
|
333
335
|
ref: t => this.popoverTopContainer = t,
|
|
334
336
|
class: "popover-top-container",
|
|
335
337
|
tabindex: "-1",
|
|
336
338
|
hidden: !this.hasPopoverTop,
|
|
337
339
|
onKeyDown: this.handleSlotKeydown
|
|
338
340
|
}, i("slot", {
|
|
339
|
-
key: "
|
|
341
|
+
key: "8e522c96fa1241e7c05fbc989d59f71ec2bc1d98",
|
|
340
342
|
name: "popover-top"
|
|
341
343
|
})), i("q2-option-list", {
|
|
342
|
-
key: "
|
|
344
|
+
key: "5e7a827ac08395399e0b04fa9074f5b6a3fa1c48",
|
|
343
345
|
type: "listbox",
|
|
344
346
|
ref: t => this.optionList = t,
|
|
345
347
|
id: "option-list",
|
|
@@ -350,16 +352,16 @@ const v = class {
|
|
|
350
352
|
onPopoverState: this.onPopoverState,
|
|
351
353
|
label: s("tecton.element.optionList.label", [ this.optionListLabel ])
|
|
352
354
|
}, i("slot", {
|
|
353
|
-
key: "
|
|
355
|
+
key: "4197780a058b3937ac748b53aef6afc5eabd8c7a"
|
|
354
356
|
})), i("div", {
|
|
355
|
-
key: "
|
|
357
|
+
key: "78992c83515dcfe6acbf7e09a5efced2d65c1903",
|
|
356
358
|
ref: t => this.popoverBottomContainer = t,
|
|
357
359
|
class: "popover-bottom-container",
|
|
358
360
|
tabindex: "-1",
|
|
359
361
|
hidden: !this.hasPopoverBottom,
|
|
360
362
|
onKeyDown: this.handleSlotKeydown
|
|
361
363
|
}, i("slot", {
|
|
362
|
-
key: "
|
|
364
|
+
key: "553f959ec8b866111b2e5c5f9090d8ddee5fd208",
|
|
363
365
|
name: "popover-bottom"
|
|
364
366
|
})))));
|
|
365
367
|
}
|
|
@@ -381,6 +383,6 @@ const v = class {
|
|
|
381
383
|
}
|
|
382
384
|
};
|
|
383
385
|
|
|
384
|
-
v.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:inline-block;position:relative;line-height:0}:host(:not(:last-child)){margin-inline-end:var(--tct-pill-margin, var(--t-pill-margin, var(--app-scale-2x, 10px)))}q2-popover,.btn-wrapper{--comp-pill-min-height:var(--tct-pill-min-height, var(--t-pill-min-height, 44px));--comp-pill-btn-height:var(--tct-pill-btn-height, var(--t-pill-btn-height, 30px))}.popover-top-container{position:sticky;top:0;z-index:5}.popover-bottom-container{position:sticky;bottom:0;z-index:5}.btn-wrapper{--comp-pill-btn-border-width:var(--tct-pill-btn-border-width, var(--t-pill-btn-border-width, 2px));--comp-close-size:0px;--comp-btn-background:var(--tct-pill-btn-background, var(--t-pill-btn-background, var(--t-base, #ffffff)));--comp-btn-box-shadow:var(--tct-pill-btn-box-shadow, none);--comp-btn-backdrop-filter:var(--tct-pill-btn-backdrop-filter, none);--comp-hover-btn-background:var(--tct-pill-hover-btn-background, var(--t-pill-hover-btn-background, var(--t-gray-13, #e6e6e6)));--comp-btn-padding:var(--tct-pill-btn-padding-inline, var(--t-pill-btn-padding-inline, var(--app-scale-3x, 15px)));--comp-btn-letter-spacing:var(--tct-pill-btn-letter-spacing, inherit);--comp-btn-color:var(--tct-pill-btn-color, var(--t-pill-btn-color, var(--t-gray-3, #262626)));--comp-active-btn-color:var(--tct-pill-active-btn-color, var(--comp-btn-background));--comp-active-btn-background:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-7, #666666)));--comp-active-btn-box-shadow:var(--tct-pill-active-btn-box-shadow, var(--tct-pill-btn-box-shadow, none));--comp-active-btn-backdrop-filter:var(--tct-pill-active-btn-backdrop-filter, none);--comp-active-btn-border-color:var(--tct-pill-active-btn-border-color, var(--t-pill-active-btn-border-color, var(--t-gray-7, #666666)));--comp-hover-active-btn-background:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-6, #4d4d4d)));--comp-hover-active-btn-border-color:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-6, #4d4d4d)));position:relative}.btn-wrapper.has-options,.btn-wrapper.has-icon{--comp-close-size:var(--comp-pill-btn-height)}:host([active]:not([active=false])) .btn-wrapper{--comp-btn-color:var(--tct-pill-active-btn-color, var(--t-pill-active-btn-color, var(--t-base, #ffffff)))}:host([theme=primary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-primary-active-background, var(--t-primary, #0079c1));--comp-active-btn-box-shadow:var(--tct-pill-primary-active-btn-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-primary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-primary-active-font-color, var(--t-primary-text, #ffffff));--comp-active-btn-border-color:var(--tct-pill-primary-active-border-color, var(--t-primary, #0079c1));--comp-hover-active-btn-background:var(--tct-pill-primary-active-hover-background, var(--t-primary-l3, #21acff));--comp-hover-active-btn-border-color:var(--tct-pill-primary-active-hover-border-color, var(--t-primary-l3, #21acff))}:host([theme=secondary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-secondary-active-background, var(--t-secondary, #b3c2cc));--comp-active-btn-box-shadow:var(--tct-pill-secondary-active-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-secondary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-secondary-active-font-color, var(--t-secondary-text, #141414));--comp-active-btn-border-color:var(--tct-pill-secondary-active-border-color, var(--t-secondary, #b3c2cc));--comp-hover-active-btn-background:var(--tct-pill-secondary-active-hover-background, var(--t-secondary-l3, #c9d5db));--comp-hover-active-btn-border-color:var(--tct-pill-secondary-active-hover-border-color, var(--t-secondary-l3, #c9d5db))}:host([theme=tertiary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-tertiary-active-background, var(--t-tertiary, #e8f5fc));--comp-active-btn-box-shadow:var(--tct-pill-tertiary-active-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-tertiary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-tertiary-active-font-color, var(--t-tertiary-text, #141414));--comp-active-btn-border-color:var(--tct-pill-tertiary-active-border-color, var(--t-tertiary, #e8f5fc));--comp-hover-active-btn-background:var(--tct-pill-tertiary-active-hover-background, var(--t-tertiary-l3, #eff8fd));--comp-hover-active-btn-border-color:var(--tct-pill-tertiary-active-hover-border-color, var(--t-tertiary-l3, #eff8fd))}.btn-height-wrapper{height:var(--comp-pill-min-height);display:flex;align-items:center;cursor:pointer}.btn-height-wrapper:focus{box-shadow:none}:host([disabled]) .btn-height-wrapper{cursor:not-allowed}.btn-close,.btn-primary{cursor:pointer;height:var(--comp-pill-btn-height);border-style:solid;border-radius:var(--tct-pill-btn-border-radius, var(--t-pill-btn-border-radius, 30px));transition-property:background, color, padding, width, opacity;transition:var(--tct-pill-btn-tween, var(--t-pill-btn-tween, var(--app-tween-1, 0.2s ease)))}:host([disabled]) .btn-close,:host([disabled]) .btn-primary,:host([disabled]) q2-icon{opacity:var(--tct-pill-disabled-opacity, var(--t-pill-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))));cursor:not-allowed}.btn-primary{background:var(--comp-btn-background);box-shadow:var(--comp-btn-box-shadow);backdrop-filter:var(--comp-btn-backdrop-filter);border-width:var(--comp-pill-btn-border-width);border-color:var(--tct-pill-btn-border-color, var(--t-pill-btn-border-color, var(--t-a11y-gray-color-AA, #949494)));letter-spacing:var(--comp-btn-letter-spacing);padding-inline:var(--comp-btn-padding);padding-right:calc(var(--comp-btn-padding) + var(--comp-close-size));font-size:var(--tct-pill-btn-font-size, var(--t-pill-btn-font-size, var(--app-font-size, var(--const-px-14, 14px))));font-weight:var(--tct-pill-btn-font-weight, 400);color:var(--comp-btn-color);display:flex;align-items:center;gap:var(--app-scale-1x, 5px);width:100%;text-align:start}.btn-primary ::slotted(q2-icon[slot=decorator]){--tct-icon-size:1em;--tct-icon-stroke-primary:var(--tct-pill-decorator-icon-primary-stroke, var(--comp-btn-color));--tct-icon-stroke-secondary:var(--tct-pill-decorator-icon-secondary-stroke, var(--comp-btn-color))}.btn-primary:focus{box-shadow:var(--tct-pill-btn-focus-box-shadow, var(--const-double-focus-ring))}.btn-primary:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}.btn-primary:hover{background:var(--comp-hover-btn-background)}.has-options .btn-primary,.has-icon .btn-primary{padding-right:calc(var(--tct-pill-icon-gap, var(--t-pill-icon-gap, var(--app-scale-1x, 5px))) + var(--comp-close-size))}.has-options .btn-primary{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:var(--tct-pill-max-width, var(--t-pill-max-width, 200px))}:host([active]:not([active=false])) .btn-primary{background:var(--comp-active-btn-background);box-shadow:var(--comp-active-btn-box-shadow);backdrop-filter:var(--comp-active-btn-backdrop-filter);border-color:var(--comp-active-btn-border-color);color:var(--comp-active-btn-color)}:host([active]:not([active=false])) .btn-primary:focus{box-shadow:var(--tct-pill-btn-focus-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-primary:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-primary:hover{background:var(--comp-hover-active-btn-background);border-color:var(--comp-hover-active-btn-border-color)}:host([active]:not([active=false])) .btn-primary ::slotted(q2-icon[slot=decorator]){--tct-icon-stroke-primary:var(--tct-pill-active-decorator-icon-primary-stroke, var(--tct-pill-decorator-icon-primary-stroke, var(--comp-active-btn-color)));--tct-icon-stroke-secondary:var(--tct-pill-active-decorator-icon-secondary-stroke, var(--tct-pill-decorator-icon-secondary-stroke, var(--comp-active-btn-color)))}.btn-close{background:transparent;border-color:transparent;border-width:var(--comp-pill-btn-border-width);width:var(--comp-close-size);height:var(--comp-close-size);padding:0;border:0;display:inline-flex;justify-content:center;align-items:center;position:absolute;right:0;top:50%;transform:translateY(-50%);opacity:0}.btn-close:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-close{color:var(--comp-active-btn-color)}.has-options .btn-close,.has-icon .btn-close{opacity:1}q2-icon{--tct-icon-stroke-primary:var(--tct-pill-icon-stroke, currentcolor);--tct-icon-stroke-width:var(--tct-pill-icon-stroke-width, inherit);width:var(--tct-pill-icon-size, var(--t-pill-icon-size, 14px));height:var(--tct-pill-icon-size, var(--t-pill-icon-size, 14px));transition-property:transform;transition:var(--tct-pill-btn-tween, var(--t-pill-btn-tween, var(--app-tween-1, 0.2s ease)))}div.btn-close{pointer-events:none}:host([open]) div.btn-close q2-icon{transform:rotate(180deg)}:host([active]:not([active=false])) button.btn-close:focus,:host([active]:not([active=false])) button.btn-close:hover{background:var(--tct-pill-hover-close-btn-background, var(--t-pill-hover-close-btn-background, var(--t-top-a1, rgba(13, 13, 13, 0.35))));border-color:var(--tct-pill-hover-close-btn-border-color, var(--t-pill-hover-close-btn-border-color, var(--t-top-a1, rgba(13, 13, 13, 0.35))))}q2-popover{top:calc(var(--comp-pill-min-height) - (var(--comp-pill-min-height) - var(--comp-pill-btn-height)) / 2)}:host([borderless]:not([borderless=false])) button{border-style:none}';
|
|
386
|
+
v.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:inline-block;position:relative;line-height:0}:host(:not(:last-child)){margin-inline-end:var(--tct-pill-margin, var(--t-pill-margin, var(--app-scale-2x, 10px)))}q2-popover,.btn-wrapper{--comp-pill-min-height:var(--tct-pill-min-height, var(--t-pill-min-height, 44px));--comp-pill-btn-height:var(--tct-pill-btn-height, var(--t-pill-btn-height, 30px))}.popover-top-container{position:sticky;top:0;z-index:5}.popover-bottom-container{position:sticky;bottom:0;z-index:5}.btn-wrapper{--comp-pill-btn-border-width:var(--tct-pill-btn-border-width, var(--t-pill-btn-border-width, 2px));--comp-close-size:0px;--comp-btn-background:var(--tct-pill-btn-background, var(--t-pill-btn-background, var(--t-base, #ffffff)));--comp-btn-box-shadow:var(--tct-pill-btn-box-shadow, none);--comp-btn-backdrop-filter:var(--tct-pill-btn-backdrop-filter, none);--comp-hover-btn-background:var(--tct-pill-hover-btn-background, var(--t-pill-hover-btn-background, var(--t-gray-13, #e6e6e6)));--comp-btn-padding:var(--tct-pill-btn-padding-inline, var(--t-pill-btn-padding-inline, var(--app-scale-3x, 15px)));--comp-btn-letter-spacing:var(--tct-pill-btn-letter-spacing, inherit);--comp-btn-color:var(--tct-pill-btn-color, var(--t-pill-btn-color, var(--t-gray-3, #262626)));--comp-active-btn-color:var(--tct-pill-active-btn-color, var(--comp-btn-background));--comp-active-btn-background:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-7, #666666)));--comp-active-btn-box-shadow:var(--tct-pill-active-btn-box-shadow, var(--tct-pill-btn-box-shadow, none));--comp-active-btn-backdrop-filter:var(--tct-pill-active-btn-backdrop-filter, none);--comp-active-btn-border-color:var(--tct-pill-active-btn-border-color, var(--t-pill-active-btn-border-color, var(--t-gray-7, #666666)));--comp-hover-active-btn-background:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-6, #4d4d4d)));--comp-hover-active-btn-border-color:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-6, #4d4d4d)));position:relative}.btn-wrapper.has-options,.btn-wrapper.has-icon{--comp-close-size:var(--comp-pill-btn-height)}:host([active]:not([active=false])) .btn-wrapper{--comp-btn-color:var(--tct-pill-active-btn-color, var(--t-pill-active-btn-color, var(--t-base, #ffffff)))}:host([theme=primary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-primary-active-background, var(--t-primary, #0079c1));--comp-active-btn-box-shadow:var(--tct-pill-primary-active-btn-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-primary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-primary-active-font-color, var(--t-primary-text, #ffffff));--comp-active-btn-border-color:var(--tct-pill-primary-active-border-color, var(--t-primary, #0079c1));--comp-hover-active-btn-background:var(--tct-pill-primary-active-hover-background, var(--t-primary-l3, #21acff));--comp-hover-active-btn-border-color:var(--tct-pill-primary-active-hover-border-color, var(--t-primary-l3, #21acff))}:host([theme=secondary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-secondary-active-background, var(--t-secondary, #b3c2cc));--comp-active-btn-box-shadow:var(--tct-pill-secondary-active-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-secondary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-secondary-active-font-color, var(--t-secondary-text, #141414));--comp-active-btn-border-color:var(--tct-pill-secondary-active-border-color, var(--t-secondary, #b3c2cc));--comp-hover-active-btn-background:var(--tct-pill-secondary-active-hover-background, var(--t-secondary-l3, #c9d5db));--comp-hover-active-btn-border-color:var(--tct-pill-secondary-active-hover-border-color, var(--t-secondary-l3, #c9d5db))}:host([theme=tertiary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-tertiary-active-background, var(--t-tertiary, #e8f5fc));--comp-active-btn-box-shadow:var(--tct-pill-tertiary-active-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-tertiary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-tertiary-active-font-color, var(--t-tertiary-text, #141414));--comp-active-btn-border-color:var(--tct-pill-tertiary-active-border-color, var(--t-tertiary, #e8f5fc));--comp-hover-active-btn-background:var(--tct-pill-tertiary-active-hover-background, var(--t-tertiary-l3, #eff8fd));--comp-hover-active-btn-border-color:var(--tct-pill-tertiary-active-hover-border-color, var(--t-tertiary-l3, #eff8fd))}.btn-height-wrapper{height:var(--comp-pill-min-height);display:flex;align-items:center;cursor:pointer}.btn-height-wrapper:focus{box-shadow:none}:host([disabled]) .btn-height-wrapper{cursor:not-allowed}.btn-close,.btn-primary{cursor:pointer;height:var(--comp-pill-btn-height);border-style:solid;border-radius:var(--tct-pill-btn-border-radius, var(--t-pill-btn-border-radius, 30px));transition-property:background, color, padding, width, opacity;transition:var(--tct-pill-btn-tween, var(--t-pill-btn-tween, var(--app-tween-1, 0.2s ease)))}:host([disabled]) .btn-close,:host([disabled]) .btn-primary,:host([disabled]) q2-icon{opacity:var(--tct-pill-disabled-opacity, var(--t-pill-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))));cursor:not-allowed}.btn-primary{background:var(--comp-btn-background);box-shadow:var(--comp-btn-box-shadow);backdrop-filter:var(--comp-btn-backdrop-filter);border-width:var(--comp-pill-btn-border-width);border-color:var(--tct-pill-btn-border-color, var(--t-pill-btn-border-color, var(--t-a11y-gray-color-AA, #949494)));letter-spacing:var(--comp-btn-letter-spacing);padding-inline:var(--comp-btn-padding);padding-right:calc(var(--comp-btn-padding) + var(--comp-close-size));font-size:var(--tct-pill-btn-font-size, var(--t-pill-btn-font-size, var(--app-font-size, var(--const-px-14, 14px))));font-weight:var(--tct-pill-btn-font-weight, 400);color:var(--comp-btn-color);display:flex;align-items:center;gap:var(--app-scale-1x, 5px);width:100%;text-align:start}.btn-primary ::slotted(q2-icon[slot=decorator]){--tct-icon-size:1em;--tct-icon-stroke-primary:var(--tct-pill-decorator-icon-primary-stroke, var(--comp-btn-color));--tct-icon-stroke-secondary:var(--tct-pill-decorator-icon-secondary-stroke, var(--comp-btn-color))}.btn-primary:focus{box-shadow:var(--tct-pill-btn-focus-box-shadow, var(--const-double-focus-ring))}.btn-primary:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}.btn-primary:hover{background:var(--comp-hover-btn-background)}.has-options .btn-primary,.has-icon .btn-primary{padding-right:calc(var(--tct-pill-icon-gap, var(--t-pill-icon-gap, var(--app-scale-1x, 5px))) + var(--comp-close-size))}.has-options .btn-primary{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:var(--tct-pill-max-width, var(--t-pill-max-width, 200px))}:host([active]:not([active=false])) .btn-primary{background:var(--comp-active-btn-background);box-shadow:var(--comp-active-btn-box-shadow);backdrop-filter:var(--comp-active-btn-backdrop-filter);border-color:var(--comp-active-btn-border-color);color:var(--comp-active-btn-color)}:host([active]:not([active=false])) .btn-primary:focus{box-shadow:var(--tct-pill-btn-focus-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-primary:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-primary:hover{background:var(--comp-hover-active-btn-background);border-color:var(--comp-hover-active-btn-border-color)}:host([active]:not([active=false])) .btn-primary ::slotted(q2-icon[slot=decorator]){--tct-icon-stroke-primary:var(--tct-pill-active-decorator-icon-primary-stroke, var(--tct-pill-decorator-icon-primary-stroke, var(--comp-active-btn-color)));--tct-icon-stroke-secondary:var(--tct-pill-active-decorator-icon-secondary-stroke, var(--tct-pill-decorator-icon-secondary-stroke, var(--comp-active-btn-color)))}.btn-close{background:transparent;border-color:transparent;border-width:var(--comp-pill-btn-border-width);width:var(--comp-close-size);height:var(--comp-close-size);padding:0;border:0;display:inline-flex;justify-content:center;align-items:center;position:absolute;right:0;top:50%;transform:translateY(-50%);opacity:0}.btn-close:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-close{color:var(--comp-active-btn-color)}.has-options .btn-close,.has-icon .btn-close{opacity:1}q2-icon{--tct-icon-stroke-primary:var(--tct-pill-icon-stroke, currentcolor);--tct-icon-stroke-width:var(--tct-pill-icon-stroke-width, inherit);width:var(--tct-pill-icon-size, var(--t-pill-icon-size, var(--const-px-18, 18px)));height:var(--tct-pill-icon-size, var(--t-pill-icon-size, var(--const-px-18, 18px)));transition-property:transform;transition:var(--tct-pill-btn-tween, var(--t-pill-btn-tween, var(--app-tween-1, 0.2s ease)))}div.btn-close{pointer-events:none}:host([open]) div.btn-close q2-icon{transform:rotate(180deg)}:host([active]:not([active=false])) button.btn-close:focus,:host([active]:not([active=false])) button.btn-close:hover{background:var(--tct-pill-hover-close-btn-background, var(--t-pill-hover-close-btn-background, var(--t-top-a1, rgba(13, 13, 13, 0.35))));border-color:var(--tct-pill-hover-close-btn-border-color, var(--t-pill-hover-close-btn-border-color, var(--t-top-a1, rgba(13, 13, 13, 0.35))))}q2-popover{top:calc(var(--comp-pill-min-height) - (var(--comp-pill-min-height) - var(--comp-pill-btn-height)) / 2)}:host([borderless]:not([borderless=false])) button{border-style:none}';
|
|
385
387
|
|
|
386
388
|
export { v as q2_pill }
|