Skip to content

Commit 9bdd0b6

Browse files
committed
Upgrade www to kinetic standards lab
1 parent 7c4c84e commit 9bdd0b6

22 files changed

Lines changed: 1042 additions & 252 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ docs/autoflow/cells/*/state.json
5252

5353
# Vite cache
5454
.vite/
55+
/.wrangler/
5556

5657
# Generated data modules (typed stubs are tracked as .d.ts)
5758
www/app/data/_generated-*.ts
@@ -100,4 +101,3 @@ www/.openElement/
100101

101102
# Vite virtual assets
102103
assets/_virtual_*
103-

packages/ui/deno.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"./open-code-block": "./src/open-code-block.tsx",
1010
"./open-badge": "./src/open-badge.tsx",
1111
"./open-lab-panel": "./src/open-lab-panel.tsx",
12+
"./open-lab-stage": "./src/open-lab-stage.tsx",
1213
"./open-standards-visual": "./src/open-standards-visual.tsx",
1314
"./open-layout": "./src/open-layout.tsx",
1415
"./open-theme-toggle": "./src/open-theme-toggle.tsx",

packages/ui/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* - open-code-block: Code block with copy button
1717
* - open-badge: Open Props status badge
1818
* - open-lab-panel: Standards-lab artifact/spec panel
19+
* - open-lab-stage: Kinetic standards-lab hero primitive
1920
* - open-standards-visual: Product-art standards diagrams
2021
* - open-layout: App layout with header, sidebar, footer
2122
* - open-theme-toggle: Theme toggle Island (Dark/Light)
@@ -50,6 +51,7 @@ export { OpenInput, tagName as openInputTagName } from './open-input.js';
5051
export { OpenCodeBlock, tagName as openCodeBlockTagName } from './open-code-block.js';
5152
export { OpenBadge, tagName as openBadgeTagName } from './open-badge.js';
5253
export { OpenLabPanel, tagName as openLabPanelTagName } from './open-lab-panel.js';
54+
export { OpenLabStage, tagName as openLabStageTagName } from './open-lab-stage.js';
5355
export {
5456
OpenStandardsVisual,
5557
tagName as openStandardsVisualTagName,

packages/ui/src/manifest.ts

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ export const manifest: OpenElementPackageManifest = {
267267
description: 'Product-art standards diagram for route, package, token, and hero visuals',
268268
attributes: [
269269
{ name: 'variant', type: 'string', default: '"hero"', description: 'Visual variant' },
270+
{ name: 'motion', type: 'string', default: '"auto"', description: 'Motion mode' },
271+
{ name: 'emphasis', type: 'string', default: '"normal"', description: 'Visual emphasis' },
270272
],
271273
cssParts: [],
272274
openElement: {
@@ -278,6 +280,27 @@ export const manifest: OpenElementPackageManifest = {
278280
export: 'OpenStandardsVisual',
279281
},
280282
},
283+
{
284+
tagName: 'open-lab-stage',
285+
className: 'OpenLabStage',
286+
superclassName: 'OpenElement',
287+
description: 'Kinetic standards-lab hero stage for product-art pages',
288+
attributes: [
289+
{ name: 'motion', type: 'string', default: '"auto"', description: 'Motion mode' },
290+
{ name: 'emphasis', type: 'string', default: '"high"', description: 'Stage emphasis' },
291+
],
292+
cssParts: [
293+
{ name: 'stage', description: 'The stage wrapper' },
294+
],
295+
openElement: {
296+
ssr: true,
297+
dsd: true,
298+
layer: 'dsd-static',
299+
hydrate: 'idle',
300+
module: '@openelement/ui/open-lab-stage',
301+
export: 'OpenLabStage',
302+
},
303+
},
281304
{
282305
tagName: 'open-dialog',
283306
className: 'OpenDialog',
@@ -645,6 +668,26 @@ export const manifest: OpenElementPackageManifest = {
645668
exports: [{ name: 'OpenCodeBlock', path: './open-code-block.js' }],
646669
declarations: ['open-code-block'],
647670
},
671+
{
672+
path: './open-badge.js',
673+
exports: [{ name: 'OpenBadge', path: './open-badge.js' }],
674+
declarations: ['open-badge'],
675+
},
676+
{
677+
path: './open-lab-panel.js',
678+
exports: [{ name: 'OpenLabPanel', path: './open-lab-panel.js' }],
679+
declarations: ['open-lab-panel'],
680+
},
681+
{
682+
path: './open-lab-stage.js',
683+
exports: [{ name: 'OpenLabStage', path: './open-lab-stage.js' }],
684+
declarations: ['open-lab-stage'],
685+
},
686+
{
687+
path: './open-standards-visual.js',
688+
exports: [{ name: 'OpenStandardsVisual', path: './open-standards-visual.js' }],
689+
declarations: ['open-standards-visual'],
690+
},
648691
{
649692
path: './open-dialog.js',
650693
exports: [{ name: 'OpenDialog', path: './open-dialog.js' }],

0 commit comments

Comments
 (0)