@primer/components 0.0.0-2021112184952 → 0.0.0-2021112192045
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-2021112192045",
|
4
4
|
"description": "Primer react components",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"module": "lib-esm/index.js",
|
@@ -15,6 +15,7 @@
|
|
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",
|
@@ -65,7 +66,7 @@
|
|
65
66
|
"@babel/cli": "7.14.5",
|
66
67
|
"@babel/core": "7.14.8",
|
67
68
|
"@babel/eslint-parser": "7.15.7",
|
68
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "7.
|
69
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5",
|
69
70
|
"@babel/plugin-proposal-optional-chaining": "7.14.5",
|
70
71
|
"@babel/plugin-transform-modules-commonjs": "7.14.5",
|
71
72
|
"@babel/preset-react": "7.14.5",
|
@@ -104,6 +105,7 @@
|
|
104
105
|
"babel-plugin-transform-replace-expressions": "0.2.0",
|
105
106
|
"babel-polyfill": "6.26.0",
|
106
107
|
"chroma-js": "2.1.2",
|
108
|
+
"chromatic": "6.1.0",
|
107
109
|
"concurrently": "6.2.1",
|
108
110
|
"copyfiles": "2.4.1",
|
109
111
|
"cross-env": "7.0.3",
|
@@ -130,7 +132,7 @@
|
|
130
132
|
"react-dnd-html5-backend": "14.0.2",
|
131
133
|
"react-dom": "17.0.2",
|
132
134
|
"react-test-renderer": "17.0.2",
|
133
|
-
"rollup": "2.
|
135
|
+
"rollup": "2.56.3",
|
134
136
|
"rollup-plugin-babel": "4.4.0",
|
135
137
|
"rollup-plugin-terser": "7.0.2",
|
136
138
|
"rollup-plugin-visualizer": "5.5.0",
|