@travelallfly/ui 0.0.0-stage → 0.2.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.
@@ -0,0 +1,420 @@
1
+ declare const primitives: {
2
+ readonly base: {
3
+ readonly white: "#FFFFFF";
4
+ };
5
+ readonly blue: {
6
+ readonly 50: "#EAF3FF";
7
+ readonly 100: "#C9D6EE";
8
+ readonly 200: "#9CC4F8";
9
+ readonly 300: "#7DB4F5";
10
+ readonly 500: "#0770E3";
11
+ readonly 600: "#055BBD";
12
+ readonly 700: "#0A4794";
13
+ readonly 900: "#0B1F4B";
14
+ };
15
+ readonly warm: {
16
+ readonly 0: "#FFFEFC";
17
+ readonly 50: "#FBF8F3";
18
+ readonly 75: "#F7F3EC";
19
+ readonly 100: "#F3EEE6";
20
+ readonly 200: "#E7E0D5";
21
+ readonly 300: "#CFC6B8";
22
+ readonly 400: "#A39A8C";
23
+ readonly 600: "#6B655C";
24
+ readonly 800: "#4A453E";
25
+ readonly 900: "#1F1D1A";
26
+ };
27
+ readonly sunrise: {
28
+ readonly 50: "#FDEBE4";
29
+ readonly 500: "#E8603C";
30
+ readonly 700: "#B5411F";
31
+ };
32
+ readonly marigold: {
33
+ readonly 50: "#FDF3DC";
34
+ readonly 100: "#FCEBB6";
35
+ readonly 500: "#F2B035";
36
+ readonly 800: "#7A4E00";
37
+ readonly 900: "#4A3000";
38
+ };
39
+ readonly palm: {
40
+ readonly 50: "#E3F4EE";
41
+ readonly 500: "#1A7A5E";
42
+ readonly 700: "#14664F";
43
+ };
44
+ readonly red: {
45
+ readonly 50: "#FBE9E7";
46
+ readonly 500: "#C93A3A";
47
+ readonly 700: "#A12B2B";
48
+ readonly 900: "#7A1F1F";
49
+ };
50
+ };
51
+ type RoleTree = {
52
+ [key: string]: string | RoleTree;
53
+ };
54
+ declare const colorRoles: {
55
+ readonly bg: {
56
+ readonly page: "warm/50";
57
+ readonly surface: "warm/0";
58
+ readonly sunken: "warm/100";
59
+ readonly hover: "warm/75";
60
+ readonly selected: "blue/50";
61
+ readonly feature: "blue/900";
62
+ readonly action: "blue/500";
63
+ readonly 'action-hover': "blue/600";
64
+ readonly 'action-pressed': "blue/700";
65
+ readonly inverse: "warm/900";
66
+ readonly scrim: "warm/900@60";
67
+ readonly raised: "warm/0";
68
+ readonly 'image-dim': "#151310@0";
69
+ readonly 'art-cream': "#FDEBD5";
70
+ };
71
+ readonly text: {
72
+ readonly primary: "warm/900";
73
+ readonly secondary: "warm/800";
74
+ readonly muted: "warm/600";
75
+ readonly link: "blue/600";
76
+ readonly 'on-action': "base/white";
77
+ readonly 'on-feature': "base/white";
78
+ readonly 'on-feature-muted': "blue/100";
79
+ readonly 'on-selected': "blue/700";
80
+ readonly inverse: "warm/0";
81
+ };
82
+ readonly border: {
83
+ readonly default: "warm/200";
84
+ readonly strong: "warm/300";
85
+ readonly control: "warm/400";
86
+ readonly focus: "blue/500";
87
+ readonly selected: "blue/500";
88
+ readonly ink: "warm/900";
89
+ readonly feature: "blue/900";
90
+ };
91
+ readonly status: {
92
+ readonly success: {
93
+ readonly fill: "palm/50";
94
+ readonly text: "palm/700";
95
+ readonly border: "palm/500";
96
+ };
97
+ readonly info: {
98
+ readonly fill: "blue/50";
99
+ readonly text: "blue/700";
100
+ readonly border: "blue/200";
101
+ };
102
+ readonly caution: {
103
+ readonly fill: "marigold/100";
104
+ readonly text: "marigold/900";
105
+ readonly icon: "marigold/800";
106
+ readonly border: "marigold/500";
107
+ };
108
+ readonly error: {
109
+ readonly fill: "red/50";
110
+ readonly text: "red/900";
111
+ readonly strong: "red/700";
112
+ readonly border: "red/500";
113
+ };
114
+ readonly neutral: {
115
+ readonly fill: "warm/100";
116
+ readonly text: "warm/800";
117
+ readonly border: "warm/300";
118
+ };
119
+ };
120
+ readonly travel: {
121
+ readonly flights: {
122
+ readonly tint: "blue/50";
123
+ readonly ink: "blue/700";
124
+ readonly accent: "blue/500";
125
+ };
126
+ readonly hotels: {
127
+ readonly tint: "sunrise/50";
128
+ readonly ink: "sunrise/700";
129
+ readonly accent: "sunrise/500";
130
+ };
131
+ readonly cars: {
132
+ readonly tint: "marigold/50";
133
+ readonly ink: "marigold/800";
134
+ readonly accent: "marigold/500";
135
+ };
136
+ readonly rail: {
137
+ readonly tint: "palm/50";
138
+ readonly ink: "palm/700";
139
+ readonly accent: "palm/500";
140
+ };
141
+ };
142
+ };
143
+ declare const colorRolesDark: {
144
+ readonly bg: {
145
+ readonly page: "#151310";
146
+ readonly surface: "warm/900";
147
+ readonly sunken: "#2A2723";
148
+ readonly hover: "#26231F";
149
+ readonly selected: "#172A45";
150
+ readonly feature: "blue/900";
151
+ readonly action: "blue/500";
152
+ readonly 'action-hover': "blue/600";
153
+ readonly 'action-pressed': "blue/700";
154
+ readonly inverse: "warm/100";
155
+ readonly scrim: "#0A0908@72";
156
+ readonly raised: "#2E2A26";
157
+ readonly 'image-dim': "#151310@10";
158
+ readonly 'art-cream': "#FDEBD5";
159
+ };
160
+ readonly text: {
161
+ readonly primary: "warm/100";
162
+ readonly secondary: "#D4CBBE";
163
+ readonly muted: "#ABA294";
164
+ readonly link: "blue/300";
165
+ readonly 'on-action': "base/white";
166
+ readonly 'on-feature': "base/white";
167
+ readonly 'on-feature-muted': "blue/100";
168
+ readonly 'on-selected': "blue/200";
169
+ readonly inverse: "warm/900";
170
+ };
171
+ readonly border: {
172
+ readonly default: "#38342E";
173
+ readonly strong: "#4F4941";
174
+ readonly control: "#857C70";
175
+ readonly focus: "blue/300";
176
+ readonly selected: "blue/300";
177
+ readonly ink: "warm/100";
178
+ readonly feature: "#1E3A70";
179
+ };
180
+ readonly status: {
181
+ readonly success: {
182
+ readonly fill: "#13291F";
183
+ readonly text: "#86D3B2";
184
+ readonly border: "#3DB489";
185
+ };
186
+ readonly info: {
187
+ readonly fill: "#15243A";
188
+ readonly text: "#A9CBF7";
189
+ readonly border: "#2E4F7C";
190
+ };
191
+ readonly caution: {
192
+ readonly fill: "#2D2412";
193
+ readonly text: "#F5CB78";
194
+ readonly icon: "marigold/500";
195
+ readonly border: "#7A5A17";
196
+ };
197
+ readonly error: {
198
+ readonly fill: "#341A18";
199
+ readonly text: "#F6A8A0";
200
+ readonly strong: "#EE7A70";
201
+ readonly border: "#8A3530";
202
+ };
203
+ readonly neutral: {
204
+ readonly fill: "#2A2723";
205
+ readonly text: "#D4CBBE";
206
+ readonly border: "#4F4941";
207
+ };
208
+ };
209
+ readonly travel: {
210
+ readonly flights: {
211
+ readonly tint: "#172A45";
212
+ readonly ink: "blue/200";
213
+ readonly accent: "blue/500";
214
+ };
215
+ readonly hotels: {
216
+ readonly tint: "#33201A";
217
+ readonly ink: "#F59A7C";
218
+ readonly accent: "sunrise/500";
219
+ };
220
+ readonly cars: {
221
+ readonly tint: "#2D2412";
222
+ readonly ink: "#F5C46A";
223
+ readonly accent: "marigold/500";
224
+ };
225
+ readonly rail: {
226
+ readonly tint: "#13291F";
227
+ readonly ink: "#7CCCAD";
228
+ readonly accent: "palm/500";
229
+ };
230
+ };
231
+ };
232
+ declare const darkRolesUnverified: readonly ["border/selected"];
233
+ declare const spacing: {
234
+ readonly xs: 4;
235
+ readonly sm: 8;
236
+ readonly md: 12;
237
+ readonly lg: 16;
238
+ readonly xl: 24;
239
+ readonly '2xl': 32;
240
+ readonly '3xl': 48;
241
+ readonly '4xl': 64;
242
+ };
243
+ declare const radius: {
244
+ readonly xs: {
245
+ readonly value: 4;
246
+ readonly usage: "Checkboxes";
247
+ };
248
+ readonly sm: {
249
+ readonly value: 8;
250
+ readonly usage: "Tooltips, seats";
251
+ };
252
+ readonly md: {
253
+ readonly value: 12;
254
+ readonly usage: "Inputs, nav items";
255
+ };
256
+ readonly lg: {
257
+ readonly value: 16;
258
+ readonly usage: "Banners, toasts";
259
+ };
260
+ readonly xl: {
261
+ readonly value: 24;
262
+ readonly usage: "Cards";
263
+ };
264
+ readonly '2xl': {
265
+ readonly value: 32;
266
+ readonly usage: "Modals";
267
+ };
268
+ readonly full: {
269
+ readonly value: 9999;
270
+ readonly usage: "Buttons, chips";
271
+ };
272
+ };
273
+ declare const elevation: {
274
+ readonly raised: {
275
+ readonly value: "0 6px 16px rgba(31, 29, 26, 0.06)";
276
+ readonly dark: "none";
277
+ readonly usage: "The booking card, popovers, the selected fare. No shadow in dark: the lighter surface does the lifting.";
278
+ };
279
+ readonly floating: {
280
+ readonly value: "0 12px 32px rgba(31, 29, 26, 0.12)";
281
+ readonly dark: "0 12px 32px rgba(10, 9, 8, 0.5)";
282
+ readonly usage: "Modals, menus and toasts, over the scrim.";
283
+ };
284
+ readonly focus: {
285
+ readonly value: "0 0 0 4px color-mix(in srgb, var(--af-bg-action) 30%, transparent)";
286
+ readonly usage: "Every interactive element on keyboard focus.";
287
+ };
288
+ };
289
+ declare const fonts: {
290
+ readonly ui: readonly ["\"Figtree Variable\"", "Figtree", "ui-sans-serif", "system-ui", "sans-serif"];
291
+ readonly voice: readonly ["\"Instrument Serif\"", "ui-serif", "Georgia", "serif"];
292
+ readonly code: readonly ["\"Geist Mono Variable\"", "\"Geist Mono\"", "ui-monospace", "SFMono-Regular", "monospace"];
293
+ };
294
+ type TypeStyle = {
295
+ font: keyof typeof fonts;
296
+ size: number;
297
+ lineHeight: number;
298
+ weight: number;
299
+ italic?: boolean;
300
+ uppercase?: boolean;
301
+ letterSpacing?: string;
302
+ sample: string;
303
+ };
304
+ declare const typeStyles: {
305
+ readonly display: {
306
+ readonly font: "ui";
307
+ readonly size: 40;
308
+ readonly lineHeight: 44;
309
+ readonly weight: 600;
310
+ readonly sample: "Book the 7:05 to LaGuardia";
311
+ };
312
+ readonly title: {
313
+ readonly font: "ui";
314
+ readonly size: 28;
315
+ readonly lineHeight: 34;
316
+ readonly weight: 600;
317
+ readonly sample: "Choose a fare for your round trip";
318
+ };
319
+ readonly heading: {
320
+ readonly font: "ui";
321
+ readonly size: 20;
322
+ readonly lineHeight: 28;
323
+ readonly weight: 600;
324
+ readonly sample: "Returning flights";
325
+ };
326
+ readonly body: {
327
+ readonly font: "ui";
328
+ readonly size: 15;
329
+ readonly lineHeight: 22;
330
+ readonly weight: 400;
331
+ readonly sample: "Arrival airport and dates come from the event.";
332
+ };
333
+ readonly 'body-strong': {
334
+ readonly font: "ui";
335
+ readonly size: 15;
336
+ readonly lineHeight: 22;
337
+ readonly weight: 600;
338
+ readonly sample: "7:20 AM – 10:01 AM";
339
+ };
340
+ readonly label: {
341
+ readonly font: "ui";
342
+ readonly size: 13;
343
+ readonly lineHeight: 18;
344
+ readonly weight: 500;
345
+ readonly sample: "Delta · DL 2122";
346
+ };
347
+ readonly 'label-strong': {
348
+ readonly font: "ui";
349
+ readonly size: 13;
350
+ readonly lineHeight: 18;
351
+ readonly weight: 600;
352
+ readonly sample: "Booked";
353
+ };
354
+ readonly eyebrow: {
355
+ readonly font: "ui";
356
+ readonly size: 13;
357
+ readonly lineHeight: 18;
358
+ readonly weight: 600;
359
+ readonly uppercase: true;
360
+ readonly letterSpacing: "0.08em";
361
+ readonly sample: "Flights · Shopping list";
362
+ };
363
+ readonly voice: {
364
+ readonly font: "voice";
365
+ readonly size: 40;
366
+ readonly lineHeight: 44;
367
+ readonly weight: 400;
368
+ readonly italic: true;
369
+ readonly sample: "Good evening, Kenneth.";
370
+ };
371
+ readonly 'voice-sm': {
372
+ readonly font: "voice";
373
+ readonly size: 28;
374
+ readonly lineHeight: 32;
375
+ readonly weight: 400;
376
+ readonly italic: true;
377
+ readonly sample: "You’re all set, Maya.";
378
+ };
379
+ readonly mono: {
380
+ readonly font: "code";
381
+ readonly size: 15;
382
+ readonly lineHeight: 22;
383
+ readonly weight: 400;
384
+ readonly sample: "DL 1482 · GXK4QP · $1,440.76";
385
+ };
386
+ readonly 'mono-lg': {
387
+ readonly font: "code";
388
+ readonly size: 40;
389
+ readonly lineHeight: 44;
390
+ readonly weight: 500;
391
+ readonly sample: "$495,052.00";
392
+ };
393
+ };
394
+
395
+ declare const prefix = "af";
396
+ type ColorRole = {
397
+ name: string;
398
+ figmaName: string;
399
+ group: string;
400
+ ref: string;
401
+ };
402
+ declare function flattenRoles(tree: RoleTree, path?: string[]): ColorRole[];
403
+ declare const roles: ColorRole[];
404
+ declare const darkRoles: ColorRole[];
405
+ declare const darkClass = "dark";
406
+ declare function darkRoleFor(name: string): ColorRole;
407
+ declare function isHex(ref: string): boolean;
408
+ declare function splitAlpha(ref: string): {
409
+ base: string;
410
+ alpha: number | null;
411
+ };
412
+ declare function resolveColor(ref: string): string;
413
+ declare function cssVarName(name: string): string;
414
+ declare function cssVar(name: string): string;
415
+ declare function primitiveName(ref: string): string;
416
+ declare function resolvePrimitive(ref: string): string;
417
+ declare function rem(px: number): string;
418
+ declare function renderTokensCss(): string;
419
+
420
+ export { type ColorRole, type RoleTree, type TypeStyle, colorRoles, colorRolesDark, cssVar, cssVarName, darkClass, darkRoleFor, darkRoles, darkRolesUnverified, elevation, flattenRoles, fonts, isHex, prefix, primitiveName, primitives, radius, rem, renderTokensCss, resolveColor, resolvePrimitive, roles, spacing, splitAlpha, typeStyles };
package/dist/tokens.js ADDED
@@ -0,0 +1,54 @@
1
+ import {
2
+ cssVar,
3
+ cssVarName,
4
+ darkClass,
5
+ darkRoleFor,
6
+ darkRoles,
7
+ flattenRoles,
8
+ isHex,
9
+ prefix,
10
+ primitiveName,
11
+ rem,
12
+ renderTokensCss,
13
+ resolveColor,
14
+ resolvePrimitive,
15
+ roles,
16
+ splitAlpha
17
+ } from "./chunk-C6EI7GYY.js";
18
+ import {
19
+ colorRoles,
20
+ colorRolesDark,
21
+ darkRolesUnverified,
22
+ elevation,
23
+ fonts,
24
+ primitives,
25
+ radius,
26
+ spacing,
27
+ typeStyles
28
+ } from "./chunk-NSDKLLVT.js";
29
+ export {
30
+ colorRoles,
31
+ colorRolesDark,
32
+ cssVar,
33
+ cssVarName,
34
+ darkClass,
35
+ darkRoleFor,
36
+ darkRoles,
37
+ darkRolesUnverified,
38
+ elevation,
39
+ flattenRoles,
40
+ fonts,
41
+ isHex,
42
+ prefix,
43
+ primitiveName,
44
+ primitives,
45
+ radius,
46
+ rem,
47
+ renderTokensCss,
48
+ resolveColor,
49
+ resolvePrimitive,
50
+ roles,
51
+ spacing,
52
+ splitAlpha,
53
+ typeStyles
54
+ };
package/dist/utils.cjs ADDED
@@ -0,0 +1,74 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkHX7N52DBcjs = require('./chunk-HX7N52DB.cjs');
7
+
8
+ // src/lib/cn.ts
9
+ var _clsx = require('clsx');
10
+ var _tailwindmerge = require('tailwind-merge');
11
+ var twMerge = _tailwindmerge.extendTailwindMerge.call(void 0, {
12
+ extend: {
13
+ theme: {
14
+ spacing: Object.keys(_chunkHX7N52DBcjs.spacing).map((key) => `spacing-${key}`),
15
+ radius: Object.keys(_chunkHX7N52DBcjs.radius).map((key) => `radius-${key}`),
16
+ shadow: Object.keys(_chunkHX7N52DBcjs.elevation).map((key) => `elevation-${key}`)
17
+ },
18
+ classGroups: {
19
+ "type-style": [{ type: Object.keys(_chunkHX7N52DBcjs.typeStyles) }]
20
+ }
21
+ }
22
+ });
23
+ function cn(...inputs) {
24
+ return twMerge(_clsx.clsx.call(void 0, inputs));
25
+ }
26
+
27
+ // src/components/button/button-variants.ts
28
+ var _classvarianceauthority = require('class-variance-authority');
29
+ var buttonVariants = _classvarianceauthority.cva.call(void 0,
30
+ [
31
+ "inline-flex shrink-0 items-center justify-center gap-spacing-sm whitespace-nowrap",
32
+ "rounded-radius-full transition-colors",
33
+ "focus-visible:shadow-elevation-focus focus-visible:outline-none",
34
+ "aria-busy:pointer-events-none aria-disabled:pointer-events-none"
35
+ ],
36
+ {
37
+ variants: {
38
+ variant: {
39
+ primary: [
40
+ "bg-bg-action text-text-on-action",
41
+ "hover:bg-bg-action-hover active:bg-bg-action-pressed",
42
+ "aria-disabled:bg-bg-sunken aria-disabled:text-text-muted"
43
+ ],
44
+ secondary: [
45
+ "border border-border-ink bg-bg-surface text-text-primary",
46
+ "hover:bg-bg-hover active:bg-bg-sunken focus-visible:border-border-focus",
47
+ "aria-disabled:border-border-default aria-disabled:text-text-muted"
48
+ ],
49
+ destructive: [
50
+ "border border-status-error-border bg-bg-surface text-status-error-text",
51
+ "hover:bg-status-error-fill active:bg-status-error-fill",
52
+ "aria-disabled:border-border-default aria-disabled:text-text-muted"
53
+ ],
54
+ link: [
55
+ "text-text-link",
56
+ "hover:text-text-on-selected active:text-text-on-selected",
57
+ "aria-disabled:text-text-muted"
58
+ ]
59
+ },
60
+ size: {
61
+ default: "type-body-strong h-12 px-spacing-xl",
62
+ compact: "type-label-strong h-9 px-spacing-lg"
63
+ }
64
+ },
65
+ defaultVariants: {
66
+ variant: "primary",
67
+ size: "default"
68
+ }
69
+ }
70
+ );
71
+
72
+
73
+
74
+ exports.buttonVariants = buttonVariants; exports.cn = cn;
@@ -0,0 +1,13 @@
1
+ import { ClassValue } from 'clsx';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare function cn(...inputs: ClassValue[]): string;
6
+
7
+ declare const buttonVariants: (props?: ({
8
+ variant?: "link" | "primary" | "secondary" | "destructive" | null | undefined;
9
+ size?: "default" | "compact" | null | undefined;
10
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ type ButtonVariantProps = VariantProps<typeof buttonVariants>;
12
+
13
+ export { type ButtonVariantProps, buttonVariants, cn };
@@ -0,0 +1,13 @@
1
+ import { ClassValue } from 'clsx';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare function cn(...inputs: ClassValue[]): string;
6
+
7
+ declare const buttonVariants: (props?: ({
8
+ variant?: "link" | "primary" | "secondary" | "destructive" | null | undefined;
9
+ size?: "default" | "compact" | null | undefined;
10
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ type ButtonVariantProps = VariantProps<typeof buttonVariants>;
12
+
13
+ export { type ButtonVariantProps, buttonVariants, cn };
package/dist/utils.js ADDED
@@ -0,0 +1,74 @@
1
+ import {
2
+ elevation,
3
+ radius,
4
+ spacing,
5
+ typeStyles
6
+ } from "./chunk-NSDKLLVT.js";
7
+
8
+ // src/lib/cn.ts
9
+ import { clsx } from "clsx";
10
+ import { extendTailwindMerge } from "tailwind-merge";
11
+ var twMerge = extendTailwindMerge({
12
+ extend: {
13
+ theme: {
14
+ spacing: Object.keys(spacing).map((key) => `spacing-${key}`),
15
+ radius: Object.keys(radius).map((key) => `radius-${key}`),
16
+ shadow: Object.keys(elevation).map((key) => `elevation-${key}`)
17
+ },
18
+ classGroups: {
19
+ "type-style": [{ type: Object.keys(typeStyles) }]
20
+ }
21
+ }
22
+ });
23
+ function cn(...inputs) {
24
+ return twMerge(clsx(inputs));
25
+ }
26
+
27
+ // src/components/button/button-variants.ts
28
+ import { cva } from "class-variance-authority";
29
+ var buttonVariants = cva(
30
+ [
31
+ "inline-flex shrink-0 items-center justify-center gap-spacing-sm whitespace-nowrap",
32
+ "rounded-radius-full transition-colors",
33
+ "focus-visible:shadow-elevation-focus focus-visible:outline-none",
34
+ "aria-busy:pointer-events-none aria-disabled:pointer-events-none"
35
+ ],
36
+ {
37
+ variants: {
38
+ variant: {
39
+ primary: [
40
+ "bg-bg-action text-text-on-action",
41
+ "hover:bg-bg-action-hover active:bg-bg-action-pressed",
42
+ "aria-disabled:bg-bg-sunken aria-disabled:text-text-muted"
43
+ ],
44
+ secondary: [
45
+ "border border-border-ink bg-bg-surface text-text-primary",
46
+ "hover:bg-bg-hover active:bg-bg-sunken focus-visible:border-border-focus",
47
+ "aria-disabled:border-border-default aria-disabled:text-text-muted"
48
+ ],
49
+ destructive: [
50
+ "border border-status-error-border bg-bg-surface text-status-error-text",
51
+ "hover:bg-status-error-fill active:bg-status-error-fill",
52
+ "aria-disabled:border-border-default aria-disabled:text-text-muted"
53
+ ],
54
+ link: [
55
+ "text-text-link",
56
+ "hover:text-text-on-selected active:text-text-on-selected",
57
+ "aria-disabled:text-text-muted"
58
+ ]
59
+ },
60
+ size: {
61
+ default: "type-body-strong h-12 px-spacing-xl",
62
+ compact: "type-label-strong h-9 px-spacing-lg"
63
+ }
64
+ },
65
+ defaultVariants: {
66
+ variant: "primary",
67
+ size: "default"
68
+ }
69
+ }
70
+ );
71
+ export {
72
+ buttonVariants,
73
+ cn
74
+ };