Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
},
"changesets": [
"beige-dragons-tickle",
"big-beds-care",
"chilly-peaches-sniff",
"clean-oranges-smell",
"few-doors-smile",
Expand Down
40 changes: 40 additions & 0 deletions components/dropzone/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# Change log

## 9.0.0-next.1

### Major Changes

- [#3429](https://github.com/adobe/spectrum-css/pull/3429) [`924fc7f`](https://github.com/adobe/spectrum-css/commit/924fc7f040b84731c06fd3c59dbb1aca9001b642) Thanks [@aramos-adobe](https://github.com/aramos-adobe)! - ## Dropzone S2 Migration

Since dropzone shares a lot of illustrated message's new content tokens (typography and spacing), tons of unused`--mods` were removed.

The component reflects the [new design](https://www.figma.com/design/eoZHKJH9a3LJkHYCGt60Vb/S2-token-specs?node-id=10141-2822&m=dev) of the borders that includes dash length and dash gap.

### SVG Border

To support the intention of the design, an SVG element is used. There are custom `--mod` tokens to adjust the length of dashed lines and the gap between them. It's understood it may be too much to consume an additional element so there's a fallback where the SVG element is not necessary - dropzone will use the standard `border` CSS property.

### New mods

`--mod-drop-zone-content-height`
`--mod-drop-zone-edge-to-text`
`--mod-drop-zone-title-line-height`
`--mod-drop-zone-border-dash-length`
`--mod-drop-zone-border-dash-gap`

### Removed mods

`--mod-drop-zone-body-color`
`--mod-drop-zone-body-font-family`
`--mod-drop-zone-body-font-style`
`--mod-drop-zone-body-font-weight`
`--mod-drop-zone-body-line-height`
`--mod-drop-zone-content-color`
`--mod-drop-zone-content-edge-to-text`
`--mod-drop-zone-content-font-size`
`--mod-drop-zone-heading-color`
`--mod-drop-zone-heading-font-family`
`--mod-drop-zone-heading-font-size`
`--mod-drop-zone-heading-font-style`
`--mod-drop-zone-heading-font-weight`
`--mod-drop-zone-heading-line-height`
`--mod-drop-zone-heading-to-body` `--mod-drop-zone-illustration-to-heading` `--mod-drop-zone-illustration-to-title`

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

Expand Down
2 changes: 1 addition & 1 deletion components/dropzone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/dropzone",
"version": "9.0.0-next.0",
"version": "9.0.0-next.1",
"description": "The Spectrum CSS dropzone component",
"license": "Apache-2.0",
"author": "Adobe",
Expand Down
2 changes: 1 addition & 1 deletion tools/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@spectrum-css/dialog": "13.0.0-next.1",
"@spectrum-css/divider": "6.0.0-next.0",
"@spectrum-css/dropindicator": "8.0.0-next.0",
"@spectrum-css/dropzone": "9.0.0-next.0",
"@spectrum-css/dropzone": "9.0.0-next.1",
"@spectrum-css/fieldgroup": "8.0.0-next.0",
"@spectrum-css/fieldlabel": "11.0.0-next.0",
"@spectrum-css/floatingactionbutton": "4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4071,7 +4071,7 @@ __metadata:
"@spectrum-css/dialog": "npm:13.0.0-next.1"
"@spectrum-css/divider": "npm:6.0.0-next.0"
"@spectrum-css/dropindicator": "npm:8.0.0-next.0"
"@spectrum-css/dropzone": "npm:9.0.0-next.0"
"@spectrum-css/dropzone": "npm:9.0.0-next.1"
"@spectrum-css/fieldgroup": "npm:8.0.0-next.0"
"@spectrum-css/fieldlabel": "npm:11.0.0-next.0"
"@spectrum-css/floatingactionbutton": "npm:4.1.0"
Expand Down Expand Up @@ -4596,7 +4596,7 @@ __metadata:
languageName: unknown
linkType: soft

"@spectrum-css/dropzone@npm:9.0.0-next.0, @spectrum-css/dropzone@workspace:components/dropzone":
"@spectrum-css/dropzone@npm:9.0.0-next.1, @spectrum-css/dropzone@workspace:components/dropzone":
version: 0.0.0-use.local
resolution: "@spectrum-css/dropzone@workspace:components/dropzone"
dependencies:
Expand Down