@primer/css 0.0.0-20261122053726 → 0.0.0-20261126053458
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/DEVELOP.md +3 -3
- package/dist/meta.json +66 -66
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/DEVELOP.md
CHANGED
|
@@ -32,7 +32,7 @@ Run `npm install` to install the npm dependencies.
|
|
|
32
32
|
|
|
33
33
|
### The docs directory
|
|
34
34
|
|
|
35
|
-
The [docs directory](
|
|
35
|
+
The [docs directory](docs/) contains all of the documentation files in our docs site. Files are nested in the `/stories` folder.
|
|
36
36
|
|
|
37
37
|
### Code blocks
|
|
38
38
|
|
|
@@ -48,11 +48,11 @@ npm run storybook
|
|
|
48
48
|
|
|
49
49
|
### The Storybook directory
|
|
50
50
|
|
|
51
|
-
Storybook configuration files live in [.storybook](
|
|
51
|
+
Storybook configuration files live in [.storybook](docs/.storybook). Addons and additional global config can be added to [main.js](docs/.storybook/main.js) or [preview.js](docs/.storybook/preview.js)
|
|
52
52
|
|
|
53
53
|
### Stories
|
|
54
54
|
|
|
55
|
-
Stories are individual `.jsx` or `.mdx` files that contain component HTML for prototyping, typically showcasing all possible variations of a component. Stories can be found in the [stories directory](
|
|
55
|
+
Stories are individual `.jsx` or `.mdx` files that contain component HTML for prototyping, typically showcasing all possible variations of a component. Stories can be found in the [stories directory](docs/stories/components) and are organized by component. Storybook will build and deploy a preview on any open Pull Request.
|
|
56
56
|
|
|
57
57
|
## Scripts
|
|
58
58
|
|
package/dist/meta.json
CHANGED
|
@@ -33,17 +33,6 @@
|
|
|
33
33
|
"legacy": "primer-loaders/index.scss",
|
|
34
34
|
"imports": []
|
|
35
35
|
},
|
|
36
|
-
"box": {
|
|
37
|
-
"name": "box",
|
|
38
|
-
"source": "src/box/index.scss",
|
|
39
|
-
"sass": "@primer/css/box/index.scss",
|
|
40
|
-
"css": "dist/box.css",
|
|
41
|
-
"map": "dist/box.css.map",
|
|
42
|
-
"js": "dist/box.js",
|
|
43
|
-
"stats": "dist/stats/box.json",
|
|
44
|
-
"legacy": "primer-box/index.scss",
|
|
45
|
-
"imports": []
|
|
46
|
-
},
|
|
47
36
|
"header": {
|
|
48
37
|
"name": "header",
|
|
49
38
|
"source": "src/header/index.scss",
|
|
@@ -66,39 +55,6 @@
|
|
|
66
55
|
"legacy": "primer-autocomplete/index.scss",
|
|
67
56
|
"imports": []
|
|
68
57
|
},
|
|
69
|
-
"pagination": {
|
|
70
|
-
"name": "pagination",
|
|
71
|
-
"source": "src/pagination/index.scss",
|
|
72
|
-
"sass": "@primer/css/pagination/index.scss",
|
|
73
|
-
"css": "dist/pagination.css",
|
|
74
|
-
"map": "dist/pagination.css.map",
|
|
75
|
-
"js": "dist/pagination.js",
|
|
76
|
-
"stats": "dist/stats/pagination.json",
|
|
77
|
-
"legacy": "primer-pagination/index.scss",
|
|
78
|
-
"imports": []
|
|
79
|
-
},
|
|
80
|
-
"select-menu": {
|
|
81
|
-
"name": "select-menu",
|
|
82
|
-
"source": "src/select-menu/index.scss",
|
|
83
|
-
"sass": "@primer/css/select-menu/index.scss",
|
|
84
|
-
"css": "dist/select-menu.css",
|
|
85
|
-
"map": "dist/select-menu.css.map",
|
|
86
|
-
"js": "dist/select-menu.js",
|
|
87
|
-
"stats": "dist/stats/select-menu.json",
|
|
88
|
-
"legacy": "primer-select-menu/index.scss",
|
|
89
|
-
"imports": []
|
|
90
|
-
},
|
|
91
|
-
"branch-name": {
|
|
92
|
-
"name": "branch-name",
|
|
93
|
-
"source": "src/branch-name/index.scss",
|
|
94
|
-
"sass": "@primer/css/branch-name/index.scss",
|
|
95
|
-
"css": "dist/branch-name.css",
|
|
96
|
-
"map": "dist/branch-name.css.map",
|
|
97
|
-
"js": "dist/branch-name.js",
|
|
98
|
-
"stats": "dist/stats/branch-name.json",
|
|
99
|
-
"legacy": "primer-branch-name/index.scss",
|
|
100
|
-
"imports": []
|
|
101
|
-
},
|
|
102
58
|
"toasts": {
|
|
103
59
|
"name": "toasts",
|
|
104
60
|
"source": "src/toasts/index.scss",
|
|
@@ -121,6 +77,50 @@
|
|
|
121
77
|
"legacy": "primer-tooltips/index.scss",
|
|
122
78
|
"imports": []
|
|
123
79
|
},
|
|
80
|
+
"branch-name": {
|
|
81
|
+
"name": "branch-name",
|
|
82
|
+
"source": "src/branch-name/index.scss",
|
|
83
|
+
"sass": "@primer/css/branch-name/index.scss",
|
|
84
|
+
"css": "dist/branch-name.css",
|
|
85
|
+
"map": "dist/branch-name.css.map",
|
|
86
|
+
"js": "dist/branch-name.js",
|
|
87
|
+
"stats": "dist/stats/branch-name.json",
|
|
88
|
+
"legacy": "primer-branch-name/index.scss",
|
|
89
|
+
"imports": []
|
|
90
|
+
},
|
|
91
|
+
"select-menu": {
|
|
92
|
+
"name": "select-menu",
|
|
93
|
+
"source": "src/select-menu/index.scss",
|
|
94
|
+
"sass": "@primer/css/select-menu/index.scss",
|
|
95
|
+
"css": "dist/select-menu.css",
|
|
96
|
+
"map": "dist/select-menu.css.map",
|
|
97
|
+
"js": "dist/select-menu.js",
|
|
98
|
+
"stats": "dist/stats/select-menu.json",
|
|
99
|
+
"legacy": "primer-select-menu/index.scss",
|
|
100
|
+
"imports": []
|
|
101
|
+
},
|
|
102
|
+
"box": {
|
|
103
|
+
"name": "box",
|
|
104
|
+
"source": "src/box/index.scss",
|
|
105
|
+
"sass": "@primer/css/box/index.scss",
|
|
106
|
+
"css": "dist/box.css",
|
|
107
|
+
"map": "dist/box.css.map",
|
|
108
|
+
"js": "dist/box.js",
|
|
109
|
+
"stats": "dist/stats/box.json",
|
|
110
|
+
"legacy": "primer-box/index.scss",
|
|
111
|
+
"imports": []
|
|
112
|
+
},
|
|
113
|
+
"pagination": {
|
|
114
|
+
"name": "pagination",
|
|
115
|
+
"source": "src/pagination/index.scss",
|
|
116
|
+
"sass": "@primer/css/pagination/index.scss",
|
|
117
|
+
"css": "dist/pagination.css",
|
|
118
|
+
"map": "dist/pagination.css.map",
|
|
119
|
+
"js": "dist/pagination.js",
|
|
120
|
+
"stats": "dist/stats/pagination.json",
|
|
121
|
+
"legacy": "primer-pagination/index.scss",
|
|
122
|
+
"imports": []
|
|
123
|
+
},
|
|
124
124
|
"marketing-support": {
|
|
125
125
|
"name": "marketing-support",
|
|
126
126
|
"source": "src/marketing/support/index.scss",
|
|
@@ -154,28 +154,6 @@
|
|
|
154
154
|
"legacy": "primer-avatars/index.scss",
|
|
155
155
|
"imports": []
|
|
156
156
|
},
|
|
157
|
-
"marketing-type": {
|
|
158
|
-
"name": "marketing-type",
|
|
159
|
-
"source": "src/marketing/type/index.scss",
|
|
160
|
-
"sass": "@primer/css/marketing/type/index.scss",
|
|
161
|
-
"css": "dist/marketing-type.css",
|
|
162
|
-
"map": "dist/marketing-type.css.map",
|
|
163
|
-
"js": "dist/marketing-type.js",
|
|
164
|
-
"stats": "dist/stats/marketing-type.json",
|
|
165
|
-
"legacy": "primer-marketing-type/index.scss",
|
|
166
|
-
"imports": []
|
|
167
|
-
},
|
|
168
|
-
"marketing-links": {
|
|
169
|
-
"name": "marketing-links",
|
|
170
|
-
"source": "src/marketing/links/index.scss",
|
|
171
|
-
"sass": "@primer/css/marketing/links/index.scss",
|
|
172
|
-
"css": "dist/marketing-links.css",
|
|
173
|
-
"map": "dist/marketing-links.css.map",
|
|
174
|
-
"js": "dist/marketing-links.js",
|
|
175
|
-
"stats": "dist/stats/marketing-links.json",
|
|
176
|
-
"legacy": "primer-marketing-links/index.scss",
|
|
177
|
-
"imports": []
|
|
178
|
-
},
|
|
179
157
|
"marketing-buttons": {
|
|
180
158
|
"name": "marketing-buttons",
|
|
181
159
|
"source": "src/marketing/buttons/index.scss",
|
|
@@ -187,6 +165,17 @@
|
|
|
187
165
|
"legacy": "primer-marketing-buttons/index.scss",
|
|
188
166
|
"imports": []
|
|
189
167
|
},
|
|
168
|
+
"marketing-type": {
|
|
169
|
+
"name": "marketing-type",
|
|
170
|
+
"source": "src/marketing/type/index.scss",
|
|
171
|
+
"sass": "@primer/css/marketing/type/index.scss",
|
|
172
|
+
"css": "dist/marketing-type.css",
|
|
173
|
+
"map": "dist/marketing-type.css.map",
|
|
174
|
+
"js": "dist/marketing-type.js",
|
|
175
|
+
"stats": "dist/stats/marketing-type.json",
|
|
176
|
+
"legacy": "primer-marketing-type/index.scss",
|
|
177
|
+
"imports": []
|
|
178
|
+
},
|
|
190
179
|
"navigation": {
|
|
191
180
|
"name": "navigation",
|
|
192
181
|
"source": "src/navigation/index.scss",
|
|
@@ -198,6 +187,17 @@
|
|
|
198
187
|
"legacy": "primer-navigation/index.scss",
|
|
199
188
|
"imports": []
|
|
200
189
|
},
|
|
190
|
+
"marketing-links": {
|
|
191
|
+
"name": "marketing-links",
|
|
192
|
+
"source": "src/marketing/links/index.scss",
|
|
193
|
+
"sass": "@primer/css/marketing/links/index.scss",
|
|
194
|
+
"css": "dist/marketing-links.css",
|
|
195
|
+
"map": "dist/marketing-links.css.map",
|
|
196
|
+
"js": "dist/marketing-links.js",
|
|
197
|
+
"stats": "dist/stats/marketing-links.json",
|
|
198
|
+
"legacy": "primer-marketing-links/index.scss",
|
|
199
|
+
"imports": []
|
|
200
|
+
},
|
|
201
201
|
"buttons": {
|
|
202
202
|
"name": "buttons",
|
|
203
203
|
"source": "src/buttons/index.scss",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/css",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-20261126053458",
|
|
4
4
|
"description": "The CSS implementation of GitHub's Primer Design System",
|
|
5
5
|
"homepage": "https://primer.style/css",
|
|
6
6
|
"author": "GitHub, Inc.",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"postcss-simple-vars": "^7.0.1",
|
|
81
81
|
"prettier": "^3.4.2",
|
|
82
82
|
"semver": "^7.6.0",
|
|
83
|
-
"stylelint": "^
|
|
83
|
+
"stylelint": "^17.0.0",
|
|
84
84
|
"table": "^6.8.1",
|
|
85
85
|
"tslib": "^2.8.1"
|
|
86
86
|
},
|