@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.
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import styled from "styled-components";
3
4
  import { Colors, Icons } from "../foundations";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx } from "react/jsx-runtime";
2
3
  import Image from "next/image";
3
4
  import darkLogo from "../assets/logos/brand_logo-dark.webp";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import { BaseButton as ButtonContent } from "./shared";
3
4
  import styled from "styled-components";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __rest = (this && this.__rest) || function (s, e) {
2
3
  var t = {};
3
4
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __rest = (this && this.__rest) || function (s, e) {
2
3
  var t = {};
3
4
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __rest = (this && this.__rest) || function (s, e) {
2
3
  var t = {};
3
4
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __rest = (this && this.__rest) || function (s, e) {
2
3
  var t = {};
3
4
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import styled from "styled-components";
2
3
  import { Colors } from "../foundations";
3
4
  const Textarea = styled.textarea `
@@ -3,3 +3,4 @@ export * as Colors from "./colors";
3
3
  export * as Flags from "./flags";
4
4
  export * as Icons from "./icons";
5
5
  export type * from "./types";
6
+ export * as Typography from "./typography";
@@ -2,3 +2,4 @@ export * as Breakpoints from "./breakpoints";
2
2
  export * as Colors from "./colors";
3
3
  export * as Flags from "./flags";
4
4
  export * as Icons from "./icons";
5
+ export * as Typography from "./typography";
@@ -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";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
3
  import { useState } from "react";
3
4
  import { useDropzone } from "react-dropzone";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import { useCallback, useState } from "react";
3
4
  import styled, { css } from "styled-components";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __rest = (this && this.__rest) || function (s, e) {
2
3
  var t = {};
3
4
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import { isGrantMatchActive } from "@grantbii/ui-base/match/mappings";
3
4
  import { useState } from "react";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __rest = (this && this.__rest) || function (s, e) {
2
3
  var t = {};
3
4
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import { LogicOption } from "@grantbii/ui-base/grant/enums";
3
4
  import styled from "styled-components";
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from "./core/atoms";
2
2
  export * from "./core/foundations";
3
- export { default as GlobalStyle } from "./core/global/GlobalStyle";
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 { default as GlobalStyle } from "./core/global/GlobalStyle";
3
+ export * from "./core/global";
4
4
  export * from "./core/integrations";
5
5
  export * from "./core/molecules";
6
6
  export * from "./core/organisms";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grantbii/design-system",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "Grantbii's Design System",
5
5
  "homepage": "https://design.grantbii.com",
6
6
  "repository": {