Skip to content

Commit 858ec01

Browse files
committed
chore: rename first-gen to 1st-gen and second-gen to 2nd-gen
- Rename first-gen directory to 1st-gen - Rename second-gen directory to 2nd-gen - Remove conflicting root .eslintrc.json (use flat config) - Fix 2nd-gen ESLint config to use root HEADER file - Update yarn.lock after clean reinstall
2 parents 556914e + ec211ef commit 858ec01

File tree

2,220 files changed

+10698
-4561
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,220 files changed

+10698
-4561
lines changed

.changeset/README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ find the full documentation for it [in our repository](https://github.com/change
88

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

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

1515
## How to Add a Changeset
1616

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

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

32+
## Important: @spectrum-web-components/core and component updates
33+
34+
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.
35+
36+
**Best practice**: Create a single changeset that includes both packages when updating core functionality that affects a specific component.
37+
3238
## Example Changeset
3339

3440
A typical changeset file looks like this:
3541

3642
```markdown
3743
---
44+
'@spectrum-web-components/core': patch
3845
'@spectrum-web-components/button': minor
3946
'@spectrum-web-components/theme': patch
4047
---
4148
42-
- **Added**: Added new variant `tertiary` to `<sp-button>` component [#9999](https://github.com/adobe/spectrum-web-components/pull/9999)
43-
- **Fixed**: Fixed `<sp-theme>` theme compatibility issues [#10000](https://github.com/adobe/spectrum-web-components/pull/10000)
49+
- **Added**: Added new variant `tertiary` to `<sp-button>` component [#9999](https://github.com/adobe/spectrum-web-components/pull/9999)
50+
- **Fixed**: Fixed `<sp-theme>` theme compatibility issues [#10000](https://github.com/adobe/spectrum-web-components/pull/10000)
4451
```
4552
4653
For our guidelines on writing changesets, see [our writing changesets guide](https://opensource.adobe.com/spectrum-web-components/guides/writing-changesets/).
@@ -61,6 +68,6 @@ We have a quick list of common questions to get you started engaging with this p
6168
6269
## Additional Resources
6370
64-
- [Changesets Documentation](https://github.com/changesets/changesets)
65-
- [Common Questions](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
66-
- [Detailed Release Process](https://github.com/changesets/changesets/blob/main/docs/detailed-explanation.md)
71+
- [Changesets Documentation](https://github.com/changesets/changesets)
72+
- [Common Questions](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
73+
- [Detailed Release Process](https://github.com/changesets/changesets/blob/main/docs/detailed-explanation.md)

.changeset/config.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,22 @@
77
}
88
],
99
"commit": false,
10-
"fixed": [["@spectrum-web-components/*"]],
11-
"linked": [],
10+
"fixed": [
11+
[
12+
"@spectrum-web-components/*",
13+
"!@spectrum-web-components/core",
14+
"!@spectrum-web-components/1st-gen",
15+
"!@spectrum-web-components/2nd-gen"
16+
]
17+
],
18+
"linked": [["@adobe/swc", "@spectrum-web-components/core"]],
1219
"access": "public",
1320
"baseBranch": "main",
1421
"updateInternalDependencies": "patch",
15-
"ignore": [],
22+
"ignore": [
23+
"@spectrum-web-components/1st-gen",
24+
"@spectrum-web-components/2nd-gen"
25+
],
1626
"snapshot": {
1727
"useCalculatedVersion": true,
1828
"prereleaseTemplate": "{tag}.{datetime}"

.changeset/short-pans-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@spectrum-web-components/status-light': patch
3+
---
4+
5+
**Fixed**: Added missing `accent` and `cyan` variant to status light.

.changeset/weak-streets-raise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@spectrum-web-components/overlay': patch
3+
---
4+
5+
- **Fixed**: Expanded `<overlay-trigger>` `type` property to accept all overlay types ('auto', 'hint', 'manual', 'modal', 'page') instead of the incorrect, previous restricted subset.

.circleci/config.yml

Lines changed: 48 additions & 48 deletions
Large diffs are not rendered by default.
Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,52 @@
11
---
2-
description: Useful for updating auto-generated content in the contributor docs
2+
description: Useful for updating auto-generated navigation and validating links in the contributor docs
33
alwaysApply: false
44
---
5-
If the user requests an update to the contributor docs (located in the CONTRIBUTOR_DOCS folder at the repository root), run the update process as described in the agent instructions within that folder.
65

7-
To locate the instructions, search for "ai-agent-instructions", or fall back to a recursive directory search if needed.
6+
# Contributor docs navigation and link validation
7+
8+
## When to apply this rule
9+
10+
Recognize and apply this rule when the user requests any of the following:
11+
- Update contributor docs navigation
12+
- Update nav / TOC / breadcrumbs in contributor docs
13+
- Regenerate contributor docs
14+
- Validate/verify links in contributor docs
15+
- Fix broken links in contributor docs
16+
- Any mention of "CONTRIBUTOR-DOCS" or "contributor docs" with "update", "nav", "links", or "verify"
17+
18+
## Instructions location
19+
20+
**Primary path:** `CONTRIBUTOR-DOCS/01_contributor-guides/07_authoring-contributor-docs/01_ai-agent-instructions.md`
21+
22+
## What to do
23+
24+
1. **Verify the instructions file exists** at the path above
25+
- If the file exists, read it and follow the instructions for "Role 1: Operator"
26+
- If the file does NOT exist, see "Self-correction procedure" below
27+
28+
2. **Follow the AI agent instructions** to:
29+
- Run the nav update script (which automatically validates links)
30+
- Handle any broken links that are reported
31+
- Report results to the user
32+
33+
## Self-correction procedure
34+
35+
If the instructions file is not found at the expected path:
36+
37+
1. Search for the file using: `glob_file_search` with pattern `**/ai-agent-instructions.md`
38+
2. Filter results to find the one in `CONTRIBUTOR-DOCS/` folder
39+
3. Read the found file to confirm it contains the nav update instructions
40+
4. **Update this rule file** with the new path by modifying the "Primary path" line above
41+
5. Inform the user that you've updated the rule with the new location
42+
6. Continue with the nav update process
43+
44+
## Quick reference
45+
46+
The nav update process typically involves:
47+
- Running a Node.js script in the authoring-contributor-docs folder
48+
- The script automatically updates breadcrumbs, TOC, and validates all links
49+
- If broken links are found, fix straightforward issues automatically
50+
- Only consult the user for ambiguous cases
51+
52+
Execution time is typically 20-200ms for the entire CONTRIBUTOR-DOCS tree.

.cursor/rules/github-description.mdc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Use the following labels to categorize pull requests. Only use labels that exist
9393
- `Browser: Edge (Legacy)`: Issue with pre-chromium Edge
9494
- `Browser: FireFox`: Firefox browser issues
9595
- `Browser: Safari`: Safari browser issues
96+
- `iOS`: iOS-specific issues and bugs
9697

9798
### Development and process labels
9899

@@ -107,11 +108,9 @@ Common additional labels include:
107108

108109
- `chore`: Routine tasks, maintenance, or non-feature changes
109110
- `dependencies`: Updates or changes to project dependencies
110-
- `docs`: Documentation updates or improvements
111-
- `enhancement`: Improvements to existing features
112-
- `feature`: New feature implementations
111+
- `Documentation`: Documentation updates or improvements
112+
- `feature`: New feature implementations or improvements to existing features
113113
- `i18n`: Internationalization and localization work
114-
- `iOS`: iOS-specific issues and bugs
115114
- `mobile`: Mobile platform issues and responsive design
116115
- `performance`: Performance-related improvements or regressions
117116
- `refactor`: Code restructuring and refactoring work

.cursor/rules/jira-ticket.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Use the following labels to categorize tickets appropriately:
185185
- `s2foundations`: Spectrum 2 Foundations related work
186186
- `spectrum2`: Spectrum 2 platform specific tasks
187187
- `team-processes`: Internal team workflow improvements
188-
- `testing`: Test implementation or testing infrastructure work
188+
- `test`: Test implementation or testing infrastructure work
189189
- `triage`: New tickets requiring team assessment and prioritization
190190
- `VoiceOver`: VoiceOver screen reader specific issues
191191

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Feature request
22
description: Describe the feature you would like added
33
title: '[Feat]: '
4-
labels: [enhancement, triage, needs jira ticket]
4+
labels: [feature, triage, needs jira ticket]
55
# assignees:
66
body:
77
- type: markdown

.github/ISSUE_TEMPLATE/new_component.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: New component
22
description: Outline the requirements for a new component
33
title: '[NEW]: '
4-
labels: [missing components, triage, needs jira ticket]
4+
labels: [new component, triage, needs jira ticket]
55
# assignees:
66
body:
77
- type: markdown

0 commit comments

Comments
 (0)