@work-rjkashyap/unified-ui 0.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +152 -0
  2. package/README.md +365 -0
  3. package/dist/chunk-2JFREULQ.cjs +29 -0
  4. package/dist/chunk-2RGLRX6K.cjs +279 -0
  5. package/dist/chunk-3HHJAYQI.cjs +469 -0
  6. package/dist/chunk-5S5DMH5G.cjs +5983 -0
  7. package/dist/chunk-BIW2RPDU.cjs +73 -0
  8. package/dist/chunk-CWETOWRM.mjs +456 -0
  9. package/dist/chunk-ECIGDEAH.cjs +140 -0
  10. package/dist/chunk-EO4WROWH.mjs +432 -0
  11. package/dist/chunk-EZ2L3XPS.mjs +83 -0
  12. package/dist/chunk-I74E52C5.mjs +271 -0
  13. package/dist/chunk-ITBG42M5.mjs +133 -0
  14. package/dist/chunk-IWJ5VMZ7.mjs +323 -0
  15. package/dist/chunk-KHON2AEM.cjs +342 -0
  16. package/dist/chunk-LSNKPQP7.cjs +58 -0
  17. package/dist/chunk-M2LNQWOB.mjs +63 -0
  18. package/dist/chunk-NMPHV6ZD.mjs +27 -0
  19. package/dist/chunk-QXR4VY7Q.cjs +268 -0
  20. package/dist/chunk-SSGN5QDC.mjs +248 -0
  21. package/dist/chunk-X2WCY4VB.mjs +5836 -0
  22. package/dist/chunk-XCKK6P46.cjs +91 -0
  23. package/dist/chunk-ZBN26FLO.mjs +46 -0
  24. package/dist/chunk-ZPIPKY2J.cjs +478 -0
  25. package/dist/components.cjs +477 -0
  26. package/dist/components.d.cts +3077 -0
  27. package/dist/components.d.ts +3077 -0
  28. package/dist/components.mjs +4 -0
  29. package/dist/index.cjs +1027 -0
  30. package/dist/index.d.cts +30 -0
  31. package/dist/index.d.ts +30 -0
  32. package/dist/index.mjs +17 -0
  33. package/dist/motion-D9wQbcKL.d.cts +80 -0
  34. package/dist/motion-D9wQbcKL.d.ts +80 -0
  35. package/dist/motion.cjs +216 -0
  36. package/dist/motion.d.cts +104 -0
  37. package/dist/motion.d.ts +104 -0
  38. package/dist/motion.mjs +3 -0
  39. package/dist/primitives.cjs +57 -0
  40. package/dist/primitives.d.cts +390 -0
  41. package/dist/primitives.d.ts +390 -0
  42. package/dist/primitives.mjs +4 -0
  43. package/dist/theme.cjs +38 -0
  44. package/dist/theme.d.cts +117 -0
  45. package/dist/theme.d.ts +117 -0
  46. package/dist/theme.mjs +5 -0
  47. package/dist/tokens.cjs +137 -0
  48. package/dist/tokens.d.cts +30 -0
  49. package/dist/tokens.d.ts +30 -0
  50. package/dist/tokens.mjs +4 -0
  51. package/dist/typography-DlvVjEdE.d.cts +146 -0
  52. package/dist/typography-DlvVjEdE.d.ts +146 -0
  53. package/dist/utils.cjs +164 -0
  54. package/dist/utils.d.cts +521 -0
  55. package/dist/utils.d.ts +521 -0
  56. package/dist/utils.mjs +3 -0
  57. package/dist/z-index-B_nTQ3qo.d.cts +422 -0
  58. package/dist/z-index-B_nTQ3qo.d.ts +422 -0
  59. package/package.json +183 -0
  60. package/styles.css +500 -0
@@ -0,0 +1,137 @@
1
+ 'use strict';
2
+
3
+ var chunk2JFREULQ_cjs = require('./chunk-2JFREULQ.cjs');
4
+ var chunkKHON2AEM_cjs = require('./chunk-KHON2AEM.cjs');
5
+ var chunkECIGDEAH_cjs = require('./chunk-ECIGDEAH.cjs');
6
+ var chunkXCKK6P46_cjs = require('./chunk-XCKK6P46.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "spacing", {
11
+ enumerable: true,
12
+ get: function () { return chunk2JFREULQ_cjs.spacing; }
13
+ });
14
+ Object.defineProperty(exports, "amber", {
15
+ enumerable: true,
16
+ get: function () { return chunkKHON2AEM_cjs.amber; }
17
+ });
18
+ Object.defineProperty(exports, "blue", {
19
+ enumerable: true,
20
+ get: function () { return chunkKHON2AEM_cjs.blue; }
21
+ });
22
+ Object.defineProperty(exports, "brand", {
23
+ enumerable: true,
24
+ get: function () { return chunkKHON2AEM_cjs.brand; }
25
+ });
26
+ Object.defineProperty(exports, "gray", {
27
+ enumerable: true,
28
+ get: function () { return chunkKHON2AEM_cjs.gray; }
29
+ });
30
+ Object.defineProperty(exports, "green", {
31
+ enumerable: true,
32
+ get: function () { return chunkKHON2AEM_cjs.green; }
33
+ });
34
+ Object.defineProperty(exports, "neutral", {
35
+ enumerable: true,
36
+ get: function () { return chunkKHON2AEM_cjs.neutral; }
37
+ });
38
+ Object.defineProperty(exports, "palettes", {
39
+ enumerable: true,
40
+ get: function () { return chunkKHON2AEM_cjs.palettes; }
41
+ });
42
+ Object.defineProperty(exports, "pure", {
43
+ enumerable: true,
44
+ get: function () { return chunkKHON2AEM_cjs.pure; }
45
+ });
46
+ Object.defineProperty(exports, "radius", {
47
+ enumerable: true,
48
+ get: function () { return chunkKHON2AEM_cjs.radius; }
49
+ });
50
+ Object.defineProperty(exports, "red", {
51
+ enumerable: true,
52
+ get: function () { return chunkKHON2AEM_cjs.red; }
53
+ });
54
+ Object.defineProperty(exports, "semanticDark", {
55
+ enumerable: true,
56
+ get: function () { return chunkKHON2AEM_cjs.semanticDark; }
57
+ });
58
+ Object.defineProperty(exports, "semanticLight", {
59
+ enumerable: true,
60
+ get: function () { return chunkKHON2AEM_cjs.semanticLight; }
61
+ });
62
+ Object.defineProperty(exports, "shadow", {
63
+ enumerable: true,
64
+ get: function () { return chunkKHON2AEM_cjs.shadow; }
65
+ });
66
+ Object.defineProperty(exports, "shadowDark", {
67
+ enumerable: true,
68
+ get: function () { return chunkKHON2AEM_cjs.shadowDark; }
69
+ });
70
+ Object.defineProperty(exports, "slate", {
71
+ enumerable: true,
72
+ get: function () { return chunkKHON2AEM_cjs.slate; }
73
+ });
74
+ Object.defineProperty(exports, "teal", {
75
+ enumerable: true,
76
+ get: function () { return chunkKHON2AEM_cjs.teal; }
77
+ });
78
+ Object.defineProperty(exports, "zIndex", {
79
+ enumerable: true,
80
+ get: function () { return chunkKHON2AEM_cjs.zIndex; }
81
+ });
82
+ Object.defineProperty(exports, "zinc", {
83
+ enumerable: true,
84
+ get: function () { return chunkKHON2AEM_cjs.zinc; }
85
+ });
86
+ Object.defineProperty(exports, "fontFamily", {
87
+ enumerable: true,
88
+ get: function () { return chunkECIGDEAH_cjs.fontFamily; }
89
+ });
90
+ Object.defineProperty(exports, "fontSize", {
91
+ enumerable: true,
92
+ get: function () { return chunkECIGDEAH_cjs.fontSize; }
93
+ });
94
+ Object.defineProperty(exports, "fontWeight", {
95
+ enumerable: true,
96
+ get: function () { return chunkECIGDEAH_cjs.fontWeight; }
97
+ });
98
+ Object.defineProperty(exports, "letterSpacing", {
99
+ enumerable: true,
100
+ get: function () { return chunkECIGDEAH_cjs.letterSpacing; }
101
+ });
102
+ Object.defineProperty(exports, "lineHeight", {
103
+ enumerable: true,
104
+ get: function () { return chunkECIGDEAH_cjs.lineHeight; }
105
+ });
106
+ Object.defineProperty(exports, "typographyVariants", {
107
+ enumerable: true,
108
+ get: function () { return chunkECIGDEAH_cjs.typographyVariants; }
109
+ });
110
+ Object.defineProperty(exports, "duration", {
111
+ enumerable: true,
112
+ get: function () { return chunkXCKK6P46_cjs.duration; }
113
+ });
114
+ Object.defineProperty(exports, "durationCSS", {
115
+ enumerable: true,
116
+ get: function () { return chunkXCKK6P46_cjs.durationCSS; }
117
+ });
118
+ Object.defineProperty(exports, "durationSeconds", {
119
+ enumerable: true,
120
+ get: function () { return chunkXCKK6P46_cjs.durationSeconds; }
121
+ });
122
+ Object.defineProperty(exports, "easing", {
123
+ enumerable: true,
124
+ get: function () { return chunkXCKK6P46_cjs.easing; }
125
+ });
126
+ Object.defineProperty(exports, "easingCSS", {
127
+ enumerable: true,
128
+ get: function () { return chunkXCKK6P46_cjs.easingCSS; }
129
+ });
130
+ Object.defineProperty(exports, "spring", {
131
+ enumerable: true,
132
+ get: function () { return chunkXCKK6P46_cjs.spring; }
133
+ });
134
+ Object.defineProperty(exports, "stagger", {
135
+ enumerable: true,
136
+ get: function () { return chunkXCKK6P46_cjs.stagger; }
137
+ });
@@ -0,0 +1,30 @@
1
+ export { C as ColorScale, R as Radius, a as RadiusValue, S as SemanticColorKey, b as SemanticColors, c as Shadow, d as ShadowValue, Z as ZIndex, e as ZIndexValue, f as amber, g as blue, h as brand, i as gray, j as green, n as neutral, p as palettes, k as pure, r as radius, l as red, s as semanticDark, m as semanticLight, o as shadow, q as shadowDark, t as slate, u as teal, z as zIndex, v as zinc } from './z-index-B_nTQ3qo.cjs';
2
+ export { D as Duration, E as Easing, S as Spring, a as Stagger, d as duration, b as durationCSS, c as durationSeconds, e as easing, f as easingCSS, s as spring, g as stagger } from './motion-D9wQbcKL.cjs';
3
+ export { F as FontFamily, a as FontFamilyKey, b as FontSize, c as FontWeight, L as LetterSpacing, d as LineHeight, T as TypographyPreset, e as TypographyVariant, f as fontFamily, g as fontSize, h as fontWeight, l as letterSpacing, i as lineHeight, t as typographyVariants } from './typography-DlvVjEdE.cjs';
4
+
5
+ declare const spacing: {
6
+ 0: string;
7
+ px: string;
8
+ 0.5: string;
9
+ 1: string;
10
+ 1.5: string;
11
+ 2: string;
12
+ 2.5: string;
13
+ 3: string;
14
+ 3.5: string;
15
+ 4: string;
16
+ 5: string;
17
+ 6: string;
18
+ 7: string;
19
+ 8: string;
20
+ 9: string;
21
+ 10: string;
22
+ 11: string;
23
+ 12: string;
24
+ 14: string;
25
+ 16: string;
26
+ 20: string;
27
+ 24: string;
28
+ };
29
+
30
+ export { spacing };
@@ -0,0 +1,30 @@
1
+ export { C as ColorScale, R as Radius, a as RadiusValue, S as SemanticColorKey, b as SemanticColors, c as Shadow, d as ShadowValue, Z as ZIndex, e as ZIndexValue, f as amber, g as blue, h as brand, i as gray, j as green, n as neutral, p as palettes, k as pure, r as radius, l as red, s as semanticDark, m as semanticLight, o as shadow, q as shadowDark, t as slate, u as teal, z as zIndex, v as zinc } from './z-index-B_nTQ3qo.js';
2
+ export { D as Duration, E as Easing, S as Spring, a as Stagger, d as duration, b as durationCSS, c as durationSeconds, e as easing, f as easingCSS, s as spring, g as stagger } from './motion-D9wQbcKL.js';
3
+ export { F as FontFamily, a as FontFamilyKey, b as FontSize, c as FontWeight, L as LetterSpacing, d as LineHeight, T as TypographyPreset, e as TypographyVariant, f as fontFamily, g as fontSize, h as fontWeight, l as letterSpacing, i as lineHeight, t as typographyVariants } from './typography-DlvVjEdE.js';
4
+
5
+ declare const spacing: {
6
+ 0: string;
7
+ px: string;
8
+ 0.5: string;
9
+ 1: string;
10
+ 1.5: string;
11
+ 2: string;
12
+ 2.5: string;
13
+ 3: string;
14
+ 3.5: string;
15
+ 4: string;
16
+ 5: string;
17
+ 6: string;
18
+ 7: string;
19
+ 8: string;
20
+ 9: string;
21
+ 10: string;
22
+ 11: string;
23
+ 12: string;
24
+ 14: string;
25
+ 16: string;
26
+ 20: string;
27
+ 24: string;
28
+ };
29
+
30
+ export { spacing };
@@ -0,0 +1,4 @@
1
+ export { spacing } from './chunk-NMPHV6ZD.mjs';
2
+ export { amber, blue, brand, gray, green, neutral, palettes, pure, radius, red, semanticDark, semanticLight, shadow, shadowDark, slate, teal, zIndex, zinc } from './chunk-IWJ5VMZ7.mjs';
3
+ export { fontFamily, fontSize, fontWeight, letterSpacing, lineHeight, typographyVariants } from './chunk-ITBG42M5.mjs';
4
+ export { duration, durationCSS, durationSeconds, easing, easingCSS, spring, stagger } from './chunk-EZ2L3XPS.mjs';
@@ -0,0 +1,146 @@
1
+ declare const fontFamily: {
2
+ /** Display — used for hero headings, marketing text, landing pages */
3
+ readonly display: "'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif";
4
+ /** Sans — primary UI typeface for all interface text */
5
+ readonly sans: "'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
6
+ /** Serif — long-form reading, editorial content, blog posts */
7
+ readonly serif: "'Lora', Georgia, 'Times New Roman', serif";
8
+ /** Mono — code blocks, technical values, tabular data */
9
+ readonly mono: "'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', Consolas, 'Liberation Mono', Menlo, monospace";
10
+ /** Inherit — use parent's font (escape hatch for third-party integration) */
11
+ readonly inherit: "inherit";
12
+ };
13
+ type FontFamilyKey = keyof typeof fontFamily;
14
+ declare const fontSize: {
15
+ readonly xs: "12px";
16
+ readonly sm: "14px";
17
+ readonly base: "16px";
18
+ readonly lg: "18px";
19
+ readonly xl: "20px";
20
+ readonly "2xl": "24px";
21
+ readonly "3xl": "30px";
22
+ };
23
+ declare const lineHeight: {
24
+ readonly none: "1";
25
+ readonly tight: "1.25";
26
+ readonly snug: "1.375";
27
+ readonly normal: "1.5";
28
+ readonly relaxed: "1.625";
29
+ /** Fixed pixel values for precise control */
30
+ readonly "16": "16px";
31
+ readonly "20": "20px";
32
+ readonly "24": "24px";
33
+ readonly "28": "28px";
34
+ readonly "32": "32px";
35
+ readonly "36": "36px";
36
+ };
37
+ declare const fontWeight: {
38
+ readonly regular: "400";
39
+ readonly medium: "500";
40
+ readonly semibold: "600";
41
+ readonly bold: "700";
42
+ };
43
+ declare const letterSpacing: {
44
+ readonly tighter: "-0.05em";
45
+ readonly tight: "-0.025em";
46
+ readonly normal: "0em";
47
+ readonly wide: "0.025em";
48
+ readonly wider: "0.05em";
49
+ };
50
+ declare const typographyVariants: {
51
+ /** Page titles — 30px bold, tight leading, sans font */
52
+ readonly heading1: {
53
+ readonly fontSize: "30px";
54
+ readonly lineHeight: "36px";
55
+ readonly fontWeight: "700";
56
+ readonly letterSpacing: "-0.025em";
57
+ readonly fontFamily: FontFamilyKey;
58
+ };
59
+ /** Section titles — 24px semibold, sans font */
60
+ readonly heading2: {
61
+ readonly fontSize: "24px";
62
+ readonly lineHeight: "32px";
63
+ readonly fontWeight: "600";
64
+ readonly letterSpacing: "-0.025em";
65
+ readonly fontFamily: FontFamilyKey;
66
+ };
67
+ /** Subsection titles — 20px semibold, sans font */
68
+ readonly heading3: {
69
+ readonly fontSize: "20px";
70
+ readonly lineHeight: "28px";
71
+ readonly fontWeight: "600";
72
+ readonly letterSpacing: "0em";
73
+ readonly fontFamily: FontFamilyKey;
74
+ };
75
+ /** Card titles, sidebar headings — 18px medium, sans font */
76
+ readonly subheading: {
77
+ readonly fontSize: "18px";
78
+ readonly lineHeight: "28px";
79
+ readonly fontWeight: "500";
80
+ readonly letterSpacing: "0em";
81
+ readonly fontFamily: FontFamilyKey;
82
+ };
83
+ /** Default body text — 16px regular, sans font */
84
+ readonly body: {
85
+ readonly fontSize: "16px";
86
+ readonly lineHeight: "24px";
87
+ readonly fontWeight: "400";
88
+ readonly letterSpacing: "0em";
89
+ readonly fontFamily: FontFamilyKey;
90
+ };
91
+ /** Compact body text — 14px regular, sans font */
92
+ readonly bodySm: {
93
+ readonly fontSize: "14px";
94
+ readonly lineHeight: "20px";
95
+ readonly fontWeight: "400";
96
+ readonly letterSpacing: "0em";
97
+ readonly fontFamily: FontFamilyKey;
98
+ };
99
+ /** Captions, helper text, timestamps — 12px regular, sans font */
100
+ readonly caption: {
101
+ readonly fontSize: "12px";
102
+ readonly lineHeight: "16px";
103
+ readonly fontWeight: "400";
104
+ readonly letterSpacing: "0.025em";
105
+ readonly fontFamily: FontFamilyKey;
106
+ };
107
+ /** Form labels, badges — 14px medium, sans font */
108
+ readonly label: {
109
+ readonly fontSize: "14px";
110
+ readonly lineHeight: "20px";
111
+ readonly fontWeight: "500";
112
+ readonly letterSpacing: "0em";
113
+ readonly fontFamily: FontFamilyKey;
114
+ };
115
+ /** Overline / eyebrow text — 12px semibold, uppercased in usage, sans font */
116
+ readonly overline: {
117
+ readonly fontSize: "12px";
118
+ readonly lineHeight: "16px";
119
+ readonly fontWeight: "600";
120
+ readonly letterSpacing: "0.05em";
121
+ readonly fontFamily: FontFamilyKey;
122
+ };
123
+ /** Code / monospace inline text — 14px regular, mono font */
124
+ readonly code: {
125
+ readonly fontSize: "14px";
126
+ readonly lineHeight: "20px";
127
+ readonly fontWeight: "400";
128
+ readonly letterSpacing: "0em";
129
+ readonly fontFamily: FontFamilyKey;
130
+ };
131
+ };
132
+ type FontFamily = keyof typeof fontFamily;
133
+ type FontSize = keyof typeof fontSize;
134
+ type LineHeight = keyof typeof lineHeight;
135
+ type FontWeight = keyof typeof fontWeight;
136
+ type LetterSpacing = keyof typeof letterSpacing;
137
+ type TypographyVariant = keyof typeof typographyVariants;
138
+ type TypographyPreset = {
139
+ fontSize: string;
140
+ lineHeight: string;
141
+ fontWeight: string;
142
+ letterSpacing: string;
143
+ fontFamily: FontFamilyKey;
144
+ };
145
+
146
+ export { type FontFamily as F, type LetterSpacing as L, type TypographyPreset as T, type FontFamilyKey as a, type FontSize as b, type FontWeight as c, type LineHeight as d, type TypographyVariant as e, fontFamily as f, fontSize as g, fontWeight as h, lineHeight as i, letterSpacing as l, typographyVariants as t };
@@ -0,0 +1,146 @@
1
+ declare const fontFamily: {
2
+ /** Display — used for hero headings, marketing text, landing pages */
3
+ readonly display: "'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif";
4
+ /** Sans — primary UI typeface for all interface text */
5
+ readonly sans: "'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
6
+ /** Serif — long-form reading, editorial content, blog posts */
7
+ readonly serif: "'Lora', Georgia, 'Times New Roman', serif";
8
+ /** Mono — code blocks, technical values, tabular data */
9
+ readonly mono: "'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', Consolas, 'Liberation Mono', Menlo, monospace";
10
+ /** Inherit — use parent's font (escape hatch for third-party integration) */
11
+ readonly inherit: "inherit";
12
+ };
13
+ type FontFamilyKey = keyof typeof fontFamily;
14
+ declare const fontSize: {
15
+ readonly xs: "12px";
16
+ readonly sm: "14px";
17
+ readonly base: "16px";
18
+ readonly lg: "18px";
19
+ readonly xl: "20px";
20
+ readonly "2xl": "24px";
21
+ readonly "3xl": "30px";
22
+ };
23
+ declare const lineHeight: {
24
+ readonly none: "1";
25
+ readonly tight: "1.25";
26
+ readonly snug: "1.375";
27
+ readonly normal: "1.5";
28
+ readonly relaxed: "1.625";
29
+ /** Fixed pixel values for precise control */
30
+ readonly "16": "16px";
31
+ readonly "20": "20px";
32
+ readonly "24": "24px";
33
+ readonly "28": "28px";
34
+ readonly "32": "32px";
35
+ readonly "36": "36px";
36
+ };
37
+ declare const fontWeight: {
38
+ readonly regular: "400";
39
+ readonly medium: "500";
40
+ readonly semibold: "600";
41
+ readonly bold: "700";
42
+ };
43
+ declare const letterSpacing: {
44
+ readonly tighter: "-0.05em";
45
+ readonly tight: "-0.025em";
46
+ readonly normal: "0em";
47
+ readonly wide: "0.025em";
48
+ readonly wider: "0.05em";
49
+ };
50
+ declare const typographyVariants: {
51
+ /** Page titles — 30px bold, tight leading, sans font */
52
+ readonly heading1: {
53
+ readonly fontSize: "30px";
54
+ readonly lineHeight: "36px";
55
+ readonly fontWeight: "700";
56
+ readonly letterSpacing: "-0.025em";
57
+ readonly fontFamily: FontFamilyKey;
58
+ };
59
+ /** Section titles — 24px semibold, sans font */
60
+ readonly heading2: {
61
+ readonly fontSize: "24px";
62
+ readonly lineHeight: "32px";
63
+ readonly fontWeight: "600";
64
+ readonly letterSpacing: "-0.025em";
65
+ readonly fontFamily: FontFamilyKey;
66
+ };
67
+ /** Subsection titles — 20px semibold, sans font */
68
+ readonly heading3: {
69
+ readonly fontSize: "20px";
70
+ readonly lineHeight: "28px";
71
+ readonly fontWeight: "600";
72
+ readonly letterSpacing: "0em";
73
+ readonly fontFamily: FontFamilyKey;
74
+ };
75
+ /** Card titles, sidebar headings — 18px medium, sans font */
76
+ readonly subheading: {
77
+ readonly fontSize: "18px";
78
+ readonly lineHeight: "28px";
79
+ readonly fontWeight: "500";
80
+ readonly letterSpacing: "0em";
81
+ readonly fontFamily: FontFamilyKey;
82
+ };
83
+ /** Default body text — 16px regular, sans font */
84
+ readonly body: {
85
+ readonly fontSize: "16px";
86
+ readonly lineHeight: "24px";
87
+ readonly fontWeight: "400";
88
+ readonly letterSpacing: "0em";
89
+ readonly fontFamily: FontFamilyKey;
90
+ };
91
+ /** Compact body text — 14px regular, sans font */
92
+ readonly bodySm: {
93
+ readonly fontSize: "14px";
94
+ readonly lineHeight: "20px";
95
+ readonly fontWeight: "400";
96
+ readonly letterSpacing: "0em";
97
+ readonly fontFamily: FontFamilyKey;
98
+ };
99
+ /** Captions, helper text, timestamps — 12px regular, sans font */
100
+ readonly caption: {
101
+ readonly fontSize: "12px";
102
+ readonly lineHeight: "16px";
103
+ readonly fontWeight: "400";
104
+ readonly letterSpacing: "0.025em";
105
+ readonly fontFamily: FontFamilyKey;
106
+ };
107
+ /** Form labels, badges — 14px medium, sans font */
108
+ readonly label: {
109
+ readonly fontSize: "14px";
110
+ readonly lineHeight: "20px";
111
+ readonly fontWeight: "500";
112
+ readonly letterSpacing: "0em";
113
+ readonly fontFamily: FontFamilyKey;
114
+ };
115
+ /** Overline / eyebrow text — 12px semibold, uppercased in usage, sans font */
116
+ readonly overline: {
117
+ readonly fontSize: "12px";
118
+ readonly lineHeight: "16px";
119
+ readonly fontWeight: "600";
120
+ readonly letterSpacing: "0.05em";
121
+ readonly fontFamily: FontFamilyKey;
122
+ };
123
+ /** Code / monospace inline text — 14px regular, mono font */
124
+ readonly code: {
125
+ readonly fontSize: "14px";
126
+ readonly lineHeight: "20px";
127
+ readonly fontWeight: "400";
128
+ readonly letterSpacing: "0em";
129
+ readonly fontFamily: FontFamilyKey;
130
+ };
131
+ };
132
+ type FontFamily = keyof typeof fontFamily;
133
+ type FontSize = keyof typeof fontSize;
134
+ type LineHeight = keyof typeof lineHeight;
135
+ type FontWeight = keyof typeof fontWeight;
136
+ type LetterSpacing = keyof typeof letterSpacing;
137
+ type TypographyVariant = keyof typeof typographyVariants;
138
+ type TypographyPreset = {
139
+ fontSize: string;
140
+ lineHeight: string;
141
+ fontWeight: string;
142
+ letterSpacing: string;
143
+ fontFamily: FontFamilyKey;
144
+ };
145
+
146
+ export { type FontFamily as F, type LetterSpacing as L, type TypographyPreset as T, type FontFamilyKey as a, type FontSize as b, type FontWeight as c, type LineHeight as d, type TypographyVariant as e, fontFamily as f, fontSize as g, fontWeight as h, lineHeight as i, letterSpacing as l, typographyVariants as t };
package/dist/utils.cjs ADDED
@@ -0,0 +1,164 @@
1
+ 'use strict';
2
+
3
+ var chunkQXR4VY7Q_cjs = require('./chunk-QXR4VY7Q.cjs');
4
+ var chunkLSNKPQP7_cjs = require('./chunk-LSNKPQP7.cjs');
5
+ var chunkBIW2RPDU_cjs = require('./chunk-BIW2RPDU.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "DS_DARK_CRITICAL_PAIRS", {
10
+ enumerable: true,
11
+ get: function () { return chunkQXR4VY7Q_cjs.DS_DARK_CRITICAL_PAIRS; }
12
+ });
13
+ Object.defineProperty(exports, "DS_LIGHT_CRITICAL_PAIRS", {
14
+ enumerable: true,
15
+ get: function () { return chunkQXR4VY7Q_cjs.DS_LIGHT_CRITICAL_PAIRS; }
16
+ });
17
+ Object.defineProperty(exports, "WCAG_AAA_LARGE", {
18
+ enumerable: true,
19
+ get: function () { return chunkQXR4VY7Q_cjs.WCAG_AAA_LARGE; }
20
+ });
21
+ Object.defineProperty(exports, "WCAG_AAA_NORMAL", {
22
+ enumerable: true,
23
+ get: function () { return chunkQXR4VY7Q_cjs.WCAG_AAA_NORMAL; }
24
+ });
25
+ Object.defineProperty(exports, "WCAG_AA_LARGE", {
26
+ enumerable: true,
27
+ get: function () { return chunkQXR4VY7Q_cjs.WCAG_AA_LARGE; }
28
+ });
29
+ Object.defineProperty(exports, "WCAG_AA_NORMAL", {
30
+ enumerable: true,
31
+ get: function () { return chunkQXR4VY7Q_cjs.WCAG_AA_NORMAL; }
32
+ });
33
+ Object.defineProperty(exports, "WCAG_NON_TEXT_AA", {
34
+ enumerable: true,
35
+ get: function () { return chunkQXR4VY7Q_cjs.WCAG_NON_TEXT_AA; }
36
+ });
37
+ Object.defineProperty(exports, "auditContrast", {
38
+ enumerable: true,
39
+ get: function () { return chunkQXR4VY7Q_cjs.auditContrast; }
40
+ });
41
+ Object.defineProperty(exports, "checkDSContrast", {
42
+ enumerable: true,
43
+ get: function () { return chunkQXR4VY7Q_cjs.checkDSContrast; }
44
+ });
45
+ Object.defineProperty(exports, "checkHexContrast", {
46
+ enumerable: true,
47
+ get: function () { return chunkQXR4VY7Q_cjs.checkHexContrast; }
48
+ });
49
+ Object.defineProperty(exports, "contrastRatio", {
50
+ enumerable: true,
51
+ get: function () { return chunkQXR4VY7Q_cjs.contrastRatio; }
52
+ });
53
+ Object.defineProperty(exports, "dsDataAttrs", {
54
+ enumerable: true,
55
+ get: function () { return chunkQXR4VY7Q_cjs.dsDataAttrs; }
56
+ });
57
+ Object.defineProperty(exports, "meetsAA", {
58
+ enumerable: true,
59
+ get: function () { return chunkQXR4VY7Q_cjs.meetsAA; }
60
+ });
61
+ Object.defineProperty(exports, "meetsAAA", {
62
+ enumerable: true,
63
+ get: function () { return chunkQXR4VY7Q_cjs.meetsAAA; }
64
+ });
65
+ Object.defineProperty(exports, "meetsNonTextAA", {
66
+ enumerable: true,
67
+ get: function () { return chunkQXR4VY7Q_cjs.meetsNonTextAA; }
68
+ });
69
+ Object.defineProperty(exports, "parseHex", {
70
+ enumerable: true,
71
+ get: function () { return chunkQXR4VY7Q_cjs.parseHex; }
72
+ });
73
+ Object.defineProperty(exports, "parseRGBString", {
74
+ enumerable: true,
75
+ get: function () { return chunkQXR4VY7Q_cjs.parseRGBString; }
76
+ });
77
+ Object.defineProperty(exports, "relativeLuminance", {
78
+ enumerable: true,
79
+ get: function () { return chunkQXR4VY7Q_cjs.relativeLuminance; }
80
+ });
81
+ Object.defineProperty(exports, "toRGBString", {
82
+ enumerable: true,
83
+ get: function () { return chunkQXR4VY7Q_cjs.toRGBString; }
84
+ });
85
+ Object.defineProperty(exports, "focusRingClassList", {
86
+ enumerable: true,
87
+ get: function () { return chunkLSNKPQP7_cjs.focusRingClassList; }
88
+ });
89
+ Object.defineProperty(exports, "focusRingClasses", {
90
+ enumerable: true,
91
+ get: function () { return chunkLSNKPQP7_cjs.focusRingClasses; }
92
+ });
93
+ Object.defineProperty(exports, "focusRingCompactClassList", {
94
+ enumerable: true,
95
+ get: function () { return chunkLSNKPQP7_cjs.focusRingCompactClassList; }
96
+ });
97
+ Object.defineProperty(exports, "focusRingCompactClasses", {
98
+ enumerable: true,
99
+ get: function () { return chunkLSNKPQP7_cjs.focusRingCompactClasses; }
100
+ });
101
+ Object.defineProperty(exports, "focusRingGroupRingClasses", {
102
+ enumerable: true,
103
+ get: function () { return chunkLSNKPQP7_cjs.focusRingGroupRingClasses; }
104
+ });
105
+ Object.defineProperty(exports, "focusRingGroupTriggerClasses", {
106
+ enumerable: true,
107
+ get: function () { return chunkLSNKPQP7_cjs.focusRingGroupTriggerClasses; }
108
+ });
109
+ Object.defineProperty(exports, "focusRingInsetClassList", {
110
+ enumerable: true,
111
+ get: function () { return chunkLSNKPQP7_cjs.focusRingInsetClassList; }
112
+ });
113
+ Object.defineProperty(exports, "focusRingInsetClasses", {
114
+ enumerable: true,
115
+ get: function () { return chunkLSNKPQP7_cjs.focusRingInsetClasses; }
116
+ });
117
+ Object.defineProperty(exports, "focusRingVariantOverrides", {
118
+ enumerable: true,
119
+ get: function () { return chunkLSNKPQP7_cjs.focusRingVariantOverrides; }
120
+ });
121
+ Object.defineProperty(exports, "focusWithinRingClassList", {
122
+ enumerable: true,
123
+ get: function () { return chunkLSNKPQP7_cjs.focusWithinRingClassList; }
124
+ });
125
+ Object.defineProperty(exports, "focusWithinRingClasses", {
126
+ enumerable: true,
127
+ get: function () { return chunkLSNKPQP7_cjs.focusWithinRingClasses; }
128
+ });
129
+ Object.defineProperty(exports, "cn", {
130
+ enumerable: true,
131
+ get: function () { return chunkBIW2RPDU_cjs.cn; }
132
+ });
133
+ Object.defineProperty(exports, "composeRefs", {
134
+ enumerable: true,
135
+ get: function () { return chunkBIW2RPDU_cjs.composeRefs; }
136
+ });
137
+ Object.defineProperty(exports, "dsAttr", {
138
+ enumerable: true,
139
+ get: function () { return chunkBIW2RPDU_cjs.dsAttr; }
140
+ });
141
+ Object.defineProperty(exports, "dsColorVar", {
142
+ enumerable: true,
143
+ get: function () { return chunkBIW2RPDU_cjs.dsColorVar; }
144
+ });
145
+ Object.defineProperty(exports, "dsStateAttr", {
146
+ enumerable: true,
147
+ get: function () { return chunkBIW2RPDU_cjs.dsStateAttr; }
148
+ });
149
+ Object.defineProperty(exports, "dsVar", {
150
+ enumerable: true,
151
+ get: function () { return chunkBIW2RPDU_cjs.dsVar; }
152
+ });
153
+ Object.defineProperty(exports, "mergeSlots", {
154
+ enumerable: true,
155
+ get: function () { return chunkBIW2RPDU_cjs.mergeSlots; }
156
+ });
157
+ Object.defineProperty(exports, "noop", {
158
+ enumerable: true,
159
+ get: function () { return chunkBIW2RPDU_cjs.noop; }
160
+ });
161
+ Object.defineProperty(exports, "typedKeys", {
162
+ enumerable: true,
163
+ get: function () { return chunkBIW2RPDU_cjs.typedKeys; }
164
+ });