@tet/tet-components 1.3.35-staging → 1.3.36-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/loader.cjs.js +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +6 -6
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +9 -1
- package/dist/cjs/tet-colors.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-card_4.cjs.entry.js +2 -2
- package/dist/cjs/tet-components.cjs.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +2 -2
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +3 -3
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +44 -8
- package/dist/cjs/tet-tooltip.cjs.entry.js +1 -1
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +51 -172
- package/dist/collection/components/basic/buttons/tet-button/test/tet-button.spec.js +15 -0
- package/dist/collection/components/basic/buttons/tet-button/tet-button.js +45 -1
- package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.css +54 -19
- package/dist/collection/components/simple/inputs/tet-input/test/tet-input.spec.js +5 -5
- package/dist/collection/components/simple/inputs/tet-input/tet-input.css +54 -26
- package/dist/collection/components/simple/inputs/tet-input/tet-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.css +647 -30
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +91 -13
- 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 +51 -172
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
- package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +3 -3
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/components/{p-10ac7329.js → p-0e8e9969.js} +1 -1
- package/dist/components/{p-acfce9fc.js → p-137831a1.js} +2 -2
- package/dist/components/{p-b7a584f2.js → p-2512a377.js} +1 -1
- package/dist/components/{p-92212842.js → p-3224ce0c.js} +1 -1
- package/dist/components/{p-c815ced9.js → p-35989691.js} +2 -2
- package/dist/components/{p-c3505a00.js → p-59637c1a.js} +1 -1
- package/dist/components/{p-7dbe7816.js → p-6fbac2cc.js} +1 -1
- package/dist/components/{p-8911f3cb.js → p-7ab97fb1.js} +12 -2
- package/dist/components/{p-9562e2a7.js → p-7d8a6b54.js} +1 -1
- package/dist/components/{p-d1a5c127.js → p-8d5857fd.js} +2 -2
- package/dist/components/{p-3f462a6d.js → p-afca8b65.js} +1 -1
- package/dist/components/{p-48de78b0.js → p-b8b28286.js} +2 -2
- package/dist/components/{p-9b01a541.js → p-dda0282b.js} +1 -1
- package/dist/components/{p-65af555d.js → p-ecec9519.js} +2 -2
- package/dist/components/{p-d1850046.js → p-ff31012f.js} +2 -2
- package/dist/components/tet-accordion.js +6 -6
- package/dist/components/tet-address-offers-view.js +8 -8
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-asset-addresses.js +2 -2
- package/dist/components/tet-autocomplete-dropdown.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-service-calculator.js +4 -4
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-compare-card.js +1 -1
- package/dist/components/tet-business-lines.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +2 -2
- package/dist/components/tet-cloud-configurator.js +3 -3
- package/dist/components/tet-colors.js +3 -3
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +3 -3
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +2 -2
- package/dist/components/tet-dropdown.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-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-input.js +1 -1
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-macd-view.js +2 -2
- package/dist/components/tet-multi-step-dialog.js +1 -1
- package/dist/components/tet-navigation-mobile.js +3 -3
- package/dist/components/tet-news-card-list.js +3 -3
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +2 -2
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-table.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-textarea.js +49 -10
- package/dist/components/tet-thank-you-view-v2.js +1 -1
- package/dist/components/tet-thank-you-view.js +1 -1
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tet-accordion.entry.js +6 -6
- package/dist/esm/tet-address-offers-view.entry.js +1 -1
- package/dist/esm/tet-b2b-service-calculator.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +9 -1
- package/dist/esm/tet-colors.entry.js +3 -3
- package/dist/esm/tet-compare-card_4.entry.js +2 -2
- package/dist/esm/tet-components.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +2 -2
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-navigation-mobile.entry.js +3 -3
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +44 -8
- package/dist/esm/tet-tooltip.entry.js +1 -1
- package/dist/tet-components/{p-26eba44f.entry.js → p-15b70f90.entry.js} +1 -1
- package/dist/tet-components/{p-e07d1bd1.entry.js → p-17028ff9.entry.js} +1 -1
- package/dist/tet-components/{p-45e14d92.entry.js → p-25f8f58c.entry.js} +1 -1
- package/dist/tet-components/p-28ca2ec4.entry.js +1 -0
- package/dist/tet-components/{p-ebf0611c.entry.js → p-313f016d.entry.js} +1 -1
- package/dist/tet-components/{p-44822ad9.entry.js → p-3b6ad95f.entry.js} +1 -1
- package/dist/tet-components/{p-1268aa23.entry.js → p-3d1093ac.entry.js} +1 -1
- package/dist/tet-components/{p-83d64cbd.entry.js → p-43bcfad3.entry.js} +1 -1
- package/dist/tet-components/{p-a0f7099f.entry.js → p-4864da73.entry.js} +1 -1
- package/dist/tet-components/{p-4ae6e17c.entry.js → p-48b0ca02.entry.js} +1 -1
- package/dist/tet-components/{p-486cb131.entry.js → p-51093fb8.entry.js} +1 -1
- package/dist/tet-components/{p-0c9675d2.entry.js → p-7fd1cbd0.entry.js} +1 -1
- package/dist/tet-components/{p-8c2b999b.entry.js → p-833f5a7b.entry.js} +1 -1
- package/dist/tet-components/{p-2cc550a0.entry.js → p-88a1be78.entry.js} +1 -1
- package/dist/tet-components/p-8b38a255.entry.js +1 -0
- package/dist/tet-components/p-a2fb3ecf.entry.js +1 -0
- package/dist/tet-components/{p-0b901542.entry.js → p-a811d7fe.entry.js} +1 -1
- package/dist/tet-components/{p-14598ec6.entry.js → p-aef89e2d.entry.js} +1 -1
- package/dist/tet-components/{p-becd06b3.entry.js → p-c016df1b.entry.js} +1 -1
- package/dist/tet-components/{p-af1eff3f.entry.js → p-e31d543a.entry.js} +1 -1
- package/dist/tet-components/p-e73357e6.entry.js +1 -0
- package/dist/tet-components/{p-e6ea5a96.entry.js → p-f125b69a.entry.js} +1 -1
- package/dist/tet-components/tet-components.css +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/basic/buttons/tet-button/tet-button.d.ts +5 -0
- package/dist/types/components/simple/inputs/tet-textarea/tet-textarea.d.ts +27 -4
- package/dist/types/components.d.ts +27 -3
- package/package.json +1 -1
- package/dist/tet-components/p-4bce5438.entry.js +0 -1
- package/dist/tet-components/p-67b4dd36.entry.js +0 -1
- package/dist/tet-components/p-c2720ef1.entry.js +0 -1
- package/dist/tet-components/p-c5589653.entry.js +0 -1
|
@@ -4,24 +4,60 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d323e22a.js');
|
|
6
6
|
|
|
7
|
-
const tetTextareaCss = "@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}.tet-textarea__base{box-sizing:border-box;width:100%;min-height:5.25rem;border-radius:0.625rem;padding:0.75rem !important;background:rgb(255, 255, 255);border:0.0625rem solid rgb(153, 160, 174);font:500 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\";outline:none;resize:none}.tet-textarea__base:disabled{cursor:not-allowed;outline:none;border-color:rgb(215, 219, 224);background:rgba(88, 99, 116, 0.08)}.tet-textarea__base::placeholder{color:rgb(153, 160, 174)}.tet-textarea__base:not(:disabled):hover{background:rgba(88, 99, 116, 0.08)}.tet-textarea__base:not(:disabled):focus{background:rgb(255, 255, 255)}.tet-textarea__base:not(:disabled):focus,.tet-textarea__base:not(:disabled):active{border-color:rgb(10, 11, 13);box-shadow:0 0 0 0.25rem rgba(88, 99, 116, 0.12)}.tet-textarea__base.error{border-color:rgb(233, 69, 54)}.tet-textarea__label{display:inline-block;margin-left:0.25rem !important;margin-bottom:0.25rem !important;color:rgb(10, 11, 13);font:500 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\"}.tet-textarea__label:disabled{color:rgb(67, 75, 86)}.tet-textarea__error-message{font:500 0.75rem/1rem \"Inter\", \"Gilroy, Arial, sans-serif\";color:rgb(233, 69, 54)}:host{display:block}.error-messages{display:flex;flex-direction:column;margin-top:0.5rem;gap:0.5rem}";
|
|
7
|
+
const tetTextareaCss = "@font-face{font-family:Avenir Next;src:url(assets/fonts/8e7462a9501f48c43c58f870188b3fb2.eot?#iefix);src:url(assets/fonts/8e7462a9501f48c43c58f870188b3fb2.eot?#iefix) format(\"eot\"),url(assets/fonts/3c3e10968ffc97c2a52c5830f9886d1f.woff2) format(\"woff2\"),url(assets/fonts/660fbf858d30d7685fa4b166080f5980.woff) format(\"woff\"),url(assets/fonts/2b7748589092fd1a10b806abdfb562ff.ttf) format(\"truetype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/d5e25ad69d0ea31f3b8f66d634ca40fe.eot?#iefix);src:url(assets/fonts/d5e25ad69d0ea31f3b8f66d634ca40fe.eot?#iefix) format(\"eot\"),url(assets/fonts/aad36ecead30948bb30fe0ef818b749c.woff2) format(\"woff2\"),url(assets/fonts/c437d7752feaf3f056bbf8613e898d3a.woff) format(\"woff\"),url(assets/fonts/b8df4d02ef5de13a813917a85bc4a9c4.ttf) format(\"truetype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/046190c9a2f724b925df848737b03819.eot?#iefix);src:url(assets/fonts/046190c9a2f724b925df848737b03819.eot?#iefix) format(\"eot\"),url(assets/fonts/4d52f8276a74ea8efbad833ed790367c.woff2) format(\"woff2\"),url(assets/fonts/a067695dd1b87e927f4056c040d84669.woff) format(\"woff\"),url(assets/fonts/510a664af9771b72d4ce5e637109ca3c.ttf) format(\"truetype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/0715de188f56c99aa615905f7e06292e.eot?#iefix);src:url(assets/fonts/0715de188f56c99aa615905f7e06292e.eot?#iefix) format(\"eot\"),url(assets/fonts/63f5acc71d9852468683a4bfe824a28f.woff2) format(\"woff2\"),url(assets/fonts/ed94c737da267752ce0abd79bb003ff6.woff) format(\"woff\"),url(assets/fonts/6302f55a6dc6b12365177dc89b7d63cf.ttf) format(\"truetype\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/3f76abc23eef0596c499840db84213bb.eot?#iefix);src:url(assets/fonts/3f76abc23eef0596c499840db84213bb.eot?#iefix) format(\"eot\"),url(assets/fonts/1fe7da97fe9dbe1349aca9b54b5fdf69.woff2) format(\"woff2\"),url(assets/fonts/dacc6a84278e221422902af99579ada5.woff) format(\"woff\"),url(assets/fonts/e530c573663a3a07243d303fbf7db508.ttf) format(\"truetype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/75f8489ba53f19968feaa3e2eb78c569.eot?#iefix);src:url(assets/fonts/75f8489ba53f19968feaa3e2eb78c569.eot?#iefix) format(\"eot\"),url(assets/fonts/93ec0034623fc696601ab99aba652d4c.woff2) format(\"woff2\"),url(assets/fonts/d73c8eb1c13abe1237366aa3ee829a59.woff) format(\"woff\"),url(assets/fonts/7b6dcef99f3f4b23346e23925ec8678f.ttf) format(\"truetype\");font-weight:600;font-style:italic;font-display:swap}.tet-icon{font-family:Tet Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}@font-face{font-family:Tet Icons;src:url(assets/fonts/d2ce51cdcd0b9707af186f8d50023d23.eot);src:url(assets/fonts/d2ce51cdcd0b9707af186f8d50023d23.eot?#iefix) format(\"embedded-opentype\"),url(assets/fonts/25f10ef322a1220b2e9e11db38b73892.woff2) format(\"woff2\"),url(assets/fonts/fed75ac1edcf1c25cdd8612d2c365f9a.woff) format(\"woff\"),url(assets/fonts/df7fbe67cabb13cb837172a73c46378a.ttf) format(\"truetype\"),url(assets/fonts/5486d8c87e2abc6c13ed952a6cc96658.svg#tet-icons) format(\"svg\");font-weight:400;font-style:normal}.tet-icon:before{content:\"\\E84E\"}.tet-icon--sm{font-size:1.125rem}.tet-icon--md{font-size:1.5rem}.tet-icon--lg{font-size:2.25rem}.tet-icon--xl{font-size:3rem}.tet-icon--xxl{font-size:4rem}.tet-icon--0{font-size:0}.tet-icon--1{font-size:.0625rem}.tet-icon--2{font-size:.125rem}.tet-icon--3{font-size:.1875rem}.tet-icon--4{font-size:.25rem}.tet-icon--5{font-size:.3125rem}.tet-icon--6{font-size:.375rem}.tet-icon--7{font-size:.4375rem}.tet-icon--8{font-size:.5rem}.tet-icon--9{font-size:.5625rem}.tet-icon--10{font-size:.625rem}.tet-icon--11{font-size:.6875rem}.tet-icon--12{font-size:.75rem}.tet-icon--13{font-size:.8125rem}.tet-icon--14{font-size:.875rem}.tet-icon--15{font-size:.9375rem}.tet-icon--16{font-size:1rem}.tet-icon--17{font-size:1.0625rem}.tet-icon--18{font-size:1.125rem}.tet-icon--19{font-size:1.1875rem}.tet-icon--20{font-size:1.25rem}.tet-icon--21{font-size:1.3125rem}.tet-icon--22{font-size:1.375rem}.tet-icon--23{font-size:1.4375rem}.tet-icon--24{font-size:1.5rem}.tet-icon--25{font-size:1.5625rem}.tet-icon--26{font-size:1.625rem}.tet-icon--27{font-size:1.6875rem}.tet-icon--28{font-size:1.75rem}.tet-icon--29{font-size:1.8125rem}.tet-icon--30{font-size:1.875rem}.tet-icon--31{font-size:1.9375rem}.tet-icon--32{font-size:2rem}.tet-icon--33{font-size:2.0625rem}.tet-icon--34{font-size:2.125rem}.tet-icon--35{font-size:2.1875rem}.tet-icon--36{font-size:2.25rem}.tet-icon--37{font-size:2.3125rem}.tet-icon--38{font-size:2.375rem}.tet-icon--39{font-size:2.4375rem}.tet-icon--40{font-size:2.5rem}.tet-icon--41{font-size:2.5625rem}.tet-icon--42{font-size:2.625rem}.tet-icon--43{font-size:2.6875rem}.tet-icon--44{font-size:2.75rem}.tet-icon--45{font-size:2.8125rem}.tet-icon--46{font-size:2.875rem}.tet-icon--47{font-size:2.9375rem}.tet-icon--48{font-size:3rem}.tet-icon--49{font-size:3.0625rem}.tet-icon--50{font-size:3.125rem}.tet-icon--51{font-size:3.1875rem}.tet-icon--52{font-size:3.25rem}.tet-icon--53{font-size:3.3125rem}.tet-icon--54{font-size:3.375rem}.tet-icon--55{font-size:3.4375rem}.tet-icon--56{font-size:3.5rem}.tet-icon--57{font-size:3.5625rem}.tet-icon--58{font-size:3.625rem}.tet-icon--59{font-size:3.6875rem}.tet-icon--60{font-size:3.75rem}.tet-icon--61{font-size:3.8125rem}.tet-icon--62{font-size:3.875rem}.tet-icon--63{font-size:3.9375rem}.tet-icon--64{font-size:4rem}.tet-icon--65{font-size:4.0625rem}.tet-icon--66{font-size:4.125rem}.tet-icon--67{font-size:4.1875rem}.tet-icon--68{font-size:4.25rem}.tet-icon--69{font-size:4.3125rem}.tet-icon--70{font-size:4.375rem}.tet-icon--71{font-size:4.4375rem}.tet-icon--72{font-size:4.5rem}.tet-icon--73{font-size:4.5625rem}.tet-icon--74{font-size:4.625rem}.tet-icon--75{font-size:4.6875rem}.tet-icon--76{font-size:4.75rem}.tet-icon--77{font-size:4.8125rem}.tet-icon--78{font-size:4.875rem}.tet-icon--79{font-size:4.9375rem}.tet-icon--80{font-size:5rem}.tet-icon--81{font-size:5.0625rem}.tet-icon--82{font-size:5.125rem}.tet-icon--83{font-size:5.1875rem}.tet-icon--84{font-size:5.25rem}.tet-icon--85{font-size:5.3125rem}.tet-icon--86{font-size:5.375rem}.tet-icon--87{font-size:5.4375rem}.tet-icon--88{font-size:5.5rem}.tet-icon--89{font-size:5.5625rem}.tet-icon--90{font-size:5.625rem}.tet-icon--91{font-size:5.6875rem}.tet-icon--92{font-size:5.75rem}.tet-icon--93{font-size:5.8125rem}.tet-icon--94{font-size:5.875rem}.tet-icon--95{font-size:5.9375rem}.tet-icon--96{font-size:6rem}.tet-icon--97{font-size:6.0625rem}.tet-icon--98{font-size:6.125rem}.tet-icon--99{font-size:6.1875rem}.tet-icon--100{font-size:6.25rem}.tet-icon--101{font-size:6.3125rem}.tet-icon__add:before{content:\"\\E800\"}.tet-icon__alert-circled:before{content:\"\\E801\"}.tet-icon__alert:before{content:\"\\E802\"}.tet-icon__bank:before{content:\"\\E803\"}.tet-icon__box:before{content:\"\\E804\"}.tet-icon__download:before{content:\"\\E805\"}.tet-icon__burger:before{content:\"\\E806\"}.tet-icon__cancel:before{content:\"\\E807\"}.tet-icon__printer:before{content:\"\\E808\"}.tet-icon__cart-add:before{content:\"\\E809\"}.tet-icon__cart-remove:before{content:\"\\E80A\"}.tet-icon__cart:before{content:\"\\E80B\"}.tet-icon__chat:before{content:\"\\E80C\"}.tet-icon__arrow-up:before{content:\"\\E80D\"}.tet-icon__calendar:before{content:\"\\E80E\"}.tet-icon__help-circled:before{content:\"\\E80F\"}.tet-icon__edit:before{content:\"\\E810\"}.tet-icon__external-link:before{content:\"\\E811\"}.tet-icon__gift:before{content:\"\\E812\"}.tet-icon__person:before{content:\"\\E813\"}.tet-icon__heart:before{content:\"\\E814\"}.tet-icon__language:before{content:\"\\E815\"}.tet-icon__help:before{content:\"\\E816\"}.tet-icon__home-1:before{content:\"\\E817\"}.tet-icon__location:before{content:\"\\E818\"}.tet-icon__home-3:before{content:\"\\E819\"}.tet-icon__chart-even:before{content:\"\\E81A\"}.tet-icon__info-2:before{content:\"\\E81B\"}.tet-icon__key:before{content:\"\\E81C\"}.tet-icon__info:before{content:\"\\E81D\"}.tet-icon__lock-opened:before{content:\"\\E81E\"}.tet-icon__lock-outlined:before{content:\"\\E81F\"}.tet-icon__lock:before{content:\"\\E820\"}.tet-icon__laptop-filled:before{content:\"\\E821\"}.tet-icon__mail:before{content:\"\\E822\"}.tet-icon__options:before{content:\"\\E823\"}.tet-icon__chart-uneven:before{content:\"\\E824\"}.tet-icon__mail-2:before{content:\"\\E825\"}.tet-icon__remove:before{content:\"\\E826\"}.tet-icon__mobile-filled:before{content:\"\\E827\"}.tet-icon__ilu-calendar-check:before{content:\"\\E828\"}.tet-icon__settings-outlined:before{content:\"\\E829\"}.tet-icon__tablet:before{content:\"\\E82A\"}.tet-icon__thumb-up:before{content:\"\\E82B\"}.tet-icon__ilu-purchase:before{content:\"\\E82C\"}.tet-icon__chart-even-outlined:before{content:\"\\E82D\"}.tet-icon__movie:before{content:\"\\E82E\"}.tet-icon__percent:before{content:\"\\E82F\"}.tet-icon__ilu-change-whenever:before{content:\"\\E830\"}.tet-icon__truck:before{content:\"\\E831\"}.tet-icon__zero:before{content:\"\\E832\"}.tet-icon__attach:before{content:\"\\E833\"}.tet-icon__cloud-done:before{content:\"\\E834\"}.tet-icon__cloud-download:before{content:\"\\E835\"}.tet-icon__cloud-upload:before{content:\"\\E836\"}.tet-icon__cloud:before{content:\"\\E837\"}.tet-icon__folder:before{content:\"\\E838\"}.tet-icon__remote:before{content:\"\\E839\"}.tet-icon__router:before{content:\"\\E83A\"}.tet-icon__shield-filled:before{content:\"\\E83B\"}.tet-icon__shield:before{content:\"\\E83C\"}.tet-icon__ilu-devices:before{content:\"\\E83D\"}.tet-icon__ilu-get-points:before{content:\"\\E83E\"}.tet-icon__tv:before{content:\"\\E83F\"}.tet-icon__ilu-internet:before{content:\"\\E840\"}.tet-icon__wifi-outlined:before{content:\"\\E841\"}.tet-icon__wifi:before{content:\"\\E842\"}.tet-icon__description-outlined:before{content:\"\\E843\"}.tet-icon__laptop:before{content:\"\\E844\"}.tet-icon__chart-uneven-outlined:before{content:\"\\E845\"}.tet-icon__meter:before{content:\"\\E846\"}.tet-icon__mobile:before{content:\"\\E847\"}.tet-icon__phone:before{content:\"\\E848\"}.tet-icon__plug-filled:before{content:\"\\E849\"}.tet-icon__plug:before{content:\"\\E84A\"}.tet-icon__print:before{content:\"\\E84B\"}.tet-icon__camera:before{content:\"\\E84C\"}.tet-icon__clock:before{content:\"\\E84D\"}.tet-icon__placeholder:before{content:\"\\E84E\"}.tet-icon__tv-filled:before{content:\"\\E84F\"}.tet-icon__arrow-down:before{content:\"\\E850\"}.tet-icon__arrow-left:before{content:\"\\E851\"}.tet-icon__arrow-right:before{content:\"\\E852\"}.tet-icon__description:before{content:\"\\E853\"}.tet-icon__login:before{content:\"\\E854\"}.tet-icon__check:before{content:\"\\E855\"}.tet-icon__chevron-down:before{content:\"\\E856\"}.tet-icon__chevron-left:before{content:\"\\E857\"}.tet-icon__chevron-right:before{content:\"\\E858\"}.tet-icon__chevron-up:before{content:\"\\E859\"}.tet-icon__close-circled:before{content:\"\\E85A\"}.tet-icon__close:before{content:\"\\E85B\"}.tet-icon__more-horizontal:before{content:\"\\E85C\"}.tet-icon__more-vertical:before{content:\"\\E85D\"}.tet-icon__refresh:before{content:\"\\E85E\"}.tet-icon__facebook:before{content:\"\\E85F\"}.tet-icon__instagram:before{content:\"\\E860\"}.tet-icon__linkedin:before{content:\"\\E861\"}.tet-icon__people:before{content:\"\\E862\"}.tet-icon__logout:before{content:\"\\E863\"}.tet-icon__share:before{content:\"\\E864\"}.tet-icon__twitter:before{content:\"\\E865\"}.tet-icon__cancel-filled:before{content:\"\\E866\"}.tet-icon__done:before{content:\"\\E867\"}.tet-icon__star-filled:before{content:\"\\E868\"}.tet-icon__star:before{content:\"\\E869\"}.tet-icon__clipboard:before{content:\"\\E86A\"}.tet-icon__ilu-calendar:before{content:\"\\E86B\"}.tet-icon__check-circled:before{content:\"\\E86C\"}.tet-icon__ilu-choose-channels:before{content:\"\\E86D\"}.tet-icon__search:before{content:\"\\E86E\"}.tet-icon__warning:before{content:\"\\E86F\"}.tet-icon__ilu-clock-1:before{content:\"\\E870\"}.tet-icon__ilu-fold:before{content:\"\\E871\"}.tet-icon__ilu-letter:before{content:\"\\E872\"}.tet-icon__ilu-pay:before{content:\"\\E873\"}.tet-icon__ilu-meter:before{content:\"\\E874\"}.tet-icon__ilu-sign:before{content:\"\\E875\"}.tet-icon__smart-watch-filled:before{content:\"\\E876\"}.tet-icon__washing-machine-filled:before{content:\"\\E877\"}.tet-icon__bullet:before{content:\"\\E878\"}.tet-icon__sound:before{content:\"\\E879\"}.tet-icon__dropdown:before{content:\"\\E87A\"}.tet-icon__mask-pass:before{content:\"\\E87B\"}.tet-icon__select:before{content:\"\\E87C\"}.tet-icon__text-area-sizing:before{content:\"\\E87D\"}.tet-icon__unmask-pass:before{content:\"\\E87E\"}.tet-icon__bullet-small:before{content:\"\\E882\"}.tet-icon__electric-bolt:before{content:\"\\E880\"}.tet-icon__sun:before{content:\"\\E881\"}:host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:\"\\e86e\"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:\"\\e85a\"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:\"\\e85b\"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:\"\\e86c\"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:\"\\e855\"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:\"\\e859\"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:\"\\e856\"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:\"\\e86a\"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:\"\\e81d\"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:\"\\e867\"}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:root,:host{--input-height:2.75rem;--input-padding:0.5rem;--input-font-size:1rem;--input-border-radius:0.1875rem;--input-color-error:rgb(233, 69, 54);--input-font-family:var(--font-family-content);--input-icon-size:1.5rem;--input-icon-top-position:auto;--input-icon-color:rgb(10, 11, 13);--input-focus-icon-color:rgb(10, 11, 13);--input-label-color:rgb(10, 11, 13);--input-text-color:rgb(10, 11, 13);--input-background-color:rgb(255, 255, 255);--input-border-color:rgb(153, 160, 174);--input-placeholder-color:rgb(153, 160, 174);--input-hover-background-color:rgba(88, 99, 116, 0.08);--input-focus-background-color:rgb(255, 255, 255);--input-focus-border-color:rgb(10, 11, 13);--input-focus-outline-color:rgba(88, 99, 116, 0.12);--input-disabled-label-color:rgb(88, 99, 116);--input-disabled-text-color:rgb(153, 160, 174);--input-border-disabled:rgb(215, 219, 224);--input-disabled-background-color:rgba(88, 99, 116, 0.08);--input-disabled-icon-color:var(--input-icon-color);--textarea-border-radius:0.625rem;--textarea-min-height:5.25rem}.tet-input__dark,.tet-textarea__dark{--input-icon-color:var(--tc-icon-primary-dark);--input-label-color:var(--tc-text-primary-dark);--input-text-color:var(--tc-text-primary-dark);--input-background-color:var(--tc-layer-primary-dark);--input-border-color:var(--tc-border-secondary-dark);--input-placeholder-color:var(--tc-button-text-inverse-disabled-dark);--input-hover-background-color:var(--tc-button-primary-background-inverse-hover-dark);--input-focus-icon-color:var(--tc-icon-primary-dark);--input-focus-background-color:var(--tc-layer-primary-dark);--input-focus-border-color:var(--tc-border-primary-dark);--input-focus-outline-color:var(--tc-text-input-border-active-dark);--input-disabled-label-color:var(--tc-text-secondary-dark);--input-disabled-text-color:var(--tc-button-text-inverse-disabled-dark);--input-border-disabled:var(--tc-border-quaternary-dark);--input-disabled-background-color:var(--tc-button-primary-background-inverse-hover-dark);--input-disabled-icon-color:var(--tc-button-icon-inverse-disabled-dark);--input-color-error:var(--tc-alert-accent-error-dark)}.tet-input__dark.tet-input__dark.keyboard-focus:focus,.tet-textarea__dark.tet-input__dark.keyboard-focus:focus{outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.tet-input__mint{--input-icon-color:rgb(247, 247, 247);--input-focus-icon-color:rgb(247, 247, 247);--input-label-color:rgb(247, 247, 247);--input-text-color:rgb(255, 255, 255);--input-background-color:transparent;--input-border-color:rgb(88, 99, 116);--input-placeholder-color:rgb(67, 75, 86);--input-hover-background-color:rgba(26, 213, 219, 0.08);--input-focus-background-color:transparent;--input-focus-border-color:rgb(26, 213, 219);--input-focus-outline-color:rgba(26, 213, 219, 0.24);--input-disabled-label-color:rgb(153, 160, 174);--input-border-disabled:rgb(67, 75, 86);--input-disabled-background-color:rgba(153, 160, 174, 0.08);--input-disabled-text-color:rgb(67, 75, 86)}.tet-input__light,.tet-textarea__light{--input-icon-color:var(--tc-icon-primary);--input-label-color:var(--tc-text-primary);--input-text-color:var(--tc-text-primary);--input-background-color:var(--tc-layer-primary);--input-border-color:var(--tc-border-secondary);--input-placeholder-color:var(--tc-button-text-inverse-disabled);--input-hover-background-color:var(--tc-button-primary-background-inverse-hover);--input-focus-icon-color:var(--tc-icon-primary);--input-focus-background-color:var(--tc-layer-primary);--input-focus-border-color:var(--tc-border-primary);--input-focus-outline-color:var(--tc-text-input-border-active);--input-disabled-label-color:var(--tc-text-secondary);--input-disabled-text-color:var(--tc-button-text-inverse-disabled);--input-border-disabled:var(--tc-border-quaternary);--input-disabled-background-color:var(--tc-button-primary-background-inverse-hover);--input-disabled-icon-color:var(--tc-button-icon-inverse-disabled);--input-color-error:var(--tc-alert-accent-error)}.tet-input__mint-original{--input-icon-color:#9ba5be;--input-label-color:#f5f5f5;--input-text-color:#f5f5f5;--input-background-color:#1d2128;--input-border-color:#2b3036;--input-placeholder-color:rgba(155, 165, 190, 0.8);--input-focus-icon-color:#aeb7bc;--input-focus-border-color:#01cbe0;--input-focus-background-color:#1d2128}.tet-input__base,.tet-textarea__base{width:100%;height:var(--input-height);box-sizing:border-box;padding:var(--input-padding);border-radius:var(--input-border-radius);border:0.0625rem solid var(--input-border-color);color:var(--input-text-color);background:var(--input-background-color);outline:0.125rem solid transparent;font-size:inherit;font-family:var(--input-font-family);font-weight:500;line-height:1.25rem;letter-spacing:-0.005625rem;}.tet-input__base::placeholder,.tet-textarea__base::placeholder{color:var(--input-placeholder-color)}.tet-input__base.tet-input__mint-original:not(:disabled):hover,.tet-textarea__base.tet-input__mint-original:not(:disabled):hover{background-color:#1d2128;border-color:#01cbe0;box-shadow:0 0.0625rem 0.25rem 0.125rem rgba(1, 203, 224, 0.4)}.tet-input__base.tet-input__mint-original:not(:disabled):hover.error,.tet-input__base.tet-input__mint-original:not(:disabled):focus.error,.tet-input__base.tet-input__mint-original:not(:disabled):active.error,.tet-textarea__base.tet-input__mint-original:not(:disabled):hover.error,.tet-textarea__base.tet-input__mint-original:not(:disabled):focus.error,.tet-textarea__base.tet-input__mint-original:not(:disabled):active.error{border-color:rgb(233, 69, 54)}.tet-input__base.tet-input__mint-original:not(:disabled):focus,.tet-input__base.tet-input__mint-original:not(:disabled):active,.tet-textarea__base.tet-input__mint-original:not(:disabled):focus,.tet-textarea__base.tet-input__mint-original:not(:disabled):active{outline:none}.tet-input__base.tet-input__mint-original.keyboard-focus:focus,.tet-textarea__base.tet-input__mint-original.keyboard-focus:focus{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;box-shadow:none}.tet-input__base[disabled],.tet-textarea__base[disabled]{cursor:not-allowed;outline:none;border:0.0625rem solid var(--input-border-disabled);background-color:var(--input-disabled-background-color);color:var(--input-disabled-text-color)}.tet-input__base:not(:disabled).error,.tet-textarea__base:not(:disabled).error{border-color:var(--input-color-error)}.tet-input__base:not(:disabled):hover,.tet-textarea__base:not(:disabled):hover{background:var(--input-hover-background-color)}.tet-input__base:not(:disabled):focus,.tet-input__base:not(:disabled):active,.tet-textarea__base:not(:disabled):focus,.tet-textarea__base:not(:disabled):active{background:var(--input-focus-background-color);border:0.0625rem solid var(--input-focus-border-color);box-shadow:0 0 0 0.25rem var(--input-focus-outline-color)}.tet-input__base.keyboard-focus:focus,.tet-textarea__base.keyboard-focus:focus{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;box-shadow:none}.tet-input__base.error:not(:disabled).keyboard-focus,.tet-textarea__base.error:not(:disabled).keyboard-focus{border-color:var(--input-color-error)}.tet-input__label,.tet-textarea__label{display:block;margin-left:0.25rem !important;margin-bottom:0.25rem !important;color:var(--input-label-color);font:500 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\"}.tet-input__label.tet-input__mint-original,.tet-textarea__label.tet-input__mint-original{margin-left:0 !important;font-family:var(--font-family-fallback)}.tet-input__label:has(~.input-container input[disabled]),.tet-textarea__label:has(~.input-container input[disabled]){color:var(--input-disabled-label-color)}.tet-input__error-message,.tet-textarea__error-message{font:500 0.75rem/1rem \"Inter\", \"Gilroy, Arial, sans-serif\";color:var(--input-color-error)}.errors{display:flex;flex-direction:column;gap:0.5em;margin-top:0.5em}.errors--hidden{display:none}:host{display:block}.input-container{position:relative;display:flex;align-items:center;font-size:var(--input-font-size)}.input-container:focus-within .icon{--input-icon-color:var(--input-focus-icon-color)}.tet-input__base.with-icon--left{padding-left:2.5rem}.tet-input__base.with-icon--right{padding-right:2.5rem}.tet-input__base:disabled~tet-icon{--input-icon-color:var(--input-disabled-icon-color)}.icon{--icon-size:var(--input-icon-size);--icon-color:var(--input-icon-color);position:absolute;top:var(--input-icon-top-position)}.icon.clickable{cursor:pointer}.icon.clickable:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;border-radius:0.125rem;outline-offset:0}.icon.icon-left{left:var(--input-icon-left-position, 0.75rem)}.icon.icon-right{right:0.75rem}.textarea-container{font-size:var(--input-font-size)}.tet-textarea__base{border-radius:var(--textarea-border-radius);min-height:var(--textarea-min-height);resize:none}";
|
|
8
8
|
const TetTextareaStyle0 = tetTextareaCss;
|
|
9
9
|
|
|
10
10
|
const TetTextarea = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Set Keyboard Focus State on Input if Tab key is pressed.
|
|
15
|
+
*/
|
|
16
|
+
this.addKeyboardFocus = () => {
|
|
17
|
+
this.focusVisible = this.isKeyboardFocus;
|
|
15
18
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Removes Keyboard Focus State.
|
|
21
|
+
*/
|
|
22
|
+
this.removeKeyboardFocus = () => {
|
|
23
|
+
this.focusVisible = false;
|
|
24
|
+
};
|
|
25
|
+
this.renderErrorMessages = () => (index.h("div", { class: { 'errors': true, [`tet-textarea__${this.theme}`]: true, 'errors--hidden': this.disabled } }, this.errorMessages.map((message) => index.h("p", { class: 'tet-textarea__error-message' }, message))));
|
|
26
|
+
this.value = '';
|
|
27
|
+
this.label = '';
|
|
28
|
+
this.placeholder = '';
|
|
19
29
|
this.disabled = false;
|
|
20
30
|
this.errorMessages = [];
|
|
31
|
+
this.theme = 'light';
|
|
32
|
+
this.isKeyboardFocus = true;
|
|
33
|
+
this.focusVisible = false;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Listen for Tab key event.
|
|
37
|
+
* @param {KeyboardEvent} event
|
|
38
|
+
*/
|
|
39
|
+
onKeyDown(event) {
|
|
40
|
+
if (event.key === 'Tab') {
|
|
41
|
+
this.isKeyboardFocus = true;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Listen for click event and reset Keyboard focus on Input.
|
|
46
|
+
*/
|
|
47
|
+
onMouseDown() {
|
|
48
|
+
this.isKeyboardFocus = false;
|
|
49
|
+
this.focusVisible = false;
|
|
21
50
|
}
|
|
22
51
|
render() {
|
|
23
|
-
const { value, label, placeholder, disabled, errorMessages,
|
|
24
|
-
|
|
52
|
+
const { value, label, placeholder, disabled, errorMessages, theme, renderErrorMessages } = this;
|
|
53
|
+
const textareaClasses = {
|
|
54
|
+
'tet-textarea__base': true,
|
|
55
|
+
[`tet-textarea__${this.theme}`]: true,
|
|
56
|
+
'error': (errorMessages.length > 0),
|
|
57
|
+
'keyboard-focus': this.focusVisible,
|
|
58
|
+
};
|
|
59
|
+
return (index.h(index.Host, { key: 'f34b954b1d38ae335fda3c21d032a8dea5d1ac4f' }, index.h("label", { key: 'c680c4240522092485f1b9cbb859b35f2996065e', class: { [`${theme}`]: true } }, label &&
|
|
60
|
+
index.h("span", { key: '7a6874afd2b70c10433eb31b6030c48920db287f', class: { 'tet-textarea__label': true, [`tet-textarea__${theme}`]: true } }, label), index.h("div", { key: 'de2655f6e926eef109488b3d9902aa4e87a63927', class: { 'input-container': true, [`tet-textarea__${theme}`]: true } }, index.h("textarea", { key: '8fe67b12b422f386d5145ecc82a444b2a6bc4c3b', onFocus: this.addKeyboardFocus, onFocusout: this.removeKeyboardFocus, id: "textarea", class: textareaClasses, placeholder: placeholder, disabled: disabled, autocomplete: "off" }, value))), (this.errorMessages.length > 0) && renderErrorMessages()));
|
|
25
61
|
}
|
|
26
62
|
};
|
|
27
63
|
TetTextarea.style = TetTextareaStyle0;
|
|
@@ -357,7 +357,7 @@ const TetTooltip = class {
|
|
|
357
357
|
return isTooltipOutOfBounds;
|
|
358
358
|
}
|
|
359
359
|
render() {
|
|
360
|
-
return index.h(index.Host, { key: '
|
|
360
|
+
return index.h(index.Host, { key: 'b6b7767977d2fe74bcb72087a7a438c3f70a75d2', class: { visible: this.showTooltip } }, this.renderTooltip());
|
|
361
361
|
}
|
|
362
362
|
get element() { return index.getElement(this); }
|
|
363
363
|
static get watchers() { return {
|
|
@@ -4771,9 +4771,12 @@
|
|
|
4771
4771
|
--input-border-disabled: rgb(215, 219, 224);
|
|
4772
4772
|
--input-disabled-background-color: rgba(88, 99, 116, 0.08);
|
|
4773
4773
|
--input-disabled-icon-color: var(--input-icon-color);
|
|
4774
|
+
--textarea-border-radius: 0.625rem;
|
|
4775
|
+
--textarea-min-height: 5.25rem;
|
|
4774
4776
|
}
|
|
4775
4777
|
|
|
4776
|
-
.tet-input__dark
|
|
4778
|
+
.tet-input__dark,
|
|
4779
|
+
.tet-textarea__dark {
|
|
4777
4780
|
--input-icon-color: var(--tc-icon-primary-dark);
|
|
4778
4781
|
--input-label-color: var(--tc-text-primary-dark);
|
|
4779
4782
|
--input-text-color: var(--tc-text-primary-dark);
|
|
@@ -4792,7 +4795,8 @@
|
|
|
4792
4795
|
--input-disabled-icon-color: var(--tc-button-icon-inverse-disabled-dark);
|
|
4793
4796
|
--input-color-error: var(--tc-alert-accent-error-dark);
|
|
4794
4797
|
}
|
|
4795
|
-
.tet-input__dark.tet-input__dark.keyboard-focus:focus
|
|
4798
|
+
.tet-input__dark.tet-input__dark.keyboard-focus:focus,
|
|
4799
|
+
.tet-textarea__dark.tet-input__dark.keyboard-focus:focus {
|
|
4796
4800
|
outline: 0.125rem solid var(--tc-blue-40);
|
|
4797
4801
|
outline: 0.125rem solid var(--tc-blue-40-dark);
|
|
4798
4802
|
outline-offset: 0.125rem;
|
|
@@ -4817,7 +4821,8 @@
|
|
|
4817
4821
|
--input-disabled-text-color: rgb(67, 75, 86);
|
|
4818
4822
|
}
|
|
4819
4823
|
|
|
4820
|
-
.tet-input__light
|
|
4824
|
+
.tet-input__light,
|
|
4825
|
+
.tet-textarea__light {
|
|
4821
4826
|
--input-icon-color: var(--tc-icon-primary);
|
|
4822
4827
|
--input-label-color: var(--tc-text-primary);
|
|
4823
4828
|
--input-text-color: var(--tc-text-primary);
|
|
@@ -4849,7 +4854,8 @@
|
|
|
4849
4854
|
--input-focus-background-color: #1d2128;
|
|
4850
4855
|
}
|
|
4851
4856
|
|
|
4852
|
-
.tet-input__base
|
|
4857
|
+
.tet-input__base,
|
|
4858
|
+
.tet-textarea__base {
|
|
4853
4859
|
width: 100%;
|
|
4854
4860
|
height: var(--input-height);
|
|
4855
4861
|
box-sizing: border-box;
|
|
@@ -4882,228 +4888,101 @@
|
|
|
4882
4888
|
* }
|
|
4883
4889
|
*/
|
|
4884
4890
|
}
|
|
4885
|
-
.tet-input__base::placeholder
|
|
4891
|
+
.tet-input__base::placeholder,
|
|
4892
|
+
.tet-textarea__base::placeholder {
|
|
4886
4893
|
color: var(--input-placeholder-color);
|
|
4887
4894
|
}
|
|
4888
|
-
.tet-input__base.tet-input__mint-original:not(:disabled):hover
|
|
4895
|
+
.tet-input__base.tet-input__mint-original:not(:disabled):hover,
|
|
4896
|
+
.tet-textarea__base.tet-input__mint-original:not(:disabled):hover {
|
|
4889
4897
|
background-color: #1d2128;
|
|
4890
4898
|
border-color: #01cbe0;
|
|
4891
4899
|
box-shadow: 0 0.0625rem 0.25rem 0.125rem rgba(1, 203, 224, 0.4);
|
|
4892
4900
|
}
|
|
4893
|
-
.tet-input__base.tet-input__mint-original:not(:disabled):hover.error, .tet-input__base.tet-input__mint-original:not(:disabled):focus.error, .tet-input__base.tet-input__mint-original:not(:disabled):active.error
|
|
4901
|
+
.tet-input__base.tet-input__mint-original:not(:disabled):hover.error, .tet-input__base.tet-input__mint-original:not(:disabled):focus.error, .tet-input__base.tet-input__mint-original:not(:disabled):active.error,
|
|
4902
|
+
.tet-textarea__base.tet-input__mint-original:not(:disabled):hover.error,
|
|
4903
|
+
.tet-textarea__base.tet-input__mint-original:not(:disabled):focus.error,
|
|
4904
|
+
.tet-textarea__base.tet-input__mint-original:not(:disabled):active.error {
|
|
4894
4905
|
border-color: rgb(233, 69, 54);
|
|
4895
4906
|
}
|
|
4896
|
-
.tet-input__base.tet-input__mint-original:not(:disabled):focus, .tet-input__base.tet-input__mint-original:not(:disabled):active
|
|
4907
|
+
.tet-input__base.tet-input__mint-original:not(:disabled):focus, .tet-input__base.tet-input__mint-original:not(:disabled):active,
|
|
4908
|
+
.tet-textarea__base.tet-input__mint-original:not(:disabled):focus,
|
|
4909
|
+
.tet-textarea__base.tet-input__mint-original:not(:disabled):active {
|
|
4897
4910
|
outline: none;
|
|
4898
4911
|
}
|
|
4899
|
-
.tet-input__base.tet-input__mint-original.keyboard-focus:focus
|
|
4912
|
+
.tet-input__base.tet-input__mint-original.keyboard-focus:focus,
|
|
4913
|
+
.tet-textarea__base.tet-input__mint-original.keyboard-focus:focus {
|
|
4900
4914
|
outline: 0.125rem solid var(--tc-blue-40);
|
|
4901
4915
|
outline-offset: 0.125rem;
|
|
4902
4916
|
transition: outline 0s;
|
|
4903
4917
|
box-shadow: none;
|
|
4904
4918
|
}
|
|
4905
|
-
.tet-input__base[disabled]
|
|
4919
|
+
.tet-input__base[disabled],
|
|
4920
|
+
.tet-textarea__base[disabled] {
|
|
4906
4921
|
cursor: not-allowed;
|
|
4907
4922
|
outline: none;
|
|
4908
4923
|
border: 0.0625rem solid var(--input-border-disabled);
|
|
4909
4924
|
background-color: var(--input-disabled-background-color);
|
|
4910
4925
|
color: var(--input-disabled-text-color);
|
|
4911
4926
|
}
|
|
4912
|
-
.tet-input__base:not(:disabled).error
|
|
4927
|
+
.tet-input__base:not(:disabled).error,
|
|
4928
|
+
.tet-textarea__base:not(:disabled).error {
|
|
4913
4929
|
border-color: var(--input-color-error);
|
|
4914
4930
|
}
|
|
4915
|
-
.tet-input__base:not(:disabled):hover
|
|
4931
|
+
.tet-input__base:not(:disabled):hover,
|
|
4932
|
+
.tet-textarea__base:not(:disabled):hover {
|
|
4916
4933
|
background: var(--input-hover-background-color);
|
|
4917
4934
|
}
|
|
4918
|
-
.tet-input__base:not(:disabled):focus, .tet-input__base:not(:disabled):active
|
|
4935
|
+
.tet-input__base:not(:disabled):focus, .tet-input__base:not(:disabled):active,
|
|
4936
|
+
.tet-textarea__base:not(:disabled):focus,
|
|
4937
|
+
.tet-textarea__base:not(:disabled):active {
|
|
4919
4938
|
background: var(--input-focus-background-color);
|
|
4920
4939
|
border: 0.0625rem solid var(--input-focus-border-color);
|
|
4921
4940
|
box-shadow: 0 0 0 0.25rem var(--input-focus-outline-color);
|
|
4922
4941
|
}
|
|
4923
|
-
.tet-input__base.keyboard-focus:focus
|
|
4942
|
+
.tet-input__base.keyboard-focus:focus,
|
|
4943
|
+
.tet-textarea__base.keyboard-focus:focus {
|
|
4924
4944
|
outline: 0.125rem solid var(--tc-blue-40);
|
|
4925
4945
|
outline-offset: 0.125rem;
|
|
4926
4946
|
transition: outline 0s;
|
|
4927
4947
|
box-shadow: none;
|
|
4928
4948
|
}
|
|
4929
|
-
.tet-input__base.error
|
|
4949
|
+
.tet-input__base.error:not(:disabled).keyboard-focus,
|
|
4950
|
+
.tet-textarea__base.error:not(:disabled).keyboard-focus {
|
|
4930
4951
|
border-color: var(--input-color-error);
|
|
4931
4952
|
}
|
|
4932
4953
|
|
|
4933
|
-
.tet-input__label
|
|
4954
|
+
.tet-input__label,
|
|
4955
|
+
.tet-textarea__label {
|
|
4934
4956
|
display: block;
|
|
4935
4957
|
margin-left: 0.25rem !important;
|
|
4936
4958
|
margin-bottom: 0.25rem !important;
|
|
4937
4959
|
color: var(--input-label-color);
|
|
4938
4960
|
font: 500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
4939
4961
|
}
|
|
4940
|
-
.tet-input__label.tet-input__mint-original
|
|
4962
|
+
.tet-input__label.tet-input__mint-original,
|
|
4963
|
+
.tet-textarea__label.tet-input__mint-original {
|
|
4941
4964
|
margin-left: 0 !important;
|
|
4942
4965
|
font-family: var(--font-family-fallback);
|
|
4943
4966
|
}
|
|
4944
|
-
.tet-input__label:has(~ .input-container input[disabled])
|
|
4967
|
+
.tet-input__label:has(~ .input-container input[disabled]),
|
|
4968
|
+
.tet-textarea__label:has(~ .input-container input[disabled]) {
|
|
4945
4969
|
color: var(--input-disabled-label-color);
|
|
4946
4970
|
}
|
|
4947
4971
|
|
|
4948
|
-
.tet-input__error-message
|
|
4972
|
+
.tet-input__error-message,
|
|
4973
|
+
.tet-textarea__error-message {
|
|
4949
4974
|
font: 500 0.75rem/1rem "Inter", "Gilroy, Arial, sans-serif";
|
|
4950
4975
|
color: var(--input-color-error);
|
|
4951
4976
|
}
|
|
4952
4977
|
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
4959
|
-
}
|
|
4960
|
-
@font-face {
|
|
4961
|
-
font-family: "Gilroy";
|
|
4962
|
-
font-style: normal;
|
|
4963
|
-
font-weight: 500;
|
|
4964
|
-
font-display: swap;
|
|
4965
|
-
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
4966
|
-
}
|
|
4967
|
-
@font-face {
|
|
4968
|
-
font-family: "Gilroy";
|
|
4969
|
-
font-style: normal;
|
|
4970
|
-
font-weight: 600;
|
|
4971
|
-
font-display: swap;
|
|
4972
|
-
src: url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff");
|
|
4973
|
-
}
|
|
4974
|
-
@font-face {
|
|
4975
|
-
font-family: "Gilroy";
|
|
4976
|
-
font-style: normal;
|
|
4977
|
-
font-weight: 700;
|
|
4978
|
-
font-display: swap;
|
|
4979
|
-
src: url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff");
|
|
4980
|
-
}
|
|
4981
|
-
@font-face {
|
|
4982
|
-
font-family: "Inter";
|
|
4983
|
-
font-style: normal;
|
|
4984
|
-
font-weight: 400;
|
|
4985
|
-
font-display: swap;
|
|
4986
|
-
src: url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff");
|
|
4987
|
-
}
|
|
4988
|
-
@font-face {
|
|
4989
|
-
font-family: "Inter";
|
|
4990
|
-
font-style: normal;
|
|
4991
|
-
font-weight: 500;
|
|
4992
|
-
font-display: swap;
|
|
4993
|
-
src: url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff");
|
|
4994
|
-
}
|
|
4995
|
-
@font-face {
|
|
4996
|
-
font-family: "Inter";
|
|
4997
|
-
font-style: normal;
|
|
4998
|
-
font-weight: 600;
|
|
4999
|
-
font-display: swap;
|
|
5000
|
-
src: url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff");
|
|
5001
|
-
}
|
|
5002
|
-
@font-face {
|
|
5003
|
-
font-family: "Gilroy";
|
|
5004
|
-
font-style: normal;
|
|
5005
|
-
font-weight: 400;
|
|
5006
|
-
font-display: swap;
|
|
5007
|
-
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
5008
|
-
}
|
|
5009
|
-
@font-face {
|
|
5010
|
-
font-family: "Gilroy";
|
|
5011
|
-
font-style: normal;
|
|
5012
|
-
font-weight: 500;
|
|
5013
|
-
font-display: swap;
|
|
5014
|
-
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
5015
|
-
}
|
|
5016
|
-
@font-face {
|
|
5017
|
-
font-family: "Gilroy";
|
|
5018
|
-
font-style: normal;
|
|
5019
|
-
font-weight: 600;
|
|
5020
|
-
font-display: swap;
|
|
5021
|
-
src: url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff");
|
|
5022
|
-
}
|
|
5023
|
-
@font-face {
|
|
5024
|
-
font-family: "Gilroy";
|
|
5025
|
-
font-style: normal;
|
|
5026
|
-
font-weight: 700;
|
|
5027
|
-
font-display: swap;
|
|
5028
|
-
src: url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff");
|
|
5029
|
-
}
|
|
5030
|
-
@font-face {
|
|
5031
|
-
font-family: "Inter";
|
|
5032
|
-
font-style: normal;
|
|
5033
|
-
font-weight: 400;
|
|
5034
|
-
font-display: swap;
|
|
5035
|
-
src: url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff");
|
|
5036
|
-
}
|
|
5037
|
-
@font-face {
|
|
5038
|
-
font-family: "Inter";
|
|
5039
|
-
font-style: normal;
|
|
5040
|
-
font-weight: 500;
|
|
5041
|
-
font-display: swap;
|
|
5042
|
-
src: url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff");
|
|
5043
|
-
}
|
|
5044
|
-
@font-face {
|
|
5045
|
-
font-family: "Inter";
|
|
5046
|
-
font-style: normal;
|
|
5047
|
-
font-weight: 600;
|
|
5048
|
-
font-display: swap;
|
|
5049
|
-
src: url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff");
|
|
5050
|
-
}
|
|
5051
|
-
:host {
|
|
5052
|
-
--font-family-fallback: Gilroy, Arial, sans-serif;
|
|
5053
|
-
--font-family-headline: Gilroy;
|
|
5054
|
-
--font-family-content: Inter, var(--font-family-fallback);
|
|
5055
|
-
font-family: var(--font-family-content);
|
|
5056
|
-
}
|
|
5057
|
-
|
|
5058
|
-
.tet-textarea__base {
|
|
5059
|
-
box-sizing: border-box;
|
|
5060
|
-
width: 100%;
|
|
5061
|
-
min-height: 5.25rem;
|
|
5062
|
-
border-radius: 0.625rem;
|
|
5063
|
-
padding: 0.75rem !important;
|
|
5064
|
-
background: rgb(255, 255, 255);
|
|
5065
|
-
border: 0.0625rem solid rgb(153, 160, 174);
|
|
5066
|
-
font: 500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
5067
|
-
outline: none;
|
|
5068
|
-
resize: none;
|
|
5069
|
-
}
|
|
5070
|
-
.tet-textarea__base:disabled {
|
|
5071
|
-
cursor: not-allowed;
|
|
5072
|
-
outline: none;
|
|
5073
|
-
border-color: rgb(215, 219, 224);
|
|
5074
|
-
background: rgba(88, 99, 116, 0.08);
|
|
5075
|
-
}
|
|
5076
|
-
.tet-textarea__base::placeholder {
|
|
5077
|
-
color: rgb(153, 160, 174);
|
|
5078
|
-
}
|
|
5079
|
-
.tet-textarea__base:not(:disabled):hover {
|
|
5080
|
-
background: rgba(88, 99, 116, 0.08);
|
|
5081
|
-
}
|
|
5082
|
-
.tet-textarea__base:not(:disabled):focus {
|
|
5083
|
-
background: rgb(255, 255, 255);
|
|
5084
|
-
}
|
|
5085
|
-
.tet-textarea__base:not(:disabled):focus, .tet-textarea__base:not(:disabled):active {
|
|
5086
|
-
border-color: rgb(10, 11, 13);
|
|
5087
|
-
box-shadow: 0 0 0 0.25rem rgba(88, 99, 116, 0.12);
|
|
5088
|
-
}
|
|
5089
|
-
.tet-textarea__base.error {
|
|
5090
|
-
border-color: rgb(233, 69, 54);
|
|
5091
|
-
}
|
|
5092
|
-
|
|
5093
|
-
.tet-textarea__label {
|
|
5094
|
-
display: inline-block;
|
|
5095
|
-
margin-left: 0.25rem !important;
|
|
5096
|
-
margin-bottom: 0.25rem !important;
|
|
5097
|
-
color: rgb(10, 11, 13);
|
|
5098
|
-
font: 500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
5099
|
-
}
|
|
5100
|
-
.tet-textarea__label:disabled {
|
|
5101
|
-
color: rgb(67, 75, 86);
|
|
4978
|
+
.errors {
|
|
4979
|
+
display: flex;
|
|
4980
|
+
flex-direction: column;
|
|
4981
|
+
gap: 0.5em;
|
|
4982
|
+
margin-top: 0.5em;
|
|
5102
4983
|
}
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
font: 500 0.75rem/1rem "Inter", "Gilroy, Arial, sans-serif";
|
|
5106
|
-
color: rgb(233, 69, 54);
|
|
4984
|
+
.errors--hidden {
|
|
4985
|
+
display: none;
|
|
5107
4986
|
}
|
|
5108
4987
|
|
|
5109
4988
|
.tet-body-text-max-width {
|
|
@@ -113,4 +113,19 @@ describe('tet-button', () => {
|
|
|
113
113
|
</tet-button>
|
|
114
114
|
`);
|
|
115
115
|
});
|
|
116
|
+
it('renders with url', async () => {
|
|
117
|
+
const page = await newSpecPage({
|
|
118
|
+
components: [TetButton],
|
|
119
|
+
html: `<tet-button url="https://tet.lv"></tet-button>`
|
|
120
|
+
});
|
|
121
|
+
expect(page.root).toEqualHtml(`
|
|
122
|
+
<tet-button url="https://tet.lv">
|
|
123
|
+
<mock:shadow-root>
|
|
124
|
+
<button class="${expectedClassesLarge.join(' ')}" part="button">
|
|
125
|
+
<slot></slot>
|
|
126
|
+
</button>
|
|
127
|
+
</mock:shadow-root>
|
|
128
|
+
</tet-button>
|
|
129
|
+
`);
|
|
130
|
+
});
|
|
116
131
|
});
|
|
@@ -6,6 +6,12 @@ import { Host, h } from "@stencil/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class TetButton {
|
|
8
8
|
constructor() {
|
|
9
|
+
this.handleClick = () => {
|
|
10
|
+
this.clickCallback();
|
|
11
|
+
if (!this.url)
|
|
12
|
+
return;
|
|
13
|
+
window.open(this.url, this.urlTarget, this.urlTarget === '_blank' ? 'noopener,noreferrer' : undefined);
|
|
14
|
+
};
|
|
9
15
|
this.clickCallback = () => null;
|
|
10
16
|
this.size = 'large';
|
|
11
17
|
this.type = 'primary';
|
|
@@ -16,6 +22,8 @@ export class TetButton {
|
|
|
16
22
|
this.iconName = undefined;
|
|
17
23
|
this.elementId = undefined;
|
|
18
24
|
this.accessibilityLabel = '';
|
|
25
|
+
this.url = '';
|
|
26
|
+
this.urlTarget = '_self';
|
|
19
27
|
}
|
|
20
28
|
/**
|
|
21
29
|
* Renders the button content with the icon displayed before or after the text, based on the icon position.
|
|
@@ -27,7 +35,7 @@ export class TetButton {
|
|
|
27
35
|
return (h("div", { class: "button__content" }, h("slot", null), h("tet-icon", { name: this.iconName })));
|
|
28
36
|
}
|
|
29
37
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'f74633e0ab79a8bda50347cacd9112cdcf731c77' }, h("button", Object.assign({ key: '020d85e05e57ca53ded783f06a280e69b72f1fae', part: "button", onClick: this.handleClick, id: this.elementId, class: {
|
|
31
39
|
button: true,
|
|
32
40
|
[`button-${this.size}`]: true,
|
|
33
41
|
[`button--type-${this.type}`]: true,
|
|
@@ -248,6 +256,42 @@ export class TetButton {
|
|
|
248
256
|
"attribute": "accessibility-label",
|
|
249
257
|
"reflect": false,
|
|
250
258
|
"defaultValue": "''"
|
|
259
|
+
},
|
|
260
|
+
"url": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"mutable": false,
|
|
263
|
+
"complexType": {
|
|
264
|
+
"original": "string",
|
|
265
|
+
"resolved": "string",
|
|
266
|
+
"references": {}
|
|
267
|
+
},
|
|
268
|
+
"required": false,
|
|
269
|
+
"optional": false,
|
|
270
|
+
"docs": {
|
|
271
|
+
"tags": [],
|
|
272
|
+
"text": "The URL that the button will navigate to when clicked."
|
|
273
|
+
},
|
|
274
|
+
"attribute": "url",
|
|
275
|
+
"reflect": false,
|
|
276
|
+
"defaultValue": "''"
|
|
277
|
+
},
|
|
278
|
+
"urlTarget": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"mutable": false,
|
|
281
|
+
"complexType": {
|
|
282
|
+
"original": "'_blank' | '_self'",
|
|
283
|
+
"resolved": "\"_blank\" | \"_self\"",
|
|
284
|
+
"references": {}
|
|
285
|
+
},
|
|
286
|
+
"required": false,
|
|
287
|
+
"optional": false,
|
|
288
|
+
"docs": {
|
|
289
|
+
"tags": [],
|
|
290
|
+
"text": "Specifies where to open the URL when the button is clicked."
|
|
291
|
+
},
|
|
292
|
+
"attribute": "url-target",
|
|
293
|
+
"reflect": false,
|
|
294
|
+
"defaultValue": "'_self'"
|
|
251
295
|
}
|
|
252
296
|
};
|
|
253
297
|
}
|