spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

Implement `sp-table` component

Open Westbrook opened this issue 4 years ago • 4 comments

Expected Behaviour

We shouldn't have to rely on Spectrum CSS directly for our documentation site. We're pointing to the table sheet, we should have a component or a pattern that supports including that in a page easily.

Actual Behaviour

https://opensource.adobe.com/spectrum-css/table.html

Westbrook avatar Nov 11 '19 15:11 Westbrook

Review pre-1.0.

hunterloftis avatar Sep 23 '21 20:09 hunterloftis

@Westbrook I am also looking to use a Spectrum table and will have to rely on the Spectrum CSS for now. If you rely on the Spectrum CSS for the table directly, is the interop still good between Spectrum Web Components and the table? I am afraid of CSS clashing or other unforeseen issues. Just wondering what your experience has been so far.

lastmjs avatar Apr 21 '22 15:04 lastmjs

@lastmjs there should be no trouble implementing something in Spectrum CSS inline with things shipped via SWC. You would benefit from ensuring that the version of the Spectrum CSS package you are leveraging depends on the same Spectrum CSS Vars package that is leveraged in <sp-theme>, assuming you use that, in order to make sure there are no subtle rendering bugs, but other than that, you should be good to go.

We are just beginning work with a team that intends to consumer the sp-table pattern, so hopefully we'll also have an update on SWC native support for this pattern, soon.

Cheers!

Westbrook avatar Apr 21 '22 19:04 Westbrook

I'm super excited for sp-table! Once that is implemented we might make a full switch over. Thanks!

lastmjs avatar Apr 21 '22 20:04 lastmjs