@elliemae/ds-notification-badge 2.0.0-alpha.5 → 2.0.0-alpha.9

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.
@@ -40,14 +40,14 @@ const NotificationBadge = ({
40
40
  top = relatedComponentHeight / 2;
41
41
  }
42
42
 
43
- return /*#__PURE__*/_jsx__default['default'](style.Wrapper, {}, void 0, renderBadge && /*#__PURE__*/_jsx__default['default'](Badge, {
43
+ return /*#__PURE__*/_jsx__default["default"](style.Wrapper, {}, void 0, renderBadge && /*#__PURE__*/_jsx__default["default"](Badge, {
44
44
  size: size,
45
45
  value: value,
46
46
  disabled: disabled,
47
47
  top: top,
48
48
  left: left,
49
49
  right: right
50
- }, void 0, type === 'number' && value), Component && /*#__PURE__*/_jsx__default['default'](Component, {
50
+ }, void 0, type === 'number' && value), Component && /*#__PURE__*/_jsx__default["default"](Component, {
51
51
  innerRef: relatedComponentRef
52
52
  }));
53
53
  };
package/cjs/index.js CHANGED
@@ -8,4 +8,4 @@ var NotificationBadge = require('./NotificationBadge.js');
8
8
 
9
9
  exports.NotificationBadge = NotificationBadge.NotificationBadge;
10
10
  exports.NotificationBadgeWithSchema = NotificationBadge.NotificationBadgeWithSchema;
11
- exports.default = NotificationBadge.NotificationBadge;
11
+ exports["default"] = NotificationBadge.NotificationBadge;
package/cjs/style.js CHANGED
@@ -8,10 +8,10 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
8
8
 
9
9
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
10
10
 
11
- const Wrapper = /*#__PURE__*/styled__default['default'].div.withConfig({
11
+ const Wrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
12
12
  componentId: "sc-lsxuo6-0"
13
13
  })(["display:flex;flex-direction:column;justify-content:center;align-items:center;width:fit-content;"]);
14
- const GenericBadge = /*#__PURE__*/styled__default['default'].span.withConfig({
14
+ const GenericBadge = /*#__PURE__*/styled__default["default"].span.withConfig({
15
15
  componentId: "sc-lsxuo6-1"
16
16
  })(["position:relative;top:", ";left:", ";right:", ";"], ({
17
17
  top
@@ -20,7 +20,7 @@ const GenericBadge = /*#__PURE__*/styled__default['default'].span.withConfig({
20
20
  }) => left ? `${left}px` : 'unset', ({
21
21
  right
22
22
  }) => right ? `${right}px` : 'unset');
23
- const NumericBadge = /*#__PURE__*/styled__default['default'](GenericBadge).withConfig({
23
+ const NumericBadge = /*#__PURE__*/styled__default["default"](GenericBadge).withConfig({
24
24
  componentId: "sc-lsxuo6-2"
25
25
  })(["display:flex;justify-content:center;align-items:center;width:fit-content;color:#fff;padding:", ";padding-top:2px;background-color:", ";border-radius:", ";font-size:", ";font-weight:", ";height:", ";min-width:", ";"], ({
26
26
  value
@@ -44,7 +44,7 @@ const NumericBadge = /*#__PURE__*/styled__default['default'](GenericBadge).withC
44
44
  if (size === 's' && value > 9) return '21px';
45
45
  if (size === 's' && value <= 9) return '15px';
46
46
  });
47
- const DotBadge = /*#__PURE__*/styled__default['default'](GenericBadge).withConfig({
47
+ const DotBadge = /*#__PURE__*/styled__default["default"](GenericBadge).withConfig({
48
48
  componentId: "sc-lsxuo6-3"
49
49
  })(["background-color:", ";width:", ";height:", ";border-radius:100%;"], ({
50
50
  disabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-notification-badge",
3
- "version": "2.0.0-alpha.5",
3
+ "version": "2.0.0-alpha.9",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Notification Badge",
6
6
  "module": "./esm/index.js",