@compsych-ui-components/shared 8.0.1 → 8.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compsych-ui-components/shared",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
4
4
  "description": "Shared types, design tokens, utilities, and assets for compsych UI components",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -9,10 +9,8 @@
9
9
  "types": "./src/index.d.ts",
10
10
  "default": "./src/index.js"
11
11
  },
12
- "./tokens.css": "./src/tokens/compsych/tokens.css",
13
- "./themes/compsych.css": "./src/tokens/compsych/tokens.css",
14
- "./themes/thanksgiving.css": "./src/tokens/thanksgiving/tokens.css",
15
- "./themes/wacky-circus.css": "./src/tokens/wacky-circus/tokens.css",
12
+ "./compsych.css": "./src/tokens/compsych/tokens.css",
13
+ "./maple.css": "./src/tokens/maple/tokens.css",
16
14
  "./assets/lucide-icons.generated": {
17
15
  "types": "./src/assets/lucide-icons.generated.d.ts",
18
16
  "default": "./src/assets/lucide-icons.generated.js"
@@ -1,201 +1,201 @@
1
- /* ============================================================
2
- Reference tokens — primitive design values
3
- These are the raw palette; prefer sys.css tokens in components.
4
- ============================================================ */
5
- :root {
6
- --primary-core-primary-0: #000000;
7
- --primary-core-primary-10: #2e0f00;
8
- --primary-core-primary-20: #5c2000;
9
- --primary-core-primary-30: #8a3200;
10
- --primary-core-primary-40: #b84800;
11
- --primary-core-primary-50: #d4621a;
12
- --primary-core-primary-60: #e07a42;
13
- --primary-core-primary-70: #ec9c6e;
14
- --primary-core-primary-80: #f5bfa0;
15
- --primary-core-primary-90: #fce4d5;
16
- --primary-core-primary-95: #fef2eb;
17
- --primary-core-primary-100: #ffffff;
18
- --secondary-core-secondary-0: #000000;
19
- --secondary-core-secondary-10: #2e2000;
20
- --secondary-core-secondary-20: #5c4000;
21
- --secondary-core-secondary-30: #8a6000;
22
- --secondary-core-secondary-40: #b88000;
23
- --secondary-core-secondary-50: #d4a000;
24
- --secondary-core-secondary-60: #e0bc30;
25
- --secondary-core-secondary-70: #eccc68;
26
- --secondary-core-secondary-80: #f5dba0;
27
- --secondary-core-secondary-90: #fbefd4;
28
- --secondary-core-secondary-95: #fdf7e8;
29
- --secondary-core-secondary-100: #ffffff;
30
- --blue-core-blue-0: #000000;
31
- --blue-core-blue-10: #020412;
32
- --blue-core-blue-20: #162755;
33
- --blue-core-blue-30: #1c3e8c;
34
- --blue-core-blue-40: #1a56db;
35
- --blue-core-blue-50: #226cee;
36
- --blue-core-blue-60: #388af9;
37
- --blue-core-blue-70: #5eadfc;
38
- --blue-core-blue-80: #badcff;
39
- --blue-core-blue-90: #daecff;
40
- --blue-core-blue-95: #e3f1ff;
41
- --blue-core-blue-100: #ffffff;
42
- --neutral-core-neutral-0: #000000;
43
- --neutral-core-neutral-10: #1c1208;
44
- --neutral-core-neutral-20: #382514;
45
- --neutral-core-neutral-30: #54381f;
46
- --neutral-core-neutral-40: #72502e;
47
- --neutral-core-neutral-50: #8e6a46;
48
- --neutral-core-neutral-60: #aa865e;
49
- --neutral-core-neutral-70: #c6a07c;
50
- --neutral-core-neutral-80: #dfc0a0;
51
- --neutral-core-neutral-90: #f0e0cc;
52
- --neutral-core-neutral-92: #f3e7d8;
53
- --neutral-core-neutral-94: #f5ecdf;
54
- --neutral-core-neutral-96: #f7f0e6;
55
- --neutral-core-neutral-98: #faf5ef;
56
- --neutral-core-neutral-99: #fcf9f5;
57
- --neutral-core-neutral-100: #ffffff;
58
- --neutral-variant-core-neutral-variant-0: #000000;
59
- --neutral-variant-core-neutral-variant-10: #160e04;
60
- --neutral-variant-core-neutral-variant-20: #2c1e0c;
61
- --neutral-variant-core-neutral-variant-30: #443015;
62
- --neutral-variant-core-neutral-variant-40: #604530;
63
- --neutral-variant-core-neutral-variant-50: #8a6648;
64
- --neutral-variant-core-neutral-variant-60: #a88060;
65
- --neutral-variant-core-neutral-variant-70: #c4a080;
66
- --neutral-variant-core-neutral-variant-80: #dcc0a0;
67
- --neutral-variant-core-neutral-variant-90: #efe0d0;
68
- --neutral-variant-core-neutral-variant-95: #f7f0e8;
69
- --neutral-variant-neutral-variant-100: #ffffff;
70
- --orange-core-orange-0: #000000;
71
- --orange-core-orange-10: #2e0f00;
72
- --orange-core-orange-20: #5c2000;
73
- --orange-core-orange-30: #8a3200;
74
- --orange-core-orange-40: #b84800;
75
- --orange-core-orange-50: #d4621a;
76
- --orange-core-orange-60: #e07a42;
77
- --orange-core-orange-70: #ec9c6e;
78
- --orange-core-orange-80: #f5bfa0;
79
- --orange-core-orange-90: #fce4d5;
80
- --orange-core-orange-95: #fef2eb;
81
- --orange-core-orange-100: #ffffff;
82
- --yellow-core-yellow-0: #000000;
83
- --yellow-core-yellow-10: #382c00;
84
- --yellow-core-yellow-20: #6b5400;
85
- --yellow-core-yellow-30: #a38000;
86
- --yellow-core-yellow-40: #d6a800;
87
- --yellow-core-yellow-50: #ffca0e;
88
- --yellow-core-yellow-60: #ffd53d;
89
- --yellow-core-yellow-70: #ffe070;
90
- --yellow-core-yellow-80: #ffea9e;
91
- --yellow-core-yellow-90: #fff5d1;
92
- --yellow-core-yellow-95: #fff9e5;
93
- --yellow-core-yellow-100: #ffffff;
94
- --red-core-red-0: #000000;
95
- --red-core-red-10: #2b0808;
96
- --red-core-red-20: #570f0f;
97
- --red-core-red-30: #821717;
98
- --red-core-red-40: #ad1f1f;
99
- --red-core-red-50: #d82727;
100
- --red-core-red-60: #e05252;
101
- --red-core-red-70: #e87e7e;
102
- --red-core-red-80: #f0a8a8;
103
- --red-core-red-90: #f7d4d4;
104
- --red-core-red-95: #fbe9e9;
105
- --red-core-red-100: #ffffff;
106
- --green-core-green-0: #000000;
107
- --green-core-green-10: #030c09;
108
- --green-core-green-20: #0a241b;
109
- --green-core-green-30: #164c3b;
110
- --green-core-green-40: #1c5f48;
111
- --green-core-green-50: #278647;
112
- --green-core-green-60: #3ea35f;
113
- --green-core-green-70: #55be78;
114
- --green-core-green-80: #7acd95;
115
- --green-core-green-90: #9fdbb3;
116
- --green-core-green-95: #c4e9d0;
117
- --green-core-green-100: #ffffff;
118
- --opacity-neutral-core-white-10: rgba(255, 255, 255, 0.1);
119
- --opacity-neutral-core-white-20: rgba(255, 255, 255, 0.2);
120
- --opacity-neutral-core-white-30: rgba(255, 255, 255, 0.3);
121
- --opacity-neutral-core-white-40: rgba(255, 255, 255, 0.4);
122
- --opacity-neutral-core-white-50: rgba(255, 255, 255, 0.5);
123
- --opacity-neutral-core-white-80: rgba(255, 255, 255, 0.8);
124
- --opacity-neutral-core-black-10: rgba(0, 0, 0, 0.1);
125
- --opacity-neutral-core-black-20: rgba(0, 0, 0, 0.2);
126
- --opacity-neutral-core-black-30: rgba(0, 0, 0, 0.3);
127
- --opacity-neutral-core-black-40: rgba(0, 0, 0, 0.4);
128
- --opacity-neutral-core-black-50: rgba(0, 0, 0, 0.5);
129
- --opacity-neutral-core-black-80: rgba(0, 0, 0, 0.8);
130
- --opacity-primary-core-primary-08: rgba(184, 72, 0, 0.08);
131
- --opacity-primary-core-primary-20: rgba(184, 72, 0, 0.2);
132
- --opacity-secondary-core-secondary-08: rgba(184, 128, 0, 0.08);
133
- --opacity-secondary-core-secondary-20: rgba(184, 128, 0, 0.2);
134
- --font-core-display: google sans;
135
- --font-core-headline: google sans;
136
- --font-core-title: google sans;
137
- --font-core-body: google sans;
138
- --font-core-label: google sans;
139
- --size-core-xs: 12px;
140
- --size-core-sm: 14px;
141
- --size-core-base: 16px;
142
- --size-core-lg: 20px;
143
- --size-core-xl: 24px;
144
- --size-core-2xl: 28px;
145
- --size-core-3xl: 32px;
146
- --size-core-4xl: 40px;
147
- --size-core-5xl: 48px;
148
- --size-core-6xl: 64px;
149
- --size-core-7xl: 72px;
150
- --size-core-8xl: 80px;
151
- --weight-core-regular: regular;
152
- --weight-core-medium: medium;
153
- --weight-core-semibold: semibold;
154
- --weight-core-bold: bold;
155
- --spacing-core-neg-spacing-600: -24px;
156
- --spacing-core-neg-spacing-400: -16px;
157
- --spacing-core-neg-spacing-200: -8px;
158
- --spacing-core-neg-spacing-100: -4px;
159
- --spacing-core-spacing-0: 0;
160
- --spacing-core-spacing-025: 1px;
161
- --spacing-core-spacing-050: 2px;
162
- --spacing-core-spacing-100: 4px;
163
- --spacing-core-spacing-150: 6px;
164
- --spacing-core-spacing-200: 8px;
165
- --spacing-core-spacing-300: 12px;
166
- --spacing-core-spacing-400: 16px;
167
- --spacing-core-spacing-500: 20px;
168
- --spacing-core-spacing-600: 24px;
169
- --spacing-core-spacing-800: 32px;
170
- --spacing-core-spacing-1000: 40px;
171
- --spacing-core-spacing-1200: 48px;
172
- --spacing-core-spacing-1600: 64px;
173
- --spacing-core-spacing-1800: 72px;
174
- --spacing-core-spacing-2000: 80px;
175
- --border-width-core-stroke-thin: 1px;
176
- --border-width-core-stroke-medium: 2px;
177
- --border-width-core-stroke-thick: 2px;
178
- --border-width-core-stroke-heavier: 3px;
179
- --border-width-core-stroke-bold: 4px;
180
- --radius-core-radius-none: 0;
181
- --radius-core-radius-xs: 4px;
182
- --radius-core-radius-sm: 8px;
183
- --radius-core-radius-md: 12px;
184
- --radius-core-radius-lg: 16px;
185
- --radius-core-radius-lg-increased: 20px;
186
- --radius-core-radius-xl: 24px;
187
- --radius-core-radius-xl-increased: 32px;
188
- --radius-core-radius-full: 999px;
189
- --core-size-xxs: 12px;
190
- --core-size-xs: 16px;
191
- --core-size-sm: 20px;
192
- --core-size-md: 24px;
193
- --core-size-lg: 32px;
194
- --core-size-xl: 48px;
195
- --core-hover: 8px;
196
- --core-focused: 12px;
197
- --core-pressed: 10px;
198
- --core-disabled-container: 48px;
199
- --core-disabled-content: 64px;
200
- --core-scrim: 10px;
201
- }
1
+ /* ============================================================
2
+ Reference tokens — primitive design values
3
+ These are the raw palette; prefer sys.css tokens in components.
4
+ ============================================================ */
5
+ :root {
6
+ --primary-core-primary-0: #000000;
7
+ --primary-core-primary-10: #2e0f00;
8
+ --primary-core-primary-20: #5c2000;
9
+ --primary-core-primary-30: #8a3200;
10
+ --primary-core-primary-40: #b84800;
11
+ --primary-core-primary-50: #d4621a;
12
+ --primary-core-primary-60: #e07a42;
13
+ --primary-core-primary-70: #ec9c6e;
14
+ --primary-core-primary-80: #f5bfa0;
15
+ --primary-core-primary-90: #fce4d5;
16
+ --primary-core-primary-95: #fef2eb;
17
+ --primary-core-primary-100: #ffffff;
18
+ --secondary-core-secondary-0: #000000;
19
+ --secondary-core-secondary-10: #2e2000;
20
+ --secondary-core-secondary-20: #5c4000;
21
+ --secondary-core-secondary-30: #8a6000;
22
+ --secondary-core-secondary-40: #b88000;
23
+ --secondary-core-secondary-50: #d4a000;
24
+ --secondary-core-secondary-60: #e0bc30;
25
+ --secondary-core-secondary-70: #eccc68;
26
+ --secondary-core-secondary-80: #f5dba0;
27
+ --secondary-core-secondary-90: #fbefd4;
28
+ --secondary-core-secondary-95: #fdf7e8;
29
+ --secondary-core-secondary-100: #ffffff;
30
+ --blue-core-blue-0: #000000;
31
+ --blue-core-blue-10: #020412;
32
+ --blue-core-blue-20: #162755;
33
+ --blue-core-blue-30: #1c3e8c;
34
+ --blue-core-blue-40: #1a56db;
35
+ --blue-core-blue-50: #226cee;
36
+ --blue-core-blue-60: #388af9;
37
+ --blue-core-blue-70: #5eadfc;
38
+ --blue-core-blue-80: #badcff;
39
+ --blue-core-blue-90: #daecff;
40
+ --blue-core-blue-95: #e3f1ff;
41
+ --blue-core-blue-100: #ffffff;
42
+ --neutral-core-neutral-0: #000000;
43
+ --neutral-core-neutral-10: #1c1208;
44
+ --neutral-core-neutral-20: #382514;
45
+ --neutral-core-neutral-30: #54381f;
46
+ --neutral-core-neutral-40: #72502e;
47
+ --neutral-core-neutral-50: #8e6a46;
48
+ --neutral-core-neutral-60: #aa865e;
49
+ --neutral-core-neutral-70: #c6a07c;
50
+ --neutral-core-neutral-80: #dfc0a0;
51
+ --neutral-core-neutral-90: #f0e0cc;
52
+ --neutral-core-neutral-92: #f3e7d8;
53
+ --neutral-core-neutral-94: #f5ecdf;
54
+ --neutral-core-neutral-96: #f7f0e6;
55
+ --neutral-core-neutral-98: #faf5ef;
56
+ --neutral-core-neutral-99: #fcf9f5;
57
+ --neutral-core-neutral-100: #ffffff;
58
+ --neutral-variant-core-neutral-variant-0: #000000;
59
+ --neutral-variant-core-neutral-variant-10: #160e04;
60
+ --neutral-variant-core-neutral-variant-20: #2c1e0c;
61
+ --neutral-variant-core-neutral-variant-30: #443015;
62
+ --neutral-variant-core-neutral-variant-40: #604530;
63
+ --neutral-variant-core-neutral-variant-50: #8a6648;
64
+ --neutral-variant-core-neutral-variant-60: #a88060;
65
+ --neutral-variant-core-neutral-variant-70: #c4a080;
66
+ --neutral-variant-core-neutral-variant-80: #dcc0a0;
67
+ --neutral-variant-core-neutral-variant-90: #efe0d0;
68
+ --neutral-variant-core-neutral-variant-95: #f7f0e8;
69
+ --neutral-variant-neutral-variant-100: #ffffff;
70
+ --orange-core-orange-0: #000000;
71
+ --orange-core-orange-10: #2e0f00;
72
+ --orange-core-orange-20: #5c2000;
73
+ --orange-core-orange-30: #8a3200;
74
+ --orange-core-orange-40: #b84800;
75
+ --orange-core-orange-50: #d4621a;
76
+ --orange-core-orange-60: #e07a42;
77
+ --orange-core-orange-70: #ec9c6e;
78
+ --orange-core-orange-80: #f5bfa0;
79
+ --orange-core-orange-90: #fce4d5;
80
+ --orange-core-orange-95: #fef2eb;
81
+ --orange-core-orange-100: #ffffff;
82
+ --yellow-core-yellow-0: #000000;
83
+ --yellow-core-yellow-10: #382c00;
84
+ --yellow-core-yellow-20: #6b5400;
85
+ --yellow-core-yellow-30: #a38000;
86
+ --yellow-core-yellow-40: #d6a800;
87
+ --yellow-core-yellow-50: #ffca0e;
88
+ --yellow-core-yellow-60: #ffd53d;
89
+ --yellow-core-yellow-70: #ffe070;
90
+ --yellow-core-yellow-80: #ffea9e;
91
+ --yellow-core-yellow-90: #fff5d1;
92
+ --yellow-core-yellow-95: #fff9e5;
93
+ --yellow-core-yellow-100: #ffffff;
94
+ --red-core-red-0: #000000;
95
+ --red-core-red-10: #2b0808;
96
+ --red-core-red-20: #570f0f;
97
+ --red-core-red-30: #821717;
98
+ --red-core-red-40: #ad1f1f;
99
+ --red-core-red-50: #d82727;
100
+ --red-core-red-60: #e05252;
101
+ --red-core-red-70: #e87e7e;
102
+ --red-core-red-80: #f0a8a8;
103
+ --red-core-red-90: #f7d4d4;
104
+ --red-core-red-95: #fbe9e9;
105
+ --red-core-red-100: #ffffff;
106
+ --green-core-green-0: #000000;
107
+ --green-core-green-10: #030c09;
108
+ --green-core-green-20: #0a241b;
109
+ --green-core-green-30: #164c3b;
110
+ --green-core-green-40: #1c5f48;
111
+ --green-core-green-50: #278647;
112
+ --green-core-green-60: #3ea35f;
113
+ --green-core-green-70: #55be78;
114
+ --green-core-green-80: #7acd95;
115
+ --green-core-green-90: #9fdbb3;
116
+ --green-core-green-95: #c4e9d0;
117
+ --green-core-green-100: #ffffff;
118
+ --opacity-neutral-core-white-10: rgba(255, 255, 255, 0.1);
119
+ --opacity-neutral-core-white-20: rgba(255, 255, 255, 0.2);
120
+ --opacity-neutral-core-white-30: rgba(255, 255, 255, 0.3);
121
+ --opacity-neutral-core-white-40: rgba(255, 255, 255, 0.4);
122
+ --opacity-neutral-core-white-50: rgba(255, 255, 255, 0.5);
123
+ --opacity-neutral-core-white-80: rgba(255, 255, 255, 0.8);
124
+ --opacity-neutral-core-black-10: rgba(0, 0, 0, 0.1);
125
+ --opacity-neutral-core-black-20: rgba(0, 0, 0, 0.2);
126
+ --opacity-neutral-core-black-30: rgba(0, 0, 0, 0.3);
127
+ --opacity-neutral-core-black-40: rgba(0, 0, 0, 0.4);
128
+ --opacity-neutral-core-black-50: rgba(0, 0, 0, 0.5);
129
+ --opacity-neutral-core-black-80: rgba(0, 0, 0, 0.8);
130
+ --opacity-primary-core-primary-08: rgba(184, 72, 0, 0.08);
131
+ --opacity-primary-core-primary-20: rgba(184, 72, 0, 0.2);
132
+ --opacity-secondary-core-secondary-08: rgba(184, 128, 0, 0.08);
133
+ --opacity-secondary-core-secondary-20: rgba(184, 128, 0, 0.2);
134
+ --font-core-display: google sans;
135
+ --font-core-headline: google sans;
136
+ --font-core-title: google sans;
137
+ --font-core-body: google sans;
138
+ --font-core-label: google sans;
139
+ --size-core-xs: 12px;
140
+ --size-core-sm: 14px;
141
+ --size-core-base: 16px;
142
+ --size-core-lg: 20px;
143
+ --size-core-xl: 24px;
144
+ --size-core-2xl: 28px;
145
+ --size-core-3xl: 32px;
146
+ --size-core-4xl: 40px;
147
+ --size-core-5xl: 48px;
148
+ --size-core-6xl: 64px;
149
+ --size-core-7xl: 72px;
150
+ --size-core-8xl: 80px;
151
+ --weight-core-regular: regular;
152
+ --weight-core-medium: medium;
153
+ --weight-core-semibold: semibold;
154
+ --weight-core-bold: bold;
155
+ --spacing-core-neg-spacing-600: -24px;
156
+ --spacing-core-neg-spacing-400: -16px;
157
+ --spacing-core-neg-spacing-200: -8px;
158
+ --spacing-core-neg-spacing-100: -4px;
159
+ --spacing-core-spacing-0: 0;
160
+ --spacing-core-spacing-025: 1px;
161
+ --spacing-core-spacing-050: 2px;
162
+ --spacing-core-spacing-100: 4px;
163
+ --spacing-core-spacing-150: 6px;
164
+ --spacing-core-spacing-200: 8px;
165
+ --spacing-core-spacing-300: 12px;
166
+ --spacing-core-spacing-400: 16px;
167
+ --spacing-core-spacing-500: 20px;
168
+ --spacing-core-spacing-600: 24px;
169
+ --spacing-core-spacing-800: 32px;
170
+ --spacing-core-spacing-1000: 40px;
171
+ --spacing-core-spacing-1200: 48px;
172
+ --spacing-core-spacing-1600: 64px;
173
+ --spacing-core-spacing-1800: 72px;
174
+ --spacing-core-spacing-2000: 80px;
175
+ --border-width-core-stroke-thin: 1px;
176
+ --border-width-core-stroke-medium: 2px;
177
+ --border-width-core-stroke-thick: 2px;
178
+ --border-width-core-stroke-heavier: 3px;
179
+ --border-width-core-stroke-bold: 4px;
180
+ --radius-core-radius-none: 0;
181
+ --radius-core-radius-xs: 4px;
182
+ --radius-core-radius-sm: 8px;
183
+ --radius-core-radius-md: 12px;
184
+ --radius-core-radius-lg: 16px;
185
+ --radius-core-radius-lg-increased: 20px;
186
+ --radius-core-radius-xl: 24px;
187
+ --radius-core-radius-xl-increased: 32px;
188
+ --radius-core-radius-full: 999px;
189
+ --core-size-xxs: 12px;
190
+ --core-size-xs: 16px;
191
+ --core-size-sm: 20px;
192
+ --core-size-md: 24px;
193
+ --core-size-lg: 32px;
194
+ --core-size-xl: 48px;
195
+ --core-hover: 8px;
196
+ --core-focused: 12px;
197
+ --core-pressed: 10px;
198
+ --core-disabled-container: 48px;
199
+ --core-disabled-content: 64px;
200
+ --core-scrim: 10px;
201
+ }