@grantbii/design-system 1.0.65 → 1.0.66
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/core/atoms/Badge.js +1 -0
- package/core/atoms/BrandLogo.js +1 -0
- package/core/atoms/Button.js +1 -0
- package/core/atoms/Checkbox.js +1 -0
- package/core/atoms/LinkButton.js +1 -0
- package/core/atoms/PageLoader.js +1 -0
- package/core/atoms/RadioButton.js +1 -0
- package/core/atoms/Textarea.js +1 -0
- package/core/foundations/index.d.ts +1 -0
- package/core/foundations/index.js +1 -0
- package/core/foundations/typography.d.ts +14 -0
- package/core/foundations/typography.js +14 -0
- package/core/global/GlobalStyle.js +0 -9
- package/core/global/index.d.ts +1 -0
- package/core/global/index.js +1 -0
- package/core/molecules/FileDrop.js +1 -0
- package/core/molecules/Modal.js +1 -0
- package/core/molecules/RadioButtons.js +1 -0
- package/core/organisms/GrantMatch.js +1 -0
- package/core/organisms/TallyModal.js +1 -0
- package/core/organisms/YesNoOptions.js +1 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/core/atoms/Badge.js
CHANGED
package/core/atoms/BrandLogo.js
CHANGED
package/core/atoms/Button.js
CHANGED
package/core/atoms/Checkbox.js
CHANGED
package/core/atoms/LinkButton.js
CHANGED
package/core/atoms/PageLoader.js
CHANGED
package/core/atoms/Textarea.js
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const FONT_SIZE_PIXELS_DESKTOP: {
|
|
2
|
+
title: string;
|
|
3
|
+
header: string;
|
|
4
|
+
subheader: string;
|
|
5
|
+
body: string;
|
|
6
|
+
helper: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const FONT_SIZE_PIXELS_MOBILE: {
|
|
9
|
+
title: string;
|
|
10
|
+
header: string;
|
|
11
|
+
subheader: string;
|
|
12
|
+
body: string;
|
|
13
|
+
helper: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const FONT_SIZE_PIXELS_DESKTOP = {
|
|
2
|
+
title: "24px",
|
|
3
|
+
header: "22px",
|
|
4
|
+
subheader: "20px",
|
|
5
|
+
body: "16px",
|
|
6
|
+
helper: "14px",
|
|
7
|
+
};
|
|
8
|
+
export const FONT_SIZE_PIXELS_MOBILE = {
|
|
9
|
+
title: "22px",
|
|
10
|
+
header: "20px",
|
|
11
|
+
subheader: "18px",
|
|
12
|
+
body: "14px",
|
|
13
|
+
helper: "12px",
|
|
14
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { createGlobalStyle } from "styled-components";
|
|
3
3
|
import "../assets/fonts/satoshi/css/satoshi.css";
|
|
4
|
-
import { LAPTOP_WIDTH_PIXELS } from "../foundations/breakpoints";
|
|
5
4
|
import * as Colors from "../foundations/colors";
|
|
6
5
|
const GlobalStyle = createGlobalStyle `
|
|
7
6
|
html,
|
|
@@ -62,13 +61,5 @@ const GlobalStyle = createGlobalStyle `
|
|
|
62
61
|
-moz-appearance: textfield;
|
|
63
62
|
appearance: textfield;
|
|
64
63
|
}
|
|
65
|
-
|
|
66
|
-
@media (width < ${LAPTOP_WIDTH_PIXELS}px) {
|
|
67
|
-
font-size: 14px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@media (width >= ${LAPTOP_WIDTH_PIXELS}px) {
|
|
71
|
-
font-size: 16px;
|
|
72
|
-
}
|
|
73
64
|
`;
|
|
74
65
|
export default GlobalStyle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GlobalStyle } from "./GlobalStyle";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GlobalStyle } from "./GlobalStyle";
|
package/core/molecules/Modal.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from "./core/atoms";
|
|
2
2
|
export * from "./core/foundations";
|
|
3
|
-
export
|
|
3
|
+
export * from "./core/global";
|
|
4
4
|
export * from "./core/integrations";
|
|
5
5
|
export * from "./core/molecules";
|
|
6
6
|
export * from "./core/organisms";
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from "./core/atoms";
|
|
2
2
|
export * from "./core/foundations";
|
|
3
|
-
export
|
|
3
|
+
export * from "./core/global";
|
|
4
4
|
export * from "./core/integrations";
|
|
5
5
|
export * from "./core/molecules";
|
|
6
6
|
export * from "./core/organisms";
|