@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.
- package/dist/theme/colorSchemes.js +13 -7
- package/dist/theme/colors.d.ts +1 -1
- package/dist/theme/colors.js +26 -26
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/typography.js +8 -6
- package/package.json +7 -7
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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:
|
|
43
|
+
default: r[50],
|
|
42
44
|
paper: "#ffffff",
|
|
43
|
-
surface: "#
|
|
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[
|
|
100
|
-
surface:
|
|
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
|
-
|
|
112
|
+
g as colorSchemes
|
|
107
113
|
};
|
package/dist/theme/colors.d.ts
CHANGED
package/dist/theme/colors.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o, r } from "../orange-DJwLWzIS.js";
|
|
2
|
-
const
|
|
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
|
-
},
|
|
14
|
-
50: "#
|
|
15
|
-
100: "#
|
|
16
|
-
200: "#
|
|
17
|
-
300: "#
|
|
18
|
-
400: "#
|
|
19
|
-
500: "#
|
|
20
|
-
600: "#
|
|
21
|
-
700: "#
|
|
22
|
-
800: "#
|
|
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: "#
|
|
26
|
-
100: "#
|
|
27
|
-
200: "#
|
|
28
|
-
300: "#
|
|
29
|
-
400: "#
|
|
30
|
-
500: "#
|
|
31
|
-
600: "#
|
|
32
|
-
700: "#
|
|
33
|
-
800: "#
|
|
34
|
-
900: "#
|
|
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
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
d as gray,
|
|
38
|
+
a as honoluluBlue,
|
|
39
|
+
e as indiaGreen,
|
|
40
40
|
o as orange,
|
|
41
|
-
|
|
41
|
+
c as red
|
|
42
42
|
};
|
package/dist/theme/index.d.ts
CHANGED
package/dist/theme/typography.js
CHANGED
|
@@ -4,7 +4,7 @@ const t = {
|
|
|
4
4
|
textTransform: "none"
|
|
5
5
|
},
|
|
6
6
|
h1: {
|
|
7
|
-
fontSize: "2.
|
|
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.
|
|
15
|
+
fontSize: "1.625rem",
|
|
16
16
|
fontWeight: 700
|
|
17
17
|
},
|
|
18
18
|
h4: {
|
|
19
|
-
fontSize: "1.
|
|
19
|
+
fontSize: "1.375rem",
|
|
20
20
|
fontWeight: 700
|
|
21
21
|
},
|
|
22
22
|
h5: {
|
|
23
|
-
fontSize: "1.
|
|
23
|
+
fontSize: "1.25rem",
|
|
24
24
|
fontWeight: 500
|
|
25
25
|
},
|
|
26
26
|
h6: {
|
|
27
|
-
fontSize: "
|
|
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
|
+
"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": "^
|
|
40
|
-
"@storybook/addon-docs": "^
|
|
41
|
-
"@storybook/addon-vitest": "^
|
|
42
|
-
"@storybook/react-vite": "^
|
|
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": "^
|
|
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": "^
|
|
64
|
+
"storybook": "^10.0.5",
|
|
65
65
|
"typescript": "~5.9.2",
|
|
66
66
|
"typescript-eslint": "^8.34.1",
|
|
67
67
|
"vite": "^7.0.0",
|