Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Listbox #2142

Merged
merged 3 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Remove listbox component as it is unused.",
"packageName": "@ni/nimble-components",
"email": "[email protected]",
"dependentChangeType": "patch"
}
26 changes: 0 additions & 26 deletions packages/nimble-components/src/listbox/index.ts

This file was deleted.

37 changes: 0 additions & 37 deletions packages/nimble-components/src/listbox/styles.ts

This file was deleted.

13 changes: 0 additions & 13 deletions packages/nimble-components/src/listbox/tests/listbox.spec.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { html, ref, slotted } from '@microsoft/fast-element';
import { ListboxElement } from '@microsoft/fast-foundation';
import type { RichTextMentionListbox } from '.';
import { Listbox } from '../../listbox';
import { anchoredRegionTag } from '../../anchored-region';

// prettier-ignore
Expand All @@ -25,7 +25,7 @@ export const template = html<RichTextMentionListbox>`
?disabled="${x => x.disabled}"
>
<slot
${slotted({ filter: (n: Node) => n instanceof HTMLElement && Listbox.slottedOptionFilter(n), flatten: true, property: 'slottedOptions' })}
${slotted({ filter: (n: Node) => n instanceof HTMLElement && ListboxElement.slottedOptionFilter(n), flatten: true, property: 'slottedOptions' })}
>
</slot>
</div>
Expand Down
51 changes: 0 additions & 51 deletions packages/storybook/src/nimble/listbox/listbox-matrix.stories.ts

This file was deleted.

Loading