q2-tecton-elements 1.70.2 → 1.71.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 +556 -231
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-action-sheet.cjs.entry.js +4 -3
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +17 -8
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +8 -6
- package/dist/cjs/q2-card-image.cjs.entry.js +1 -1
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel.cjs.entry.js +108 -74
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +3 -3
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +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-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-meter.cjs.entry.js +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +1 -1
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +1 -1
- package/dist/cjs/q2-pill.cjs.entry.js +18 -2
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-search.cjs.entry.js +2 -2
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +32 -9
- package/dist/cjs/q2-stepper.cjs.entry.js +18 -4
- package/dist/cjs/q2-surface.cjs.entry.js +3 -3
- package/dist/cjs/q2-tab-container.cjs.entry.js +89 -20
- package/dist/cjs/q2-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +3 -3
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +26 -15
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +3 -3
- package/dist/collection/components/q2-action-group/q2-action-group.css +22 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +24 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +3 -2
- package/dist/collection/components/q2-avatar/q2-avatar.css +23 -1
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +13 -1
- package/dist/collection/components/q2-badge/q2-badge.css +26 -4
- package/dist/collection/components/q2-badge/test/q2-badge-test.vr.js +13 -1
- package/dist/collection/components/q2-btn/q2-btn.css +53 -9
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +19 -1
- package/dist/collection/components/q2-calendar/q2-calendar.css +26 -4
- package/dist/collection/components/q2-calendar/q2-calendar.js +7 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.css +22 -0
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +34 -1
- package/dist/collection/components/q2-card/q2-card.css +23 -1
- package/dist/collection/components/q2-card/test/q2-card-test.vr.js +10 -1
- package/dist/collection/components/q2-card-image/q2-card-image.css +23 -1
- package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js +9 -1
- package/dist/collection/components/q2-carousel/q2-carousel.css +29 -39
- package/dist/collection/components/q2-carousel/q2-carousel.js +122 -69
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +5 -4
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.css +22 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +22 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +22 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.css +24 -2
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +13 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +23 -1
- package/dist/collection/components/q2-checkbox/test/q2-checkbox-test.vr.js +11 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +23 -1
- package/dist/collection/components/q2-checkbox-group/test/q2-checkbox-group-test.vr.js +11 -1
- package/dist/collection/components/q2-currency/q2-currency.css +25 -3
- package/dist/collection/components/q2-currency/test/q2-currency-test.vr.js +13 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +24 -2
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +11 -1
- package/dist/collection/components/q2-detail/q2-detail.css +32 -10
- package/dist/collection/components/q2-dropdown/q2-dropdown.css +22 -0
- package/dist/collection/components/q2-dropdown-item/q2-dropdown-item.css +22 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.css +22 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +2 -2
- package/dist/collection/components/q2-example/q2-example.css +23 -0
- package/dist/collection/components/q2-file-picker/q2-file-picker.css +57 -10
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js +14 -1
- package/dist/collection/components/q2-form/q2-form.css +22 -0
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.css +25 -3
- package/dist/collection/components/q2-formatted-text/test/q2-formatted-text-test.vr.js +13 -1
- package/dist/collection/components/q2-icon/assets/standard.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/q2-icon.css +22 -0
- package/dist/collection/components/q2-input/q2-input.css +26 -4
- package/dist/collection/components/q2-input/q2-input.js +39 -7
- package/dist/collection/components/q2-input/test/q2-input-test.vr.js +36 -1
- package/dist/collection/components/q2-item/q2-item.css +46 -2
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +12 -1
- package/dist/collection/components/q2-legend/q2-legend.css +24 -2
- package/dist/collection/components/q2-link/q2-link.css +22 -0
- package/dist/collection/components/q2-list/q2-list.css +46 -2
- package/dist/collection/components/q2-list/test/q2-list-test.vr.js +12 -1
- package/dist/collection/components/q2-loading/q2-loading.css +23 -0
- package/dist/collection/components/q2-message/q2-message.css +22 -0
- package/dist/collection/components/q2-meter/q2-meter.css +25 -3
- package/dist/collection/components/q2-meter/test/q2-meter-test.vr.js +12 -1
- package/dist/collection/components/q2-modal/q2-modal.css +23 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +12 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.css +23 -1
- package/dist/collection/components/q2-option/q2-option.css +22 -0
- package/dist/collection/components/q2-option-list/q2-option-list.css +22 -0
- package/dist/collection/components/q2-otp/q2-otp.css +27 -4
- package/dist/collection/components/q2-otp/test/q2-otp-test.vr.js +12 -1
- package/dist/collection/components/q2-pagination/q2-pagination.css +22 -0
- package/dist/collection/components/q2-pill/q2-pill.css +42 -2
- package/dist/collection/components/q2-pill/q2-pill.js +18 -1
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +27 -1
- package/dist/collection/components/q2-popover/q2-popover.css +22 -7
- package/dist/collection/components/q2-radio/q2-radio.css +24 -2
- package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js +12 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.css +23 -1
- package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js +11 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.css +22 -0
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.css +22 -0
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.css +22 -0
- package/dist/collection/components/q2-search/q2-search.js +1 -1
- package/dist/collection/components/q2-section/q2-section.css +23 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-section/test/q2-section-test.vr.js +11 -1
- package/dist/collection/components/q2-select/q2-select.css +22 -0
- package/dist/collection/components/q2-stepper/q2-stepper.css +38 -4
- package/dist/collection/components/q2-stepper/q2-stepper.js +17 -3
- package/dist/collection/components/q2-stepper/test/q2-stepper-test.vr.js +12 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.css +22 -0
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.css +39 -5
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +31 -8
- package/dist/collection/components/q2-stepper-vertical/test/q2-stepper-vertical-test.vr.js +16 -1
- package/dist/collection/components/q2-surface/q2-surface.css +71 -32
- package/dist/collection/components/q2-surface/q2-surface.js +7 -7
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +54 -0
- package/dist/collection/components/q2-tab-container/q2-tab-container.css +112 -6
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +114 -21
- package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.vr.js +24 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.css +22 -0
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.css +25 -2
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-tag/test/q2-tag-test.vr.js +21 -1
- package/dist/collection/components/q2-textarea/q2-textarea.css +24 -2
- package/dist/collection/components/q2-textarea/q2-textarea.js +2 -2
- package/dist/collection/components/q2-textarea/test/q2-textarea-test.vr.js +16 -1
- package/dist/collection/components/q2-toast/q2-toast.css +22 -0
- package/dist/collection/components/q2-tooltip/q2-tooltip.css +27 -19
- package/dist/collection/components/q2-tooltip/q2-tooltip.js +32 -21
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +13 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.css +22 -0
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/helpers.js +29 -6
- package/dist/collection/utils/test/vr-helpers.js +7 -0
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +21 -18
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-badge2.js +1 -1
- package/dist/components/q2-btn2.js +15 -15
- package/dist/components/q2-calendar.js +306 -301
- package/dist/components/q2-card-image.js +6 -6
- package/dist/components/q2-card.js +14 -14
- package/dist/components/q2-carousel-pane2.js +1 -1
- package/dist/components/q2-carousel.js +633 -585
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +70 -70
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +42 -42
- package/dist/components/q2-checkbox2.js +1 -1
- package/dist/components/q2-currency.js +32 -32
- package/dist/components/q2-data-table.js +34 -34
- package/dist/components/q2-detail.js +5 -5
- package/dist/components/q2-dropdown-item2.js +11 -11
- package/dist/components/q2-dropdown.js +17 -17
- package/dist/components/q2-editable-field.js +12 -11
- package/dist/components/q2-example.js +15 -15
- package/dist/components/q2-file-picker.js +25 -25
- package/dist/components/q2-form.js +11 -11
- package/dist/components/q2-formatted-text.js +5 -5
- package/dist/components/q2-icon2.js +1 -1
- package/dist/components/q2-input2.js +24 -13
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +56 -56
- package/dist/components/q2-link2.js +6 -6
- package/dist/components/q2-list2.js +22 -22
- package/dist/components/q2-loading2.js +1 -1
- package/dist/components/q2-message2.js +20 -20
- package/dist/components/q2-meter.js +1 -1
- package/dist/components/q2-modal.js +3 -3
- package/dist/components/q2-month-picker.js +10 -10
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +34 -34
- package/dist/components/q2-option2.js +13 -13
- package/dist/components/q2-otp.js +5 -5
- package/dist/components/q2-pagination.js +58 -58
- package/dist/components/q2-pill.js +66 -54
- package/dist/components/q2-popover2.js +1 -1
- package/dist/components/q2-radio-group.js +5 -5
- package/dist/components/q2-radio.js +14 -14
- package/dist/components/q2-relative-time.js +10 -10
- package/dist/components/q2-resize-observer2.js +9 -9
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +22 -22
- package/dist/components/q2-select2.js +1 -1
- package/dist/components/q2-stepper-pane.js +33 -33
- package/dist/components/q2-stepper-vertical.js +84 -60
- package/dist/components/q2-stepper.js +79 -65
- package/dist/components/q2-surface.js +14 -14
- package/dist/components/q2-tab-container.js +110 -55
- package/dist/components/q2-tab-pane.js +7 -7
- package/dist/components/q2-tag2.js +39 -39
- package/dist/components/q2-textarea.js +16 -16
- package/dist/components/q2-toast.js +22 -22
- package/dist/components/q2-tooltip2.js +26 -25
- package/dist/components/tecton-tab-pane.js +11 -11
- package/dist/esm/click-elsewhere_3.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +3 -3
- package/dist/esm/q2-action-sheet.entry.js +4 -3
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_2.entry.js +17 -8
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +8 -6
- package/dist/esm/q2-card-image.entry.js +1 -1
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +1 -1
- package/dist/esm/q2-carousel.entry.js +104 -70
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox_2.entry.js +3 -3
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +3 -3
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +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-icon.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-meter.entry.js +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +1 -1
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +1 -1
- package/dist/esm/q2-pill.entry.js +18 -2
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-search.entry.js +2 -2
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +32 -9
- package/dist/esm/q2-stepper.entry.js +18 -4
- package/dist/esm/q2-surface.entry.js +3 -3
- package/dist/esm/q2-tab-container.entry.js +89 -20
- package/dist/esm/q2-tab-pane.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +3 -3
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +27 -16
- package/dist/esm/tecton-tab-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/assets/standard.symbol.svg +1 -1
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +21 -18
- package/dist/q2-tecton-elements/q2-avatar.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +25 -15
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-calendar.entry.js +120 -115
- package/dist/q2-tecton-elements/q2-card-image.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-carousel.entry.js +572 -540
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +166 -166
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +190 -190
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-currency.entry.js +40 -40
- package/dist/q2-tecton-elements/q2-data-table.entry.js +64 -64
- package/dist/q2-tecton-elements/q2-detail.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +18 -17
- package/dist/q2-tecton-elements/q2-example.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-form.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-link_2.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-message.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-meter.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-modal.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +39 -39
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-option.entry.js +22 -22
- package/dist/q2-tecton-elements/q2-otp.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-pill.entry.js +30 -18
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.js +24 -24
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-search.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-section.entry.js +25 -25
- package/dist/q2-tecton-elements/q2-select.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +77 -53
- package/dist/q2-tecton-elements/q2-stepper.entry.js +44 -30
- package/dist/q2-tecton-elements/q2-surface.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +109 -56
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-toast.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +25 -24
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +11 -11
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +14 -0
- package/dist/types/components/q2-input/q2-input.d.ts +7 -1
- package/dist/types/components/q2-pill/q2-pill.d.ts +2 -0
- package/dist/types/components/q2-stepper/q2-stepper.d.ts +1 -0
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +3 -2
- package/dist/types/components/q2-surface/q2-surface.d.ts +3 -3
- package/dist/types/components/q2-tab-container/q2-tab-container.d.ts +17 -3
- package/dist/types/components/q2-tooltip/q2-tooltip.d.ts +2 -1
- package/dist/types/components.d.ts +50 -21
- package/dist/types/utils/helpers.d.ts +16 -1
- package/dist/types/utils/test/vr-helpers.d.ts +11 -0
- package/package.json +12 -5
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { proxyCustomElement as t, HTMLElement as o, createEvent as e, h as r, transformTag as i } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import { l as
|
|
3
|
+
import { l as n, h as a, o as s } from "./index2.js";
|
|
4
4
|
|
|
5
5
|
import { m as d } from "./mirror-emit.js";
|
|
6
6
|
|
|
7
|
-
import { b as
|
|
7
|
+
import { b as p } from "./component.js";
|
|
8
8
|
|
|
9
|
-
import { d as
|
|
9
|
+
import { d as c } from "./q2-icon2.js";
|
|
10
10
|
|
|
11
11
|
const l = t(class extends o {
|
|
12
12
|
constructor(t) {
|
|
13
13
|
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.click = e(this, "click", 7),
|
|
14
14
|
this.tctClick = e(this, "tctClick", 7), this.handleQ2LocValue = () => {
|
|
15
15
|
const t = this.hostElement.querySelector("q2-loc");
|
|
16
|
-
return t ? t.value ?
|
|
16
|
+
return t ? t.value ? n(t.value, t.substitutions) : n(t.innerText, t.substitutions) : "";
|
|
17
17
|
}, this.onItemClick = t => {
|
|
18
18
|
t.stopImmediatePropagation(), d(this, [ "click", "tctClick" ], {
|
|
19
19
|
type: "select",
|
|
@@ -37,7 +37,7 @@ const l = t(class extends o {
|
|
|
37
37
|
// #endregion
|
|
38
38
|
// #region Component Lifecycle Events
|
|
39
39
|
componentWillLoad() {
|
|
40
|
-
|
|
40
|
+
p(this.hostElement, "q2-dropdown"), a(this), this.q2LocValue = this.handleQ2LocValue();
|
|
41
41
|
}
|
|
42
42
|
componentDidLoad() {
|
|
43
43
|
this.separator || s(this.hostElement);
|
|
@@ -50,7 +50,7 @@ const l = t(class extends o {
|
|
|
50
50
|
// #endregion
|
|
51
51
|
// #region Watchers
|
|
52
52
|
ariaLabelObserver() {
|
|
53
|
-
|
|
53
|
+
a(this);
|
|
54
54
|
}
|
|
55
55
|
// #endregion
|
|
56
56
|
// #region Local Methods
|
|
@@ -58,7 +58,7 @@ const l = t(class extends o {
|
|
|
58
58
|
return this.label || this.hostElement.textContent.trim() || this.q2LocValue;
|
|
59
59
|
}
|
|
60
60
|
get removeLabel() {
|
|
61
|
-
return
|
|
61
|
+
return n("tecton.element.dropdownItem.remove", [ this.innerLabel || "" ]);
|
|
62
62
|
}
|
|
63
63
|
focusItem() {
|
|
64
64
|
this.dropdownItemBtn.focus({
|
|
@@ -76,7 +76,7 @@ const l = t(class extends o {
|
|
|
76
76
|
role: "presentation"
|
|
77
77
|
}, r("button", {
|
|
78
78
|
ref: t => this.dropdownItemBtn = t,
|
|
79
|
-
"aria-label":
|
|
79
|
+
"aria-label": n(this.innerLabel),
|
|
80
80
|
class: "dropdown-item-button dropdown-item",
|
|
81
81
|
tabindex: "-1",
|
|
82
82
|
disabled: this.disabled,
|
|
@@ -87,7 +87,7 @@ const l = t(class extends o {
|
|
|
87
87
|
"test-id": "dropdownItem"
|
|
88
88
|
}, r("div", {
|
|
89
89
|
class: "dropdown-item-btn-content"
|
|
90
|
-
}, r("slot", null,
|
|
90
|
+
}, r("slot", null, n(this.innerLabel)))), this.removable && r("button", {
|
|
91
91
|
ref: t => this.removeBtn = t,
|
|
92
92
|
class: "dropdown-item-button remove-dropdown-item",
|
|
93
93
|
tabindex: "-1",
|
|
@@ -123,7 +123,7 @@ const l = t(class extends o {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
static get style() {
|
|
126
|
-
return
|
|
126
|
+
return '*{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}}}.dropdown-separator{--comp-default-separator-margin:0 var(--tct-scale-1, var(--app-scale-3x, 15px));margin:var(--tct-dropdown-separator-margin, var(--t-dropdown-separator-margin, var(--comp-default-separator-margin)));border-bottom:1px solid var(--tct-dropdown-item-separator-color, var(--t-gray-11, #cccccc))}.dropdown-item-wrapper{--comp-selected-icon-size:var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, var(--tct-scale-3, var(--app-scale-3x, 15px))));--comp-default-dropdown-item-padding-x:var(--app-scale-2x, 10px);--comp-default-dropdown-item-padding-y:var(--app-scale-2x, 10px);--comp-default-dropdown-item-padding:var(--comp-default-dropdown-item-padding-y) var(--comp-default-dropdown-item-padding-x);display:grid;align-items:center;gap:var(--tct-scale-1, var(--app-scale-1x, 5px));grid-template-columns:1fr;color:inherit}.dropdown-item-wrapper.removable{grid-template-columns:1fr auto}.dropdown-item-wrapper.removable .dropdown-item{padding-right:0}.dropdown-item-wrapper.removable .remove-dropdown-item{flex:0 0 44px}.dropdown-item-button{--comp-selected-icon-size:var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, var(--tct-scale-3, var(--app-scale-3x, 15px))));--comp-dropdown-item-tween:var(--tct-tween-1, var(--app-tween-1, cubic-bezier(0.4, 0, 0.2, 1)));margin:var(--tct-scale-0, var(--app-scale-0x, 0));padding:var(--tct-scale-0, var(--app-scale-0x, 0));min-height:var(--tct-dropdown-item-min-height, 44px);min-width:44px;border:none;background:transparent;outline:0;transition:var(--tct-dropdown-item-tween, var(--comp-dropdown-item-tween));transition-property:background, color, box-shadow, fill, border-color, border-width;cursor:pointer}.dropdown-item-button:disabled{opacity:var(--tct-dropdown-item-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4)));cursor:not-allowed}.dropdown-item{--comp-selected-icon-size:var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, var(--tct-scale-3, var(--app-scale-3x, 15px))));--comp-default-dropdown-item-padding-x:var(--app-scale-2x, 10px);width:100%;display:grid;align-items:center;justify-content:start;grid-template-columns:1fr;gap:var(--tct-scale-1, var(--app-scale-1x, 5px));min-height:var(--tct-dropdown-item-min-height, 44px);padding-left:var(--comp-default-dropdown-item-padding-x);padding-right:var(--comp-default-dropdown-item-padding-x);text-align:left;min-height:var(--tct-dropdown-item-min-height, 44px)}.dropdown-item-button:focus-visible{box-shadow:var(--tct-option-focus-box-shadow, var(--const-inset-double-focus-ring, inset var(--const-global-focus, 0 0 0 2px var(--const-focus-color, #0066CC)))) !important}.dropdown-item-btn-content{display:flex;justify-content:start;color:var(--tct-dropdown-item-font-color, var(--t-dropdown-item-font-color, inherit));font-size:var(--tct-dropdown-item-font-size, inherit);overflow:hidden;text-overflow:ellipsis}:host(:not([disabled])) .dropdown-item-button:hover,:host(:not([disabled])) .dropdown-item-button:focus{background:var(--tct-dropdown-item-hover-background, var(--tct-dropdown-item-selected-bg, var(--t-dropdown-item-selected-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, var(--t-base, #f2f2f2))))))));color:var(--tct-option-active-color, inherit)}:host(:not([disabled])) .dropdown-item-button:hover,:host(:not([disabled])) .dropdown-item-button:focus{color:var(--tct-dropdown-item-hover-color, var(--tct-dropdown-item-selected-font-color, var(--t-dropdown-item-selected-font-color, inherit)))}:host(:not([disabled])) .dropdown-item-button:focus{box-shadow:var(--tct-dropdown-item-focus-box-shadow, var(--const-inset-double-focus-ring, inset 0 0 0 2px var(--t-base), inset 0 0 0 4px var(--const-focus-color), inset 0 0 0 6px var(--t-base)))}';
|
|
127
127
|
}
|
|
128
128
|
}, [ 257, "q2-dropdown-item", {
|
|
129
129
|
active: [ 516 ],
|
|
@@ -149,7 +149,7 @@ function defineCustomElement() {
|
|
|
149
149
|
break;
|
|
150
150
|
|
|
151
151
|
case "q2-icon":
|
|
152
|
-
customElements.get(i(t)) ||
|
|
152
|
+
customElements.get(i(t)) || c();
|
|
153
153
|
}
|
|
154
154
|
}));
|
|
155
155
|
}
|
|
@@ -2,23 +2,23 @@ import { proxyCustomElement as t, HTMLElement as e, h as o, Fragment as i, trans
|
|
|
2
2
|
|
|
3
3
|
import { s, a } from "./action-sheet.js";
|
|
4
4
|
|
|
5
|
-
import { o as r, i as l, w as d, a as
|
|
5
|
+
import { o as r, i as l, w as d, a as p, h, l as c } from "./index2.js";
|
|
6
6
|
|
|
7
7
|
import { d as m } from "./click-elsewhere2.js";
|
|
8
8
|
|
|
9
|
-
import { d as
|
|
9
|
+
import { d as u } from "./q2-btn2.js";
|
|
10
10
|
|
|
11
|
-
import { d as
|
|
11
|
+
import { d as v } from "./q2-dropdown-item2.js";
|
|
12
12
|
|
|
13
13
|
import { d as b } from "./q2-icon2.js";
|
|
14
14
|
|
|
15
|
-
import { d as
|
|
15
|
+
import { d as f } from "./q2-loading2.js";
|
|
16
16
|
|
|
17
|
-
import { d as
|
|
17
|
+
import { d as w } from "./q2-option-list2.js";
|
|
18
18
|
|
|
19
19
|
import { d as g } from "./q2-popover2.js";
|
|
20
20
|
|
|
21
|
-
const
|
|
21
|
+
const y = t(class extends e {
|
|
22
22
|
constructor(t) {
|
|
23
23
|
var e;
|
|
24
24
|
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.dropdownItemSelector = "q2-dropdown-item:not([disabled]):not([separator])",
|
|
@@ -157,10 +157,10 @@ const x = t(class extends e {
|
|
|
157
157
|
this.orchestrateResolvedMenuItems();
|
|
158
158
|
}
|
|
159
159
|
alignmentHandler() {
|
|
160
|
-
|
|
160
|
+
p(this, "alignment", "popoverAlignment");
|
|
161
161
|
}
|
|
162
162
|
ariaLabelHandler() {
|
|
163
|
-
|
|
163
|
+
h(this);
|
|
164
164
|
}
|
|
165
165
|
contextHandler() {
|
|
166
166
|
this.orchestrateResolvedMenuItems();
|
|
@@ -172,7 +172,7 @@ const x = t(class extends e {
|
|
|
172
172
|
this.orchestrateResolvedMenuItems();
|
|
173
173
|
}
|
|
174
174
|
popDirectionHandler() {
|
|
175
|
-
|
|
175
|
+
p(this, "popDirection", "popoverDirection");
|
|
176
176
|
}
|
|
177
177
|
resolvedTypeHandler() {
|
|
178
178
|
this.orchestrateResolvedMenuItems();
|
|
@@ -358,7 +358,7 @@ const x = t(class extends e {
|
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
360
|
static get style() {
|
|
361
|
-
return
|
|
361
|
+
return '*{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-flex}:host([block]){display:block}:host([full-width]:not([full-width=false])){display:inline-flex;justify-content:center;width:100%}::slotted([slot=popover-top]){padding:var(--tct-dropdown-popover-top-slot-padding, 0);border-bottom:var(--tct-dropdown-slot-border-top)}::slotted([slot=popover-bottom]){padding:var(--tct-dropdown-popover-bottom-slot-padding, 0);border-top:var(--tct-dropdown-slot-border-bottom)}q2-icon{pointer-events:none;margin-block:-100px}click-elsewhere{position:relative;display:block}q2-popover{--tct-popover-min-width:var(--tct-dropdown-width, var(--t-dropdown-width));--tct-popover-padding:var(--tct-dropdown-content-padding)}';
|
|
362
362
|
}
|
|
363
363
|
}, [ 257, "q2-dropdown", {
|
|
364
364
|
additionalContext: [ 513, "additional-context" ],
|
|
@@ -416,12 +416,12 @@ const x = t(class extends e {
|
|
|
416
416
|
} ]
|
|
417
417
|
} ]);
|
|
418
418
|
|
|
419
|
-
const
|
|
419
|
+
const x = y, defineCustomElement = function() {
|
|
420
420
|
if ("undefined" == typeof customElements) return;
|
|
421
421
|
[ "q2-dropdown", "click-elsewhere", "q2-btn", "q2-dropdown-item", "q2-icon", "q2-loading", "q2-option-list", "q2-popover" ].forEach((t => {
|
|
422
422
|
switch (t) {
|
|
423
423
|
case "q2-dropdown":
|
|
424
|
-
customElements.get(n(t)) || customElements.define(n(t),
|
|
424
|
+
customElements.get(n(t)) || customElements.define(n(t), y);
|
|
425
425
|
break;
|
|
426
426
|
|
|
427
427
|
case "click-elsewhere":
|
|
@@ -429,11 +429,11 @@ const y = x, defineCustomElement = function() {
|
|
|
429
429
|
break;
|
|
430
430
|
|
|
431
431
|
case "q2-btn":
|
|
432
|
-
customElements.get(n(t)) ||
|
|
432
|
+
customElements.get(n(t)) || u();
|
|
433
433
|
break;
|
|
434
434
|
|
|
435
435
|
case "q2-dropdown-item":
|
|
436
|
-
customElements.get(n(t)) ||
|
|
436
|
+
customElements.get(n(t)) || v();
|
|
437
437
|
break;
|
|
438
438
|
|
|
439
439
|
case "q2-icon":
|
|
@@ -441,11 +441,11 @@ const y = x, defineCustomElement = function() {
|
|
|
441
441
|
break;
|
|
442
442
|
|
|
443
443
|
case "q2-loading":
|
|
444
|
-
customElements.get(n(t)) ||
|
|
444
|
+
customElements.get(n(t)) || f();
|
|
445
445
|
break;
|
|
446
446
|
|
|
447
447
|
case "q2-option-list":
|
|
448
|
-
customElements.get(n(t)) ||
|
|
448
|
+
customElements.get(n(t)) || w();
|
|
449
449
|
break;
|
|
450
450
|
|
|
451
451
|
case "q2-popover":
|
|
@@ -454,4 +454,4 @@ const y = x, defineCustomElement = function() {
|
|
|
454
454
|
}));
|
|
455
455
|
};
|
|
456
456
|
|
|
457
|
-
export {
|
|
457
|
+
export { x as Q2Dropdown, defineCustomElement }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as s, transformTag as a } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import { h as n, o as r, i as
|
|
3
|
+
import { h as n, o as r, i as o, w as l, l as d } from "./index2.js";
|
|
4
4
|
|
|
5
5
|
import { m as h } from "./mirror-emit.js";
|
|
6
6
|
|
|
@@ -10,9 +10,9 @@ import { d as p } from "./q2-btn2.js";
|
|
|
10
10
|
|
|
11
11
|
import { d as b } from "./q2-icon2.js";
|
|
12
12
|
|
|
13
|
-
import { d as
|
|
13
|
+
import { d as m } from "./q2-input2.js";
|
|
14
14
|
|
|
15
|
-
import { d as
|
|
15
|
+
import { d as u } from "./q2-loading2.js";
|
|
16
16
|
|
|
17
17
|
const f = t(class extends e {
|
|
18
18
|
constructor(t) {
|
|
@@ -73,7 +73,7 @@ const f = t(class extends e {
|
|
|
73
73
|
// #endregion
|
|
74
74
|
// #region Listeners
|
|
75
75
|
onHostElementChange(t) {
|
|
76
|
-
|
|
76
|
+
o(t, this.hostElement) && !this.hostElement.onchange && queueMicrotask((() => {
|
|
77
77
|
switch (t.detail.name) {
|
|
78
78
|
case "save":
|
|
79
79
|
if (this.hasErrors) {
|
|
@@ -93,7 +93,7 @@ const f = t(class extends e {
|
|
|
93
93
|
}));
|
|
94
94
|
}
|
|
95
95
|
delegateFocus(t) {
|
|
96
|
-
|
|
96
|
+
o(t, this.hostElement) && this.hostElement.shadowRoot.querySelector(this.editing ? "q2-input" : "q2-btn.begin-edit").focus();
|
|
97
97
|
}
|
|
98
98
|
inputFormatted(t) {
|
|
99
99
|
this.formattedValue = t.detail.formattedValue;
|
|
@@ -135,8 +135,8 @@ const f = t(class extends e {
|
|
|
135
135
|
*/ async setValue(t, e = {
|
|
136
136
|
clickSave: !0
|
|
137
137
|
}) {
|
|
138
|
-
await this.clickEdit(), await
|
|
139
|
-
await
|
|
138
|
+
await this.clickEdit(), await l(), await this.inputElement.setValue(t), e.clickSave && (await this.clickSave(),
|
|
139
|
+
await l());
|
|
140
140
|
}
|
|
141
141
|
// #endregion
|
|
142
142
|
// #region Watchers
|
|
@@ -180,6 +180,7 @@ const f = t(class extends e {
|
|
|
180
180
|
errors: this.hasErrors ? this.errors : void 0,
|
|
181
181
|
type: this.type,
|
|
182
182
|
disabled: this.disabled,
|
|
183
|
+
_updateValueOnInput: !1,
|
|
183
184
|
formatModifier: this.formatModifier,
|
|
184
185
|
maxlength: this.maxlength,
|
|
185
186
|
"test-id": "editableInput",
|
|
@@ -252,7 +253,7 @@ const f = t(class extends e {
|
|
|
252
253
|
// #region Render Methods
|
|
253
254
|
render() {
|
|
254
255
|
return s("div", {
|
|
255
|
-
key: "
|
|
256
|
+
key: "bd200b48458ec6c7cb6c6928a1758420dbca66e3"
|
|
256
257
|
}, this.generateEditStateDOM(), this.generateReadStateDOM());
|
|
257
258
|
}
|
|
258
259
|
get hostElement() {
|
|
@@ -275,7 +276,7 @@ const f = t(class extends e {
|
|
|
275
276
|
};
|
|
276
277
|
}
|
|
277
278
|
static get style() {
|
|
278
|
-
return
|
|
279
|
+
return '*{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;max-width:100%}.q2-editable-field-wrapper .begin-edit,.q2-editable-field-wrapper .save-edit,.q2-editable-field-wrapper .cancel-edit{flex:0 0 44px;--tct-btn-icon-hover-background:var(--tct-editable-field-btn-hover-background, var(--app-gray-l3, #f2f2f2));--tct-icon-stroke-primary:var(--tct-editable-field-btn-icon-stroke-primary, var(--app-gray, #747474));--tct-icon-stroke-secondary:var(--tct-editable-field-btn-icon-stroke-secondary, var(--app-gray, #747474))}.q2-editable-field-wrapper:not([hidden]){display:flex}.q2-editable-field-wrapper.editing{align-items:flex-end}:host([block]){display:block;width:100%}:host([block]) .q2-editable-field-wrapper:not([hidden]){display:grid;grid-template-columns:1fr auto auto}q2-input,.text-wrapper{margin:0 var(--tct-scale-2, var(--app-scale-2x, 10px)) 0 0}q2-input{flex:1 1 auto;min-width:170px}.text-wrapper{flex:0 auto;align-self:center;display:inline-block}:host([truncated]) .text-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}dl{margin:var(--tct-scale-0, var(--app-scale-0x, 0))}dt{font-weight:600}dd{margin-left:var(--tct-scale-0, var(--app-scale-0x, 0));display:flex;align-items:center}';
|
|
279
280
|
}
|
|
280
281
|
}, [ 1, "q2-editable-field", {
|
|
281
282
|
ariaLabel: [ 1537, "aria-label" ],
|
|
@@ -333,11 +334,11 @@ const v = f, defineCustomElement = function() {
|
|
|
333
334
|
break;
|
|
334
335
|
|
|
335
336
|
case "q2-input":
|
|
336
|
-
customElements.get(a(t)) ||
|
|
337
|
+
customElements.get(a(t)) || m();
|
|
337
338
|
break;
|
|
338
339
|
|
|
339
340
|
case "q2-loading":
|
|
340
|
-
customElements.get(a(t)) ||
|
|
341
|
+
customElements.get(a(t)) || u();
|
|
341
342
|
}
|
|
342
343
|
}));
|
|
343
344
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { proxyCustomElement as t, HTMLElement as
|
|
1
|
+
import { proxyCustomElement as t, HTMLElement as n, createEvent as e, h as i, Fragment as o, Host as a, transformTag as r } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const s = t(class extends n {
|
|
4
4
|
constructor(t) {
|
|
5
|
-
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.tctClick =
|
|
6
|
-
this.tctDrag =
|
|
5
|
+
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.tctClick = e(this, "tctClick", 7),
|
|
6
|
+
this.tctDrag = e(this, "tctDrag", 7), this.tctOpen = e(this, "tctOpen", 7), this.someText = "default",
|
|
7
7
|
this.status = 0,
|
|
8
8
|
/**
|
|
9
9
|
* Specifies the menu type.
|
|
@@ -20,8 +20,8 @@ const r = t(class extends e {
|
|
|
20
20
|
disconnectedCallback() {}
|
|
21
21
|
componentWillLoad() {}
|
|
22
22
|
componentDidLoad() {}
|
|
23
|
-
componentShouldUpdate(t,
|
|
24
|
-
return "content" ===
|
|
23
|
+
componentShouldUpdate(t, n, e) {
|
|
24
|
+
return "content" === e && t !== n;
|
|
25
25
|
}
|
|
26
26
|
componentWillUpdate() {}
|
|
27
27
|
componentDidUpdate() {}
|
|
@@ -71,11 +71,11 @@ const r = t(class extends e {
|
|
|
71
71
|
* Methods that are called when a property is updated as specified via
|
|
72
72
|
* the @Watch() decorator. List in alphabetical order of the property.
|
|
73
73
|
*/
|
|
74
|
-
contentChanged(t,
|
|
75
|
-
t !==
|
|
74
|
+
contentChanged(t, n) {
|
|
75
|
+
t !== n && this.updateState();
|
|
76
76
|
}
|
|
77
|
-
statusChanged(t,
|
|
78
|
-
t !==
|
|
77
|
+
statusChanged(t, n) {
|
|
78
|
+
t !== n && this.updateState();
|
|
79
79
|
}
|
|
80
80
|
// #endregion
|
|
81
81
|
// #region Local Methods
|
|
@@ -116,7 +116,7 @@ const r = t(class extends e {
|
|
|
116
116
|
}, i("slot", null)));
|
|
117
117
|
}
|
|
118
118
|
render() {
|
|
119
|
-
return i(
|
|
119
|
+
return i(a, {
|
|
120
120
|
key: "7878622b0f2a455617e109b9aa32290bffc00a92",
|
|
121
121
|
attribute: "navigation"
|
|
122
122
|
}, this.renderMenuInner());
|
|
@@ -135,7 +135,7 @@ const r = t(class extends e {
|
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
static get style() {
|
|
138
|
-
return
|
|
138
|
+
return '*{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}}}';
|
|
139
139
|
}
|
|
140
140
|
}, [ 257, "q2-example", {
|
|
141
141
|
content: [ 1 ],
|
|
@@ -154,11 +154,11 @@ const r = t(class extends e {
|
|
|
154
154
|
} ]
|
|
155
155
|
} ]);
|
|
156
156
|
|
|
157
|
-
const
|
|
157
|
+
const d = s, defineCustomElement = function() {
|
|
158
158
|
if ("undefined" == typeof customElements) return;
|
|
159
159
|
[ "q2-example" ].forEach((t => {
|
|
160
|
-
if ("q2-example" === t) customElements.get(
|
|
160
|
+
if ("q2-example" === t) customElements.get(r(t)) || customElements.define(r(t), s);
|
|
161
161
|
}));
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { d as Q2Example, defineCustomElement }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as r, Fragment as o, transformTag as
|
|
1
|
+
import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as r, Fragment as o, transformTag as a } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import { l as
|
|
3
|
+
import { l as s, b as n } from "./index2.js";
|
|
4
4
|
|
|
5
5
|
import { d as l } from "./q2-btn2.js";
|
|
6
6
|
|
|
@@ -12,9 +12,9 @@ import { d as p } from "./q2-link2.js";
|
|
|
12
12
|
|
|
13
13
|
import { d as f } from "./q2-list2.js";
|
|
14
14
|
|
|
15
|
-
import { d as
|
|
15
|
+
import { d as m } from "./q2-loading2.js";
|
|
16
16
|
|
|
17
|
-
const
|
|
17
|
+
const h = t(class extends e {
|
|
18
18
|
constructor(t) {
|
|
19
19
|
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.tctChange = i(this, "tctChange", 7),
|
|
20
20
|
// #region Own Properties
|
|
@@ -90,13 +90,13 @@ const m = t(class extends e {
|
|
|
90
90
|
class: "label",
|
|
91
91
|
htmlFor: "file-field",
|
|
92
92
|
"test-id": "label"
|
|
93
|
-
}, this.label ?
|
|
93
|
+
}, this.label ? s(this.label) : this.hasLabelSlotContent ? r("slot", {
|
|
94
94
|
name: "label"
|
|
95
95
|
}) : ""), this.hasDescription && r("div", {
|
|
96
96
|
class: "description",
|
|
97
97
|
id: "description",
|
|
98
98
|
"test-id": "description"
|
|
99
|
-
}, this.description ?
|
|
99
|
+
}, this.description ? s(this.description) : this.hasDescriptionSlotContent ? r("slot", {
|
|
100
100
|
name: "description"
|
|
101
101
|
}) : "")), "browse-drop" === this.variant && r("div", {
|
|
102
102
|
class: this.dropZoneClasses,
|
|
@@ -110,19 +110,19 @@ const m = t(class extends e {
|
|
|
110
110
|
class: "loading"
|
|
111
111
|
}), r("p", {
|
|
112
112
|
class: "drop-zone-text"
|
|
113
|
-
},
|
|
113
|
+
}, s("tecton.element.filePicker.uploadingEllipsis"))) || r(o, null, r("q2-icon", {
|
|
114
114
|
type: "upload"
|
|
115
115
|
}), r("p", {
|
|
116
116
|
class: "drop-zone-text"
|
|
117
117
|
}, r("q2-link", {
|
|
118
118
|
class: "browse-link",
|
|
119
|
-
label:
|
|
119
|
+
label: s("tecton.element.filePicker.browse"),
|
|
120
120
|
onTctClick: () => this.launchFileBrowser(),
|
|
121
121
|
variant: "inline",
|
|
122
122
|
"test-id": "browse-link",
|
|
123
123
|
disabled: t,
|
|
124
124
|
href: "javascript:void(0)"
|
|
125
|
-
}),
|
|
125
|
+
}), s("tecton.element.filePicker.orDragFilesHere", [ this.maxFiles ])))) || r("div", {
|
|
126
126
|
class: "browse",
|
|
127
127
|
"test-id": "browse"
|
|
128
128
|
}, r("q2-btn", {
|
|
@@ -134,7 +134,7 @@ const m = t(class extends e {
|
|
|
134
134
|
"test-id": "browse-button"
|
|
135
135
|
}, r("q2-icon", {
|
|
136
136
|
type: "paperclip"
|
|
137
|
-
}), r("span", null,
|
|
137
|
+
}), r("span", null, s("tecton.element.filePicker.attachFiles", [ this.maxFiles ])))), r("input", {
|
|
138
138
|
"aria-describedby": !this.description ? void 0 : "description",
|
|
139
139
|
class: "sr",
|
|
140
140
|
id: "file-field",
|
|
@@ -332,22 +332,22 @@ const m = t(class extends e {
|
|
|
332
332
|
getFileItemStatusMessage(t) {
|
|
333
333
|
switch (t.status) {
|
|
334
334
|
case "invalid-type":
|
|
335
|
-
return
|
|
335
|
+
return s("tecton.element.filePicker.unsupportedFileType");
|
|
336
336
|
|
|
337
337
|
case "over-size-limit":
|
|
338
|
-
return
|
|
338
|
+
return s("tecton.element.filePicker.sizeExceedsLimit");
|
|
339
339
|
|
|
340
340
|
case "over-max-files-limit":
|
|
341
|
-
return
|
|
341
|
+
return s("tecton.element.filePicker.overMaxFilesLimit");
|
|
342
342
|
|
|
343
343
|
case "in-progress":
|
|
344
|
-
return
|
|
344
|
+
return s("tecton.element.filePicker.uploadingEllipsis");
|
|
345
345
|
|
|
346
346
|
case "failed":
|
|
347
|
-
return t.message ?
|
|
347
|
+
return t.message ? s(t.message) : s("tecton.element.filePicker.uploadFailed");
|
|
348
348
|
|
|
349
349
|
default:
|
|
350
|
-
return
|
|
350
|
+
return s("tecton.element.filePicker.fileSize", [ (t.file.size / 1e6).toFixed(2) ]);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
launchFileBrowser() {
|
|
@@ -364,7 +364,7 @@ const m = t(class extends e {
|
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
366
|
static get style() {
|
|
367
|
-
return
|
|
367
|
+
return '*{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}}}*{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}}}@keyframes growFromCenterFadeIn{from{transform:scaleX(0.75) scaleY(0.75);opacity:0}to{transform:scaleX(1) scaleY(1);opacity:1}}@keyframes shrinkToCenterFadeOut{from{transform:scaleX(1) scaleY(1);opacity:1}to{transform:scaleX(0.75) scaleY(0.75);opacity:0}}:host{--comp-default-file-picker-margin:var(--tct-file-picker-margin-top, var(--t-file-picker-margin-top, var(--app-scale-5x, 25px))) 0 var(--tct-file-picker-margin-bottom, var(--t-file-picker-margin-bottom, var(--app-scale-5x, 25px)));display:block;margin:var(--tct-file-picker-margin, var(--comp-default-file-picker-margin))}.browse{text-align:left}.drop-zone-text{--tct-link-font-weight:var(--tct-file-picker-browse-link-font-weight, 700);color:var(--tct-file-picker-drop-zone-text-color, var(--t-gray-6, #4d4d4d));font-size:var(--tct-file-picker-drop-zone-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));font-weight:var(--tct-file-picker-browse-link-font-weight, 700);margin-bottom:0;margin-top:var(--tct-file-picker-drop-zone-text-margin-top, var(--app-scale-2x, 10px))}.description{color:var(--tct-file-picker-description-text-color, var(--t-gray-1, #0d0d0d));font-size:var(--tct-file-picker-description-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));font-weight:var(--tct-file-picker-description-font-weight, 400);text-align:var(--tct-file-picker-description-text-align, left)}.drop-zone{--tct-icon-stroke-primary:var(--tct-file-picker-drop-zone-icon-color, var(--t-text, #4d4d4d));--tct-icon-stroke-secondary:var(--tct-file-picker-drop-zone-icon-color, var(--t-text, #4d4d4d));align-items:center;background-color:var(--tct-file-picker-drop-zone-background, var(--t-tertiary, #e8f5fc));border-color:var(--tct-file-picker-drop-zone-border-color, var(--t-gray-8, #808080));border-radius:var(--tct-file-picker-drop-zone-border-radius, var(--app-border-radius-2, 6px));border-style:var(--tct-file-picker-drop-zone-border-style, dashed);border-width:var(--tct-file-picker-drop-zone-border-width, 2px);color:var(--tct-file-picker-drop-zone-color, #747474);display:flex;flex-direction:column;font-size:var(--tct-file-picker-drop-zone-font-size, var(--app-font-size, var(--const-px-14, 14px)));font-weight:var(--tct-file-picker-drop-zone-font-weight, 400);height:var(--tct-file-picker-drop-zone-height, 150px);justify-content:center;max-width:var(--tct-file-picker-drop-zone-max-width, 640px);min-width:var(--tct-file-picker-drop-zone-min-width, 320px);padding:var(--tct-file-picker-drop-zone-padding, 20px);text-align:center;width:var(--tct-file-picker-drop-zone-width, 100%)}.drop-zone-highlighted{background-color:var(--tct-file-picker-drop-zone-highlighted-background, var(--tertiary-d-1, #bee1f6));border-color:var(--tct-file-picker-drop-zone-highlighted-border, var(--t-gray-8, #808080))}.drop-zone-disabled{opacity:var(--tct-file-picker-drop-zone-disabled-opacity, var(--app-disabled-opacity, 0.4));cursor:not-allowed}.fade-in{animation-fill-mode:both;animation-play-state:running;animation:growFromCenterFadeIn 0.2s ease-in}.fade-out{animation:shrinkToCenterFadeOut 0.1s ease-out;animation-play-state:running;animation-fill-mode:both}.file-item{--tct-btn-icon-border-radius:var(--tct-file-picker-item-close-btn-border-radius, 4px);--tct-btn-neutral-text-active-font-color:var(--tct-file-picker-item-close-btn-active-color, var(--t-gray-1, #0d0d0d));--tct-btn-neutral-text-focus-visible-outer-ring-color:var(--tct-file-picker-item-close-btn-color, var(--t-gray-1, #0d0d0d));--tct-btn-neutral-text-font-color:var(--tct-file-picker-item-close-btn-color, var(--t-gray-1, #0d0d0d));--tct-btn-neutral-text-hover-outer-ring-color:var(--tct-file-picker-item-close-btn-hover-focus-ring-color, var(--t-gray-1, #0d0d0d));--tct-btn-icon-padding:0;--tct-icon-stroke-primary:var(--tct-file-picker-item-close-btn-color, var(--t-gray-1, #0d0d0d));--tct-item-body-font-size:var(--tct-file-picker-item-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));--tct-item-body-font-weight:var(--tct-file-picker-item-font-weight, 400);--tct-item-border-radius:var(--tct-file-picker-item-border-radius, var(--app-border-radius-3, 12px));--tct-item-border:var(--tct-file-picker-item-border-width, 1px) solid var(--tct-file-picker-item-border-color, var(--t-gray-8, #808080));--tct-item-header-color:var(--tct-file-picker-item-name-color, var(--t-gray-1, #0d0d0d));--tct-item-header-font-size:var(--tct-file-picker-item-name-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));--tct-item-header-font-weight:var(--tct-file-picker-item-name-font-weight, 400);--tct-item-padding:var(--tct-file-picker-item-padding, var(--app-scale-1x, 5px) var(--app-scale-2x, 10px));text-align:left}.file-item-info{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.file-item-loading{font-size:var(--tct-file-picker-file-item-loading-size, var(--app-scale-6x, 30px));margin-bottom:calc(var(--tct-file-picker-file-item-loading-margin-bottom, var(--app-scale-6x, 30px)) / 8.57);margin-left:calc(var(--tct-file-picker-file-item-loading-margin-bottom, var(--app-scale-1x, 5px)) / 2)}.file-list{--tct-list-item-gap:var(--tct-file-picker-section-gap, var(--app-scale-3x, 15px))}.file-list-container{max-height:var(--tct-file-picker-list-max-height, 190px);max-width:var(--tct-file-picker-drop-zone-max-width, 640px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--tct-file-picker-scrollbar-color, var(--t-a11y-gray-color, #949494)) transparent}.file-picker{display:flex;flex-direction:column;gap:var(--tct-file-picker-file-item-gap, var(--app-scale-3x, 15px))}.heading{display:flex;flex-direction:column;gap:var(--tct-file-picker-heading-gap, var(--app-scale-1x, 5px));justify-content:space-between}.icon-success,.icon-error{--tct-icon-size:var(--tct-file-picker-file-item-icon-size, var(--app-scale-6x, 30px));--tct-icon-stroke-width:2px}.label{color:var(--tct-file-picker-label-color, var(--t-gray-1, #0d0d0d));display:inline-block;font-size:var(--tct-file-picker-label-font-size, var(--app-font-size, var(--const-px-14, 14px)));font-weight:var(--tct-file-picker-label-font-weight, 600);text-align:var(--tct-file-picker-label-text-align, left)}.loading{font-size:var(--tct-file-picker-loading-size, var(--app-scale-6x, 25px))}.loading-file{color:var(--tct-file-picker-loading-file-color, var(--t-gray-1, #0d0d0d));font-size:var(--tct-file-picker-loading-file-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));font-weight:var(--tct-file-picker-loading-file-font-weight, 400);margin:0}.loading-message{color:var(--tct-file-picker-loading-message-color, var(--t-gray-1, #0d0d0d));font-size:var(--tct-file-picker-loading-message-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));font-weight:var(--tct-file-picker-loading-message-font-weight, 700);margin-bottom:var(--tct-file-picker-loading-message-margin-bottom, var(--app-scale-2x, 10px));margin-top:var(--tct-file-picker-loading-message-margin-top, var(--app-scale-2x, 10px))}.dismiss-button{--tct-btn-icon-width:var(--tct-file-picker-item-close-btn-size, 30px);--tct-btn-icon-height:var(--tct-file-picker-item-close-btn-size, 30px)}.dismiss-button:hover{--tct-icon-stroke-primary:var(--tct-file-picker-item-close-btn-hover-color, var(--t-gray-1, #0d0d0d))}[slot=action]{display:flex;align-items:center}';
|
|
368
368
|
}
|
|
369
369
|
}, [ 257, "q2-file-picker", {
|
|
370
370
|
buttonSize: [ 513, "button-size" ],
|
|
@@ -387,36 +387,36 @@ const m = t(class extends e {
|
|
|
387
387
|
} ]
|
|
388
388
|
} ]);
|
|
389
389
|
|
|
390
|
-
const v =
|
|
390
|
+
const v = h, defineCustomElement = function() {
|
|
391
391
|
if ("undefined" == typeof customElements) return;
|
|
392
392
|
[ "q2-file-picker", "q2-btn", "q2-icon", "q2-item", "q2-link", "q2-list", "q2-loading" ].forEach((t => {
|
|
393
393
|
switch (t) {
|
|
394
394
|
case "q2-file-picker":
|
|
395
|
-
customElements.get(
|
|
395
|
+
customElements.get(a(t)) || customElements.define(a(t), h);
|
|
396
396
|
break;
|
|
397
397
|
|
|
398
398
|
case "q2-btn":
|
|
399
|
-
customElements.get(
|
|
399
|
+
customElements.get(a(t)) || l();
|
|
400
400
|
break;
|
|
401
401
|
|
|
402
402
|
case "q2-icon":
|
|
403
|
-
customElements.get(
|
|
403
|
+
customElements.get(a(t)) || c();
|
|
404
404
|
break;
|
|
405
405
|
|
|
406
406
|
case "q2-item":
|
|
407
|
-
customElements.get(
|
|
407
|
+
customElements.get(a(t)) || d();
|
|
408
408
|
break;
|
|
409
409
|
|
|
410
410
|
case "q2-link":
|
|
411
|
-
customElements.get(
|
|
411
|
+
customElements.get(a(t)) || p();
|
|
412
412
|
break;
|
|
413
413
|
|
|
414
414
|
case "q2-list":
|
|
415
|
-
customElements.get(
|
|
415
|
+
customElements.get(a(t)) || f();
|
|
416
416
|
break;
|
|
417
417
|
|
|
418
418
|
case "q2-loading":
|
|
419
|
-
customElements.get(
|
|
419
|
+
customElements.get(a(t)) || m();
|
|
420
420
|
}
|
|
421
421
|
}));
|
|
422
422
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { proxyCustomElement as
|
|
1
|
+
import { proxyCustomElement as t, HTMLElement as n, h as o, transformTag as a } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
constructor(
|
|
5
|
-
super(), !1 !==
|
|
3
|
+
const i = t(class extends n {
|
|
4
|
+
constructor(t) {
|
|
5
|
+
super(), !1 !== t && this.__registerHost(), this.__attachShadow(),
|
|
6
6
|
// #region Public Property API
|
|
7
7
|
/** Changes the vertical spacing of the form-fields contained within the component's slot */
|
|
8
8
|
this.spacing = "normal";
|
|
@@ -10,25 +10,25 @@ const a = o(class extends n {
|
|
|
10
10
|
// #endregion
|
|
11
11
|
// #region Render Methods
|
|
12
12
|
render() {
|
|
13
|
-
return
|
|
13
|
+
return o("div", {
|
|
14
14
|
key: "b01b965b3fc436b4155245fa747e4c8922304114",
|
|
15
15
|
class: "container"
|
|
16
|
-
},
|
|
16
|
+
}, o("slot", {
|
|
17
17
|
key: "039fd27f2a80825f14a6247eb330eac983638389"
|
|
18
18
|
}));
|
|
19
19
|
}
|
|
20
20
|
static get style() {
|
|
21
|
-
return
|
|
21
|
+
return '*{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([spacing=none]){--comp-spacing-none:var(--app-scale-0x, 0px);--comp-spacing:var(--tct-form-spacing-none, var(--comp-spacing-none))}:host([spacing=compact]){--comp-spacing-compact:var(--app-scale-3x, 15px);--comp-spacing:var(--tct-form-spacing-compact, var(--comp-spacing-compact))}:host(:not([spacing])),:host([spacing=normal]){--comp-spacing-normal:var(--app-scale-5x, 25px);--comp-spacing:var(--tct-form-spacing-normal, var(--comp-spacing-normal))}:host([spacing=comfortable]){--comp-spacing-comfortable:var(--app-scale-7x, 35px);--comp-spacing:var(--tct-form-spacing-comfortable, var(--comp-spacing-comfortable))}.container{--tct-input-margin:0;--tct-select-margin:0;--tct-calendar-margin:0;--tct-file-picker-margin:0;--tct-textarea-margin:0;--tct-checkbox-group-margin:0;--tct-radio-group-margin:0;display:flex;flex-direction:column;gap:var(--comp-spacing)}';
|
|
22
22
|
}
|
|
23
23
|
}, [ 257, "q2-form", {
|
|
24
24
|
spacing: [ 513 ]
|
|
25
25
|
} ]);
|
|
26
26
|
|
|
27
|
-
const
|
|
27
|
+
const e = i, defineCustomElement = function() {
|
|
28
28
|
if ("undefined" == typeof customElements) return;
|
|
29
|
-
[ "q2-form" ].forEach((
|
|
30
|
-
if ("q2-form" ===
|
|
29
|
+
[ "q2-form" ].forEach((t => {
|
|
30
|
+
if ("q2-form" === t) customElements.get(a(t)) || customElements.define(a(t), i);
|
|
31
31
|
}));
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { e as Q2Form, defineCustomElement }
|