@spothero/ui 18.0.1 → 18.0.4

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.
@@ -5,8 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = {
8
- background: 'rgba(0, 45, 91, 0.3)',
9
- // secondary.default at 30%
8
+ background: 'modalOverlay',
10
9
  zIndex: 'layer8'
11
10
  };
12
11
  exports.default = _default;
@@ -66,7 +66,8 @@ var _exportNames = {
66
66
  useControllableProp: true,
67
67
  BasicInput: true,
68
68
  useControllableState: true,
69
- usePrefersReducedMotion: true
69
+ usePrefersReducedMotion: true,
70
+ keyframes: true
70
71
  };
71
72
  Object.defineProperty(exports, "Alert", {
72
73
  enumerable: true,
@@ -380,6 +381,12 @@ Object.defineProperty(exports, "createIcon", {
380
381
  return _react.createIcon;
381
382
  }
382
383
  });
384
+ Object.defineProperty(exports, "keyframes", {
385
+ enumerable: true,
386
+ get: function () {
387
+ return _react.keyframes;
388
+ }
389
+ });
383
390
  Object.defineProperty(exports, "useBreakpointValue", {
384
391
  enumerable: true,
385
392
  get: function () {
@@ -7,6 +7,7 @@ exports.default = void 0;
7
7
  const white = '#ffffff';
8
8
  const black = '#000000';
9
9
  const brandBlue = '#0082ff';
10
+ const modalOverlay = '#21212160';
10
11
  const gray = {
11
12
  50: '#f6f7f9',
12
13
  100: '#e1e6ec',
@@ -129,7 +130,8 @@ const colors = {
129
130
  },
130
131
  white,
131
132
  black,
132
- brandBlue
133
+ brandBlue,
134
+ modalOverlay
133
135
  };
134
136
  var _default = colors;
135
137
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spothero/ui",
3
- "version": "18.0.1",
3
+ "version": "18.0.4",
4
4
  "description": "SpotHero's React component UI library.",
5
5
  "main": "./dist/components/index.js",
6
6
  "exports": "./dist/components/index.js",
@@ -135,9 +135,9 @@
135
135
  "classnames": "^2.2.6",
136
136
  "lodash": "4.17.21",
137
137
  "prop-types": "^15.7.2",
138
- "react": ">=16.0.0",
139
- "react-dom": ">=16.0.0",
138
+ "react": "17.0.2",
139
+ "react-dom": "17.0.2",
140
140
  "react-redux": ">=7.0.0",
141
141
  "redux": ">=4.0.0"
142
142
  }
143
- }
143
+ }