Skip to content

Commit

Permalink
feat(pickerbutton)!: migrate to use spectrum tokens (#1940)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: migrates the Picker Button component to use `@adobe/spectrum-tokens`

* feat(pickerbutton)!: update to use tokens

* feat(pickerbutton): updating tokens

* chore(pickerbutton): move css from generated to index

* feat(pickerbutton): updating with tokens

* docs(pickerbutton): update docs html to correct icon sizes

* refactor(pickerbutton): fixing variable names and tokens

* chore(pickerbutton): update story

* chore(pickerbutton): update storybook controls and template

* chore(pickerbutton): adding more storybook stories for express, quiet etc

* fix(pickerbutton): fixing icon color

* chore(pickerbutton): reset yarn file

* chore: reset yarn file

* refactor(pickerbutton): fix button fill padding calculations

* chore(pickerbutton): remove invalid and isKeyboardFocused variants

* chore(pickerbutton): prevent focused and open when disabled

* fix(pickerbutton): fix disabled hover

update mods

* fix(searchwithin): pass through mod for picker button border color

* chore(pickerbutton): bumping up tokens release

* chore(pickerbutton): update token peer dependency

* fix(searchwithin): update searchwithin story to match docs site

use picker instead of pickerbutton
remove extra border

* chore(pickerbutton): manual version increase for beta release

* chore(pickerbutton): remove pickerbutton-generated css

* fix(pickerbutton): remove icononly class and remove padding from uiicononly

removes padding from uiicononly class to allow for larger icons in slots

* fix(pickerbutton): explicitly add box-sizing border-box

* fix(pickerbutton): fix icon size

* chore(pickerbutton): manual version increase for beta release

---------

Co-authored-by: Patrick Fulton <[email protected]>
  • Loading branch information
mlogsdon18 and pfulton authored Jul 31, 2023
1 parent c33d659 commit ad6051d
Show file tree
Hide file tree
Showing 15 changed files with 586 additions and 863 deletions.
2 changes: 1 addition & 1 deletion components/picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@spectrum-css/icon": ">=3",
"@spectrum-css/menu": ">=4",
"@spectrum-css/popover": ">=5 <=6",
"@spectrum-css/tokens": ">=10.0.0"
"@spectrum-css/tokens": ">=11.0.0"
},
"devDependencies": {
"@spectrum-css/component-builder-simple": "^2.0.15",
Expand Down
2 changes: 1 addition & 1 deletion components/pickerbutton/gulpfile.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require("@spectrum-css/component-builder");
module.exports = require("@spectrum-css/component-builder-simple");
Loading

0 comments on commit ad6051d

Please sign in to comment.