@sproutsocial/seeds-react-message 1.0.1 → 1.0.2

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.
package/dist/index.js CHANGED
@@ -48,58 +48,46 @@ var import_styled_components3 = __toESM(require("styled-components"));
48
48
 
49
49
  // ../../node_modules/@babel/runtime/helpers/esm/extends.js
50
50
  function _extends() {
51
- _extends = Object.assign ? Object.assign.bind() : function(target) {
52
- for (var i = 1; i < arguments.length; i++) {
53
- var source = arguments[i];
54
- for (var key in source) {
55
- if (Object.prototype.hasOwnProperty.call(source, key)) {
56
- target[key] = source[key];
57
- }
58
- }
51
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
52
+ for (var e = 1; e < arguments.length; e++) {
53
+ var t = arguments[e];
54
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
59
55
  }
60
- return target;
61
- };
62
- return _extends.apply(this, arguments);
56
+ return n;
57
+ }, _extends.apply(null, arguments);
63
58
  }
64
59
 
65
60
  // ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
66
- function _assertThisInitialized(self) {
67
- if (self === void 0) {
68
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
69
- }
70
- return self;
61
+ function _assertThisInitialized(e) {
62
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
63
+ return e;
71
64
  }
72
65
 
73
66
  // ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
74
- function _setPrototypeOf(o, p) {
75
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
76
- o2.__proto__ = p2;
77
- return o2;
78
- };
79
- return _setPrototypeOf(o, p);
67
+ function _setPrototypeOf(t, e) {
68
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
69
+ return t2.__proto__ = e2, t2;
70
+ }, _setPrototypeOf(t, e);
80
71
  }
81
72
 
82
73
  // ../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
83
- function _inheritsLoose(subClass, superClass) {
84
- subClass.prototype = Object.create(superClass.prototype);
85
- subClass.prototype.constructor = subClass;
86
- _setPrototypeOf(subClass, superClass);
74
+ function _inheritsLoose(t, o) {
75
+ t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
87
76
  }
88
77
 
89
78
  // ../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
90
- function _getPrototypeOf(o) {
91
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o2) {
92
- return o2.__proto__ || Object.getPrototypeOf(o2);
93
- };
94
- return _getPrototypeOf(o);
79
+ function _getPrototypeOf(t) {
80
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
81
+ return t2.__proto__ || Object.getPrototypeOf(t2);
82
+ }, _getPrototypeOf(t);
95
83
  }
96
84
 
97
85
  // ../../node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
98
- function _isNativeFunction(fn) {
86
+ function _isNativeFunction(t) {
99
87
  try {
100
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
101
- } catch (e) {
102
- return typeof fn === "function";
88
+ return -1 !== Function.toString.call(t).indexOf("[native code]");
89
+ } catch (n) {
90
+ return "function" == typeof t;
103
91
  }
104
92
  }
105
93
 
@@ -125,31 +113,27 @@ function _construct(t, e, r) {
125
113
  }
126
114
 
127
115
  // ../../node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js
128
- function _wrapNativeSuper(Class) {
129
- var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
130
- _wrapNativeSuper = function _wrapNativeSuper2(Class2) {
131
- if (Class2 === null || !_isNativeFunction(Class2)) return Class2;
132
- if (typeof Class2 !== "function") {
133
- throw new TypeError("Super expression must either be null or a function");
134
- }
135
- if (typeof _cache !== "undefined") {
136
- if (_cache.has(Class2)) return _cache.get(Class2);
137
- _cache.set(Class2, Wrapper);
116
+ function _wrapNativeSuper(t) {
117
+ var r = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0;
118
+ return _wrapNativeSuper = function _wrapNativeSuper2(t2) {
119
+ if (null === t2 || !_isNativeFunction(t2)) return t2;
120
+ if ("function" != typeof t2) throw new TypeError("Super expression must either be null or a function");
121
+ if (void 0 !== r) {
122
+ if (r.has(t2)) return r.get(t2);
123
+ r.set(t2, Wrapper);
138
124
  }
139
125
  function Wrapper() {
140
- return _construct(Class2, arguments, _getPrototypeOf(this).constructor);
126
+ return _construct(t2, arguments, _getPrototypeOf(this).constructor);
141
127
  }
142
- Wrapper.prototype = Object.create(Class2.prototype, {
128
+ return Wrapper.prototype = Object.create(t2.prototype, {
143
129
  constructor: {
144
130
  value: Wrapper,
145
131
  enumerable: false,
146
132
  writable: true,
147
133
  configurable: true
148
134
  }
149
- });
150
- return _setPrototypeOf(Wrapper, Class2);
151
- };
152
- return _wrapNativeSuper(Class);
135
+ }), _setPrototypeOf(Wrapper, t2);
136
+ }, _wrapNativeSuper(t);
153
137
  }
154
138
 
155
139
  // ../../node_modules/polished/dist/polished.esm.js