@tet/tet-components 1.3.15-testing → 1.3.16-staging
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/cjs/{address-41ac19c2.js → address-43798f0e.js} +1 -1
- package/dist/cjs/{assets-0bdcfba7.js → assets-398e0a21.js} +1 -1
- package/dist/cjs/{async-request-42567909.js → async-request-066f73c7.js} +1 -1
- package/dist/cjs/{http-codes-bec9330b.js → http-codes-a5ff5305.js} +1 -1
- package/dist/cjs/{index-84ede372.js → index-cac5ef8f.js} +1 -1
- package/dist/cjs/{index-f559cb2e.js → index-d323e22a.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{old-utils-31714a40.js → old-utils-8686e8d2.js} +1 -1
- package/dist/cjs/{phone-96a87ac9.js → phone-49819e50.js} +2 -2
- package/dist/cjs/tet-accordion.cjs.entry.js +11 -9
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +35 -7
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +4 -4
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-colors.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-card_4.cjs.entry.js +2 -2
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards.cjs.entry.js +3 -3
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +5 -5
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input_2.cjs.entry.js +42 -25
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +3 -3
- package/dist/cjs/tet-range-slider_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-referral.cjs.entry.js +3 -3
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
- package/dist/cjs/{translations-9c00ed63.js → translations-87c7b9eb.js} +1 -1
- package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.js +41 -7
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +6 -0
- package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.css +6 -0
- package/dist/collection/components/basic/buttons/tet-radio/test/tet-radio.spec.js +15 -12
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.css +6 -0
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +1 -1
- package/dist/collection/components/simple/inputs/tet-input/tet-input.css +6 -0
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.css +55 -18
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +53 -15
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.css +6 -0
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.css +34 -13
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +21 -4
- package/dist/collection/components/simple/lists/tet-text-list/tet-text-list.css +6 -0
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.css +3 -0
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +27 -7
- package/dist/collection/components/simple/text-blocks/tet-dialog/tet-dialog.css +6 -0
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.css +6 -0
- package/dist/collection/components/views/tet-cloud-configurator/tet-cloud-configurator.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-2aa241a0.js → p-085c661b.js} +7 -7
- package/dist/components/{p-69091f37.js → p-08daefb4.js} +3 -3
- package/dist/components/{p-8e8d9413.js → p-0a6bba40.js} +3 -3
- package/dist/components/{p-8c37c237.js → p-0b9566f2.js} +1 -1
- package/dist/components/{p-77ad94ee.js → p-14fb8efa.js} +41 -21
- package/dist/components/{p-0c8166dc.js → p-1939b1fe.js} +1 -1
- package/dist/components/{p-2d346fc0.js → p-19ba771c.js} +1 -1
- package/dist/components/{p-42084b84.js → p-1e77e72a.js} +3 -3
- package/dist/components/{p-39e60f54.js → p-222c69e5.js} +2 -2
- package/dist/components/{p-615f12c6.js → p-2927a7df.js} +38 -10
- package/dist/components/{p-b9538963.js → p-293dfb9f.js} +3 -3
- package/dist/components/{p-ce45b9fe.js → p-2c4d91f9.js} +1 -1
- package/dist/components/{p-ed842a53.js → p-38631790.js} +2 -2
- package/dist/components/{p-d60c709d.js → p-3be1c277.js} +1 -1
- package/dist/components/{p-48546872.js → p-3e5edc95.js} +1 -1
- package/dist/components/{p-e058dd42.js → p-48ba39fe.js} +3 -3
- package/dist/components/{p-4c2011aa.js → p-490501d6.js} +1 -1
- package/dist/components/{p-1a63810d.js → p-56eca88b.js} +2 -2
- package/dist/components/{p-37ed3ebb.js → p-5749376d.js} +1 -1
- package/dist/components/{p-06ce2081.js → p-6ebb5d88.js} +9 -9
- package/dist/components/{p-ae1f41ee.js → p-70f08f08.js} +1 -1
- package/dist/components/{p-c9d8c1ea.js → p-73e165f1.js} +7 -7
- package/dist/components/{p-cbbc6864.js → p-79933eb4.js} +1 -1
- package/dist/components/{p-b3383d3c.js → p-7c2459a6.js} +1 -1
- package/dist/components/{p-3a0922e3.js → p-87ddf844.js} +3 -3
- package/dist/components/{p-7ebcb37d.js → p-8a97f36d.js} +3 -3
- package/dist/components/{p-a0d406ca.js → p-8f91eb96.js} +1 -1
- package/dist/components/{p-311649f5.js → p-919f56e1.js} +1 -1
- package/dist/components/{p-d5eb0873.js → p-9490192c.js} +5 -5
- package/dist/components/{p-b1ff0a96.js → p-9cd61279.js} +4 -4
- package/dist/components/{p-a63d3582.js → p-a156c1d8.js} +2 -2
- package/dist/components/{p-6f457b76.js → p-a2450ff0.js} +1 -1
- package/dist/components/{p-58df31fd.js → p-a380ee65.js} +3 -3
- package/dist/components/{p-77181816.js → p-a54aa1ba.js} +2 -2
- package/dist/components/{p-74ff4f72.js → p-b6f2637b.js} +1 -1
- package/dist/components/{p-470276e6.js → p-c0f64055.js} +1 -1
- package/dist/components/{p-da4136f0.js → p-c608cf15.js} +4 -4
- package/dist/components/{p-7675fd61.js → p-cbe71510.js} +15 -9
- package/dist/components/{p-72b8586b.js → p-cee445a7.js} +1 -1
- package/dist/components/{p-26eff7ab.js → p-d1281fd5.js} +9 -9
- package/dist/components/{p-a1d2e915.js → p-e3798de6.js} +1 -1
- package/dist/components/{p-f13c6dd4.js → p-e49d077d.js} +7 -7
- package/dist/components/{p-c138d7c0.js → p-e5bc5637.js} +1 -1
- package/dist/components/{p-7fa5304b.js → p-f6afec30.js} +1 -1
- package/dist/components/{p-3e77507d.js → p-f7b6f6fb.js} +5 -5
- package/dist/components/{p-97626943.js → p-f9186ae2.js} +11 -11
- package/dist/components/{p-d51e3de1.js → p-fdadb082.js} +1 -1
- package/dist/components/tet-accordion.js +13 -10
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +25 -25
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-asset-addresses.js +12 -12
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-service-calculator.js +8 -8
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +3 -3
- package/dist/components/tet-business-lines.js +5 -5
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +12 -12
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +10 -10
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +9 -9
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-customer-assets.js +8 -8
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +6 -6
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +2 -2
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +10 -10
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +2 -2
- package/dist/components/tet-news-card-list.js +4 -4
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +5 -5
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +3 -3
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v2.js +5 -5
- package/dist/components/tet-thank-you-view.js +3 -3
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +1 -1
- package/dist/components/tet-tv-gift-list.js +2 -2
- package/dist/esm/{address-9dfd3c9e.js → address-eaf94935.js} +1 -1
- package/dist/esm/{assets-c074d2b9.js → assets-df265bf2.js} +1 -1
- package/dist/esm/{async-request-754d6810.js → async-request-9af775da.js} +1 -1
- package/dist/esm/{http-codes-42779195.js → http-codes-a07509c3.js} +1 -1
- package/dist/esm/{index-7f1e2a22.js → index-8ac89426.js} +1 -1
- package/dist/esm/{index-1bf36cb9.js → index-a7cd7688.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{old-utils-7140ef76.js → old-utils-9f0283e1.js} +1 -1
- package/dist/esm/{phone-66ff151d.js → phone-ea9ddef1.js} +2 -2
- package/dist/esm/tet-accordion.entry.js +11 -9
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +4 -4
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.entry.js +35 -7
- package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +4 -4
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-checkbox.entry.js +2 -2
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +4 -4
- package/dist/esm/tet-colors.entry.js +1 -1
- package/dist/esm/tet-compare-card_4.entry.js +2 -2
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards.entry.js +3 -3
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +5 -5
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +3 -3
- package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +4 -4
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +4 -4
- package/dist/esm/tet-label.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +5 -5
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +1 -1
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input_2.entry.js +42 -25
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +3 -3
- package/dist/esm/tet-range-slider_2.entry.js +2 -2
- package/dist/esm/tet-referral.entry.js +3 -3
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-stepper-v2.entry.js +1 -1
- package/dist/esm/tet-stepper.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +2 -2
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tooltip.entry.js +1 -1
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- package/dist/esm/{translations-5c723a5f.js → translations-27779e79.js} +1 -1
- package/dist/tet-components/{p-bcbafa69.entry.js → p-01b57c42.entry.js} +1 -1
- package/dist/tet-components/{p-86737a3f.entry.js → p-09a4a4d9.entry.js} +1 -1
- package/dist/tet-components/{p-bb20a506.entry.js → p-0c193a1b.entry.js} +1 -1
- package/dist/tet-components/{p-97d17e43.entry.js → p-114d1662.entry.js} +1 -1
- package/dist/tet-components/{p-ff411417.entry.js → p-144aac33.entry.js} +1 -1
- package/dist/tet-components/{p-375356e4.entry.js → p-1709b724.entry.js} +1 -1
- package/dist/tet-components/p-1b49c964.entry.js +1 -0
- package/dist/tet-components/{p-571df0e8.entry.js → p-1b7338c5.entry.js} +1 -1
- package/dist/tet-components/{p-b89b20c1.entry.js → p-1b95545f.entry.js} +1 -1
- package/dist/tet-components/{p-13ed39b0.entry.js → p-1d3a41b1.entry.js} +1 -1
- package/dist/tet-components/{p-b65a4985.entry.js → p-259fab25.entry.js} +1 -1
- package/dist/tet-components/{p-520c7411.entry.js → p-28a58203.entry.js} +1 -1
- package/dist/tet-components/{p-6282287e.entry.js → p-2a496a51.entry.js} +1 -1
- package/dist/tet-components/{p-d08727d1.entry.js → p-2ef4438f.entry.js} +1 -1
- package/dist/tet-components/{p-ca6856a3.js → p-2f34a2cf.js} +1 -1
- package/dist/tet-components/{p-25498380.entry.js → p-31f2895c.entry.js} +1 -1
- package/dist/tet-components/{p-8b5a72c6.entry.js → p-32e8b8b7.entry.js} +1 -1
- package/dist/tet-components/{p-9a185f40.entry.js → p-33910c2c.entry.js} +1 -1
- package/dist/tet-components/{p-21f9d868.entry.js → p-35854e8b.entry.js} +1 -1
- package/dist/tet-components/{p-21ed105d.entry.js → p-369b4919.entry.js} +1 -1
- package/dist/tet-components/{p-70ee43df.entry.js → p-379e39ff.entry.js} +1 -1
- package/dist/tet-components/{p-1ae8df7d.js → p-4804ed9c.js} +1 -1
- package/dist/tet-components/{p-13eee7f0.entry.js → p-480f92de.entry.js} +1 -1
- package/dist/tet-components/{p-79698dc2.entry.js → p-481ce109.entry.js} +1 -1
- package/dist/tet-components/{p-10a136f3.entry.js → p-48342b65.entry.js} +1 -1
- package/dist/tet-components/{p-17219f8f.js → p-58915a2d.js} +1 -1
- package/dist/tet-components/{p-231c26ec.entry.js → p-5963bf4e.entry.js} +1 -1
- package/dist/tet-components/{p-10629eb6.entry.js → p-5ad89178.entry.js} +1 -1
- package/dist/tet-components/{p-92aac88e.entry.js → p-5fdbb8da.entry.js} +1 -1
- package/dist/tet-components/{p-774b7986.entry.js → p-60cdc0d5.entry.js} +1 -1
- package/dist/tet-components/{p-433fa62c.entry.js → p-6341cdcd.entry.js} +1 -1
- package/dist/tet-components/p-63eb318e.entry.js +1 -0
- package/dist/tet-components/{p-1ec7f341.js → p-67c5dc0a.js} +1 -1
- package/dist/tet-components/{p-6a22f0ca.entry.js → p-68a2f1fc.entry.js} +1 -1
- package/dist/tet-components/{p-10655277.entry.js → p-6e646a3e.entry.js} +1 -1
- package/dist/tet-components/{p-c834c9d6.entry.js → p-750b1767.entry.js} +1 -1
- package/dist/tet-components/p-75255c7b.entry.js +1 -0
- package/dist/tet-components/{p-7446fff2.entry.js → p-76ba5637.entry.js} +1 -1
- package/dist/tet-components/{p-8b3f917b.entry.js → p-80d64c6f.entry.js} +1 -1
- package/dist/tet-components/{p-39de75af.js → p-81274499.js} +1 -1
- package/dist/tet-components/{p-e5a15112.entry.js → p-84d19b3d.entry.js} +1 -1
- package/dist/tet-components/{p-82612880.entry.js → p-880bee49.entry.js} +1 -1
- package/dist/tet-components/{p-78a6937d.entry.js → p-8b444fb3.entry.js} +1 -1
- package/dist/tet-components/{p-2606db0f.entry.js → p-8d903b84.entry.js} +1 -1
- package/dist/tet-components/p-9a62d211.entry.js +1 -0
- package/dist/tet-components/{p-83fcc54f.entry.js → p-9f865c00.entry.js} +1 -1
- package/dist/tet-components/{p-d827367d.entry.js → p-a1cd8baf.entry.js} +1 -1
- package/dist/tet-components/{p-7047a0fd.entry.js → p-a3ede786.entry.js} +1 -1
- package/dist/tet-components/{p-c47d4570.entry.js → p-a638ffa6.entry.js} +1 -1
- package/dist/tet-components/{p-7a39630d.entry.js → p-a6713bbb.entry.js} +1 -1
- package/dist/tet-components/{p-d51fb8f0.entry.js → p-a6b4abf5.entry.js} +1 -1
- package/dist/tet-components/{p-df78ab8d.entry.js → p-a9a346f2.entry.js} +1 -1
- package/dist/tet-components/{p-134a9b63.entry.js → p-b1924151.entry.js} +1 -1
- package/dist/tet-components/{p-25d1ad10.entry.js → p-b2079f43.entry.js} +1 -1
- package/dist/tet-components/{p-8a891141.entry.js → p-b63148be.entry.js} +1 -1
- package/dist/tet-components/{p-ba896842.entry.js → p-ba32b273.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-baa9231f.js} +1 -1
- package/dist/tet-components/p-badeb8d1.entry.js +1 -0
- package/dist/tet-components/{p-caf08859.entry.js → p-bc92fd44.entry.js} +1 -1
- package/dist/tet-components/{p-4b9d2f1e.js → p-c148e88d.js} +1 -1
- package/dist/tet-components/{p-7123c8cb.js → p-c799155b.js} +1 -1
- package/dist/tet-components/{p-66d62f9d.entry.js → p-c8b817e2.entry.js} +1 -1
- package/dist/tet-components/{p-d0f51b52.entry.js → p-c92f33ea.entry.js} +1 -1
- package/dist/tet-components/p-d054c40e.entry.js +1 -0
- package/dist/tet-components/{p-ddd72b3a.entry.js → p-d0dce052.entry.js} +1 -1
- package/dist/tet-components/{p-db057465.entry.js → p-d26e2e6c.entry.js} +1 -1
- package/dist/tet-components/{p-9dc437dc.entry.js → p-d4a698e1.entry.js} +1 -1
- package/dist/tet-components/{p-010608e8.js → p-d92c3b28.js} +1 -1
- package/dist/tet-components/{p-af62d49e.entry.js → p-dda84c25.entry.js} +1 -1
- package/dist/tet-components/{p-a96ad9aa.entry.js → p-dff937d1.entry.js} +1 -1
- package/dist/tet-components/{p-1e149f2b.entry.js → p-e41321de.entry.js} +1 -1
- package/dist/tet-components/{p-03ed0a4f.entry.js → p-ec45b752.entry.js} +1 -1
- package/dist/tet-components/{p-85495eff.entry.js → p-ec79333e.entry.js} +1 -1
- package/dist/tet-components/{p-a82c303b.entry.js → p-ef512ce2.entry.js} +1 -1
- package/dist/tet-components/{p-8dc8c7c1.entry.js → p-f020eede.entry.js} +1 -1
- package/dist/tet-components/{p-4592cbaf.entry.js → p-fd7c6d47.entry.js} +1 -1
- package/dist/tet-components/tet-components.css +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/address/tet-autocomplete/tet-autocomplete.d.ts +2 -0
- package/dist/types/components/simple/inputs/tet-number-input/tet-number-input.d.ts +13 -4
- package/dist/types/components/simple/inputs/tet-stepper-input/tet-stepper-input.d.ts +4 -0
- package/dist/types/components/simple/structural/tet-accordion/tet-accordion.d.ts +4 -0
- package/dist/types/components.d.ts +24 -0
- package/package.json +1 -1
- package/dist/tet-components/p-060efd40.entry.js +0 -1
- package/dist/tet-components/p-4a491a3c.entry.js +0 -1
- package/dist/tet-components/p-81cda6d4.entry.js +0 -1
- package/dist/tet-components/p-9028c0e1.entry.js +0 -1
- package/dist/tet-components/p-d6f4bb2f.entry.js +0 -1
- package/dist/tet-components/p-e338cefd.entry.js +0 -1
|
@@ -114,12 +114,18 @@
|
|
|
114
114
|
* @prop --number-input-max-width: sets inputs max-width
|
|
115
115
|
*/
|
|
116
116
|
--number-input-height: 3.5rem;
|
|
117
|
-
--number-input-background-color: var(--
|
|
117
|
+
--number-input-background-color: var(--tc-layer-primary);
|
|
118
118
|
--number-input-border-radius: 0.75rem;
|
|
119
|
-
--number-input-border-color:
|
|
120
|
-
--number-input-border-color-active:
|
|
121
|
-
--number-input-border-color-error:
|
|
119
|
+
--number-input-border-color: var(--tc-border-secondary);
|
|
120
|
+
--number-input-border-color-active: var(--tc-border-primary);
|
|
121
|
+
--number-input-border-color-error: var( --tc-alert-accent-error);
|
|
122
|
+
--number-input-text-color: var(--tc-text-primary);
|
|
123
|
+
--number-input-text-secondary-color: var(--tc-text-secondary);
|
|
124
|
+
--number-input-dropdown-active: var(--tc-layer-tertiary);
|
|
122
125
|
--number-input-max-width: 21.625rem;
|
|
126
|
+
--number-input-disabled: var(--tc-background-secondary);
|
|
127
|
+
--number-input-disabled-text: var(--tc-text-tertiary);
|
|
128
|
+
--number-input-dropdown-border: var(--tc-border-tertiary);
|
|
123
129
|
max-width: var(--number-input-max-width);
|
|
124
130
|
display: block;
|
|
125
131
|
}
|
|
@@ -128,10 +134,22 @@
|
|
|
128
134
|
display: flex;
|
|
129
135
|
flex-direction: column;
|
|
130
136
|
}
|
|
137
|
+
.number-input.dark {
|
|
138
|
+
--number-input-background-color: var(--tc-layer-primary-dark);
|
|
139
|
+
--number-input-border-color: var(--tc-border-secondary-dark);
|
|
140
|
+
--number-input-border-color-active: var(--tc-border-primary-dark);
|
|
141
|
+
--number-input-border-color-error: var(--tc-alert-accent-error-dark);
|
|
142
|
+
--number-input-text-color: var(--tc-text-primary-dark);
|
|
143
|
+
--number-input-text-secondary-color: var(--tc-text-secondary-dark);
|
|
144
|
+
--number-input-dropdown-active: var(--tc-layer-tertiary-dark);
|
|
145
|
+
--number-input-disabled: var(--tc-background-secondary-dark);
|
|
146
|
+
--number-input-disabled-text: var(--tc-text-tertiary-dark);
|
|
147
|
+
--number-input-dropdown-border: var(--tc-border-tertiary-dark);
|
|
148
|
+
}
|
|
131
149
|
.number-input__label {
|
|
132
150
|
margin-bottom: 0.25rem;
|
|
133
151
|
font: 500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
134
|
-
color:
|
|
152
|
+
color: var(--number-input-text-secondary-color);
|
|
135
153
|
}
|
|
136
154
|
.number-input__input {
|
|
137
155
|
border: none;
|
|
@@ -148,7 +166,7 @@
|
|
|
148
166
|
}
|
|
149
167
|
.number-input__input-suffix {
|
|
150
168
|
font: 400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
|
|
151
|
-
color:
|
|
169
|
+
color: var(--number-input-text-secondary-color);
|
|
152
170
|
margin-left: 0.25rem;
|
|
153
171
|
}
|
|
154
172
|
.number-input__input-invisible {
|
|
@@ -160,7 +178,7 @@
|
|
|
160
178
|
.number-input__input-container {
|
|
161
179
|
position: relative;
|
|
162
180
|
display: flex;
|
|
163
|
-
border: 0.
|
|
181
|
+
border: 0.063rem solid var(--number-input-border-color);
|
|
164
182
|
align-items: baseline;
|
|
165
183
|
justify-content: center;
|
|
166
184
|
padding: 0.9375rem;
|
|
@@ -170,9 +188,16 @@
|
|
|
170
188
|
background-color: var(--number-input-background-color);
|
|
171
189
|
border-radius: var(--number-input-border-radius);
|
|
172
190
|
}
|
|
173
|
-
.number-input__input-container:focus-within
|
|
191
|
+
.number-input__input-container:focus-within:not(.dropdown-open) {
|
|
192
|
+
outline: 2px solid var(--tc-blue-50-dark);
|
|
193
|
+
outline-offset: 2px;
|
|
194
|
+
}
|
|
195
|
+
.number-input__input-container .dropdown-open .number-input__input:focus {
|
|
196
|
+
outline: none !important;
|
|
197
|
+
}
|
|
198
|
+
.number-input__input-container:active {
|
|
174
199
|
outline: none;
|
|
175
|
-
border: 0.
|
|
200
|
+
border: 0.063rem solid var(--number-input-border-color-active);
|
|
176
201
|
}
|
|
177
202
|
.number-input__input--hidden {
|
|
178
203
|
display: none;
|
|
@@ -180,7 +205,7 @@
|
|
|
180
205
|
.number-input__helper-text {
|
|
181
206
|
margin-top: 0.25rem;
|
|
182
207
|
font: 400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
183
|
-
color:
|
|
208
|
+
color: var(--number-input-text-secondary-color);
|
|
184
209
|
}
|
|
185
210
|
.number-input__cheveron {
|
|
186
211
|
display: flex;
|
|
@@ -196,15 +221,15 @@
|
|
|
196
221
|
--button-padding-small: 0.5rem;
|
|
197
222
|
}
|
|
198
223
|
.number-input__dropdown {
|
|
199
|
-
border: 0.0625rem solid
|
|
224
|
+
border: 0.0625rem solid var(--number-input-dropdown-border);
|
|
200
225
|
position: absolute;
|
|
201
226
|
width: 100%;
|
|
202
227
|
top: 3.625rem;
|
|
203
|
-
background-color: var(--
|
|
228
|
+
background-color: var(--number-input-background-color);
|
|
204
229
|
padding: 0.625rem 0;
|
|
205
230
|
border-radius: 0.75rem;
|
|
206
231
|
z-index: 1;
|
|
207
|
-
|
|
232
|
+
color: var(--number-input-text-color);
|
|
208
233
|
}
|
|
209
234
|
.number-input__dropdown-item {
|
|
210
235
|
display: flex;
|
|
@@ -213,25 +238,30 @@
|
|
|
213
238
|
font: 500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
214
239
|
}
|
|
215
240
|
.number-input__dropdown-item.active {
|
|
216
|
-
background-color:
|
|
241
|
+
background-color: var(--number-input-dropdown-active);
|
|
242
|
+
}
|
|
243
|
+
.number-input__dropdown-item.focus {
|
|
244
|
+
outline: 2px solid var(--tc-blue-50-dark);
|
|
245
|
+
outline-offset: 2px;
|
|
217
246
|
}
|
|
218
247
|
.number-input__dropdown-item:hover {
|
|
219
|
-
background-color:
|
|
248
|
+
background-color: var(--number-input-dropdown-active);
|
|
220
249
|
}
|
|
221
250
|
.number-input__dropdown-item .check {
|
|
222
251
|
margin-left: auto;
|
|
223
252
|
}
|
|
224
253
|
.number-input.disabled .number-input__input-container,
|
|
225
254
|
.number-input.disabled .number-input__input {
|
|
226
|
-
background-color:
|
|
255
|
+
background-color: var(--number-input-disabled);
|
|
256
|
+
border-color: var(--number-input-disabled);
|
|
227
257
|
cursor: not-allowed;
|
|
228
258
|
}
|
|
229
259
|
.number-input.disabled .number-input__input,
|
|
230
260
|
.number-input.disabled .number-input__input-suffix {
|
|
231
|
-
color:
|
|
261
|
+
color: var(--number-input-disabled-text);
|
|
232
262
|
}
|
|
233
263
|
.number-input.error .number-input__input-container {
|
|
234
|
-
border: 0.
|
|
264
|
+
border: 0.063rem solid var(--number-input-border-color-error);
|
|
235
265
|
}
|
|
236
266
|
.number-input.error .number-input__helper-text {
|
|
237
267
|
color: var(--number-input-border-color-error);
|
|
@@ -240,4 +270,11 @@
|
|
|
240
270
|
.number-input .number-input__label {
|
|
241
271
|
font: 500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
|
|
242
272
|
}
|
|
273
|
+
}
|
|
274
|
+
.number-input tet-icon {
|
|
275
|
+
--icon-color: var(--number-input-text-color);
|
|
276
|
+
}
|
|
277
|
+
.number-input .number-input__input {
|
|
278
|
+
color: var(--number-input-text-color);
|
|
279
|
+
background-color: var(--number-input-background-color);
|
|
243
280
|
}
|
|
@@ -23,12 +23,6 @@ function focusNextElement(element) {
|
|
|
23
23
|
*/
|
|
24
24
|
export class TetInput {
|
|
25
25
|
constructor() {
|
|
26
|
-
/**
|
|
27
|
-
* Move focus to input element
|
|
28
|
-
*/
|
|
29
|
-
this.shiftFocus = () => {
|
|
30
|
-
this.inputElement.focus();
|
|
31
|
-
};
|
|
32
26
|
/**
|
|
33
27
|
* Changes dropdown state
|
|
34
28
|
*/
|
|
@@ -44,16 +38,27 @@ export class TetInput {
|
|
|
44
38
|
/**
|
|
45
39
|
* Renders dropdown content
|
|
46
40
|
*/
|
|
41
|
+
this.dropdownItemRefs = [];
|
|
47
42
|
this.renderDropdownContent = () => {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
return this.suffixes.map((_suffix) => {
|
|
43
|
+
this.dropdownItemRefs = [];
|
|
44
|
+
if (!this.suffixes)
|
|
45
|
+
return [];
|
|
46
|
+
return this.suffixes.map((_suffix, i) => {
|
|
52
47
|
const isActive = this.suffix === _suffix;
|
|
53
|
-
return (h("div", { onClick: () => this.onDropdownItemClick(_suffix), onKeyDown: this.handleOptionKeydown(() => this.onDropdownItemClick(_suffix)), class: { 'number-input__dropdown-item': true, 'active': isActive }, tabIndex: 0 }, _suffix.name, isActive && h("tet-icon", { class: "check", name: "check" })));
|
|
48
|
+
return (h("div", { ref: el => { this.dropdownItemRefs[i] = el; }, onClick: () => this.onDropdownItemClick(_suffix), onKeyDown: this.handleOptionKeydown(() => this.onDropdownItemClick(_suffix)), class: { 'number-input__dropdown-item': true, 'active': isActive }, tabIndex: 0 }, _suffix.name, isActive && h("tet-icon", { class: "check", name: "check" })));
|
|
54
49
|
});
|
|
55
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* Move focus from input element to dropdown
|
|
53
|
+
*/
|
|
54
|
+
this.handleContainerKeydown = (e) => {
|
|
55
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
56
|
+
e.preventDefault();
|
|
57
|
+
this.isOpen = !this.isOpen;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
56
60
|
this.label = undefined;
|
|
61
|
+
this.theme = 'light';
|
|
57
62
|
this.accessibilityLabel = '';
|
|
58
63
|
this.buttonAccessibilityLabel = '';
|
|
59
64
|
this.helperText = undefined;
|
|
@@ -113,9 +118,7 @@ export class TetInput {
|
|
|
113
118
|
* Listens for focus to select value
|
|
114
119
|
*/
|
|
115
120
|
onFocus() {
|
|
116
|
-
|
|
117
|
-
this.inputElement.select();
|
|
118
|
-
}
|
|
121
|
+
this.inputElement.select();
|
|
119
122
|
}
|
|
120
123
|
/** A listener to suffix values changes. Updates `isValuesHidden` state. */
|
|
121
124
|
onSuffixChange(suffix) {
|
|
@@ -214,13 +217,27 @@ export class TetInput {
|
|
|
214
217
|
this.inputValueChanged.emit({ value: this.value, suffix: this.suffix });
|
|
215
218
|
this.onChevronClick();
|
|
216
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
* Move focus from input element to dropdown
|
|
222
|
+
*/
|
|
223
|
+
onDropdownOpenChanged(isDropdownOpen) {
|
|
224
|
+
if (isDropdownOpen && this.suffixes) {
|
|
225
|
+
setTimeout(() => {
|
|
226
|
+
const activeSuffixIndex = this.suffixes.findIndex(suffixOption => suffixOption === this.suffix);
|
|
227
|
+
const indexToFocus = activeSuffixIndex !== -1 ? activeSuffixIndex : 0;
|
|
228
|
+
const dropdownOptionToFocus = this.dropdownItemRefs[indexToFocus];
|
|
229
|
+
dropdownOptionToFocus === null || dropdownOptionToFocus === void 0 ? void 0 : dropdownOptionToFocus.focus();
|
|
230
|
+
}, 0);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
217
233
|
/**
|
|
218
234
|
* Renders component
|
|
219
235
|
* @returns {FunctionalComponent}
|
|
220
236
|
*/
|
|
221
237
|
render() {
|
|
222
238
|
const { label, helperText, value, disabled, error, completed, isOpen, suffix } = this;
|
|
223
|
-
return (h("div", { key: '
|
|
239
|
+
return (h("div", { key: 'ad2189f28458f296fd76390eb07996637f0f99d7', class: { 'number-input': true, [this.theme]: !!this.theme,
|
|
240
|
+
'disabled': disabled, 'error': error, 'completed': completed } }, !!label && (h("label", { key: '146fc7c71058fa0c1f81ed56081f49b054faff61', class: "number-input__label", htmlFor: "number-input" }, label)), h("div", { key: 'f7f5b78ebd0b02fbad5cdc0c285c656d9b03354b', class: { 'number-input__input-container': true, 'dropdown-open': this.isOpen }, onKeyDown: this.handleContainerKeydown }, h("input", Object.assign({ key: '4058bb72542f82be4ec7c692642e2066af44e3e5', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: { 'number-input__input': true, 'number-input__input--hidden': this.isValueHidden }, disabled: disabled, value: value, type: "number", id: "number-input" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("div", { key: '5a51da6e82e6bb430242f3fb1d630a764b6b1077', ref: (htmlInputElement) => (this.inputElementHidden = htmlInputElement), class: "number-input__input-invisible" }, value), !!suffix && h("div", { key: '2100c7f19934b51a7a46e53139e127c0f935e177', class: "number-input__input-suffix" }, suffix.name), !!this.suffixes && this.suffixes.length > 1 && (h("tet-button", { key: '690e1ebf1a885532fedacad732f376db57e334fb', type: "ghost", size: "small", ref: (element) => (this.chevronElement = element), class: { 'number-input__cheveron': true }, onClick: this.onChevronClick, "accessibility-label": this.buttonAccessibilityLabel, tabindex: "-1" }, !isOpen && h("tet-icon", { key: '600304642780a9fe20e28a6974179ff45842fe09', name: "chevron-down" }), isOpen && h("tet-icon", { key: '30fd2bc3ba018a178e179dec02aa6cd7812248e6', name: "chevron-up" }))), isOpen && (h("div", { key: 'cf7913cf9b324911c24f2069083a7e2e71dcc95b', class: "number-input__dropdown", ref: (htmlDivElement) => (this.dropdownElement = htmlDivElement) }, this.renderDropdownContent()))), !!helperText && h("div", { key: '77a8561e514764964b4d1599e328fa1b38286e19', class: "number-input__helper-text" }, helperText)));
|
|
224
241
|
}
|
|
225
242
|
static get is() { return "tet-number-input"; }
|
|
226
243
|
static get encapsulation() { return "shadow"; }
|
|
@@ -253,6 +270,24 @@ export class TetInput {
|
|
|
253
270
|
"attribute": "label",
|
|
254
271
|
"reflect": false
|
|
255
272
|
},
|
|
273
|
+
"theme": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"mutable": false,
|
|
276
|
+
"complexType": {
|
|
277
|
+
"original": "'light' | 'dark'",
|
|
278
|
+
"resolved": "\"dark\" | \"light\"",
|
|
279
|
+
"references": {}
|
|
280
|
+
},
|
|
281
|
+
"required": false,
|
|
282
|
+
"optional": false,
|
|
283
|
+
"docs": {
|
|
284
|
+
"tags": [],
|
|
285
|
+
"text": "The theme of the input."
|
|
286
|
+
},
|
|
287
|
+
"attribute": "theme",
|
|
288
|
+
"reflect": false,
|
|
289
|
+
"defaultValue": "'light'"
|
|
290
|
+
},
|
|
256
291
|
"accessibilityLabel": {
|
|
257
292
|
"type": "string",
|
|
258
293
|
"mutable": false,
|
|
@@ -518,6 +553,9 @@ export class TetInput {
|
|
|
518
553
|
return [{
|
|
519
554
|
"propName": "suffix",
|
|
520
555
|
"methodName": "onSuffixChange"
|
|
556
|
+
}, {
|
|
557
|
+
"propName": "isOpen",
|
|
558
|
+
"methodName": "onDropdownOpenChanged"
|
|
521
559
|
}];
|
|
522
560
|
}
|
|
523
561
|
static get listeners() {
|
|
@@ -126,6 +126,12 @@
|
|
|
126
126
|
--slider-step-counter-text-color: var(--tc-text-primary-dark);
|
|
127
127
|
--slider-data-label-text-color: var(--tc-text-secondary-dark);
|
|
128
128
|
}
|
|
129
|
+
.range-slider.dark .range-slider__slider-container:has(.range-slider__slider-wrapper input:focus-visible) ~ .range-slider__tooltip-handle {
|
|
130
|
+
outline: 0.125rem solid var(--tc-blue-40);
|
|
131
|
+
outline: 0.125rem solid var(--tc-blue-40-dark);
|
|
132
|
+
outline-offset: 0.125rem;
|
|
133
|
+
transition: outline 0s;
|
|
134
|
+
}
|
|
129
135
|
.range-slider--large {
|
|
130
136
|
flex-direction: column;
|
|
131
137
|
}
|
|
@@ -110,10 +110,13 @@
|
|
|
110
110
|
* @prop --stepper-border-color: border color
|
|
111
111
|
* @prop --stepper-border-color-active: border color when active
|
|
112
112
|
*/
|
|
113
|
-
--stepper-input-control-background-color:
|
|
114
|
-
--stepper-input-suffix-color:
|
|
115
|
-
--stepper-input-border-color:
|
|
116
|
-
--stepper-input-border-color-active:
|
|
113
|
+
--stepper-input-control-background-color: var(--tc-background-secondary);
|
|
114
|
+
--stepper-input-suffix-color: var(--tc-text-secondary);
|
|
115
|
+
--stepper-input-border-color: var(--tc-border-tertiary);
|
|
116
|
+
--stepper-input-border-color-active: var(--tc-border-primary);
|
|
117
|
+
--stepper-button-bg: var(--tc-button-text-primary);
|
|
118
|
+
--stepper-button-border: var(--tc-button-text-secondary);
|
|
119
|
+
--stepper-value-color: var(--tc-button-text-inverse-disabled);
|
|
117
120
|
display: inline-flex;
|
|
118
121
|
}
|
|
119
122
|
|
|
@@ -123,28 +126,40 @@
|
|
|
123
126
|
gap: 0.625rem;
|
|
124
127
|
display: inline-flex;
|
|
125
128
|
}
|
|
129
|
+
.stepper-input.dark {
|
|
130
|
+
--stepper-input-control-background-color: var(--tc-background-primary-dark);
|
|
131
|
+
--stepper-input-suffix-color: var(--tc-text-secondary-dark);
|
|
132
|
+
--stepper-input-border-color: var(--tc-border-tertiary-dark);
|
|
133
|
+
--stepper-input-border-color-active: var(--tc-border-primary-dark);
|
|
134
|
+
--stepper-button-bg: var(--tc-button-text-primary-dark);
|
|
135
|
+
--stepper-button-border: var(--tc-border-primary-dark);
|
|
136
|
+
--stepper-value-color: var(--tc-button-text-inverse-disabled-dark);
|
|
137
|
+
}
|
|
126
138
|
.stepper-input__control {
|
|
127
|
-
background: var(--stepper-
|
|
139
|
+
background: var(--stepper-button-bg);
|
|
140
|
+
border: 0.125rem solid var(--stepper-button-border);
|
|
141
|
+
box-sizing: border-box;
|
|
128
142
|
margin: 0.25rem;
|
|
129
143
|
border-radius: 50%;
|
|
130
144
|
cursor: pointer;
|
|
131
145
|
padding-block: 0;
|
|
132
146
|
padding-inline: 0;
|
|
133
|
-
|
|
147
|
+
height: 2.25rem;
|
|
148
|
+
width: 2.25rem;
|
|
134
149
|
}
|
|
135
150
|
.stepper-input__value {
|
|
136
|
-
border: 0.0625rem solid var(--stepper-
|
|
137
|
-
outline: none;
|
|
151
|
+
border: 0.0625rem solid var(--stepper-value-color);
|
|
138
152
|
font: 500 1.25rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
|
|
139
|
-
color:
|
|
153
|
+
color: var(--stepper-value-color);
|
|
154
|
+
background-color: var(--stepper-input-control-background-color);
|
|
140
155
|
padding-inline: 0;
|
|
141
156
|
padding-block: 0;
|
|
142
|
-
width: 3.
|
|
143
|
-
height:
|
|
144
|
-
border-radius: 0.375rem;
|
|
157
|
+
width: 3.125rem;
|
|
158
|
+
height: 2.75rem;
|
|
145
159
|
text-align: center;
|
|
146
160
|
box-sizing: border-box;
|
|
147
161
|
letter-spacing: -0.029375rem;
|
|
162
|
+
border-radius: 0.625rem;
|
|
148
163
|
appearance: textfield;
|
|
149
164
|
-moz-appearance: textfield;
|
|
150
165
|
}
|
|
@@ -153,6 +168,12 @@
|
|
|
153
168
|
margin: 0;
|
|
154
169
|
}
|
|
155
170
|
.stepper-input__value:focus-within {
|
|
156
|
-
outline: none;
|
|
157
171
|
border: 0.0625rem solid var(--stepper-input-border-color-active);
|
|
172
|
+
}
|
|
173
|
+
.stepper-input tet-icon {
|
|
174
|
+
--icon-color: var(--stepper-button-border);
|
|
175
|
+
}
|
|
176
|
+
.stepper-input tet-button::part(button) {
|
|
177
|
+
width: 2.75rem;
|
|
178
|
+
height: 2.75rem;
|
|
158
179
|
}
|
|
@@ -27,6 +27,7 @@ export class TetStepperInput {
|
|
|
27
27
|
this.value += this.step;
|
|
28
28
|
};
|
|
29
29
|
this.value = undefined;
|
|
30
|
+
this.theme = 'light';
|
|
30
31
|
this.min = undefined;
|
|
31
32
|
this.max = undefined;
|
|
32
33
|
this.step = undefined;
|
|
@@ -69,9 +70,7 @@ export class TetStepperInput {
|
|
|
69
70
|
* Listens for focus to select value
|
|
70
71
|
*/
|
|
71
72
|
onFocus() {
|
|
72
|
-
|
|
73
|
-
this.inputElement.select();
|
|
74
|
-
}
|
|
73
|
+
this.inputElement.select();
|
|
75
74
|
}
|
|
76
75
|
/**
|
|
77
76
|
* Handles input change on input element
|
|
@@ -122,7 +121,7 @@ export class TetStepperInput {
|
|
|
122
121
|
*/
|
|
123
122
|
render() {
|
|
124
123
|
const { onMinusClick, value, onPlusClick } = this;
|
|
125
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: 'acaaf4e825dbeff59ae1aaf307c5d6cd3b081676', class: { 'stepper-input': true, [this.theme]: !!this.theme } }, h("tet-button", { key: 'ef3908d34bee2063ea47918736dff9234161a820', type: "secondary", iconMode: true, theme: this.theme, size: 'small', "aria-label": t('components-number-input-decrease'), onKeyDown: this.handleOptionKeydown(onMinusClick), onClick: onMinusClick }, h("tet-icon", { key: '4fb2ef4fa0ae6768902c53a45e082e3bf8906f1e', name: "remove", onClick: onMinusClick })), h("input", Object.assign({ key: 'e9517055b16a51ad89ba94bb3db73c31639504bf', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: "stepper-input__value", value: value, type: "number" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("tet-button", { key: 'c56c4c9e389c4d2fdb6cacca1c41c54f5e954dc9', type: "secondary", iconMode: true, theme: this.theme, size: 'small', "aria-label": t('components-number-input-increase'), onKeyDown: this.handleOptionKeydown(onPlusClick), onClick: onPlusClick }, h("tet-icon", { key: '24dd8fb808508385516a5355c7598518d6a3585f', name: "add", onClick: onPlusClick }))));
|
|
126
125
|
}
|
|
127
126
|
static get is() { return "tet-stepper-input"; }
|
|
128
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -155,6 +154,24 @@ export class TetStepperInput {
|
|
|
155
154
|
"attribute": "value",
|
|
156
155
|
"reflect": false
|
|
157
156
|
},
|
|
157
|
+
"theme": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"mutable": false,
|
|
160
|
+
"complexType": {
|
|
161
|
+
"original": "'light' | 'dark'",
|
|
162
|
+
"resolved": "\"dark\" | \"light\"",
|
|
163
|
+
"references": {}
|
|
164
|
+
},
|
|
165
|
+
"required": false,
|
|
166
|
+
"optional": false,
|
|
167
|
+
"docs": {
|
|
168
|
+
"tags": [],
|
|
169
|
+
"text": "The theme of the input."
|
|
170
|
+
},
|
|
171
|
+
"attribute": "theme",
|
|
172
|
+
"reflect": false,
|
|
173
|
+
"defaultValue": "'light'"
|
|
174
|
+
},
|
|
158
175
|
"min": {
|
|
159
176
|
"type": "number",
|
|
160
177
|
"mutable": false,
|
|
@@ -4793,6 +4793,12 @@
|
|
|
4793
4793
|
--input-disabled-icon-color: var(--tc-button-icon-inverse-disabled-dark);
|
|
4794
4794
|
--input-color-error: var(--tc-alert-accent-error-dark);
|
|
4795
4795
|
}
|
|
4796
|
+
.tet-input__dark.tet-input__dark.keyboard-focus:focus {
|
|
4797
|
+
outline: 0.125rem solid var(--tc-blue-40);
|
|
4798
|
+
outline: 0.125rem solid var(--tc-blue-40-dark);
|
|
4799
|
+
outline-offset: 0.125rem;
|
|
4800
|
+
transition: outline 0s;
|
|
4801
|
+
}
|
|
4796
4802
|
|
|
4797
4803
|
.tet-input__mint {
|
|
4798
4804
|
--input-icon-color: rgb(247, 247, 247);
|
|
@@ -388,6 +388,9 @@
|
|
|
388
388
|
background-color: var(--accordion-background-color);
|
|
389
389
|
border-color: var(--accordion-border-color);
|
|
390
390
|
}
|
|
391
|
+
.tet-accordion.transparent-bg {
|
|
392
|
+
--accordion-background-color: transparent;
|
|
393
|
+
}
|
|
391
394
|
.tet-accordion--border {
|
|
392
395
|
border-bottom-style: solid;
|
|
393
396
|
border-bottom-width: var(--accordion-border-bottom-width);
|
|
@@ -35,6 +35,7 @@ export class TetAccordion {
|
|
|
35
35
|
this.withAutoScroll = false;
|
|
36
36
|
this.breakpoint = 'tablet';
|
|
37
37
|
this.headingTag = 'span';
|
|
38
|
+
this.transparentBackground = false;
|
|
38
39
|
}
|
|
39
40
|
/**
|
|
40
41
|
* Public API method to open the accordion content.
|
|
@@ -106,21 +107,22 @@ export class TetAccordion {
|
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
render() {
|
|
109
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: 'b203cec9965b2a90df2b86f040faad72ac55904a' }, h("div", { key: '055bfa73740cb424dc509ebb6d822707111aa310', class: {
|
|
110
111
|
'tet-accordion': true,
|
|
111
112
|
'tet-accordion--border': this.withBorder,
|
|
112
113
|
[`${this.theme}-theme`]: true,
|
|
113
|
-
[`tet-accordion--breakpoint-${this.breakpoint}`]: true
|
|
114
|
-
|
|
115
|
-
h("
|
|
114
|
+
[`tet-accordion--breakpoint-${this.breakpoint}`]: true,
|
|
115
|
+
'transparent-bg': this.transparentBackground,
|
|
116
|
+
} }, h("div", { key: '44a9a507b64552d408604af83e207019b0959f86', class: { "tet-accordion__header": true, [this.theme]: true }, onClick: this.toggleOpenState, onKeyDown: this.toggleAccessibilityOpenState, tabIndex: 0 }, this.headerImageSrc && this.headerImageSrc !== '' &&
|
|
117
|
+
h("img", { key: '60e80780efb714583b45732b09a8ace1584e50d5', src: this.headerImageSrc, alt: this.headerImageAlt ? this.headerImageAlt : undefined, class: "tet-accordion__header-image" }), this.renderHeading(), h("tet-icon", { key: '72878d09ba4617a05ad2c1aa10a77b37c5d740e1', name: "chevron-down", class: {
|
|
116
118
|
'tet-accordion__icon': true,
|
|
117
119
|
'open': this.isOpen
|
|
118
|
-
} })), h("div", { key: '
|
|
120
|
+
} })), h("div", { key: 'ec8748dca010cae7689324b9bbb3687b34f5553b', ref: (element) => (this.contentWrapperElement = element), class: {
|
|
119
121
|
'tet-accordion__content-wrapper': true,
|
|
120
122
|
'visible': this.isOpen
|
|
121
|
-
}, inert: !this.isOpen }, h("div", { key: '
|
|
123
|
+
}, inert: !this.isOpen }, h("div", { key: '13eb067b37dcc34ae00246e854edf0066d904033', ref: (element) => (this.contentElement = element), class: {
|
|
122
124
|
'tet-accordion__content': true
|
|
123
|
-
} }, h("slot", { key: '
|
|
125
|
+
} }, h("slot", { key: '3fa5e60b2462a8f0ab1c598cc6bec0fb5efd89fc' }))))));
|
|
124
126
|
}
|
|
125
127
|
static get is() { return "tet-accordion"; }
|
|
126
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -297,6 +299,24 @@ export class TetAccordion {
|
|
|
297
299
|
"attribute": "heading-tag",
|
|
298
300
|
"reflect": false,
|
|
299
301
|
"defaultValue": "'span'"
|
|
302
|
+
},
|
|
303
|
+
"transparentBackground": {
|
|
304
|
+
"type": "boolean",
|
|
305
|
+
"mutable": false,
|
|
306
|
+
"complexType": {
|
|
307
|
+
"original": "boolean",
|
|
308
|
+
"resolved": "boolean",
|
|
309
|
+
"references": {}
|
|
310
|
+
},
|
|
311
|
+
"required": false,
|
|
312
|
+
"optional": false,
|
|
313
|
+
"docs": {
|
|
314
|
+
"tags": [],
|
|
315
|
+
"text": "Whether to use a transparent background for the component."
|
|
316
|
+
},
|
|
317
|
+
"attribute": "transparent-background",
|
|
318
|
+
"reflect": false,
|
|
319
|
+
"defaultValue": "false"
|
|
300
320
|
}
|
|
301
321
|
};
|
|
302
322
|
}
|
|
@@ -416,6 +416,12 @@ dialog .dialog--theme-dark {
|
|
|
416
416
|
--dialog-close-icon-background-hover-color: var(--tc-menu-item-hover-dark);
|
|
417
417
|
--dialog-close-icon-background-pressed-color: var(--tc-menu-item-pressed-dark);
|
|
418
418
|
}
|
|
419
|
+
dialog .dialog--theme-dark .dialog__close-button:focus-visible {
|
|
420
|
+
outline: 0.125rem solid var(--tc-blue-40);
|
|
421
|
+
outline: 0.125rem solid var(--tc-blue-40-dark);
|
|
422
|
+
outline-offset: 0.125rem;
|
|
423
|
+
transition: outline 0s;
|
|
424
|
+
}
|
|
419
425
|
dialog .dialog--theme-dark-secondary {
|
|
420
426
|
--dialog-text-color: rgb(255, 255, 255);
|
|
421
427
|
--dialog-background-color: rgb(35, 40, 46);
|
|
@@ -554,6 +554,12 @@
|
|
|
554
554
|
--notification-danger-icon-color: var(--tc-alert-accent-error-dark);
|
|
555
555
|
--notification-danger-border-left-color: var(--tc-alert-colorwave-error-dark);
|
|
556
556
|
}
|
|
557
|
+
.dark .item .header .close-icon-wrapper:focus-visible .close-icon {
|
|
558
|
+
outline: 0.125rem solid var(--tc-blue-40);
|
|
559
|
+
outline: 0.125rem solid var(--tc-blue-40-dark);
|
|
560
|
+
outline-offset: 0rem;
|
|
561
|
+
transition: outline 0s;
|
|
562
|
+
}
|
|
557
563
|
|
|
558
564
|
.notification {
|
|
559
565
|
font: 400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif, Gilroy, Arial, sans-serif;
|
|
@@ -409,7 +409,7 @@ export class TetCloudConfigurator {
|
|
|
409
409
|
hidden: Boolean((_a = this.formValues['ddos_protection_enabled']) === null || _a === void 0 ? void 0 : _a.value)
|
|
410
410
|
}), this.renderNumberInput('ddos_protection_bandwidth', {
|
|
411
411
|
hidden: !Boolean((_b = this.formValues['ddos_protection_enabled']) === null || _b === void 0 ? void 0 : _b.value)
|
|
412
|
-
}), h("div", { class: "form__input" }), h("div", { class: "form__checkbox" }, h("tet-checkbox", { label: this.getLabel('ddos_protection_enabled'), value: (_c = this.formValues['ddos_protection_enabled']) === null || _c === void 0 ? void 0 : _c.value, checked: !!((_d = this.formValues['ddos_protection_enabled']) === null || _d === void 0 ? void 0 : _d.value), onCheck: this.onDdosProtectionEnabledCheck }), h("p", { class: "form__checkbox-helper" }, this.getHelperText('ddos_protection_enabled'))))), h("div", { class: "summary", part: "summary" }, h("h2", { class: "summary__title" }, t('components-cloud-configurator-group-summary')), h("div", { class: "summary__toggle" }, h("tet-radio", { name: "summary-period", value: CloudSummaryPeriod.MONTHLY, checked: this.selectedPeriod === CloudSummaryPeriod.MONTHLY, label: t('components-cloud-configurator-summary-period-monthly'), theme: "classic", onCheck: this.onSummaryPeriodChange }), h("tet-radio", { name: "summary-period", value: CloudSummaryPeriod.HOURLY, checked: this.selectedPeriod === CloudSummaryPeriod.HOURLY, label: t('components-cloud-configurator-summary-period-hourly'), theme: "classic", onCheck: this.onSummaryPeriodChange })), this.renderSummaryTable())), h("div", { class: { 'floating-summary': true, 'floating-summary--is-pinned': this.isFloatingSummary }, part: "floating-summary" }, this.renderFloatingSummary()), h("div", { part: "footer", class: "footer", ref: (el) => (this.footerRef = el) }, h("tet-button", { class: "footer__button", size: "large", type: "primary", theme: "light", onClick: this.onFormSubmit }, t('components-cloud-configurator-submit'))))));
|
|
412
|
+
}), h("div", { class: "form__input" }), h("div", { class: "form__checkbox" }, h("tet-checkbox", { label: this.getLabel('ddos_protection_enabled'), value: (_c = this.formValues['ddos_protection_enabled']) === null || _c === void 0 ? void 0 : _c.value, checked: !!((_d = this.formValues['ddos_protection_enabled']) === null || _d === void 0 ? void 0 : _d.value), onCheck: this.onDdosProtectionEnabledCheck }), h("p", { class: "form__checkbox-helper" }, this.getHelperText('ddos_protection_enabled'))))), h("div", { class: "summary", part: "summary" }, h("h2", { class: "summary__title" }, t('components-cloud-configurator-group-summary')), h("div", { class: "summary__toggle", role: "radiogroup" }, h("tet-radio", { name: "summary-period", value: CloudSummaryPeriod.MONTHLY, checked: this.selectedPeriod === CloudSummaryPeriod.MONTHLY, label: t('components-cloud-configurator-summary-period-monthly'), theme: "classic", onCheck: this.onSummaryPeriodChange }), h("tet-radio", { name: "summary-period", value: CloudSummaryPeriod.HOURLY, checked: this.selectedPeriod === CloudSummaryPeriod.HOURLY, label: t('components-cloud-configurator-summary-period-hourly'), theme: "classic", onCheck: this.onSummaryPeriodChange })), this.renderSummaryTable())), h("div", { class: { 'floating-summary': true, 'floating-summary--is-pinned': this.isFloatingSummary }, part: "floating-summary" }, this.renderFloatingSummary()), h("div", { part: "footer", class: "footer", ref: (el) => (this.footerRef = el) }, h("tet-button", { class: "footer__button", size: "large", type: "primary", theme: "light", onClick: this.onFormSubmit }, t('components-cloud-configurator-submit'))))));
|
|
413
413
|
}
|
|
414
414
|
static get is() { return "tet-cloud-configurator"; }
|
|
415
415
|
static get encapsulation() { return "shadow"; }
|
package/dist/components/index.js
CHANGED
|
@@ -79,7 +79,7 @@ import { TetThankYouViewV2 } from './tet-thank-you-view-v2.js';
|
|
|
79
79
|
import { TetTooltip } from './tet-tooltip.js';
|
|
80
80
|
import { TetTvGiftBlock } from './tet-tv-gift-block.js';
|
|
81
81
|
import { TetTvGiftList } from './tet-tv-gift-list.js';
|
|
82
|
-
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-
|
|
82
|
+
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-5749376d.js';
|
|
83
83
|
|
|
84
84
|
const defineCustomElements = (opts) => {
|
|
85
85
|
if (typeof customElements !== 'undefined') {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, f as forceUpdate, c as Host } from './p-
|
|
2
|
-
import { s as state } from './p-
|
|
3
|
-
import { p as processTranslations } from './p-
|
|
4
|
-
import { d as defineCustomElement$4 } from './p-
|
|
5
|
-
import { d as defineCustomElement$3 } from './p-
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, f as forceUpdate, c as Host } from './p-5749376d.js';
|
|
2
|
+
import { s as state } from './p-3be1c277.js';
|
|
3
|
+
import { p as processTranslations } from './p-70f08f08.js';
|
|
4
|
+
import { d as defineCustomElement$4 } from './p-38631790.js';
|
|
5
|
+
import { d as defineCustomElement$3 } from './p-79933eb4.js';
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-a380ee65.js';
|
|
7
|
+
import { d as defineCustomElement$1 } from './p-08daefb4.js';
|
|
8
8
|
|
|
9
9
|
const tetAddressOffersFiltersCss = ":host{display:block}.loader{display:flex;gap:0.5rem;flex-wrap:wrap}.loader .tag-placeholder{--placeholder-animation-speed:20s}";
|
|
10
10
|
const TetAddressOffersFiltersStyle0 = tetAddressOffersFiltersCss;
|