@tet/tet-components 1.3.18-testing → 1.3.19-production
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-1674aa2d.js} +1 -1
- package/dist/cjs/{assets-0bdcfba7.js → assets-a459d319.js} +1 -1
- package/dist/cjs/{async-request-42567909.js → async-request-e8810b2c.js} +1 -1
- package/dist/cjs/{http-codes-bec9330b.js → http-codes-12b2b47b.js} +1 -1
- package/dist/cjs/{index-84ede372.js → index-457201e1.js} +1 -1
- package/dist/cjs/{index-f559cb2e.js → index-66913c99.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{old-utils-31714a40.js → old-utils-ddf2ad10.js} +1 -1
- package/dist/cjs/{phone-96a87ac9.js → phone-c79e43f4.js} +2 -2
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +9 -9
- package/dist/cjs/tet-address-search.cjs.entry.js +12 -8
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +15 -7
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +7 -5
- package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
- package/dist/cjs/tet-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +5 -5
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-card_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-cards.cjs.entry.js +4 -4
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +6 -6
- package/dist/cjs/tet-contact-info.cjs.entry.js +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-customer-assets.cjs.entry.js +4 -4
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
- package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/tet-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-expandable-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
- package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
- package/dist/cjs/tet-grid.cjs.entry.js +2 -2
- package/dist/cjs/tet-icon.cjs.entry.js +3 -3
- package/dist/cjs/tet-inline-message.cjs.entry.js +2 -2
- package/dist/cjs/tet-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-label.cjs.entry.js +5 -5
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-loader.cjs.entry.js +2 -2
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +2 -2
- package/dist/cjs/tet-menu.cjs.entry.js +2 -2
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input_2.cjs.entry.js +6 -6
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-radio.cjs.entry.js +2 -2
- package/dist/cjs/tet-range-slider_2.cjs.entry.js +9 -9
- package/dist/cjs/tet-referral.cjs.entry.js +4 -4
- package/dist/cjs/tet-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-table.cjs.entry.js +2 -2
- package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-text-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-textarea.cjs.entry.js +2 -2
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +2 -2
- package/dist/cjs/tet-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +3 -3
- package/dist/cjs/{translations-9c00ed63.js → translations-51ad8d5d.js} +1 -1
- package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.css +15 -27
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +7 -3
- package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.css +125 -23
- package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.js +10 -2
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +26 -8
- package/dist/collection/components/advanced/cards/tet-compare-cards/tet-compare-cards.js +1 -1
- package/dist/collection/components/advanced/cards/tet-compare-cards-tab/tet-compare-cards-tab.js +1 -1
- package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
- package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +1 -1
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
- package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
- package/dist/collection/components/basic/buttons/tet-button/test/tet-button.spec.js +16 -0
- package/dist/collection/components/basic/buttons/tet-button/tet-button.css +38 -16
- package/dist/collection/components/basic/buttons/tet-button/tet-button.js +22 -3
- package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.js +1 -1
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +1 -1
- package/dist/collection/components/basic/buttons/tet-switch/tet-switch.js +1 -1
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
- package/dist/collection/components/basic/container/tet-container/tet-container.js +2 -2
- package/dist/collection/components/basic/icon/tet-icon.js +1 -1
- package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
- package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
- package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
- package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
- package/dist/collection/components/basic/steppers/tet-round-stepper/tet-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper/tet-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v2/tet-stepper-v2.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.js +1 -1
- package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-input/tet-input.css +1 -1
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +1 -1
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/lists/tet-text-list/tet-text-list.css +26 -8
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.js +1 -1
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-cloud-application-form-dialog/tet-cloud-application-form-dialog.js +2 -2
- package/dist/collection/components/simple/text-blocks/tet-dialog/tet-dialog.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-inline-message/tet-inline-message.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
- package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
- package/dist/collection/components/views/tet-contact-info/tet-contact-info.js +1 -1
- package/dist/collection/components/views/tet-macd-view/tet-macd-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view/tet-thank-you-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v2/tet-thank-you-view-v2.js +1 -1
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +3 -3
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-d60c709d.js → p-02dfeecd.js} +1 -1
- package/dist/components/{p-4716df5f.js → p-068bcf60.js} +4 -4
- package/dist/components/{p-48546872.js → p-151363de.js} +2 -2
- package/dist/components/{p-77181816.js → p-17b2bf5b.js} +3 -3
- package/dist/components/{p-c138d7c0.js → p-278c92f4.js} +15 -6
- package/dist/components/{p-283fa8ca.js → p-4194a388.js} +4 -4
- package/dist/components/{p-a0d406ca.js → p-4d00761a.js} +1 -1
- package/dist/components/{p-470276e6.js → p-52a4005a.js} +1 -1
- package/dist/components/{p-39e60f54.js → p-52e27ed1.js} +2 -2
- package/dist/components/{p-ffb3bb14.js → p-531e9eaa.js} +11 -11
- package/dist/components/{p-76d8c641.js → p-5800684d.js} +10 -10
- package/dist/components/{p-37ed3ebb.js → p-599035b8.js} +1 -1
- package/dist/components/{p-e5133638.js → p-62ef3013.js} +2 -2
- package/dist/components/{p-a63d3582.js → p-6cc02895.js} +2 -2
- package/dist/components/{p-311649f5.js → p-7972a62a.js} +2 -2
- package/dist/components/{p-6f457b76.js → p-79895bef.js} +2 -2
- package/dist/components/{p-d51e3de1.js → p-79e9a814.js} +2 -2
- package/dist/components/{p-4b0ada2c.js → p-7ba9dddf.js} +8 -8
- package/dist/components/{p-b383687a.js → p-8111ec37.js} +4 -4
- package/dist/components/{p-961b00f0.js → p-8417373e.js} +14 -6
- package/dist/components/{p-ce45b9fe.js → p-86e2bfc0.js} +2 -2
- package/dist/components/{p-2d346fc0.js → p-884f6815.js} +4 -4
- package/dist/components/{p-2a2d0fb5.js → p-89eb1d87.js} +3 -3
- package/dist/components/{p-74ff4f72.js → p-92365b7e.js} +1 -1
- package/dist/components/{p-69091f37.js → p-938f05fe.js} +3 -3
- package/dist/components/{p-2aa241a0.js → p-94cca329.js} +8 -8
- package/dist/components/{p-8c37c237.js → p-9bc13031.js} +1 -1
- package/dist/components/{p-1d740b10.js → p-a27b8d72.js} +5 -5
- package/dist/components/{p-0c8166dc.js → p-a728fef8.js} +3 -3
- package/dist/components/{p-7fa5304b.js → p-ac3784a4.js} +2 -2
- package/dist/components/{p-72b8586b.js → p-ad2c1218.js} +1 -1
- package/dist/components/{p-b3383d3c.js → p-b10728f1.js} +2 -2
- package/dist/components/{p-8e8d9413.js → p-b50f41b4.js} +7 -7
- package/dist/components/{p-c9d8c1ea.js → p-b70e8192.js} +7 -7
- package/dist/components/{p-c373bb96.js → p-b943736f.js} +3 -3
- package/dist/components/{p-ae1f41ee.js → p-bdb032c1.js} +1 -1
- package/dist/components/{p-a1d2e915.js → p-c25e9b71.js} +3 -3
- package/dist/components/{p-880409f3.js → p-c94f6106.js} +11 -11
- package/dist/components/{p-cbbc6864.js → p-cdb3dc04.js} +2 -2
- package/dist/components/{p-8bb64d74.js → p-d041175a.js} +5 -5
- package/dist/components/{p-58df31fd.js → p-d4aa6516.js} +5 -5
- package/dist/components/{p-ed842a53.js → p-d796814c.js} +3 -3
- package/dist/components/{p-a67e72af.js → p-d9d26758.js} +17 -13
- package/dist/components/{p-84aa028d.js → p-e8ac6da8.js} +3 -3
- package/dist/components/{p-1a63810d.js → p-f6b8847c.js} +4 -4
- package/dist/components/{p-0249fd43.js → p-f9a85ca6.js} +3 -3
- package/dist/components/{p-5e059d53.js → p-fa145938.js} +5 -5
- package/dist/components/tet-accordion.js +8 -8
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +26 -26
- 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 +6 -6
- 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 +9 -9
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +2 -2
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +5 -5
- package/dist/components/tet-business-lines.js +6 -6
- 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 +10 -10
- package/dist/components/tet-cloud-configurator.js +11 -11
- package/dist/components/tet-colors.js +4 -4
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +11 -11
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +10 -10
- package/dist/components/tet-contact-info.js +2 -2
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-customer-assets.js +9 -9
- 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 +10 -10
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-expandable-input.js +5 -5
- package/dist/components/tet-expansion-panel.js +2 -2
- package/dist/components/tet-font-weight.js +2 -2
- package/dist/components/tet-fonts.js +2 -2
- package/dist/components/tet-grid.js +2 -2
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +3 -3
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +5 -5
- package/dist/components/tet-layout.js +2 -2
- package/dist/components/tet-link.js +2 -2
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +11 -11
- package/dist/components/tet-menu-mobile.js +3 -3
- package/dist/components/tet-menu.js +3 -3
- package/dist/components/tet-multi-step-dialog.js +6 -6
- package/dist/components/tet-navigation-mobile.js +5 -5
- package/dist/components/tet-news-card-list.js +5 -5
- 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 +13 -7
- package/dist/components/tet-round-stepper.js +3 -3
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-spacing.js +2 -2
- 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 +4 -4
- 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 +2 -2
- package/dist/components/tet-thank-you-view-v2.js +6 -6
- package/dist/components/tet-thank-you-view.js +11 -5
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +2 -2
- package/dist/components/tet-tv-gift-list.js +4 -4
- package/dist/esm/{address-9dfd3c9e.js → address-18c4b9dc.js} +1 -1
- package/dist/esm/{assets-c074d2b9.js → assets-b258bac4.js} +1 -1
- package/dist/esm/{async-request-754d6810.js → async-request-f3a79721.js} +1 -1
- package/dist/esm/{http-codes-42779195.js → http-codes-3253f363.js} +1 -1
- package/dist/esm/{index-7f1e2a22.js → index-ce62f11b.js} +1 -1
- package/dist/esm/{index-1bf36cb9.js → index-d502e34e.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{old-utils-7140ef76.js → old-utils-4acec2e9.js} +1 -1
- package/dist/esm/{phone-66ff151d.js → phone-56c1d5c3.js} +2 -2
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_4.entry.js +9 -9
- package/dist/esm/tet-address-search.entry.js +12 -8
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
- package/dist/esm/tet-autocomplete_2.entry.js +15 -7
- package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +3 -3
- package/dist/esm/tet-business-lines.entry.js +5 -5
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +7 -5
- package/dist/esm/tet-card-list.entry.js +5 -5
- package/dist/esm/tet-checkbox.entry.js +2 -2
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +5 -5
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +4 -4
- package/dist/esm/tet-compare-card_4.entry.js +7 -7
- package/dist/esm/tet-compare-cards-tab.entry.js +4 -4
- package/dist/esm/tet-compare-cards.entry.js +4 -4
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +6 -6
- package/dist/esm/tet-contact-info.entry.js +2 -2
- package/dist/esm/tet-container_2.entry.js +3 -3
- package/dist/esm/tet-customer-assets.entry.js +4 -4
- package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
- package/dist/esm/tet-datepicker.entry.js +5 -5
- package/dist/esm/tet-dialog.entry.js +4 -4
- package/dist/esm/tet-expandable-input.entry.js +3 -3
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-font-weight.entry.js +2 -2
- package/dist/esm/tet-fonts.entry.js +2 -2
- package/dist/esm/tet-grid.entry.js +2 -2
- package/dist/esm/tet-icon.entry.js +3 -3
- package/dist/esm/tet-inline-message.entry.js +2 -2
- package/dist/esm/tet-input.entry.js +4 -4
- package/dist/esm/tet-label.entry.js +5 -5
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-loader.entry.js +2 -2
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +2 -2
- package/dist/esm/tet-menu.entry.js +2 -2
- package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +4 -4
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input_2.entry.js +6 -6
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-radio.entry.js +2 -2
- package/dist/esm/tet-range-slider_2.entry.js +9 -9
- package/dist/esm/tet-referral.entry.js +4 -4
- package/dist/esm/tet-round-stepper.entry.js +2 -2
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-stepper-v2.entry.js +2 -2
- package/dist/esm/tet-stepper.entry.js +2 -2
- package/dist/esm/tet-table.entry.js +2 -2
- package/dist/esm/tet-tag_2.entry.js +5 -5
- package/dist/esm/tet-text-list.entry.js +2 -2
- package/dist/esm/tet-textarea.entry.js +2 -2
- package/dist/esm/tet-thank-you-view-v2.entry.js +4 -4
- package/dist/esm/tet-thank-you-view.entry.js +2 -2
- package/dist/esm/tet-tooltip.entry.js +2 -2
- package/dist/esm/tet-tv-gift-block.entry.js +2 -2
- package/dist/esm/tet-tv-gift-list.entry.js +3 -3
- package/dist/esm/{translations-5c723a5f.js → translations-9e12c95e.js} +1 -1
- package/dist/tet-components/{p-25d1ad10.entry.js → p-0013535b.entry.js} +1 -1
- package/dist/tet-components/{p-23723a74.entry.js → p-0263fbb7.entry.js} +1 -1
- package/dist/tet-components/{p-d827367d.entry.js → p-03004584.entry.js} +1 -1
- package/dist/tet-components/{p-df78ab8d.entry.js → p-061dc98f.entry.js} +1 -1
- package/dist/tet-components/{p-929fcca3.entry.js → p-06c74173.entry.js} +1 -1
- package/dist/tet-components/{p-97d17e43.entry.js → p-0b6e01d3.entry.js} +1 -1
- package/dist/tet-components/{p-13eee7f0.entry.js → p-0dae21a7.entry.js} +1 -1
- package/dist/tet-components/{p-92aac88e.entry.js → p-151aac93.entry.js} +1 -1
- package/dist/tet-components/{p-10655277.entry.js → p-161b4839.entry.js} +1 -1
- package/dist/tet-components/{p-d51fb8f0.entry.js → p-172f0c95.entry.js} +1 -1
- package/dist/tet-components/p-1d14c865.js +2 -0
- package/dist/tet-components/{p-caf08859.entry.js → p-2430fe8d.entry.js} +1 -1
- package/dist/tet-components/{p-95e79f1e.entry.js → p-275e7e95.entry.js} +1 -1
- package/dist/tet-components/{p-85495eff.entry.js → p-27b6da89.entry.js} +1 -1
- package/dist/tet-components/{p-10629eb6.entry.js → p-2fb83a1a.entry.js} +1 -1
- package/dist/tet-components/{p-b65a4985.entry.js → p-355eef20.entry.js} +1 -1
- package/dist/tet-components/{p-a82c303b.entry.js → p-36fcd3ce.entry.js} +1 -1
- package/dist/tet-components/{p-ddd72b3a.entry.js → p-38597448.entry.js} +1 -1
- package/dist/tet-components/{p-46a33f5c.entry.js → p-404d31ea.entry.js} +1 -1
- package/dist/tet-components/{p-83fcc54f.entry.js → p-428833c0.entry.js} +1 -1
- package/dist/tet-components/{p-10a136f3.entry.js → p-4453bc18.entry.js} +1 -1
- package/dist/tet-components/{p-7446fff2.entry.js → p-461c7584.entry.js} +1 -1
- package/dist/tet-components/{p-bcbafa69.entry.js → p-484769d4.entry.js} +1 -1
- package/dist/tet-components/{p-82612880.entry.js → p-4a19899a.entry.js} +1 -1
- package/dist/tet-components/{p-8a891141.entry.js → p-4b742b1e.entry.js} +1 -1
- package/dist/tet-components/{p-b89b20c1.entry.js → p-4d6b5730.entry.js} +1 -1
- package/dist/tet-components/p-4e5444ab.entry.js +1 -0
- package/dist/tet-components/{p-ca6856a3.js → p-50f3eebf.js} +1 -1
- package/dist/tet-components/{p-9a185f40.entry.js → p-53036ab1.entry.js} +1 -1
- package/dist/tet-components/{p-ff411417.entry.js → p-543f303b.entry.js} +1 -1
- package/dist/tet-components/{p-0478e23d.entry.js → p-5a130b4c.entry.js} +1 -1
- package/dist/tet-components/{p-ba896842.entry.js → p-6242da6d.entry.js} +1 -1
- package/dist/tet-components/{p-6282287e.entry.js → p-64d1be1b.entry.js} +1 -1
- package/dist/tet-components/{p-010608e8.js → p-676cb76a.js} +1 -1
- package/dist/tet-components/{p-79698dc2.entry.js → p-678ad7e3.entry.js} +1 -1
- package/dist/tet-components/{p-07081ea1.entry.js → p-6e008132.entry.js} +1 -1
- package/dist/tet-components/{p-25498380.entry.js → p-702809e5.entry.js} +1 -1
- package/dist/tet-components/{p-13ed39b0.entry.js → p-70f56fbb.entry.js} +1 -1
- package/dist/tet-components/{p-7a39630d.entry.js → p-73f67c43.entry.js} +1 -1
- package/dist/tet-components/{p-7123c8cb.js → p-7c3a56ca.js} +1 -1
- package/dist/tet-components/{p-66d62f9d.entry.js → p-8037ee88.entry.js} +1 -1
- package/dist/tet-components/{p-b627310b.entry.js → p-8be14d0b.entry.js} +1 -1
- package/dist/tet-components/{p-78a6937d.entry.js → p-8c640004.entry.js} +1 -1
- package/dist/tet-components/{p-03ed0a4f.entry.js → p-95dd33e0.entry.js} +1 -1
- package/dist/tet-components/{p-7af21ef7.entry.js → p-9d6cfa6b.entry.js} +1 -1
- package/dist/tet-components/{p-4592cbaf.entry.js → p-a02fd184.entry.js} +1 -1
- package/dist/tet-components/{p-4b9d2f1e.js → p-a15f30a7.js} +1 -1
- package/dist/tet-components/{p-7047a0fd.entry.js → p-a22b078d.entry.js} +1 -1
- package/dist/tet-components/{p-db057465.entry.js → p-a3dfb144.entry.js} +1 -1
- package/dist/tet-components/{p-a96ad9aa.entry.js → p-a92d2b7a.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-aba811f3.js} +1 -1
- package/dist/tet-components/{p-c47d4570.entry.js → p-b17bcdf3.entry.js} +1 -1
- package/dist/tet-components/{p-1d6e325c.entry.js → p-b3f848f6.entry.js} +1 -1
- package/dist/tet-components/{p-e6e84ac7.entry.js → p-b7026afd.entry.js} +1 -1
- package/dist/tet-components/{p-6a22f0ca.entry.js → p-b7094976.entry.js} +1 -1
- package/dist/tet-components/{p-2606db0f.entry.js → p-ba161345.entry.js} +1 -1
- package/dist/tet-components/p-ba1672ad.entry.js +1 -0
- package/dist/tet-components/{p-af62d49e.entry.js → p-ba74ded0.entry.js} +1 -1
- package/dist/tet-components/{p-520c7411.entry.js → p-bb76ae2f.entry.js} +1 -1
- package/dist/tet-components/{p-375356e4.entry.js → p-cac23559.entry.js} +1 -1
- package/dist/tet-components/{p-8b5a72c6.entry.js → p-d37c9544.entry.js} +1 -1
- package/dist/tet-components/p-dace6aeb.js +1 -0
- package/dist/tet-components/{p-134a9b63.entry.js → p-dd713682.entry.js} +1 -1
- package/dist/tet-components/{p-17219f8f.js → p-e06817f1.js} +1 -1
- package/dist/tet-components/{p-1e149f2b.entry.js → p-e19c3ffe.entry.js} +1 -1
- package/dist/tet-components/{p-39de75af.js → p-e340aec2.js} +1 -1
- package/dist/tet-components/{p-231c26ec.entry.js → p-e459ee45.entry.js} +1 -1
- package/dist/tet-components/{p-21f9d868.entry.js → p-eb2a0a14.entry.js} +1 -1
- package/dist/tet-components/{p-44347763.entry.js → p-edc9646f.entry.js} +1 -1
- package/dist/tet-components/{p-21ed105d.entry.js → p-f25d9b4c.entry.js} +1 -1
- package/dist/tet-components/{p-774b7986.entry.js → p-f3f68140.entry.js} +1 -1
- package/dist/tet-components/{p-433fa62c.entry.js → p-f53247e0.entry.js} +1 -1
- package/dist/tet-components/{p-33b50262.entry.js → p-f564c56b.entry.js} +1 -1
- package/dist/tet-components/{p-e5a15112.entry.js → p-f65c2764.entry.js} +1 -1
- package/dist/tet-components/{p-9dc437dc.entry.js → p-fa323505.entry.js} +1 -1
- package/dist/tet-components/{p-86737a3f.entry.js → p-fa54970f.entry.js} +1 -1
- package/dist/tet-components/tet-components.css +2 -2
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/basic/buttons/tet-button/tet-button.d.ts +5 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/tet-components/p-1ae8df7d.js +0 -1
- package/dist/tet-components/p-1ec7f341.js +0 -2
- package/dist/tet-components/p-424689d3.entry.js +0 -1
- package/dist/tet-components/p-70ee43df.entry.js +0 -1
|
@@ -362,6 +362,7 @@
|
|
|
362
362
|
* @prop --button-font-size: The font size of the button.
|
|
363
363
|
* @prop --button-font-weight: The font weight of the button.
|
|
364
364
|
* @prop --button-padding: The padding of the button.
|
|
365
|
+
* @prop --button-icon-size: Specifies the size of the button icon when the icon is set using the iconName prop.
|
|
365
366
|
*/
|
|
366
367
|
--button-text-decoration: none;
|
|
367
368
|
--button-background: rgb(255, 255, 255);
|
|
@@ -372,6 +373,7 @@
|
|
|
372
373
|
--button-box-shadow: none;
|
|
373
374
|
--button-font-weight: 500;
|
|
374
375
|
--button-gap: 0.25rem;
|
|
376
|
+
--button-icon-size: 1.5rem;
|
|
375
377
|
--button-font-size-small: 0.875rem;
|
|
376
378
|
--button-padding-small: 0.5rem 1.125rem;
|
|
377
379
|
--button-font-size-medium: 1rem;
|
|
@@ -420,6 +422,10 @@
|
|
|
420
422
|
.button:not(:disabled) {
|
|
421
423
|
backdrop-filter: blur(7.5px);
|
|
422
424
|
}
|
|
425
|
+
.button.with-icon tet-icon {
|
|
426
|
+
--icon-color: var(--button-icon-color);
|
|
427
|
+
--icon-size: var(--button-icon-size);
|
|
428
|
+
}
|
|
423
429
|
.button--type-primary {
|
|
424
430
|
--button-background: initial;
|
|
425
431
|
}
|
|
@@ -427,6 +433,7 @@
|
|
|
427
433
|
--button-text-color: var(--tc-button-text-primary-dark);
|
|
428
434
|
--button-border-color: transparent;
|
|
429
435
|
--button-background: var(--tc-button-primary-background-default-dark);
|
|
436
|
+
--button-icon-color: var(--tc-button-icon-primary-dark);
|
|
430
437
|
}
|
|
431
438
|
.button--type-primary.button-dark-theme:hover:not(:disabled) {
|
|
432
439
|
--button-background: var(--tc-button-primary-background-hover-dark);
|
|
@@ -445,11 +452,13 @@
|
|
|
445
452
|
.button--type-primary.button-dark-theme:disabled {
|
|
446
453
|
--button-text-color: var(--tc-button-text-disabled-dark);
|
|
447
454
|
--button-background: var(--tc-button-primary-background-disabled-dark);
|
|
455
|
+
--button-icon-color: var(--tc-button-icon-disabled-dark);
|
|
448
456
|
}
|
|
449
457
|
.button--type-primary.button-dark-inverse-theme {
|
|
450
458
|
--button-text-color: var(--tc-button-text-inverse-primary-dark);
|
|
451
459
|
--button-border-color: transparent;
|
|
452
460
|
--button-background: var(--tc-button-primary-background-inverse-default-dark);
|
|
461
|
+
--button-icon-color: var(--tc-button-icon-inverse-primary-dark);
|
|
453
462
|
}
|
|
454
463
|
.button--type-primary.button-dark-inverse-theme:hover:not(:disabled) {
|
|
455
464
|
--button-background: var(--tc-button-primary-background-inverse-hover-dark);
|
|
@@ -468,6 +477,7 @@
|
|
|
468
477
|
.button--type-primary.button-dark-inverse-theme:disabled {
|
|
469
478
|
--button-text-color: var(--tc-button-text-inverse-disabled-dark);
|
|
470
479
|
--button-background: var(--tc-button-primary-background-inverse-disabled-dark);
|
|
480
|
+
--button-icon-color: var(--tc-button-icon-inverse-disabled-dark);
|
|
471
481
|
}
|
|
472
482
|
.button--type-primary.button-mint-theme {
|
|
473
483
|
--button-text-color: rgb(10, 11, 13);
|
|
@@ -496,6 +506,7 @@
|
|
|
496
506
|
--button-text-color: var(--tc-button-text-primary);
|
|
497
507
|
--button-border-color: transparent;
|
|
498
508
|
--button-background: var(--tc-button-primary-background-default);
|
|
509
|
+
--button-icon-color: var(--tc-button-icon-primary);
|
|
499
510
|
}
|
|
500
511
|
.button--type-primary.button-light-theme:hover:not(:disabled) {
|
|
501
512
|
--button-background: var(--tc-button-primary-background-hover);
|
|
@@ -513,11 +524,13 @@
|
|
|
513
524
|
.button--type-primary.button-light-theme:disabled {
|
|
514
525
|
--button-text-color: var(--tc-button-text-disabled);
|
|
515
526
|
--button-background: var(--tc-button-primary-background-disabled);
|
|
527
|
+
--button-icon-color: var(--tc-button-icon-disabled);
|
|
516
528
|
}
|
|
517
529
|
.button--type-primary.button-light-inverse-theme {
|
|
518
530
|
--button-text-color: var(--tc-button-text-inverse-primary);
|
|
519
531
|
--button-border-color: transparent;
|
|
520
532
|
--button-background: var(--tc-button-primary-background-inverse-default);
|
|
533
|
+
--button-icon-color: var(--tc-button-icon-inverse-primary);
|
|
521
534
|
}
|
|
522
535
|
.button--type-primary.button-light-inverse-theme:hover:not(:disabled) {
|
|
523
536
|
--button-background: var(--tc-button-primary-background-inverse-hover);
|
|
@@ -535,6 +548,7 @@
|
|
|
535
548
|
.button--type-primary.button-light-inverse-theme:disabled {
|
|
536
549
|
--button-text-color: var(--tc-button-text-inverse-disabled);
|
|
537
550
|
--button-background: var(--tc-button-primary-background-inverse-disabled);
|
|
551
|
+
--button-icon-color: var(--tc-button-icon-inverse-disabled);
|
|
538
552
|
}
|
|
539
553
|
.button--type-primary.button-classic-theme {
|
|
540
554
|
--button-text-color: rgb(255, 255, 255);
|
|
@@ -609,7 +623,8 @@
|
|
|
609
623
|
}
|
|
610
624
|
.button--type-secondary.button-dark-theme {
|
|
611
625
|
--button-text-color: var(--tc-button-text-secondary-dark);
|
|
612
|
-
--button-border-color: var(--tc-border-
|
|
626
|
+
--button-border-color: var(--tc-button-border-secondary-dark);
|
|
627
|
+
--button-icon-color: var(--tc-button-icon-inverse-primary-dark);
|
|
613
628
|
}
|
|
614
629
|
.button--type-secondary.button-dark-theme:hover:not(:disabled) {
|
|
615
630
|
--button-background: var(--tc-button-secondary-background-hover-dark);
|
|
@@ -626,15 +641,17 @@
|
|
|
626
641
|
--button-background: var(--tc-button-secondary-background-pressed-dark);
|
|
627
642
|
}
|
|
628
643
|
.button--type-secondary.button-dark-theme:disabled {
|
|
629
|
-
--button-text-color: var(--tc-button-secondary-
|
|
630
|
-
--button-border-color: var(--tc-button-
|
|
644
|
+
--button-text-color: var(--tc-button-text-secondary-disabled-dark);
|
|
645
|
+
--button-border-color: var(--tc-button-border-disabled-dark);
|
|
646
|
+
--button-icon-color: var(--tc-button-icon-secondary-disabled-dark);
|
|
631
647
|
}
|
|
632
648
|
.button--type-secondary.button-dark-inverse-theme {
|
|
633
649
|
--button-text-color: var(--tc-button-text-inverse-secondary-dark);
|
|
634
|
-
--button-border-color: var(--tc-border-inverse-
|
|
650
|
+
--button-border-color: var(--tc-button-border-inverse-secondary-dark);
|
|
651
|
+
--button-icon-color: var(--tc-button-icon-inverse-secondary-dark);
|
|
635
652
|
}
|
|
636
653
|
.button--type-secondary.button-dark-inverse-theme:hover:not(:disabled) {
|
|
637
|
-
--button-background: var(--tc-button-secondary-background-hover-dark);
|
|
654
|
+
--button-background: var(--tc-button-secondary-background-inverse-hover-dark);
|
|
638
655
|
--button-box-shadow: var(--tc-button-hover-shadow-centre-dark), var(--tc-button-hover-shadow-raised-dark);
|
|
639
656
|
}
|
|
640
657
|
.button--type-secondary.button-dark-inverse-theme:focus-visible:not(:disabled) {
|
|
@@ -645,11 +662,12 @@
|
|
|
645
662
|
--button-box-shadow: none;
|
|
646
663
|
}
|
|
647
664
|
.button--type-secondary.button-dark-inverse-theme:active:not(:disabled) {
|
|
648
|
-
--button-background: var(--tc-button-secondary-background-pressed-dark);
|
|
665
|
+
--button-background: var(--tc-button-secondary-background-inverse-pressed-dark);
|
|
649
666
|
}
|
|
650
667
|
.button--type-secondary.button-dark-inverse-theme:disabled {
|
|
651
|
-
--button-text-color: var(--tc-button-secondary-
|
|
652
|
-
--button-border-color: var(--tc-button-
|
|
668
|
+
--button-text-color: var(--tc-button-text-inverse-secondary-disabled-dark);
|
|
669
|
+
--button-border-color: var(--tc-button-border-inverse-disabled-dark);
|
|
670
|
+
--button-icon-color: var(--tc-button-icon-inverse-secondary-disabled-dark);
|
|
653
671
|
}
|
|
654
672
|
.button--type-secondary.button-mint-theme {
|
|
655
673
|
--button-text-color: rgb(26, 213, 219);
|
|
@@ -678,7 +696,8 @@
|
|
|
678
696
|
}
|
|
679
697
|
.button--type-secondary.button-light-theme {
|
|
680
698
|
--button-text-color: var(--tc-button-text-secondary);
|
|
681
|
-
--button-border-color: var(--tc-border-
|
|
699
|
+
--button-border-color: var(--tc-button-border-secondary);
|
|
700
|
+
--button-icon-color: var(--tc-button-icon-inverse-primary);
|
|
682
701
|
}
|
|
683
702
|
.button--type-secondary.button-light-theme:hover:not(:disabled) {
|
|
684
703
|
--button-background: var(--tc-button-secondary-background-hover);
|
|
@@ -694,15 +713,17 @@
|
|
|
694
713
|
--button-background: var(--tc-button-secondary-background-pressed);
|
|
695
714
|
}
|
|
696
715
|
.button--type-secondary.button-light-theme:disabled {
|
|
697
|
-
--button-text-color: var(--tc-button-secondary-
|
|
698
|
-
--button-border-color: var(--tc-button-
|
|
716
|
+
--button-text-color: var(--tc-button-text-secondary-disabled);
|
|
717
|
+
--button-border-color: var(--tc-button-border-disabled);
|
|
718
|
+
--button-icon-color: var(--tc-button-icon-secondary-disabled);
|
|
699
719
|
}
|
|
700
720
|
.button--type-secondary.button-light-inverse-theme {
|
|
701
721
|
--button-text-color: var(--tc-button-text-inverse-secondary);
|
|
702
|
-
--button-border-color: var(--tc-border-inverse-
|
|
722
|
+
--button-border-color: var(--tc-button-border-inverse-secondary);
|
|
723
|
+
--button-icon-color: var(--tc-button-icon-inverse-secondary);
|
|
703
724
|
}
|
|
704
725
|
.button--type-secondary.button-light-inverse-theme:hover:not(:disabled) {
|
|
705
|
-
--button-background: var(--tc-button-secondary-background-hover);
|
|
726
|
+
--button-background: var(--tc-button-secondary-background-inverse-hover);
|
|
706
727
|
--button-box-shadow: var(--tc-button-hover-shadow-centre), var(--tc-button-hover-shadow-raised);
|
|
707
728
|
}
|
|
708
729
|
.button--type-secondary.button-light-inverse-theme:focus-visible:not(:disabled) {
|
|
@@ -712,11 +733,12 @@
|
|
|
712
733
|
--button-box-shadow: none;
|
|
713
734
|
}
|
|
714
735
|
.button--type-secondary.button-light-inverse-theme:active:not(:disabled) {
|
|
715
|
-
--button-background: var(--tc-button-secondary-background-pressed);
|
|
736
|
+
--button-background: var(--tc-button-secondary-background-inverse-pressed);
|
|
716
737
|
}
|
|
717
738
|
.button--type-secondary.button-light-inverse-theme:disabled {
|
|
718
|
-
--button-text-color: var(--tc-button-secondary-
|
|
719
|
-
--button-border-color: var(--tc-button-
|
|
739
|
+
--button-text-color: var(--tc-button-text-inverse-secondary-disabled);
|
|
740
|
+
--button-border-color: var(--tc-button-border-inverse-disabled);
|
|
741
|
+
--button-icon-color: var(--tc-button-icon-inverse-secondary-disabled);
|
|
720
742
|
}
|
|
721
743
|
.button--type-secondary.button-classic-theme {
|
|
722
744
|
--button-text-color: rgb(0, 96, 245);
|
|
@@ -12,17 +12,19 @@ export class TetButton {
|
|
|
12
12
|
this.theme = 'classic';
|
|
13
13
|
this.disabled = false;
|
|
14
14
|
this.iconMode = false;
|
|
15
|
+
this.iconName = undefined;
|
|
15
16
|
this.elementId = undefined;
|
|
16
17
|
this.accessibilityLabel = '';
|
|
17
18
|
}
|
|
18
19
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '89f91307931778bc010d22ef8852942158b03e2d' }, h("button", Object.assign({ key: 'fc228303ec3c839f06cdf2aaca15f0e4832081ea', part: "button", onClick: this.clickCallback, id: this.elementId, class: {
|
|
20
21
|
button: true,
|
|
21
22
|
[`button-${this.size}`]: true,
|
|
22
23
|
[`button--type-${this.type}`]: true,
|
|
23
24
|
[`button-${this.theme}-theme`]: true,
|
|
24
|
-
'icon-mode': this.iconMode
|
|
25
|
-
|
|
25
|
+
'icon-mode': this.iconMode || !!this.iconName,
|
|
26
|
+
'with-icon': !!this.iconName,
|
|
27
|
+
}, disabled: this.disabled }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {})), !!this.iconName ? h("tet-icon", { name: this.iconName }) : h("slot", null))));
|
|
26
28
|
}
|
|
27
29
|
static get is() { return "tet-button"; }
|
|
28
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -157,6 +159,23 @@ export class TetButton {
|
|
|
157
159
|
"reflect": false,
|
|
158
160
|
"defaultValue": "false"
|
|
159
161
|
},
|
|
162
|
+
"iconName": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"mutable": false,
|
|
165
|
+
"complexType": {
|
|
166
|
+
"original": "string",
|
|
167
|
+
"resolved": "string",
|
|
168
|
+
"references": {}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": true,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": "Specifies the icon to use for the button. \nWhen this property is set, the button automatically switches to icon mode."
|
|
175
|
+
},
|
|
176
|
+
"attribute": "icon-name",
|
|
177
|
+
"reflect": false
|
|
178
|
+
},
|
|
160
179
|
"elementId": {
|
|
161
180
|
"type": "string",
|
|
162
181
|
"mutable": false,
|
|
@@ -57,7 +57,7 @@ export class TetCheckbox {
|
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
59
|
const { label, name, checked, value, disabled, error } = this;
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '6d1abff1fa1a75fed5b12f9e85ece2b3464b2c2f' }, h("div", { key: '5f862a3d051096849715411b3c17e4132cb0dafa', class: { checkbox: true, [`${this.theme}`]: true } }, h("label", { key: 'fb741b5bb7397c552a02cb6341de1016a498d36c', class: "checkbox__container", part: "checkbox-container", htmlFor: "tet-checkbox" }, h("input", { key: '2416ba723506f9b168eb7bb9740867325d78db99', ref: (el) => (this.inputEl = el), class: "checkbox__html-input", id: "tet-checkbox", type: "checkbox", name: name, value: value, disabled: disabled, checked: checked, onChange: this.handleChange }), h("span", { key: '8f5250ad79b6ca8d7b6d8848abdd12e972984de8', class: { 'checkbox__input': true, 'checkbox__input--error': error } }, h("tet-icon", { key: '9ff02edccb55061253fc79d8d8ca22e071ad8963', name: "remove", class: "checkbox__icon checkbox__icon--indeterminate indicator" }), h("tet-icon", { key: '06c23c7b5b2bd5cef5646b9e3b86b537cffccda7', name: "check", class: "checkbox__icon" })), label ? (h("span", { class: "checkbox__label", innerHTML: label })) : (h("span", { class: "checkbox__label" }, h("slot", null)))))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "tet-checkbox"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class TetRadio {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
const { id, disabled, value, checked, name, label, handleInputChange, accessibilityLabel, inputAutofocus } = this;
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '5b61be69de9ec0849bc2745da7ef409f7edd82c8' }, h("div", { key: '2dd530a0889cfb6e99934a941b86e2aaddbf8dbd', class: { radio: true, [`radio-${this.theme}-theme`]: true } }, h("label", { key: '804d53f085df288e427ee8f805f03838f9f758a9', class: "radio__container", htmlFor: id }, h("input", Object.assign({ key: '27d0a4d28f1072f00c0737433f4442452b23cc21', class: "radio__html-input", id: id, name: name, type: "radio", value: value, disabled: disabled, checked: checked, onChange: handleInputChange, autofocus: inputAutofocus }, (accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}), { tabindex: this.checked ? '0' : '-1', role: "radio", "aria-checked": this.checked ? 'true' : 'false' })), h("span", { key: 'c3da1a5e036d721583e507c49c451e49d4b2013e', class: "radio__input" }), label ? (h("span", { class: "radio__label", innerHTML: label })) : (h("span", { class: "radio__label" }, h("slot", null)))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "tet-radio"; }
|
|
51
51
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,7 +35,7 @@ export class TetSwitch {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const { label, name, theme, disabled, checked, accessibilityLabel } = this;
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '192e210eabc95bb42cc0e46fb61127ba6cc594a0' }, h("div", { key: 'b9959805dc353b9121b9280b0c0e4741512dbff6', class: { 'switch': true, [`${theme}`]: true } }, h("label", { key: 'fba548a18611cc16f1029c7308d83da3ea9a3433', class: "switch__container", part: "switch-container", htmlFor: "tet-switch" }, h("input", Object.assign({ key: 'ab71dcfdcc42ecd110ecd0119bf97f1281c07d6f', class: "switch__html-input", name: name, id: "tet-switch", type: "checkbox", disabled: disabled, checked: checked, onChange: this.handleChange() }, (accessibilityLabel ? { "aria-label": accessibilityLabel } : {}))), h("span", { key: 'fb1c3befb3414f35097bbe6b378538e9820ed9ca', class: { "switch__input": true, [this.theme]: true } }, h("span", { key: '88716ebb1e352447b0c08e4b71ff41e3d349ef89', class: "switch__state" })), label
|
|
39
39
|
? h("span", { class: "switch__label", innerHTML: label })
|
|
40
40
|
: h("span", { class: "switch__label" }, h("slot", null))))));
|
|
41
41
|
}
|
package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js
CHANGED
|
@@ -113,10 +113,10 @@ export class TetTabContent {
|
|
|
113
113
|
this.selectedId = id;
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '1e1adf215b2fe6c4618b1a7fb63e7a992fcd4c60' }, h("div", { key: '8bdda1c746a062e2b1cc402e51d5730b79b962b9', class: {
|
|
117
117
|
'tet-tab-content': true,
|
|
118
118
|
'use-visibility': this.useVisibility
|
|
119
|
-
} }, h("slot", { key: '
|
|
119
|
+
} }, h("slot", { key: '1bd5c0c90f61ffe937979fc33a7cfd60fd5607d8' }))));
|
|
120
120
|
}
|
|
121
121
|
static get is() { return "tet-tab-content"; }
|
|
122
122
|
static get encapsulation() { return "shadow"; }
|
|
@@ -399,7 +399,7 @@ export class TetTabHeader {
|
|
|
399
399
|
return {};
|
|
400
400
|
}
|
|
401
401
|
render() {
|
|
402
|
-
return (h(Host, { key: '
|
|
402
|
+
return (h(Host, { key: '8910bc0892ab4c86f0595b02effead58cee93419' }, h("div", { key: 'e67fb443e4ddc58d57b5a7f1f0567fe3e236c62a', class: {
|
|
403
403
|
'tabs': true,
|
|
404
404
|
'tabs--segmented': this.segmented,
|
|
405
405
|
[this.position]: true,
|
|
@@ -407,7 +407,7 @@ export class TetTabHeader {
|
|
|
407
407
|
[this.sizing]: true,
|
|
408
408
|
'no-underline': this.hideHeaderUnderline,
|
|
409
409
|
[this.type]: !!this.type
|
|
410
|
-
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref) }, h("slot", { key: '
|
|
410
|
+
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref) }, h("slot", { key: '412120e4448fc59441db1d7fea42a5338b9f5a2c', ref: (slot) => (this.tabContainer = slot) }))));
|
|
411
411
|
}
|
|
412
412
|
static get is() { return "tet-tab-header"; }
|
|
413
413
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,12 +19,12 @@ export class TetTag {
|
|
|
19
19
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '93a81aebb3103f7901d7f22a3f445a0e679b0d6c' }, h("button", { key: '59a5c054091cb576de1913841630d52448fcd9db', class: {
|
|
23
23
|
tag: true,
|
|
24
24
|
'tag-active': this.active,
|
|
25
25
|
'tag--icon': this.showIcon,
|
|
26
26
|
[`theme-${this.theme}`]: true,
|
|
27
|
-
}, "aria-pressed": this.active.toString() }, this.tagTitle && h("p", { key: '
|
|
27
|
+
}, "aria-pressed": this.active.toString() }, this.tagTitle && h("p", { key: '9eced167ece27d9bcf87ed05ac8b28e6203108c9', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: '8c8db46b2a8a161d50c97a9d076d9ccfb5bf9a1b', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '7d1825f0760f4c115197b69c402dd01e5109aa15', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "tet-tag"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,12 +11,12 @@ export class TetContainer {
|
|
|
11
11
|
this.theme = 'classic';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: 'e6b104ae77688173e78cd0938d584c670a08f02c', class: {
|
|
15
15
|
'container': true,
|
|
16
16
|
'container--highlightable': this.highlightable,
|
|
17
17
|
'container--selected': this.selected,
|
|
18
18
|
[`container--${this.theme}`]: this.theme !== 'classic',
|
|
19
|
-
}, part: "container" }, h("slot", { key: '
|
|
19
|
+
}, part: "container" }, h("slot", { key: '603211fdaa1769de317f7927b651afb84e939e07' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "tet-container"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class TetIcon {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("span", { key: '
|
|
48
|
+
return (h("span", { key: 'b67c1c9fab01d2726ca999c90e8d7f125d877d6c', class: "icon-wrapper" }, h("span", Object.assign({ key: 'a36a5594a9b0c5fc31c2249ffd9a32da30b35057', class: { 'icon-container': true, 'default-color': this.useDefaultColor, [this.theme]: true }, ref: (element) => (this.iconContainer = element) }, (this.accessibilityLabel
|
|
49
49
|
? { "aria-label": this.accessibilityLabel, "role": "img" }
|
|
50
50
|
: { "role": "presentation" })))));
|
|
51
51
|
}
|
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TetLoader {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: 'd7e698a28d977fcc1e7bf198898715cc1739d5b8', class: "loader" }, h("div", { key: '5ee1ae97c6bbec0f1936421a5b7c31ffc308cd63', class: "loader-inner" })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "tet-loader"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class TetPlaceholder {
|
|
|
9
9
|
this.darkTheme = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'b11b339397eaf084989480d02b56ed140e1ed769', style: { width: this.width, height: this.height } }, h("div", { key: 'a38152acb4bdf9fba6d1bc3a94cc0fc46b9cc66e', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '6073eb33bea8cb0be5e4f260eeddd8ca9bdc521c', class: "placeholder", style: { height: this.height } }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "tet-placeholder"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,13 +47,13 @@ export class TetSpinner {
|
|
|
47
47
|
this.setForeignObjectAttributes();
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h("div", { key: '
|
|
50
|
+
return (h("div", { key: 'da8983e8ceb2734306ec986e3285257f24855d0a', ref: element => (this.spinner = element), class: {
|
|
51
51
|
spinner: true,
|
|
52
52
|
[`${this.theme}-theme`]: true,
|
|
53
53
|
[`size--${this.size}`]: true,
|
|
54
54
|
[`spinner--${this.type}`]: true,
|
|
55
|
-
} }, h("svg", { key: '
|
|
56
|
-
0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '
|
|
55
|
+
} }, h("svg", { key: '0e451f887c3d9ad8460941cc1122e174968527f6', viewBox: "0 0 40 40" }, h("clipPath", { key: '992b35747bd26603697b73d59325e830e838b96e', id: "clip" }, h("path", { key: '5693b10f385945e059206f9b978cd4b4548ee069', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
|
|
56
|
+
0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '1e300ef785846d8154b802b79b0c0a5a9f4c025a' }, h("div", { key: '71f0770410b9136dc107388a5aec1c6f216fe30d', class: "spinner__gradient" })))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "tet-spinner"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,12 +13,12 @@ export class TetLabel {
|
|
|
13
13
|
this.showIcon = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '7efbd5e4aa519a6cfb79d7557b85a8e885fc90f6' }, h("div", { key: '93bdb5fa15a26e715bcbe9fe57153cf5c60c2566', class: {
|
|
17
17
|
label: true,
|
|
18
18
|
'label-active': this.active,
|
|
19
19
|
[`label-type-${this.type}`]: true,
|
|
20
20
|
[`theme-${this.theme}`]: true,
|
|
21
|
-
} }, this.labelTitle && h("p", { key: '
|
|
21
|
+
} }, this.labelTitle && h("p", { key: '34e5927a3030c2a876217cd425744559a7a74b26', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: '8f30815f83fb6de4d439a00a7da0951d11a71815', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "tet-label"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,7 +58,7 @@ export class TetRoundStepper {
|
|
|
58
58
|
this.calculateContainerWidth();
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'fd8ee9e0f0ac5f69bda900db3753a746d57d36c4' }, h("div", { key: 'd6e9a4a4a94e8df4b83d8d37cca1a83548a53394', class: {
|
|
62
62
|
'round-stepper': true,
|
|
63
63
|
'column': this.forcedColumn,
|
|
64
64
|
'hide-icons': this.hideIcons,
|
|
@@ -70,7 +70,7 @@ export class TetStepper {
|
|
|
70
70
|
this.stepperData = [];
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '31d797a5d491a807379364783569a9de5a797890' }, h("ol", { key: 'eb1e51a74e75e8572f058f00e61ff13541c01fb7', class: "stepper" }, this.stepperData.map(this.renderStep))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "tet-stepper"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class TetStepperV2 {
|
|
|
36
36
|
this.theme = 'light';
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '7d6261e6159384fbd48d7cd96298b26514d58833' }, h("ol", { key: 'fb16ca14511bae1c9a9395aaeb52cde426412677', class: {
|
|
40
40
|
'stepper': true,
|
|
41
41
|
[this.theme]: true,
|
|
42
42
|
} }, this.stepperData.map(this.renderStep.bind(this)))));
|
|
@@ -51,9 +51,9 @@ export class TetDatepickerHeader {
|
|
|
51
51
|
this.internalDateChanged.emit(newDate);
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: '393785539930497c44155dfe589ba37326f88b91', class: "header" }, this.datepickerView !== 'year'
|
|
55
55
|
? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
|
|
56
|
-
: h("div", null), h("div", { key: '
|
|
56
|
+
: h("div", null), h("div", { key: '08f41f93016d2b07fb8c9b9bc37b8b436901d7f1', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: '7e157cbce8babcc1dde3b58311d4c8eb2c4660af', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
|
|
57
57
|
? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
|
|
58
58
|
: h("div", null)));
|
|
59
59
|
}
|
|
@@ -156,7 +156,7 @@ export class TetDatepickerMonthView {
|
|
|
156
156
|
return date.toDateString() === this.currentDate.toDateString();
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: 'f66143c73073ea18cfa6136fb9fcc8a288cde60f' }, h("div", { key: '9d0f358ecc737dde8258bbba2d4b9728f71fe81a', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'cda2d017b54f7049a5693c62d9b2aeda06130929', class: "month-dates" }, this.previousMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date.getDate()))), this.monthDates.map(date => h("div", { class: this.getDateContainerClasses(date), onPointerEnter: (event) => this.setInRangeHover(date, event), onPointerLeave: (event) => this.removeInRangeHover(event) }, h("div", { class: this.getDateClasses(date), onClick: () => this.handleDateSelection(date) }, date.getDate()))), this.nextMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date))))));
|
|
160
160
|
}
|
|
161
161
|
static get is() { return "tet-datepicker-month-view"; }
|
|
162
162
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class TetDatepickerMultiYearView {
|
|
|
29
29
|
this.years = this.getYears(this.internalDate);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '060f4e7e7ee31e870b1569ea6e9f582e3854977d', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "tet-datepicker-multi-year-view"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class TetDatepickerYearView {
|
|
|
34
34
|
return this.todayDate.getMonth() === monthIndex;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: '27e060a2a2415f6259d828f587d68c4bfc9f2154', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tet-datepicker-year-view"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,10 +94,10 @@ export class TetDatepicker {
|
|
|
94
94
|
this.rangeDatesChanged.emit(newDates);
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (h("div", { key: '
|
|
98
|
-
h("tet-datepicker-month-view", { key: '
|
|
99
|
-
h("tet-datepicker-multi-year-view", { key: '
|
|
100
|
-
h("tet-datepicker-year-view", { key: '
|
|
97
|
+
return (h("div", { key: '3fb74be7aefe0ae97476e7458922c730b3f4a02a', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: '131e37c247f88d2d60b3dfaf79210d17d48bcc3e', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '19c7ea536c4368a0c7fdf23ada0f27dc222396a9', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
98
|
+
h("tet-datepicker-month-view", { key: '9f6a4dfc3b95809119f76cedc5e7d777719be5aa', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
99
|
+
h("tet-datepicker-multi-year-view", { key: '6ed21d6663231cf754aea7d39318e3f7fd2688b1', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
100
|
+
h("tet-datepicker-year-view", { key: 'fbbfd9acf7114e46a4340a86073bcdefe1e9caca', selectedDate: this.date, internalDate: this.internalDate }))));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "tet-datepicker"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -359,7 +359,7 @@ export class TetDropdown {
|
|
|
359
359
|
}
|
|
360
360
|
render() {
|
|
361
361
|
const { theme, isOpen, isKeyboardFocus } = this;
|
|
362
|
-
return (h(Host, { key: '
|
|
362
|
+
return (h(Host, { key: 'f827ff643370a151e80d71b630e6160d3e0d9f6a' }, h("div", { key: 'fe6ad17752853b83b7b4d1d9210ec26e36e618fc', class: { 'dropdown': true, 'dropdown--open': isOpen, 'focus-visible': isKeyboardFocus && isOpen, [`${theme}`]: true } }, this.renderButton(), this.renderOptions())));
|
|
363
363
|
}
|
|
364
364
|
static get is() { return "tet-dropdown"; }
|
|
365
365
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.js
CHANGED
|
@@ -225,12 +225,12 @@ export class TetExpandableInput {
|
|
|
225
225
|
return '';
|
|
226
226
|
}
|
|
227
227
|
render() {
|
|
228
|
-
return (h(Host, { key: '
|
|
228
|
+
return (h(Host, { key: '8ccc4b8abfff3cf163aeeb76d4aa1c99b576fca2', class: { small: this.size === 'small' } }, h("div", { key: '2d8108e130f185b709b632ec20b748a4023b2084', class: {
|
|
229
229
|
container: true,
|
|
230
230
|
expanded: this.expanded,
|
|
231
231
|
[this.mode]: true,
|
|
232
232
|
dark: this.darkMode
|
|
233
|
-
} }, h("div", { key: '
|
|
233
|
+
} }, h("div", { key: '91f42522064a74acdbee6a8ea1c71af85fbb2e30', class: "input-wrapper", ref: (element) => (this.inputWrapper = element) }, h("tet-input", { key: '2d79a8deccb40dceec33366a7126ee9523b39fb2', class: "tet-input", label: this.label, "input-class": this.class, "input-placeholder": this.renderInputContent ? this.placeholder : '', "accessibility-label": this.accessibilityLabel, "input-type": this.type, "input-value": this.value, "input-disabled": this.disabled, error: this.error, "icon-left": this.iconLeft, "icon-right": this.renderInputContent ? this.iconRight : '', iconRightClickCallback: this.iconRightClickCallback, theme: this.theme, ref: (inputElement) => (this.inputHtmlElement = inputElement) }), this.closeButton))));
|
|
234
234
|
}
|
|
235
235
|
static get is() { return "tet-expandable-input"; }
|
|
236
236
|
static get encapsulation() { return "shadow"; }
|
|
@@ -236,8 +236,8 @@ export class TetInput {
|
|
|
236
236
|
*/
|
|
237
237
|
render() {
|
|
238
238
|
const { label, helperText, value, disabled, error, completed, isOpen, suffix } = this;
|
|
239
|
-
return (h("div", { key: '
|
|
240
|
-
'disabled': disabled, 'error': error, 'completed': completed } }, !!label && (h("label", { key: '
|
|
239
|
+
return (h("div", { key: 'c2e6e1a2a1d94ed55de0ac7e45507a5eedb40eeb', class: { 'number-input': true, [this.theme]: !!this.theme,
|
|
240
|
+
'disabled': disabled, 'error': error, 'completed': completed } }, !!label && (h("label", { key: '5be47d3de72987236c4d9170c73fc671e9e02f2b', class: "number-input__label", htmlFor: "number-input" }, label)), h("div", { key: '97dd4ffd0a98b6809e1d8c0715b5763fa2bf33dc', class: { 'number-input__input-container': true, 'dropdown-open': this.isOpen }, onKeyDown: this.handleContainerKeydown }, h("input", Object.assign({ key: '70861db84737fd5fc172ac30b75e6d8dc4753927', 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: '52173c774b8ef5749533975ce85d114243c7c75a', ref: (htmlInputElement) => (this.inputElementHidden = htmlInputElement), class: "number-input__input-invisible" }, value), !!suffix && h("div", { key: '7d870844289e51ae7cbbed0da7af3d5b2c2335c7', class: "number-input__input-suffix" }, suffix.name), !!this.suffixes && this.suffixes.length > 1 && (h("tet-button", { key: 'b8db5870b392c9c924dc17d5993189b73ed2af94', 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: 'd725f13f0378594e5b0ddb88657b56cbb26df1c6', name: "chevron-down" }), isOpen && h("tet-icon", { key: '4b63c7f23397d22f16c38af6a0b9d01b01ec8707', name: "chevron-up" }))), isOpen && (h("div", { key: '88eea4ebf882cdfaa5941c90b65af793f46a0867', class: "number-input__dropdown", ref: (htmlDivElement) => (this.dropdownElement = htmlDivElement) }, this.renderDropdownContent()))), !!helperText && h("div", { key: 'd3404a7268cf473111665716615f3a725b1a45a1', class: "number-input__helper-text" }, helperText)));
|
|
241
241
|
}
|
|
242
242
|
static get is() { return "tet-number-input"; }
|
|
243
243
|
static get encapsulation() { return "shadow"; }
|