@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
package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js
CHANGED
|
@@ -72,13 +72,13 @@ export class TetNavigationMobile {
|
|
|
72
72
|
await processTranslations('tet-components', this.language || 'lv');
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'dd3a02412f48f5db5e884f42b94c234d11030ee6' }, h("navigation", { key: '4271fd94f5ca1bb1779a0dcf6586eaed3dcc1645', class: {
|
|
76
76
|
'navigation': true,
|
|
77
77
|
'navigation--dark': this.darkMode
|
|
78
|
-
} }, h("div", { key: '
|
|
78
|
+
} }, h("div", { key: 'ca394e6f005ec1bff4ff3958080f00b2ad972001', class: "navigation__nav-bar" }, h("slot", { key: 'b09584021b34bcb4abd0a9a868b9fb7c8935f53c' })), this.isTogglerVisible && (h("button", { key: '582a213c4b6fd9fc0dac409b5690a55386f60651', type: "button", class: "navigation__toggler", "aria-controls": "tet-navigation-mobile-dropdown", "aria-expanded": this.isTogglerExpanded.toString(), "aria-label": t(this.isTogglerExpanded ? 'components-navigation-mobile-close-menu-label' : 'components-navigation-mobile-open-menu-label'), onClick: this.onTogglerClick }, h("tet-icon", { key: 'fb45ae1a00484dd607b8b68add460d5dcbc48ac3', theme: this.darkMode ? "dark" : "light", name: this.isTogglerExpanded ? "tc-close" : "tc-burger" }))), h("div", { key: 'f01009dcdf0ac68b0b2f897e55764a3105b8d3fd', id: "tet-navigation-mobile-dropdown", class: {
|
|
79
79
|
'navigation__dropdown': true,
|
|
80
80
|
'navigation__dropdown--expanded': this.isTogglerExpanded,
|
|
81
|
-
}, inert: !this.isTogglerExpanded }, h("slot", { key: '
|
|
81
|
+
}, inert: !this.isTogglerExpanded }, h("slot", { key: '10a6be372faaee34b8b389c334e943772beaf815', name: "dropdown" })))));
|
|
82
82
|
}
|
|
83
83
|
static get is() { return "tet-navigation-mobile"; }
|
|
84
84
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
/**
|
|
3
|
+
* @prop --paginator-buttons-border-radius: The corner radius of the navigation buttons and dropdown button. Defaults to 2rem.
|
|
4
|
+
* @prop --paginator-buttons-gap: The spacing between the navigation buttons and dropdown. Defaults to 0.75rem.
|
|
5
|
+
* @prop --paginator-dropdown-container-border-radius: The corner radius of the dropdown options panel. Defaults to 1rem.
|
|
6
|
+
* @prop --paginator-dropdown-container-max-height: The maximum height of the dropdown options panel. Defaults to 11rem.
|
|
7
|
+
*/
|
|
8
|
+
--paginator-buttons-border-radius: 2rem;
|
|
9
|
+
--paginator-buttons-gap: 0.75rem;
|
|
10
|
+
--paginator-dropdown-container-border-radius: 1rem;
|
|
11
|
+
--paginator-button-default-background: var(--tc-layer-primary);
|
|
12
|
+
--paginator-button-default-border-color: var(--tc-border-secondary);
|
|
13
|
+
--paginator-button-hover-background: var(--tc-layer-tertiary);
|
|
14
|
+
--paginator-button-pressed-background: var(--tc-layer-quaternary);
|
|
15
|
+
--paginator-button-pressed-border-color: var(--tc-border-primary);
|
|
16
|
+
--paginator-button-disabled-background: var(--tc-layer-primary);
|
|
17
|
+
--paginator-button-disabled-border-color: var(--tc-border-quaternary);
|
|
18
|
+
--paginator-button-icon-color: var(--tc-icon-primary);
|
|
19
|
+
--paginator-button-icon-disabled-color: var(--tc-button-icon-inverse-disabled);
|
|
20
|
+
--paginator-focus-visible-color: var(--tc-blue-40);
|
|
21
|
+
display: inline-block;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:host([theme=dark]) {
|
|
25
|
+
--paginator-button-default-background: var(--tc-layer-primary-dark);
|
|
26
|
+
--paginator-button-default-border-color: var(--tc-border-secondary-dark);
|
|
27
|
+
--paginator-button-hover-background: var(--tc-layer-tertiary-dark);
|
|
28
|
+
--paginator-button-pressed-background: var(--tc-layer-quaternary-dark);
|
|
29
|
+
--paginator-button-pressed-border-color: var(--tc-border-primary-dark);
|
|
30
|
+
--paginator-button-disabled-background: var(--tc-layer-primary-dark);
|
|
31
|
+
--paginator-button-disabled-border-color: var(--tc-border-quaternary-dark);
|
|
32
|
+
--paginator-button-icon-color: var(--tc-icon-primary-dark);
|
|
33
|
+
--paginator-button-icon-disabled-color: var(--tc-button-icon-inverse-disabled-dark);
|
|
34
|
+
--paginator-focus-visible-color: var(--tc-blue-40-dark);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.paginator {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: var(--paginator-buttons-gap);
|
|
41
|
+
}
|
|
42
|
+
.paginator__dropdown {
|
|
43
|
+
--button-height: 2.625rem;
|
|
44
|
+
--button-border-radius: var(--paginator-buttons-border-radius);
|
|
45
|
+
--list-border-radius: var(--paginator-dropdown-container-border-radius);
|
|
46
|
+
--button-content-alignment: center;
|
|
47
|
+
--button-content-gap: 0.25rem;
|
|
48
|
+
--button-outline-offset: -0.0625rem;
|
|
49
|
+
--single-option-alignment: center;
|
|
50
|
+
--options-max-height: var(--paginator-dropdown-container-max-height, 11rem);
|
|
51
|
+
--dropdown-element-border-radius: 0.5rem;
|
|
52
|
+
--button-disabled-background-color: var(--paginator-button-disabled-background);
|
|
53
|
+
--button-font: get-font(label, m, 500);
|
|
54
|
+
width: 4.875rem;
|
|
55
|
+
}
|
|
56
|
+
.paginator__button {
|
|
57
|
+
appearance: none;
|
|
58
|
+
margin: 0;
|
|
59
|
+
padding: 0;
|
|
60
|
+
font: inherit;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
width: 2.625rem;
|
|
63
|
+
height: 2.625rem;
|
|
64
|
+
aspect-ratio: 1;
|
|
65
|
+
border-radius: var(--paginator-buttons-border-radius);
|
|
66
|
+
background: var(--paginator-button-default-background);
|
|
67
|
+
border: 0.0625rem solid var(--paginator-button-default-border-color);
|
|
68
|
+
}
|
|
69
|
+
.paginator__button:hover {
|
|
70
|
+
background: var(--paginator-button-hover-background);
|
|
71
|
+
}
|
|
72
|
+
.paginator__button:active {
|
|
73
|
+
background: var(--paginator-button-pressed-background);
|
|
74
|
+
border-color: var(--paginator-button-pressed-border-color);
|
|
75
|
+
}
|
|
76
|
+
.paginator__button:focus-visible {
|
|
77
|
+
outline: 0.125rem solid var(--paginator-focus-visible-color);
|
|
78
|
+
outline-offset: -0.0625rem;
|
|
79
|
+
}
|
|
80
|
+
.paginator__button[disabled] {
|
|
81
|
+
background: var(--paginator-button-disabled-background);
|
|
82
|
+
border-color: var(--paginator-button-disabled-border-color);
|
|
83
|
+
cursor: default;
|
|
84
|
+
}
|
|
85
|
+
.paginator__button[disabled] .paginator__button-icon {
|
|
86
|
+
--icon-color: var(--paginator-button-icon-disabled-color);
|
|
87
|
+
}
|
|
88
|
+
.paginator__button-icon {
|
|
89
|
+
--icon-size: 1.5rem;
|
|
90
|
+
--icon-color: var(--paginator-button-icon-color);
|
|
91
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { Host, h, forceUpdate } from "@stencil/core";
|
|
2
|
+
import { processTranslations, t } from "../../../../services/translations/index";
|
|
3
|
+
export class TetPaginator {
|
|
4
|
+
dropdownElement;
|
|
5
|
+
/** Theme of the component */
|
|
6
|
+
theme = 'light';
|
|
7
|
+
/** The translation language. */
|
|
8
|
+
language = 'lv';
|
|
9
|
+
/** The total number of pages. */
|
|
10
|
+
pages = 1;
|
|
11
|
+
/** Disables all pagination controls. */
|
|
12
|
+
disabled = false;
|
|
13
|
+
/** The current page number, starting at 1. Can be read or set externally and updates on user navigation. */
|
|
14
|
+
selectedPage = 1;
|
|
15
|
+
/** Emitted when user navigation changes the current page. Prop-driven updates do not emit this event. */
|
|
16
|
+
pageChange;
|
|
17
|
+
async componentWillLoad() {
|
|
18
|
+
this.selectedPage = this.clampPage(this.selectedPage);
|
|
19
|
+
await processTranslations('tet-components', this.language);
|
|
20
|
+
}
|
|
21
|
+
async onLanguageChange(language) {
|
|
22
|
+
await processTranslations('tet-components', language);
|
|
23
|
+
forceUpdate(this);
|
|
24
|
+
}
|
|
25
|
+
async synchronizeSelection() {
|
|
26
|
+
const clampedPage = this.clampPage(this.selectedPage);
|
|
27
|
+
if (this.selectedPage !== clampedPage) {
|
|
28
|
+
this.selectedPage = clampedPage;
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
await this.dropdownElement?.selectOption(clampedPage - 1, false);
|
|
32
|
+
}
|
|
33
|
+
get pageCount() {
|
|
34
|
+
return Number.isFinite(this.pages) ? Math.max(1, Math.floor(this.pages)) : 1;
|
|
35
|
+
}
|
|
36
|
+
clampPage = (page) => {
|
|
37
|
+
const requestedPage = Number.isFinite(page) ? Math.floor(page) : 1;
|
|
38
|
+
return Math.min(this.pageCount, Math.max(1, requestedPage));
|
|
39
|
+
};
|
|
40
|
+
get previousButtonDisabled() {
|
|
41
|
+
return this.disabled || this.selectedPage <= 1;
|
|
42
|
+
}
|
|
43
|
+
get nextButtonDisabled() {
|
|
44
|
+
return this.disabled || this.selectedPage >= this.pageCount;
|
|
45
|
+
}
|
|
46
|
+
handleButtonClick = (direction) => {
|
|
47
|
+
const nextPage = this.clampPage(this.selectedPage + (direction === 'previous' ? -1 : 1));
|
|
48
|
+
if (nextPage === this.selectedPage) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
this.selectedPage = nextPage;
|
|
52
|
+
this.pageChange.emit(nextPage);
|
|
53
|
+
};
|
|
54
|
+
handleDropdownChange = (event) => {
|
|
55
|
+
const option = event.detail[0];
|
|
56
|
+
if (this.disabled || !option) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const nextPage = this.clampPage(Number(option.value));
|
|
60
|
+
if (nextPage === this.selectedPage) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
this.selectedPage = nextPage;
|
|
64
|
+
this.pageChange.emit(nextPage);
|
|
65
|
+
};
|
|
66
|
+
renderButton(direction = 'previous') {
|
|
67
|
+
const iconName = direction === 'previous' ? 'tc-chevron-left' : 'tc-chevron-right';
|
|
68
|
+
const disabled = direction === 'previous' ? this.previousButtonDisabled : this.nextButtonDisabled;
|
|
69
|
+
return (h("button", { type: "button", class: "paginator__button", "aria-label": direction === 'previous' ? t('components-paginator-previous-page') : t('components-paginator-next-page'), disabled: disabled, onClick: () => this.handleButtonClick(direction) }, h("tet-icon", { class: "paginator__button-icon", name: iconName })));
|
|
70
|
+
}
|
|
71
|
+
render() {
|
|
72
|
+
return (h(Host, { key: 'b97277b9dd174c49a3275049a3603a7201205c7b' }, h("div", { key: '76741f9727d9c53decec9b5b9206955a970312c8', class: "paginator" }, this.renderButton('previous'), h("tet-dropdown", { key: '3f2ec2e785fa75b5b85589793a5945c53be58b8d', class: "paginator__dropdown", ref: element => (this.dropdownElement = element), theme: this.theme, disabled: this.disabled, onOptionsChanged: this.handleDropdownChange, gappedLayout: true, label: `${t('components-paginator-page')} ${this.selectedPage}/${this.pageCount}`, showLabel: false, selectedOptionStyle: "underline", closeOnSelection: true, options: Array.from({ length: this.pageCount }, (_, index) => ({
|
|
73
|
+
label: String(index + 1),
|
|
74
|
+
value: index + 1,
|
|
75
|
+
preselected: this.selectedPage === index + 1,
|
|
76
|
+
})) }), this.renderButton('next'))));
|
|
77
|
+
}
|
|
78
|
+
static get is() { return "tet-paginator"; }
|
|
79
|
+
static get encapsulation() { return "shadow"; }
|
|
80
|
+
static get originalStyleUrls() {
|
|
81
|
+
return {
|
|
82
|
+
"$": ["tet-paginator.scss"]
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
static get styleUrls() {
|
|
86
|
+
return {
|
|
87
|
+
"$": ["tet-paginator.css"]
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
static get properties() {
|
|
91
|
+
return {
|
|
92
|
+
"theme": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"mutable": false,
|
|
95
|
+
"complexType": {
|
|
96
|
+
"original": "'light' | 'dark'",
|
|
97
|
+
"resolved": "\"dark\" | \"light\"",
|
|
98
|
+
"references": {}
|
|
99
|
+
},
|
|
100
|
+
"required": false,
|
|
101
|
+
"optional": false,
|
|
102
|
+
"docs": {
|
|
103
|
+
"tags": [],
|
|
104
|
+
"text": "Theme of the component"
|
|
105
|
+
},
|
|
106
|
+
"getter": false,
|
|
107
|
+
"setter": false,
|
|
108
|
+
"reflect": true,
|
|
109
|
+
"attribute": "theme",
|
|
110
|
+
"defaultValue": "'light'"
|
|
111
|
+
},
|
|
112
|
+
"language": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"mutable": false,
|
|
115
|
+
"complexType": {
|
|
116
|
+
"original": "Language",
|
|
117
|
+
"resolved": "\"en\" | \"lv\" | \"ru\"",
|
|
118
|
+
"references": {
|
|
119
|
+
"Language": {
|
|
120
|
+
"location": "import",
|
|
121
|
+
"path": "@services/translations",
|
|
122
|
+
"id": "src/services/translations/index.ts::Language",
|
|
123
|
+
"referenceLocation": "Language"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": false,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": "The translation language."
|
|
132
|
+
},
|
|
133
|
+
"getter": false,
|
|
134
|
+
"setter": false,
|
|
135
|
+
"reflect": false,
|
|
136
|
+
"attribute": "language",
|
|
137
|
+
"defaultValue": "'lv'"
|
|
138
|
+
},
|
|
139
|
+
"pages": {
|
|
140
|
+
"type": "number",
|
|
141
|
+
"mutable": false,
|
|
142
|
+
"complexType": {
|
|
143
|
+
"original": "number",
|
|
144
|
+
"resolved": "number",
|
|
145
|
+
"references": {}
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"optional": false,
|
|
149
|
+
"docs": {
|
|
150
|
+
"tags": [],
|
|
151
|
+
"text": "The total number of pages."
|
|
152
|
+
},
|
|
153
|
+
"getter": false,
|
|
154
|
+
"setter": false,
|
|
155
|
+
"reflect": false,
|
|
156
|
+
"attribute": "pages",
|
|
157
|
+
"defaultValue": "1"
|
|
158
|
+
},
|
|
159
|
+
"disabled": {
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"mutable": false,
|
|
162
|
+
"complexType": {
|
|
163
|
+
"original": "boolean",
|
|
164
|
+
"resolved": "boolean",
|
|
165
|
+
"references": {}
|
|
166
|
+
},
|
|
167
|
+
"required": false,
|
|
168
|
+
"optional": false,
|
|
169
|
+
"docs": {
|
|
170
|
+
"tags": [],
|
|
171
|
+
"text": "Disables all pagination controls."
|
|
172
|
+
},
|
|
173
|
+
"getter": false,
|
|
174
|
+
"setter": false,
|
|
175
|
+
"reflect": false,
|
|
176
|
+
"attribute": "disabled",
|
|
177
|
+
"defaultValue": "false"
|
|
178
|
+
},
|
|
179
|
+
"selectedPage": {
|
|
180
|
+
"type": "number",
|
|
181
|
+
"mutable": true,
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "number",
|
|
184
|
+
"resolved": "number",
|
|
185
|
+
"references": {}
|
|
186
|
+
},
|
|
187
|
+
"required": false,
|
|
188
|
+
"optional": false,
|
|
189
|
+
"docs": {
|
|
190
|
+
"tags": [],
|
|
191
|
+
"text": "The current page number, starting at 1. Can be read or set externally and updates on user navigation."
|
|
192
|
+
},
|
|
193
|
+
"getter": false,
|
|
194
|
+
"setter": false,
|
|
195
|
+
"reflect": false,
|
|
196
|
+
"attribute": "selected-page",
|
|
197
|
+
"defaultValue": "1"
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
static get events() {
|
|
202
|
+
return [{
|
|
203
|
+
"method": "pageChange",
|
|
204
|
+
"name": "pageChange",
|
|
205
|
+
"bubbles": true,
|
|
206
|
+
"cancelable": true,
|
|
207
|
+
"composed": true,
|
|
208
|
+
"docs": {
|
|
209
|
+
"tags": [],
|
|
210
|
+
"text": "Emitted when user navigation changes the current page. Prop-driven updates do not emit this event."
|
|
211
|
+
},
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "number",
|
|
214
|
+
"resolved": "number",
|
|
215
|
+
"references": {}
|
|
216
|
+
}
|
|
217
|
+
}];
|
|
218
|
+
}
|
|
219
|
+
static get watchers() {
|
|
220
|
+
return [{
|
|
221
|
+
"propName": "language",
|
|
222
|
+
"methodName": "onLanguageChange"
|
|
223
|
+
}, {
|
|
224
|
+
"propName": "selectedPage",
|
|
225
|
+
"methodName": "synchronizeSelection"
|
|
226
|
+
}, {
|
|
227
|
+
"propName": "pages",
|
|
228
|
+
"methodName": "synchronizeSelection"
|
|
229
|
+
}];
|
|
230
|
+
}
|
|
231
|
+
}
|
|
@@ -167,7 +167,7 @@ export class TetStickyOffer {
|
|
|
167
167
|
return this.detectedModule;
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: '46282d490cedc42c9e799eb8bf3adbefcadcadb8', class: { 'offer-visible': this.visible && this.boundaryVisible }, style: { '--boundary-bottom': `${this.boundaryBottom}px` } }, h("div", { key: 'f1d3d6af0dd1a1f95ed6f701aa97c3cc67255ebb', class: "sticky-offer", inert: !this.visible || !this.boundaryVisible }, h("span", { key: '267fcceb2eb5981b68232c25a8b568e3f8820bc1', class: "sticky-offer__name", "aria-live": "polite", "aria-atomic": "true" }, this.offerName), h("div", { key: '98bbfc68cc716734be8256c63abe51c716566987', class: "sticky-offer__inner-container" }, h("div", { key: 'b24d1900af6d0376dd164a5e23d732cf8035bbf0', class: "sticky-offer__price-container", "aria-live": "polite", "aria-atomic": "true" }, h("span", { key: 'b739b46a8cfb4c07a9cd8b3bb8767b10e04327b2', class: "sticky-offer__price" }, this.price), this.priceSuffix && (h("span", { key: '8aca8908ad944f9bd0adbfaf0a2435d913bff52e', class: "sticky-offer__price-suffix" }, this.priceSuffix))), h("tet-button", { key: '45eabad2134f51befbfb396b419c7d432e690c3c', size: "small", theme: "light", breakpointConfig: {
|
|
171
171
|
lg: { size: 'medium' },
|
|
172
172
|
xl: { size: 'large' },
|
|
173
173
|
}, url: this.actionUrl, urlTarget: this.actionTarget, onClick: () => this.applyClick.emit() }, this.actionLabel)))));
|
|
@@ -168,13 +168,13 @@ export class TetAccordion {
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '3c28870646852b58850059a428e93fb86e8ef227' }, h("div", { key: '4c2f667cc17c5cb67f602f55b319ae9c5375489d', class: {
|
|
172
172
|
'tet-accordion': true,
|
|
173
173
|
'tet-accordion--border': this.withBorder,
|
|
174
174
|
[`${this.theme}-theme`]: true,
|
|
175
175
|
[`tet-accordion--breakpoint-${this.breakpoint}`]: true,
|
|
176
176
|
'transparent-bg': this.transparentBackground,
|
|
177
|
-
} }, h("div", { key: '
|
|
177
|
+
} }, h("div", { key: '51ceed9e9f0b1a367a6a291e7ede460b2780b7d1', class: {
|
|
178
178
|
"tet-accordion__header": true,
|
|
179
179
|
[this.theme]: true,
|
|
180
180
|
"tet-accordion__header--non-interactive": !this.isHeaderInteractive,
|
|
@@ -182,15 +182,15 @@ export class TetAccordion {
|
|
|
182
182
|
onClick: this.toggleOpenState,
|
|
183
183
|
onKeyDown: this.toggleAccessibilityOpenState,
|
|
184
184
|
tabIndex: 0
|
|
185
|
-
} : {}) }, h("slot", { key: '
|
|
185
|
+
} : {}) }, h("slot", { key: '87154a3c455501baac0f35a5da4872c6d31b95c3', name: "header" }, this.headerIconName && (h("tet-icon", { key: '2c20088caaac29a9f775301fddb67e6a8f4ecdb8', name: this.headerIconName, class: "tet-accordion__header-icon tet-accordion__icon" })), this.headerImageSrc && this.headerImageSrc !== '' && (h("img", { key: 'c87e77059dbf88e6b78b8e173d6c487e13c4618f', src: this.headerImageSrc, alt: this.headerImageAlt ? this.headerImageAlt : undefined, class: "tet-accordion__header-image", loading: "lazy" })), this.renderHeading(), this.isHeaderInteractive && (h("tet-icon", { key: '2bdcd60b40282583ec47b388525d909cd99b8eda', name: `tc-chevron-${this.indicatorDirection}`, class: {
|
|
186
186
|
'tet-accordion__icon': true,
|
|
187
187
|
'open': this.isOpen
|
|
188
|
-
} })))), h("div", { key: '
|
|
188
|
+
} })))), h("div", { key: '20bd02a01faf91ae31b9fe561a55cab52cda265b', ref: (element) => (this.contentWrapperElement = element), class: {
|
|
189
189
|
'tet-accordion__content-wrapper': true,
|
|
190
190
|
'visible': this.isOpen
|
|
191
|
-
}, inert: !this.isOpen }, h("div", { key: '
|
|
191
|
+
}, inert: !this.isOpen }, h("div", { key: '3f638a7a10ba67b2bc284b8bad520c3b1f0b3daf', ref: (element) => (this.contentElement = element), class: {
|
|
192
192
|
'tet-accordion__content': true
|
|
193
|
-
} }, h("slot", { key: '
|
|
193
|
+
} }, h("slot", { key: 'd678d01bfb422218b7d460a840b8d86caaf8efa0' }))))));
|
|
194
194
|
}
|
|
195
195
|
static get is() { return "tet-accordion"; }
|
|
196
196
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js
CHANGED
|
@@ -66,7 +66,7 @@ export class TetExpansionPanel {
|
|
|
66
66
|
this.state = this.state === 'open' ? 'closed' : 'open';
|
|
67
67
|
};
|
|
68
68
|
render() {
|
|
69
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: 'ac3c5a5ca36aedb05c472b8359303c5c198b90a7', class: { 'tet-expansion-panel': true, 'open': this.state === 'open' } }, h("div", { key: 'c2af0fccf95c352f74019bd368b3529a8da24fa1', class: "tet-expansion-panel-content" }, h("slot", { key: '956f155cce8c5eec0046c7fd25ee1dd3f677b024' }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "tet-expansion-panel"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -139,7 +139,7 @@ export class TetNotification {
|
|
|
139
139
|
}
|
|
140
140
|
render() {
|
|
141
141
|
const { headerTitle, content } = this;
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: 'de5b1b641a9fb9816c482080a0d878e35dfc3c49' }, h("div", { key: '58588234e172923163dc5a954c816239b36ef9bb', class: { notification: true, [this.theme]: true } }, h("div", { key: '3f19fd006ec9cd5337bedd700be47eef06988f37', class: { item: true, [this.type]: true } }, h("div", { key: '185b982e99c4e584bfa973250c69ad0e4e177444', class: "header" }, this.renderTypeIcon(), h("div", { key: 'd527616a472de3172663ac9d6ab7e6660fff7895', class: "title" }, headerTitle), this.renderCloseButton()), h("div", { key: '9861407d96e65a471b8241ac0fa7b4ad7cb9c1b0', class: "content" }, h("span", { key: '5a4768b6bd8ca3de3d56e0edfffee35142c01828', innerHTML: content }), h("div", { key: 'b08cb5e42c96effd82f5db2420b3460bf2e4dad4' }, h("slot", { key: '771641e257bbd45677fdd971887781d2f90aa4c4', name: "button" })))))));
|
|
143
143
|
}
|
|
144
144
|
static get is() { return "tet-notification"; }
|
|
145
145
|
static get encapsulation() { return "shadow"; }
|
|
@@ -438,7 +438,7 @@ export class TetTooltip {
|
|
|
438
438
|
return (h("div", { class: { tooltip: true, [`${this.theme}`]: true }, role: "tooltip", "aria-hidden": this.showTooltip ? 'false' : 'true', "aria-live": this.showTooltip ? 'polite' : undefined }, h("div", { class: "tooltip-pointer", ref: (el) => (this.tooltipPointer = el) }), h("slot", null)));
|
|
439
439
|
};
|
|
440
440
|
render() {
|
|
441
|
-
return h(Host, { key: '
|
|
441
|
+
return h(Host, { key: '5af8c9bfb82072e77cd1bcfe558ae57e03d194a8', class: { visible: this.showTooltip } }, this.renderTooltip());
|
|
442
442
|
}
|
|
443
443
|
static get is() { return "tet-tooltip"; }
|
|
444
444
|
static get encapsulation() { return "shadow"; }
|
|
@@ -175,7 +175,7 @@ export class TetAddressOffersView {
|
|
|
175
175
|
return h(Fragment, null);
|
|
176
176
|
}
|
|
177
177
|
render() {
|
|
178
|
-
return (h(Host, { key: '
|
|
178
|
+
return (h(Host, { key: '63803b5f2a163871e104aa98734b06af22bbc321' }, this.renderContactForm(), this.renderHeader(), this.address && this.renderBody()));
|
|
179
179
|
}
|
|
180
180
|
static get is() { return "tet-address-offers-view"; }
|
|
181
181
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class TetBorderRadius {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '478bf8ef564e9cd2ceac454b33d079912d6a1c55' }, h("div", { key: 'ed9584bc72d175fd7d4036e22cbc474757deae87', class: "variable-container" }, h("div", { key: '6150541ecf9c1f49150d547864930102d162981a', class: "container-title main" }, "Border r\u0101diusa klase"), h("div", { key: 'd86605691d44a017acc90a2fd9bf2ca6ea5f0b0a', class: "container-section" }, h("div", { key: '4187f6e831f05c31e1f3c52f61a468a597934922', class: "variable-name" }, h("div", { key: 'cc1fbc8f7d7072698232825ea02fba2a321d2d25', class: "variable-part" }, "tet"), h("div", { key: '283b1ed2cf1691694540a619110e0235c458bc41', class: "variable-part" }, "-border"), h("div", { key: 'f13f6370dd790bc600550d395adc9b3e06aad3c9', class: "variable-part variable variable-type" }, "-radius"), h("div", { key: 'b8abf009ebd07b082f755b63812ecf321ef42f49', class: "variable-part variable variable-size" }, "--md")))), h("div", { key: 'a3e81208569aad064c4d96d0a4d16c5c9ade4ca7', class: "tet-fonts-container" }, h("div", { key: 'f406ee579c18eaa5346ef7f9a67b24863d1b1bca', class: "container-title" }, "R\u0101diusa izm\u0113ri"), h("div", { key: '5b637816f32a61b6b05271168e799268c6c8a5fe', class: "section" }, h("div", { key: '800ae131c4f104375423df8906e96d4532966495', class: "section-variable" }, h("div", { key: '6172a1fb0f38499540660c136574e480e0aba51f', class: "border tet-border-radius--xs" }), h("div", { key: 'd050eedd9b76ce60f4a9cbc036df8aae0b0de148', class: "section-font-class" }, "klase: tet-border-radius--xs"), h("div", { key: 'e4df2cff9e731c863fa3efb0fb4325403817dfc2', class: "section-font-size" }, "border radius: 0.25rem / 4px")), h("div", { key: '14603ae8158b29b0cb974f9dd260f174f854bc6a', class: "section-variable" }, h("div", { key: '1d11f3cd045e65ca4712fea9d3b8da2d65211061', class: "border tet-border-radius--sm" }), h("div", { key: 'd5a7092a1300bdf2fa06df9306b26076e9986d6c', class: "section-font-class" }, "klase: tet-border-radius--sm"), h("div", { key: 'df8b6138dbddc3714d028941af8ba595a72a723d', class: "section-font-size" }, "border radius: 0.5rem / 8px")), h("div", { key: 'f969ffa273bc813ce49cc63c03acd1df0ec95ddc', class: "section-variable" }, h("div", { key: '45d140bbc5d3db3059aa5bc30e81bea470b4b5ea', class: "border tet-border-radius--md" }), h("div", { key: '30a90d9ce482c018e5ebc1f3d32c552e59ba3b0a', class: "section-font-class" }, "klase: tet-border-radius--md"), h("div", { key: 'c5e2b97e4eb7ee242cfdf29f0f7c683438198ffb', class: "section-font-size" }, "border radius: 1rem / 16px")), h("div", { key: '468a4c344c5077c50aa2c13fa833cb64a8819262', class: "section-variable" }, h("div", { key: '375d854eecfe500503922c56d4faccb385d771c3', class: "border tet-border-radius--lg" }), h("div", { key: '1c7c1199431c510823c4b56e61cc6ef8284551e8', class: "section-font-class" }, "klase: tet-border-radius--lg"), h("div", { key: 'e44ae167c1877582e41bfe419fe01d77215f54ed', class: "section-font-size" }, "border radius: 1.5rem / 24px"), h("div", { key: '8a10b6b4a75b8a4f93ce15696601891cf18bad7a', class: "section-font-size" })), h("div", { key: 'c45719362ef06591d5c3725647ada35f363eb854', class: "section-variable" }, h("div", { key: 'cc8589e65b4bd54f8db47c542111285d9c5c598c', class: "border tet-border-radius--xl" }), h("div", { key: '5de83d4aa46dfdec96dbee32faf37b0ee32ede7e', class: "section-font-class" }, "klase: tet-border-radius--xl"), h("div", { key: '77b8c02015d20d81e8f3f2455ffb2927681f790d', class: "section-font-size" }, "border radius: 2rem / 32px"))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "tet-border-radius"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -597,15 +597,15 @@ export class TetColors {
|
|
|
597
597
|
return (h("div", { class: `section section-${sectionKey}` }, h("div", { class: "section__title" }, section.title), section.colors.map((color) => this.renderColorItem(color))));
|
|
598
598
|
};
|
|
599
599
|
render() {
|
|
600
|
-
return (h(Host, { key: '
|
|
600
|
+
return (h(Host, { key: '5917d9821b7a5c0eb2d33c7d59d4f8f41f010c64' }, h("div", { key: 'a2ee3593b94e976ae2bf6688bd148ca09a704b3a', class: {
|
|
601
601
|
'dark': this.darkTheme
|
|
602
|
-
} }, !this.isTokensExample && (h("div", { key: '
|
|
602
|
+
} }, !this.isTokensExample && (h("div", { key: '8bbcf5dc3561982dc3fb8c73f571408fd9304986', class: {
|
|
603
603
|
'container': true,
|
|
604
604
|
'variable-container': true,
|
|
605
|
-
} }, h("div", { key: '
|
|
605
|
+
} }, h("div", { key: '354f97d2079bed028b8df554ded85234096f8bdd', class: "container-title main" }, "Kr\u0101sas klase"), h("div", { key: 'e769e629209097a41e0b68e8b5c64fdbd09fd77e', class: "container-section" }, h("div", { key: 'f0634f9127a714a38d911987c3335331219c91c8', class: "variable-wrapper" }, h("span", { key: 'ca6cef49dc57b522df5dbd5043726094fe7d7b73', class: "variable-name" }, h("span", { key: '6271028bf4a7957d2ba6cb5a83fb8ca99fd87124', class: "variable-part" }, "tet"), h("span", { key: 'ac46baf4f7a0ae82cbd19c0234b09134d00d635a', class: "variable-part variable variable-attribute" }, "-color"), h("span", { key: 'b95236319d41b069fb6fbe868d881e7cebdcb988', class: "variable-part variable variable-color" }, "__red30"), h("span", { key: '58bde64db13eda0a60094f9da977c294449bf23a', class: "variable-part variable variable-type" }, "--background"), h("span", { key: 'b14eee03d277cb1d6ac1f9946c00ef2cd431f2db', class: "variable-part variable variable-state" }, "-focus")))))), !this.isTokensExample && (h("div", { key: '84f3528a308b0a8cfc3cb14744cbecf7d14e4547', class: "container" }, h("div", { key: 'ad10116cf1804a862721cbe10939a06e0bba0349', class: "container-title" }, "Piem\u0113ri"), h("div", { key: 'b0cca70881cc195a14dca1d2e6db31c02964d7e3', class: "container-section container-example" }, h("span", { key: '535d0272452dace7f61fa292bb0a8d9767406520', class: "subsection-title" }, "Teksta kr\u0101sas mai\u0146a"), h("code", { key: 'ccadf9c29c1e992592837217eb964d1c39f72143', class: "variable-example" }, "<div class=\"tet-color__red30\">Teksts</div>"), h("span", { key: '3bd0d528187b51968e21a0fcd10ce58b3cf18299' }, "Teksta kr\u0101sas mai\u0146a", ' ', h("span", { key: '01bdfe317f1a975b79adcf48b31a210085bb988a', class: "example-element tet-color__red30" }, "elementam"), "."), h("code", { key: '56c9930ecf4f12bcae63eb1e2d258da7c7c2d054', class: "variable-example" }, "<div class=\"tet-color__red30--hover\">Teksts</div>"), h("span", { key: '02281dca9428796304686077f968a8ca8a85a226' }, "Teksta kr\u0101sas mai\u0146a", ' ', h("span", { key: '25713725e2d6fd819558fb9cbdfc98aad4564b1e', class: "example-element example-element--hover tet-color__red30--hover" }, "elementam"), ' ', "hover st\u0101vokl\u012B."), h("code", { key: '409b9264c091aa75e05d6babb93e69554e91effd', class: "variable-example" }, "<div class=\"tet-color__red30--focus\">Teksts</div>"), h("span", { key: '6f72a6880a45208f40f51557608e761d4b48f51f' }, "Teksta kr\u0101sas mai\u0146a", ' ', h("span", { key: '612c77489dd59ac1a57f5e899eacb186e9c7aa61', tabindex: "0", class: "example-element tet-color__red30--focus" }, "elementam"), ' ', "focus st\u0101vokl\u012B."), h("span", { key: '0f2a34141b219014396029b136535fbf8494c4d3', class: "subsection-title" }, "Fona kr\u0101sas mai\u0146a"), h("code", { key: '7e3d062c9ccb159a43799cda8362970b4a0c94e5', class: "variable-example" }, "<div class=\"tet-color__red30--background\">Teksts</div>"), h("span", { key: 'a67a0d245d407a0a43ba2241c211619b772e97c0' }, "Fona kr\u0101sas mai\u0146a", ' ', h("span", { key: 'ff17e1935eda5d8c112f372e1b324dccbf4ece2a', class: "example-element tet-color__red30--background" }, "elementam"), "."), h("code", { key: '016a5eef0d953e21ef8a7103e6ec283bdc0ee47c', class: "variable-example" }, "<div class=\"tet-color__red30--background-hover\">Teksts</div>"), h("span", { key: 'f3eacb2db6f6ad62512da9407f8e6f69a915387c' }, "Fona kr\u0101sas mai\u0146a elementam", ' ', h("span", { key: '0761d6296f267edf2ee5b4facc9cc9346ccab21c', class: "example-element example-element--hover tet-color__red30--background-hover" }, "elementam"), ' ', "hover st\u0101vokl\u012B."), h("code", { key: '4698b26ad22a28f05b94d3b9cc4c9bceb76136ea', class: "variable-example" }, "<div class=\"tet-color__red30--background-focus\">Teksts</div>"), h("span", { key: '432436b47ab90b2a950d9231f7f8c86840229472' }, "Fona kr\u0101sas mai\u0146a elementam", ' ', h("span", { key: '084ee68d05753e55b1ba325f72ee1ac8ddeb462e', tabindex: "0", class: "example-element tet-color__red30--background-focus" }, "elementam"), ' ', "focus st\u0101vokl\u012B."), h("span", { key: '7303cb8e82df9513cf14eabef64c86fc0711bf1f', class: "subsection-title" }, "Apmales kr\u0101sas mai\u0146a"), h("code", { key: '480df7379181da23853a58ada6baed158a6bd6d8', class: "variable-example" }, "<div class=\"tet-color__red30--border\">Teksts</div>"), h("span", { key: '66a261a0b18eebc3c20a9bb61a4fd4f80009e87e' }, "Apmales kr\u0101sas mai\u0146a", ' ', h("span", { key: 'b5d8b6c1d288518da46eaeafa698f1b5417124c0', class: "example-element border-example tet-color__red30--border" }, "elementam"), "."), h("code", { key: '400e4f184a301ccde3b0e22bcea363caea3bf707', class: "variable-example" }, "<div class=\"tet-color__red30--border-hover\">Teksts</div>"), h("span", { key: '7c92b095f9e2e17fdc767852a4bfd499578fa300' }, "Apmales kr\u0101sas mai\u0146a elementam", ' ', h("span", { key: '3db5cad1e8a591674eb8cf19d72075d63a0f8d65', class: "example-element example-element--hover border-example tet-color__red30--border-hover" }, "elementam"), ' ', "hover st\u0101vokl\u012B."), h("code", { key: 'd2b793a632b2c04f0912b378f578f4960f267b48', class: "variable-example" }, "<div class=\"tet-color__red30--border-focus\">Teksts</div>"), h("span", { key: '84a83ce24ae7bd4c149dacd64dec3a23750828ce' }, "Apmales kr\u0101sas mai\u0146a elementam", ' ', h("span", { key: '8c670e7ec8db767911434209ada3a1ce233146ba', tabindex: "0", class: "example-element border-example tet-color__red30--border-focus" }, "elementam"), ' ', "focus st\u0101vokl\u012B."), h("span", { key: '2fa874142c615a3e445dc8675505500915386317', class: "subsection-title" }, "Nemain\u012Bga gai\u0161\u0101s t\u0113mas kr\u0101sa"), h("code", { key: '5cf4d985e07bf50cc2b1d59db4b5376948ba5b65', class: "variable-example" }, "<div class=\"tet-color__red30 tet-color--static\">Teksts</div>"), h("span", { key: '0a00daa93fd504470b02fcc4911c00a9421918d2' }, "Nemain\u012Bga teksta kr\u0101sa", ' ', h("span", { key: 'a6eaf257cf1b56b7698e22d1daa0cbecf5f1972f', class: "example-element tet-color__red30 tet-color--static" }, "elementam"), ".")))), !this.isTokensExample && (h("div", { key: '910c08afbebd64a2c16e56bcfd1e21f7c875add4', class: {
|
|
606
606
|
'container': true,
|
|
607
607
|
'show-variables': this.showVariables
|
|
608
|
-
} }, h("div", { key: '
|
|
608
|
+
} }, h("div", { key: '0a6632afc5f48237b0331651c48b0071620abbec', class: "container-title" }, "Kr\u0101sas un To\u0146i"), h("div", { key: '48da3d2cead63b23e729b5c5b069eb3b3543328c', class: "container-section" }, Object.entries(this.colorSections).map(([key, section]) => this.renderColorSection(key, section))))), this.isTokensExample && (h("div", { key: '1dcc76f4247ed788fdea9d36a6eb02e5d6c02dae', class: "container" }, h("div", { key: '88326426162100c2816d29cd27208727e56ee2f6', class: "container-title main" }, "Tokens"), h("div", { key: 'b78e25cfa16e40c1e1a4bc5e18b31c1bb8fd837c', class: "container-section token-sections" }, this.tokenSections.length
|
|
609
609
|
? this.tokenSections.map(section => this.renderTokenSection(section))
|
|
610
610
|
: h("div", { class: "token-empty-state" }, "Tokens not found.")))))));
|
|
611
611
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class TetFontWeight {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '8f13190b843b164da54b1570a9e5bb8bf8a9d84b' }, h("div", { key: 'a61b9ea2fff97d623ccd2cffa1fe41ff9b7d509c', class: "variable-container" }, h("div", { key: '1e561eb76101ac5745ad5ad3f6f6d9f96afb39c1', class: "container-title main" }, "Fonta biezuma klase"), h("div", { key: 'a3720c4798dfc2744f2fee976e2f78bbdbfd1ad0', class: "container-section" }, h("div", { key: '81b574d4d5ac118369af263d0dcdd33f298e98b9', class: "variable-name" }, h("div", { key: '5515e1fda197925f579a097e9dacbc5899860a0a', class: "variable-part" }, "tet"), h("div", { key: '0adc175885c68811d92fc3e31751e29537c75daf', class: "variable-part" }, "-font"), h("div", { key: 'e0348a22eb12516a2465e16324645eb2218ba104', class: "variable-part" }, "-weight"), h("div", { key: 'e6d13591cdd4cf962700218e7ffdaa4a92d2d193', class: "variable-part variable variable-weight" }, "--semi-bold")))), h("div", { key: 'e9082cb9b03484c67e80e2b2d6b04bf9d88cc449', class: "tet-fonts-container" }, h("div", { key: 'e428453f8810bdab1352e81bbbb2a3c6cfc5f24c', class: "section" }, h("div", { key: '436feaf3c59cadbecc42f446f6ba4d63f9b43098', class: "container-title" }, "Fontu biezumi"), h("div", { key: '27d54da6d780c025d1deff60f15a3036ec402816', class: "section-font" }, h("div", { key: 'eabbcf3c370542065a4d5291f97024d4201db200', class: "font font-body-xs" }, "Font weight - 400"), h("div", { key: '343777a7a4d4286bfa7497380a687bc2531efddd', class: "section-font-class" }, "klase: tet-font-weight--normal"), h("div", { key: 'd6dabb9997cdc088186e2bef14b58ec4868e2973', class: "section-font-weight" })), h("div", { key: '6b9796a2830b6158dbbc7852d62984a0261e68ef', class: "section-font" }, h("div", { key: '8d2864f743a1515fb74db6936442994215a157db', class: "font font-body-s" }, "Font weight - 500"), h("div", { key: '978993cf238e97d3e5640c158a563c0748823ee7', class: "section-font-class" }, "klase: tet-font-weight--medium"), h("div", { key: '7aea1feb4966a361c983986bd4593cecdc7e884e', class: "section-font-weight" })), h("div", { key: 'f592f401e9628e99d3ab6089d938de4b836e12b4', class: "section-font" }, h("div", { key: '3801968f431cba74737869ad72f66ee7c80f3adf', class: "font font-body-m" }, "Font weight - 600"), h("div", { key: '1b238d134a996f686756707d9ebd54a8a61915af', class: "section-font-class" }, "klase: tet-font-weight--semi-bold"), h("div", { key: 'd2b4106d742945098398fc9f2c4b55dcf4ecfabf', class: "section-font-weight" }))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "tet-font-weight"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|