Skip to content

Commit

Permalink
chore: previous versions for migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
mdt2 committed Apr 29, 2024
1 parent 189fb72 commit 2be2d4c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions components/search/metadata/search.yml
Expand Up @@ -15,22 +15,23 @@ sections:
- Added `--mod-search-top-to-icon`.
- Removed `--mod-workflow-icon-size-100`.
### New Textfield markup
### Previous versions
#### New Textfield markup
Search now uses the new Textfield markup. See the [Textfield migration guide](textfield.html#migrationguide) for more information.
### Quiet Search requires `.spectrum-Search--quiet`
#### Quiet Search requires `.spectrum-Search--quiet`
You now must add `.spectrum-Search--quiet` for Quiet Search.
### `.spectrum-Search-icon` is required again
#### `.spectrum-Search-icon` is required again
You need to add the `.spectrum-Search-icon` class for Express support. This was previously not required, but has been added back to support the Express design.
### New ClearButton markup
#### New ClearButton markup
See the [ClearButton migration guide](clearbutton.html#migrationguide) for more information.
### `.spectrum-Search-clearButton` must be added to `.spectrum-ClearButton`
#### `.spectrum-Search-clearButton` must be added to `.spectrum-ClearButton`
The `.spectrum-Search-clearButton` class is now required on the `.spectrum-ClearButton`.
### `.spectrum-Search-textfield` must be added to `.spectrum-Textfield`
#### `.spectrum-Search-textfield` must be added to `.spectrum-Textfield`
The `.spectrum-Search-textfield` class is now required on the `.spectrum-Textfield`.
examples:
Expand Down

0 comments on commit 2be2d4c

Please sign in to comment.