diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dc579f00f..c812a153c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -365,7 +365,7 @@ importers: projects/code: dependencies: '@nvidia-elements/themes': - specifier: workspace:>=0.0.0 <1.0.0 + specifier: workspace:^ version: link:../themes highlight.js: specifier: catalog:publish @@ -435,7 +435,7 @@ importers: specifier: workspace:^ version: link:../forms '@nvidia-elements/themes': - specifier: workspace:>=0.0.0 <1.0.0 + specifier: workspace:^ version: link:../themes lit: specifier: catalog:publish @@ -938,7 +938,7 @@ importers: specifier: 'catalog:' version: 0.61.0 '@nvidia-elements/themes': - specifier: workspace:>=0.0.0 <1.0.0 + specifier: workspace:^ version: link:../themes minisearch: specifier: catalog:publish @@ -978,10 +978,10 @@ importers: projects/markdown: dependencies: '@nvidia-elements/core': - specifier: workspace:>=0.0.0 <1.0.0 + specifier: workspace:^ version: link:../core '@nvidia-elements/themes': - specifier: workspace:>=0.0.0 <1.0.0 + specifier: workspace:^ version: link:../themes lit: specifier: catalog:publish @@ -1042,10 +1042,10 @@ importers: projects/media: dependencies: '@nvidia-elements/core': - specifier: workspace:>=0.0.0 <1.0.0 + specifier: workspace:^ version: link:../core '@nvidia-elements/themes': - specifier: workspace:>=0.0.0 <1.0.0 + specifier: workspace:^ version: link:../themes lit: specifier: catalog:publish diff --git a/projects/cli/README.md b/projects/cli/README.md index c7e676f02..f590e89db 100644 --- a/projects/cli/README.md +++ b/projects/cli/README.md @@ -115,6 +115,17 @@ Install to Cursor with the MCP configuration below. } ``` +### Codex + +Install to Codex with the MCP configuration below. + +```toml +[mcp_servers.elements] +description = "NVIDIA Elements UI Design System (nve-*), custom element schemas, APIs and examples" +command = "nve" +args = ["mcp"] +``` + ### Prompts | Prompt | Description | Example Prompt | diff --git a/projects/code/package.json b/projects/code/package.json index b5e7ed5bb..a6ae2b954 100644 --- a/projects/code/package.json +++ b/projects/code/package.json @@ -190,8 +190,8 @@ "lit-html": "catalog:publish" }, "peerDependencies": { - "@nvidia-elements/core": "workspace:>=0.0.0 <1.0.0", - "@nvidia-elements/themes": "workspace:>=0.0.0 <1.0.0" + "@nvidia-elements/core": "workspace:^", + "@nvidia-elements/themes": "workspace:^" }, "devDependencies": { "@eslint/js": "catalog:", diff --git a/projects/core/package.json b/projects/core/package.json index 8d0e95060..2a5f5fc37 100644 --- a/projects/core/package.json +++ b/projects/core/package.json @@ -939,7 +939,7 @@ "lit-html": "catalog:publish" }, "peerDependencies": { - "@nvidia-elements/themes": "workspace:>=0.0.0 <1.0.0" + "@nvidia-elements/themes": "workspace:^" }, "optionalDependencies": { "@lit-labs/scoped-registry-mixin": "catalog:publish", diff --git a/projects/core/src/combobox/combobox.test.ts b/projects/core/src/combobox/combobox.test.ts index 9ada6a1a8..6cb291374 100644 --- a/projects/core/src/combobox/combobox.test.ts +++ b/projects/core/src/combobox/combobox.test.ts @@ -132,11 +132,10 @@ describe(Combobox.metadata.tag, () => { expect(dropdown.matches(':popover-open')).toBe(true); }); - it('should assign trigger and anchor to inner input container', async () => { + it('should assign anchor to inner input container', async () => { const dropdown = element.shadowRoot.querySelector(Dropdown.metadata.tag); const inputContainer = element.shadowRoot.querySelector('[input]'); expect(dropdown.anchor).toBe(inputContainer); - expect(dropdown.trigger).toBe(inputContainer); }); it('should hide options on escape keypress', async () => { diff --git a/projects/core/src/combobox/combobox.ts b/projects/core/src/combobox/combobox.ts index 45ef52cf9..d034cdd81 100644 --- a/projects/core/src/combobox/combobox.ts +++ b/projects/core/src/combobox/combobox.ts @@ -201,7 +201,7 @@ export class Combobox extends Control implements ContainerElement { const hasNoResults = visibleOptions.filter(o => !o.disabled).length === 0; const showCreateItem = this.#showCreateItem; return html` -