@primer/components 0.0.0-202111218240 → 0.0.0-2021112185232
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.
@@ -9,6 +9,6 @@ var _styledComponents = require("styled-components");
|
|
9
9
|
|
10
10
|
var _constants = require("../constants");
|
11
11
|
|
12
|
-
var _default = (0, _styledComponents.css)(["position:relative;display:inline-block;padding:
|
12
|
+
var _default = (0, _styledComponents.css)(["position:relative;display:inline-block;padding:16px 16px;font-family:inherit;font-weight:", ";line-height:20px;white-space:nowrap;vertical-align:middle;cursor:pointer;user-select:none;border-radius:", ";appearance:none;text-decoration:none;text-align:center;&:hover{text-decoration:none;}&:focus{outline:none;}&:disabled{cursor:default;}&:disabled svg{opacity:0.6;}"], (0, _constants.get)('fontWeights.bold'), (0, _constants.get)('radii.2'));
|
13
13
|
|
14
14
|
exports.default = _default;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { css } from 'styled-components';
|
2
2
|
import { get } from '../constants';
|
3
|
-
export default css(["position:relative;display:inline-block;padding:
|
3
|
+
export default css(["position:relative;display:inline-block;padding:16px 16px;font-family:inherit;font-weight:", ";line-height:20px;white-space:nowrap;vertical-align:middle;cursor:pointer;user-select:none;border-radius:", ";appearance:none;text-decoration:none;text-align:center;&:hover{text-decoration:none;}&:focus{outline:none;}&:disabled{cursor:default;}&:disabled svg{opacity:0.6;}"], get('fontWeights.bold'), get('radii.2'));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/components",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-2021112185232",
|
4
4
|
"description": "Primer react components",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"module": "lib-esm/index.js",
|
@@ -15,12 +15,14 @@
|
|
15
15
|
"start": "concurrently npm:start:*",
|
16
16
|
"start:docs": "cd docs && npm run develop",
|
17
17
|
"start:storybook": "start-storybook -p 6006",
|
18
|
+
"build:storybook": "build-storybook",
|
18
19
|
"lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0",
|
19
20
|
"lint:fix": "npm run lint -- --fix",
|
20
21
|
"test": "jest",
|
21
22
|
"test:update": "npm run test -- --updateSnapshot",
|
22
23
|
"release": "npm run build && changeset publish",
|
23
|
-
"size": "size-limit"
|
24
|
+
"size": "size-limit",
|
25
|
+
"chromatic": "npx chromatic --project-token=91e12320417c"
|
24
26
|
},
|
25
27
|
"repository": "primer/react",
|
26
28
|
"keywords": [
|
@@ -104,6 +106,7 @@
|
|
104
106
|
"babel-plugin-transform-replace-expressions": "0.2.0",
|
105
107
|
"babel-polyfill": "6.26.0",
|
106
108
|
"chroma-js": "2.1.2",
|
109
|
+
"chromatic": "6.1.0",
|
107
110
|
"concurrently": "6.2.1",
|
108
111
|
"copyfiles": "2.4.1",
|
109
112
|
"cross-env": "7.0.3",
|