Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to spectrum-two, this PR will be updated.
spectrum-two
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onspectrum-two
.Releases
@spectrum-css/[email protected]
Major Changes
📝 #4129
7ac2952
Thanks @cdransf!Picker: remove quiet variant
This removes the quiet variant for the picker component based on design feedback. Prior to this change, there was an odd state where the quiet picker scaled with the foundations down state applied.
Removed mods
--mod-picker-background-color-disabled
Additionally: all of the quiet variant mods have been removed.
--mod-picker-inline-size-quiet
--mod-picker-min-inline-size-quiet
--mod-picker-spacing-edge-to-disclosure-icon-quiet
--mod-picker-spacing-edge-to-text-quiet
--mod-picker-spacing-label-to-picker-quiet
@spectrum-css/[email protected]
Major Changes
📝 #4114
7061eee
Thanks @rise-erpelding!The picker button component has been migrated to Spectrum 2. The picker button uses the same design spec as infield button and in some cases may be able to be used interchangeably with it. Its updated features include:
.spectrum-PickerButton--uiicononly
,.spectrum-PickerButton--icononly
, and.spectrum-PickerButton--textuiicon
classes:.spectrum-PickerButton--uiicononly
class needs to be applied..spectrum-PickerButton--icononly
class has been renamed to.spectrum-PickerButton--workflowicon
to clarify when it should be used. Applying.spectrum-PickerButton--workflowicon
when using a workflow icon instead is recommended, but probably not required.--textuiicon
variant which is why that class has been removed..is-open
state can continue to be used as before.Added mod custom properties:
--mod-picker-button-background-color-quiet-disabled
Removed mod custom properties:
--mod-picker-button-background-color-key-focus
--mod-picker-button-background-color-key-focus-quiet
--mod-picker-button-border-color
--mod-picker-button-border-color-disabled
--mod-picker-button-border-color-quiet
--mod-picker-button-border-radius-rounded
--mod-picker-button-border-radius-rounded-sided
--mod-picker-button-border-radius-sided
--mod-picker-button-border-width
--mod-picker-button-font-color
--mod-picker-button-font-color-disabled
--mod-picker-button-font-color-down
--mod-picker-button-font-color-down-disabled
--mod-picker-button-font-color-hover
--mod-picker-button-font-color-hover-disabled
--mod-picker-button-font-color-key-focus
--mod-picker-button-font-family
--mod-picker-button-font-size
--mod-picker-button-font-style
--mod-picker-button-font-weight
--mod-picker-button-gap
--mod-picker-button-icon-color-key-focus
--mod-picker-button-label-padding
@spectrum-css/[email protected]
Patch Changes
Updated dependencies []:
@spectrum-css/[email protected]
Patch Changes
📝 #4114
7061eee
Thanks @rise-erpelding!Remove unused key-focus and border mods. Note that border and key focus styles were previously removed in the migration to Spectrum 2, and the mod removals here do not have any visual impact to the infield button.
Also updates transition to use
background-color
instead ofborder-color
.Also fixes a flash bug in WHCM: when hovered, the infield button was flashing/blinking before changing to the appropriate hover color.
@spectrum-css/[email protected]
Patch Changes
Updated dependencies [
7061eee
,7061eee
,7ac2952
]: