Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .changeset/fix-cards-gallery-inheritance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@adobe/spectrum-component-api-schemas": patch
---

fix(schemas): make gallery variant inherit baseCard properties

## Component Schemas Changed (0 added, 0 deleted, 1 updated)

**Original Branch:** `main`
**New Branch:** `garthdb/fix-cards-options`

### Updates

**cards**

- Schema Structure: restructured gallery variant to inherit baseCard properties - Updated gallery variant to use allOf pattern with baseCard reference for consistent state property support
22 changes: 22 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export default {
"**/*.{js,jsx,ts,tsx,json,yml,yaml}": ["prettier --write"],
"**/*.md": (files) => {
// Filter out changeset files
const nonChangesetFiles = files.filter(
(file) => !file.includes(".changeset/"),
);
if (nonChangesetFiles.length === 0) return [];
return nonChangesetFiles.map(
(file) => `remark --use remark-gfm --use remark-github --output ${file}`,
);
},
"!**/pnpm-lock.yaml": [],
"!**/package-lock.json": [],
"!**/yarn.lock": [],
".changeset/*.md": (files) => {
return files.map(
(file) =>
`cd /Users/garthdb/Spectrum/spectrum-tokens && pnpm changeset-lint check-file ${file}`,
);
},
};
11 changes: 0 additions & 11 deletions .lintstagedrc.json

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"prettier": "^3.5.3",
"remark": "^15.0.1",
"remark-cli": "^12.0.1",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-github": "^12.0.0"
},
Expand Down
Loading
Loading