@primer/components 0.0.0-2021112192045 → 0.0.0-2021112193058

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: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'));
12
+ var _default = (0, _styledComponents.css)(["position:relative;display:inline-block;padding:6px 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: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'));
3
+ export default css(["position:relative;display:inline-block;padding:6px 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-2021112192045",
3
+ "version": "0.0.0-2021112193058",
4
4
  "description": "Primer react components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-esm/index.js",
@@ -21,7 +21,8 @@
21
21
  "test": "jest",
22
22
  "test:update": "npm run test -- --updateSnapshot",
23
23
  "release": "npm run build && changeset publish",
24
- "size": "size-limit"
24
+ "size": "size-limit",
25
+ "chromatic": "npx chromatic --project-token=91e12320417c"
25
26
  },
26
27
  "repository": "primer/react",
27
28
  "keywords": [
@@ -66,7 +67,7 @@
66
67
  "@babel/cli": "7.14.5",
67
68
  "@babel/core": "7.14.8",
68
69
  "@babel/eslint-parser": "7.15.7",
69
- "@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5",
70
+ "@babel/plugin-proposal-nullish-coalescing-operator": "7.16.0",
70
71
  "@babel/plugin-proposal-optional-chaining": "7.14.5",
71
72
  "@babel/plugin-transform-modules-commonjs": "7.14.5",
72
73
  "@babel/preset-react": "7.14.5",
@@ -132,7 +133,7 @@
132
133
  "react-dnd-html5-backend": "14.0.2",
133
134
  "react-dom": "17.0.2",
134
135
  "react-test-renderer": "17.0.2",
135
- "rollup": "2.56.3",
136
+ "rollup": "2.60.2",
136
137
  "rollup-plugin-babel": "4.4.0",
137
138
  "rollup-plugin-terser": "7.0.2",
138
139
  "rollup-plugin-visualizer": "5.5.0",