Skip to content

Commit 16e8239

Browse files
Piyush Vashishtpfulton
andauthored
feat(actionmenu)!: migrate to use spectrum-tokens (#2144)
BREAKING CHANGE: migrates ActionMenu to use `@adobe/spectrum-tokens` * chore(action-menu): diy migration * chore(actionmenu): add themes folder * chore(actionmenu): update dependencies --------- Co-authored-by: Patrick Fulton <pfulton@adobe.com>
1 parent 78856d4 commit 16e8239

File tree

5 files changed

+1881
-2873
lines changed

5 files changed

+1881
-2873
lines changed

components/actionmenu/gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@spectrum-css/component-builder");
1+
module.exports = require("@spectrum-css/component-builder-simple");

components/actionmenu/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
"build": "gulp"
1919
},
2020
"peerDependencies": {
21-
"@spectrum-css/actionbutton": ">=4",
22-
"@spectrum-css/icon": ">=3",
23-
"@spectrum-css/menu": ">=4",
24-
"@spectrum-css/popover": ">=5 <=6",
25-
"@spectrum-css/vars": ">=9"
21+
"@spectrum-css/actionbutton": ">=5",
22+
"@spectrum-css/icon": ">=4",
23+
"@spectrum-css/menu": ">=5",
24+
"@spectrum-css/popover": ">=6",
25+
"@spectrum-css/tokens": ">=11"
2626
},
2727
"devDependencies": {
2828
"@spectrum-css/actionbutton": "^5.0.6",
29-
"@spectrum-css/component-builder": "^4.0.14",
29+
"@spectrum-css/component-builder-simple": "^2.0.17",
3030
"@spectrum-css/icon": "^4.0.1",
31-
"@spectrum-css/menu": "^4.0.50",
31+
"@spectrum-css/menu": "^5.0.9",
3232
"@spectrum-css/popover": "^6.0.73",
33-
"@spectrum-css/vars": "^9.0.8",
33+
"@spectrum-css/tokens": "^11.3.3",
3434
"gulp": "^4.0.0"
3535
},
3636
"publishConfig": {
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*!
2+
Copyright 2023 Adobe. All rights reserved.
3+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License. You may obtain a copy
5+
of the License at http://www.apache.org/licenses/LICENSE-2.0
6+
Unless required by applicable law or agreed to in writing, software distributed under
7+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
8+
OF ANY KIND, either express or implied. See the License for the specific language
9+
governing permissions and limitations under the License.
10+
*/
11+
12+
@container (--system: express) {}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*!
2+
Copyright 2023 Adobe. All rights reserved.
3+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License. You may obtain a copy
5+
of the License at http://www.apache.org/licenses/LICENSE-2.0
6+
Unless required by applicable law or agreed to in writing, software distributed under
7+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
8+
OF ANY KIND, either express or implied. See the License for the specific language
9+
governing permissions and limitations under the License.
10+
*/
11+
12+
@container (--system: spectrum) {}

0 commit comments

Comments
 (0)