@tet/tet-components 1.4.146-testing → 1.4.147-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/{http-codes-D7ffzpYW.js → http-codes-Dr-iFaJ9.js} +1 -1
- package/dist/cjs/{index-Dzs7Nkbj.js → index-BEOR8cIU.js} +1 -1
- package/dist/cjs/{index-BL_zVDFC.js → index-DRNSo5RU.js} +9 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{product-comparison-DUzqZuWv.js → product-comparison-_8BsEWy8.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_5.cjs.entry.js +5 -5
- package/dist/cjs/tet-assembler.cjs.entry.js +4 -4
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +6 -6
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-banner-nav.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 +2 -2
- 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-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-carousel.cjs.entry.js +9 -9
- package/dist/cjs/tet-checkbox_3.cjs.entry.js +101 -8
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +5 -5
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-card-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-countdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- 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-mini-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +6 -6
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-news-card.cjs.entry.js +91 -0
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-paginator.cjs.entry.js +103 -0
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +2 -2
- package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- 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-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/{translations-Uvcq4kv8.js → translations-Dgrvj2-A.js} +1 -1
- package/dist/collection/assets/icons/tc/tc-calendar-check.svg +8 -0
- package/dist/collection/assets/icons/tc/tc-change.svg +3 -0
- package/dist/collection/assets/icons/tc/tc-sparkle-person.svg +6 -0
- package/dist/collection/assets/icons/tc-icons.svg +14 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/advanced/cards/tet-assembler/tet-assembler.css +2 -0
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +2 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.css +2 -0
- package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.css +556 -0
- package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.js +298 -0
- 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-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
- 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/carousel/tet-carousel/tet-carousel.js +6 -6
- 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-countdown/tet-countdown.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.css +123 -19
- package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.js +160 -5
- 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 +2 -2
- 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 +2 -0
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.css +91 -0
- package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.js +231 -0
- package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.js +1 -1
- 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/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/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- 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/collection/services/utils/index.js +1 -0
- package/dist/collection/services/utils/visibility-observer.js +25 -0
- package/dist/collection/tet-components-core.css +1 -1
- package/dist/components/assets/icons/tc/tc-calendar-check.svg +8 -0
- package/dist/components/assets/icons/tc/tc-change.svg +3 -0
- package/dist/components/assets/icons/tc/tc-sparkle-person.svg +6 -0
- package/dist/components/assets/icons/tc-icons.svg +14 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-KagFBuv9.js → p-1p6NLY3L.js} +1 -1
- package/dist/components/{p-BSgeKEN8.js → p-4VAmcbbD.js} +1 -1
- package/dist/components/{p-iksDLWwk.js → p-8uYXXlUm.js} +1 -1
- package/dist/components/{p-CDDvHWDu.js → p-B47k32IE.js} +1 -1
- package/dist/components/{p-JZAHJ9gF.js → p-B7f6XRIi.js} +1 -1
- package/dist/components/{p-Cn_UPY3P.js → p-BD-Y27Mc.js} +1 -1
- package/dist/components/{p-BkFKgYOW.js → p-BQw2uyjD.js} +1 -1
- package/dist/components/{p-uriK4wxp.js → p-BS4rutIJ.js} +1 -1
- package/dist/components/{p-UVdgsuUF.js → p-BaMmaDio.js} +1 -1
- package/dist/components/{p-DT8tgMUV.js → p-Bj3MY3sZ.js} +1 -1
- package/dist/components/{p-CY1tO1HE.js → p-Bl1o5Jqh.js} +1 -1
- package/dist/components/{p-SprieIc0.js → p-BlbXAHDI.js} +1 -1
- package/dist/components/p-Bmg6LXgQ.js +1 -0
- package/dist/components/{p-vLpvVmb8.js → p-Bp0DRkjc.js} +1 -1
- package/dist/components/{p-DsTbwBba.js → p-C-YSHga5.js} +1 -1
- package/dist/components/{p-BPQNPw6e.js → p-CDjsibd6.js} +1 -1
- package/dist/components/{p-CNsxz-TF.js → p-CFfL7mQk.js} +1 -1
- package/dist/components/{p-BtMYZdep.js → p-CRVDRsD-.js} +1 -1
- package/dist/components/{p-m0PlnnJG.js → p-CSz0Js4x.js} +1 -1
- package/dist/components/{p-ZPHtvw0Z.js → p-CTARWop4.js} +1 -1
- package/dist/components/{p-B5shOn6R.js → p-CWoVcI9u.js} +1 -1
- package/dist/components/{p-lEX8wezw.js → p-CXP2jsSO.js} +1 -1
- package/dist/components/{p-CH_CJUiq.js → p-Ccea8RQU.js} +1 -1
- package/dist/components/{p-BN2sV9-A.js → p-CdCuscbi.js} +1 -1
- package/dist/components/{p-BDPxVbYN.js → p-Ch4sy5g_.js} +1 -1
- package/dist/components/{p-DeyD67la.js → p-CnY4Q6FV.js} +1 -1
- package/dist/components/p-Cp3n2oZP.js +1 -0
- package/dist/components/{p-BrD5Af4p.js → p-D2QgjtAE.js} +1 -1
- package/dist/components/{p-NAR5FXDl.js → p-DHG2oc6Q.js} +1 -1
- package/dist/components/{p-C-TWSM4z.js → p-DHcWHxAS.js} +1 -1
- package/dist/components/{p-Cdi7KDBd.js → p-DIyhqSTP.js} +1 -1
- package/dist/components/p-DJmm7-c6.js +1 -0
- package/dist/components/{p-BGrd_jXc.js → p-DNc4uxD3.js} +1 -1
- package/dist/components/{p-CzRzXWH6.js → p-DXcp45sU.js} +1 -1
- package/dist/components/{p-CUOgW7ZG.js → p-DY0QLpmd.js} +1 -1
- package/dist/components/{p-B9bE6qY-.js → p-DZ6ri3Ez.js} +1 -1
- package/dist/components/{p-D6kNR-cR.js → p-D_HAhWIZ.js} +1 -1
- package/dist/components/{p-5kTi8PjH.js → p-DeydZ8cH.js} +1 -1
- package/dist/components/{p-COVrKFTj.js → p-Dh4sPOZp.js} +1 -1
- package/dist/components/{p-BY4VWk_A.js → p-DupIaie7.js} +1 -1
- package/dist/components/{p-Jzy65bod.js → p-DyK3pU3P.js} +1 -1
- package/dist/components/{p-Cy7tiOgd.js → p-Dz2n5zqC.js} +1 -1
- package/dist/components/{p-BKlEhiGf.js → p-RdeHFmIo.js} +1 -1
- package/dist/components/{p-BebUippY.js → p-Xexyaprq.js} +1 -1
- package/dist/components/{p-B4CDhWR6.js → p-d-Rv1Rhi.js} +1 -1
- package/dist/components/{p-Br4jWI9B.js → p-dg7EpwKx.js} +1 -1
- package/dist/components/{p-C31HYpo5.js → p-hddOTT87.js} +1 -1
- package/dist/components/{p-CLtgu35N.js → p-mCh3SGgn.js} +1 -1
- package/dist/components/{p-BAkWN1D6.js → p-stVsF2Eb.js} +1 -1
- package/dist/components/{p-BTSQyL7G.js → p-wcsGFLu0.js} +1 -1
- package/dist/components/{p-zWNDOP2j.js → p-yTZZPJz0.js} +1 -1
- package/dist/components/{p-PYYBcx0f.js → p-ycwaDwH3.js} +1 -1
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +1 -1
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-assembler.js +1 -1
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +1 -1
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +1 -1
- package/dist/components/tet-banner-nav.js +1 -1
- 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 +1 -1
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +1 -1
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +1 -1
- package/dist/components/tet-cloud-configurator.js +1 -1
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +1 -1
- package/dist/components/tet-compare-card-v3.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +1 -1
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-countdown.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- 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 +1 -1
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +1 -1
- package/dist/components/tet-divider.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +1 -1
- package/dist/components/tet-expandable-input.js +1 -1
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +1 -1
- package/dist/components/tet-filter.js +1 -1
- package/dist/components/tet-floating-block.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 +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-menu-mobile.js +1 -1
- package/dist/components/tet-menu.js +1 -1
- package/dist/components/tet-mini-compare-card.js +1 -1
- package/dist/components/tet-multi-step-dialog.js +1 -1
- package/dist/components/tet-navigation-mobile.js +1 -1
- package/dist/components/tet-news-card-list.js +1 -1
- package/dist/components/tet-news-card.d.ts +11 -0
- package/dist/components/tet-news-card.js +1 -0
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-paginator.d.ts +11 -0
- package/dist/components/tet-paginator.js +1 -0
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.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-v3.js +1 -1
- package/dist/components/tet-sticky-offer.js +1 -1
- package/dist/components/tet-support-search.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 +1 -1
- 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-text.js +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v3.js +1 -1
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/esm/{http-codes-BQGPgOl6.js → http-codes-DP6cQyLI.js} +1 -1
- package/dist/esm/{index-DScZlZas.js → index-BTdj-C2n.js} +1 -1
- package/dist/esm/{index-BGB6gNkz.js → index-BWP8psSS.js} +9 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{product-comparison-DUVV7BFR.js → product-comparison-CBuVYKp-.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_5.entry.js +5 -5
- package/dist/esm/tet-assembler.entry.js +4 -4
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.entry.js +2 -2
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +6 -6
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- 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 +1 -1
- 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-carousel.entry.js +9 -9
- package/dist/esm/tet-checkbox_3.entry.js +101 -8
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +5 -5
- package/dist/esm/tet-compare-card-v2.entry.js +4 -4
- package/dist/esm/tet-compare-card-v3.entry.js +3 -3
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +5 -5
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-countdown.entry.js +2 -2
- package/dist/esm/tet-counter.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +6 -6
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-news-card.entry.js +89 -0
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-paginator.entry.js +101 -0
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio-blocks.entry.js +1 -1
- package/dist/esm/tet-radio_2.entry.js +3 -3
- package/dist/esm/tet-range-slider.entry.js +8 -8
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-spinner.entry.js +4 -4
- package/dist/esm/tet-stepper-input.entry.js +4 -4
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-sticky-offer.entry.js +2 -2
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +5 -5
- package/dist/esm/tet-text-list.entry.js +2 -2
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/{translations-Dc2OQnbI.js → translations-BxuQY6H_.js} +1 -1
- package/dist/tet-components/assets/icons/tc/tc-calendar-check.svg +8 -0
- package/dist/tet-components/assets/icons/tc/tc-change.svg +3 -0
- package/dist/tet-components/assets/icons/tc/tc-sparkle-person.svg +6 -0
- package/dist/tet-components/assets/icons/tc-icons.svg +14 -0
- package/dist/tet-components/{p-7ac2babd.entry.js → p-000d62f0.entry.js} +1 -1
- package/dist/tet-components/{p-3f533c77.entry.js → p-014e79de.entry.js} +1 -1
- package/dist/tet-components/{p-c44052cb.entry.js → p-09825c82.entry.js} +1 -1
- package/dist/tet-components/{p-96438761.entry.js → p-0b2a0a11.entry.js} +1 -1
- package/dist/tet-components/{p-37c83d33.entry.js → p-0bb47e76.entry.js} +1 -1
- package/dist/tet-components/{p-9ae4f442.entry.js → p-0e4c6e2c.entry.js} +1 -1
- package/dist/tet-components/{p-3996e0b7.entry.js → p-0e9ae429.entry.js} +1 -1
- package/dist/tet-components/{p-8eed24d3.entry.js → p-1a00251e.entry.js} +1 -1
- package/dist/tet-components/p-1e222bb7.entry.js +1 -0
- package/dist/tet-components/{p-a74562c2.entry.js → p-2554725a.entry.js} +1 -1
- package/dist/tet-components/{p-3ce7cda9.entry.js → p-27213d06.entry.js} +1 -1
- package/dist/tet-components/{p-c0c302fe.entry.js → p-277304a3.entry.js} +1 -1
- package/dist/tet-components/{p-d2bb410e.entry.js → p-2e5144eb.entry.js} +1 -1
- package/dist/tet-components/{p-19525e17.entry.js → p-32492c9c.entry.js} +1 -1
- package/dist/tet-components/{p-5bac849e.entry.js → p-331e1a1d.entry.js} +1 -1
- package/dist/tet-components/{p-49ba40a1.entry.js → p-34a661a6.entry.js} +1 -1
- package/dist/tet-components/{p-cfdad238.entry.js → p-3556eb79.entry.js} +1 -1
- package/dist/tet-components/{p-1be85243.entry.js → p-35d587d8.entry.js} +1 -1
- package/dist/tet-components/{p-f21e5e14.entry.js → p-35f0994e.entry.js} +1 -1
- package/dist/tet-components/{p-cdb8c877.entry.js → p-3f0547b8.entry.js} +1 -1
- package/dist/tet-components/{p-97ce6978.entry.js → p-44f60fbb.entry.js} +1 -1
- package/dist/tet-components/{p-304026be.entry.js → p-45e2b67c.entry.js} +1 -1
- package/dist/tet-components/{p-b7263345.entry.js → p-461b9623.entry.js} +1 -1
- package/dist/tet-components/{p-56f99297.entry.js → p-4a2cbbd6.entry.js} +1 -1
- package/dist/tet-components/{p-71fa80d7.entry.js → p-4a7e69fc.entry.js} +1 -1
- package/dist/tet-components/{p-d8b4261d.entry.js → p-4d00acd4.entry.js} +1 -1
- package/dist/tet-components/{p-e2d4e5c3.entry.js → p-4f339642.entry.js} +1 -1
- package/dist/tet-components/{p-3af65955.entry.js → p-52cc694d.entry.js} +1 -1
- package/dist/tet-components/{p-83be5dad.entry.js → p-571d6428.entry.js} +1 -1
- package/dist/tet-components/{p-35e3a3ec.entry.js → p-579fdd6e.entry.js} +1 -1
- package/dist/tet-components/{p-01336e7a.entry.js → p-5883cc02.entry.js} +1 -1
- package/dist/tet-components/{p-2cfcf7df.entry.js → p-5c121a95.entry.js} +1 -1
- package/dist/tet-components/{p-9183aa09.entry.js → p-602efd1a.entry.js} +1 -1
- package/dist/tet-components/{p-ec4710dd.entry.js → p-60789dda.entry.js} +1 -1
- package/dist/tet-components/{p-915b2507.entry.js → p-62e35581.entry.js} +1 -1
- package/dist/tet-components/{p-085ec974.entry.js → p-63238349.entry.js} +1 -1
- package/dist/tet-components/{p-8ab2df2d.entry.js → p-67a8fbf3.entry.js} +1 -1
- package/dist/tet-components/{p-fcfc7424.entry.js → p-68b67382.entry.js} +1 -1
- package/dist/tet-components/{p-830d6a1b.entry.js → p-6957eb2b.entry.js} +1 -1
- package/dist/tet-components/{p-c9f14568.entry.js → p-72306953.entry.js} +1 -1
- package/dist/tet-components/{p-597ccbc1.entry.js → p-77a8a330.entry.js} +1 -1
- package/dist/tet-components/{p-df0e988a.entry.js → p-7f75d9c2.entry.js} +1 -1
- package/dist/tet-components/{p-20f6ad3e.entry.js → p-8148aabf.entry.js} +1 -1
- package/dist/tet-components/{p-9761bc72.entry.js → p-84f85d36.entry.js} +1 -1
- package/dist/tet-components/{p-c541b10f.entry.js → p-854d09d1.entry.js} +1 -1
- package/dist/tet-components/{p-4215dec8.entry.js → p-8a7a46f5.entry.js} +1 -1
- package/dist/tet-components/{p-b86022d7.entry.js → p-8ae75070.entry.js} +1 -1
- package/dist/tet-components/{p-aae1bc5a.entry.js → p-8cc50193.entry.js} +1 -1
- package/dist/tet-components/{p-67bb4d53.entry.js → p-933a6d56.entry.js} +1 -1
- package/dist/tet-components/p-9e248284.entry.js +1 -0
- package/dist/tet-components/{p-BGB6gNkz.js → p-BWP8psSS.js} +1 -1
- package/dist/tet-components/p-Bi5WA4Eb.js +1 -0
- package/dist/tet-components/{p-DX1IQAn5.js → p-CEkiSmjX.js} +1 -1
- package/dist/tet-components/p-D5A3ic42.js +1 -0
- package/dist/tet-components/{p-DbJll7nz.js → p-Ojgt8vhK.js} +1 -1
- package/dist/tet-components/p-a5ff24fa.entry.js +1 -0
- package/dist/tet-components/{p-6946ba58.entry.js → p-a69bb0e1.entry.js} +1 -1
- package/dist/tet-components/{p-499bf719.entry.js → p-ad89b9d6.entry.js} +1 -1
- package/dist/tet-components/{p-be2a472c.entry.js → p-aff00bdc.entry.js} +1 -1
- package/dist/tet-components/{p-06d237de.entry.js → p-b1839d78.entry.js} +1 -1
- package/dist/tet-components/{p-4e018c17.entry.js → p-b2573ec9.entry.js} +1 -1
- package/dist/tet-components/{p-632d382c.entry.js → p-b64f4147.entry.js} +1 -1
- package/dist/tet-components/p-b669634a.entry.js +1 -0
- package/dist/tet-components/{p-1be8a5bc.entry.js → p-b7538f5c.entry.js} +1 -1
- package/dist/tet-components/{p-6eb089d0.entry.js → p-c1a67216.entry.js} +1 -1
- package/dist/tet-components/{p-df68eb4e.entry.js → p-c31ded4f.entry.js} +1 -1
- package/dist/tet-components/p-c89c195a.entry.js +1 -0
- package/dist/tet-components/{p-6c28d6ac.entry.js → p-ce34b837.entry.js} +1 -1
- package/dist/tet-components/{p-e564d494.entry.js → p-ce5b5cc5.entry.js} +1 -1
- package/dist/tet-components/{p-5e458bfa.entry.js → p-cfa1ad4d.entry.js} +1 -1
- package/dist/tet-components/{p-cd7efc99.entry.js → p-d2179734.entry.js} +1 -1
- package/dist/tet-components/{p-3d845492.entry.js → p-d4d67a2b.entry.js} +1 -1
- package/dist/tet-components/{p-c37ccaaa.entry.js → p-d5fb7930.entry.js} +1 -1
- package/dist/tet-components/{p-7bccaeee.entry.js → p-d6058854.entry.js} +1 -1
- package/dist/tet-components/p-d9c37f8c.entry.js +1 -0
- package/dist/tet-components/{p-9d7fbd42.entry.js → p-dda875b1.entry.js} +1 -1
- package/dist/tet-components/{p-b4f3985e.entry.js → p-e068d247.entry.js} +1 -1
- package/dist/tet-components/{p-c9e434c1.entry.js → p-e5d1e096.entry.js} +1 -1
- package/dist/tet-components/p-ea819db7.entry.js +1 -0
- package/dist/tet-components/{p-e7e18cc4.entry.js → p-eb219b3a.entry.js} +1 -1
- package/dist/tet-components/{p-973193d0.entry.js → p-edcd3af7.entry.js} +1 -1
- package/dist/tet-components/{p-27f233a6.entry.js → p-f0c1ae81.entry.js} +1 -1
- package/dist/tet-components/{p-f5d610ea.entry.js → p-f2173351.entry.js} +1 -1
- package/dist/tet-components/{p-24058988.entry.js → p-f6d3abd5.entry.js} +1 -1
- package/dist/tet-components/{p-3698d8ff.entry.js → p-f6f7436d.entry.js} +1 -1
- package/dist/tet-components/{p-b5e665c7.entry.js → p-f80d84ea.entry.js} +1 -1
- package/dist/tet-components/tet-components-core.css +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/advanced/cards/tet-news-card/tet-news-card.d.ts +34 -0
- package/dist/types/components/simple/inputs/tet-dropdown/tet-dropdown.d.ts +16 -0
- package/dist/types/components/simple/menu/tet-paginator/tet-paginator.d.ts +28 -0
- package/dist/types/components.d.ts +269 -0
- package/dist/types/services/utils/index.d.ts +1 -0
- package/dist/types/services/utils/visibility-observer.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/p-CbqipjNj.js +0 -1
- package/dist/components/p-DIqowNgr.js +0 -1
- package/dist/components/p-DTeQFROq.js +0 -1
- package/dist/tet-components/p-138b551e.entry.js +0 -1
- package/dist/tet-components/p-3bf29f89.entry.js +0 -1
- package/dist/tet-components/p-7e2fa50e.entry.js +0 -1
- package/dist/tet-components/p-BzLFf73g.js +0 -1
- package/dist/tet-components/p-C1XJmhDH.js +0 -1
- package/dist/tet-components/p-c27be82c.entry.js +0 -1
- package/dist/tet-components/p-ee489b61.entry.js +0 -1
|
@@ -701,8 +701,19 @@
|
|
|
701
701
|
|
|
702
702
|
:host {
|
|
703
703
|
/**
|
|
704
|
-
|
|
705
|
-
|
|
704
|
+
* @prop --options-max-height: The maximum height of the options panel.
|
|
705
|
+
* @prop --dropdown-gap: The space between the button and panel in gapped layout.
|
|
706
|
+
* @prop --button-height: The height of the dropdown button. Defaults to 2.75rem.
|
|
707
|
+
* @prop --button-disabled-background-color: The background color of the disabled dropdown button.
|
|
708
|
+
* @prop --button-outline-offset: The button focus outline offset. Defaults to 0.125rem.
|
|
709
|
+
* @prop --single-option-alignment: Content alignment of single-select options.
|
|
710
|
+
* @prop --button-border-radius: The button corner radius in gapped layout. Falls back to --border-radius.
|
|
711
|
+
* @prop --list-border-radius: The options panel corner radius in gapped layout. Falls back to --border-radius.
|
|
712
|
+
* @prop --button-content-alignment: Alignment of the button's content. Defaults to space-between.
|
|
713
|
+
* @prop --button-content-gap: Alignment of the button's content. Defaults to space-between.
|
|
714
|
+
* @prop --dropdown-element-border-radius: Border radius of the dropdown list element. Defaults to 0.3125rem.
|
|
715
|
+
* @prop --button-font: The dropdown button font shorthand. Defaults to label, s, 500.
|
|
716
|
+
*/
|
|
706
717
|
--options-max-height: 15.625rem;
|
|
707
718
|
--border-radius: 0.625rem;
|
|
708
719
|
--focus-border-radius: 0.875rem;
|
|
@@ -713,6 +724,7 @@
|
|
|
713
724
|
--border-color: var(--tc-border-secondary);
|
|
714
725
|
--hover-text-color: var(--text-color);
|
|
715
726
|
--hover-border-color: var(--border-color);
|
|
727
|
+
--pressed-border-color: var(--tc-border-primary);
|
|
716
728
|
--disabled-border-color: var(--tc-border-quaternary);
|
|
717
729
|
--disabled-text-color: var(--tc-button-text-inverse-disabled);
|
|
718
730
|
--disabled-icon-color: var(--tc-button-icon-inverse-disabled);
|
|
@@ -721,18 +733,33 @@
|
|
|
721
733
|
--option-accent-color: var(--tc-button-text-secondary);
|
|
722
734
|
--button-background-color: var(--tc-layer-primary);
|
|
723
735
|
--dropdown-background-color: var(--tc-layer-primary);
|
|
724
|
-
--hover-button-background-color: var(--tc-
|
|
725
|
-
--
|
|
736
|
+
--hover-button-background-color: var(--tc-layer-tertiary);
|
|
737
|
+
--pressed-button-background-color: var(--tc-layer-quaternary);
|
|
738
|
+
--active-button-background-color: var(--tc-button-primary-background-inverse-pressed);
|
|
726
739
|
--keyboard-focus-outline-color: var(--tc-blue-40);
|
|
740
|
+
--scrollbar-thumb-color: var(--tc-layer-quaternary);
|
|
741
|
+
--scrollbar-track-color: var(--tc-layer-tertiary);
|
|
727
742
|
display: block;
|
|
728
743
|
position: relative;
|
|
729
744
|
}
|
|
730
745
|
|
|
746
|
+
.dropdown__label--hidden {
|
|
747
|
+
position: absolute;
|
|
748
|
+
width: 1px;
|
|
749
|
+
height: 1px;
|
|
750
|
+
margin: -1px;
|
|
751
|
+
padding: 0;
|
|
752
|
+
border: 0;
|
|
753
|
+
overflow: hidden;
|
|
754
|
+
clip-path: inset(50%);
|
|
755
|
+
white-space: nowrap;
|
|
756
|
+
}
|
|
731
757
|
.dropdown.dark, .dropdown.mint {
|
|
732
758
|
--text-color: var(--tc-text-primary-dark);
|
|
733
759
|
--border-color: var(--tc-border-secondary-dark);
|
|
734
760
|
--hover-text-color: var(--text-color);
|
|
735
761
|
--hover-border-color: var(--border-color);
|
|
762
|
+
--pressed-border-color: var(--tc-border-primary-dark);
|
|
736
763
|
--disabled-border-color: var(--tc-border-quaternary-dark);
|
|
737
764
|
--disabled-text-color: var(--tc-button-text-inverse-disabled-dark);
|
|
738
765
|
--disabled-icon-color: var(--tc-button-icon-inverse-disabled-dark);
|
|
@@ -741,14 +768,17 @@
|
|
|
741
768
|
--option-accent-color: var(--text-color);
|
|
742
769
|
--button-background-color:var(--tc-layer-primary-dark);
|
|
743
770
|
--dropdown-background-color: var(--tc-layer-primary-dark);
|
|
744
|
-
--hover-button-background-color: var(--tc-
|
|
745
|
-
--
|
|
771
|
+
--hover-button-background-color: var(--tc-layer-tertiary-dark);
|
|
772
|
+
--pressed-button-background-color: var(--tc-layer-quaternary-dark);
|
|
773
|
+
--active-button-background-color: var(--tc-button-primary-background-inverse-pressed-dark);
|
|
746
774
|
--keyboard-focus-outline-color: var(--tc-blue-40-dark);
|
|
775
|
+
--scrollbar-thumb-color: var(--tc-layer-quaternary-dark);
|
|
776
|
+
--scrollbar-track-color: var(--tc-layer-tertiary-dark);
|
|
747
777
|
}
|
|
748
778
|
.dropdown.mint {
|
|
749
779
|
--option-accent-color: rgb(26, 213, 219);
|
|
750
780
|
--hover-button-background-color: rgba(26, 213, 219, 0.08);
|
|
751
|
-
--
|
|
781
|
+
--pressed-button-background-color: rgba(26, 213, 219, 0.32);
|
|
752
782
|
}
|
|
753
783
|
.dropdown * {
|
|
754
784
|
color: var(--text-color);
|
|
@@ -760,7 +790,7 @@
|
|
|
760
790
|
}
|
|
761
791
|
.dropdown__wrapper.disabled .dropdown__button {
|
|
762
792
|
cursor: not-allowed;
|
|
763
|
-
background-color: var(--hover-button-background-color);
|
|
793
|
+
background-color: var(--button-disabled-background-color, var(--hover-button-background-color));
|
|
764
794
|
border-color: var(--disabled-border-color);
|
|
765
795
|
}
|
|
766
796
|
.dropdown__wrapper.disabled .dropdown__button__selected, .dropdown__wrapper.disabled .dropdown__button__labelright {
|
|
@@ -773,43 +803,49 @@
|
|
|
773
803
|
color: var(--disabled-label-text-color);
|
|
774
804
|
}
|
|
775
805
|
.dropdown__icon {
|
|
806
|
+
--icon-size: 1.5rem;
|
|
776
807
|
--icon-color: var(--option-accent-color);
|
|
777
808
|
}
|
|
778
809
|
.dropdown__chevron-icon {
|
|
810
|
+
--icon-container-display: flex;
|
|
779
811
|
--icon-size: 1.25rem;
|
|
780
812
|
--icon-color: var(--text-color);
|
|
781
813
|
}
|
|
782
814
|
.dropdown__button {
|
|
783
|
-
font: 500 0.875rem/1.25rem
|
|
815
|
+
font: var(--button-font, 500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif);
|
|
784
816
|
display: flex;
|
|
785
|
-
height: 2.75rem;
|
|
817
|
+
height: var(--button-height, 2.75rem);
|
|
786
818
|
width: 100%;
|
|
787
819
|
align-items: center;
|
|
788
|
-
justify-content: space-between;
|
|
820
|
+
justify-content: var(--button-content-alignment, space-between);
|
|
821
|
+
gap: var(--button-content-gap, 0.75rem);
|
|
789
822
|
padding: var(--button-padding);
|
|
790
823
|
border-radius: var(--border-radius);
|
|
791
824
|
background-color: var(--button-background-color);
|
|
792
825
|
border: 0.0625rem solid var(--border-color);
|
|
793
826
|
cursor: pointer;
|
|
794
827
|
}
|
|
795
|
-
.dropdown__button:hover
|
|
828
|
+
.dropdown__button:hover {
|
|
796
829
|
outline: none;
|
|
797
830
|
color: var(--hover-text-color);
|
|
798
831
|
border-color: var(--hover-border-color);
|
|
799
832
|
background-color: var(--hover-button-background-color);
|
|
800
833
|
}
|
|
834
|
+
.dropdown__button:active {
|
|
835
|
+
background-color: var(--pressed-button-background-color);
|
|
836
|
+
}
|
|
837
|
+
.dropdown:not(.dropdown--open) .dropdown__button:active {
|
|
838
|
+
border-color: var(--pressed-border-color);
|
|
839
|
+
}
|
|
801
840
|
.dropdown__button:focus-visible {
|
|
802
841
|
outline: 0.125rem solid var(--tc-blue-40);
|
|
803
842
|
outline-offset: 0.125rem;
|
|
804
843
|
transition: outline 0s;
|
|
805
844
|
outline-color: var(--keyboard-focus-outline-color);
|
|
806
845
|
background-color: var(--button-background-color);
|
|
807
|
-
|
|
808
|
-
.dropdown__button:active {
|
|
809
|
-
background-color: var(--focus-button-background-color);
|
|
846
|
+
outline-offset: var(--button-outline-offset, 0.125rem);
|
|
810
847
|
}
|
|
811
848
|
.dropdown__button__selected {
|
|
812
|
-
padding-right: 0.75rem;
|
|
813
849
|
text-overflow: ellipsis;
|
|
814
850
|
overflow: hidden;
|
|
815
851
|
white-space: nowrap;
|
|
@@ -838,15 +874,19 @@
|
|
|
838
874
|
font: 400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
839
875
|
display: flex;
|
|
840
876
|
align-items: center;
|
|
841
|
-
border-radius: 0.
|
|
877
|
+
border-radius: var(--dropdown-element-border-radius, 0.3125rem);
|
|
878
|
+
margin: 0 0.5rem;
|
|
842
879
|
cursor: pointer;
|
|
843
880
|
padding: var(--option-padding);
|
|
844
881
|
background-color: transparent;
|
|
845
882
|
}
|
|
846
|
-
.dropdown__option:hover
|
|
883
|
+
.dropdown__option:hover {
|
|
847
884
|
outline: none;
|
|
848
885
|
background-color: var(--hover-button-background-color);
|
|
849
886
|
}
|
|
887
|
+
.dropdown__option:active {
|
|
888
|
+
background-color: var(--pressed-button-background-color);
|
|
889
|
+
}
|
|
850
890
|
.dropdown__option:focus-visible {
|
|
851
891
|
outline: 0.125rem solid var(--tc-blue-40);
|
|
852
892
|
outline-offset: -0.125rem;
|
|
@@ -862,6 +902,16 @@
|
|
|
862
902
|
}
|
|
863
903
|
.dropdown__option--single {
|
|
864
904
|
position: relative;
|
|
905
|
+
justify-content: var(--single-option-alignment, flex-start);
|
|
906
|
+
}
|
|
907
|
+
.dropdown__option--underlined {
|
|
908
|
+
text-decoration-line: underline;
|
|
909
|
+
text-decoration-style: solid;
|
|
910
|
+
text-decoration-skip-ink: none;
|
|
911
|
+
text-decoration-thickness: auto;
|
|
912
|
+
text-underline-offset: auto;
|
|
913
|
+
text-underline-position: from-font;
|
|
914
|
+
font-weight: 500;
|
|
865
915
|
}
|
|
866
916
|
.dropdown__option__flex {
|
|
867
917
|
display: flex;
|
|
@@ -915,6 +965,10 @@
|
|
|
915
965
|
border-top: none;
|
|
916
966
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
917
967
|
overflow: hidden;
|
|
968
|
+
background-color: var(--dropdown-background-color);
|
|
969
|
+
}
|
|
970
|
+
.dropdown__options-scroll-wrapper--scrollable {
|
|
971
|
+
padding-right: 0.5rem;
|
|
918
972
|
}
|
|
919
973
|
.dropdown__options {
|
|
920
974
|
display: none;
|
|
@@ -924,13 +978,30 @@
|
|
|
924
978
|
max-height: var(--options-max-height);
|
|
925
979
|
overflow-y: auto;
|
|
926
980
|
}
|
|
981
|
+
.dropdown__options::-webkit-scrollbar {
|
|
982
|
+
width: 0.375rem;
|
|
983
|
+
}
|
|
984
|
+
.dropdown__options::-webkit-scrollbar-button {
|
|
985
|
+
display: none;
|
|
986
|
+
width: 0;
|
|
987
|
+
height: 0;
|
|
988
|
+
}
|
|
989
|
+
.dropdown__options::-webkit-scrollbar-thumb {
|
|
990
|
+
background-color: var(--scrollbar-thumb-color);
|
|
991
|
+
border-radius: 1rem;
|
|
992
|
+
}
|
|
993
|
+
.dropdown__options::-webkit-scrollbar-track {
|
|
994
|
+
background-color: var(--scrollbar-track-color);
|
|
995
|
+
margin-block: 0.875rem;
|
|
996
|
+
border-radius: 1rem;
|
|
997
|
+
}
|
|
927
998
|
.dropdown--open .dropdown__options-focus-wrapper, .dropdown--open .dropdown__options {
|
|
928
999
|
display: flex;
|
|
929
1000
|
}
|
|
930
1001
|
.dropdown--open .dropdown__button {
|
|
931
1002
|
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
|
932
1003
|
border-bottom: 0.0625rem solid transparent;
|
|
933
|
-
background-color: var(--
|
|
1004
|
+
background-color: var(--active-button-background-color);
|
|
934
1005
|
outline: none;
|
|
935
1006
|
}
|
|
936
1007
|
.dropdown--open.focus-visible .dropdown__options-focus-wrapper {
|
|
@@ -938,4 +1009,37 @@
|
|
|
938
1009
|
}
|
|
939
1010
|
.dropdown--open.focus-visible .dropdown__button-wrapper {
|
|
940
1011
|
border-color: var(--keyboard-focus-outline-color);
|
|
1012
|
+
}
|
|
1013
|
+
.dropdown--gapped {
|
|
1014
|
+
position: relative;
|
|
1015
|
+
}
|
|
1016
|
+
.dropdown--gapped .dropdown__button-wrapper {
|
|
1017
|
+
padding: 0;
|
|
1018
|
+
border: none;
|
|
1019
|
+
}
|
|
1020
|
+
.dropdown--gapped .dropdown__button {
|
|
1021
|
+
border: 0.0625rem solid var(--border-color);
|
|
1022
|
+
border-radius: var(--button-border-radius, var(--border-radius));
|
|
1023
|
+
}
|
|
1024
|
+
.dropdown--gapped .dropdown__button:hover {
|
|
1025
|
+
border-color: var(--hover-border-color);
|
|
1026
|
+
}
|
|
1027
|
+
.dropdown--gapped .dropdown__button:active {
|
|
1028
|
+
border-color: var(--pressed-border-color);
|
|
1029
|
+
}
|
|
1030
|
+
.dropdown--gapped .dropdown__button:focus-visible {
|
|
1031
|
+
outline: 0.125rem solid var(--tc-blue-40);
|
|
1032
|
+
outline-offset: 0.125rem;
|
|
1033
|
+
transition: outline 0s;
|
|
1034
|
+
outline-color: var(--keyboard-focus-outline-color);
|
|
1035
|
+
outline-offset: var(--button-outline-offset, 0.125rem);
|
|
1036
|
+
}
|
|
1037
|
+
.dropdown--gapped .dropdown__options-focus-wrapper {
|
|
1038
|
+
top: calc(100% + var(--dropdown-gap, 0.375rem));
|
|
1039
|
+
padding: 0;
|
|
1040
|
+
border: none;
|
|
1041
|
+
}
|
|
1042
|
+
.dropdown--gapped .dropdown__options-scroll-wrapper {
|
|
1043
|
+
border: 0.0625rem solid var(--border-color);
|
|
1044
|
+
border-radius: var(--list-border-radius, var(--border-radius));
|
|
941
1045
|
}
|
|
@@ -42,6 +42,8 @@ export class TetDropdown {
|
|
|
42
42
|
dropdownOptionsElement;
|
|
43
43
|
/** Reference to the dropdown button element. */
|
|
44
44
|
dropdownButtonElement;
|
|
45
|
+
/** Observes option size changes to update the layout when a scrollbar appears or disappears. */
|
|
46
|
+
optionsResizeObserver;
|
|
45
47
|
/** Triggers whenever a single option is selected and returns the option. */
|
|
46
48
|
optionSelected;
|
|
47
49
|
/** Triggers whenever a multi-selectable option is checked/unchecked. */
|
|
@@ -50,6 +52,8 @@ export class TetDropdown {
|
|
|
50
52
|
optionsChanged;
|
|
51
53
|
/** The label of the dropdown. */
|
|
52
54
|
label = '';
|
|
55
|
+
/** Whether the label is visible. Hidden labels remain available to assistive technology. */
|
|
56
|
+
showLabel = true;
|
|
53
57
|
/** The logo of the label. */
|
|
54
58
|
labelLogo = '';
|
|
55
59
|
/** The logo of the label. */
|
|
@@ -64,10 +68,14 @@ export class TetDropdown {
|
|
|
64
68
|
* displayed in a flex layout.
|
|
65
69
|
*/
|
|
66
70
|
flexLayout = false;
|
|
71
|
+
/** Separates the options panel from the button. */
|
|
72
|
+
gappedLayout = false;
|
|
67
73
|
/** The label of the dropdown toggle button. */
|
|
68
74
|
buttonLabel = 'Select an option';
|
|
69
75
|
/** Specifies if the menu allows multiple selected options. */
|
|
70
76
|
allowMultiple = false;
|
|
77
|
+
/** Selected single-option style. Ignored when flexLayout is true. */
|
|
78
|
+
selectedOptionStyle = 'checkmark';
|
|
71
79
|
/** Determines whether to close the dropdown on single option selection. */
|
|
72
80
|
closeOnSelection = false;
|
|
73
81
|
/** The theme of the dropdown. */
|
|
@@ -85,6 +93,32 @@ export class TetDropdown {
|
|
|
85
93
|
componentWillLoad() {
|
|
86
94
|
this.preselectOption();
|
|
87
95
|
}
|
|
96
|
+
connectedCallback() {
|
|
97
|
+
if (this.dropdownOptionsElement) {
|
|
98
|
+
this.observeOptionsSize();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
componentDidLoad() {
|
|
102
|
+
this.observeOptionsSize();
|
|
103
|
+
}
|
|
104
|
+
componentDidRender() {
|
|
105
|
+
this.updateOptionsOverflow();
|
|
106
|
+
}
|
|
107
|
+
disconnectedCallback() {
|
|
108
|
+
this.optionsResizeObserver?.disconnect();
|
|
109
|
+
}
|
|
110
|
+
observeOptionsSize = () => {
|
|
111
|
+
this.optionsResizeObserver = new ResizeObserver(this.updateOptionsOverflow);
|
|
112
|
+
this.optionsResizeObserver.observe(this.dropdownOptionsElement);
|
|
113
|
+
};
|
|
114
|
+
updateOptionsOverflow = () => {
|
|
115
|
+
if (!this.isOpen) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
const list = this.dropdownOptionsElement;
|
|
119
|
+
const hasOverflow = list.scrollHeight > list.clientHeight;
|
|
120
|
+
list.parentElement?.classList.toggle('dropdown__options-scroll-wrapper--scrollable', hasOverflow);
|
|
121
|
+
};
|
|
88
122
|
onOptionsChange(newOptions, oldOptions) {
|
|
89
123
|
const newKeysAndValues = newOptions.map(({ label, labelRight, value }) => label + labelRight + value).join();
|
|
90
124
|
const oldKeysAndValues = oldOptions.map(({ label, labelRight, value }) => label + labelRight + value).join();
|
|
@@ -165,7 +199,7 @@ export class TetDropdown {
|
|
|
165
199
|
*/
|
|
166
200
|
renderButton() {
|
|
167
201
|
const { label, labelLogo, labelLogoGrayscale, labelRight, currentButtonLabel, currentButtonLabelRight, currentButtonLabelRightColor, isOpen, disabled } = this;
|
|
168
|
-
return (h("div", { ref: el => (this.dropdownWrapperElement = el), class: { 'dropdown__wrapper': true, 'disabled': disabled } }, label && h("label", { id:
|
|
202
|
+
return (h("div", { ref: el => (this.dropdownWrapperElement = el), class: { 'dropdown__wrapper': true, 'disabled': disabled } }, label && (h("label", { id: "dropdown-label", htmlFor: "dropdown-button", class: { 'tet-input__label': true, 'dropdown__label--hidden': !this.showLabel } }, label)), h("div", { class: "dropdown__button-wrapper" }, h("button", { type: "button", id: 'dropdown-button', class: "dropdown__button", "aria-labelledby": label ? 'dropdown-label' : undefined, "aria-haspopup": "listbox", "aria-controls": 'dropdown-options', "aria-expanded": isOpen, ref: el => (this.dropdownButtonElement = el), onClick: this.handleDropdownToggle(), onKeyDown: this.handleButtonKeydown(), disabled: disabled, tabIndex: 0 }, !disabled && labelLogo && h("img", { src: labelLogo, alt: "", width: "42", height: "20", loading: "lazy" }), disabled && labelLogoGrayscale && h("img", { src: labelLogoGrayscale, alt: "", width: "42", height: "20", loading: "lazy" }), h("span", { class: { 'dropdown__button__selected': true, 'dropdown__button__selected--flex': this.flexLayout } }, currentButtonLabel), labelRight && h("span", { class: "dropdown__button__labelright", style: { 'color': currentButtonLabelRightColor } }, currentButtonLabelRight), h("tet-icon", { class: "dropdown__icon dropdown__chevron-icon", name: isOpen ? 'tc-chevron-up' : 'tc-chevron-down' })))));
|
|
169
203
|
}
|
|
170
204
|
/**
|
|
171
205
|
* Renders the dropdown options menu.
|
|
@@ -192,8 +226,9 @@ export class TetDropdown {
|
|
|
192
226
|
return (h("li", { key: value, class: {
|
|
193
227
|
'dropdown__option': true,
|
|
194
228
|
'dropdown__option--single': true,
|
|
195
|
-
'dropdown__option--selected': selected
|
|
196
|
-
|
|
229
|
+
'dropdown__option--selected': selected,
|
|
230
|
+
'dropdown__option--underlined': selected && this.selectedOptionStyle === 'underline'
|
|
231
|
+
}, role: "option", tabindex: "0", "aria-selected": selected, "data-value": value, onClick: handleClick, onKeyDown: handleKeyDown }, label, selected && this.selectedOptionStyle === 'checkmark' && h("tet-icon", { class: "dropdown__icon", name: "tc-check" })));
|
|
197
232
|
}
|
|
198
233
|
/**
|
|
199
234
|
* Renders a dropdown option item.
|
|
@@ -257,6 +292,13 @@ export class TetDropdown {
|
|
|
257
292
|
this.dropdownButtonElement.focus();
|
|
258
293
|
break;
|
|
259
294
|
case 'Tab':
|
|
295
|
+
if (this.gappedLayout) {
|
|
296
|
+
event.preventDefault();
|
|
297
|
+
this.dropdownButtonElement.focus();
|
|
298
|
+
this.isOpen = false;
|
|
299
|
+
this.isKeyboardFocus = false;
|
|
300
|
+
break;
|
|
301
|
+
}
|
|
260
302
|
const targetElement = target;
|
|
261
303
|
if (!targetElement.previousElementSibling && event.shiftKey) {
|
|
262
304
|
this.isKeyboardFocus = true;
|
|
@@ -272,6 +314,10 @@ export class TetDropdown {
|
|
|
272
314
|
*/
|
|
273
315
|
handleButtonKeydown() {
|
|
274
316
|
return (event) => {
|
|
317
|
+
if (this.gappedLayout) {
|
|
318
|
+
this.handleGappedButtonKeydown(event);
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
275
321
|
const { key } = event;
|
|
276
322
|
switch (key) {
|
|
277
323
|
case 'ArrowDown':
|
|
@@ -304,6 +350,40 @@ export class TetDropdown {
|
|
|
304
350
|
}
|
|
305
351
|
};
|
|
306
352
|
}
|
|
353
|
+
handleGappedButtonKeydown = (event) => {
|
|
354
|
+
switch (event.key) {
|
|
355
|
+
case 'Enter':
|
|
356
|
+
case ' ':
|
|
357
|
+
case 'SpaceBar':
|
|
358
|
+
case 'ArrowDown':
|
|
359
|
+
case 'ArrowUp':
|
|
360
|
+
event.preventDefault();
|
|
361
|
+
this.isKeyboardFocus = true;
|
|
362
|
+
this.openDropdown();
|
|
363
|
+
break;
|
|
364
|
+
case 'Escape':
|
|
365
|
+
this.isOpen = false;
|
|
366
|
+
this.isKeyboardFocus = false;
|
|
367
|
+
break;
|
|
368
|
+
case 'Tab':
|
|
369
|
+
this.isKeyboardFocus = false;
|
|
370
|
+
break;
|
|
371
|
+
default:
|
|
372
|
+
break;
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
openDropdown = () => {
|
|
376
|
+
this.isOpen = true;
|
|
377
|
+
requestAnimationFrame(() => {
|
|
378
|
+
if (!this.isOpen) {
|
|
379
|
+
return;
|
|
380
|
+
}
|
|
381
|
+
const index = this.selectedOptionIndexes[0] ?? 0;
|
|
382
|
+
const option = this.dropdownOptionsElement.children[index];
|
|
383
|
+
option?.focus();
|
|
384
|
+
option?.scrollIntoView?.({ block: 'nearest' });
|
|
385
|
+
});
|
|
386
|
+
};
|
|
307
387
|
/**
|
|
308
388
|
* Handles single option selecting.
|
|
309
389
|
*
|
|
@@ -346,7 +426,16 @@ export class TetDropdown {
|
|
|
346
426
|
*/
|
|
347
427
|
handleDropdownToggle() {
|
|
348
428
|
return () => {
|
|
349
|
-
|
|
429
|
+
if (!this.gappedLayout) {
|
|
430
|
+
this.isOpen = !this.isOpen;
|
|
431
|
+
return;
|
|
432
|
+
}
|
|
433
|
+
if (this.isOpen) {
|
|
434
|
+
this.isOpen = false;
|
|
435
|
+
}
|
|
436
|
+
else {
|
|
437
|
+
this.openDropdown();
|
|
438
|
+
}
|
|
350
439
|
};
|
|
351
440
|
}
|
|
352
441
|
/**
|
|
@@ -392,7 +481,13 @@ export class TetDropdown {
|
|
|
392
481
|
}
|
|
393
482
|
render() {
|
|
394
483
|
const { theme, isOpen, isKeyboardFocus } = this;
|
|
395
|
-
return (h(Host, { key: '
|
|
484
|
+
return (h(Host, { key: 'ae33d1d96d3b86c1fdf32232d45b4d793228bbf3' }, h("div", { key: 'a6fb9e3018b1a62af2a24a60263c4427cd22b4bb', class: {
|
|
485
|
+
'dropdown': true,
|
|
486
|
+
'dropdown--open': isOpen,
|
|
487
|
+
'dropdown--gapped': this.gappedLayout,
|
|
488
|
+
'focus-visible': isKeyboardFocus && isOpen,
|
|
489
|
+
[theme]: true
|
|
490
|
+
} }, this.renderButton(), this.renderOptions())));
|
|
396
491
|
}
|
|
397
492
|
static get is() { return "tet-dropdown"; }
|
|
398
493
|
static get encapsulation() { return "shadow"; }
|
|
@@ -428,6 +523,26 @@ export class TetDropdown {
|
|
|
428
523
|
"attribute": "label",
|
|
429
524
|
"defaultValue": "''"
|
|
430
525
|
},
|
|
526
|
+
"showLabel": {
|
|
527
|
+
"type": "boolean",
|
|
528
|
+
"mutable": false,
|
|
529
|
+
"complexType": {
|
|
530
|
+
"original": "boolean",
|
|
531
|
+
"resolved": "boolean",
|
|
532
|
+
"references": {}
|
|
533
|
+
},
|
|
534
|
+
"required": false,
|
|
535
|
+
"optional": false,
|
|
536
|
+
"docs": {
|
|
537
|
+
"tags": [],
|
|
538
|
+
"text": "Whether the label is visible. Hidden labels remain available to assistive technology."
|
|
539
|
+
},
|
|
540
|
+
"getter": false,
|
|
541
|
+
"setter": false,
|
|
542
|
+
"reflect": false,
|
|
543
|
+
"attribute": "show-label",
|
|
544
|
+
"defaultValue": "true"
|
|
545
|
+
},
|
|
431
546
|
"labelLogo": {
|
|
432
547
|
"type": "string",
|
|
433
548
|
"mutable": false,
|
|
@@ -548,6 +663,26 @@ export class TetDropdown {
|
|
|
548
663
|
"attribute": "flex-layout",
|
|
549
664
|
"defaultValue": "false"
|
|
550
665
|
},
|
|
666
|
+
"gappedLayout": {
|
|
667
|
+
"type": "boolean",
|
|
668
|
+
"mutable": false,
|
|
669
|
+
"complexType": {
|
|
670
|
+
"original": "boolean",
|
|
671
|
+
"resolved": "boolean",
|
|
672
|
+
"references": {}
|
|
673
|
+
},
|
|
674
|
+
"required": false,
|
|
675
|
+
"optional": false,
|
|
676
|
+
"docs": {
|
|
677
|
+
"tags": [],
|
|
678
|
+
"text": "Separates the options panel from the button."
|
|
679
|
+
},
|
|
680
|
+
"getter": false,
|
|
681
|
+
"setter": false,
|
|
682
|
+
"reflect": false,
|
|
683
|
+
"attribute": "gapped-layout",
|
|
684
|
+
"defaultValue": "false"
|
|
685
|
+
},
|
|
551
686
|
"buttonLabel": {
|
|
552
687
|
"type": "string",
|
|
553
688
|
"mutable": false,
|
|
@@ -588,6 +723,26 @@ export class TetDropdown {
|
|
|
588
723
|
"attribute": "allow-multiple",
|
|
589
724
|
"defaultValue": "false"
|
|
590
725
|
},
|
|
726
|
+
"selectedOptionStyle": {
|
|
727
|
+
"type": "string",
|
|
728
|
+
"mutable": false,
|
|
729
|
+
"complexType": {
|
|
730
|
+
"original": "'checkmark' | 'underline'",
|
|
731
|
+
"resolved": "\"checkmark\" | \"underline\"",
|
|
732
|
+
"references": {}
|
|
733
|
+
},
|
|
734
|
+
"required": false,
|
|
735
|
+
"optional": false,
|
|
736
|
+
"docs": {
|
|
737
|
+
"tags": [],
|
|
738
|
+
"text": "Selected single-option style. Ignored when flexLayout is true."
|
|
739
|
+
},
|
|
740
|
+
"getter": false,
|
|
741
|
+
"setter": false,
|
|
742
|
+
"reflect": false,
|
|
743
|
+
"attribute": "selected-option-style",
|
|
744
|
+
"defaultValue": "'checkmark'"
|
|
745
|
+
},
|
|
591
746
|
"closeOnSelection": {
|
|
592
747
|
"type": "boolean",
|
|
593
748
|
"mutable": false,
|
|
@@ -791,31 +791,31 @@ export class TetRangeSlider {
|
|
|
791
791
|
return dataListItem;
|
|
792
792
|
};
|
|
793
793
|
render() {
|
|
794
|
-
return (h(Host, { key: '
|
|
794
|
+
return (h(Host, { key: 'fb51e54698d79bfbcb1354efa58c623c7dfc7124' }, h("div", { key: 'bd593edcf5a2fed562367bdd557837c68b6a44c8', class: {
|
|
795
795
|
'range-slider': true,
|
|
796
796
|
[`range-slider--${this.containerSize}`]: true,
|
|
797
797
|
[`range-slider--${this.type}`]: true,
|
|
798
798
|
'range-slider--no-controls': !this.withControls,
|
|
799
799
|
'range-slider--no-input': !this.withInput,
|
|
800
800
|
[this.theme]: true,
|
|
801
|
-
} }, h("div", { key: '
|
|
801
|
+
} }, h("div", { key: '546b77f91e7bfe380a0d6219179aee338d1e01cf', class: {
|
|
802
802
|
'range-slider__input-container': true,
|
|
803
803
|
'hidden': !this.withInput,
|
|
804
|
-
} }, h("tet-input", { key: '
|
|
804
|
+
} }, h("tet-input", { key: 'bfe149a4435073b2a47d358941b35631afdf7bfc', "input-class": "range-slider__input", "input-type": "number", "input-value": this.currentValue, ref: inputEl => (this.inputRef = inputEl), theme: this.theme, onInput: this.onInputChange, onKeyDown: (event) => this.onInputKeyDown(event, true), accessibilityLabel: this.numberInputAccessibilityLabel, ...(this.containerSize !== 'large' ? { inputTabindex: 3 } : {}) })), h("div", { key: '6a886cabc03143775b258ca634a7cfbe76bc222d', class: "range-slider__container" }, h("tet-button", { key: 'dc21c22aa5b5c14f98e7c34973436a110ad49af5', theme: this.theme, iconMode: true, class: {
|
|
805
805
|
'range-slider__control': true,
|
|
806
806
|
'range-slider__control--left': true,
|
|
807
807
|
'hidden': !this.withControls,
|
|
808
|
-
}, clickCallback: this.onControlPreviousClick, ...(this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 2 } : {}) }, h("tet-icon", { key: '
|
|
808
|
+
}, clickCallback: this.onControlPreviousClick, ...(this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 2 } : {}) }, h("tet-icon", { key: '403492dabdff9f708c00b5e117a1c466e6d0f5eb', name: "tc-remove", class: "range-slider__control--icon" })), h("div", { key: 'b305136d855ad906ba6dd60c95ce5529437db048', onTouchStart: this.onContainerTouchStart, onTouchEnd: this.onContainerTouchEnd, onMouseDown: this.onContainerMouseDown, onScroll: this.onContainerScroll, ref: sliderContainerEl => (this.sliderContainerRef = sliderContainerEl), class: "range-slider__slider-container", draggable: false }, h("div", { key: 'c2d995e31f770a58cfcf13fe68955fe64a26af77', class: "range-slider__slider-wrapper" }, h("input", { key: 'ac6703be9bfd661be21dfd481772c3d1acb80e40', ref: sliderEl => (this.sliderRef = sliderEl), type: "range", min: this.minValue, max: this.maxValue, step: this.step, value: this.defaultValue, list: "steplist", id: "rangeInput", onInput: this.onSliderInput, onChange: this.onSliderChange, onPointerDown: this.onSliderPointerDown, onPointerUp: this.onSliderPointerUp, onKeyDown: this.onInputKeyDown, class: "range-slider__slider", ...(this.sliderInputAccessibilityLabel ? { "aria-label": this.sliderInputAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 1 } : {}) })), h("div", { key: '237c2567352cb047fe993869f96e538b62563a35', class: "range-slider__track range-slider__track--background" }), h("div", { key: '4211fb77c66848770f4d0b2b7f88ad6dde2c1245', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: '45d0b9f1fb8380518a4a63c62ba5d90a9d8ce08f', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: 'f4579210ec303abf433803012b07c0e1843528d6', ref: dataLabelEl => (this.dataLabelRef = dataLabelEl), class: {
|
|
809
809
|
'range-slider__data-label-container': true,
|
|
810
810
|
'hidden': this.type === 'secondary' && this.containerSize === 'small',
|
|
811
|
-
} })), h("div", { key: '
|
|
811
|
+
} })), h("div", { key: 'cdf081b8bb41a68ece6795b6b43f4946611c960d', class: {
|
|
812
812
|
'range-slider__current-step-container': true,
|
|
813
813
|
'hidden': !this.withCurrentStepCounter,
|
|
814
|
-
} }, h("div", { key: '
|
|
814
|
+
} }, h("div", { key: '20e6e2ee02d8c65634d40d349fa22499b649528f', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: '88559171b94834c226c2aab5f352133473e44632', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: 'a6333c96284581a22d0a64dc85a01ae744a9576f', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", { key: '805c900f9cdea9d5b721c6f0e36f2036402cf148', theme: this.theme, iconMode: true, class: {
|
|
815
815
|
'range-slider__control': true,
|
|
816
816
|
'range-slider__control--right': true,
|
|
817
817
|
'hidden': !this.withControls,
|
|
818
|
-
}, clickCallback: this.onControlNextClick, ...(this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 4 } : {}) }, h("tet-icon", { key: '
|
|
818
|
+
}, clickCallback: this.onControlNextClick, ...(this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 4 } : {}) }, h("tet-icon", { key: '7d7f73f237bbc9bbf20cfd68fcd17f0b4b89c904', name: "tc-add", class: "range-slider__control--icon" }))))));
|
|
819
819
|
}
|
|
820
820
|
static get is() { return "tet-range-slider"; }
|
|
821
821
|
static get encapsulation() { return "shadow"; }
|
|
@@ -155,7 +155,7 @@ export class TetStepperInput {
|
|
|
155
155
|
}, class: "stepper-input__input", type: "number", value: String(value ?? ''), disabled: disabled, theme: theme, ...(accessibilityLabel ? { accessibilityLabel } : {}) }));
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
|
-
return (h("div", { key: '
|
|
158
|
+
return (h("div", { key: 'ae6d48d12e99c84c503fe3f1ac9b6c6f045439f1', class: `stepper-input ${this.theme}` }, this.renderLabel(), h("div", { key: '778b2b08c6fe14dd61b51489f14913ea4157d5ca', class: "stepper-input__inner-wrapper" }, this.renderButton('decrement'), this.renderValueDisplay(), this.renderButton('increment'))));
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "tet-stepper-input"; }
|
|
161
161
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,8 +66,8 @@ export class TetTextarea {
|
|
|
66
66
|
'error': (errorMessages.length > 0),
|
|
67
67
|
'keyboard-focus': this.focusVisible,
|
|
68
68
|
};
|
|
69
|
-
return (h(Host, { key: '
|
|
70
|
-
h("span", { key: '
|
|
69
|
+
return (h(Host, { key: '0615a09d7ff80d234523d6f4fe6d20bd54cad4be' }, h("label", { key: 'a010eb8258d4f485674e317870ce68ce9dcb2a20', class: { [`${theme}`]: true } }, label &&
|
|
70
|
+
h("span", { key: 'c31315dd6b627f601ae082893da753dc899f1f0a', class: { 'tet-textarea__label': true, [`tet-textarea__${theme}`]: true } }, label), h("div", { key: '9691056ef352aadecd54da4c42a82915cc63568a', class: { 'textarea-container': true, [`tet-textarea__${theme}`]: true } }, h("textarea", { key: '7e1796803c2f7f63762d95c8f3ab53093d0a928c', onFocus: this.addKeyboardFocus, onFocusout: this.removeKeyboardFocus, id: "textarea", class: textareaClasses, placeholder: placeholder, disabled: disabled, autocomplete: "off", ref: (el) => (this.textareaHtmlElement = el), maxlength: maxLength }, value))), (this.errorMessages.length > 0) && renderErrorMessages()));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "tet-textarea"; }
|
|
73
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -151,7 +151,7 @@ export class TetNewsCardList {
|
|
|
151
151
|
scrollFullWidth,
|
|
152
152
|
controlScrollAmount,
|
|
153
153
|
};
|
|
154
|
-
return (h(Host, { key: '
|
|
154
|
+
return (h(Host, { key: 'ebcf0b5ae9c7ca210c861d35f7c1f027483da20d' }, h("tet-card-list", { key: '66c72fea26aeda7c7a963ad2a73531a2d6474b88', theme: this.theme, part: "card-list-component", exportparts: "card-list, card-list-container", withOverflowOpacity: true, ...props }, this.items.map((item, index) => this.renderListCard(item, index)))));
|
|
155
155
|
}
|
|
156
156
|
static get is() { return "tet-news-card-list"; }
|
|
157
157
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9818,6 +9818,7 @@
|
|
|
9818
9818
|
--tc-layer-permanent-white-dark: rgb(255, 255, 255);
|
|
9819
9819
|
--tc-layer-permanent-black-dark: var(--tc-grey-minus-10-dark);
|
|
9820
9820
|
--tc-layer-permanent-yellow-dark: var(--tc-yellow-40-dark);
|
|
9821
|
+
--tc-layer-adaptive-black-to-yellow-dark: var(--tc-yellow-40-dark);
|
|
9821
9822
|
--tc-icon-primary-dark: var(--tc-grey-110-dark);
|
|
9822
9823
|
--tc-icon-secondary-dark: var(--tc-grey-50-dark);
|
|
9823
9824
|
--tc-icon-tertiary-dark: var(--tc-grey-40-dark);
|
|
@@ -10220,6 +10221,7 @@
|
|
|
10220
10221
|
--tc-layer-permanent-white: rgb(255, 255, 255);
|
|
10221
10222
|
--tc-layer-permanent-black: var(--tc-grey-110);
|
|
10222
10223
|
--tc-layer-permanent-yellow: var(--tc-yellow-40);
|
|
10224
|
+
--tc-layer-adaptive-black-to-yellow: var(--tc-grey-110);
|
|
10223
10225
|
--tc-icon-primary: var(--tc-grey-110);
|
|
10224
10226
|
--tc-icon-secondary: var(--tc-grey-50);
|
|
10225
10227
|
--tc-icon-tertiary: var(--tc-grey-40);
|