@sproutsocial/racine 8.2.0 → 8.4.0

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.
@@ -32,7 +32,6 @@ module.exports = {
32
32
  "barcode": "0 0 18 16",
33
33
  "basketball": "0 0 16 16",
34
34
  "bell-outline": "0 0 14 16",
35
- "big-commerce": "0 0 16 16",
36
35
  "bigcommerce": "0 0 16 16",
37
36
  "bitly": "0 0 16 16",
38
37
  "bold": "0 0 16 16",
@@ -1,11 +1,11 @@
1
1
  import styled, { css } from "styled-components";
2
2
  import { focusRing, disabled } from "../utils/mixins";
3
3
  import Text from "../Text";
4
- import { TYPOGRAPHY, COMMON } from "../utils/system-props";
4
+ import { TYPOGRAPHY, COMMON, FLEXBOX } from "../utils/system-props";
5
5
  var Container = styled(Text).withConfig({
6
6
  displayName: "styles__Container",
7
7
  componentId: "adcw4a-0"
8
- })(["border:0;font-family:", ";text-decoration:", ";appearance:none;cursor:pointer;", " font-weight:", ";color:", ";&:hover{color:", ";text-decoration:underline;}&:active{color:", ";}&:focus{", "}&:focus:active{box-shadow:none;}", " ", " ", " ", ""], function (props) {
8
+ })(["border:0;font-family:", ";text-decoration:", ";appearance:none;cursor:pointer;", " font-weight:", ";color:", ";&:hover{color:", ";text-decoration:underline;}&:active{color:", ";}&:focus{", "}&:focus:active{box-shadow:none;}", " ", " ", " ", " ", ""], function (props) {
9
9
  return props.theme.fontFamily;
10
10
  }, function (props) {
11
11
  return props.underline ? "underline" : "none";
@@ -23,5 +23,5 @@ var Container = styled(Text).withConfig({
23
23
  return !props.href && css(["background:none;"]);
24
24
  }, function (props) {
25
25
  return props.disabled && disabled;
26
- }, COMMON, TYPOGRAPHY);
26
+ }, COMMON, TYPOGRAPHY, FLEXBOX);
27
27
  export default Container;
package/lib/Menu/index.js CHANGED
@@ -370,7 +370,9 @@ export var MenuButton = function MenuButton(_ref5) {
370
370
  closeOnItemClick = _ref5$closeOnItemClic === void 0 ? true : _ref5$closeOnItemClic,
371
371
  _ref5$id = _ref5.id,
372
372
  id = _ref5$id === void 0 ? uniqueId("MenuButton-") : _ref5$id,
373
- props = _objectWithoutPropertiesLoose(_ref5, ["content", "popoutProps", "children", "onClick", "closeOnItemClick", "id"]);
373
+ _ref5$placement = _ref5.placement,
374
+ placement = _ref5$placement === void 0 ? "bottom" : _ref5$placement,
375
+ props = _objectWithoutPropertiesLoose(_ref5, ["content", "popoutProps", "children", "onClick", "closeOnItemClick", "id", "placement"]);
374
376
 
375
377
  var _useState2 = useState(false),
376
378
  isOpen = _useState2[0],
@@ -390,7 +392,7 @@ export var MenuButton = function MenuButton(_ref5) {
390
392
  isOpen: isOpen,
391
393
  setIsOpen: setIsOpen,
392
394
  content: /*#__PURE__*/React.createElement(CustomPopoutContent, null, content),
393
- placement: "bottom"
395
+ placement: placement
394
396
  }, popoutProps, {
395
397
  // $FlowIssue
396
398
  width: props.width