Skip to content

feat(schema): add strokeDashPattern to Styles (ADR-059)#171

Merged
nathanacurtis merged 5 commits into
release/schema-0.27.0-cli-0.23.0from
059-border-style
Jun 26, 2026
Merged

feat(schema): add strokeDashPattern to Styles (ADR-059)#171
nathanacurtis merged 5 commits into
release/schema-0.27.0-cli-0.23.0from
059-border-style

Conversation

@nathanacurtis

Copy link
Copy Markdown
Member

Summary

  • Adds StrokeDashPattern { dash: number; gap: number } structural interface to Styles
  • Adds strokeDashPattern?: StrokeDashPattern | null field — presence = dashed stroke, null/absent = solid
  • Adds 'strokeDashPattern' to StyleKey union
  • Matching JSON schema definitions (StrokeDashPattern, StrokeDashPatternStyleValue)
  • Not token-bindable (structural property, not a Style)
  • Schema version bump: 0.27.00.28.0 (MINOR — additive optional field)

Closes #122

Test plan

  • tsc -p tsconfig.build.json --noEmit passes
  • validate-schema.sh passes (5/5)
  • tsc --noEmit --strict tests/*.test-d.ts passes
  • Review ADR-059 in adr/059-border-style.md

🤖 Generated with Claude Code

nathanacurtis and others added 5 commits June 26, 2026 08:25
Add StrokeDashPattern { dash, gap } structural type and strokeDashPattern?: StrokeDashPattern | null field to Styles. Presence = dashed stroke; null/absent = solid. Not token-bindable. Bumps schema 0.27.0 → 0.28.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…arget

Revert premature 0.28.0 bump — strokeDashPattern folds into the active 0.27.0
release. Collapse the duplicate 0.28.0 changelog entry into 0.27.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nathanacurtis nathanacurtis merged commit 8ba297e into release/schema-0.27.0-cli-0.23.0 Jun 26, 2026
@nathanacurtis nathanacurtis deleted the 059-border-style branch June 26, 2026 13:13
nathanacurtis added a commit that referenced this pull request Jul 1, 2026
…li v0.23.0 (#176)

* chore: start @directededges/specs-schema v0.27.0 development

* chore: start @directededges/specs-cli v0.23.0 development

* docs: explain why a second data source is useful

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs(config): rename Data Sources page to sources, restructure with field sections

- Rename page title and sidebar label to `sources` (pill style)
- Remove redundant section header; lift subsections to top level
- Add intro prose explaining what sources is and the alias naming model
- Add per-field sections for alias, key, and data with type metadata
- Add bulleted list of scenarios that warrant a second source

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* adr(index): claim 059-border-style

* feat(schema): add strokeDashPattern to Styles (ADR-059) (#171)

* adr(index): claim 059-border-style

* feat(schema): add strokeDashPattern to Styles (ADR-059)

Add StrokeDashPattern { dash, gap } structural type and strokeDashPattern?: StrokeDashPattern | null field to Styles. Presence = dashed stroke; null/absent = solid. Not token-bindable. Bumps schema 0.27.0 → 0.28.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(cli): revert file: dep paths to published version ranges

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(schema): align version and changelog with release/schema-0.27.0 target

Revert premature 0.28.0 bump — strokeDashPattern folds into the active 0.27.0
release. Collapse the duplicate 0.28.0 changelog entry into 0.27.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(schema): correct version references 0.28.0 → 0.27.0 in ADR and types

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(agents): default ADR PR target to existing release branch

accept and create agents now use the active origin/release/* branch directly
rather than constructing a branch name from the ADR semver bump.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(adr): draft ADR-060 — Subcomponent.source for Figma source identity

Add optional source field to Subcomponent carrying pageId/nodeId/nodeType,
enabling reverse-direction tools to resolve SubcomponentRef entries to Figma
nodes without side-channels. MINOR bump (additive, optional field).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(schema): Subcomponent.source — Figma node identity (ADR-060) (#173)

* fix(adr-060): correct semver — no version bump, ships within 0.27.x release

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(schema): add Subcomponent.source for Figma node identity (ADR-060)

Adds optional source?: SubcomponentSource to Subcomponent, carrying
pageId/nodeId/nodeType from the originating Figma node. Enables
reverse-direction tools to resolve SubcomponentRef entries to Figma
nodes without side-channels. No version bump — ships within 0.27.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(adr-060): mark ACCEPTED, update INDEX

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs(config): wire up orphaned color/states pages, polish color intro

Both pages existed but weren't registered in the sidebar, making them
undiscoverable. Also rewrites the color page's weak intro and
restructures Options into Default/Values sections with a table.

* docs(site): add "How Specs fits in your workflow" homepage section

Adds a workflow diagram and concise bullets covering the plugin,
fetch/scan/generate, the in-development write bridge, transform, and
analyze.

* release: @directededges/specs-schema v0.27.0

* docs(site): update workflow diagram with prototypes and write-bridge loop

* release: @directededges/specs-cli v0.23.0

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@nathanacurtis nathanacurtis moved this to Done in Specs Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant