From 9a92751cac8ab7ef5101c8d336bb46970f1b7e1e Mon Sep 17 00:00:00 2001 From: Charles Fries Date: Fri, 2 Feb 2024 12:14:30 -0800 Subject: [PATCH] Remove LinkTo yield --- addon/components/bs/nav.ts | 8 +- tests/dummy/app/templates/components.hbs | 94 +++++++++---------- .../app/templates/components/navs-tabs.hbs | 24 ++--- 3 files changed, 60 insertions(+), 66 deletions(-) diff --git a/addon/components/bs/nav.ts b/addon/components/bs/nav.ts index 35822c9..e7be0df 100644 --- a/addon/components/bs/nav.ts +++ b/addon/components/bs/nav.ts @@ -1,7 +1,5 @@ import BsBaseComponent from './base'; -import type { LinkToKeyword } from '@glint/environment-ember-loose/-private/intrinsics/link-to'; - export interface BsNavComponentSignature { Element: HTMLElement; Args: { @@ -9,11 +7,7 @@ export interface BsNavComponentSignature { pills?: boolean; }; Blocks: { - default: [ - { - 'link-to': LinkToKeyword; - } - ]; + default: []; }; } diff --git a/tests/dummy/app/templates/components.hbs b/tests/dummy/app/templates/components.hbs index a86b06a..c0b1f61 100644 --- a/tests/dummy/app/templates/components.hbs +++ b/tests/dummy/app/templates/components.hbs @@ -2,76 +2,76 @@
- - + + Accordion - - + + Alerts - - + + Badge - - + + Breadcrumb - - + + Buttons - - + + Button group - - + + Card - - + + Carousel - - + + Close button - - + + Collapse - - + + Dropdowns - - + + List group - - + + Modal - - + + Navbar - - + + Navs & tabs - - + + Offcanvas - - + + Pagination - - + + Placeholders - - + + Popovers - - + + Progress - - + + Spinners - - + + Toasts - - + + Tooltips - +
diff --git a/tests/dummy/app/templates/components/navs-tabs.hbs b/tests/dummy/app/templates/components/navs-tabs.hbs index efe887e..5386435 100644 --- a/tests/dummy/app/templates/components/navs-tabs.hbs +++ b/tests/dummy/app/templates/components/navs-tabs.hbs @@ -7,18 +7,18 @@
{{! BEGIN-SNIPPET nav-example }} - - Link 1 - + Link 1 + Link 2 - Link 2 + Link 3 + >Link 3 {{! END-SNIPPET }} @@ -28,18 +28,18 @@

Pills

- - Link 1 - + Link 1 + Link 2 - Link 2 + Link 3 + >Link 3

JavaScript behavior