orcs-design-system 2.0.95 → 2.0.97
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.
|
@@ -5,7 +5,7 @@ import PropTypes from "prop-types";
|
|
|
5
5
|
import shouldForwardProp from "@styled-system/should-forward-prop";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
import { Link } from "react-router-dom";
|
|
8
|
-
import { space, layout, variant } from "styled-system";
|
|
8
|
+
import { space, layout, variant, typography } from "styled-system";
|
|
9
9
|
import { css } from "@styled-system/css";
|
|
10
10
|
import { themeGet } from "@styled-system/theme-get";
|
|
11
11
|
|
|
@@ -41,7 +41,7 @@ var styleLink = function styleLink(LinkComponent) {
|
|
|
41
41
|
textDecoration: "underline"
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
}, space, layout);
|
|
44
|
+
}, space, layout, typography);
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
var styleButtonLink = function styleButtonLink(LinkComponent) {
|
|
@@ -142,7 +142,7 @@ var styleButtonLink = function styleButtonLink(LinkComponent) {
|
|
|
142
142
|
borderColor: themeGet("colors.greyLighter")(props)
|
|
143
143
|
}
|
|
144
144
|
}) : css();
|
|
145
|
-
}, space, layout);
|
|
145
|
+
}, space, layout, typography);
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
var Hyperlink = styleLink(styled.a.withConfig({
|
|
@@ -11,7 +11,7 @@ export var lineHeights = [1, 1.5, 2]; // Z-AXIS spec
|
|
|
11
11
|
|
|
12
12
|
export var zIndices = [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 50]; // SPACING
|
|
13
13
|
|
|
14
|
-
export var space = [0, "1px", "2px", "
|
|
14
|
+
export var space = [0, "1px", "2px", "6px", "12px", "16px", "24px", "40px", "100px", "150px", "300px"];
|
|
15
15
|
space.xxs = space[1];
|
|
16
16
|
space.xs = space[2];
|
|
17
17
|
space.s = space[3];
|