q2-tecton-elements 1.55.4 → 1.56.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 +15973 -11906
- package/dist/cjs/{index-905f4c87.js → index-99667782.js} +5 -1
- package/dist/cjs/index-99667782.js.map +1 -0
- package/dist/cjs/{index-e0aba375.js → index-f69742cf.js} +1 -1
- package/dist/cjs/{index-e0aba375.js.map → index-f69742cf.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +56 -55
- package/dist/cjs/q2-badge_7.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.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 +2 -2
- package/dist/cjs/q2-chart-area.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-bar.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-donut.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/q2-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +2 -2
- package/dist/cjs/q2-currency.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +3 -3
- package/dist/cjs/q2-data-table.cjs.entry.js.map +1 -1
- 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 +2 -2
- package/dist/cjs/q2-editable-field.cjs.entry.js +2 -2
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +20 -7
- package/dist/cjs/q2-file-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid-area.cjs.entry.js +133 -0
- package/dist/cjs/q2-grid-area.cjs.entry.js.map +1 -0
- package/dist/cjs/q2-grid.cjs.entry.js +109 -0
- package/dist/cjs/q2-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/q2-item_3.cjs.entry.js +4 -4
- package/dist/cjs/q2-item_3.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.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-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list_2.cjs.entry.js +18 -6
- package/dist/cjs/q2-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
- package/dist/cjs/q2-pill.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +3 -3
- 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-tag.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +8 -6
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.css +8 -8
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +6 -2
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.css +2 -2
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +1 -2
- package/dist/collection/components/q2-data-table/q2-data-table.js +8 -8
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.css +11 -2
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +54 -14
- package/dist/collection/components/q2-file-picker/q2-file-picker.js.map +1 -1
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.e2e.js +25 -0
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.spec.js +107 -18
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.spec.js.map +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-grid/q2-grid.css +98 -0
- package/dist/collection/components/q2-grid/q2-grid.js +807 -0
- package/dist/collection/components/q2-grid/q2-grid.js.map +1 -0
- package/dist/collection/components/q2-grid/test/q2-grid.e2e.js +218 -0
- package/dist/collection/components/q2-grid/test/q2-grid.e2e.js.map +1 -0
- package/dist/collection/components/q2-grid-area/q2-grid-area.css +110 -0
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +1109 -0
- package/dist/collection/components/q2-grid-area/q2-grid-area.js.map +1 -0
- package/dist/collection/components/q2-grid-area/test/q2-grid-area.e2e.js +196 -0
- package/dist/collection/components/q2-grid-area/test/q2-grid-area.e2e.js.map +1 -0
- package/dist/collection/components/q2-icon/assets/brand.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/browsersos.symbol.svg +1 -0
- package/dist/collection/components/q2-icon/assets/cards.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/{system.symbol.svg → devices.symbol.svg} +1 -1
- package/dist/collection/components/q2-icon/assets/icon-file-list.json +1 -1
- package/dist/collection/components/q2-icon/assets/icon-map.json +1 -1
- package/dist/collection/components/q2-icon/assets/legacy.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/mobile.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/q2-icon.css +7 -1
- package/dist/collection/components/q2-icon/q2-icon.js +3 -2
- package/dist/collection/components/q2-icon/q2-icon.js.map +1 -1
- package/dist/collection/components/q2-icon/test/q2-icon-test.spec.js +3 -3
- package/dist/collection/components/q2-icon/test/q2-icon-test.spec.js.map +1 -1
- package/dist/collection/components/q2-input/q2-input.js +2 -2
- package/dist/collection/components/q2-input/test/q2-input-test.e2e.js +5 -3
- package/dist/collection/components/q2-input/test/q2-input-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-item/q2-item.css +3 -3
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +7 -7
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +40 -5
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js +2 -2
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js.map +1 -1
- package/dist/collection/components/q2-radio/q2-radio.js +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +2 -2
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +3 -3
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- 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 +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/helpers.js +15 -0
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/index.js +3 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +4 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +2 -2
- package/dist/components/q2-avatar2.js.map +1 -1
- package/dist/components/q2-calendar.js +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +1 -1
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +2 -2
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-currency.js +2 -2
- package/dist/components/q2-currency.js.map +1 -1
- package/dist/components/q2-data-table.js +2 -2
- package/dist/components/q2-data-table.js.map +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-file-picker.js +20 -6
- package/dist/components/q2-file-picker.js.map +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-grid-area.d.ts +11 -0
- package/dist/components/q2-grid-area.js +190 -0
- package/dist/components/q2-grid-area.js.map +1 -0
- package/dist/components/q2-grid.d.ts +11 -0
- package/dist/components/q2-grid.js +154 -0
- package/dist/components/q2-grid.js.map +1 -0
- package/dist/components/q2-icon2.js +52 -51
- package/dist/components/q2-icon2.js.map +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +2 -2
- package/dist/components/q2-item2.js.map +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-option-list2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +17 -5
- package/dist/components/q2-popover2.js.map +1 -1
- package/dist/components/q2-radio-group.js +1 -1
- package/dist/components/q2-radio.js +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-select2.js +3 -3
- package/dist/components/q2-stepper-pane.js +1 -1
- package/dist/components/q2-stepper-vertical.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-tab-container.js +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/{index-3bb7a785.js → index-3184c760.js} +1 -1
- package/dist/esm/{index-3bb7a785.js.map → index-3184c760.js.map} +1 -1
- package/dist/esm/{index-f2a66217.js → index-c215e8ef.js} +5 -2
- package/dist/esm/index-c215e8ef.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +2 -2
- package/dist/esm/q2-avatar.entry.js +2 -2
- package/dist/esm/q2-avatar.entry.js.map +1 -1
- package/dist/esm/q2-badge_7.entry.js +56 -55
- package/dist/esm/q2-badge_7.entry.js.map +1 -1
- package/dist/esm/q2-calendar.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 +2 -2
- package/dist/esm/q2-chart-area.entry.js +2 -2
- package/dist/esm/q2-chart-bar.entry.js +2 -2
- package/dist/esm/q2-chart-donut.entry.js +2 -2
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox.entry.js +3 -3
- package/dist/esm/q2-checkbox.entry.js.map +1 -1
- package/dist/esm/q2-currency.entry.js +2 -2
- package/dist/esm/q2-currency.entry.js.map +1 -1
- package/dist/esm/q2-data-table.entry.js +3 -3
- package/dist/esm/q2-data-table.entry.js.map +1 -1
- 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 +2 -2
- package/dist/esm/q2-editable-field.entry.js +2 -2
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +20 -7
- package/dist/esm/q2-file-picker.entry.js.map +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-grid-area.entry.js +129 -0
- package/dist/esm/q2-grid-area.entry.js.map +1 -0
- package/dist/esm/q2-grid.entry.js +105 -0
- package/dist/esm/q2-grid.entry.js.map +1 -0
- package/dist/esm/q2-item_3.entry.js +4 -4
- package/dist/esm/q2-item_3.entry.js.map +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.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-optgroup.entry.js +2 -2
- package/dist/esm/q2-option-list_2.entry.js +18 -6
- package/dist/esm/q2-option-list_2.entry.js.map +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +4 -4
- package/dist/esm/q2-pill.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +3 -3
- 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-tag.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/assets/brand.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/browsersos.symbol.svg +1 -0
- package/dist/q2-tecton-elements/assets/cards.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/{system.symbol.svg → devices.symbol.svg} +1 -1
- package/dist/q2-tecton-elements/assets/icon-file-list.json +1 -1
- package/dist/q2-tecton-elements/assets/icon-map.json +1 -1
- package/dist/q2-tecton-elements/assets/legacy.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/mobile.symbol.svg +1 -1
- package/dist/q2-tecton-elements/{index-3bb7a785.js → index-3184c760.js} +1 -1
- package/dist/q2-tecton-elements/{index-f2a66217.js → index-c215e8ef.js} +6 -2
- package/dist/q2-tecton-elements/index-c215e8ef.js.map +1 -0
- package/dist/q2-tecton-elements/q2-action-group.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +63 -63
- package/dist/q2-tecton-elements/q2-avatar.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-avatar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +70 -68
- package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +4 -4
- 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 +2 -2
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-checkbox.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-currency.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-data-table.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-data-table.entry.js.map +1 -1
- 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 +6 -6
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +31 -20
- package/dist/q2-tecton-elements/q2-file-picker.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +135 -0
- package/dist/q2-tecton-elements/q2-grid-area.entry.js.map +1 -0
- package/dist/q2-tecton-elements/q2-grid.entry.js +114 -0
- package/dist/q2-tecton-elements/q2-grid.entry.js.map +1 -0
- package/dist/q2-tecton-elements/q2-item_3.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-item_3.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +6 -6
- 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-optgroup.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +41 -31
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +38 -38
- package/dist/q2-tecton-elements/q2-pill.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-radio.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-select.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +37 -37
- package/dist/q2-tecton-elements/q2-stepper.entry.js +29 -29
- package/dist/q2-tecton-elements/q2-tag.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-action-group/q2-action-group.d.ts +1 -0
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +60 -0
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +327 -0
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +95 -0
- package/dist/types/components/q2-data-table/q2-data-table.d.ts +261 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +181 -0
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +140 -0
- package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +31 -17
- package/dist/types/components/q2-grid/q2-grid.d.ts +157 -0
- package/dist/types/components/q2-grid-area/q2-grid-area.d.ts +168 -0
- package/dist/types/components/q2-icon/q2-icon.d.ts +1 -0
- package/dist/types/components/q2-loading/skeleton/shapes.d.ts +1 -0
- package/dist/types/components/q2-optgroup/q2-optgroup.d.ts +1 -1
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +100 -0
- package/dist/types/components/q2-pagination/q2-pagination.d.ts +117 -0
- package/dist/types/components/q2-pill/q2-pill.d.ts +143 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +23 -0
- package/dist/types/components/q2-select/q2-select.d.ts +238 -0
- package/dist/types/components/q2-stepper/q2-stepper.d.ts +61 -0
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +68 -0
- package/dist/types/components/q2-tab-container/q2-tab-container.d.ts +2 -2
- package/dist/types/components/q2-tag/q2-tag.d.ts +91 -0
- package/dist/types/components.d.ts +698 -6
- package/dist/types/util.d.ts +2 -2
- package/dist/types/utils/action-sheet.d.ts +12 -0
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +4 -3
- package/dist/cjs/index-905f4c87.js.map +0 -1
- package/dist/esm/index-f2a66217.js.map +0 -1
- package/dist/q2-tecton-elements/index-f2a66217.js.map +0 -1
- /package/dist/q2-tecton-elements/{index-3bb7a785.js.map → index-3184c760.js.map} +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as i, h as o, g as a } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { p as e, w as r, e as s } from "./index-
|
|
3
|
+
import { p as e, w as r, e as s } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
5
|
import { s as d } from "./sanitize-html-string-735c19f5.js";
|
|
6
6
|
|
|
@@ -156,62 +156,62 @@ const l = class {
|
|
|
156
156
|
const t = `interior`;
|
|
157
157
|
const i = `${this.renderStatus || ""}`;
|
|
158
158
|
return o("dialog", {
|
|
159
|
-
key: "
|
|
159
|
+
key: "2165ebfae56e7003aded62c0af837542bb9149a0",
|
|
160
160
|
ref: t => this.dialogElement = t,
|
|
161
161
|
class: i,
|
|
162
162
|
onClick: this.onClick
|
|
163
163
|
}, o("div", {
|
|
164
|
-
key: "
|
|
164
|
+
key: "66d0c4eba12b73dfda0a96bb43ba5a070ecd61f2",
|
|
165
165
|
class: t
|
|
166
166
|
}, this.title && o("header", {
|
|
167
|
-
key: "
|
|
167
|
+
key: "8bbd73d303cef868bef465c7251687cfc7599e1f"
|
|
168
168
|
}, this.title && o("h2", {
|
|
169
|
-
key: "
|
|
169
|
+
key: "8dd1586d26b59f726854ea4172500a53c757a64d",
|
|
170
170
|
class: "title"
|
|
171
171
|
}, this.title), !!this.closable && o("q2-btn", {
|
|
172
|
-
key: "
|
|
172
|
+
key: "c664e338916490370fe8361f722c3e0e96f07717",
|
|
173
173
|
class: "btn-close",
|
|
174
174
|
"test-id": "btnClose",
|
|
175
175
|
onClick: this.onCancel,
|
|
176
176
|
label: "tecton.element.modal.close",
|
|
177
177
|
"hide-label": true
|
|
178
178
|
}, o("q2-icon", {
|
|
179
|
-
key: "
|
|
179
|
+
key: "6d3caa17da95a3c89f949b090702451ad9ea78ee",
|
|
180
180
|
type: "close"
|
|
181
181
|
}))), o("div", {
|
|
182
|
-
key: "
|
|
182
|
+
key: "cfa8aac15fc865cb50e8bc78d82aa5f385946b5c",
|
|
183
183
|
class: "content",
|
|
184
184
|
ref: t => this.contentElement = t
|
|
185
185
|
}, this.icon && o("div", {
|
|
186
|
-
key: "
|
|
186
|
+
key: "407d8c7571b8da638aa6954bd754c6c90ffa66b8",
|
|
187
187
|
class: "icon"
|
|
188
188
|
}, o("q2-icon", {
|
|
189
|
-
key: "
|
|
189
|
+
key: "10f29256dba2f51f71ad883ffa02ddd1d753e5f5",
|
|
190
190
|
type: this.icon,
|
|
191
191
|
style: this.iconStyle()
|
|
192
192
|
})), this.imageSrc && o("div", {
|
|
193
|
-
key: "
|
|
193
|
+
key: "3eb1c59e1f68b3db89dc41baa690a563a2b0396c",
|
|
194
194
|
class: "image"
|
|
195
195
|
}, o("img", {
|
|
196
|
-
key: "
|
|
196
|
+
key: "a5a7d3ffd29bbc87463b07c637c29d380e394177",
|
|
197
197
|
src: this.imageSrc
|
|
198
198
|
})), s(this.hostElement, "content") && o("slot", {
|
|
199
|
-
key: "
|
|
199
|
+
key: "c9173d235dcf128da853a52ce87fc76bc79500e9",
|
|
200
200
|
name: "content"
|
|
201
201
|
}), this.description && o("p", {
|
|
202
|
-
key: "
|
|
202
|
+
key: "42370a7e92de9fd376b981587ac6e6714057e566",
|
|
203
203
|
class: "description"
|
|
204
204
|
}, this.description), this.customMarkup && o("p", {
|
|
205
|
-
key: "
|
|
205
|
+
key: "34fbdc1421c2b70158858b63dbeff72b78e6a832",
|
|
206
206
|
class: "customMarkup",
|
|
207
207
|
innerHTML: d(this.customMarkup)
|
|
208
208
|
})), o("footer", {
|
|
209
|
-
key: "
|
|
209
|
+
key: "c42b4b7f460a2c67c83f7ad6dd13903220c601e0"
|
|
210
210
|
}, o("q2-action-group", {
|
|
211
|
-
key: "
|
|
211
|
+
key: "d3a8d1fcca9af7dbf9800e446be70b43c2ab8570",
|
|
212
212
|
"full-width": true
|
|
213
213
|
}, o("slot", {
|
|
214
|
-
key: "
|
|
214
|
+
key: "8f499bf2dabd0766de6240dd586f23d9b97bccdb",
|
|
215
215
|
name: "action"
|
|
216
216
|
})))));
|
|
217
217
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as n, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as i, o as a } from "./index-
|
|
3
|
+
import { l as i, o as a } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
5
|
const r = "*{box-sizing:border-box}*:active{outline:none}*:focus{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}.month-container{--comp-month-primary-background:var(--tct-btn-primary-background, var(--tct-btn-primary-bg, var(--t-btn-primary-bg, #2e2e2e)));--comp-month-primary-font-color:var(--tct-btn-primary-font-color, var(--t-btn-primary-font-color, var(--tct-white, var(--app-white, #ffffff))));--comp-month-primary-background:var(--tct-btn-secondary-background, var(--tct-btn-secondary-bg, var(--t-button-default-bg, #cccccc)));--comp-month-secondary-font-color:var(--tct-btn-secondary-font-color, var(--t-btn-secondary-font-color, var(--t-button-default-font-color, #2e2e2e)))}.month-container .navigation{display:flex;justify-content:space-between;flex-direction:row}.month-container .navigation .year-btn{padding:0 1rem;display:flex;align-items:center}.month-container .navigation .year-btn .year{margin-right:0.2rem}.month-container .navigation .year-btn .year-icon{--t-icon-stroke-width:2px;width:16px;height:16px;transition:all 0.3s ease-in-out}.month-container .navigation .year-btn .year-icon.on{transform:rotate(-180deg)}.month-container .navigation .month-controller{display:flex;align-items:center}.month-container .month-list{display:grid;grid-template-columns:auto auto auto}.month-container .month-list .month{display:flex;justify-content:center;align-items:center;padding:0.5rem 0}.month-container .month-list .month .month-button{border-radius:50%;aspect-ratio:1;width:50px;display:flex;justify-content:center;align-items:center}.month-container .month-list .month .month-button:hover{background:var(--comp-month-primary-background);color:var(--comp-month-secondary-font-color);cursor:pointer}.month-container .month-list .month .month-button:active,.month-container .month-list .month .month-button.active{background:var(--comp-month-primary-background);color:var(--comp-month-primary-font-color)}.month-container .today-label{padding:0.5rem 0;color:var(--tct-calendar-day-selected-outline-color, var(--t-calendar-day-selected-outline-color, var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))))}";
|
|
6
6
|
|
|
@@ -124,54 +124,54 @@ const s = class {
|
|
|
124
124
|
// #region Render Methods
|
|
125
125
|
render() {
|
|
126
126
|
return n("div", {
|
|
127
|
-
key: "
|
|
127
|
+
key: "6c9a7ca40d2a597f21e289b540f07900f2588cac",
|
|
128
128
|
class: "month-container",
|
|
129
129
|
onKeyDown: this.onMonthKeydown
|
|
130
130
|
}, n("div", {
|
|
131
|
-
key: "
|
|
131
|
+
key: "bf2a873e6a183df04920eb603ef507eff82c89bd",
|
|
132
132
|
class: "navigation"
|
|
133
133
|
}, n("q2-btn", {
|
|
134
|
-
key: "
|
|
134
|
+
key: "4eff95a05e80cfe5c0593d638fd82ca2a7954765",
|
|
135
135
|
class: "year-btn",
|
|
136
136
|
onClick: () => this.viewChange.emit({
|
|
137
137
|
view: "year",
|
|
138
138
|
selectedYear: this.year
|
|
139
139
|
})
|
|
140
140
|
}, n("span", {
|
|
141
|
-
key: "
|
|
141
|
+
key: "69f3247510f67d368e1f15ce054cbfdb3d56901c",
|
|
142
142
|
class: "year"
|
|
143
143
|
}, this.year), n("q2-icon", {
|
|
144
|
-
key: "
|
|
144
|
+
key: "281bdf4e671b05ea28aea658ae05ab11d3c4667d",
|
|
145
145
|
class: "year-icon off",
|
|
146
146
|
type: "chevron-down"
|
|
147
147
|
})), n("div", {
|
|
148
|
-
key: "
|
|
148
|
+
key: "9528cc408878d4f4839bed485fe5a46cb005f139",
|
|
149
149
|
class: "month-controller"
|
|
150
150
|
}, n("div", {
|
|
151
|
-
key: "
|
|
151
|
+
key: "8d7330c4e3951a001203c5f08af7495b320da5c9",
|
|
152
152
|
class: "cal-year-prev-next"
|
|
153
153
|
}, n("q2-btn", {
|
|
154
|
-
key: "
|
|
154
|
+
key: "e725c2476177186c83ecdf31ca8ebfabb3c132c7",
|
|
155
155
|
label: i("tecton.element.calendar.previousYear"),
|
|
156
156
|
"hide-label": true,
|
|
157
157
|
class: "cal-nav-btn prev-year",
|
|
158
158
|
"test-id": "previousYearButton",
|
|
159
159
|
onClick: () => this.selectYear(this.year - 1)
|
|
160
160
|
}, n("q2-icon", {
|
|
161
|
-
key: "
|
|
161
|
+
key: "4a6b9d629c98cbdc248cfd66694cf610f2ca4423",
|
|
162
162
|
type: "arrow-left"
|
|
163
163
|
})), n("q2-btn", {
|
|
164
|
-
key: "
|
|
164
|
+
key: "797eb8389dbffd0e1e2588d68799be8dc425ef85",
|
|
165
165
|
label: i("tecton.element.calendar.nextYear"),
|
|
166
166
|
"hide-label": true,
|
|
167
167
|
class: "cal-nav-btn next-year",
|
|
168
168
|
"test-id": "nextYearButton",
|
|
169
169
|
onClick: () => this.selectYear(this.year + 1)
|
|
170
170
|
}, n("q2-icon", {
|
|
171
|
-
key: "
|
|
171
|
+
key: "c75dfb662cf8cf336b059650d24e8f22397dd9d5",
|
|
172
172
|
type: "arrow-right"
|
|
173
173
|
}))))), n("div", {
|
|
174
|
-
key: "
|
|
174
|
+
key: "18b5c98c2bc3d4c9f353b79b99fbc76c91942724",
|
|
175
175
|
class: "month-list",
|
|
176
176
|
onClick: this.onMonthSelection
|
|
177
177
|
}, this.months.map(((t, e) => n("div", {
|
|
@@ -183,7 +183,7 @@ const s = class {
|
|
|
183
183
|
"aria-label": t.label,
|
|
184
184
|
tabindex: e === this.focusedIndex ? 0 : -1
|
|
185
185
|
}, t.abbr))))), this.today && n("div", {
|
|
186
|
-
key: "
|
|
186
|
+
key: "96451bd771873ee8643221db902dcf70bfa8df1c",
|
|
187
187
|
class: "today-label"
|
|
188
188
|
}, i("tecton.element.calendar.today"), ": ", this.today));
|
|
189
189
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as e, g as r } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { c as o, l as a } from "./index-
|
|
3
|
+
import { c as o, l as a } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
5
|
const i = "*{box-sizing:border-box}*:active{outline:none}*:focus{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}:host{display:block}.q2-optgroup-header{--comp-header-padding:var(--tct-scale-1, var(--app-scale-1x, 5px)) var(--tct-scale-2, var(--app-scale-2x, 10px));background:var(--tct-optgroup-header-background, var(--tct-optgroup-header-bg, var(--t-optgroup-header-bg, var(--tct-gray-13, var(--t-gray-13, var(--tct-gray-l2, var(--app-gray-l2, #e6e6e6)))))));color:var(--tct-optgroup-header-color, inherit);padding:var(--tct-optgroup-header-padding, var(--t-optgroup-header-padding, var(--comp-header-padding)));font-weight:var(--tct-optgroup-header-font-weight, var(--t-optgroup-header-font-weight, 600));text-transform:var(--tct-optgroup-header-text-transform, var(--t-optgroup-header-text-transform, uppercase));position:sticky;top:calc(var(--comp-popover-top-container-height, 0px) + var(--tct-optgroup-top, var(--t-optgroup-top, 0px)));z-index:5}";
|
|
6
6
|
|
|
@@ -56,20 +56,20 @@ const p = class {
|
|
|
56
56
|
// #region Render Methods
|
|
57
57
|
render() {
|
|
58
58
|
return e("div", {
|
|
59
|
-
key: "
|
|
59
|
+
key: "a4aa78ea138abae562f4171acd8b0b86747f7fa2",
|
|
60
60
|
class: "q2-optgroup-container",
|
|
61
61
|
hidden: this.hidden,
|
|
62
62
|
"aria-labelledby": this.headerId,
|
|
63
63
|
role: "group"
|
|
64
64
|
}, e("div", {
|
|
65
|
-
key: "
|
|
65
|
+
key: "80eccf2178714afe5aa742176e5c982e86941789",
|
|
66
66
|
class: "q2-optgroup-header",
|
|
67
67
|
id: this.headerId
|
|
68
68
|
}, this.label && a(this.label) || ""), e("div", {
|
|
69
|
-
key: "
|
|
69
|
+
key: "934682de3e212ef449cad6be24ff2c6d6a8e3bcf",
|
|
70
70
|
class: "q2-optgroup-options"
|
|
71
71
|
}, e("slot", {
|
|
72
|
-
key: "
|
|
72
|
+
key: "e0f90a3bac305ef163e508ce4dddd92a3dfecadf"
|
|
73
73
|
})));
|
|
74
74
|
}
|
|
75
75
|
get hostElement() {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, H as s, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { n, l as r, o as a, i as h, w as c, v as l, h as p } from "./index-
|
|
3
|
+
import { n, l as r, o as a, i as h, w as c, v as l, h as p, x as d } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
5
|
function sanitizeRegexString(t) {
|
|
6
6
|
return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const u = "*{box-sizing:border-box}*:active{outline:none}*:focus{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}:host{position:relative;width:100%;display:block;line-height:var(--tct-option-list-line-height, var(--t-option-list-line-height, var(--app-line-height, 1.428571429em)))}.content{text-align:start}:host([is-sizeable]) .content{display:block;height:auto}";
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const f = u;
|
|
12
12
|
|
|
13
|
-
const
|
|
13
|
+
const b = class {
|
|
14
14
|
constructor(i) {
|
|
15
15
|
t(this, i);
|
|
16
16
|
this.change = e(this, "change", 7);
|
|
@@ -566,14 +566,14 @@ const f = class {
|
|
|
566
566
|
// #region Render Methods
|
|
567
567
|
render() {
|
|
568
568
|
return i(s, {
|
|
569
|
-
key: "
|
|
569
|
+
key: "48bc63463e38e58f7f18e5b5b105e14689be640c"
|
|
570
570
|
}, i("div", {
|
|
571
|
-
key: "
|
|
571
|
+
key: "26d143ad186b387274837d2141f9e5cd7cee6fb0",
|
|
572
572
|
class: "content",
|
|
573
573
|
ref: t => this.contentElement = t,
|
|
574
574
|
onFocusout: this.focusoutHandler
|
|
575
575
|
}, i("div", {
|
|
576
|
-
key: "
|
|
576
|
+
key: "afecab7ca714392b609ccc57f4d920a4cc7f2c7e",
|
|
577
577
|
class: "options",
|
|
578
578
|
"aria-label": r("tecton.element.optionList.label", [ this.label ]),
|
|
579
579
|
"aria-multiselectable": `${!!this.multiple}`,
|
|
@@ -581,7 +581,7 @@ const f = class {
|
|
|
581
581
|
onKeyDown: this.internalKeydownHandler,
|
|
582
582
|
onClick: this.clickHandler
|
|
583
583
|
}, i("slot", {
|
|
584
|
-
key: "
|
|
584
|
+
key: "7ca042464b34eeb59ddd8c62bf44b29b39f3ccfb"
|
|
585
585
|
}))));
|
|
586
586
|
}
|
|
587
587
|
get hostElement() {
|
|
@@ -595,13 +595,13 @@ const f = class {
|
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
597
|
|
|
598
|
-
|
|
598
|
+
b.style = f;
|
|
599
599
|
|
|
600
|
-
const
|
|
600
|
+
const w = "*{box-sizing:border-box}*:active{outline:none}*:focus{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{display:none}.show{display:block;position:fixed;z-index:var(--tct-popover-z-index, 50);margin:0;padding:0;overflow:auto;background:var(--tct-popover-background, var(--app-white, #ffffff));color:var(--tct-popover-font-color, var(--t-text, #4d4d4d));min-width:var(--tct-popover-min-width, 135px);margin-block:var(--tct-popover-margin-block, 0);box-shadow:var(--tct-popover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));border-width:var(--tct-popover-border-width, 0);border-style:solid;border-color:var(--tct-popover-border-color, transparent);border-radius:var(--tct-popover-border-radius, 0);max-height:var(--comp-pop-max-height);left:var(--comp-pop-left);opacity:var(--comp-pop-opacity, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}:host([block]) .show{right:unset;width:var(--comp-pop-width);min-width:var(--tct-popover-min-width, unset)}:host([align=left]) .show{left:var(--comp-pop-left);right:unset}:host([align=right]) .show{right:var(--comp-pop-right);left:unset}.show.down{top:var(--tct-popover-top, var(--comp-pop-top));bottom:unset}.show.up{top:unset;bottom:var(--comp-pop-bottom)}.show.legacy{position:absolute}.show::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.show::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.show::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}click-elsewhere{position:relative;display:block}";
|
|
601
601
|
|
|
602
|
-
const v =
|
|
602
|
+
const v = w;
|
|
603
603
|
|
|
604
|
-
const
|
|
604
|
+
const m = class {
|
|
605
605
|
constructor(i) {
|
|
606
606
|
t(this, i);
|
|
607
607
|
this.popoverStateChanged = e(this, "popoverStateChanged", 7);
|
|
@@ -636,27 +636,35 @@ const w = class {
|
|
|
636
636
|
e.style.setProperty("--comp-pop-opacity", "1");
|
|
637
637
|
};
|
|
638
638
|
this.setFixedCSSProperties = async () => {
|
|
639
|
-
var t, e;
|
|
640
|
-
const {controlElement:
|
|
641
|
-
const {top:
|
|
639
|
+
var t, e, i, s;
|
|
640
|
+
const {controlElement: o, containerElement: n, currentDirection: r, rootElementRect: a} = this;
|
|
641
|
+
const {top: h, bottom: l, left: p, right: u} = (e = (t = o === null || o === void 0 ? void 0 : o.getBoundingClientRect) === null || t === void 0 ? void 0 : t.call(o)) !== null && e !== void 0 ? e : {
|
|
642
642
|
top: 0,
|
|
643
643
|
bottom: 0,
|
|
644
644
|
left: 0,
|
|
645
645
|
right: 0
|
|
646
646
|
};
|
|
647
|
-
const
|
|
648
|
-
if (this.block)
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
if (
|
|
652
|
-
|
|
647
|
+
const f = p - a.left;
|
|
648
|
+
if (this.block) n.style.setProperty("--comp-pop-width", `${(o === null || o === void 0 ? void 0 : o.offsetWidth) || 0}px`);
|
|
649
|
+
n.style.setProperty("--comp-pop-left", `${f}px`);
|
|
650
|
+
n.style.setProperty("--comp-pop-right", `${a.width + a.left - u}px`);
|
|
651
|
+
if (r === "up") {
|
|
652
|
+
if (d()) {
|
|
653
|
+
n.style.setProperty("--comp-pop-bottom", `${window.innerHeight - h}px`);
|
|
654
|
+
} else {
|
|
655
|
+
n.style.setProperty("--comp-pop-bottom", `${window.innerHeight - h - ((i = window === null || window === void 0 ? void 0 : window.visualViewport.offsetTop) !== null && i !== void 0 ? i : 0)}px`);
|
|
656
|
+
}
|
|
653
657
|
}
|
|
654
|
-
if (
|
|
655
|
-
|
|
658
|
+
if (r === "down") {
|
|
659
|
+
if (d()) {
|
|
660
|
+
n.style.setProperty("--comp-pop-top", `${l}px`);
|
|
661
|
+
} else {
|
|
662
|
+
n.style.setProperty("--comp-pop-top", `${l - a.top + ((s = window === null || window === void 0 ? void 0 : window.visualViewport.offsetTop) !== null && s !== void 0 ? s : 0)}px`);
|
|
663
|
+
}
|
|
656
664
|
}
|
|
657
665
|
// Wait for one paint to prevent layout thrashing
|
|
658
666
|
await c();
|
|
659
|
-
|
|
667
|
+
n.style.setProperty("--comp-pop-opacity", "1");
|
|
660
668
|
};
|
|
661
669
|
this.viewPortChanged = () => {
|
|
662
670
|
if (!this.open) return;
|
|
@@ -749,6 +757,7 @@ const w = class {
|
|
|
749
757
|
addViewportListeners() {
|
|
750
758
|
var t;
|
|
751
759
|
window.addEventListener("resize", this.viewPortOrientationChanged);
|
|
760
|
+
visualViewport === null || visualViewport === void 0 ? void 0 : visualViewport.addEventListener("resize", this.viewPortChanged);
|
|
752
761
|
// #region remove when Popover API is supported in iOS
|
|
753
762
|
window.addEventListener("scroll", this.viewPortChanged, {
|
|
754
763
|
passive: true,
|
|
@@ -800,8 +809,8 @@ const w = class {
|
|
|
800
809
|
const b = !s.style.getPropertyValue("--comp-pop-max-height") || this.orientationChanged;
|
|
801
810
|
// we do not want to constantly update the max-height after an orientation change, so we switch this back to false
|
|
802
811
|
this.orientationChanged = false;
|
|
803
|
-
const
|
|
804
|
-
switch (
|
|
812
|
+
const w = this.currentDirection || n || f;
|
|
813
|
+
switch (w) {
|
|
805
814
|
case "up":
|
|
806
815
|
if (b) {
|
|
807
816
|
const t = this.validatedMaxHeight || d;
|
|
@@ -824,6 +833,7 @@ const w = class {
|
|
|
824
833
|
removeViewportListeners() {
|
|
825
834
|
var t;
|
|
826
835
|
window.removeEventListener("resize", this.viewPortOrientationChanged);
|
|
836
|
+
visualViewport === null || visualViewport === void 0 ? void 0 : visualViewport.removeEventListener("resize", this.viewPortChanged);
|
|
827
837
|
// #region remove when Popover API is supported in iOS
|
|
828
838
|
window.removeEventListener("scroll", this.viewPortChanged);
|
|
829
839
|
(t = screen === null || screen === void 0 ? void 0 : screen.orientation) === null || t === void 0 ? void 0 : t.removeEventListener("orientationchange", this.viewPortOrientationChanged);
|
|
@@ -878,17 +888,17 @@ const w = class {
|
|
|
878
888
|
if (this.show) t.push("show");
|
|
879
889
|
if (this.mode === "legacy") t.push("legacy");
|
|
880
890
|
return i("div", {
|
|
881
|
-
key: "
|
|
891
|
+
key: "0d638a8870e04fed2741e2654dfcf0dfd8abec9f",
|
|
882
892
|
ref: t => this.containerElement = t,
|
|
883
893
|
class: t.join(" "),
|
|
884
894
|
"test-id": "outerContainer",
|
|
885
895
|
tabIndex: -1
|
|
886
896
|
}, i("div", {
|
|
887
|
-
key: "
|
|
897
|
+
key: "69a38b7a374a979675dc039b247d8abf88662fae",
|
|
888
898
|
ref: t => this.contentElement = t,
|
|
889
899
|
class: "content"
|
|
890
900
|
}, i("slot", {
|
|
891
|
-
key: "
|
|
901
|
+
key: "da9b5c29369f776443e258b0727492a46541dffa"
|
|
892
902
|
})));
|
|
893
903
|
}
|
|
894
904
|
get hostElement() {
|
|
@@ -902,7 +912,7 @@ const w = class {
|
|
|
902
912
|
}
|
|
903
913
|
};
|
|
904
914
|
|
|
905
|
-
|
|
915
|
+
m.style = v;
|
|
906
916
|
|
|
907
|
-
export {
|
|
917
|
+
export { b as q2_option_list, m as q2_popover };
|
|
908
918
|
//# sourceMappingURL=q2-option-list_2.entry.js.map
|