Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
e165f73
chore: add cursor prompt
marissahuysentruyt Aug 29, 2025
c3e3d7a
docs: add prompt output files for subset of components
marissahuysentruyt Aug 29, 2025
13922a1
docs: barebones component analysis docs, prompt updates (#5720)
rise-erpelding Sep 18, 2025
f0963cb
chore(docs): barebones analysis for Field label, Help text, Picker bu…
cdransf Sep 25, 2025
16a941f
docs(switch,radio,checkbox,fieldgroup): component analysis migration …
marissahuysentruyt Sep 26, 2025
b41f6e0
docs: textfield-based component analysis docs (#5741)
rise-erpelding Oct 1, 2025
601f7f9
docs(slider,meter,progressbar,dropzone,illustratedmessage): migration…
marissahuysentruyt Oct 7, 2025
a21c7b4
chore(docs): 2nd gen component analysis for avatar, opacity checkerbo…
aramos-adobe Oct 8, 2025
7e7651f
docs(button, buttongroup, actionbutton, actiongroup): component analy…
rise-erpelding Oct 13, 2025
9704818
first docs feedback
aramos-adobe Jan 22, 2026
cbe519b
docs(link): WIP
aramos-adobe Jan 26, 2026
ff9b229
docs(s2): addressing feedback in link, tag, tooltip
aramos-adobe Jan 28, 2026
aeefca0
docs(swc): review feedback pt 3
aramos-adobe Jan 28, 2026
161dd1f
chore: add cursor prompt
marissahuysentruyt Aug 29, 2025
1ad606c
docs: add prompt output files for subset of components
marissahuysentruyt Aug 29, 2025
d02a0bc
docs: barebones component analysis docs, prompt updates (#5720)
rise-erpelding Sep 18, 2025
c351e96
chore(docs): barebones analysis for Field label, Help text, Picker bu…
cdransf Sep 25, 2025
1f3025d
docs(switch,radio,checkbox,fieldgroup): component analysis migration …
marissahuysentruyt Sep 26, 2025
3bfaa98
docs: textfield-based component analysis docs (#5741)
rise-erpelding Oct 1, 2025
529cc39
docs(slider,meter,progressbar,dropzone,illustratedmessage): migration…
marissahuysentruyt Oct 7, 2025
c2c5d93
chore(docs): 2nd gen component analysis for avatar, opacity checkerbo…
aramos-adobe Oct 8, 2025
8b8fe5c
docs(button, buttongroup, actionbutton, actiongroup): component analy…
rise-erpelding Oct 13, 2025
2d4c935
docs(s2): migrating new comments
aramos-adobe Feb 4, 2026
d031432
docs(s2): addressing more feedback
aramos-adobe Feb 5, 2026
bfe107c
docs(s2): addressing tooltip feedback
aramos-adobe Feb 6, 2026
437d23f
Merge branch '2nd-gen-component-analysis' of github.com:adobe/spectru…
aramos-adobe Feb 6, 2026
f3fd1ba
Merge branch '2nd-gen-component-analysis' into aramos-adobe/swc1222-l…
aramos-adobe Feb 6, 2026
9dcc9f4
docs(s2): update link, tag, group and tt
aramos-adobe Feb 10, 2026
2dba177
docs(s2): updating feedback from marissa
aramos-adobe Feb 10, 2026
3be3c23
chore: add cursor prompt
marissahuysentruyt Aug 29, 2025
15fdbd1
docs: add prompt output files for subset of components
marissahuysentruyt Aug 29, 2025
168ef14
docs: barebones component analysis docs, prompt updates (#5720)
rise-erpelding Sep 18, 2025
32dfcf3
chore(docs): barebones analysis for Field label, Help text, Picker bu…
cdransf Sep 25, 2025
58ec1d6
docs(switch,radio,checkbox,fieldgroup): component analysis migration …
marissahuysentruyt Sep 26, 2025
da64e54
docs: textfield-based component analysis docs (#5741)
rise-erpelding Oct 1, 2025
9d808ec
docs(slider,meter,progressbar,dropzone,illustratedmessage): migration…
marissahuysentruyt Oct 7, 2025
cd3a146
chore(docs): 2nd gen component analysis for avatar, opacity checkerbo…
aramos-adobe Oct 8, 2025
ce0d6a0
docs(button, buttongroup, actionbutton, actiongroup): component analy…
rise-erpelding Oct 13, 2025
fbf8485
chore: add cursor rule for CONTRIBUTOR-DOCS
rise-erpelding Feb 11, 2026
412165f
docs: add CONTRIBUTOR-DOCSreminder to regenerate nav and verify links
rise-erpelding Feb 11, 2026
b67dc4f
docs: move component analysis docs into CONTRIBUTOR-DOCS
rise-erpelding Feb 12, 2026
f655e4e
Merge branch '2nd-gen-component-analysis' of github.com:adobe/spectru…
aramos-adobe Feb 12, 2026
7cbe7a4
Merge branch '2nd-gen-component-analysis' into aramos-adobe/swc1222-l…
aramos-adobe Feb 12, 2026
00596a1
chore: add cursor prompt
marissahuysentruyt Aug 29, 2025
c1acb10
docs: add prompt output files for subset of components
marissahuysentruyt Aug 29, 2025
d9e66b3
docs: barebones component analysis docs, prompt updates (#5720)
rise-erpelding Sep 18, 2025
fe5bb23
chore(docs): barebones analysis for Field label, Help text, Picker bu…
cdransf Sep 25, 2025
4a6e4bb
docs(switch,radio,checkbox,fieldgroup): component analysis migration …
marissahuysentruyt Sep 26, 2025
abc1508
docs: textfield-based component analysis docs (#5741)
rise-erpelding Oct 1, 2025
f4db0cd
docs(slider,meter,progressbar,dropzone,illustratedmessage): migration…
marissahuysentruyt Oct 7, 2025
1bddd0c
chore(docs): 2nd gen component analysis for avatar, opacity checkerbo…
aramos-adobe Oct 8, 2025
550f193
docs(button, buttongroup, actionbutton, actiongroup): component analy…
rise-erpelding Oct 13, 2025
c99dddd
chore: add cursor rule for CONTRIBUTOR-DOCS
rise-erpelding Feb 11, 2026
fabd279
docs(s2): re-review docs
aramos-adobe Feb 12, 2026
c43fa02
docs: add CONTRIBUTOR-DOCS reminder to regenerate nav and verify links
rise-erpelding Feb 11, 2026
bc37530
docs: move component analysis docs into CONTRIBUTOR-DOCS
rise-erpelding Feb 12, 2026
7d46e19
chore: clean up component analysis docs
rise-erpelding Feb 12, 2026
0699ba2
Merge branch '2nd-gen-component-analysis' of github.com:adobe/spectru…
aramos-adobe Feb 12, 2026
69aa68b
Merge branch '2nd-gen-component-analysis' into aramos-adobe/swc1222-l…
aramos-adobe Feb 12, 2026
8728e9a
first docs feedback
aramos-adobe Jan 22, 2026
bc5d4c8
docs(link): WIP
aramos-adobe Jan 26, 2026
0a7c3c9
docs(s2): addressing feedback in link, tag, tooltip
aramos-adobe Jan 28, 2026
bac5e36
docs(swc): review feedback pt 3
aramos-adobe Jan 28, 2026
aabd58d
docs(s2): migrating new comments
aramos-adobe Feb 4, 2026
9abbea3
docs(s2): addressing more feedback
aramos-adobe Feb 5, 2026
d8995ae
docs(s2): addressing tooltip feedback
aramos-adobe Feb 6, 2026
f114770
docs(s2): update link, tag, group and tt
aramos-adobe Feb 10, 2026
cecc5fa
docs(s2): updating feedback from marissa
aramos-adobe Feb 10, 2026
415494f
docs(s2): re-review docs
aramos-adobe Feb 12, 2026
66fe4fb
Merge branch 'aramos-adobe/swc1222-link-tag-group-migration-docs' of …
aramos-adobe Feb 12, 2026
ebac9d0
chore: add cursor prompt
marissahuysentruyt Aug 29, 2025
1a6ed01
docs: add prompt output files for subset of components
marissahuysentruyt Aug 29, 2025
4bb2bdb
docs: barebones component analysis docs, prompt updates (#5720)
rise-erpelding Sep 18, 2025
2b9023c
chore(docs): barebones analysis for Field label, Help text, Picker bu…
cdransf Sep 25, 2025
4b98cc6
docs(switch,radio,checkbox,fieldgroup): component analysis migration …
marissahuysentruyt Sep 26, 2025
f9cfa38
docs: textfield-based component analysis docs (#5741)
rise-erpelding Oct 1, 2025
e5ee4b4
docs(slider,meter,progressbar,dropzone,illustratedmessage): migration…
marissahuysentruyt Oct 7, 2025
91a5be4
chore(docs): 2nd gen component analysis for avatar, opacity checkerbo…
aramos-adobe Oct 8, 2025
4c9d67e
docs(button, buttongroup, actionbutton, actiongroup): component analy…
rise-erpelding Oct 13, 2025
79f49c8
chore: update cursor rule for CONTRIBUTOR-DOCS
rise-erpelding Feb 11, 2026
2734b4a
docs: add CONTRIBUTOR-DOCS reminder to regenerate nav and verify links
rise-erpelding Feb 11, 2026
17d15bf
docs: move component analysis docs into CONTRIBUTOR-DOCS
rise-erpelding Feb 12, 2026
dfad5ac
chore: clean up component analysis docs
rise-erpelding Feb 12, 2026
59dc287
Merge branch '2nd-gen-component-analysis' of github.com:adobe/spectru…
aramos-adobe Feb 13, 2026
478a3f0
Merge branch '2nd-gen-component-analysis' into aramos-adobe/swc1222-l…
aramos-adobe Feb 13, 2026
cc96154
docs(s2): updating file structure
aramos-adobe Feb 13, 2026
b047a59
Merge branch '2nd-gen-component-analysis' into aramos-adobe/swc1222-l…
rise-erpelding Feb 17, 2026
f21d496
docs(s2): addressing rise feedback
aramos-adobe Feb 19, 2026
9b0ed9b
Merge branch 'aramos-adobe/swc1222-link-tag-group-migration-docs' of …
aramos-adobe Feb 19, 2026
34ebc7d
docs(s2): updating tooltip docs
aramos-adobe Feb 19, 2026
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
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
| Iconset | | | | | | | |
| Illustrated Message | ✓ | | | | | | |
| Infield Button | ✓ | | | | | | |
| Link | | | | | | | |
| Link | | | | | | | |
| Menu | | | | | | | |
| Meter | ✓ | | | | | | |
| Modal | | | | | | | |
Expand All @@ -80,11 +80,12 @@
| Switch | ✓ | | | | | | |
| Table | | | | | | | |
| Tabs | | | | | | | |
| Tags | | | | | | | |
| Tag | ✓ | | | | | | |
| Tags | ✓ | | | | | | |
| Textfield | ✓ | | | | | | |
| Thumbnail | ✓ | | | | | | |
| Toast | | | | | | | |
| Tooltip | | | | | | | |
| Tooltip | | | | | | | |
| Top Nav | | | | | | | |
| Tray | | | | | | | |
| Underlay | | | | | | | |
Expand Down
8 changes: 8 additions & 0 deletions CONTRIBUTOR-DOCS/03_project-planning/03_components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
- [In-field button migration roadmap](infield-button/rendering-and-styling-migration-analysis.md)
- Infield Progress Circle
- [In-field progress circle migration roadmap](infield-progress-circle/rendering-and-styling-migration-analysis.md)
- Link
- [Link migration roadmap](link/rendering-and-styling-migration-analysis.md)
- Meter
- [Meter migration roadmap](meter/rendering-and-styling-migration-analysis.md)
- Number Field
Expand All @@ -84,10 +86,16 @@
- [Swatch Group migration roadmap](swatch-group/rendering-and-styling-migration-analysis.md)
- Switch
- [Switch migration roadmap](switch/rendering-and-styling-migration-analysis.md)
- Tag
- [Tag migration roadmap](tag/rendering-and-styling-migration-analysis.md)
- Tags
- [Tags migration roadmap](tags/rendering-and-styling-migration-analysis.md)
- Textfield
- [Textfield and Textarea migration roadmap](textfield/rendering-and-styling-migration-analysis.md)
- Thumbnail
- [Thumbnail migration roadmap](thumbnail/rendering-and-styling-migration-analysis.md)
- Tooltip
- [Tooltip migration roadmap](tooltip/rendering-and-styling-migration-analysis.md)

</details>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,244 @@
<!-- Generated breadcrumbs - DO NOT EDIT -->

[CONTRIBUTOR-DOCS](../../../README.md) / [Project planning](../../README.md) / [Components](../README.md) / Link / Link migration roadmap

<!-- Document title (editable) -->

# Link migration roadmap

<!-- Generated TOC - DO NOT EDIT -->

<details open>
<summary><strong>In this doc</strong></summary>

- [Component specifications](#component-specifications)
- [CSS](#css)
- [SWC](#swc)
- [Comparison](#comparison)
- [DOM Structure changes](#dom-structure-changes)
- [CSS => SWC mapping](#css--swc-mapping)
- [Summary of changes](#summary-of-changes)
- [CSS => SWC implementation gaps](#css--swc-implementation-gaps)
- [CSS Spectrum 2 changes](#css-spectrum-2-changes)
- [Resources](#resources)

</details>

<!-- Document content (editable) -->

## Component specifications

### CSS

<details>
<summary>CSS selectors</summary>

**Base component:**

- `.spectrum-Link`

**Variants:**

- `.spectrum-Link--inline`
- `.spectrum-Link--quiet`
- `.spectrum-Link--secondary`
- `.spectrum-Link--staticBlack`
- `.spectrum-Link--staticWhite`

**States:**

- `.spectrum-Link:active`
- `.spectrum-Link:focus-visible`
- `.spectrum-Link:hover`
- `.spectrum-Link--quiet:hover`

**Language-specific:**

- `.spectrum-Link:lang(ja)`
- `.spectrum-Link:lang(ko)`
- `.spectrum-Link:lang(zh)`

</details>

<details>
<summary>Passthroughs</summary>

None found for this component.

</details>

<details>
<summary>Modifiers</summary>

- `--mod-link-animation-duration`
- `--mod-link-inline-font-weight`
- `--mod-link-line-height-cjk`
- `--mod-link-text-color`
- `--mod-link-text-color-active`
- `--mod-link-text-color-black`
- `--mod-link-text-color-focus`
- `--mod-link-text-color-hover`
- `--mod-link-text-color-secondary-active`
- `--mod-link-text-color-secondary-default`
- `--mod-link-text-color-secondary-focus`
- `--mod-link-text-color-secondary-hover`
- `--mod-link-text-color-white`

</details>

### SWC

<details>
<summary>Attributes</summary>

- `variant` - Values: `secondary`
- `static-color` - Values: `black`, `white`
- `quiet` - Boolean attribute

**From LikeAnchor mixin:**

- `download` - String attribute
- `label` - String attribute (aria-label)
- `href` - String attribute
- `target` - Values: `_blank`, `_parent`, `_self`, `_top`
- `referrerpolicy` - Values: `no-referrer`, `no-referrer-when-downgrade`, `origin`, `origin-when-cross-origin`, `same-origin`, `strict-origin`, `strict-origin-when-cross-origin`, `unsafe-url`
- `rel` - String attribute

**From Focusable mixin:**

- `autofocus` - Boolean attribute
- `disabled` - Boolean attribute
- `tabIndex` - Number attribute

</details>

<details>
<summary>Slots</summary>

- Default slot - Link text content

</details>

## Comparison

### DOM Structure changes

<details>
<summary>Spectrum Web Components:</summary>

```html
<a
id="anchor"
href="[href]"
download="[download]"
target="[target]"
aria-label="[label]"
tabindex="[tabindex]"
referrerpolicy="[referrerpolicy]"
rel="[rel]"
>
<slot></slot>
</a>
```

</details>

<details>
<summary>Legacy (CSS main branch):</summary>

```html
<a
class="spectrum-Link
spectrum-Link--quiet
spectrum-Link--[variant]
spectrum-Link--static[StaticColor]"
id="[id]"
href="[url]"
>
[label]
</a>
```

</details>

<details>
<summary>Spectrum 2 (CSS spectrum-two branch):</summary>

```html
<a
class="spectrum-Link
spectrum-Link--quiet
spectrum-Link--inline
spectrum-Link--[variant]
spectrum-Link--static[StaticColor]"
id="[id]"
href="[url]"
>
[text]
</a>
```

</details>
<details>
<summary>Diff: Legacy (CSS main) → Spectrum 2 (CSS spectrum-two)</summary>

```diff
--- Legacy DOM structure
+++ Spectrum 2 DOM structure
@@ -1,14 +1,15 @@
<a
class="spectrum-Link
spectrum-Link--quiet
+ spectrum-Link--inline
spectrum-Link--[variant]
spectrum-Link--static[StaticColor]"
id="[id]"
href="[url]"
>
- [label]
+ [text]
</a>
```

**Key changes:**

- New variant: `spectrum-Link--inline` class added for inline link styling

</details>

### CSS => SWC mapping

| CSS selector | Attribute or slot | Status |
| ------------------------------------------------------------------------------- | ------------------------- | ---------------------------- |
| `.spectrum-Link` | `:host` | Implemented |
| `.spectrum-Link--inline` | | Missing from WC (new for S2) |
| `.spectrum-Link--quiet` | `quiet` | Implemented |
| `.spectrum-Link--secondary` | `variant="secondary"` | Implemented |
| `.spectrum-Link--staticBlack` | `static-color="black"` | Implemented |
| `.spectrum-Link--staticWhite` | `static-color="white"` | Implemented |
| `.spectrum-Link:hover` | CSS `:hover` | Implemented via CSS |
| `.spectrum-Link:active` | CSS `:active` | Implemented via CSS |
| `.spectrum-Link:focus-visible` | CSS `:focus` | Implemented via CSS |
| `.spectrum-Link--quiet:hover` | CSS `:hover` | Implemented via CSS |
| `.spectrum-Link:lang(ja)`, `.spectrum-Link:lang(ko)`, `.spectrum-Link:lang(zh)` | Language-specific styling | Implemented |
| text content | Default slot | Implemented |

## Summary of changes

### CSS => SWC implementation gaps

**Missing from WC:**

- `.spectrum-Link--inline` - New modifier for inline link styling

The `inline` link variant is the default style in S2. The modifier was added in Spectrum 2 to support inline links within paragraphs that have different styling requirements than standalone links (specifically for text decoration and font-weight behavior). This standalone variant, the previous default, is still the available as a variant option.

### CSS Spectrum 2 changes

No structural changes to core Link component

## Resources

- [CSS migration](https://github.com/adobe/spectrum-css/pull/3570)
- [Spectrum 2 preview](https://spectrumcss.z13.web.core.windows.net/pr-2352/index.html?path=/docs/components-link--docs)
- [React](https://react-spectrum.adobe.com/Link)
Loading
Loading