@clearstory/drywall-react 3.7.4 → 4.1.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.
@@ -1,9 +1,11 @@
1
- import { dimGray as r, honoluluBlue as i, indiaGreen as a } from "./colors.js";
1
+ import { gray as r, honoluluBlue as i, indiaGreen as a } from "./colors.js";
2
2
  import { o as d, r as e } from "../orange-DJwLWzIS.js";
3
- const o = {
3
+ const g = {
4
4
  light: {
5
5
  palette: {
6
6
  common: {
7
+ ai: "#cb02cc",
8
+ black: "#0f131c",
7
9
  brand: "#02cd0d"
8
10
  },
9
11
  primary: {
@@ -38,9 +40,10 @@ const o = {
38
40
  },
39
41
  grey: r,
40
42
  background: {
41
- default: "#ffffff",
43
+ default: r[50],
42
44
  paper: "#ffffff",
43
- surface: "#f8f8f8"
45
+ surface: "#f6f8f9"
46
+ // halfway between white and gray[50]
44
47
  },
45
48
  action: {
46
49
  active: "rgba(15, 19, 28, 0.54)",
@@ -61,6 +64,8 @@ const o = {
61
64
  dark: {
62
65
  palette: {
63
66
  common: {
67
+ ai: "#cb02cc",
68
+ black: "#0f131c",
64
69
  brand: "#02cd0d"
65
70
  },
66
71
  primary: {
@@ -96,12 +101,13 @@ const o = {
96
101
  grey: r,
97
102
  background: {
98
103
  default: r[800],
99
- paper: r[800],
100
- surface: r[900]
104
+ paper: r[900],
105
+ surface: "#1d2527"
106
+ // halfway between gray[800] and gray[900]
101
107
  }
102
108
  }
103
109
  }
104
110
  };
105
111
  export {
106
- o as colorSchemes
112
+ g as colorSchemes
107
113
  };
@@ -23,7 +23,7 @@ export declare const honoluluBlue: {
23
23
  800: string;
24
24
  900: string;
25
25
  };
26
- export declare const dimGray: {
26
+ export declare const gray: {
27
27
  50: string;
28
28
  100: string;
29
29
  200: string;
@@ -1,5 +1,5 @@
1
- import { o, r } from "../orange-DJwLWzIS.js";
2
- const a = {
1
+ import { o, r as c } from "../orange-DJwLWzIS.js";
2
+ const e = {
3
3
  50: "#d6eed2",
4
4
  100: "#b6e0a8",
5
5
  200: "#8fcc7a",
@@ -10,33 +10,33 @@ const a = {
10
10
  700: "#23610e",
11
11
  800: "#1f4d0f",
12
12
  900: "#123b0b"
13
- }, e = {
14
- 50: "#cae4ed",
15
- 100: "#92c6e0",
16
- 200: "#57add9",
17
- 300: "#2b96d9",
18
- 400: "#0083d4",
19
- 500: "#0073ba",
20
- 600: "#0062a1",
21
- 700: "#005380",
22
- 800: "#00425e",
13
+ }, a = {
14
+ 50: "#d7e7f5",
15
+ 100: "#b2d6ed",
16
+ 200: "#82b8d9",
17
+ 300: "#4a8fba",
18
+ 400: "#2275ab",
19
+ 500: "#0062a1",
20
+ 600: "#005380",
21
+ 700: "#004266",
22
+ 800: "#003852",
23
23
  900: "#103442"
24
24
  }, d = {
25
- 50: "#efeeef",
26
- 100: "#dbd9da",
27
- 200: "#c2c0c1",
28
- 300: "#a8a7a7",
29
- 400: "#8e8d8d",
30
- 500: "#757474",
31
- 600: "#5c5b5b",
32
- 700: "#424242",
33
- 800: "#292929",
34
- 900: "#1a1a1a"
25
+ 50: "#edf1f2",
26
+ 100: "#dfe4e5",
27
+ 200: "#c6cbcc",
28
+ 300: "#adb1b2",
29
+ 400: "#919799",
30
+ 500: "#737d80",
31
+ 600: "#576366",
32
+ 700: "#3d494d",
33
+ 800: "#263033",
34
+ 900: "#14191a"
35
35
  };
36
36
  export {
37
- d as dimGray,
38
- e as honoluluBlue,
39
- a as indiaGreen,
37
+ d as gray,
38
+ a as honoluluBlue,
39
+ e as indiaGreen,
40
40
  o as orange,
41
- r as red
41
+ c as red
42
42
  };
@@ -2,6 +2,7 @@ export { alpha, type CSSObject, darken, emphasize, getContrastRatio, getLuminanc
2
2
  export { useMediaQuery } from '@mui/material';
3
3
  declare module "@mui/material/styles" {
4
4
  interface CommonColors {
5
+ ai: string;
5
6
  brand: string;
6
7
  }
7
8
  interface TypeBackground {
@@ -4,7 +4,7 @@ const t = {
4
4
  textTransform: "none"
5
5
  },
6
6
  h1: {
7
- fontSize: "2.25rem",
7
+ fontSize: "2.125rem",
8
8
  fontWeight: 900
9
9
  },
10
10
  h2: {
@@ -12,21 +12,23 @@ const t = {
12
12
  fontWeight: 900
13
13
  },
14
14
  h3: {
15
- fontSize: "1.5rem",
15
+ fontSize: "1.625rem",
16
16
  fontWeight: 700
17
17
  },
18
18
  h4: {
19
- fontSize: "1.25rem",
19
+ fontSize: "1.375rem",
20
20
  fontWeight: 700
21
21
  },
22
22
  h5: {
23
- fontSize: "1.125rem",
23
+ fontSize: "1.25rem",
24
24
  fontWeight: 500
25
25
  },
26
26
  h6: {
27
- fontSize: "1rem",
27
+ fontSize: "1.125rem",
28
28
  fontWeight: 500
29
- }
29
+ },
30
+ subtitle1: { fontWeight: 500 },
31
+ subtitle2: { fontWeight: 500 }
30
32
  };
31
33
  export {
32
34
  t as typography
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clearstory/drywall-react",
3
- "version": "3.7.4",
3
+ "version": "4.1.0",
4
4
  "license": "UNLICENSED",
5
5
  "description": "a Clearstory software design system",
6
6
  "type": "module",
@@ -36,10 +36,10 @@
36
36
  "devDependencies": {
37
37
  "@chromatic-com/storybook": "^4.0.1",
38
38
  "@eslint/js": "^9.29.0",
39
- "@storybook/addon-a11y": "^9.0.15",
40
- "@storybook/addon-docs": "^9.0.15",
41
- "@storybook/addon-vitest": "^9.0.15",
42
- "@storybook/react-vite": "^9.0.15",
39
+ "@storybook/addon-a11y": "^10.0.5",
40
+ "@storybook/addon-docs": "^10.0.5",
41
+ "@storybook/addon-vitest": "^10.0.5",
42
+ "@storybook/react-vite": "^10.0.5",
43
43
  "@types/node": "^22.16.0",
44
44
  "@types/react": "^19.1.8",
45
45
  "@types/react-dom": "^19.1.6",
@@ -52,7 +52,7 @@
52
52
  "eslint-config-prettier": "^10.1.5",
53
53
  "eslint-plugin-react-hooks": "^5.2.0",
54
54
  "eslint-plugin-react-refresh": "^0.4.20",
55
- "eslint-plugin-storybook": "^9.0.15",
55
+ "eslint-plugin-storybook": "^10.0.5",
56
56
  "glob": "^11.0.3",
57
57
  "globals": "^16.2.0",
58
58
  "markdown-to-jsx": "^7.7.13",
@@ -61,7 +61,7 @@
61
61
  "react-error-boundary": "^6.0.0",
62
62
  "react-hook-form": "^7.62.0",
63
63
  "react-router": "^7.9.4",
64
- "storybook": "^9.0.15",
64
+ "storybook": "^10.0.5",
65
65
  "typescript": "~5.9.2",
66
66
  "typescript-eslint": "^8.34.1",
67
67
  "vite": "^7.0.0",