-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update dependency @spectrum-css/table to v8 #5336
base: main
Are you sure you want to change the base?
Conversation
|
Branch previewReview the following VRT differencesWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
If the changes are expected, update the |
Tachometer resultsCurrently, no packages are changed by this PR... |
8f60c57
to
704cc05
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
ed603e4
to
d537b6d
Compare
position: relative; | ||
} | ||
|
||
:host([drop-target]) { | ||
--spectrum-table-border-color: transparent; | ||
--mod-table-border-color: transparent; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't override the mod
property here, it might break consumers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's specific to the drop-target context which doesn't support a border color --mod override. We wouldn't want the --mod-table-border-color to show up no matter what value was set in the drop-target context because it would make the interface look broken. So the tldr; here is that this is a design direction not to allow the border-color show at all in this state.
.circleci/config.yml
Outdated
@@ -14,7 +14,7 @@ parameters: | |||
# 3. Commit this change to the PR branch where the changes exist. | |||
current_golden_images_hash: | |||
type: string | |||
default: 2b6914161171d5a49857cebd254a9fbca3ed0ca4 | |||
default: ed603e48e9dbd4f54ad74266ee543e66ce96d7b5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we revert the hash so we can review the changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem, just pushed that up. We reviewed the diffs in CSS and validated those updates were as we'd expect and with no noticeable impact to customers.
d537b6d
to
de5a511
Compare
@@ -125,7 +125,7 @@ governing permissions and limitations under the License. | |||
} | |||
|
|||
:host([drop-target]) { | |||
--spectrum-table-border-color: var(--highcontrast-table-focus-indicator-color, transparent); | |||
--mod-table-border-color: var(--highcontrast-table-focus-indicator-color, transparent); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rubencarvalho You can see that same guidance reflected here - the highcontrast override is present for a11y use but no new --mod is introduced because it must be transparent.
de5a511
to
0138cc6
Compare
0138cc6
to
6e0f9ff
Compare
In high contrast mode, both |
} | ||
|
||
:host([density='compact'][size='s']) { | ||
--spectrum-table-min-row-height: var(--mod-table-min-row-height--compact, var(--spectrum-table-row-height-small-compact)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me:
From @castastrophe
Now with this update, the more explicit mods intercept using the default mod so the default mod will no longer apply to specific variants
Like if in a compact state, we’d expect compact background color mod to be used, not default background color
Both mods already existed though so nothing new introduced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
This PR contains the following updates:
7.0.0-s2-foundations.17
->8.1.0
Release Notes
adobe/spectrum-css (@spectrum-css/table)
v8.1.0
Compare Source
Minor Changes
📝
205182b
Thanks @castastrophe!v8.0.1
Compare Source
Patch Changes
📝 #3534
68e0057
Thanks @castastrophe!Fixes a bug in the content of the
dist/index-theme.css
file.Expected
index-theme.css
to include the component selectors with component-level custom properties mapped to the--system
prefixed ones in order to allow a component to support various contexts.Expected output example for the index-theme.css:
68e0057
]:v8.0.0
Compare Source
Major Changes
📝 #2786
6c19fcf
Thanks @pfulton!🛑 Breaking change
This major update creates a bridge between the Spectrum 1 (S1) and Spectrum 2 (S2) designs, dubbed "Spectrum 2 Foundations". These do NOT reflect a fully migrated S2 component. This approach allows consumers to swap the appearance of their components between S1, Express, and S2 by leveraging a "system" layer that remaps the necessary component-level tokens to the appropriate token dataset.
For these components to appear S2, you must load the assets with the
@spectrum-css/tokens
atv16
or higher.For S1 or Express, load assets with the
@spectrum-css/tokens
atv14.x
orv15.x
.If you are looking to implement a fully S2 design, please explore the
next
tag releases instead of using this foundations release. This release is used in Spectrum Web Components 1.x.Deprecations
The
metadata
folder containing themods.md
andmetadata.json
assets has been removed from source. To find information about the components including what selectors, modifiers, and passthroughs are used, please see thedist/metadata.json
asset shipped with every component containing CSS.The
index-vars.css
asset has been removed in this release as it was previously deprecated and is no longer maintained. Please use theindex.css
orindex-base.css
File usage
If you are rendering components and need only the S2 Foundations styles, you can make use of the
index.css
asset which contains all the base styles plus the system mappings for S2 Foundations.If you are using this version to publish only an S1 or Express component, you can use the
index-base.css
plus the desiredthemes/(spectrum|express).css
file.To render a component that can be easily swapped between the S2 Foundations, S1, or Express contexts, load
index-base.css
with theindex-theme.css
file and leverage the appropriate context classes (.spectrum--legacy
for S1 and.spectrum--express
for Express).Patch Changes
6c19fcf
,3d08cea
,6c19fcf
]:v7.0.1
Compare Source
Patch Changes
📝 #3522
7a47c22
Thanks @castastrophe!Peer dependency for @spectrum-css/tokens updated to include v15 as well as v14.
Updated dependencies [
7a47c22
,7a47c22
]:v7.0.0
Compare Source
Major Changes
📝 #3502
562396e
Thanks @castastrophe!Remove empty theme references to reduce complexity for components that don't need to define any mappings. This involves removing the source
themes
directories with the emptyspectrum.css
andexpress.com
files as well as removing the following empty or unnecessary exports:index-base.css
index-theme.css
themes/spectrum.css
themes/express.css
Minor Changes
📝 #3359
c8194b0
Thanks @cdransf!This resolves our remaining stylelint issues around undefined tokens, rule order, unused values and color syntax.
rgba(N, N, N, N)
torgba(N N N / N)
.table/index.css
).Patch Changes
c8194b0
,562396e
,562396e
]:v7.0.0-s2-foundations.18
Compare Source
Major Changes
#2786
f6ad55e
Thanks @pfulton! - feat: s2 foundations non-gray-800 colors update--spectrum-blue-800
--spectrum-red-800
--spectrum-orange-800
--spectrum-yellow-800
--spectrum-chartreuse-800
--spectrum-celery-800
--spectrum-green-800
--spectrum-seafoam-800
--spectrum-cyan-800
--spectrum-indigo-800
--spectrum-purple-800
--spectrum-fuchsia-800
--spectrum-magenta-800
--spectrum-pink-800
--spectrum-turqoise-800
--spectrum-brown-800
--spectrum-silver-800
--spectrum-cinnamon-800
Patch Changes
f6ad55e
]:Configuration
📅 Schedule: Branch creation - "after 12pm on thursday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.