@sproutsocial/racine 11.3.1-beta-deps.2 → 11.3.1-beta-deps.5
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/commonjs/DatePicker/styles.js +1 -5
- package/commonjs/Menu/index.js +10 -10
- package/commonjs/Message/styles.js +1 -1
- package/commonjs/Modal/styles.js +1 -5
- package/commonjs/Toast/index.js +14 -14
- package/commonjs/Toast/styles.js +2 -5
- package/lib/DatePicker/styles.js +1 -5
- package/lib/Menu/index.js +10 -11
- package/lib/Message/styles.js +1 -1
- package/lib/Modal/styles.js +1 -5
- package/lib/Toast/index.js +14 -14
- package/lib/Toast/styles.js +1 -5
- package/package.json +3 -3
|
@@ -11,16 +11,12 @@ var _Box = _interopRequireDefault(require("../Box"));
|
|
|
11
11
|
|
|
12
12
|
var _mixins = require("../utils/mixins");
|
|
13
13
|
|
|
14
|
-
var _templateObject;
|
|
15
|
-
|
|
16
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
15
|
|
|
18
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
17
|
|
|
20
18
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
19
|
|
|
22
|
-
function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
|
|
23
|
-
|
|
24
20
|
/*
|
|
25
21
|
* Partial list of modifiers given to renderDayContents by airbnb/react-dates. There may be more.
|
|
26
22
|
*
|
|
@@ -87,7 +83,7 @@ var CalendarDay = (0, _styledComponents.default)(_Box.default).withConfig({
|
|
|
87
83
|
}
|
|
88
84
|
});
|
|
89
85
|
exports.CalendarDay = CalendarDay;
|
|
90
|
-
var ReactDatesCssOverrides = (0, _styledComponents.createGlobalStyle)(
|
|
86
|
+
var ReactDatesCssOverrides = (0, _styledComponents.createGlobalStyle)([".DayPicker{box-sizing:content-box;font-weight:", ";font-family:", ";&_transitionContainer{height:228px !important;}&_weekHeader{color:", ";border-bottom:1px solid ", ";top:26px;width:230px;&_ul{padding-left:10px;}}&_weekHeaders__horizontal{margin-left:0}&_weekHeader_li{", " color:", ";font-weight:", ";margin:0;}&__horizontal{box-shadow:none;background:", ";}}.CalendarDay{background-color:transparent;&__selected,&__selected_span,&:hover{background-color:transparent;}&__default{color:", ";}&__default,&__default:hover{border:none;color:", ";}}.CalendarMonth{", " background:", ";padding:0 15px;&_caption{", " color:", ";padding-top:0;background:", ";strong{font-weight:", ";}}&_table{line-height:21.333px;tr{vertical-align:middle;}td{padding:0;border-bottom:none;}}}.CalendarMonthGrid{background:", ";}.DayPickerNavigation_button__horizontal{color:", ";top:-4px;padding:7px 8px;position:absolute;line-height:0.78;border-radius:9999px;border:none;background:", ";&:nth-child(1){left:22px;}&:nth-child(2){right:22px;}&:hover{background:", ";}}"], function (_ref2) {
|
|
91
87
|
var theme = _ref2.theme;
|
|
92
88
|
return theme.fontWeights.normal;
|
|
93
89
|
}, function (props) {
|
package/commonjs/Menu/index.js
CHANGED
|
@@ -267,13 +267,6 @@ var MenuRadio = function MenuRadio(props) {
|
|
|
267
267
|
|
|
268
268
|
exports.MenuRadio = MenuRadio;
|
|
269
269
|
|
|
270
|
-
var _StyledText = (0, _styledComponents.default)(_Text.default).withConfig({
|
|
271
|
-
displayName: "Menu___StyledText",
|
|
272
|
-
componentId: "sc-1p3rdnp-0"
|
|
273
|
-
})(["", ""], function (p) {
|
|
274
|
-
return p._css;
|
|
275
|
-
});
|
|
276
|
-
|
|
277
270
|
var MenuGroup = function MenuGroup(_ref2) {
|
|
278
271
|
var children = _ref2.children,
|
|
279
272
|
title = _ref2.title,
|
|
@@ -293,7 +286,7 @@ var MenuGroup = function MenuGroup(_ref2) {
|
|
|
293
286
|
fontWeight: 600,
|
|
294
287
|
mt: 350,
|
|
295
288
|
color: "text.headline",
|
|
296
|
-
_css: isDisabled && _mixins.disabled
|
|
289
|
+
$_css: isDisabled && _mixins.disabled
|
|
297
290
|
}, title)), /*#__PURE__*/React.createElement(_Box.default, _extends({}, props, {
|
|
298
291
|
p: 300,
|
|
299
292
|
role: "group"
|
|
@@ -443,7 +436,7 @@ Menu.Divider.displayName = "Menu.Divider";
|
|
|
443
436
|
Menu.FilterInput.displayName = "Menu.FilterInput";
|
|
444
437
|
var CustomPopoutContent = (0, _styledComponents.default)(_Popout.default.Content).withConfig({
|
|
445
438
|
displayName: "Menu__CustomPopoutContent",
|
|
446
|
-
componentId: "sc-1p3rdnp-
|
|
439
|
+
componentId: "sc-1p3rdnp-0"
|
|
447
440
|
})(["padding:0;margin-left:0;margin-right:0;"]);
|
|
448
441
|
|
|
449
442
|
var MenuButton = function MenuButton(_ref5) {
|
|
@@ -501,4 +494,11 @@ var MenuButton = function MenuButton(_ref5) {
|
|
|
501
494
|
|
|
502
495
|
exports.MenuButton = MenuButton;
|
|
503
496
|
var _default = Menu;
|
|
504
|
-
exports.default = _default;
|
|
497
|
+
exports.default = _default;
|
|
498
|
+
|
|
499
|
+
var _StyledText = (0, _styledComponents.default)(_Text.default).withConfig({
|
|
500
|
+
displayName: "Menu___StyledText",
|
|
501
|
+
componentId: "sc-1p3rdnp-1"
|
|
502
|
+
})(["", ""], function (p) {
|
|
503
|
+
return p.$_css;
|
|
504
|
+
});
|
|
@@ -105,7 +105,7 @@ exports.MessageBody = MessageBody;
|
|
|
105
105
|
var MessageFooter = (0, _styledComponents.default)(_Box.default).withConfig({
|
|
106
106
|
displayName: "styles__MessageFooter",
|
|
107
107
|
componentId: "sc-1ju6d1v-3"
|
|
108
|
-
})(["padding-bottom:", ";padding-left:", ";padding-right:", ";border-radius:0 0 ", " ", ";display:flex;justify-content:space-between;align-items:center;flex-wrap:", "
|
|
108
|
+
})(["padding-bottom:", ";padding-left:", ";padding-right:", ";border-radius:0 0 ", " ", ";display:flex;justify-content:space-between;align-items:center;flex-wrap:", ";> :first-child{margin-left:-", ";}"], function (props) {
|
|
109
109
|
return props.density === _Message.default.DENSITIES.CONDENSED ? 0 : props.theme.space[300];
|
|
110
110
|
}, function (props) {
|
|
111
111
|
return getContentPadding(props);
|
package/commonjs/Modal/styles.js
CHANGED
|
@@ -15,8 +15,6 @@ var _Box = _interopRequireDefault(require("../Box"));
|
|
|
15
15
|
|
|
16
16
|
var _systemProps = require("../utils/system-props");
|
|
17
17
|
|
|
18
|
-
var _templateObject;
|
|
19
|
-
|
|
20
18
|
var _excluded = ["className"];
|
|
21
19
|
|
|
22
20
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -25,8 +23,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
25
23
|
|
|
26
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
25
|
|
|
28
|
-
function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
|
|
29
|
-
|
|
30
26
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
31
27
|
|
|
32
28
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -55,7 +51,7 @@ function ReactModalAdapter(_ref) {
|
|
|
55
51
|
}, props));
|
|
56
52
|
}
|
|
57
53
|
|
|
58
|
-
var Body = (0, _styledComponents.createGlobalStyle)(
|
|
54
|
+
var Body = (0, _styledComponents.createGlobalStyle)([".ReactModal__Body--open{overflow:hidden;}"]); // eslint-disable-next-line prettier/prettier
|
|
59
55
|
|
|
60
56
|
exports.Body = Body;
|
|
61
57
|
var Container = (0, _styledComponents.default)(ReactModalAdapter).withConfig({
|
package/commonjs/Toast/index.js
CHANGED
|
@@ -82,26 +82,14 @@ function toast(options) {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
var _StyledBox = (0, _styledComponents.default)(_Box.default).withConfig({
|
|
86
|
-
displayName: "Toast___StyledBox",
|
|
87
|
-
componentId: "sc-1vii3dq-0"
|
|
88
|
-
})(["", ""], function (p) {
|
|
89
|
-
return p._css;
|
|
90
|
-
});
|
|
91
|
-
|
|
92
85
|
var IconBox = function IconBox(props) {
|
|
93
86
|
return /*#__PURE__*/React.createElement(_StyledBox, _extends({
|
|
94
87
|
display: "inline-block"
|
|
95
88
|
}, props, {
|
|
96
|
-
_css: "line-height: 1;"
|
|
89
|
+
$_css: "line-height: 1;"
|
|
97
90
|
}));
|
|
98
91
|
};
|
|
99
92
|
|
|
100
|
-
var _StyledBox2 = (0, _styledComponents.default)(_Box.default).withConfig({
|
|
101
|
-
displayName: "Toast___StyledBox2",
|
|
102
|
-
componentId: "sc-1vii3dq-1"
|
|
103
|
-
})(["transform:translateY(1px);"]);
|
|
104
|
-
|
|
105
93
|
var Toast = function Toast(_ref) {
|
|
106
94
|
var content = _ref.content,
|
|
107
95
|
theme = _ref.theme,
|
|
@@ -140,4 +128,16 @@ var Toast = function Toast(_ref) {
|
|
|
140
128
|
};
|
|
141
129
|
|
|
142
130
|
var _default = ToastContainer;
|
|
143
|
-
exports.default = _default;
|
|
131
|
+
exports.default = _default;
|
|
132
|
+
|
|
133
|
+
var _StyledBox = (0, _styledComponents.default)(_Box.default).withConfig({
|
|
134
|
+
displayName: "Toast___StyledBox",
|
|
135
|
+
componentId: "sc-1vii3dq-0"
|
|
136
|
+
})(["", ""], function (p) {
|
|
137
|
+
return p.$_css;
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
var _StyledBox2 = (0, _styledComponents.default)(_Box.default).withConfig({
|
|
141
|
+
displayName: "Toast___StyledBox2",
|
|
142
|
+
componentId: "sc-1vii3dq-1"
|
|
143
|
+
})(["transform:translateY(1px);"]);
|
package/commonjs/Toast/styles.js
CHANGED
|
@@ -11,16 +11,13 @@ var _Icon = _interopRequireDefault(require("../Icon"));
|
|
|
11
11
|
|
|
12
12
|
var _ReactToastify = _interopRequireDefault(require("!!raw-loader!react-toastify/dist/ReactToastify.css"));
|
|
13
13
|
|
|
14
|
-
var _templateObject;
|
|
15
|
-
|
|
16
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
15
|
|
|
18
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
17
|
|
|
20
18
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
19
|
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
// $FlowIssue
|
|
24
21
|
var Container = (0, _styledComponents.default)(_Box.default).withConfig({
|
|
25
22
|
displayName: "styles__Container",
|
|
26
23
|
componentId: "sc-wp5x29-0"
|
|
@@ -42,7 +39,7 @@ var CustomIcon = (0, _styledComponents.default)(_Icon.default).withConfig({
|
|
|
42
39
|
return p.customColor ? undefined : p.theme.colors.icon[p.type];
|
|
43
40
|
});
|
|
44
41
|
exports.CustomIcon = CustomIcon;
|
|
45
|
-
var GlobalToastStyles = (0, _styledComponents.createGlobalStyle)(
|
|
42
|
+
var GlobalToastStyles = (0, _styledComponents.createGlobalStyle)(["", " .Toastify__toast:last-of-type{margin-bottom:0;}.Toastify-container-overrides{padding:0;width:360px;}.Toastify-toast-overrides{padding:0;min-height:0;border-radius:2px;}.Toastify__toast-container--bottom-right{bottom:", ";right:", ";}@media only screen and (max-width:480px){.Toastify-container-overrides{min-width:initial;}}"], _ReactToastify.default, function (p) {
|
|
46
43
|
return p.theme.space[400];
|
|
47
44
|
}, function (p) {
|
|
48
45
|
return p.theme.space[400];
|
package/lib/DatePicker/styles.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
var _templateObject;
|
|
2
|
-
|
|
3
|
-
function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
|
|
4
|
-
|
|
5
1
|
import styled, { createGlobalStyle, css } from "styled-components";
|
|
6
2
|
import moment from "moment";
|
|
7
3
|
import Box from "../Box";
|
|
@@ -72,7 +68,7 @@ export var CalendarDay = styled(Box).withConfig({
|
|
|
72
68
|
return css(["color:", ";", ";"], theme.colors.text.subtext, disabled);
|
|
73
69
|
}
|
|
74
70
|
});
|
|
75
|
-
export var ReactDatesCssOverrides = createGlobalStyle(
|
|
71
|
+
export var ReactDatesCssOverrides = createGlobalStyle([".DayPicker{box-sizing:content-box;font-weight:", ";font-family:", ";&_transitionContainer{height:228px !important;}&_weekHeader{color:", ";border-bottom:1px solid ", ";top:26px;width:230px;&_ul{padding-left:10px;}}&_weekHeaders__horizontal{margin-left:0}&_weekHeader_li{", " color:", ";font-weight:", ";margin:0;}&__horizontal{box-shadow:none;background:", ";}}.CalendarDay{background-color:transparent;&__selected,&__selected_span,&:hover{background-color:transparent;}&__default{color:", ";}&__default,&__default:hover{border:none;color:", ";}}.CalendarMonth{", " background:", ";padding:0 15px;&_caption{", " color:", ";padding-top:0;background:", ";strong{font-weight:", ";}}&_table{line-height:21.333px;tr{vertical-align:middle;}td{padding:0;border-bottom:none;}}}.CalendarMonthGrid{background:", ";}.DayPickerNavigation_button__horizontal{color:", ";top:-4px;padding:7px 8px;position:absolute;line-height:0.78;border-radius:9999px;border:none;background:", ";&:nth-child(1){left:22px;}&:nth-child(2){right:22px;}&:hover{background:", ";}}"], function (_ref2) {
|
|
76
72
|
var theme = _ref2.theme;
|
|
77
73
|
return theme.fontWeights.normal;
|
|
78
74
|
}, function (props) {
|
package/lib/Menu/index.js
CHANGED
|
@@ -232,14 +232,6 @@ export var MenuRadio = function MenuRadio(props) {
|
|
|
232
232
|
role: MENU_ITEM_ROLES.RADIO
|
|
233
233
|
}, props));
|
|
234
234
|
};
|
|
235
|
-
|
|
236
|
-
var _StyledText = styled(Text).withConfig({
|
|
237
|
-
displayName: "Menu___StyledText",
|
|
238
|
-
componentId: "sc-1p3rdnp-0"
|
|
239
|
-
})(["", ""], function (p) {
|
|
240
|
-
return p._css;
|
|
241
|
-
});
|
|
242
|
-
|
|
243
235
|
export var MenuGroup = function MenuGroup(_ref2) {
|
|
244
236
|
var children = _ref2.children,
|
|
245
237
|
title = _ref2.title,
|
|
@@ -259,7 +251,7 @@ export var MenuGroup = function MenuGroup(_ref2) {
|
|
|
259
251
|
fontWeight: 600,
|
|
260
252
|
mt: 350,
|
|
261
253
|
color: "text.headline",
|
|
262
|
-
_css: isDisabled && disabled
|
|
254
|
+
$_css: isDisabled && disabled
|
|
263
255
|
}, title)), /*#__PURE__*/React.createElement(Box, _extends({}, props, {
|
|
264
256
|
p: 300,
|
|
265
257
|
role: "group"
|
|
@@ -402,7 +394,7 @@ Menu.Divider.displayName = "Menu.Divider";
|
|
|
402
394
|
Menu.FilterInput.displayName = "Menu.FilterInput";
|
|
403
395
|
var CustomPopoutContent = styled(Popout.Content).withConfig({
|
|
404
396
|
displayName: "Menu__CustomPopoutContent",
|
|
405
|
-
componentId: "sc-1p3rdnp-
|
|
397
|
+
componentId: "sc-1p3rdnp-0"
|
|
406
398
|
})(["padding:0;margin-left:0;margin-right:0;"]);
|
|
407
399
|
export var MenuButton = function MenuButton(_ref5) {
|
|
408
400
|
var content = _ref5.content,
|
|
@@ -456,4 +448,11 @@ export var MenuButton = function MenuButton(_ref5) {
|
|
|
456
448
|
}
|
|
457
449
|
}), children)));
|
|
458
450
|
};
|
|
459
|
-
export default Menu;
|
|
451
|
+
export default Menu;
|
|
452
|
+
|
|
453
|
+
var _StyledText = styled(Text).withConfig({
|
|
454
|
+
displayName: "Menu___StyledText",
|
|
455
|
+
componentId: "sc-1p3rdnp-1"
|
|
456
|
+
})(["", ""], function (p) {
|
|
457
|
+
return p.$_css;
|
|
458
|
+
});
|
package/lib/Message/styles.js
CHANGED
|
@@ -91,7 +91,7 @@ export var MessageBody = styled(Box).withConfig({
|
|
|
91
91
|
export var MessageFooter = styled(Box).withConfig({
|
|
92
92
|
displayName: "styles__MessageFooter",
|
|
93
93
|
componentId: "sc-1ju6d1v-3"
|
|
94
|
-
})(["padding-bottom:", ";padding-left:", ";padding-right:", ";border-radius:0 0 ", " ", ";display:flex;justify-content:space-between;align-items:center;flex-wrap:", "
|
|
94
|
+
})(["padding-bottom:", ";padding-left:", ";padding-right:", ";border-radius:0 0 ", " ", ";display:flex;justify-content:space-between;align-items:center;flex-wrap:", ";> :first-child{margin-left:-", ";}"], function (props) {
|
|
95
95
|
return props.density === Message.DENSITIES.CONDENSED ? 0 : props.theme.space[300];
|
|
96
96
|
}, function (props) {
|
|
97
97
|
return getContentPadding(props);
|
package/lib/Modal/styles.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
var _templateObject;
|
|
2
|
-
|
|
3
1
|
var _excluded = ["className"];
|
|
4
2
|
|
|
5
|
-
function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
|
|
6
|
-
|
|
7
3
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
8
4
|
|
|
9
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -38,7 +34,7 @@ function ReactModalAdapter(_ref) {
|
|
|
38
34
|
}, props));
|
|
39
35
|
}
|
|
40
36
|
|
|
41
|
-
export var Body = createGlobalStyle(
|
|
37
|
+
export var Body = createGlobalStyle([".ReactModal__Body--open{overflow:hidden;}"]); // eslint-disable-next-line prettier/prettier
|
|
42
38
|
|
|
43
39
|
export var Container = styled(ReactModalAdapter).withConfig({
|
|
44
40
|
displayName: "styles__Container",
|
package/lib/Toast/index.js
CHANGED
|
@@ -63,26 +63,14 @@ export function toast(options) {
|
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
var _StyledBox = _styled(Box).withConfig({
|
|
67
|
-
displayName: "Toast___StyledBox",
|
|
68
|
-
componentId: "sc-1vii3dq-0"
|
|
69
|
-
})(["", ""], function (p) {
|
|
70
|
-
return p._css;
|
|
71
|
-
});
|
|
72
|
-
|
|
73
66
|
var IconBox = function IconBox(props) {
|
|
74
67
|
return /*#__PURE__*/React.createElement(_StyledBox, _extends({
|
|
75
68
|
display: "inline-block"
|
|
76
69
|
}, props, {
|
|
77
|
-
_css: "line-height: 1;"
|
|
70
|
+
$_css: "line-height: 1;"
|
|
78
71
|
}));
|
|
79
72
|
};
|
|
80
73
|
|
|
81
|
-
var _StyledBox2 = _styled(Box).withConfig({
|
|
82
|
-
displayName: "Toast___StyledBox2",
|
|
83
|
-
componentId: "sc-1vii3dq-1"
|
|
84
|
-
})(["transform:translateY(1px);"]);
|
|
85
|
-
|
|
86
74
|
var Toast = function Toast(_ref) {
|
|
87
75
|
var content = _ref.content,
|
|
88
76
|
theme = _ref.theme,
|
|
@@ -120,4 +108,16 @@ var Toast = function Toast(_ref) {
|
|
|
120
108
|
}))));
|
|
121
109
|
};
|
|
122
110
|
|
|
123
|
-
export default ToastContainer;
|
|
111
|
+
export default ToastContainer;
|
|
112
|
+
|
|
113
|
+
var _StyledBox = _styled(Box).withConfig({
|
|
114
|
+
displayName: "Toast___StyledBox",
|
|
115
|
+
componentId: "sc-1vii3dq-0"
|
|
116
|
+
})(["", ""], function (p) {
|
|
117
|
+
return p.$_css;
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
var _StyledBox2 = _styled(Box).withConfig({
|
|
121
|
+
displayName: "Toast___StyledBox2",
|
|
122
|
+
componentId: "sc-1vii3dq-1"
|
|
123
|
+
})(["transform:translateY(1px);"]);
|
package/lib/Toast/styles.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
var _templateObject;
|
|
2
|
-
|
|
3
|
-
function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
|
|
4
|
-
|
|
5
1
|
import styled, { createGlobalStyle } from "styled-components";
|
|
6
2
|
import Box from "../Box";
|
|
7
3
|
import Icon from "../Icon"; // $FlowIssue
|
|
@@ -27,7 +23,7 @@ export var CustomIcon = styled(Icon).withConfig({
|
|
|
27
23
|
}, function (p) {
|
|
28
24
|
return p.customColor ? undefined : p.theme.colors.icon[p.type];
|
|
29
25
|
});
|
|
30
|
-
export var GlobalToastStyles = createGlobalStyle(
|
|
26
|
+
export var GlobalToastStyles = createGlobalStyle(["", " .Toastify__toast:last-of-type{margin-bottom:0;}.Toastify-container-overrides{padding:0;width:360px;}.Toastify-toast-overrides{padding:0;min-height:0;border-radius:2px;}.Toastify__toast-container--bottom-right{bottom:", ";right:", ";}@media only screen and (max-width:480px){.Toastify-container-overrides{min-width:initial;}}"], toastStyles, function (p) {
|
|
31
27
|
return p.theme.space[400];
|
|
32
28
|
}, function (p) {
|
|
33
29
|
return p.theme.space[400];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/racine",
|
|
3
|
-
"version": "11.3.1-beta-deps.
|
|
3
|
+
"version": "11.3.1-beta-deps.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"__flow__",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"react-popper": "^1.3.3",
|
|
78
78
|
"react-spring": "^8.0.25",
|
|
79
79
|
"react-toastify": "^6.0.5",
|
|
80
|
-
"react-virtualized": "9.
|
|
80
|
+
"react-virtualized": "9.18.5",
|
|
81
81
|
"scroll-into-view-if-needed": "1.1.0",
|
|
82
82
|
"styled-system": "^5.1.5",
|
|
83
83
|
"use-measure": "^0.2.2"
|
|
@@ -111,7 +111,6 @@
|
|
|
111
111
|
"@testing-library/jest-dom": "^5.16.4",
|
|
112
112
|
"@testing-library/react": "^11.2.2",
|
|
113
113
|
"@testing-library/user-event": "^13.0.0",
|
|
114
|
-
"@univision/babel-plugin-styled-components": "^1.10.9",
|
|
115
114
|
"axios": "^0.26.1",
|
|
116
115
|
"babel-core": "^7.0.0-bridge",
|
|
117
116
|
"babel-eslint": "10.1.0",
|
|
@@ -181,6 +180,7 @@
|
|
|
181
180
|
"prop-types": "^15.0.0",
|
|
182
181
|
"react": "^16.2.0",
|
|
183
182
|
"react-dates": "^21.8.0",
|
|
183
|
+
"react-virtualized": "9.18.5",
|
|
184
184
|
"styled-components": "^5.2.3"
|
|
185
185
|
},
|
|
186
186
|
"resolutions": {
|