orcs-design-system 2.1.6 → 2.1.8
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.
|
@@ -116,16 +116,19 @@ export var iconOnly = function iconOnly() {
|
|
|
116
116
|
my: "3"
|
|
117
117
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
118
118
|
small: true,
|
|
119
|
-
iconOnly: true
|
|
119
|
+
iconOnly: true,
|
|
120
|
+
p: "s"
|
|
120
121
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
121
122
|
icon: ["far", "calendar-alt"]
|
|
122
123
|
})), /*#__PURE__*/React.createElement(Button, {
|
|
123
|
-
iconOnly: true
|
|
124
|
+
iconOnly: true,
|
|
125
|
+
p: "s"
|
|
124
126
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
125
127
|
icon: ["far", "calendar-alt"]
|
|
126
128
|
})), /*#__PURE__*/React.createElement(Button, {
|
|
127
129
|
large: true,
|
|
128
|
-
iconOnly: true
|
|
130
|
+
iconOnly: true,
|
|
131
|
+
p: "s"
|
|
129
132
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
130
133
|
icon: ["far", "calendar-alt"]
|
|
131
134
|
})), /*#__PURE__*/React.createElement(Flex, {
|
|
@@ -571,7 +571,8 @@ export default function Header(_ref) {
|
|
|
571
571
|
variant: variant
|
|
572
572
|
}, appName), currentWorkspace && /*#__PURE__*/React.createElement(Small, {
|
|
573
573
|
color: "white",
|
|
574
|
-
fontSize: "0"
|
|
574
|
+
fontSize: "0",
|
|
575
|
+
display: ["none", "none", "none", "block"]
|
|
575
576
|
}, currentWorkspace))), /*#__PURE__*/React.createElement(Spacer, {
|
|
576
577
|
ml: 4
|
|
577
578
|
}, children), searchComponent && /*#__PURE__*/React.createElement(SearchContainer, null, searchComponent), /*#__PURE__*/React.createElement(Flex, {
|
|
@@ -4,6 +4,7 @@ import React from "react";
|
|
|
4
4
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
5
5
|
import PropTypes from "prop-types";
|
|
6
6
|
import styled, { ThemeProvider } from "styled-components";
|
|
7
|
+
import { css } from "@styled-system/css";
|
|
7
8
|
import { space, color, typography, compose } from "styled-system";
|
|
8
9
|
/**
|
|
9
10
|
* Using 3rd party icons from Font Awesome.
|
|
@@ -21,7 +22,10 @@ var IconStyles = compose(space, color, typography);
|
|
|
21
22
|
var IconWrapper = styled("span").withConfig({
|
|
22
23
|
displayName: "Icon__IconWrapper",
|
|
23
24
|
componentId: "xeqnbo-0"
|
|
24
|
-
})(
|
|
25
|
+
})(css({
|
|
26
|
+
lineHeight: "0",
|
|
27
|
+
display: "inline-block"
|
|
28
|
+
}), IconStyles);
|
|
25
29
|
export default function Icon(_ref) {
|
|
26
30
|
var border = _ref.border,
|
|
27
31
|
mask = _ref.mask,
|
|
@@ -20,7 +20,8 @@ var StatusDotItem = styled("div").withConfig({
|
|
|
20
20
|
fontSize: themeGet("fontSizes.0")(props),
|
|
21
21
|
display: "flex",
|
|
22
22
|
alignItems: "center",
|
|
23
|
-
justifyContent: "center"
|
|
23
|
+
justifyContent: "center",
|
|
24
|
+
lineHeight: "0"
|
|
24
25
|
});
|
|
25
26
|
}, function (props) {
|
|
26
27
|
return variant({
|