Skip to content

Commit 25afec3

Browse files
authored
build: support tagged component builds (#2338)
1 parent 506ad45 commit 25afec3

File tree

262 files changed

+1739
-1131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+1739
-1131
lines changed

components/accordion/.npmignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

components/accordion/package.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,10 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp",
19-
"clean": "rimraf dist"
20-
},
2117
"peerDependencies": {
2218
"@spectrum-css/icon": ">=4",
2319
"@spectrum-css/tokens": ">=13"
2420
},
25-
"devDependencies": {
26-
"@spectrum-css/component-builder-simple": "^3.0.1",
27-
"@spectrum-css/icon": "^4.0.5",
28-
"@spectrum-css/tokens": "^13.0.5",
29-
"gulp": "^4.0.0"
30-
},
3121
"publishConfig": {
3222
"access": "public"
3323
}

components/accordion/project.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "accordion",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"clean": {},
8+
"compare": {},
9+
"test": {
10+
"defaultConfiguration": "scope"
11+
}
12+
}
13+
}

components/actionbar/.npmignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

components/actionbar/package.json

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,13 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp",
19-
"clean": "rimraf dist"
20-
},
2117
"peerDependencies": {
22-
"@spectrum-css/actionbutton": ">=5",
23-
"@spectrum-css/actiongroup": ">=3",
24-
"@spectrum-css/closebutton": ">=3",
18+
"@spectrum-css/actiongroup": ">=4",
19+
"@spectrum-css/closebutton": ">=4",
2520
"@spectrum-css/fieldlabel": ">=7",
26-
"@spectrum-css/icon": ">=4",
27-
"@spectrum-css/popover": ">=5 <=6",
21+
"@spectrum-css/popover": ">=6",
2822
"@spectrum-css/tokens": ">=13"
2923
},
30-
"devDependencies": {
31-
"@spectrum-css/actionbutton": "^5.0.16",
32-
"@spectrum-css/closebutton": "^4.0.16",
33-
"@spectrum-css/component-builder-simple": "^3.0.1",
34-
"@spectrum-css/fieldlabel": "^7.2.0",
35-
"@spectrum-css/icon": "^4.0.5",
36-
"@spectrum-css/popover": "^6.0.83",
37-
"@spectrum-css/table": "^5.0.10",
38-
"@spectrum-css/tokens": "^13.0.5",
39-
"gulp": "^4.0.0"
40-
},
4124
"publishConfig": {
4225
"access": "public"
4326
}

components/actionbar/project.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "actionbar",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"clean": {},
8+
"compare": {},
9+
"test": {
10+
"defaultConfiguration": "scope"
11+
}
12+
}
13+
}

components/actionbutton/metadata/mods.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,8 @@
4747
| `--mod-actionbutton-icon-size` |
4848
| `--mod-actionbutton-label-color` |
4949
| `--mod-actionbutton-min-width` |
50+
| `--mod-actionbutton-static-content-color` |
5051
| `--mod-actionbutton-text-to-visual` |
52+
| `--mod-animation-duration-100` |
53+
| `--mod-line-height-100` |
54+
| `--mod-sans-font-family-stack` |

components/actionbutton/package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,17 @@
1414
"url": "https://github.com/adobe/spectrum-css/issues"
1515
},
1616
"main": "dist/index-vars.css",
17-
"scripts": {
18-
"build": "gulp",
19-
"clean": "rimraf dist"
20-
},
2117
"peerDependencies": {
2218
"@spectrum-css/icon": ">=4",
2319
"@spectrum-css/tokens": ">=13"
2420
},
21+
"peerDependenciesMeta": {
22+
"@spectrum-css/icon": {
23+
"optional": true
24+
}
25+
},
2526
"devDependencies": {
26-
"@spectrum-css/component-builder-simple": "^3.0.1",
27-
"@spectrum-css/icon": "^4.0.5",
28-
"@spectrum-css/tokens": "^13.0.5",
29-
"gulp": "^4.0.0"
27+
"@spectrum-css/commons": "^9.0.0"
3028
},
3129
"publishConfig": {
3230
"access": "public"

components/actionbutton/project.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "actionbutton",
4+
"tags": ["component"],
5+
"targets": {
6+
"build": {},
7+
"clean": {},
8+
"compare": {},
9+
"test": {
10+
"defaultConfiguration": "scope"
11+
}
12+
}
13+
}

components/actionbutton/stories/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { styleMap } from "lit/directives/style-map.js";
44

55
import { Template } from "./template";
66

7-
import { default as IconStories } from "@spectrum-css/icon";
7+
import { default as IconStories } from "@spectrum-css/icon/stories/icon.stories.js";
88

99
export const argTypes = {
1010
size: {

0 commit comments

Comments
 (0)