@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.
- package/CHANGELOG.md +12 -0
- package/__flow__/EnumIconNames.js +1 -1
- package/__flow__/IconViewBoxes.js +1 -1
- package/__flow__/Link/styles.js +2 -1
- package/__flow__/Menu/index.flow.js +2 -1
- package/__flow__/Menu/index.js +2 -1
- package/commonjs/IconViewBoxes.js +0 -1
- package/commonjs/Link/styles.js +2 -2
- package/commonjs/Menu/index.js +4 -2
- package/commonjs/include-icons.js +1 -1
- package/dist/iconList.js +1 -1
- package/dist/icons.svg +1 -1
- package/includeIcons.js +1 -1
- package/lib/IconViewBoxes.js +0 -1
- package/lib/Link/styles.js +3 -3
- package/lib/Menu/index.js +4 -2
- package/lib/include-icons.js +1 -1
- package/package.json +1 -1
- package/icons/big-commerce.svg +0 -4
package/lib/IconViewBoxes.js
CHANGED
package/lib/Link/styles.js
CHANGED
|
@@ -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
|
-
|
|
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:
|
|
395
|
+
placement: placement
|
|
394
396
|
}, popoutProps, {
|
|
395
397
|
// $FlowIssue
|
|
396
398
|
width: props.width
|