@shapesos/clay 0.6.0 → 0.8.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/button.cjs +604 -0
- package/dist/button.cjs.map +1 -0
- package/dist/button.d.cts +53 -0
- package/dist/button.d.ts +53 -0
- package/dist/button.js +17 -0
- package/dist/chat.cjs +117 -71
- package/dist/chat.cjs.map +1 -1
- package/dist/chat.d.cts +5 -0
- package/dist/chat.d.ts +5 -0
- package/dist/chat.js +2 -2
- package/dist/chunk-FFABDVB3.js +149 -0
- package/dist/chunk-FFABDVB3.js.map +1 -0
- package/dist/{chunk-J6VPAHO3.js → chunk-KYTNUZO6.js} +90 -46
- package/dist/chunk-KYTNUZO6.js.map +1 -0
- package/dist/chunk-N4FMZU56.js +71 -0
- package/dist/chunk-N4FMZU56.js.map +1 -0
- package/dist/{chunk-WYGH3FKT.js → chunk-QUJYTIGD.js} +2 -2
- package/dist/chunk-QUJYTIGD.js.map +1 -0
- package/dist/index.cjs +357 -104
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +18 -3
- package/dist/utils.cjs +73 -3
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +26 -1
- package/dist/utils.d.ts +26 -1
- package/dist/utils.js +8 -3
- package/package.json +6 -1
- package/dist/chunk-DRBRT57F.js +0 -1
- package/dist/chunk-J6VPAHO3.js.map +0 -1
- package/dist/chunk-WYGH3FKT.js.map +0 -1
- /package/dist/{chunk-DRBRT57F.js.map → button.js.map} +0 -0
package/dist/button.cjs
ADDED
|
@@ -0,0 +1,604 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/components/button/index.ts
|
|
31
|
+
var button_exports = {};
|
|
32
|
+
__export(button_exports, {
|
|
33
|
+
BUTTON_SIZE: () => BUTTON_SIZE,
|
|
34
|
+
BUTTON_VARIANT: () => BUTTON_VARIANT,
|
|
35
|
+
Button: () => Button,
|
|
36
|
+
ICON_POSITION: () => ICON_POSITION
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(button_exports);
|
|
39
|
+
|
|
40
|
+
// src/components/button/button.tsx
|
|
41
|
+
var import_react2 = require("react");
|
|
42
|
+
|
|
43
|
+
// src/components/icon/icon.tsx
|
|
44
|
+
var import_react = require("react");
|
|
45
|
+
|
|
46
|
+
// src/components/icon/icon-styles.ts
|
|
47
|
+
var import_styled_components = __toESM(require("styled-components"), 1);
|
|
48
|
+
var STROKE_WIDTH_BY_SIZE = {
|
|
49
|
+
12: 1.4,
|
|
50
|
+
14: 1.4,
|
|
51
|
+
16: 1.8,
|
|
52
|
+
18: 1.8,
|
|
53
|
+
20: 1.8,
|
|
54
|
+
24: 1.8
|
|
55
|
+
};
|
|
56
|
+
var DEFAULT_STROKE_WIDTH = 1.8;
|
|
57
|
+
function getStrokeWidth(size) {
|
|
58
|
+
return STROKE_WIDTH_BY_SIZE[size] ?? DEFAULT_STROKE_WIDTH;
|
|
59
|
+
}
|
|
60
|
+
var IconWrapper = import_styled_components.default.span`
|
|
61
|
+
display: inline-flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
color: ${({ $color }) => $color ?? "currentColor"};
|
|
65
|
+
flex-shrink: 0;
|
|
66
|
+
`;
|
|
67
|
+
|
|
68
|
+
// src/components/icon/icon.tsx
|
|
69
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
70
|
+
var DEFAULT_SIZE = 16;
|
|
71
|
+
var Icon = (0, import_react.forwardRef)(function Icon2({ icon: IconComponent, size = DEFAULT_SIZE, color, className, "aria-label": ariaLabel }, ref) {
|
|
72
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
73
|
+
IconWrapper,
|
|
74
|
+
{
|
|
75
|
+
ref,
|
|
76
|
+
className,
|
|
77
|
+
$color: color,
|
|
78
|
+
"aria-label": ariaLabel,
|
|
79
|
+
role: ariaLabel ? "img" : void 0,
|
|
80
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconComponent, { width: size, height: size, strokeWidth: getStrokeWidth(size) })
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
// src/components/button/button-styles.ts
|
|
86
|
+
var import_styled_components2 = __toESM(require("styled-components"), 1);
|
|
87
|
+
|
|
88
|
+
// src/tokens/colors.ts
|
|
89
|
+
var colors = {
|
|
90
|
+
// White
|
|
91
|
+
white: "#FFFFFF",
|
|
92
|
+
"white-alpha-85": "rgba(255, 255, 255, 0.85)",
|
|
93
|
+
"white-alpha-40": "rgba(255, 255, 255, 0.40)",
|
|
94
|
+
// Brown
|
|
95
|
+
"brown-10": "#FAF9F8",
|
|
96
|
+
"brown-20": "#F5F3F0",
|
|
97
|
+
"brown-30": "#EEEBE5",
|
|
98
|
+
"brown-40": "#E6E2DA",
|
|
99
|
+
"brown-50": "#CFCBC4",
|
|
100
|
+
"brown-60": "#A19E99",
|
|
101
|
+
"brown-70": "#73716D",
|
|
102
|
+
"brown-80": "#5C5A57",
|
|
103
|
+
"brown-90": "#2E2D2C",
|
|
104
|
+
"brown-100": "#171716",
|
|
105
|
+
"brown-alpha-12": "rgba(23, 23, 22, 0.12)",
|
|
106
|
+
"brown-alpha-20": "rgba(23, 23, 22, 0.20)",
|
|
107
|
+
"brown-alpha-55": "rgba(23, 23, 22, 0.55)",
|
|
108
|
+
"brown-alpha-70": "rgba(23, 23, 22, 0.70)",
|
|
109
|
+
"brown-alpha-80": "rgba(23, 23, 22, 0.80)",
|
|
110
|
+
"brown-alpha-90": "rgba(23, 23, 22, 0.90)",
|
|
111
|
+
// Fuchsia
|
|
112
|
+
"fuchsia-50": "#FAF5FF",
|
|
113
|
+
"fuchsia-300": "#F0ABFC",
|
|
114
|
+
"fuchsia-500": "#D946EF",
|
|
115
|
+
"fuchsia-600": "#C026D3",
|
|
116
|
+
"fuchsia-800": "#86198F",
|
|
117
|
+
// Pink
|
|
118
|
+
"pink-50": "#FDF2F8",
|
|
119
|
+
"pink-400": "#F472B6",
|
|
120
|
+
"pink-600": "#DB2777",
|
|
121
|
+
"pink-800": "#9D174D",
|
|
122
|
+
// Violet
|
|
123
|
+
"violet-50": "#F5F3FF",
|
|
124
|
+
"violet-400": "#A78BFA",
|
|
125
|
+
"violet-600": "#7C3AED",
|
|
126
|
+
"violet-800": "#5B21B6",
|
|
127
|
+
// Indigo
|
|
128
|
+
"indigo-50": "#EEF2FF",
|
|
129
|
+
"indigo-400": "#818CF8",
|
|
130
|
+
"indigo-500": "#6366F1",
|
|
131
|
+
"indigo-600": "#4F46E5",
|
|
132
|
+
"indigo-800": "#3730A3",
|
|
133
|
+
// Cyan
|
|
134
|
+
"cyan-50": "#E7FEFF",
|
|
135
|
+
"cyan-300": "#67E8F9",
|
|
136
|
+
"cyan-600": "#0891B2",
|
|
137
|
+
"cyan-900": "#164E63",
|
|
138
|
+
// Teal
|
|
139
|
+
"teal-50": "#EBFDF9",
|
|
140
|
+
"teal-300": "#5EEAD4",
|
|
141
|
+
"teal-600": "#0D9488",
|
|
142
|
+
// Rose
|
|
143
|
+
"rose-400": "#FB7185",
|
|
144
|
+
// Purple
|
|
145
|
+
"purple-400": "#C084FC",
|
|
146
|
+
// Blue
|
|
147
|
+
"blue-50": "#EFF6FF",
|
|
148
|
+
"blue-100": "#DBEAFE",
|
|
149
|
+
"blue-300": "#93C5FD",
|
|
150
|
+
"blue-400": "#60A5FA",
|
|
151
|
+
"blue-600": "#2563EB",
|
|
152
|
+
"blue-800": "#1E40AF",
|
|
153
|
+
// Sky
|
|
154
|
+
"sky-300": "#7DD3FC",
|
|
155
|
+
// Green
|
|
156
|
+
"green-50": "#ECF9F0",
|
|
157
|
+
"green-100": "#D4F1D9",
|
|
158
|
+
"green-400": "#3DC269",
|
|
159
|
+
"green-700": "#277C43",
|
|
160
|
+
"green-800": "#1C5930",
|
|
161
|
+
// Orange
|
|
162
|
+
"orange-50": "#FFF7ED",
|
|
163
|
+
"orange-100": "#FFEDD5",
|
|
164
|
+
"orange-200": "#FED7AA",
|
|
165
|
+
"orange-500": "#F97316",
|
|
166
|
+
"orange-600": "#EA580C",
|
|
167
|
+
// Red
|
|
168
|
+
"red-50": "#FEF2F2",
|
|
169
|
+
"red-100": "#FEE2E2",
|
|
170
|
+
"red-200": "#FECACA",
|
|
171
|
+
"red-400": "#F7776C",
|
|
172
|
+
"red-500": "#EF4444",
|
|
173
|
+
"red-600": "#DC2626"
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
// src/tokens/typography.ts
|
|
177
|
+
var fontFamilies = {
|
|
178
|
+
/** Geist — primary UI font for body text, labels, headings, and display. */
|
|
179
|
+
GEIST: "Geist",
|
|
180
|
+
/** Crimson Pro — editorial/serif font, always italic. Used for decorative headings and pull quotes. */
|
|
181
|
+
CRIMSON_PRO: "Crimson Pro"
|
|
182
|
+
};
|
|
183
|
+
var typographyTypes = {
|
|
184
|
+
// Geist Label Caption (12px)
|
|
185
|
+
GEIST_LABEL_CAPTION_REGULAR: "GEIST_LABEL_CAPTION_REGULAR",
|
|
186
|
+
GEIST_LABEL_CAPTION_MEDIUM: "GEIST_LABEL_CAPTION_MEDIUM",
|
|
187
|
+
GEIST_LABEL_CAPTION_SEMI_BOLD: "GEIST_LABEL_CAPTION_SEMI_BOLD",
|
|
188
|
+
// Geist Body Extra Small (14px)
|
|
189
|
+
GEIST_BODY_XS_REGULAR: "GEIST_BODY_XS_REGULAR",
|
|
190
|
+
GEIST_BODY_XS_MEDIUM: "GEIST_BODY_XS_MEDIUM",
|
|
191
|
+
GEIST_BODY_XS_BOLD: "GEIST_BODY_XS_BOLD",
|
|
192
|
+
// Geist Body Small (16px)
|
|
193
|
+
GEIST_BODY_S_REGULAR: "GEIST_BODY_S_REGULAR",
|
|
194
|
+
GEIST_BODY_S_MEDIUM: "GEIST_BODY_S_MEDIUM",
|
|
195
|
+
GEIST_BODY_S_SEMI_BOLD: "GEIST_BODY_S_SEMI_BOLD",
|
|
196
|
+
GEIST_BODY_S_BOLD: "GEIST_BODY_S_BOLD",
|
|
197
|
+
// Geist Body Medium (18px)
|
|
198
|
+
GEIST_BODY_M_LIGHT: "GEIST_BODY_M_LIGHT",
|
|
199
|
+
GEIST_BODY_M_REGULAR: "GEIST_BODY_M_REGULAR",
|
|
200
|
+
GEIST_BODY_M_MEDIUM: "GEIST_BODY_M_MEDIUM",
|
|
201
|
+
GEIST_BODY_M_SEMI_BOLD: "GEIST_BODY_M_SEMI_BOLD",
|
|
202
|
+
// Geist Body Large (20px)
|
|
203
|
+
GEIST_BODY_L_REGULAR: "GEIST_BODY_L_REGULAR",
|
|
204
|
+
GEIST_BODY_L_MEDIUM: "GEIST_BODY_L_MEDIUM",
|
|
205
|
+
GEIST_BODY_L_SEMI_BOLD: "GEIST_BODY_L_SEMI_BOLD",
|
|
206
|
+
GEIST_BODY_L_BOLD: "GEIST_BODY_L_BOLD",
|
|
207
|
+
// Geist Heading Small (24px)
|
|
208
|
+
GEIST_HEADING_S_REGULAR: "GEIST_HEADING_S_REGULAR",
|
|
209
|
+
GEIST_HEADING_S_MEDIUM: "GEIST_HEADING_S_MEDIUM",
|
|
210
|
+
GEIST_HEADING_S_BOLD: "GEIST_HEADING_S_BOLD",
|
|
211
|
+
// Geist Heading Medium (28px)
|
|
212
|
+
GEIST_HEADING_M_BOLD: "GEIST_HEADING_M_BOLD",
|
|
213
|
+
// Geist Heading Large (32px)
|
|
214
|
+
GEIST_HEADING_L_REGULAR: "GEIST_HEADING_L_REGULAR",
|
|
215
|
+
GEIST_HEADING_L_MEDIUM: "GEIST_HEADING_L_MEDIUM",
|
|
216
|
+
GEIST_HEADING_L_SEMI_BOLD: "GEIST_HEADING_L_SEMI_BOLD",
|
|
217
|
+
GEIST_HEADING_L_BOLD: "GEIST_HEADING_L_BOLD",
|
|
218
|
+
// Geist Display Large (36px)
|
|
219
|
+
GEIST_DISPLAY_L_MEDIUM: "GEIST_DISPLAY_L_MEDIUM",
|
|
220
|
+
// Crimson Pro Body Small (16px)
|
|
221
|
+
CRIMSON_PRO_BODY_S_LIGHT: "CRIMSON_PRO_BODY_S_LIGHT",
|
|
222
|
+
// Crimson Pro Body Medium (18px)
|
|
223
|
+
CRIMSON_PRO_BODY_M_LIGHT: "CRIMSON_PRO_BODY_M_LIGHT",
|
|
224
|
+
// Crimson Pro Heading Medium (24px)
|
|
225
|
+
CRIMSON_PRO_HEADING_M_MEDIUM: "CRIMSON_PRO_HEADING_M_MEDIUM",
|
|
226
|
+
// Crimson Pro Display Extra Large (46px)
|
|
227
|
+
CRIMSON_PRO_DISPLAY_XL_REGULAR: "CRIMSON_PRO_DISPLAY_XL_REGULAR"
|
|
228
|
+
};
|
|
229
|
+
var typographyStyles = {
|
|
230
|
+
// Geist Label Caption (12px)
|
|
231
|
+
[typographyTypes.GEIST_LABEL_CAPTION_REGULAR]: {
|
|
232
|
+
fontFamily: fontFamilies.GEIST,
|
|
233
|
+
fontSize: 12,
|
|
234
|
+
fontWeight: 400,
|
|
235
|
+
lineHeight: 16
|
|
236
|
+
},
|
|
237
|
+
[typographyTypes.GEIST_LABEL_CAPTION_MEDIUM]: {
|
|
238
|
+
fontFamily: fontFamilies.GEIST,
|
|
239
|
+
fontSize: 12,
|
|
240
|
+
fontWeight: 500,
|
|
241
|
+
lineHeight: 16
|
|
242
|
+
},
|
|
243
|
+
[typographyTypes.GEIST_LABEL_CAPTION_SEMI_BOLD]: {
|
|
244
|
+
fontFamily: fontFamilies.GEIST,
|
|
245
|
+
fontSize: 12,
|
|
246
|
+
fontWeight: 600,
|
|
247
|
+
lineHeight: 16
|
|
248
|
+
},
|
|
249
|
+
// Geist Body Extra Small (14px)
|
|
250
|
+
[typographyTypes.GEIST_BODY_XS_REGULAR]: {
|
|
251
|
+
fontFamily: fontFamilies.GEIST,
|
|
252
|
+
fontSize: 14,
|
|
253
|
+
fontWeight: 400,
|
|
254
|
+
lineHeight: 20
|
|
255
|
+
},
|
|
256
|
+
[typographyTypes.GEIST_BODY_XS_MEDIUM]: {
|
|
257
|
+
fontFamily: fontFamilies.GEIST,
|
|
258
|
+
fontSize: 14,
|
|
259
|
+
fontWeight: 500,
|
|
260
|
+
lineHeight: 20
|
|
261
|
+
},
|
|
262
|
+
[typographyTypes.GEIST_BODY_XS_BOLD]: {
|
|
263
|
+
fontFamily: fontFamilies.GEIST,
|
|
264
|
+
fontSize: 14,
|
|
265
|
+
fontWeight: 600,
|
|
266
|
+
lineHeight: 20
|
|
267
|
+
},
|
|
268
|
+
// Geist Body Small (16px)
|
|
269
|
+
[typographyTypes.GEIST_BODY_S_REGULAR]: {
|
|
270
|
+
fontFamily: fontFamilies.GEIST,
|
|
271
|
+
fontSize: 16,
|
|
272
|
+
fontWeight: 400,
|
|
273
|
+
lineHeight: 24,
|
|
274
|
+
letterSpacing: -0.08
|
|
275
|
+
},
|
|
276
|
+
[typographyTypes.GEIST_BODY_S_MEDIUM]: {
|
|
277
|
+
fontFamily: fontFamilies.GEIST,
|
|
278
|
+
fontSize: 16,
|
|
279
|
+
fontWeight: 500,
|
|
280
|
+
lineHeight: 24,
|
|
281
|
+
letterSpacing: -0.08
|
|
282
|
+
},
|
|
283
|
+
[typographyTypes.GEIST_BODY_S_SEMI_BOLD]: {
|
|
284
|
+
fontFamily: fontFamilies.GEIST,
|
|
285
|
+
fontSize: 16,
|
|
286
|
+
fontWeight: 600,
|
|
287
|
+
lineHeight: 24,
|
|
288
|
+
letterSpacing: -0.08
|
|
289
|
+
},
|
|
290
|
+
[typographyTypes.GEIST_BODY_S_BOLD]: {
|
|
291
|
+
fontFamily: fontFamilies.GEIST,
|
|
292
|
+
fontSize: 16,
|
|
293
|
+
fontWeight: 700,
|
|
294
|
+
lineHeight: 24,
|
|
295
|
+
letterSpacing: -0.08
|
|
296
|
+
},
|
|
297
|
+
// Geist Body Medium (18px)
|
|
298
|
+
[typographyTypes.GEIST_BODY_M_LIGHT]: {
|
|
299
|
+
fontFamily: fontFamilies.GEIST,
|
|
300
|
+
fontSize: 18,
|
|
301
|
+
fontWeight: 300,
|
|
302
|
+
lineHeight: 28,
|
|
303
|
+
letterSpacing: -0.09
|
|
304
|
+
},
|
|
305
|
+
[typographyTypes.GEIST_BODY_M_REGULAR]: {
|
|
306
|
+
fontFamily: fontFamilies.GEIST,
|
|
307
|
+
fontSize: 18,
|
|
308
|
+
fontWeight: 400,
|
|
309
|
+
lineHeight: 28,
|
|
310
|
+
letterSpacing: -0.09
|
|
311
|
+
},
|
|
312
|
+
[typographyTypes.GEIST_BODY_M_MEDIUM]: {
|
|
313
|
+
fontFamily: fontFamilies.GEIST,
|
|
314
|
+
fontSize: 18,
|
|
315
|
+
fontWeight: 500,
|
|
316
|
+
lineHeight: 28,
|
|
317
|
+
letterSpacing: -0.09
|
|
318
|
+
},
|
|
319
|
+
[typographyTypes.GEIST_BODY_M_SEMI_BOLD]: {
|
|
320
|
+
fontFamily: fontFamilies.GEIST,
|
|
321
|
+
fontSize: 18,
|
|
322
|
+
fontWeight: 600,
|
|
323
|
+
lineHeight: 28,
|
|
324
|
+
letterSpacing: -0.09
|
|
325
|
+
},
|
|
326
|
+
// Geist Body Large (20px)
|
|
327
|
+
[typographyTypes.GEIST_BODY_L_REGULAR]: {
|
|
328
|
+
fontFamily: fontFamilies.GEIST,
|
|
329
|
+
fontSize: 20,
|
|
330
|
+
fontWeight: 400,
|
|
331
|
+
lineHeight: 30,
|
|
332
|
+
letterSpacing: -0.2
|
|
333
|
+
},
|
|
334
|
+
[typographyTypes.GEIST_BODY_L_MEDIUM]: {
|
|
335
|
+
fontFamily: fontFamilies.GEIST,
|
|
336
|
+
fontSize: 20,
|
|
337
|
+
fontWeight: 500,
|
|
338
|
+
lineHeight: 30,
|
|
339
|
+
letterSpacing: -0.2
|
|
340
|
+
},
|
|
341
|
+
[typographyTypes.GEIST_BODY_L_SEMI_BOLD]: {
|
|
342
|
+
fontFamily: fontFamilies.GEIST,
|
|
343
|
+
fontSize: 20,
|
|
344
|
+
fontWeight: 600,
|
|
345
|
+
lineHeight: 30,
|
|
346
|
+
letterSpacing: -0.2
|
|
347
|
+
},
|
|
348
|
+
[typographyTypes.GEIST_BODY_L_BOLD]: {
|
|
349
|
+
fontFamily: fontFamilies.GEIST,
|
|
350
|
+
fontSize: 20,
|
|
351
|
+
fontWeight: 700,
|
|
352
|
+
lineHeight: 30,
|
|
353
|
+
letterSpacing: -0.2
|
|
354
|
+
},
|
|
355
|
+
// Geist Heading Small (24px)
|
|
356
|
+
[typographyTypes.GEIST_HEADING_S_REGULAR]: {
|
|
357
|
+
fontFamily: fontFamilies.GEIST,
|
|
358
|
+
fontSize: 24,
|
|
359
|
+
fontWeight: 400,
|
|
360
|
+
lineHeight: 32,
|
|
361
|
+
letterSpacing: -0.48
|
|
362
|
+
},
|
|
363
|
+
[typographyTypes.GEIST_HEADING_S_MEDIUM]: {
|
|
364
|
+
fontFamily: fontFamilies.GEIST,
|
|
365
|
+
fontSize: 24,
|
|
366
|
+
fontWeight: 500,
|
|
367
|
+
lineHeight: 32,
|
|
368
|
+
letterSpacing: -0.48
|
|
369
|
+
},
|
|
370
|
+
[typographyTypes.GEIST_HEADING_S_BOLD]: {
|
|
371
|
+
fontFamily: fontFamilies.GEIST,
|
|
372
|
+
fontSize: 24,
|
|
373
|
+
fontWeight: 700,
|
|
374
|
+
lineHeight: 32,
|
|
375
|
+
letterSpacing: -0.48
|
|
376
|
+
},
|
|
377
|
+
// Geist Heading Medium (28px)
|
|
378
|
+
[typographyTypes.GEIST_HEADING_M_BOLD]: {
|
|
379
|
+
fontFamily: fontFamilies.GEIST,
|
|
380
|
+
fontSize: 28,
|
|
381
|
+
fontWeight: 700,
|
|
382
|
+
lineHeight: 36,
|
|
383
|
+
letterSpacing: -0.6
|
|
384
|
+
},
|
|
385
|
+
// Geist Heading Large (32px)
|
|
386
|
+
[typographyTypes.GEIST_HEADING_L_REGULAR]: {
|
|
387
|
+
fontFamily: fontFamilies.GEIST,
|
|
388
|
+
fontSize: 32,
|
|
389
|
+
fontWeight: 400,
|
|
390
|
+
lineHeight: 40,
|
|
391
|
+
letterSpacing: -0.64
|
|
392
|
+
},
|
|
393
|
+
[typographyTypes.GEIST_HEADING_L_MEDIUM]: {
|
|
394
|
+
fontFamily: fontFamilies.GEIST,
|
|
395
|
+
fontSize: 32,
|
|
396
|
+
fontWeight: 500,
|
|
397
|
+
lineHeight: 40,
|
|
398
|
+
letterSpacing: -0.64
|
|
399
|
+
},
|
|
400
|
+
[typographyTypes.GEIST_HEADING_L_SEMI_BOLD]: {
|
|
401
|
+
fontFamily: fontFamilies.GEIST,
|
|
402
|
+
fontSize: 32,
|
|
403
|
+
fontWeight: 600,
|
|
404
|
+
lineHeight: 40,
|
|
405
|
+
letterSpacing: -0.64
|
|
406
|
+
},
|
|
407
|
+
[typographyTypes.GEIST_HEADING_L_BOLD]: {
|
|
408
|
+
fontFamily: fontFamilies.GEIST,
|
|
409
|
+
fontSize: 32,
|
|
410
|
+
fontWeight: 700,
|
|
411
|
+
lineHeight: 40,
|
|
412
|
+
letterSpacing: -0.64
|
|
413
|
+
},
|
|
414
|
+
// Geist Display Large (36px)
|
|
415
|
+
[typographyTypes.GEIST_DISPLAY_L_MEDIUM]: {
|
|
416
|
+
fontFamily: fontFamilies.GEIST,
|
|
417
|
+
fontSize: 36,
|
|
418
|
+
fontWeight: 500,
|
|
419
|
+
lineHeight: 44,
|
|
420
|
+
letterSpacing: -0.72
|
|
421
|
+
},
|
|
422
|
+
// Crimson Pro Body Small (16px)
|
|
423
|
+
[typographyTypes.CRIMSON_PRO_BODY_S_LIGHT]: {
|
|
424
|
+
fontFamily: fontFamilies.CRIMSON_PRO,
|
|
425
|
+
fontSize: 16,
|
|
426
|
+
fontWeight: 300,
|
|
427
|
+
lineHeight: 20,
|
|
428
|
+
letterSpacing: -0.32,
|
|
429
|
+
fontStyle: "italic"
|
|
430
|
+
},
|
|
431
|
+
// Crimson Pro Body Medium (18px)
|
|
432
|
+
[typographyTypes.CRIMSON_PRO_BODY_M_LIGHT]: {
|
|
433
|
+
fontFamily: fontFamilies.CRIMSON_PRO,
|
|
434
|
+
fontSize: 18,
|
|
435
|
+
fontWeight: 300,
|
|
436
|
+
lineHeight: 28,
|
|
437
|
+
letterSpacing: 0,
|
|
438
|
+
fontStyle: "italic"
|
|
439
|
+
},
|
|
440
|
+
// Crimson Pro Heading Medium (24px)
|
|
441
|
+
[typographyTypes.CRIMSON_PRO_HEADING_M_MEDIUM]: {
|
|
442
|
+
fontFamily: fontFamilies.CRIMSON_PRO,
|
|
443
|
+
fontSize: 24,
|
|
444
|
+
fontWeight: 400,
|
|
445
|
+
lineHeight: 32,
|
|
446
|
+
letterSpacing: -0.48,
|
|
447
|
+
fontStyle: "italic"
|
|
448
|
+
},
|
|
449
|
+
// Crimson Pro Display Extra Large (46px)
|
|
450
|
+
[typographyTypes.CRIMSON_PRO_DISPLAY_XL_REGULAR]: {
|
|
451
|
+
fontFamily: fontFamilies.CRIMSON_PRO,
|
|
452
|
+
fontSize: 46,
|
|
453
|
+
fontWeight: 400,
|
|
454
|
+
lineHeight: 54,
|
|
455
|
+
letterSpacing: -1.38,
|
|
456
|
+
fontStyle: "italic"
|
|
457
|
+
}
|
|
458
|
+
};
|
|
459
|
+
function typographyMixin(type) {
|
|
460
|
+
const style = typographyStyles[type];
|
|
461
|
+
return [
|
|
462
|
+
`font-family: "${style.fontFamily}", sans-serif`,
|
|
463
|
+
`font-size: ${style.fontSize}px`,
|
|
464
|
+
`font-weight: ${style.fontWeight}`,
|
|
465
|
+
`line-height: ${style.lineHeight}px`,
|
|
466
|
+
`letter-spacing: ${style.letterSpacing != null ? `${style.letterSpacing}px` : "inherit"}`,
|
|
467
|
+
`font-style: ${style.fontStyle ?? "normal"}`
|
|
468
|
+
].join(";\n ");
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
// src/components/button/button-styles.ts
|
|
472
|
+
var sizeStyles = {
|
|
473
|
+
xs: import_styled_components2.css`
|
|
474
|
+
padding: 6px 10px;
|
|
475
|
+
border-radius: 8px;
|
|
476
|
+
gap: 4px;
|
|
477
|
+
`,
|
|
478
|
+
s: import_styled_components2.css`
|
|
479
|
+
padding: 8px 12px;
|
|
480
|
+
border-radius: 10px;
|
|
481
|
+
gap: 6px;
|
|
482
|
+
`,
|
|
483
|
+
m: import_styled_components2.css`
|
|
484
|
+
padding: 10px 14px;
|
|
485
|
+
border-radius: 10px;
|
|
486
|
+
gap: 6px;
|
|
487
|
+
`
|
|
488
|
+
};
|
|
489
|
+
var variantStyles = {
|
|
490
|
+
solid: import_styled_components2.css`
|
|
491
|
+
background: ${colors["brown-100"]};
|
|
492
|
+
color: ${colors.white};
|
|
493
|
+
border: none;
|
|
494
|
+
|
|
495
|
+
&:hover:not(:disabled) {
|
|
496
|
+
background: ${colors["brown-90"]};
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
&:disabled {
|
|
500
|
+
background: ${colors["brown-20"]};
|
|
501
|
+
color: ${colors["brown-50"]};
|
|
502
|
+
}
|
|
503
|
+
`,
|
|
504
|
+
outline: import_styled_components2.css`
|
|
505
|
+
background: ${colors.white};
|
|
506
|
+
color: ${colors["brown-100"]};
|
|
507
|
+
border: 1px solid ${colors["brown-40"]};
|
|
508
|
+
|
|
509
|
+
&:hover:not(:disabled) {
|
|
510
|
+
background: ${colors["brown-20"]};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
&:disabled {
|
|
514
|
+
border-color: ${colors["brown-20"]};
|
|
515
|
+
color: ${colors["brown-50"]};
|
|
516
|
+
}
|
|
517
|
+
`,
|
|
518
|
+
ghost: import_styled_components2.css`
|
|
519
|
+
background: transparent;
|
|
520
|
+
color: ${colors["brown-100"]};
|
|
521
|
+
border: none;
|
|
522
|
+
|
|
523
|
+
&:hover:not(:disabled) {
|
|
524
|
+
background: ${colors["brown-20"]};
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
&:disabled {
|
|
528
|
+
color: ${colors["brown-50"]};
|
|
529
|
+
}
|
|
530
|
+
`
|
|
531
|
+
};
|
|
532
|
+
var StyledButton = import_styled_components2.default.button`
|
|
533
|
+
display: inline-flex;
|
|
534
|
+
align-items: center;
|
|
535
|
+
justify-content: center;
|
|
536
|
+
cursor: pointer;
|
|
537
|
+
${typographyMixin(typographyTypes.GEIST_BODY_XS_MEDIUM)};
|
|
538
|
+
transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
|
|
539
|
+
|
|
540
|
+
&:disabled {
|
|
541
|
+
cursor: not-allowed;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
${({ $size }) => sizeStyles[$size]}
|
|
545
|
+
${({ $variant }) => variantStyles[$variant]}
|
|
546
|
+
`;
|
|
547
|
+
|
|
548
|
+
// src/components/button/constants.ts
|
|
549
|
+
var BUTTON_VARIANT = {
|
|
550
|
+
SOLID: "solid",
|
|
551
|
+
OUTLINE: "outline",
|
|
552
|
+
GHOST: "ghost"
|
|
553
|
+
};
|
|
554
|
+
var BUTTON_SIZE = {
|
|
555
|
+
XS: "xs",
|
|
556
|
+
S: "s",
|
|
557
|
+
M: "m"
|
|
558
|
+
};
|
|
559
|
+
var ICON_POSITION = {
|
|
560
|
+
LEADING: "leading",
|
|
561
|
+
TRAILING: "trailing"
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
// src/components/button/button.tsx
|
|
565
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
566
|
+
var Button = (0, import_react2.forwardRef)(function Button2({
|
|
567
|
+
children,
|
|
568
|
+
variant = BUTTON_VARIANT.SOLID,
|
|
569
|
+
size = BUTTON_SIZE.M,
|
|
570
|
+
icon,
|
|
571
|
+
iconPosition = ICON_POSITION.LEADING,
|
|
572
|
+
disabled = false,
|
|
573
|
+
onClick,
|
|
574
|
+
className,
|
|
575
|
+
"aria-label": ariaLabel
|
|
576
|
+
}, ref) {
|
|
577
|
+
const iconElement = icon ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Icon, { icon, size: 16 }) : null;
|
|
578
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
579
|
+
StyledButton,
|
|
580
|
+
{
|
|
581
|
+
ref,
|
|
582
|
+
type: "button",
|
|
583
|
+
$variant: variant,
|
|
584
|
+
$size: size,
|
|
585
|
+
disabled,
|
|
586
|
+
onClick: disabled ? void 0 : onClick,
|
|
587
|
+
className,
|
|
588
|
+
"aria-label": ariaLabel,
|
|
589
|
+
children: [
|
|
590
|
+
iconPosition === ICON_POSITION.LEADING && iconElement,
|
|
591
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { children }),
|
|
592
|
+
iconPosition === ICON_POSITION.TRAILING && iconElement
|
|
593
|
+
]
|
|
594
|
+
}
|
|
595
|
+
);
|
|
596
|
+
});
|
|
597
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
598
|
+
0 && (module.exports = {
|
|
599
|
+
BUTTON_SIZE,
|
|
600
|
+
BUTTON_VARIANT,
|
|
601
|
+
Button,
|
|
602
|
+
ICON_POSITION
|
|
603
|
+
});
|
|
604
|
+
//# sourceMappingURL=button.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/button/index.ts","../src/components/button/button.tsx","../src/components/icon/icon.tsx","../src/components/icon/icon-styles.ts","../src/components/button/button-styles.ts","../src/tokens/colors.ts","../src/tokens/typography.ts","../src/components/button/constants.ts"],"sourcesContent":["export { Button } from \"./button\";\nexport { BUTTON_VARIANT, BUTTON_SIZE, ICON_POSITION } from \"./constants\";\nexport type { ButtonProps, ButtonVariant, ButtonSize, IconPosition } from \"./types\";\n","import { forwardRef } from \"react\";\nimport { Icon } from \"../icon/icon\";\nimport { StyledButton } from \"./button-styles\";\nimport { BUTTON_SIZE, BUTTON_VARIANT, ICON_POSITION } from \"./constants\";\nimport type { ButtonProps } from \"./types\";\n\n/** A versatile button component with multiple variants and sizes. */\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Button(\n {\n children,\n variant = BUTTON_VARIANT.SOLID,\n size = BUTTON_SIZE.M,\n icon,\n iconPosition = ICON_POSITION.LEADING,\n disabled = false,\n onClick,\n className,\n \"aria-label\": ariaLabel,\n },\n ref\n) {\n const iconElement = icon ? <Icon icon={icon} size={16} /> : null;\n\n return (\n <StyledButton\n ref={ref}\n type=\"button\"\n $variant={variant}\n $size={size}\n disabled={disabled}\n onClick={disabled ? undefined : onClick}\n className={className}\n aria-label={ariaLabel}\n >\n {iconPosition === ICON_POSITION.LEADING && iconElement}\n <span>{children}</span>\n {iconPosition === ICON_POSITION.TRAILING && iconElement}\n </StyledButton>\n );\n});\n","import { forwardRef } from \"react\";\n\nimport { IconWrapper, getStrokeWidth } from \"./icon-styles\";\nimport type { IconProps } from \"./types\";\n\nconst DEFAULT_SIZE = 16;\n\nexport const Icon = forwardRef<HTMLSpanElement, IconProps>(function Icon(\n { icon: IconComponent, size = DEFAULT_SIZE, color, className, \"aria-label\": ariaLabel },\n ref\n) {\n return (\n <IconWrapper\n ref={ref}\n className={className}\n $color={color}\n aria-label={ariaLabel}\n role={ariaLabel ? \"img\" : undefined}\n >\n <IconComponent width={size} height={size} strokeWidth={getStrokeWidth(size)} />\n </IconWrapper>\n );\n});\n","import styled from \"styled-components\";\n\nexport const STROKE_WIDTH_BY_SIZE: Record<number, number> = {\n 12: 1.4,\n 14: 1.4,\n 16: 1.8,\n 18: 1.8,\n 20: 1.8,\n 24: 1.8,\n};\n\nexport const DEFAULT_STROKE_WIDTH = 1.8;\n\nexport function getStrokeWidth(size: number): number {\n return STROKE_WIDTH_BY_SIZE[size] ?? DEFAULT_STROKE_WIDTH;\n}\n\nexport const IconWrapper = styled.span<{ $color?: string }>`\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: ${({ $color }) => $color ?? \"currentColor\"};\n flex-shrink: 0;\n`;\n","import styled, { css } from \"styled-components\";\nimport { colors } from \"../../tokens/colors\";\nimport { typographyMixin, typographyTypes } from \"../../tokens/typography\";\nimport type { ButtonSize, ButtonVariant } from \"./types\";\n\nconst sizeStyles: Record<ButtonSize, ReturnType<typeof css>> = {\n xs: css`\n padding: 6px 10px;\n border-radius: 8px;\n gap: 4px;\n `,\n s: css`\n padding: 8px 12px;\n border-radius: 10px;\n gap: 6px;\n `,\n m: css`\n padding: 10px 14px;\n border-radius: 10px;\n gap: 6px;\n `,\n};\n\nconst variantStyles: Record<ButtonVariant, ReturnType<typeof css>> = {\n solid: css`\n background: ${colors[\"brown-100\"]};\n color: ${colors.white};\n border: none;\n\n &:hover:not(:disabled) {\n background: ${colors[\"brown-90\"]};\n }\n\n &:disabled {\n background: ${colors[\"brown-20\"]};\n color: ${colors[\"brown-50\"]};\n }\n `,\n outline: css`\n background: ${colors.white};\n color: ${colors[\"brown-100\"]};\n border: 1px solid ${colors[\"brown-40\"]};\n\n &:hover:not(:disabled) {\n background: ${colors[\"brown-20\"]};\n }\n\n &:disabled {\n border-color: ${colors[\"brown-20\"]};\n color: ${colors[\"brown-50\"]};\n }\n `,\n ghost: css`\n background: transparent;\n color: ${colors[\"brown-100\"]};\n border: none;\n\n &:hover:not(:disabled) {\n background: ${colors[\"brown-20\"]};\n }\n\n &:disabled {\n color: ${colors[\"brown-50\"]};\n }\n `,\n};\n\n/** Styled button element with variant and size transient props. */\nexport const StyledButton = styled.button<{ $variant: ButtonVariant; $size: ButtonSize }>`\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n ${typographyMixin(typographyTypes.GEIST_BODY_XS_MEDIUM)};\n transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;\n\n &:disabled {\n cursor: not-allowed;\n }\n\n ${({ $size }) => sizeStyles[$size]}\n ${({ $variant }) => variantStyles[$variant]}\n`;\n","export const colors = {\n // White\n white: \"#FFFFFF\",\n \"white-alpha-85\": \"rgba(255, 255, 255, 0.85)\",\n \"white-alpha-40\": \"rgba(255, 255, 255, 0.40)\",\n\n // Brown\n \"brown-10\": \"#FAF9F8\",\n \"brown-20\": \"#F5F3F0\",\n \"brown-30\": \"#EEEBE5\",\n \"brown-40\": \"#E6E2DA\",\n \"brown-50\": \"#CFCBC4\",\n \"brown-60\": \"#A19E99\",\n \"brown-70\": \"#73716D\",\n \"brown-80\": \"#5C5A57\",\n \"brown-90\": \"#2E2D2C\",\n \"brown-100\": \"#171716\",\n \"brown-alpha-12\": \"rgba(23, 23, 22, 0.12)\",\n \"brown-alpha-20\": \"rgba(23, 23, 22, 0.20)\",\n \"brown-alpha-55\": \"rgba(23, 23, 22, 0.55)\",\n \"brown-alpha-70\": \"rgba(23, 23, 22, 0.70)\",\n \"brown-alpha-80\": \"rgba(23, 23, 22, 0.80)\",\n \"brown-alpha-90\": \"rgba(23, 23, 22, 0.90)\",\n\n // Fuchsia\n \"fuchsia-50\": \"#FAF5FF\",\n \"fuchsia-300\": \"#F0ABFC\",\n \"fuchsia-500\": \"#D946EF\",\n \"fuchsia-600\": \"#C026D3\",\n \"fuchsia-800\": \"#86198F\",\n\n // Pink\n \"pink-50\": \"#FDF2F8\",\n \"pink-400\": \"#F472B6\",\n \"pink-600\": \"#DB2777\",\n \"pink-800\": \"#9D174D\",\n\n // Violet\n \"violet-50\": \"#F5F3FF\",\n \"violet-400\": \"#A78BFA\",\n \"violet-600\": \"#7C3AED\",\n \"violet-800\": \"#5B21B6\",\n\n // Indigo\n \"indigo-50\": \"#EEF2FF\",\n \"indigo-400\": \"#818CF8\",\n \"indigo-500\": \"#6366F1\",\n \"indigo-600\": \"#4F46E5\",\n \"indigo-800\": \"#3730A3\",\n\n // Cyan\n \"cyan-50\": \"#E7FEFF\",\n \"cyan-300\": \"#67E8F9\",\n \"cyan-600\": \"#0891B2\",\n \"cyan-900\": \"#164E63\",\n\n // Teal\n \"teal-50\": \"#EBFDF9\",\n \"teal-300\": \"#5EEAD4\",\n \"teal-600\": \"#0D9488\",\n\n // Rose\n \"rose-400\": \"#FB7185\",\n\n // Purple\n \"purple-400\": \"#C084FC\",\n\n // Blue\n \"blue-50\": \"#EFF6FF\",\n \"blue-100\": \"#DBEAFE\",\n \"blue-300\": \"#93C5FD\",\n \"blue-400\": \"#60A5FA\",\n \"blue-600\": \"#2563EB\",\n \"blue-800\": \"#1E40AF\",\n\n // Sky\n \"sky-300\": \"#7DD3FC\",\n\n // Green\n \"green-50\": \"#ECF9F0\",\n \"green-100\": \"#D4F1D9\",\n \"green-400\": \"#3DC269\",\n \"green-700\": \"#277C43\",\n \"green-800\": \"#1C5930\",\n\n // Orange\n \"orange-50\": \"#FFF7ED\",\n \"orange-100\": \"#FFEDD5\",\n \"orange-200\": \"#FED7AA\",\n \"orange-500\": \"#F97316\",\n \"orange-600\": \"#EA580C\",\n\n // Red\n \"red-50\": \"#FEF2F2\",\n \"red-100\": \"#FEE2E2\",\n \"red-200\": \"#FECACA\",\n \"red-400\": \"#F7776C\",\n \"red-500\": \"#EF4444\",\n \"red-600\": \"#DC2626\",\n} as const;\n\nexport type ColorToken = keyof typeof colors;\n","/** Available font families in the Shapes.co design system. */\nexport const fontFamilies = {\n /** Geist — primary UI font for body text, labels, headings, and display. */\n GEIST: \"Geist\",\n /** Crimson Pro — editorial/serif font, always italic. Used for decorative headings and pull quotes. */\n CRIMSON_PRO: \"Crimson Pro\",\n} as const;\n\nexport const typographyTypes = {\n // Geist Label Caption (12px)\n GEIST_LABEL_CAPTION_REGULAR: \"GEIST_LABEL_CAPTION_REGULAR\",\n GEIST_LABEL_CAPTION_MEDIUM: \"GEIST_LABEL_CAPTION_MEDIUM\",\n GEIST_LABEL_CAPTION_SEMI_BOLD: \"GEIST_LABEL_CAPTION_SEMI_BOLD\",\n\n // Geist Body Extra Small (14px)\n GEIST_BODY_XS_REGULAR: \"GEIST_BODY_XS_REGULAR\",\n GEIST_BODY_XS_MEDIUM: \"GEIST_BODY_XS_MEDIUM\",\n GEIST_BODY_XS_BOLD: \"GEIST_BODY_XS_BOLD\",\n\n // Geist Body Small (16px)\n GEIST_BODY_S_REGULAR: \"GEIST_BODY_S_REGULAR\",\n GEIST_BODY_S_MEDIUM: \"GEIST_BODY_S_MEDIUM\",\n GEIST_BODY_S_SEMI_BOLD: \"GEIST_BODY_S_SEMI_BOLD\",\n GEIST_BODY_S_BOLD: \"GEIST_BODY_S_BOLD\",\n\n // Geist Body Medium (18px)\n GEIST_BODY_M_LIGHT: \"GEIST_BODY_M_LIGHT\",\n GEIST_BODY_M_REGULAR: \"GEIST_BODY_M_REGULAR\",\n GEIST_BODY_M_MEDIUM: \"GEIST_BODY_M_MEDIUM\",\n GEIST_BODY_M_SEMI_BOLD: \"GEIST_BODY_M_SEMI_BOLD\",\n\n // Geist Body Large (20px)\n GEIST_BODY_L_REGULAR: \"GEIST_BODY_L_REGULAR\",\n GEIST_BODY_L_MEDIUM: \"GEIST_BODY_L_MEDIUM\",\n GEIST_BODY_L_SEMI_BOLD: \"GEIST_BODY_L_SEMI_BOLD\",\n GEIST_BODY_L_BOLD: \"GEIST_BODY_L_BOLD\",\n\n // Geist Heading Small (24px)\n GEIST_HEADING_S_REGULAR: \"GEIST_HEADING_S_REGULAR\",\n GEIST_HEADING_S_MEDIUM: \"GEIST_HEADING_S_MEDIUM\",\n GEIST_HEADING_S_BOLD: \"GEIST_HEADING_S_BOLD\",\n\n // Geist Heading Medium (28px)\n GEIST_HEADING_M_BOLD: \"GEIST_HEADING_M_BOLD\",\n\n // Geist Heading Large (32px)\n GEIST_HEADING_L_REGULAR: \"GEIST_HEADING_L_REGULAR\",\n GEIST_HEADING_L_MEDIUM: \"GEIST_HEADING_L_MEDIUM\",\n GEIST_HEADING_L_SEMI_BOLD: \"GEIST_HEADING_L_SEMI_BOLD\",\n GEIST_HEADING_L_BOLD: \"GEIST_HEADING_L_BOLD\",\n\n // Geist Display Large (36px)\n GEIST_DISPLAY_L_MEDIUM: \"GEIST_DISPLAY_L_MEDIUM\",\n\n // Crimson Pro Body Small (16px)\n CRIMSON_PRO_BODY_S_LIGHT: \"CRIMSON_PRO_BODY_S_LIGHT\",\n\n // Crimson Pro Body Medium (18px)\n CRIMSON_PRO_BODY_M_LIGHT: \"CRIMSON_PRO_BODY_M_LIGHT\",\n\n // Crimson Pro Heading Medium (24px)\n CRIMSON_PRO_HEADING_M_MEDIUM: \"CRIMSON_PRO_HEADING_M_MEDIUM\",\n\n // Crimson Pro Display Extra Large (46px)\n CRIMSON_PRO_DISPLAY_XL_REGULAR: \"CRIMSON_PRO_DISPLAY_XL_REGULAR\",\n} as const;\n\n/** Union of all typography type string constants. Used as keys into `typographyStyles`. */\nexport type TypographyType = (typeof typographyTypes)[keyof typeof typographyTypes];\n\n/** CSS properties for a single typography type. All numeric values are in pixels. */\nexport interface TypographyStyle {\n /** Font family name (e.g., \"Geist\"). */\n fontFamily: string;\n /** Font size in pixels. */\n fontSize: number;\n /** Font weight (100–900). */\n fontWeight: number;\n /** Line height in pixels. */\n lineHeight: number;\n /** Letter spacing in pixels. Omitted when the font's default spacing is correct. */\n letterSpacing?: number;\n /** CSS font-style value (e.g., \"italic\"). Omitted for normal style. */\n fontStyle?: string;\n}\n\nexport const typographyStyles: Record<TypographyType, TypographyStyle> = {\n // Geist Label Caption (12px)\n [typographyTypes.GEIST_LABEL_CAPTION_REGULAR]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 12,\n fontWeight: 400,\n lineHeight: 16,\n },\n [typographyTypes.GEIST_LABEL_CAPTION_MEDIUM]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 16,\n },\n [typographyTypes.GEIST_LABEL_CAPTION_SEMI_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 12,\n fontWeight: 600,\n lineHeight: 16,\n },\n\n // Geist Body Extra Small (14px)\n [typographyTypes.GEIST_BODY_XS_REGULAR]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 14,\n fontWeight: 400,\n lineHeight: 20,\n },\n [typographyTypes.GEIST_BODY_XS_MEDIUM]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 14,\n fontWeight: 500,\n lineHeight: 20,\n },\n [typographyTypes.GEIST_BODY_XS_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 14,\n fontWeight: 600,\n lineHeight: 20,\n },\n\n // Geist Body Small (16px)\n [typographyTypes.GEIST_BODY_S_REGULAR]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 16,\n fontWeight: 400,\n lineHeight: 24,\n letterSpacing: -0.08,\n },\n [typographyTypes.GEIST_BODY_S_MEDIUM]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 16,\n fontWeight: 500,\n lineHeight: 24,\n letterSpacing: -0.08,\n },\n [typographyTypes.GEIST_BODY_S_SEMI_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 16,\n fontWeight: 600,\n lineHeight: 24,\n letterSpacing: -0.08,\n },\n [typographyTypes.GEIST_BODY_S_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 16,\n fontWeight: 700,\n lineHeight: 24,\n letterSpacing: -0.08,\n },\n\n // Geist Body Medium (18px)\n [typographyTypes.GEIST_BODY_M_LIGHT]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 18,\n fontWeight: 300,\n lineHeight: 28,\n letterSpacing: -0.09,\n },\n [typographyTypes.GEIST_BODY_M_REGULAR]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 18,\n fontWeight: 400,\n lineHeight: 28,\n letterSpacing: -0.09,\n },\n [typographyTypes.GEIST_BODY_M_MEDIUM]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 18,\n fontWeight: 500,\n lineHeight: 28,\n letterSpacing: -0.09,\n },\n [typographyTypes.GEIST_BODY_M_SEMI_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 18,\n fontWeight: 600,\n lineHeight: 28,\n letterSpacing: -0.09,\n },\n\n // Geist Body Large (20px)\n [typographyTypes.GEIST_BODY_L_REGULAR]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 20,\n fontWeight: 400,\n lineHeight: 30,\n letterSpacing: -0.2,\n },\n [typographyTypes.GEIST_BODY_L_MEDIUM]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 20,\n fontWeight: 500,\n lineHeight: 30,\n letterSpacing: -0.2,\n },\n [typographyTypes.GEIST_BODY_L_SEMI_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 20,\n fontWeight: 600,\n lineHeight: 30,\n letterSpacing: -0.2,\n },\n [typographyTypes.GEIST_BODY_L_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 20,\n fontWeight: 700,\n lineHeight: 30,\n letterSpacing: -0.2,\n },\n\n // Geist Heading Small (24px)\n [typographyTypes.GEIST_HEADING_S_REGULAR]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 24,\n fontWeight: 400,\n lineHeight: 32,\n letterSpacing: -0.48,\n },\n [typographyTypes.GEIST_HEADING_S_MEDIUM]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 24,\n fontWeight: 500,\n lineHeight: 32,\n letterSpacing: -0.48,\n },\n [typographyTypes.GEIST_HEADING_S_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 24,\n fontWeight: 700,\n lineHeight: 32,\n letterSpacing: -0.48,\n },\n\n // Geist Heading Medium (28px)\n [typographyTypes.GEIST_HEADING_M_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 28,\n fontWeight: 700,\n lineHeight: 36,\n letterSpacing: -0.6,\n },\n\n // Geist Heading Large (32px)\n [typographyTypes.GEIST_HEADING_L_REGULAR]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 32,\n fontWeight: 400,\n lineHeight: 40,\n letterSpacing: -0.64,\n },\n [typographyTypes.GEIST_HEADING_L_MEDIUM]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 32,\n fontWeight: 500,\n lineHeight: 40,\n letterSpacing: -0.64,\n },\n [typographyTypes.GEIST_HEADING_L_SEMI_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 32,\n fontWeight: 600,\n lineHeight: 40,\n letterSpacing: -0.64,\n },\n [typographyTypes.GEIST_HEADING_L_BOLD]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 32,\n fontWeight: 700,\n lineHeight: 40,\n letterSpacing: -0.64,\n },\n\n // Geist Display Large (36px)\n [typographyTypes.GEIST_DISPLAY_L_MEDIUM]: {\n fontFamily: fontFamilies.GEIST,\n fontSize: 36,\n fontWeight: 500,\n lineHeight: 44,\n letterSpacing: -0.72,\n },\n\n // Crimson Pro Body Small (16px)\n [typographyTypes.CRIMSON_PRO_BODY_S_LIGHT]: {\n fontFamily: fontFamilies.CRIMSON_PRO,\n fontSize: 16,\n fontWeight: 300,\n lineHeight: 20,\n letterSpacing: -0.32,\n fontStyle: \"italic\",\n },\n\n // Crimson Pro Body Medium (18px)\n [typographyTypes.CRIMSON_PRO_BODY_M_LIGHT]: {\n fontFamily: fontFamilies.CRIMSON_PRO,\n fontSize: 18,\n fontWeight: 300,\n lineHeight: 28,\n letterSpacing: 0,\n fontStyle: \"italic\",\n },\n\n // Crimson Pro Heading Medium (24px)\n [typographyTypes.CRIMSON_PRO_HEADING_M_MEDIUM]: {\n fontFamily: fontFamilies.CRIMSON_PRO,\n fontSize: 24,\n fontWeight: 400,\n lineHeight: 32,\n letterSpacing: -0.48,\n fontStyle: \"italic\",\n },\n\n // Crimson Pro Display Extra Large (46px)\n [typographyTypes.CRIMSON_PRO_DISPLAY_XL_REGULAR]: {\n fontFamily: fontFamilies.CRIMSON_PRO,\n fontSize: 46,\n fontWeight: 400,\n lineHeight: 54,\n letterSpacing: -1.38,\n fontStyle: \"italic\",\n },\n};\n\n/**\n * Generates a CSS string for a given typography type, suitable for use in styled-components template literals.\n * @param type - The typography type constant (e.g., `typographyTypes.GEIST_BODY_S_REGULAR`).\n * @returns A semicolon-separated CSS string with font-family, font-size, font-weight, line-height, letter-spacing, and font-style.\n */\nexport function typographyMixin(type: TypographyType): string {\n const style = typographyStyles[type];\n return [\n `font-family: \"${style.fontFamily}\", sans-serif`,\n `font-size: ${style.fontSize}px`,\n `font-weight: ${style.fontWeight}`,\n `line-height: ${style.lineHeight}px`,\n `letter-spacing: ${style.letterSpacing != null ? `${style.letterSpacing}px` : \"inherit\"}`,\n `font-style: ${style.fontStyle ?? \"normal\"}`,\n ].join(\";\\n \");\n}\n","/** Available visual style variants for the Button component. */\nexport const BUTTON_VARIANT = {\n SOLID: \"solid\",\n OUTLINE: \"outline\",\n GHOST: \"ghost\",\n} as const;\n\n/** Available size presets for the Button component. */\nexport const BUTTON_SIZE = {\n XS: \"xs\",\n S: \"s\",\n M: \"m\",\n} as const;\n\n/** Available icon positions relative to the label text. */\nexport const ICON_POSITION = {\n LEADING: \"leading\",\n TRAILING: \"trailing\",\n} as const;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,gBAA2B;;;ACA3B,mBAA2B;;;ACA3B,+BAAmB;AAEZ,IAAM,uBAA+C;AAAA,EAC1D,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEO,IAAM,uBAAuB;AAE7B,SAAS,eAAe,MAAsB;AACnD,SAAO,qBAAqB,IAAI,KAAK;AACvC;AAEO,IAAM,cAAc,yBAAAC,QAAO;AAAA;AAAA;AAAA;AAAA,WAIvB,CAAC,EAAE,OAAO,MAAM,UAAU,cAAc;AAAA;AAAA;;;ADF7C;AAdN,IAAM,eAAe;AAEd,IAAM,WAAO,yBAAuC,SAASC,MAClE,EAAE,MAAM,eAAe,OAAO,cAAc,OAAO,WAAW,cAAc,UAAU,GACtF,KACA;AACA,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR,cAAY;AAAA,MACZ,MAAM,YAAY,QAAQ;AAAA,MAE1B,sDAAC,iBAAc,OAAO,MAAM,QAAQ,MAAM,aAAa,eAAe,IAAI,GAAG;AAAA;AAAA,EAC/E;AAEJ,CAAC;;;AEtBD,IAAAC,4BAA4B;;;ACArB,IAAM,SAAS;AAAA;AAAA,EAEpB,OAAO;AAAA,EACP,kBAAkB;AAAA,EAClB,kBAAkB;AAAA;AAAA,EAGlB,YAAY;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