Skip to content

Commit 0b24b79

Browse files
committed
chore(docs): lint and migration cleanup
Signed-off-by: Cory Rylan <crylan@nvidia.com>
1 parent 40f6eaa commit 0b24b79

8 files changed

Lines changed: 11 additions & 83 deletions

File tree

projects/core/src/grid/grid.examples.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ export const PanelDetail = {
11591159
render: () => html`
11601160
<nve-page id="grid-panel-demo">
11611161
<nve-page-header slot="header">
1162-
<nve-logo slot="prefix" size="sm"></nve-logo>
1162+
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
11631163
<h2 nve-text="heading" slot="prefix">Infrastructure</h2>
11641164
</nve-page-header>
11651165
<section nve-layout="column gap:md pad:md full">
@@ -1186,7 +1186,7 @@ export const PanelDetail = {
11861186
<div nve-layout="column gap:md">
11871187
<div nve-layout="column gap:xs">
11881188
<label nve-text="body sm muted">Task</label>
1189-
<p nve-text="eyebrow sm">Workflow</p>
1189+
<p nve-text="label sm">Workflow</p>
11901190
</div>
11911191
<div nve-layout="column gap:xs">
11921192
<label nve-text="body sm muted">Status</label>
@@ -1234,7 +1234,7 @@ export const PanelGrid = {
12341234
return html`
12351235
<nve-page>
12361236
<nve-page-header slot="header">
1237-
<nve-logo slot="prefix" size="sm"></nve-logo>
1237+
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
12381238
<h2 nve-text="heading" slot="prefix">Infrastructure</h2>
12391239
</nve-page-header>
12401240
<section nve-layout="column gap:md pad:md full">

projects/core/src/progress-bar/progress-bar.examples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const Max = {
5252
*/
5353
export const Labeled = {
5454
render: () => html`
55-
<div nve-layout="column gap:xxxs pad:lg align:horizontal-stretch grow">
55+
<div nve-layout="column gap:xs pad:lg align:horizontal-stretch full">
5656
<div nve-layout="row align:space-between">
5757
<p nve-text="label sm">Upload Status</p>
5858
<p nve-text="label emphasis sm">80%</p>

projects/internals/patterns/src/heatmap.examples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ export const OccupancyDetectionHeatmap = {
667667

668668
/**
669669
* @summary Grid heatmap displaying thermal distribution across robotic arm joints and actuators over time. Essential for monitoring overheating risks during extended operation cycles and validating cooling system performance using viridis scale.
670-
* @tags pattern
670+
* @tags pattern test-case
671671
*/
672672
export const ThermalHeatmap = {
673673
render: () => html`

projects/internals/patterns/src/subheader.examples.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const TabsHeaderMainPage = {
112112

113113
/**
114114
* @summary Main page subheader with key-value metadata row stacked below the title. Ideal for displaying session details, status badges, and entity relationships.
115-
* @tags pattern
115+
* @tags pattern test-case
116116
*/
117117
export const StackedMetadataHeaderMainPage = {
118118
render: () => html`
@@ -404,7 +404,7 @@ export const StackedKitchenSinkHeaderMainPage = {
404404

405405
/**
406406
* @summary Detail page subheader with back arrow navigation, multi-level breadcrumb, and minimal action buttons. Use for drilling into specific records.
407-
* @tags pattern
407+
* @tags pattern test-case
408408
*/
409409
export const StandardHeaderDetailPage = {
410410
render: () => html`
@@ -450,7 +450,7 @@ export const StandardHeaderDetailPage = {
450450

451451
/**
452452
* @summary Detail page subheader with back navigation and tabbed content sections. Ideal for entity detail views with many data categories.
453-
* @tags pattern
453+
* @tags pattern test-case
454454
*/
455455
export const TabsHeaderDetailPage = {
456456
render: () => html`

projects/site/src/_11ty/layouts/docs.11ty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export async function render(data) {
8787
data.tag
8888
? `
8989
<section slot="subheader" nve-layout="column gap:xl align:left pad-x:xxl pad-top:xxl">
90-
<div nve-layout="column &lg|row align:space-between gap:lg grow">
90+
<div nve-layout="column &lg|row align:space-between gap:lg full">
9191
<h1 nve-text="display emphasis semibold mkd" data-pagefind-meta="tag:${data.tag}">${data.title}</h1>
9292
9393
${elementSummary(data.tag)}

projects/site/src/docs/internal/guidelines/component-creation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Follow the [unit testing guideline](testing-unit.md):
174174
```typescript
175175
import { html } from 'lit';
176176
import { describe, expect, it, beforeEach, afterEach } from 'vitest';
177-
import { createFixture, elementIsStable, removeFixture } from '@nvidia-elements/testing';
177+
import { createFixture, elementIsStable, removeFixture } from '@internals/testing';
178178
import { ComponentName } from '@nvidia-elements/core/component-name';
179179
import '@nvidia-elements/core/component-name/define.js';
180180

@@ -213,7 +213,7 @@ Follow the [accessibility testing guideline](testing-accessibility.md):
213213
```typescript
214214
import { html } from 'lit';
215215
import { describe, expect, it, beforeEach, afterEach } from 'vitest';
216-
import { createFixture, elementIsStable, removeFixture, runAxe } from '@nvidia-elements/testing';
216+
import { createFixture, elementIsStable, removeFixture, runAxe } from '@internals/testing';
217217
import { ComponentName } from '@nvidia-elements/core/component-name';
218218
import '@nvidia-elements/core/component-name/define.js';
219219

projects/site/src/docs/labs/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,3 @@
88
# {{ title }}
99

1010
Labs projects are experimental packages the team is actively seeking feedback on. They may not be ready for production use and APIs may change frequently.
11-
12-
Once the team considers a lab project stable, it moves from @nve-labs to the
13-
main @nve package scope. The team may deprecate or remove labs projects at any time.

projects/site/src/docs/testing/index.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)