Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
bd3c9a2
feat(dock-layout): add GridTree data model with tree operations
kai-orion Aug 23, 2026
c334f20
feat(dock-layout): add layout projection (tree → pixel rects)
kai-orion Aug 23, 2026
801fda4
feat(dock-layout): add hit tester (5-zone + outer edges)
kai-orion Aug 23, 2026
1b4ace6
refactor(dock-layout): rewrite interface.ts as re-exports + event types
kai-orion Aug 23, 2026
2b2dd5f
refactor(dock-layout): consolidate styles, remove !important slot rule
kai-orion Aug 23, 2026
127e5d2
refactor(navigation-rail): Refine navigation rail and tab styling
kai-orion Aug 25, 2026
f882d6a
chore: Rename padding/margin tokens to inline/block start/end
kai-orion Aug 25, 2026
c43edf1
feat: Add scaffold and snackbar-host components + demos
kai-orion Aug 25, 2026
7925e1c
feat: Expand createStyleDefinition to support state tuples
kai-orion Aug 25, 2026
2f367eb
chore: Add state utilities and stateStyles helper
kai-orion Aug 25, 2026
33b84c1
feat: Expand stateStyles selector support
kai-orion Aug 25, 2026
133a68f
test: Add Vitest test setup
kai-orion Aug 25, 2026
2cc9f31
feat(util): Add state-sheet compiler and createStyleSheet util
kai-orion Aug 26, 2026
1be18ff
feat(util): Support CSS at-rules in state-sheet compiler
kai-orion Aug 26, 2026
ea46e22
feat(focus-ring): add persistent API, styles, and tests
kai-orion Aug 26, 2026
6a417d5
ai: Document Chrome 150+ standards
kai-orion Aug 26, 2026
aaf52e5
fix(ripple): Refactor ripple tokens, timing & behavior; add tests
kai-orion Aug 26, 2026
76c9bf7
feat(util): Recognize @starting-style as wrapper at-rule
kai-orion Aug 26, 2026
4cc43ab
ai: Add a11y guidelines to agent docs
kai-orion Aug 26, 2026
ed6d5ab
refactor(badge): Enhance badge API and docs
kai-orion Aug 26, 2026
0940760
fix(util): Respect partial/null state tokens in compiler
kai-orion Aug 26, 2026
9dab867
fix(badge): Fix badge flex sizing and add interval demo
kai-orion Aug 27, 2026
77ea687
feat(util): Add token forwarding and overrides
kai-orion Aug 27, 2026
2ed0878
dev: Execute demo scripts in docs and add badge demo
kai-orion Aug 27, 2026
d6a0a87
extension: Add vscode-mdc VS Code extension package
kai-orion Aug 27, 2026
57bcb54
fix(icon): Align icon tokens with new style schema
kai-orion Aug 28, 2026
dfad318
feat: Add styles & token engine with compiler and tests
kai-orion Sep 1, 2026
6a382ea
feat: Add style transformers and schema tests
kai-orion Sep 1, 2026
9de7f80
chore: Remove tokens utils and tests
kai-orion Sep 1, 2026
9e8295b
refactor: Refactor badge & icon styles, add badge events
kai-orion Sep 1, 2026
1772c00
ci: Add GitHub CI workflows: build & test
kai-orion Sep 1, 2026
b7bf5e8
feat: Add variant-aware style compiler & tokens
kai-orion Sep 2, 2026
8252e8e
css(icon): export schema, add demo, inject tokens
kai-orion Sep 3, 2026
a019a7c
css(focus-ring): Migrate focus-ring to new styles API
kai-orion Sep 3, 2026
f54e62f
fix(css): Handle comma-separated :host selectors in parser
kai-orion Sep 3, 2026
ca5fe05
test: Add styles playground tests and npm scripts
kai-orion Sep 3, 2026
2bb99de
css(elevation): Refactor elevation tokens & styles, update demos/tests
kai-orion Sep 3, 2026
fe24c33
css(divider): Add Divider component interface, styles, and tests
kai-orion Sep 3, 2026
10114a2
test: Add at-rules selector mapping tests
kai-orion Sep 3, 2026
98cca04
test: Rename @anchor to @state; expand at-rule tests
kai-orion Sep 4, 2026
8094ee1
feat: Add pure style engine and at-rules compiler
kai-orion Sep 4, 2026
4d7d79b
fix: Simplify style trigger API
kai-orion Sep 4, 2026
28dc5f1
fix: Fix style state resolution and token compatibility
kai-orion Sep 4, 2026
366bde5
chore: Remove legacy token utilities
kai-orion Sep 4, 2026
e2d89b0
refactor(css): Refactor style compilers and state rewrites
kai-orion Sep 5, 2026
ee3a518
extension: Add schema-aware MDC IDE analysis
kai-orion Sep 5, 2026
cbdf93a
fix(css): Prune inactive state dimensions in state compiler
kai-orion Sep 5, 2026
43d12b8
chore: Add component definition barrel exports
kai-orion Sep 6, 2026
388069c
refactor: Refactor style utils into modular compiler stack
kai-orion Sep 6, 2026
37587f0
chore: Add utility barrel exports
kai-orion Sep 6, 2026
823e8d6
chore: Restructure MDC exports and context provider
kai-orion Sep 6, 2026
c3d6efe
feat(css): Introduce CSSLike/MDCStyleSheet and Lit adapters
kai-orion Sep 6, 2026
310731a
refactor(focus-ring): use expandShape, fix imports
kai-orion Sep 6, 2026
97d40d0
refactor(elevation): add demos, interface & style refactor
kai-orion Sep 6, 2026
db4ee28
refactor(icon): Refine icon styling and exports
kai-orion Sep 6, 2026
1852673
refactor(divider): Refine divider styling and exports
kai-orion Sep 6, 2026
43c0756
fix(icon): Fix icon stylesheet layer names
kai-orion Sep 6, 2026
7f19e82
refactor(ripple): Modernize ripple tokens and API
kai-orion Sep 6, 2026
c5a1ae4
refactor(card): Migrate card to new style/token system
kai-orion Sep 6, 2026
5907aed
feat(switch): Add opacity controller and refactor MDCSwitch render
kai-orion Sep 6, 2026
b41c39f
refactor(switch): Refactor switch styling tokens
kai-orion Sep 6, 2026
51068d0
refactor(css): Add at-rule handlers and hoisting refactor
kai-orion Sep 6, 2026
c29c2ae
chore(css): Split CSS at-rule specs into focused suites
kai-orion Sep 6, 2026
0b901b7
chore: Refresh agent docs and workspace settings
kai-orion Sep 7, 2026
2217cf7
test(css): Expand @state spec and add empty-emission tests
kai-orion Sep 7, 2026
dde4a11
test(css): expand transform-when.spec coverage
kai-orion Sep 7, 2026
2d91c37
refactor(css): Add variant triggers & tighten at-rules compiler
kai-orion Sep 8, 2026
e88c54e
refactor: Extract styles to @sandlada/styles
kai-orion Sep 8, 2026
7f6b0d2
extension: Migrate vscode-mdc to @sandlada/styles compiler
kai-orion Sep 8, 2026
54b3141
feat(styles): add table-based trigger pipeline
kai-orion Sep 8, 2026
f54a1c7
fix(styles): Unify styles compiler; remove legacy At-Rules DSL
kai-orion Sep 9, 2026
035fd5d
feat(dev-app): Add styles playground to dev-app
kai-orion Sep 9, 2026
f1fd757
chore: Integrate @sandlada/styles build and rolldown plugin
kai-orion Sep 9, 2026
c0f9dae
fix(styles): Fix @state host selector merging
kai-orion Sep 9, 2026
8f9f45d
fix(styles): Refine @variant host hoisting semantics
kai-orion Sep 9, 2026
c70560f
fix(styles): Fix host-selector parsing and comment stripping
kai-orion Sep 9, 2026
b221109
fix(styles): Discard wildcard/negation @variant blocks
kai-orion Sep 9, 2026
9b760d5
fix(styles): Validate :host mounting early in @when
kai-orion Sep 9, 2026
1c5ef8e
fix(styles): Fix host detection and at-rule edge cases
kai-orion Sep 9, 2026
b02877f
fix(styles): Handle declaration arity and combinator spacing (BUG-09/10)
kai-orion Sep 9, 2026
c1e371a
fix(styles): Remove host shell splitting in @state
kai-orion Sep 10, 2026
f3489e5
refactor(styles): Refactor @sandlada/styles into layered subpackages
kai-orion Sep 10, 2026
d1c5c92
test(styles): Expand @state selector coverage
kai-orion Sep 10, 2026
6f254cd
test(styles): Update @when/@state spec docs and tests
kai-orion Sep 10, 2026
7e7abda
test(styles): Update @variant spec contract
kai-orion Sep 10, 2026
283b9d8
test(styles): Align @state canonicalization and layer rules
kai-orion Sep 10, 2026
faa9ca7
refactor(styles): reorganize compiler pipeline
kai-orion Sep 11, 2026
deed3ee
feat(vscode): add extension packaging and smoke tests
kai-orion Sep 11, 2026
a96536f
ci: Restrict CI to main branch
kai-orion Sep 11, 2026
2e02336
dev-app: add title context + sidebar sections
kai-orion Sep 12, 2026
0e7fe86
dev-app: Add responsive docs sidebar dialog
kai-orion Sep 12, 2026
e356007
fix(vscode-mdc): allow shorthand virtual token bases
kai-orion Sep 12, 2026
c04cbab
feat(styles): Add joint n-dimensional token support
kai-orion Sep 12, 2026
38edf3f
refactor(typography): Add typography token schema and styles
kai-orion Sep 12, 2026
a879e7d
fix(typography): Rename typography leading tokens and polish a11y
kai-orion Sep 12, 2026
1c31926
feat(styles): Update a11y at-rules and VS Code snippets
kai-orion Sep 12, 2026
0c3d534
refactor(divider): Add divider style definition and exports
kai-orion Sep 12, 2026
59f96f8
refactor(ripple): Add ripple style definition and fix imports
kai-orion Sep 12, 2026
3a2ce73
refactor(focus-ring): Add focus-ring styles and definition
kai-orion Sep 12, 2026
ef7d7d6
chore(button): add button style definitions [prototype]
kai-orion Sep 12, 2026
0dca21b
refactor(button): Add button token schema and text toggle support
kai-orion Sep 12, 2026
eed7d2a
refactor(button): Refactor button internals into flat layout [prototype]
kai-orion Sep 14, 2026
8bc20c5
refactor(carousel): migrate to @sandlada/styles definition system
kai-orion Oct 4, 2026
6cb7c0e
refactor(card): migrate to new styles/schema definition system
kai-orion Oct 4, 2026
9cc6796
refactor: restructure component definitions into per-component folders
kai-orion Oct 4, 2026
4be10b7
feat(utils/style): add token definition and expansion utilities
kai-orion Oct 5, 2026
fe566cd
refactor: migrate base components from @sandlada/styles/schema to loc…
kai-orion Oct 5, 2026
0d2390b
refactor: migrate from @sandlada/styles/schema to local style utilities
kai-orion Oct 5, 2026
88bcf8f
chore: remove styles lib
kai-orion Oct 5, 2026
2ef4691
chore: remove vscode-mdc lib
kai-orion Oct 5, 2026
63e76e5
chore: Remove @sandlada/styles package and Styles Playground
kai-orion Oct 5, 2026
34eb50a
docs: update AGENTS.md guide and add .playwright to gitignore
kai-orion Oct 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build

on:
push:
branches:
- main
pull_request:
branches:
- '**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 24

- name: Install dependencies
run: npm i

- name: Build package
run: npm run build:all

- name: Build TypeScript declarations
run: npm run build:dts:all
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test

on:
push:
branches:
- main
pull_request:
branches:
- '**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: Test
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 24

- name: Install dependencies
run: npm i

- name: Run tests
run: npm run test:all
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ node_modules
.rollup.cache*
dist
dist-ssr
# VS Code extension packaging
*.vsix
build
**/demo/output/
!docs
*.local
test-report
Expand Down Expand Up @@ -55,10 +58,28 @@ dist
.copilot
.gemini
.jules
.agents
.teamwork
.opencode
!.opencode/skills
.superpower
docs/superpower
docs/.superpower
docs/superpowers
docs/.superpowers
.superpower
.superpowers
*.md
!README.md
!AGENTS.md
!CLAUDE.md
!CODE_OF_CONDUCT.md
!CONTRIBUTING.md
!SECURITY.md
!docs/*.md
!SPEC.md
!USAGE.md
*.py
.playwright
.playwright-cli
.playwright-mcp
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"bierner.markdown-footnotes",
"bierner.markdown-mermaid",
"esbenp.prettier-vscode",
]
],
}
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch MDC Extension (F5)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/packages/vscode-mdc",
"${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/packages/vscode-mdc/dist/**/*.cjs"
],
"preLaunchTask": "npm: build:vscode"
}
]
}
34 changes: 17 additions & 17 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"terminal.integrated.sendKeybindingsToShell": true,
"[**/package.json]": {
"editor.formatOnSave": false
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.addMissingImports.ts": "always",
"source.fixAll.markdownlint": "always",
"source.fixAll.ts": "always",
"source.organizeImports": "always",
"source.organizeLinkDefinitions": "always",
"source.removeUnusedImports": "never",
"source.sortImports": "always"
},
"[**/src/**]": {
"editor.codeActionsOnSave": {
"source.addMissingImports.ts": "always",
"source.fixAll.markdownlint": "always",
"source.fixAll.ts": "always",
"source.organizeImports": "always",
"source.organizeLinkDefinitions": "always",
"source.removeUnusedImports": "never",
"source.sortImports": "always"
},
"editor.formatOnSave": true
"[markdown]": {
"editor.fontFamily": "Jetbrains Mono, Noto Sans Mono CJK TC, Noto Sans Mono CJK SC"
},
"explorer.fileNesting.expand": true,
"explorer.fileNesting.patterns": {
Expand All @@ -23,8 +21,10 @@
"tsconfig.json": "tsconfig.*.json",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, bun.lock",
"README.md": "SECURITY.md, LICENSE, CONTRIBUTING.md, CODE_OF_CONDUCT.md",
"index.ts": "README.md, *.ts",
"AGENTS.md": "AGENTS.md, GEMINI.md, CLAUDE.md",
".gitattributes": ".gitatttributes, .gitignore",
"PROJECT.md": "ORIGINAL_REQUEST.md, TASK.md, TEST_INFRA.md, TEST_READY.md",
},
"betterAlign.surroundSpace": {
"arrow": [
Expand All @@ -41,9 +41,7 @@
],
"comment": -1
},
"editor.codeActionsOnSave": {},
"editor.cursorSmoothCaretAnimation": "on",
"editor.formatOnSave": false,
"editor.indentSize": 4,
"editor.smoothScrolling": true,
"editor.tabSize": 4,
Expand All @@ -57,7 +55,9 @@
"js/ts.format.semicolons": "remove",
"js/ts.preferences.importModuleSpecifier": "non-relative",
"js/ts.preferences.quoteStyle": "single",
"js/ts.experimental.useTsgo": false,
"js/ts.experimental.useTsgo": true,
"terminal.integrated.smoothScrolling": true,
"workbench.list.smoothScrolling": true
"workbench.list.smoothScrolling": true,
"editor.detectIndentation": false,
"editor.insertSpaces": true,
}
12 changes: 12 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build:vscode",
"problemMatcher": [],
"label": "npm: build:vscode",
"detail": "Builds the MDC VSCode extension bundle"
}
]
}
Loading
Loading