You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,26 @@ In the case that you'd like to serve and test a static build of the documentatio
86
86
yarn docs:build
87
87
```
88
88
89
+
## Using Stackblitz for reproductions
90
+
91
+
We provide Stackblitz demos for all our components to help you quickly test, experiment, and create reproductions. These interactive environments are perfect for:
92
+
93
+
-**Bug reports**: Create a minimal reproduction of issues you encounter
94
+
-**Experiment**: Test and experiment with components in a live environment to understand their features and behavior
95
+
96
+
### Finding component demos
97
+
98
+
Each component's README includes a "Try it on Stackblitz" badge that links to a pre-configured demo environment. You can also find links to all component demos in our [documentation site](https://opensource.adobe.com/spectrum-web-components/).
99
+
100
+
### Creating reproductions
101
+
102
+
When reporting bugs or requesting features:
103
+
104
+
1.**Start with the component demo**: Click the Stackblitz badge in the relevant component's README
105
+
2.**Fork the demo**: Click "Fork" in Stackblitz to create your own copy
106
+
3.**Reproduce the issue**: Modify the code to demonstrate the problem or desired behavior
107
+
4.**Share the link**: Include the Stackblitz URL in your GitHub issue
108
+
89
109
## Spectrum CSS and Icons
90
110
91
111
While we've moved away from using Spectrum CSS for component styling, we still maintain a dependency on Spectrum CSS for icons. We aim to keep the icon packages as current as possible to track the Spectrum design system closely.
Copy file name to clipboardExpand all lines: packages/accordion/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ The `<sp-accordion>` element contains a list of items that can be expanded or co
6
6
7
7
[](https://www.npmjs.com/package/@spectrum-web-components/accordion)
8
8
[](https://bundlephobia.com/result?p=@spectrum-web-components/accordion)
9
-
[](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/Muvuvbd79YCP9tcdtnsW/src/index.ts)
9
+
[](https://stackblitz.com/edit/vitejs-vite-gbdet9lz)
Copy file name to clipboardExpand all lines: packages/accordion/accordion-item.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@ The `<sp-accordion-item>` element represents a single item in an `<sp-accordion>
6
6
7
7
[](https://www.npmjs.com/package/@spectrum-web-components/accordion)
8
8
[](https://bundlephobia.com/result?p=@spectrum-web-components/accordion)
9
-
[](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/Muvuvbd79YCP9tcdtnsW/src/index.ts)
Copy file name to clipboardExpand all lines: packages/action-bar/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ A `<sp-action-bar>` delivers a floating action bar that is a convenient way to d
6
6
7
7
[](https://www.npmjs.com/package/@spectrum-web-components/action-bar)
8
8
[](https://bundlephobia.com/result?p=@spectrum-web-components/action-bar)
9
-
[](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/Tqvpr5Yolj9drzPab26O/src/index.ts)
9
+
[](https://stackblitz.com/edit/vitejs-vite-d7tebfzk)
Copy file name to clipboardExpand all lines: packages/action-button/README.md
+30-6Lines changed: 30 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ An `<sp-action-button>` represents an action a user can take.
6
6
7
7
[](https://www.npmjs.com/package/@spectrum-web-components/action-button)
8
8
[](https://bundlephobia.com/result?p=@spectrum-web-components/action-button)
9
-
[](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/mOF1zUEjLJzODGXFYaIU/src/index.ts)
9
+
[](https://stackblitz.com/edit/vitejs-vite-alf1ticu)
10
10
11
11
```bash
12
12
yarn add @spectrum-web-components/action-button
@@ -133,7 +133,7 @@ fulfill the accessibility contract of the button.
133
133
<sp-action-buttonlabel="Edit">
134
134
<sp-icon-editslot="icon"></sp-icon-edit>
135
135
</sp-action-button>
136
-
<sp-action-buttonlabel="Edit"> hold-affordance>
136
+
<sp-action-buttonlabel="Edit"hold-affordance>
137
137
<sp-icon-editslot="icon"></sp-icon-edit>
138
138
</sp-action-button>
139
139
</sp-action-group>
@@ -358,7 +358,13 @@ The `<sp-action-button>` can be customized with either or both of the `emphasize
Copy file name to clipboardExpand all lines: packages/action-group/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
[](https://www.npmjs.com/package/@spectrum-web-components/action-group)
8
8
[](https://bundlephobia.com/result?p=@spectrum-web-components/action-group)
9
-
[](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/ty5ezK85zgVE5vuZfMem/src/index.ts)
9
+
[](https://stackblitz.com/edit/vitejs-vite-xskzaswz)
Copy file name to clipboardExpand all lines: packages/action-menu/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ An `<sp-action-menu>` is an action button that triggers an overlay with `<sp-men
6
6
7
7
[](https://www.npmjs.com/package/@spectrum-web-components/action-menu)
8
8
[](https://bundlephobia.com/result?p=@spectrum-web-components/action-menu)
9
-
[](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/EYQn9T6wOnieZbv4xnPj/src/index.ts)
9
+
[](https://stackblitz.com/edit/vitejs-vite-xdvowrpw)
10
10
11
11
```
12
12
yarn add @spectrum-web-components/action-menu
@@ -280,8 +280,8 @@ On mobile, the menu can be exposed in either a `sp-popover` or `sp-tray`. By def
280
280
281
281
Usage Guidance:
282
282
283
-
-Use a tray when a menu’s proximity to its trigger is considered to be less important to the experience, or for showing a volume of content that is too overwhelming for a popover.
284
-
-Use a popover when a menu’s proximity to its trigger is considered to be important to the experience, or for showing a volume of content that is manageable for a popover.
283
+
- Use a tray when a menu’s proximity to its trigger is considered to be less important to the experience, or for showing a volume of content that is too overwhelming for a popover.
284
+
- Use a popover when a menu’s proximity to its trigger is considered to be important to the experience, or for showing a volume of content that is manageable for a popover.
285
285
286
286
To see this functionality in action, load this page from your mobile device or use Chrome DevTools (or equivalent) and select a mobile device once the Device Toolbar (the phone/tablet icon) is active.
Copy file name to clipboardExpand all lines: packages/asset/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Use an `<sp-asset>` element to visually represent a file, folder or image in you
6
6
7
7
[](https://www.npmjs.com/package/@spectrum-web-components/asset)
8
8
[](https://bundlephobia.com/result?p=@spectrum-web-components/asset)
9
-
[](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/CdMbDDjxdnvVyMlGrrJj/src/index.ts)
9
+
[](https://stackblitz.com/edit/vitejs-vite-wgsurfi9)
Copy file name to clipboardExpand all lines: packages/avatar/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ An `<sp-avatar>` is a great way to feature a visual representation of a user.
6
6
7
7
[](https://www.npmjs.com/package/@spectrum-web-components/avatar)
8
8
[](https://bundlephobia.com/result?p=@spectrum-web-components/avatar)
9
-
[](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/i3gAnjAfQVC43ypsIyw8/src/index.ts)
9
+
[](https://stackblitz.com/edit/vitejs-vite-swzc3ix8)
Copy file name to clipboardExpand all lines: packages/badge/README.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@
6
6
7
7
[](https://www.npmjs.com/package/@spectrum-web-components/badge)
8
8
[](https://bundlephobia.com/result?p=@spectrum-web-components/badge)
9
-
[](https://studio.webcomponents.dev/edit/qxPsOTrGAPB92LzPfk4P/src/index.ts?p=stories)
0 commit comments