Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
b781c08
chore: clean up files
rubencarvalho Jul 29, 2025
8ace404
chore: revert README
rubencarvalho Jul 29, 2025
9a73140
chore: add lint-staged to root
rubencarvalho Jul 29, 2025
f301c56
chore: run constraints fix
rubencarvalho Jul 29, 2025
d4cab6a
chore: add commitlint to root
rubencarvalho Jul 29, 2025
5880b0e
chore: move patch package to root
rubencarvalho Jul 29, 2025
6951f31
chore: fix circleCI paths
rubencarvalho Jul 29, 2025
bb41ec1
chore: fix circleCI commands
rubencarvalho Jul 29, 2025
aa6e3bd
chore: create baseline
rubencarvalho Jul 29, 2025
94fd87f
chore: skip cache restore on circleci
rubencarvalho Jul 29, 2025
08c3425
chore: lets see circle ci vrts lets see
rubencarvalho Jul 29, 2025
d88857d
chore: create review site, will it work now
rubencarvalho Jul 29, 2025
60253f6
chore: add commands back in
rubencarvalho Jul 29, 2025
037c062
chore: don't update baselines
rubencarvalho Jul 29, 2025
2a7d49d
chore: update golden images cache
rubencarvalho Jul 29, 2025
7bef2f9
chore: revert to base path without first-gen prefix
rubencarvalho Jul 29, 2025
a600d98
chore: need to cd to first gen
rubencarvalho Jul 29, 2025
2d1a15b
chore: pull main
rubencarvalho Jul 30, 2025
5e2b6a1
chore: update golden image cache
rubencarvalho Jul 30, 2025
9e4938b
chore: restore all caches
rubencarvalho Jul 30, 2025
349196f
chore: fix coveralls
rubencarvalho Jul 30, 2025
bc575a3
chore: fix docs workflow
rubencarvalho Jul 30, 2025
36712ed
chore: fix tachometer paths
rubencarvalho Jul 30, 2025
416b5e8
chore: fix storybook deployment and prettier
rubencarvalho Jul 30, 2025
4400f65
chore: fix storybook deployment
rubencarvalho Jul 30, 2025
464b8d9
chore: add workdir to lint
rubencarvalho Jul 30, 2025
a4611b3
chore: revert workdir
rubencarvalho Jul 30, 2025
9ba3bcc
chore: fix gitignore and eslint notice path
rubencarvalho Jul 30, 2025
01440dd
chore: fix docs build css and ts paths
rubencarvalho Jul 30, 2025
b501b4c
chore: update eslintrc notice template file path
rubencarvalho Jul 30, 2025
c8d37db
chore: make absolute paths for all eslintrc
rubencarvalho Jul 30, 2025
4658adc
chore: add build:eleventy as a dependency of build
rubencarvalho Jul 30, 2025
012cb47
chore: cleanup some documentation remains in root and update gitignore
rubencarvalho Jul 30, 2025
0d2406d
chore: fix gitignore to exclude broadly caught files
rubencarvalho Jul 30, 2025
523bd7a
chore: clean root-level projects
rubencarvalho Jul 30, 2025
bb04b3c
chore: remove netlify remnants
rubencarvalho Jul 30, 2025
f185bf2
chore: put workdir in eslint task
rubencarvalho Jul 30, 2025
8ddc834
chore: fix paths for urls-smoke-test
rubencarvalho Jul 30, 2025
b6dd084
Merge branch 'main' into ruben/phase-0-clean
graynorton Aug 15, 2025
b58e7ba
chore: fail if no baseline images restored
graynorton Aug 18, 2025
fbd1356
chore: test path changes on hcm-visual
graynorton Aug 18, 2025
0f5ee69
chore: troubleshoot hcm-visual
graynorton Aug 18, 2025
046785f
chore: restore from cache for hcm-visual
graynorton Aug 18, 2025
a56dc9f
chore: temporary hcm-specific golden image hash
graynorton Aug 18, 2025
0a19712
chore: attempt path changes on matrixed vrts
graynorton Aug 18, 2025
fe30e06
chore: restore from cache for matrixed vrts
graynorton Aug 18, 2025
948d3f7
chore: update golden images hash
rubencarvalho Aug 20, 2025
aeb9261
chore: remove workdir from lint action
rubencarvalho Aug 20, 2025
db4baea
chore: comment out if conditions
rubencarvalho Aug 20, 2025
8c9c5c6
chore(alert-banner): refactor AlertBanner to extend AlertBannerBase (…
blunteshwar Aug 5, 2025
ce24790
chore(divider): refactor with abstracted base class (#5639)
Rajdeepc Aug 8, 2025
f6df5fe
chore(status-light): refactor with abstracted base class (#5652)
rubencarvalho Aug 8, 2025
642a233
chore(progress-circle): refactor with abstracted base class (#5651)
nikkimk Aug 13, 2025
53ba622
chore(badge): abstract base class logic (#5648)
TarunAdobe Aug 14, 2025
93a876f
chore(asset): abstract base class logic (#5696)
marissahuysentruyt Aug 20, 2025
300be81
Merge branch 'main' into ruben/phase-0-clean
rubencarvalho Aug 25, 2025
20d3bf8
feat: add base classes for components
rubencarvalho Aug 25, 2025
e453c50
chore: clean up scripts
rubencarvalho Aug 26, 2025
a3e7744
chore: update changesets config
rubencarvalho Aug 27, 2025
bcfc242
feat: create second-gen directory structure and
rubencarvalho Aug 28, 2025
bc33fc8
chore: enforce consistent dependencies within each generation separately
rubencarvalho Aug 28, 2025
b7b63ec
chore: make first-gen import second-gen base
rubencarvalho Aug 29, 2025
423591d
chore: rename @swc/base package in 2nd gen to @swc/core
rubencarvalho Aug 29, 2025
2943582
chore: move core shared packages to 2nd gen
rubencarvalho Aug 29, 2025
e0fbcd2
chore: move to vite and make 1st-gen storybook work
rubencarvalho Aug 29, 2025
9c43b08
chore: fix TS errors on first-gen
rubencarvalho Aug 29, 2025
d5b4a16
chore: use external imports in 2nd gen
rubencarvalho Aug 30, 2025
220d218
chore: render second-gen badge stories
rubencarvalho Aug 30, 2025
10354a8
chore: fix imports and default value
rubencarvalho Sep 1, 2025
752a704
chore: fix license.js
rubencarvalho Sep 1, 2025
46d19a9
chore: try and fix stylelint
rubencarvalho Sep 1, 2025
e946517
chore: merge main
rubencarvalho Sep 1, 2025
3d1728a
chore: make stylelint be at the root
rubencarvalho Sep 1, 2025
04326ab
feat: add postcss
rubencarvalho Sep 1, 2025
d4a9638
chore: added a todo file to keep track
rubencarvalho Sep 1, 2025
0dfe6c7
chore: re-export shared/base from first-gen
rubencarvalho Sep 1, 2025
1e3b8e0
chore: fix lint-staged command
rubencarvalho Sep 1, 2025
b2bca3b
chore: allow @swc/components to be referenced
rubencarvalho Sep 1, 2025
329277d
chore: add TODO.md to keep track of things I have to do
rubencarvalho Sep 1, 2025
7794b5c
chore: forgot to export the defineElement
rubencarvalho Sep 1, 2025
79881e3
chore: add storybook-static to gitignore
rubencarvalho Sep 2, 2025
ca9df23
chore: add global-styles to storybook
rubencarvalho Sep 3, 2025
0ef0f89
chore: add simple import sort for 2nd gen
rubencarvalho Sep 3, 2025
51ab8c8
feat: move progress-circle-base to 2nd gen
rubencarvalho Sep 3, 2025
1839997
feat(AI): let Cursor help me generate vite entries automatically for …
rubencarvalho Sep 3, 2025
d4dca8a
chore: simplify imports
rubencarvalho Sep 3, 2025
0c04015
chore: remove file extensions - they're noisy
rubencarvalho Sep 3, 2025
68c6025
chore: add progress circle stories
rubencarvalho Sep 3, 2025
bcd577d
chore: add CEM generation, because why not
rubencarvalho Sep 3, 2025
f544319
feat: move asset base to core
rubencarvalho Sep 5, 2025
5dd6b19
feat: create asset component in second-gen
rubencarvalho Sep 5, 2025
cd43721
feat: move divider base to core
rubencarvalho Sep 5, 2025
9fc7674
feat: create divider component in second-gen
rubencarvalho Sep 5, 2025
06a7f78
feat: move alert-banner base to core
rubencarvalho Sep 5, 2025
4e4a4b7
feat: move status-light base to core
rubencarvalho Sep 5, 2025
4f0c590
feat: add status-light in 2nd gen
rubencarvalho Sep 9, 2025
5448e54
feat: add alert banner to 2nd gen
rubencarvalho Sep 10, 2025
2202daf
fix: fix window.__swc injection
rubencarvalho Sep 19, 2025
dc74fb2
docs: add storybook plugins (barebones) (#5737)
castastrophe Sep 19, 2025
b6303cf
feat: add basic playwright setup
rubencarvalho Sep 19, 2025
347f490
chore: move vitest config
rubencarvalho Sep 19, 2025
29e8b22
chore: refactor tests to use vitest
rubencarvalho Sep 19, 2025
9a2da78
chore: add minimum vitest addon setup (WIP)
rubencarvalho Sep 19, 2025
5a7b110
chore: get vitest setup closer to run in storybook (WIP)
rubencarvalho Sep 19, 2025
9c9dbf3
chore: refresh lock file
rubencarvalho Sep 19, 2025
8be71c9
chore: fix addons array in storybook
rubencarvalho Sep 19, 2025
fd099dd
chore: remove alert-banner from 2nd gen swc
rubencarvalho Sep 25, 2025
2c747a1
chore: remove top-level resolutions
rubencarvalho Sep 25, 2025
d8e4591
chore: fix status-light story import
rubencarvalho Sep 25, 2025
841b5c2
chore: optimize test deps
rubencarvalho Sep 25, 2025
e548380
chore: merge main
rubencarvalho Sep 30, 2025
3818ffe
chore: fix COPYRIGHTs
rubencarvalho Sep 30, 2025
437735c
chore: remove redundant COPYRIGHT
rubencarvalho Sep 30, 2025
74a2b4e
feat(badge): s2 styling and render (#5718)
castastrophe Oct 2, 2025
7084912
chore: update ci config, docs and vrt site build steps (#5748)
TarunAdobe Oct 2, 2025
9dc9989
feat(progress-circle): migrate progress circle component to second-ge…
castastrophe Oct 2, 2025
7fe1a17
chore: add second-gen core components to CEM analyzer
rubencarvalho Oct 6, 2025
d80c78e
chore: fix lint-staged path
rubencarvalho Oct 6, 2025
20f5e5f
chore: merge main
rubencarvalho Oct 6, 2025
047f539
chore: don't bundle lit dependencies
rubencarvalho Oct 6, 2025
9d97138
chore: add extension to exports
rubencarvalho Oct 6, 2025
cd77556
chore: Clean up Barebones Badge and ProgressCircle (part of SWC-1057)…
graynorton Oct 7, 2025
f198130
chore: export version.js
rubencarvalho Oct 8, 2025
a3fd04a
chore: merge main
rubencarvalho Oct 9, 2025
d9fc417
feat: create report-abuse-button
rubencarvalho Oct 9, 2025
f87eed9
chore: fix dts relative paths instead of package names and make eslin…
rubencarvalho Oct 10, 2025
6eda391
feat: start simplifying tests
rubencarvalho Oct 10, 2025
264093a
fix: fix vite config for storybook and bump its version
rubencarvalho Oct 10, 2025
763aa2f
Merge branch 'barebones' into barebones-testing-updates
rubencarvalho Oct 10, 2025
cec8241
chore: standarize testing setup for badge
rubencarvalho Oct 10, 2025
7062ddd
chore: add comment
rubencarvalho Oct 10, 2025
80814bc
chore: fix tsconfig for tests
rubencarvalho Oct 12, 2025
775d645
chore(docs): create migration guide for Spectrum CSS to barebones [SW…
castastrophe Oct 13, 2025
5dcdae8
feat(divider): migrate to second-gen styles and architecture (#5798)
rise-erpelding Oct 15, 2025
ebfe0dd
chore: merge main
rubencarvalho Oct 17, 2025
7898655
feat(status-light)!: migrate status-light to s2 styles and second-gen…
marissahuysentruyt Oct 20, 2025
b140e65
chore: update golden images hash (#5817)
rubencarvalho Oct 21, 2025
9d536d6
docs: add contributor docs (#5816)
graynorton Oct 21, 2025
d48c20d
fix(tooling): patch changesets CLI to support yarn npm publish (#5821)
rubencarvalho Oct 23, 2025
ef33088
chore: pin 2nd-gen dependencies (#5820)
rubencarvalho Oct 24, 2025
2587303
chore: hide and ignore main lingering assets (#5827)
rubencarvalho Oct 24, 2025
5e35222
chore: make changelog generation work for multiple packages and updat…
rubencarvalho Oct 27, 2025
c7a695e
chore: merge main (#5831)
rubencarvalho Oct 27, 2025
a2c2853
chore(barebones): improve infrastructure and testing setup (#5811)
rubencarvalho Oct 27, 2025
502ffc8
chore: command orchestration (#5791)
TarunAdobe Oct 27, 2025
2074807
chore: standardize package and workspace naming conventions (#5838)
rubencarvalho Oct 29, 2025
0010699
chore: merge main
rubencarvalho Oct 29, 2025
6aa9f5b
Merge remote-tracking branch 'origin/main' into barebones
rubencarvalho Oct 29, 2025
e3ebd74
docs: improve and clean up contributor docs for barebones merge (#5840)
graynorton Oct 29, 2025
69f54db
chore: update core dependencies (#5841)
rubencarvalho Oct 29, 2025
af43c3f
chore: update Storybook to v10 (#5844)
rubencarvalho Oct 29, 2025
ec211ef
docs: remove contributor guides from storybook (#5846)
graynorton Oct 30, 2025
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
  •  
  •  
  •  
23 changes: 15 additions & 8 deletions .changeset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ find the full documentation for it [in our repository](https://github.com/change

Changesets are a way to manage versions and changelogs for monorepos. Each changeset:

- Describes changes made in one or more packages
- Indicates the type of change (major, minor, patch)
- Contains a brief markdown summary of the changes
- Describes changes made in one or more packages
- Indicates the type of change (major, minor, patch)
- Contains a brief markdown summary of the changes

## How to Add a Changeset

Expand All @@ -29,18 +29,25 @@ Changesets are a way to manage versions and changelogs for monorepos. Each chang

The command will create a new markdown file in the `.changeset` directory with your changes.

## Important: @spectrum-web-components/core and component updates

When making changes to `@spectrum-web-components/core`, you **must** also include the corresponding `@spectrum-web-components` component in the same changeset to ensure the changes appear in the component's changelog. This is because `@spectrum-web-components/core` changes are internal and don't automatically propagate to the component changelogs.

**Best practice**: Create a single changeset that includes both packages when updating core functionality that affects a specific component.

## Example Changeset

A typical changeset file looks like this:

```markdown
---
'@spectrum-web-components/core': patch
'@spectrum-web-components/button': minor
'@spectrum-web-components/theme': patch
---

- **Added**: Added new variant `tertiary` to `<sp-button>` component [#9999](https://github.com/adobe/spectrum-web-components/pull/9999)
- **Fixed**: Fixed `<sp-theme>` theme compatibility issues [#10000](https://github.com/adobe/spectrum-web-components/pull/10000)
- **Added**: Added new variant `tertiary` to `<sp-button>` component [#9999](https://github.com/adobe/spectrum-web-components/pull/9999)
- **Fixed**: Fixed `<sp-theme>` theme compatibility issues [#10000](https://github.com/adobe/spectrum-web-components/pull/10000)
```

For our guidelines on writing changesets, see [our writing changesets guide](https://opensource.adobe.com/spectrum-web-components/guides/writing-changesets/).
Expand All @@ -61,6 +68,6 @@ We have a quick list of common questions to get you started engaging with this p

## Additional Resources

- [Changesets Documentation](https://github.com/changesets/changesets)
- [Common Questions](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
- [Detailed Release Process](https://github.com/changesets/changesets/blob/main/docs/detailed-explanation.md)
- [Changesets Documentation](https://github.com/changesets/changesets)
- [Common Questions](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
- [Detailed Release Process](https://github.com/changesets/changesets/blob/main/docs/detailed-explanation.md)
16 changes: 13 additions & 3 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,22 @@
}
],
"commit": false,
"fixed": [["@spectrum-web-components/*"]],
"linked": [],
"fixed": [
[
"@spectrum-web-components/*",
"!@spectrum-web-components/core",
"!@spectrum-web-components/1st-gen",
"!@spectrum-web-components/2nd-gen"
]
],
"linked": [["@adobe/swc", "@spectrum-web-components/core"]],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [],
"ignore": [
"@spectrum-web-components/1st-gen",
"@spectrum-web-components/2nd-gen"
],
"snapshot": {
"useCalculatedVersion": true,
"prereleaseTemplate": "{tag}.{datetime}"
Expand Down
120 changes: 69 additions & 51 deletions .circleci/config.yml

Large diffs are not rendered by default.

52 changes: 52 additions & 0 deletions .cursor/rules/contributor-doc-update.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
description: Useful for updating auto-generated navigation and validating links in the contributor docs
alwaysApply: false
---

# Contributor docs navigation and link validation

## When to apply this rule

Recognize and apply this rule when the user requests any of the following:
- Update contributor docs navigation
- Update nav / TOC / breadcrumbs in contributor docs
- Regenerate contributor docs
- Validate/verify links in contributor docs
- Fix broken links in contributor docs
- Any mention of "CONTRIBUTOR-DOCS" or "contributor docs" with "update", "nav", "links", or "verify"

## Instructions location

**Primary path:** `CONTRIBUTOR-DOCS/01_contributor-guides/07_authoring-contributor-docs/01_ai-agent-instructions.md`

## What to do

1. **Verify the instructions file exists** at the path above
- If the file exists, read it and follow the instructions for "Role 1: Operator"
- If the file does NOT exist, see "Self-correction procedure" below

2. **Follow the AI agent instructions** to:
- Run the nav update script (which automatically validates links)
- Handle any broken links that are reported
- Report results to the user

## Self-correction procedure

If the instructions file is not found at the expected path:

1. Search for the file using: `glob_file_search` with pattern `**/ai-agent-instructions.md`
2. Filter results to find the one in `CONTRIBUTOR-DOCS/` folder
3. Read the found file to confirm it contains the nav update instructions
4. **Update this rule file** with the new path by modifying the "Primary path" line above
5. Inform the user that you've updated the rule with the new location
6. Continue with the nav update process

## Quick reference

The nav update process typically involves:
- Running a Node.js script in the authoring-contributor-docs folder
- The script automatically updates breadcrumbs, TOC, and validates all links
- If broken links are found, fix straightforward issues automatically
- Only consult the user for ambiguous cases

Execution time is typically 20-200ms for the entire CONTRIBUTOR-DOCS tree.
95 changes: 26 additions & 69 deletions .eslintrc.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,16 @@
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:lit-a11y/recommended",
"plugin:require-extensions/recommended"
"plugin:prettier/recommended"
],
"ignorePatterns": ["CONTRIBUTOR-DOCS/**/*"],
"overrides": [
{
"extends": ["plugin:jsonc/recommended-with-jsonc"],
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"jsonc/sort-keys": ["warn"],
"notice/notice": "off"
"jsonc/sort-keys": ["warn"]
}
},
{
Expand Down Expand Up @@ -74,97 +72,56 @@
"cpu",
"publishConfig"
],
"pathPattern": "^$" // Top-level properties
"pathPattern": "^$"
},
{
/*
* This rule excludes export conditions from alphabetical sorting.
* Since node.js processes export conditions in order and chooses the
* first match, they need to be ordered logically, not alphabetically.
*/
"order": { "type": "asc" },
"pathPattern": "^(?!exports\\[).*" // All properties except export conditions
"pathPattern": "^(?!exports\\[).*"
}
]
}
},
{
"files": ["scripts/*"],
"extends": ["./1st-gen/.eslintrc.json"],
"files": ["1st-gen/**/*"],
"rules": {
"no-console": ["off"]
"notice/notice": [
"error",
{
"mustMatch": "Copyright [0-9]{0,4} Adobe. All rights reserved.",
"templateFile": "config/license.js"
}
]
}
},
{
"files": ["react/**/*.ts"],
"extends": ["./2nd-gen/.eslintrc.json"],
"files": ["2nd-gen/**/*"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
"notice/notice": [
"error",
{
"mustMatch": "Copyright [0-9]{0,4} Adobe. All rights reserved.",
"templateFile": "../../../config/license.js"
}
]
}
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"notice",
"@spectrum-web-components",
"import",
"require-extensions"
],
"plugins": ["@typescript-eslint"],
"root": true,
"rules": {
"@spectrum-web-components/prevent-argument-names": [
"error",
["e", "ev", "evt", "err"]
],
"curly": ["error", "all"],
"import/extensions": [
"error",
"ignorePackages",
{
"ts": "never"
}
],
"import/prefer-default-export": "off",
"lit-a11y/click-events-have-key-events": [
"error",
{
"allowList": [
"sp-button",
"sp-action-button",
"sp-checkbox",
"sp-radio",
"sp-switch",
"sp-menu-item",
"sp-clear-button",
"sp-underlay"
]
}
],
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
],
"no-debugger": 2,
"notice/notice": [
"error",
{
"mustMatch": "Copyright [0-9]{0,4} Adobe. All rights reserved.",
"templateFile": "config/license.js"
}
],
"sort-imports": [
"error",
{
"allowSeparatedGroups": false,
"ignoreCase": true,
"ignoreDeclarationSort": true,
"ignoreMemberSort": false
}
]
"no-debugger": 2
}
}
Loading
Loading