@nvidia-elements/code
Advanced tools
+137
-0
@@ -0,1 +1,138 @@ | ||
| ## <small>2.0.3 (2026-08-26)</small> | ||
| * chore(ci): add github dependabot skill ([4cb37a7](https://github.com/NVIDIA/elements/commit/4cb37a7)) | ||
| * chore(ci): agent ci skills and nightly build ([58a64b2](https://github.com/NVIDIA/elements/commit/58a64b2)) | ||
| * chore(ci): disable no-missing-gap-space rule for specific test files ([47ae4ff](https://github.com/NVIDIA/elements/commit/47ae4ff)) | ||
| * chore(ci): enable bundle tree shaking ([4786255](https://github.com/NVIDIA/elements/commit/4786255)) | ||
| * chore(ci): enforce html custom data package contracts ([39ba85c](https://github.com/NVIDIA/elements/commit/39ba85c)) | ||
| * chore(ci): enhance ci performance profiling and add new scripts ([ef0a912](https://github.com/NVIDIA/elements/commit/ef0a912)) | ||
| * chore(ci): fix missing release config ([3fd90ca](https://github.com/NVIDIA/elements/commit/3fd90ca)) | ||
| * chore(ci): indexnow doc updates ([669552f](https://github.com/NVIDIA/elements/commit/669552f)) | ||
| * chore(ci): introduce agent skill for dependency upgrades ([1b8d80a](https://github.com/NVIDIA/elements/commit/1b8d80a)) | ||
| * chore(ci): lint rules and skill for component registration and testing ([6c7fea0](https://github.com/NVIDIA/elements/commit/6c7fea0)) | ||
| * chore(ci): setup scene and plot ([0b11cf8](https://github.com/NVIDIA/elements/commit/0b11cf8)) | ||
| * chore(ci): update dependencies ([4601239](https://github.com/NVIDIA/elements/commit/4601239)) | ||
| * chore(ci): update hugo starter to use mise defined binary ([29211a7](https://github.com/NVIDIA/elements/commit/29211a7)) | ||
| * chore(ci): update lighthouse ([73584d2](https://github.com/NVIDIA/elements/commit/73584d2)) | ||
| * chore(ci): update lighthouse ([b5b71ca](https://github.com/NVIDIA/elements/commit/b5b71ca)) | ||
| * chore(ci): update metadata ([b7120bf](https://github.com/NVIDIA/elements/commit/b7120bf)) | ||
| * chore(ci): update metadata and test coverage report ([216a7a9](https://github.com/NVIDIA/elements/commit/216a7a9)) | ||
| * chore(ci): update metrics ([96ebb4b](https://github.com/NVIDIA/elements/commit/96ebb4b)) | ||
| * chore(ci): update node and pnpm versions ([30681a9](https://github.com/NVIDIA/elements/commit/30681a9)) | ||
| * chore(ci): update notice files ([5c83add](https://github.com/NVIDIA/elements/commit/5c83add)) | ||
| * chore(ci): update skills ([cae20ef](https://github.com/NVIDIA/elements/commit/cae20ef)) | ||
| * chore(cli): remove unnecessary boolean conversion in isInteractiveTerminal ([993cd55](https://github.com/NVIDIA/elements/commit/993cd55)) | ||
| * chore(code): cover bash language registration in codeblock tests ([e4b7943](https://github.com/NVIDIA/elements/commit/e4b7943)) | ||
| * chore(code): cover toml language registration in codeblock tests ([1ae15fa](https://github.com/NVIDIA/elements/commit/1ae15fa)) | ||
| * chore(core): cover cdn bundle global state flag ([361b45e](https://github.com/NVIDIA/elements/commit/361b45e)) | ||
| * chore(core): cover duplicate package version audit log ([4d93214](https://github.com/NVIDIA/elements/commit/4d93214)) | ||
| * chore(core): remove unnecessary boolean conversion in dialog ([a4f4f6c](https://github.com/NVIDIA/elements/commit/a4f4f6c)) | ||
| * chore(core): update visual snapshots ([ba2ecf5](https://github.com/NVIDIA/elements/commit/ba2ecf5)) | ||
| * chore(docs): add component preview to card list ([c7e16a5](https://github.com/NVIDIA/elements/commit/c7e16a5)) | ||
| * chore(docs): add design md file ([5c63566](https://github.com/NVIDIA/elements/commit/5c63566)) | ||
| * chore(docs): cleanup nav links ([702ba6c](https://github.com/NVIDIA/elements/commit/702ba6c)) | ||
| * chore(docs): enhance import rewriting logic and add unit tests ([6910812](https://github.com/NVIDIA/elements/commit/6910812)) | ||
| * chore(docs): feed title ([e7f3717](https://github.com/NVIDIA/elements/commit/e7f3717)) | ||
| * chore(docs): fix sitemap ([7c9f059](https://github.com/NVIDIA/elements/commit/7c9f059)) | ||
| * chore(docs): july update ([59d3f83](https://github.com/NVIDIA/elements/commit/59d3f83)) | ||
| * chore(docs): update icon notice ([6647b0b](https://github.com/NVIDIA/elements/commit/6647b0b)) | ||
| * chore(docs): whats new page and skill ([9c6f1b2](https://github.com/NVIDIA/elements/commit/9c6f1b2)) | ||
| * chore(forms): cover select default value before connect ([724ee3f](https://github.com/NVIDIA/elements/commit/724ee3f)) | ||
| * chore(forms): cover unset disabled aria in state controller ([e617567](https://github.com/NVIDIA/elements/commit/e617567)) | ||
| * chore(internals): adopt no-unnecessary-type-conversion lint rule ([b845d33](https://github.com/NVIDIA/elements/commit/b845d33)) | ||
| * chore(lint): cover remaining slot-value rule branches ([eb8eb7a](https://github.com/NVIDIA/elements/commit/eb8eb7a)) | ||
| * chore(lint): cover valid package.json paths in library-dependencies rule ([b740405](https://github.com/NVIDIA/elements/commit/b740405)) | ||
| * chore(monaco): un-skip json schema validation test ([8ae0988](https://github.com/NVIDIA/elements/commit/8ae0988)) | ||
| * chore(release): @nvidia-elements/cli-v2.1.10 [skip ci] ([ba58c2e](https://github.com/NVIDIA/elements/commit/ba58c2e)) | ||
| * chore(release): @nvidia-elements/cli-v2.1.5 [skip ci] ([7e217b8](https://github.com/NVIDIA/elements/commit/7e217b8)) | ||
| * chore(release): @nvidia-elements/cli-v2.1.6 [skip ci] ([d6e9957](https://github.com/NVIDIA/elements/commit/d6e9957)) | ||
| * chore(release): @nvidia-elements/cli-v2.1.7 [skip ci] ([3fcca0d](https://github.com/NVIDIA/elements/commit/3fcca0d)) | ||
| * chore(release): @nvidia-elements/cli-v2.1.8 [skip ci] ([1521595](https://github.com/NVIDIA/elements/commit/1521595)) | ||
| * chore(release): @nvidia-elements/cli-v2.1.9 [skip ci] ([651abf3](https://github.com/NVIDIA/elements/commit/651abf3)) | ||
| * chore(release): @nvidia-elements/cli-v2.2.0 [skip ci] ([f472bf0](https://github.com/NVIDIA/elements/commit/f472bf0)) | ||
| * chore(release): @nvidia-elements/core-v2.1.2 [skip ci] ([051719c](https://github.com/NVIDIA/elements/commit/051719c)) | ||
| * chore(release): @nvidia-elements/core-v2.1.3 [skip ci] ([b6c09ba](https://github.com/NVIDIA/elements/commit/b6c09ba)) | ||
| * chore(release): @nvidia-elements/core-v2.1.4 [skip ci] ([047fc0d](https://github.com/NVIDIA/elements/commit/047fc0d)) | ||
| * chore(release): @nvidia-elements/core-v2.1.5 [skip ci] ([a704fbe](https://github.com/NVIDIA/elements/commit/a704fbe)) | ||
| * chore(release): @nvidia-elements/core-v2.1.6 [skip ci] ([4a3a305](https://github.com/NVIDIA/elements/commit/4a3a305)) | ||
| * chore(release): @nvidia-elements/core-v2.2.0 [skip ci] ([6cf3292](https://github.com/NVIDIA/elements/commit/6cf3292)) | ||
| * chore(release): @nvidia-elements/core-v2.2.1 [skip ci] ([730a2ec](https://github.com/NVIDIA/elements/commit/730a2ec)) | ||
| * chore(release): @nvidia-elements/core-v2.2.2 [skip ci] ([f9f1e27](https://github.com/NVIDIA/elements/commit/f9f1e27)) | ||
| * chore(release): @nvidia-elements/core-v2.2.3 [skip ci] ([0b24dcc](https://github.com/NVIDIA/elements/commit/0b24dcc)) | ||
| * chore(release): @nvidia-elements/core-v2.3.0 [skip ci] ([e657e21](https://github.com/NVIDIA/elements/commit/e657e21)) | ||
| * chore(release): @nvidia-elements/core-v2.3.1 [skip ci] ([e32f2e2](https://github.com/NVIDIA/elements/commit/e32f2e2)) | ||
| * chore(release): @nvidia-elements/core-v2.3.2 [skip ci] ([5beb838](https://github.com/NVIDIA/elements/commit/5beb838)) | ||
| * chore(release): @nvidia-elements/core-v2.4.0 [skip ci] ([860a270](https://github.com/NVIDIA/elements/commit/860a270)) | ||
| * chore(release): @nvidia-elements/core-v2.4.1 [skip ci] ([131893b](https://github.com/NVIDIA/elements/commit/131893b)) | ||
| * chore(release): @nvidia-elements/core-v2.5.0 [skip ci] ([a8a4b85](https://github.com/NVIDIA/elements/commit/a8a4b85)) | ||
| * chore(release): @nvidia-elements/core-v2.5.1 [skip ci] ([2d836e9](https://github.com/NVIDIA/elements/commit/2d836e9)) | ||
| * chore(release): @nvidia-elements/core-v2.5.2 [skip ci] ([417bda8](https://github.com/NVIDIA/elements/commit/417bda8)) | ||
| * chore(release): @nvidia-elements/forms-v2.0.4 [skip ci] ([65b4f9e](https://github.com/NVIDIA/elements/commit/65b4f9e)) | ||
| * chore(release): @nvidia-elements/forms-v2.0.5 [skip ci] ([c0e8291](https://github.com/NVIDIA/elements/commit/c0e8291)) | ||
| * chore(release): @nvidia-elements/forms-v2.0.6 [skip ci] ([c977b1a](https://github.com/NVIDIA/elements/commit/c977b1a)) | ||
| * chore(release): @nvidia-elements/lint-v2.1.0 [skip ci] ([e668854](https://github.com/NVIDIA/elements/commit/e668854)) | ||
| * chore(release): @nvidia-elements/lint-v2.1.1 [skip ci] ([efb7a71](https://github.com/NVIDIA/elements/commit/efb7a71)) | ||
| * chore(release): @nvidia-elements/lint-v2.1.2 [skip ci] ([3b700cd](https://github.com/NVIDIA/elements/commit/3b700cd)) | ||
| * chore(release): @nvidia-elements/lint-v2.1.3 [skip ci] ([2c2320d](https://github.com/NVIDIA/elements/commit/2c2320d)) | ||
| * chore(release): @nvidia-elements/lint-v2.2.0 [skip ci] ([0a6b54e](https://github.com/NVIDIA/elements/commit/0a6b54e)) | ||
| * chore(release): @nvidia-elements/lint-v2.3.0 [skip ci] ([35bb729](https://github.com/NVIDIA/elements/commit/35bb729)) | ||
| * chore(release): @nvidia-elements/lint-v2.4.0 [skip ci] ([963c501](https://github.com/NVIDIA/elements/commit/963c501)) | ||
| * chore(release): @nvidia-elements/markdown-v2.0.3 [skip ci] ([287e6c3](https://github.com/NVIDIA/elements/commit/287e6c3)) | ||
| * chore(release): @nvidia-elements/monaco-v2.0.2 [skip ci] ([12820b1](https://github.com/NVIDIA/elements/commit/12820b1)) | ||
| * chore(release): @nvidia-elements/styles-v2.1.1 [skip ci] ([d6ce1a6](https://github.com/NVIDIA/elements/commit/d6ce1a6)) | ||
| * chore(release): @nvidia-elements/styles-v2.1.2 [skip ci] ([71fab6c](https://github.com/NVIDIA/elements/commit/71fab6c)) | ||
| * chore(release): @nvidia-elements/styles-v2.1.3 [skip ci] ([e5f00e3](https://github.com/NVIDIA/elements/commit/e5f00e3)) | ||
| * chore(release): @nvidia-elements/themes-v2.0.1 [skip ci] ([acd6d9f](https://github.com/NVIDIA/elements/commit/acd6d9f)) | ||
| * chore(starters): update @tsconfig/node20 to 20.1.10 ([8c23a01](https://github.com/NVIDIA/elements/commit/8c23a01)) | ||
| * chore(styles): remove invalid overflow-wrap visual quarantine ([8d03d28](https://github.com/NVIDIA/elements/commit/8d03d28)) | ||
| * chore(styles): remove unreliable text-transforms visual ([681d052](https://github.com/NVIDIA/elements/commit/681d052)) | ||
| * fix(ci): stabilize monaco worker bundle lighthouse checks ([0f18d6c](https://github.com/NVIDIA/elements/commit/0f18d6c)) | ||
| * fix(cli): improve api metadata ([b2c13ab](https://github.com/NVIDIA/elements/commit/b2c13ab)) | ||
| * fix(cli): mute interactions on non tty sessions ([ba3230a](https://github.com/NVIDIA/elements/commit/ba3230a)) | ||
| * fix(cli): update dependencies ([ff596a1](https://github.com/NVIDIA/elements/commit/ff596a1)) | ||
| * fix(cli): update mcp deps ([a7d5f7c](https://github.com/NVIDIA/elements/commit/a7d5f7c)) | ||
| * fix(cli): update mcp sdk ([0640e11](https://github.com/NVIDIA/elements/commit/0640e11)) | ||
| * fix(cli): workspace dependency ([5ecbd96](https://github.com/NVIDIA/elements/commit/5ecbd96)) | ||
| * fix(code): bundle treeshaking ([cf6beb7](https://github.com/NVIDIA/elements/commit/cf6beb7)) | ||
| * fix(core): add initial selected item focus handling for tabs ([9d617f4](https://github.com/NVIDIA/elements/commit/9d617f4)) | ||
| * fix(core): align root tree nodes ([6008461](https://github.com/NVIDIA/elements/commit/6008461)) | ||
| * fix(core): api documentation ([a02b9e2](https://github.com/NVIDIA/elements/commit/a02b9e2)) | ||
| * fix(core): bundle treeshaking ([e3e80be](https://github.com/NVIDIA/elements/commit/e3e80be)) | ||
| * fix(core): clipping descenders on toolbar typography ([7965c3c](https://github.com/NVIDIA/elements/commit/7965c3c)) | ||
| * fix(core): collapsed tab group ([b7be2d9](https://github.com/NVIDIA/elements/commit/b7be2d9)) | ||
| * fix(core): drawer positioning ([f66cab0](https://github.com/NVIDIA/elements/commit/f66cab0)) | ||
| * fix(core): ensure proper property and attribute reflection for button types ([af780c6](https://github.com/NVIDIA/elements/commit/af780c6)) | ||
| * fix(core): gauge fill alignment ([2bef645](https://github.com/NVIDIA/elements/commit/2bef645)) | ||
| * fix(core): generate valid standalone framework declarations ([1544477](https://github.com/NVIDIA/elements/commit/1544477)) | ||
| * fix(core): improve api custom elements schema ([6b299e3](https://github.com/NVIDIA/elements/commit/6b299e3)) | ||
| * fix(core): missing animation timing for progress-bar ([05150d4](https://github.com/NVIDIA/elements/commit/05150d4)) | ||
| * fix(core): page header text wrap issue ([03c481f](https://github.com/NVIDIA/elements/commit/03c481f)) | ||
| * fix(core): size height calculation ([204aa52](https://github.com/NVIDIA/elements/commit/204aa52)) | ||
| * fix(core): update fit-text input to native field sizing ([cadc33c](https://github.com/NVIDIA/elements/commit/cadc33c)) | ||
| * fix(core): update icon build script ([ad3d51c](https://github.com/NVIDIA/elements/commit/ad3d51c)) | ||
| * fix(core): update select size handling and improve layout ([6af535d](https://github.com/NVIDIA/elements/commit/6af535d)) | ||
| * fix(forms): proper property and attribute reflection for button mixin ([e6093dd](https://github.com/NVIDIA/elements/commit/e6093dd)) | ||
| * fix(forms): remove stale html custom data contribution ([c64f40d](https://github.com/NVIDIA/elements/commit/c64f40d)) | ||
| * fix(forms): respect event default prevention ([5618862](https://github.com/NVIDIA/elements/commit/5618862)) | ||
| * fix(lint): enhance data binding checks and update test cases for popover triggers ([56e4701](https://github.com/NVIDIA/elements/commit/56e4701)) | ||
| * fix(lint): support framework event bindings ([4a1e72d](https://github.com/NVIDIA/elements/commit/4a1e72d)) | ||
| * fix(lint): update no-missing-gap-space rule to allow gap-optional values ([df74628](https://github.com/NVIDIA/elements/commit/df74628)) | ||
| * fix(markdown): export html custom data ([090c9c3](https://github.com/NVIDIA/elements/commit/090c9c3)) | ||
| * fix(media): remove stale html custom data contribution ([baedd39](https://github.com/NVIDIA/elements/commit/baedd39)) | ||
| * fix(starters): update angular to 22.1.3 ([273d4e9](https://github.com/NVIDIA/elements/commit/273d4e9)) | ||
| * fix(styles): add width rule for row layout with space-between alignment ([61113ad](https://github.com/NVIDIA/elements/commit/61113ad)) | ||
| * fix(styles): default line heights ([d13ea94](https://github.com/NVIDIA/elements/commit/d13ea94)) | ||
| * fix(styles): native text-box support ([d562bb2](https://github.com/NVIDIA/elements/commit/d562bb2)) | ||
| * fix(themes): update default status contrast ([52af067](https://github.com/NVIDIA/elements/commit/52af067)) | ||
| * feat(cli): improve validation commands ([0a9586b](https://github.com/NVIDIA/elements/commit/0a9586b)) | ||
| * feat(core): add format-truncate ([d6c0f2e](https://github.com/NVIDIA/elements/commit/d6c0f2e)) | ||
| * feat(core): add media i18n values ([371692a](https://github.com/NVIDIA/elements/commit/371692a)) | ||
| * feat(core): format-bytes ([bfd2e5e](https://github.com/NVIDIA/elements/commit/bfd2e5e)) | ||
| * feat(core): swap reviewed icon svgs ([f5f232e](https://github.com/NVIDIA/elements/commit/f5f232e)) | ||
| * feat(lint): add css rules ([c876f89](https://github.com/NVIDIA/elements/commit/c876f89)) | ||
| * feat(lint): add prefer-aria-label-in-compact-containers rule ([130279f](https://github.com/NVIDIA/elements/commit/130279f)) | ||
| * feat(lint): add rule to limit excessive primary actions ([e67fa69](https://github.com/NVIDIA/elements/commit/e67fa69)) | ||
| * feat(lint): add rule to restrict container="full" usage ([a634e39](https://github.com/NVIDIA/elements/commit/a634e39)) | ||
| * feat(media): init ([859c8f9](https://github.com/NVIDIA/elements/commit/859c8f9)) | ||
| ## <small>2.0.2 (2026-07-20)</small> | ||
@@ -2,0 +139,0 @@ |
@@ -19,3 +19,3 @@ import e from "./codeblock.js"; | ||
| tag: "nve-codeblock", | ||
| version: "2.0.2" | ||
| version: "2.0.3" | ||
| }; | ||
@@ -22,0 +22,0 @@ } |
@@ -77,4 +77,6 @@ /** | ||
| export type CodeBlockProps = { | ||
| /** Adds styling to show the line numbers of the codeblock. */ | ||
| "line-numbers"?: boolean | undefined; | ||
| /** Determines the container styles of component. Flat enables nesting within other containers. */ | ||
| container?: "flat" | "inline" | "default"; | ||
| container?: "flat" | "inline" | undefined; | ||
| /** Programming language that processes the codeblock. */ | ||
@@ -96,5 +98,5 @@ language?: | ||
| /** Text code to be process into a codeblock. */ | ||
| code?: string | "default"; | ||
| code?: string | undefined; | ||
| /** Adds styling to show the line numbers of the codeblock. */ | ||
| "line-numbers"?: boolean | "default"; | ||
| lineNumbers?: boolean | undefined; | ||
| /** Adds styling to highlight the provided code lines. | ||
@@ -104,3 +106,3 @@ For many lines: use Comma seperated values, ex: (1,5,7). | ||
| You can combine both such as: ex: (1,5,10-15,20). */ | ||
| highlight?: string | "default"; | ||
| highlight?: string | undefined; | ||
| }; | ||
@@ -107,0 +109,0 @@ |
| import type { DefineComponent } from "vue"; | ||
| type CodeBlockProps = { | ||
| /** Adds styling to show the line numbers of the codeblock. */ | ||
| "line-numbers"?: boolean | undefined; | ||
| /** Determines the container styles of component. Flat enables nesting within other containers. */ | ||
| container?: "flat" | "inline" | "default"; | ||
| container?: "flat" | "inline" | undefined; | ||
| /** Programming language that processes the codeblock. */ | ||
@@ -22,5 +24,5 @@ language?: | ||
| /** Text code to be process into a codeblock. */ | ||
| code?: string | "default"; | ||
| code?: string | undefined; | ||
| /** Adds styling to show the line numbers of the codeblock. */ | ||
| "line-numbers"?: boolean | "default"; | ||
| lineNumbers?: boolean | undefined; | ||
| /** Adds styling to highlight the provided code lines. | ||
@@ -30,3 +32,3 @@ For many lines: use Comma seperated values, ex: (1,5,7). | ||
| You can combine both such as: ex: (1,5,10-15,20). */ | ||
| highlight?: string | "default"; | ||
| highlight?: string | undefined; | ||
| }; | ||
@@ -33,0 +35,0 @@ |
@@ -69,3 +69,3 @@ { | ||
| "type": { | ||
| "text": "'flat' | 'inline' | \"default\"", | ||
| "text": "'flat' | 'inline' | undefined", | ||
| "_sourceAliases": [], | ||
@@ -156,3 +156,3 @@ "values": [ | ||
| "type": { | ||
| "text": "string | \"default\"", | ||
| "text": "string | undefined", | ||
| "_sourceAliases": [], | ||
@@ -163,6 +163,2 @@ "values": [ | ||
| "description": "" | ||
| }, | ||
| { | ||
| "value": "default", | ||
| "description": "" | ||
| } | ||
@@ -178,3 +174,3 @@ ] | ||
| "type": { | ||
| "text": "boolean | \"default\"", | ||
| "text": "boolean | undefined", | ||
| "_sourceAliases": [], | ||
@@ -185,6 +181,2 @@ "values": [ | ||
| "description": "" | ||
| }, | ||
| { | ||
| "value": "default", | ||
| "description": "" | ||
| } | ||
@@ -200,3 +192,3 @@ ] | ||
| "type": { | ||
| "text": "string | \"default\"", | ||
| "text": "string | undefined", | ||
| "_sourceAliases": [], | ||
@@ -207,6 +199,2 @@ "values": [ | ||
| "description": "" | ||
| }, | ||
| { | ||
| "value": "default", | ||
| "description": "" | ||
| } | ||
@@ -223,3 +211,3 @@ ] | ||
| "type": { | ||
| "text": "'flat' | 'inline' | \"default\"", | ||
| "text": "'flat' | 'inline' | undefined", | ||
| "_sourceAliases": [], | ||
@@ -307,3 +295,3 @@ "values": [ | ||
| "type": { | ||
| "text": "string | \"default\"", | ||
| "text": "string | undefined", | ||
| "_sourceAliases": [], | ||
@@ -314,6 +302,2 @@ "values": [ | ||
| "description": "" | ||
| }, | ||
| { | ||
| "value": "default", | ||
| "description": "" | ||
| } | ||
@@ -328,3 +312,3 @@ ] | ||
| "type": { | ||
| "text": "boolean | \"default\"", | ||
| "text": "boolean | undefined", | ||
| "_sourceAliases": [], | ||
@@ -335,6 +319,2 @@ "values": [ | ||
| "description": "" | ||
| }, | ||
| { | ||
| "value": "default", | ||
| "description": "" | ||
| } | ||
@@ -349,3 +329,3 @@ ] | ||
| "type": { | ||
| "text": "string | \"default\"", | ||
| "text": "string | undefined", | ||
| "_sourceAliases": [], | ||
@@ -356,6 +336,2 @@ "values": [ | ||
| "description": "" | ||
| }, | ||
| { | ||
| "value": "default", | ||
| "description": "" | ||
| } | ||
@@ -390,3 +366,3 @@ ] | ||
| "behavior": "content", | ||
| "markdown": "## nve-codeblock\n\nA container for content representing programming languages.\n\n### Example\n\n```html\n<nve-codeblock language=\"typescript\"> function getTime(): number { return new Date().getTime(); } </nve-codeblock>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/code/codeblock/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | for declarative slotting of source code and not using the `code` property |\n| actions | `string` | slot for action bar |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'inline' \\| \"default\"` | Determines the container styles of component. Flat enables nesting within other containers. |\n| language | `\\| 'bash'\n \\| 'css'\n \\| 'go'\n \\| 'html'\n \\| 'javascript'\n \\| 'json'\n \\| 'markdown'\n \\| 'python'\n \\| 'shell'\n \\| 'toml'\n \\| 'typescript'\n \\| 'xml'\n \\| 'yaml'` | Programming language that processes the codeblock. |\n| code | `string \\| \"default\"` | Text code to be process into a codeblock. |\n| lineNumbers (line-numbers) | `boolean \\| \"default\"` | Adds styling to show the line numbers of the codeblock. |\n| highlight | `string \\| \"default\"` | Adds styling to highlight the provided code lines. For many lines: use Comma seperated values, ex: (1,5,7). For range of lines, use hyphen seperated values, ex: (1-5). You can combine both such as: ex: (1,5,10-15,20). |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --font-family | `string` | [MDN](https://mdn.dev/CSS/font-family) |\n| --white-space | `string` | [MDN](https://mdn.dev/CSS/white-space) |" | ||
| "markdown": "## nve-codeblock\n\nA container for content representing programming languages.\n\n### Example\n\n```html\n<nve-codeblock language=\"typescript\"> function getTime(): number { return new Date().getTime(); } </nve-codeblock>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/code/codeblock/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | for declarative slotting of source code and not using the `code` property |\n| actions | `string` | slot for action bar |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'inline' \\| undefined` | Determines the container styles of component. Flat enables nesting within other containers. |\n| language | `\\| 'bash'\n \\| 'css'\n \\| 'go'\n \\| 'html'\n \\| 'javascript'\n \\| 'json'\n \\| 'markdown'\n \\| 'python'\n \\| 'shell'\n \\| 'toml'\n \\| 'typescript'\n \\| 'xml'\n \\| 'yaml'` | Programming language that processes the codeblock. |\n| code | `string \\| undefined` | Text code to be process into a codeblock. |\n| lineNumbers (line-numbers) | `boolean \\| undefined` | Adds styling to show the line numbers of the codeblock. |\n| highlight | `string \\| undefined` | Adds styling to highlight the provided code lines. For many lines: use Comma seperated values, ex: (1,5,7). For range of lines, use hyphen seperated values, ex: (1-5). You can combine both such as: ex: (1,5,10-15,20). |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --font-family | `string` | [MDN](https://mdn.dev/CSS/font-family) |\n| --white-space | `string` | [MDN](https://mdn.dev/CSS/white-space) |" | ||
| } | ||
@@ -393,0 +369,0 @@ } |
@@ -12,7 +12,3 @@ { | ||
| "description": "Determines the container styles of component. Flat enables nesting within other containers.", | ||
| "values": [ | ||
| { "name": "flat" }, | ||
| { "name": "inline" }, | ||
| { "name": "default" } | ||
| ] | ||
| "values": [{ "name": "flat" }, { "name": "inline" }] | ||
| }, | ||
@@ -42,3 +38,3 @@ { | ||
| "description": "Text code to be process into a codeblock.", | ||
| "values": [{ "name": "default" }] | ||
| "values": [] | ||
| }, | ||
@@ -48,3 +44,3 @@ { | ||
| "description": "Adds styling to show the line numbers of the codeblock.", | ||
| "values": [{ "name": "default" }] | ||
| "values": [] | ||
| }, | ||
@@ -54,3 +50,3 @@ { | ||
| "description": "Adds styling to highlight the provided code lines.\nFor many lines: use Comma seperated values, ex: (1,5,7).\nFor range of lines, use hyphen seperated values, ex: (1-5).\nYou can combine both such as: ex: (1,5,10-15,20).", | ||
| "values": [{ "name": "default" }] | ||
| "values": [] | ||
| } | ||
@@ -57,0 +53,0 @@ ], |
+1
-1
| //#region src/index.ts | ||
| var e = "2.0.2"; | ||
| var e = "2.0.3"; | ||
| //#endregion | ||
@@ -4,0 +4,0 @@ export { e as VERSION }; |
+19
-15
| { | ||
| "name": "@nvidia-elements/code", | ||
| "version": "2.0.2", | ||
| "version": "2.0.3", | ||
| "release": { | ||
@@ -9,5 +9,9 @@ "extends": "../../release.config.js" | ||
| "keywords": [ | ||
| "nvidia", | ||
| "web-components", | ||
| "syntax-highlight", | ||
| "code-blocks" | ||
| "custom-elements", | ||
| "code-blocks", | ||
| "syntax-highlighting", | ||
| "highlight.js", | ||
| "lit" | ||
| ], | ||
@@ -182,26 +186,26 @@ "homepage": "https://NVIDIA.github.io/elements/", | ||
| "peerDependencies": { | ||
| "@nvidia-elements/core": "^2.1.1", | ||
| "@nvidia-elements/themes": "^2.0.0" | ||
| "@nvidia-elements/core": "^2.5.2", | ||
| "@nvidia-elements/themes": "^2.0.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@eslint/js": "10.0.1", | ||
| "@nvidia-elements/core": "2.5.2", | ||
| "@nvidia-elements/styles": "2.1.3", | ||
| "@internals/testing": "0.0.0", | ||
| "@internals/eslint": "0.0.0", | ||
| "@internals/vite": "0.0.0", | ||
| "@nvidia-elements/lint": "2.4.0", | ||
| "@vitest/browser": "4.1.10", | ||
| "@vitest/coverage-istanbul": "4.1.10", | ||
| "axe-core": "4.11.0", | ||
| "eslint": "10.6.0", | ||
| "eslint": "10.8.0", | ||
| "highlight.js": "11.11.1", | ||
| "lit": "3.3.3", | ||
| "lit-html": "3.3.3", | ||
| "publint": "0.3.21", | ||
| "stylelint": "17.14.0", | ||
| "publint": "0.3.23", | ||
| "stylelint": "17.14.1", | ||
| "stylelint-config-standard": "40.0.0", | ||
| "typescript": "6.0.3", | ||
| "vite": "8.1.4", | ||
| "vitest": "4.1.10", | ||
| "@nvidia-elements/core": "2.1.1", | ||
| "@nvidia-elements/styles": "2.1.0", | ||
| "@internals/testing": "0.0.0", | ||
| "@internals/eslint": "0.0.0", | ||
| "@internals/vite": "0.0.0", | ||
| "@nvidia-elements/lint": "2.0.1" | ||
| "vitest": "4.1.10" | ||
| }, | ||
@@ -208,0 +212,0 @@ "wireit": { |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
5
-28.57%187841
-16.71%1473
-13.51%