@mastra/playground-ui 7.0.0-beta.22 → 7.0.0-beta.24
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/CHANGELOG.md +32 -0
- package/dist/index.cjs.js +591 -238
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +10 -10
- package/dist/index.es.js +584 -231
- package/dist/index.es.js.map +1 -1
- package/dist/spacings-Ddc7umGk.js +196 -0
- package/dist/spacings-Ddc7umGk.js.map +1 -0
- package/dist/spacings-bCnRJAUT.cjs +206 -0
- package/dist/spacings-bCnRJAUT.cjs.map +1 -0
- package/dist/src/ds/components/Alert/Alert.d.ts +2 -1
- package/dist/src/ds/components/Avatar/Avatar.d.ts +2 -1
- package/dist/src/ds/components/Badge/Badge.d.ts +1 -1
- package/dist/src/ds/components/Button/Button.d.ts +1 -1
- package/dist/src/ds/components/Card/Card.d.ts +26 -0
- package/dist/src/ds/components/Card/index.d.ts +2 -0
- package/dist/src/ds/components/Collapsible/collapsible.d.ts +4 -3
- package/dist/src/ds/components/EmptyState/EmptyState.d.ts +10 -9
- package/dist/src/ds/components/EmptyState/index.d.ts +2 -1
- package/dist/src/ds/components/Input/input.d.ts +2 -0
- package/dist/src/ds/components/Kbd/kbd.d.ts +2 -1
- package/dist/src/ds/components/Notification/notification.d.ts +1 -1
- package/dist/src/ds/components/Spinner/spinner.d.ts +2 -1
- package/dist/src/ds/components/StatusBadge/StatusBadge.d.ts +13 -0
- package/dist/src/ds/components/StatusBadge/index.d.ts +2 -0
- package/dist/src/ds/primitives/form-element.d.ts +3 -2
- package/dist/src/ds/primitives/transitions.d.ts +22 -0
- package/dist/src/ds/tokens/animations.d.ts +5 -0
- package/dist/src/ds/tokens/colors.d.ts +2 -1
- package/dist/src/ds/tokens/index.d.ts +2 -0
- package/dist/src/ds/tokens/shadows.d.ts +14 -0
- package/dist/tailwind.preset.cjs.js +38 -10
- package/dist/tailwind.preset.cjs.js.map +1 -1
- package/dist/tailwind.preset.es.js +29 -1
- package/dist/tailwind.preset.es.js.map +1 -1
- package/dist/tokens.cjs.js +17 -175
- package/dist/tokens.cjs.js.map +1 -1
- package/dist/tokens.es.js +8 -169
- package/dist/tokens.es.js.map +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
const BorderRadius = {
|
|
2
|
+
none: "0px",
|
|
3
|
+
sm: "2px",
|
|
4
|
+
md: "4px",
|
|
5
|
+
lg: "6px"
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
const Colors = {
|
|
9
|
+
surface1: "#000000",
|
|
10
|
+
surface2: "#0F0F0F",
|
|
11
|
+
surface3: "#141414",
|
|
12
|
+
surface4: "#1A1A1A",
|
|
13
|
+
surface5: "rgba(46, 46, 46, 0.9)",
|
|
14
|
+
accent1: "#1AFB6F",
|
|
15
|
+
accent2: "#FF4931",
|
|
16
|
+
accent3: "#267AD2",
|
|
17
|
+
accent5: "#4A9DF2",
|
|
18
|
+
accent6: "#ECB047",
|
|
19
|
+
accent1Dark: "#16281f",
|
|
20
|
+
accent2Dark: "#281916",
|
|
21
|
+
accent3Dark: "#161a28",
|
|
22
|
+
accent5Dark: "#161a22",
|
|
23
|
+
accent6Dark: "#232214",
|
|
24
|
+
accent1Darker: "#141a16",
|
|
25
|
+
accent2Darker: "#1a1414",
|
|
26
|
+
accent3Darker: "#14141a",
|
|
27
|
+
accent5Darker: "#14161a",
|
|
28
|
+
accent6Darker: "#1a1a14",
|
|
29
|
+
neutral1: "#5C5C5C",
|
|
30
|
+
neutral2: "#707070",
|
|
31
|
+
neutral3: "#939393",
|
|
32
|
+
neutral4: "#A9A9A9",
|
|
33
|
+
neutral5: "#E6E6E6",
|
|
34
|
+
neutral6: "#FFFFFF",
|
|
35
|
+
// Semantic state colors
|
|
36
|
+
error: "#FF4931",
|
|
37
|
+
// Overlay colors
|
|
38
|
+
overlay: "rgba(0, 0, 0, 0.8)"
|
|
39
|
+
};
|
|
40
|
+
const BorderColors = {
|
|
41
|
+
border1: "rgba(48, 48, 48, 1)",
|
|
42
|
+
border2: "rgba(66, 66, 66, 1)"
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const FontSizes = {
|
|
46
|
+
// UI text sizes
|
|
47
|
+
"ui-xs": "0.625rem",
|
|
48
|
+
// 10px - small labels, badges
|
|
49
|
+
"ui-sm": "0.75rem",
|
|
50
|
+
// 12px - secondary text
|
|
51
|
+
"ui-md": "0.875rem",
|
|
52
|
+
// 14px - body text
|
|
53
|
+
"ui-lg": "1rem",
|
|
54
|
+
// 16px - emphasized text
|
|
55
|
+
// Header sizes
|
|
56
|
+
"header-sm": "1.125rem",
|
|
57
|
+
// 18px
|
|
58
|
+
"header-md": "1.25rem",
|
|
59
|
+
// 20px
|
|
60
|
+
"header-lg": "1.5rem",
|
|
61
|
+
// 24px
|
|
62
|
+
"header-xl": "1.75rem"
|
|
63
|
+
// 28px
|
|
64
|
+
};
|
|
65
|
+
const LineHeights = {
|
|
66
|
+
"ui-xs": "160%",
|
|
67
|
+
// 16px
|
|
68
|
+
"ui-sm": "150%",
|
|
69
|
+
// 18px
|
|
70
|
+
"ui-md": "143%",
|
|
71
|
+
// 20px
|
|
72
|
+
"ui-lg": "150%",
|
|
73
|
+
// 24px
|
|
74
|
+
"header-sm": "133%",
|
|
75
|
+
// 24px
|
|
76
|
+
"header-md": "140%",
|
|
77
|
+
// 28px
|
|
78
|
+
"header-lg": "133%",
|
|
79
|
+
// 32px
|
|
80
|
+
"header-xl": "129%"
|
|
81
|
+
// 36px
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
const Shadows = {
|
|
85
|
+
// Elevation shadows
|
|
86
|
+
sm: "0 1px 2px rgba(0, 0, 0, 0.3)",
|
|
87
|
+
md: "0 4px 6px rgba(0, 0, 0, 0.3)",
|
|
88
|
+
lg: "0 10px 15px rgba(0, 0, 0, 0.4)",
|
|
89
|
+
// Inner shadow for pressed states
|
|
90
|
+
inner: "inset 0 2px 4px rgba(0, 0, 0, 0.3)",
|
|
91
|
+
// Card/elevated surface shadows
|
|
92
|
+
card: "0 2px 8px rgba(0, 0, 0, 0.4)",
|
|
93
|
+
elevated: "0 8px 24px rgba(0, 0, 0, 0.5)",
|
|
94
|
+
// Dialog/modal shadows
|
|
95
|
+
dialog: "0 16px 48px rgba(0, 0, 0, 0.6)"
|
|
96
|
+
};
|
|
97
|
+
const Glows = {
|
|
98
|
+
accent1: "0 0 20px rgba(26, 251, 111, 0.3)",
|
|
99
|
+
accent2: "0 0 20px rgba(255, 73, 49, 0.3)",
|
|
100
|
+
// Subtle glow for focus rings
|
|
101
|
+
focusRing: "0 0 0 3px rgba(26, 251, 111, 0.15)"
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
const Sizes = {
|
|
105
|
+
"icon-default": "16px",
|
|
106
|
+
"icon-lg": "20px",
|
|
107
|
+
"icon-sm": "12px",
|
|
108
|
+
"form-sm": "1.5rem",
|
|
109
|
+
"form-md": "2rem",
|
|
110
|
+
"form-lg": "2.5rem",
|
|
111
|
+
"header-default": "48px",
|
|
112
|
+
"table-header": "28px",
|
|
113
|
+
"table-row": "56px",
|
|
114
|
+
"table-row-small": "40px",
|
|
115
|
+
"badge-default": "20px",
|
|
116
|
+
"avatar-sm": "24px",
|
|
117
|
+
"avatar-md": "32px",
|
|
118
|
+
"avatar-lg": "40px",
|
|
119
|
+
"dropdown-max-height": "300px"
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
const Spacings = {
|
|
123
|
+
// Base scale (REM-based, matching Tailwind convention)
|
|
124
|
+
"0": "0rem",
|
|
125
|
+
px: "0.0625rem",
|
|
126
|
+
// 1px
|
|
127
|
+
"0.5": "0.125rem",
|
|
128
|
+
// 2px
|
|
129
|
+
"1": "0.25rem",
|
|
130
|
+
// 4px
|
|
131
|
+
"1.5": "0.375rem",
|
|
132
|
+
// 6px
|
|
133
|
+
"2": "0.5rem",
|
|
134
|
+
// 8px
|
|
135
|
+
"2.5": "0.625rem",
|
|
136
|
+
// 10px
|
|
137
|
+
"3": "0.75rem",
|
|
138
|
+
// 12px
|
|
139
|
+
"3.5": "0.875rem",
|
|
140
|
+
// 14px
|
|
141
|
+
"4": "1rem",
|
|
142
|
+
// 16px
|
|
143
|
+
"5": "1.25rem",
|
|
144
|
+
// 20px
|
|
145
|
+
"6": "1.5rem",
|
|
146
|
+
// 24px
|
|
147
|
+
"7": "1.75rem",
|
|
148
|
+
// 28px
|
|
149
|
+
"8": "2rem",
|
|
150
|
+
// 32px
|
|
151
|
+
"9": "2.25rem",
|
|
152
|
+
// 36px
|
|
153
|
+
"10": "2.5rem",
|
|
154
|
+
// 40px
|
|
155
|
+
"11": "2.75rem",
|
|
156
|
+
// 44px
|
|
157
|
+
"12": "3rem",
|
|
158
|
+
// 48px
|
|
159
|
+
"14": "3.5rem",
|
|
160
|
+
// 56px
|
|
161
|
+
"16": "4rem",
|
|
162
|
+
// 64px
|
|
163
|
+
"20": "5rem",
|
|
164
|
+
// 80px
|
|
165
|
+
"24": "6rem",
|
|
166
|
+
// 96px
|
|
167
|
+
"28": "7rem",
|
|
168
|
+
// 112px
|
|
169
|
+
"32": "8rem",
|
|
170
|
+
// 128px
|
|
171
|
+
"36": "9rem",
|
|
172
|
+
// 144px
|
|
173
|
+
"40": "10rem",
|
|
174
|
+
// 160px
|
|
175
|
+
"44": "11rem",
|
|
176
|
+
// 176px
|
|
177
|
+
"48": "12rem",
|
|
178
|
+
// 192px
|
|
179
|
+
"52": "13rem",
|
|
180
|
+
// 208px
|
|
181
|
+
"56": "14rem",
|
|
182
|
+
// 224px
|
|
183
|
+
"60": "15rem",
|
|
184
|
+
// 240px
|
|
185
|
+
"64": "16rem",
|
|
186
|
+
// 256px
|
|
187
|
+
"72": "18rem",
|
|
188
|
+
// 288px
|
|
189
|
+
"80": "20rem",
|
|
190
|
+
// 320px
|
|
191
|
+
"96": "24rem"
|
|
192
|
+
// 384px
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export { BorderColors as B, Colors as C, FontSizes as F, Glows as G, LineHeights as L, Shadows as S, Sizes as a, BorderRadius as b, Spacings as c };
|
|
196
|
+
//# sourceMappingURL=spacings-Ddc7umGk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacings-Ddc7umGk.js","sources":["../src/ds/tokens/borders.ts","../src/ds/tokens/colors.ts","../src/ds/tokens/fonts.ts","../src/ds/tokens/shadows.ts","../src/ds/tokens/sizes.ts","../src/ds/tokens/spacings.ts"],"sourcesContent":["export const BorderRadius = {\n none: '0px',\n sm: '2px',\n md: '4px',\n lg: '6px',\n};\n","export const Colors = {\n surface1: '#000000',\n surface2: '#0F0F0F',\n surface3: '#141414',\n surface4: '#1A1A1A',\n surface5: 'rgba(46, 46, 46, 0.9)',\n accent1: '#1AFB6F',\n accent2: '#FF4931',\n accent3: '#267AD2',\n accent5: '#4A9DF2',\n accent6: '#ECB047',\n accent1Dark: '#16281f',\n accent2Dark: '#281916',\n accent3Dark: '#161a28',\n accent5Dark: '#161a22',\n accent6Dark: '#232214',\n accent1Darker: '#141a16',\n accent2Darker: '#1a1414',\n accent3Darker: '#14141a',\n accent5Darker: '#14161a',\n accent6Darker: '#1a1a14',\n neutral1: '#5C5C5C',\n neutral2: '#707070',\n neutral3: '#939393',\n neutral4: '#A9A9A9',\n neutral5: '#E6E6E6',\n neutral6: '#FFFFFF',\n\n // Semantic state colors\n error: '#FF4931',\n\n // Overlay colors\n overlay: 'rgba(0, 0, 0, 0.8)',\n};\n\nexport const BorderColors = {\n border1: 'rgba(48, 48, 48, 1)',\n border2: 'rgba(66, 66, 66, 1)',\n};\n","export const FontSizes = {\n // UI text sizes\n 'ui-xs': '0.625rem', // 10px - small labels, badges\n 'ui-sm': '0.75rem', // 12px - secondary text\n 'ui-md': '0.875rem', // 14px - body text\n 'ui-lg': '1rem', // 16px - emphasized text\n\n // Header sizes\n 'header-sm': '1.125rem', // 18px\n 'header-md': '1.25rem', // 20px\n 'header-lg': '1.5rem', // 24px\n 'header-xl': '1.75rem', // 28px\n};\n\nexport const LineHeights = {\n 'ui-xs': '160%', // 16px\n 'ui-sm': '150%', // 18px\n 'ui-md': '143%', // 20px\n 'ui-lg': '150%', // 24px\n 'header-sm': '133%', // 24px\n 'header-md': '140%', // 28px\n 'header-lg': '133%', // 32px\n 'header-xl': '129%', // 36px\n};\n","export const Shadows = {\n // Elevation shadows\n sm: '0 1px 2px rgba(0, 0, 0, 0.3)',\n md: '0 4px 6px rgba(0, 0, 0, 0.3)',\n lg: '0 10px 15px rgba(0, 0, 0, 0.4)',\n\n // Inner shadow for pressed states\n inner: 'inset 0 2px 4px rgba(0, 0, 0, 0.3)',\n\n // Card/elevated surface shadows\n card: '0 2px 8px rgba(0, 0, 0, 0.4)',\n elevated: '0 8px 24px rgba(0, 0, 0, 0.5)',\n\n // Dialog/modal shadows\n dialog: '0 16px 48px rgba(0, 0, 0, 0.6)',\n};\n\n// Glow effects for interactive elements (focus states, etc.)\nexport const Glows = {\n accent1: '0 0 20px rgba(26, 251, 111, 0.3)',\n accent2: '0 0 20px rgba(255, 73, 49, 0.3)',\n\n // Subtle glow for focus rings\n focusRing: '0 0 0 3px rgba(26, 251, 111, 0.15)',\n};\n","export const Sizes = {\n 'icon-default': '16px',\n 'icon-lg': '20px',\n 'icon-sm': '12px',\n 'form-sm': '1.5rem',\n 'form-md': '2rem',\n 'form-lg': '2.5rem',\n 'header-default': '48px',\n 'table-header': '28px',\n 'table-row': '56px',\n 'table-row-small': '40px',\n 'badge-default': '20px',\n 'avatar-sm': '24px',\n 'avatar-md': '32px',\n 'avatar-lg': '40px',\n 'dropdown-max-height': '300px',\n};\n","export const Spacings = {\n // Base scale (REM-based, matching Tailwind convention)\n '0': '0rem',\n px: '0.0625rem', // 1px\n '0.5': '0.125rem', // 2px\n '1': '0.25rem', // 4px\n '1.5': '0.375rem', // 6px\n '2': '0.5rem', // 8px\n '2.5': '0.625rem', // 10px\n '3': '0.75rem', // 12px\n '3.5': '0.875rem', // 14px\n '4': '1rem', // 16px\n '5': '1.25rem', // 20px\n '6': '1.5rem', // 24px\n '7': '1.75rem', // 28px\n '8': '2rem', // 32px\n '9': '2.25rem', // 36px\n '10': '2.5rem', // 40px\n '11': '2.75rem', // 44px\n '12': '3rem', // 48px\n '14': '3.5rem', // 56px\n '16': '4rem', // 64px\n '20': '5rem', // 80px\n '24': '6rem', // 96px\n '28': '7rem', // 112px\n '32': '8rem', // 128px\n '36': '9rem', // 144px\n '40': '10rem', // 160px\n '44': '11rem', // 176px\n '48': '12rem', // 192px\n '52': '13rem', // 208px\n '56': '14rem', // 224px\n '60': '15rem', // 240px\n '64': '16rem', // 256px\n '72': '18rem', // 288px\n '80': '20rem', // 320px\n '96': '24rem', // 384px\n} as const;\n\nexport type Spacing = keyof typeof Spacings;\n"],"names":[],"mappings":"AAAO,MAAM,YAAA,GAAe;AAAA,EAC1B,IAAA,EAAM,KAAA;AAAA,EACN,EAAA,EAAI,KAAA;AAAA,EACJ,EAAA,EAAI,KAAA;AAAA,EACJ,EAAA,EAAI;AACN;;ACLO,MAAM,MAAA,GAAS;AAAA,EACpB,QAAA,EAAU,SAAA;AAAA,EACV,QAAA,EAAU,SAAA;AAAA,EACV,QAAA,EAAU,SAAA;AAAA,EACV,QAAA,EAAU,SAAA;AAAA,EACV,QAAA,EAAU,uBAAA;AAAA,EACV,OAAA,EAAS,SAAA;AAAA,EACT,OAAA,EAAS,SAAA;AAAA,EACT,OAAA,EAAS,SAAA;AAAA,EACT,OAAA,EAAS,SAAA;AAAA,EACT,OAAA,EAAS,SAAA;AAAA,EACT,WAAA,EAAa,SAAA;AAAA,EACb,WAAA,EAAa,SAAA;AAAA,EACb,WAAA,EAAa,SAAA;AAAA,EACb,WAAA,EAAa,SAAA;AAAA,EACb,WAAA,EAAa,SAAA;AAAA,EACb,aAAA,EAAe,SAAA;AAAA,EACf,aAAA,EAAe,SAAA;AAAA,EACf,aAAA,EAAe,SAAA;AAAA,EACf,aAAA,EAAe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M,SAAA;AAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA;AAAA,EACN,IAAA,EAAM,QAAA;AAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM;AAAA;AACR;;;;"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const BorderRadius = {
|
|
4
|
+
none: "0px",
|
|
5
|
+
sm: "2px",
|
|
6
|
+
md: "4px",
|
|
7
|
+
lg: "6px"
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const Colors = {
|
|
11
|
+
surface1: "#000000",
|
|
12
|
+
surface2: "#0F0F0F",
|
|
13
|
+
surface3: "#141414",
|
|
14
|
+
surface4: "#1A1A1A",
|
|
15
|
+
surface5: "rgba(46, 46, 46, 0.9)",
|
|
16
|
+
accent1: "#1AFB6F",
|
|
17
|
+
accent2: "#FF4931",
|
|
18
|
+
accent3: "#267AD2",
|
|
19
|
+
accent5: "#4A9DF2",
|
|
20
|
+
accent6: "#ECB047",
|
|
21
|
+
accent1Dark: "#16281f",
|
|
22
|
+
accent2Dark: "#281916",
|
|
23
|
+
accent3Dark: "#161a28",
|
|
24
|
+
accent5Dark: "#161a22",
|
|
25
|
+
accent6Dark: "#232214",
|
|
26
|
+
accent1Darker: "#141a16",
|
|
27
|
+
accent2Darker: "#1a1414",
|
|
28
|
+
accent3Darker: "#14141a",
|
|
29
|
+
accent5Darker: "#14161a",
|
|
30
|
+
accent6Darker: "#1a1a14",
|
|
31
|
+
neutral1: "#5C5C5C",
|
|
32
|
+
neutral2: "#707070",
|
|
33
|
+
neutral3: "#939393",
|
|
34
|
+
neutral4: "#A9A9A9",
|
|
35
|
+
neutral5: "#E6E6E6",
|
|
36
|
+
neutral6: "#FFFFFF",
|
|
37
|
+
// Semantic state colors
|
|
38
|
+
error: "#FF4931",
|
|
39
|
+
// Overlay colors
|
|
40
|
+
overlay: "rgba(0, 0, 0, 0.8)"
|
|
41
|
+
};
|
|
42
|
+
const BorderColors = {
|
|
43
|
+
border1: "rgba(48, 48, 48, 1)",
|
|
44
|
+
border2: "rgba(66, 66, 66, 1)"
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const FontSizes = {
|
|
48
|
+
// UI text sizes
|
|
49
|
+
"ui-xs": "0.625rem",
|
|
50
|
+
// 10px - small labels, badges
|
|
51
|
+
"ui-sm": "0.75rem",
|
|
52
|
+
// 12px - secondary text
|
|
53
|
+
"ui-md": "0.875rem",
|
|
54
|
+
// 14px - body text
|
|
55
|
+
"ui-lg": "1rem",
|
|
56
|
+
// 16px - emphasized text
|
|
57
|
+
// Header sizes
|
|
58
|
+
"header-sm": "1.125rem",
|
|
59
|
+
// 18px
|
|
60
|
+
"header-md": "1.25rem",
|
|
61
|
+
// 20px
|
|
62
|
+
"header-lg": "1.5rem",
|
|
63
|
+
// 24px
|
|
64
|
+
"header-xl": "1.75rem"
|
|
65
|
+
// 28px
|
|
66
|
+
};
|
|
67
|
+
const LineHeights = {
|
|
68
|
+
"ui-xs": "160%",
|
|
69
|
+
// 16px
|
|
70
|
+
"ui-sm": "150%",
|
|
71
|
+
// 18px
|
|
72
|
+
"ui-md": "143%",
|
|
73
|
+
// 20px
|
|
74
|
+
"ui-lg": "150%",
|
|
75
|
+
// 24px
|
|
76
|
+
"header-sm": "133%",
|
|
77
|
+
// 24px
|
|
78
|
+
"header-md": "140%",
|
|
79
|
+
// 28px
|
|
80
|
+
"header-lg": "133%",
|
|
81
|
+
// 32px
|
|
82
|
+
"header-xl": "129%"
|
|
83
|
+
// 36px
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
const Shadows = {
|
|
87
|
+
// Elevation shadows
|
|
88
|
+
sm: "0 1px 2px rgba(0, 0, 0, 0.3)",
|
|
89
|
+
md: "0 4px 6px rgba(0, 0, 0, 0.3)",
|
|
90
|
+
lg: "0 10px 15px rgba(0, 0, 0, 0.4)",
|
|
91
|
+
// Inner shadow for pressed states
|
|
92
|
+
inner: "inset 0 2px 4px rgba(0, 0, 0, 0.3)",
|
|
93
|
+
// Card/elevated surface shadows
|
|
94
|
+
card: "0 2px 8px rgba(0, 0, 0, 0.4)",
|
|
95
|
+
elevated: "0 8px 24px rgba(0, 0, 0, 0.5)",
|
|
96
|
+
// Dialog/modal shadows
|
|
97
|
+
dialog: "0 16px 48px rgba(0, 0, 0, 0.6)"
|
|
98
|
+
};
|
|
99
|
+
const Glows = {
|
|
100
|
+
accent1: "0 0 20px rgba(26, 251, 111, 0.3)",
|
|
101
|
+
accent2: "0 0 20px rgba(255, 73, 49, 0.3)",
|
|
102
|
+
// Subtle glow for focus rings
|
|
103
|
+
focusRing: "0 0 0 3px rgba(26, 251, 111, 0.15)"
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
const Sizes = {
|
|
107
|
+
"icon-default": "16px",
|
|
108
|
+
"icon-lg": "20px",
|
|
109
|
+
"icon-sm": "12px",
|
|
110
|
+
"form-sm": "1.5rem",
|
|
111
|
+
"form-md": "2rem",
|
|
112
|
+
"form-lg": "2.5rem",
|
|
113
|
+
"header-default": "48px",
|
|
114
|
+
"table-header": "28px",
|
|
115
|
+
"table-row": "56px",
|
|
116
|
+
"table-row-small": "40px",
|
|
117
|
+
"badge-default": "20px",
|
|
118
|
+
"avatar-sm": "24px",
|
|
119
|
+
"avatar-md": "32px",
|
|
120
|
+
"avatar-lg": "40px",
|
|
121
|
+
"dropdown-max-height": "300px"
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
const Spacings = {
|
|
125
|
+
// Base scale (REM-based, matching Tailwind convention)
|
|
126
|
+
"0": "0rem",
|
|
127
|
+
px: "0.0625rem",
|
|
128
|
+
// 1px
|
|
129
|
+
"0.5": "0.125rem",
|
|
130
|
+
// 2px
|
|
131
|
+
"1": "0.25rem",
|
|
132
|
+
// 4px
|
|
133
|
+
"1.5": "0.375rem",
|
|
134
|
+
// 6px
|
|
135
|
+
"2": "0.5rem",
|
|
136
|
+
// 8px
|
|
137
|
+
"2.5": "0.625rem",
|
|
138
|
+
// 10px
|
|
139
|
+
"3": "0.75rem",
|
|
140
|
+
// 12px
|
|
141
|
+
"3.5": "0.875rem",
|
|
142
|
+
// 14px
|
|
143
|
+
"4": "1rem",
|
|
144
|
+
// 16px
|
|
145
|
+
"5": "1.25rem",
|
|
146
|
+
// 20px
|
|
147
|
+
"6": "1.5rem",
|
|
148
|
+
// 24px
|
|
149
|
+
"7": "1.75rem",
|
|
150
|
+
// 28px
|
|
151
|
+
"8": "2rem",
|
|
152
|
+
// 32px
|
|
153
|
+
"9": "2.25rem",
|
|
154
|
+
// 36px
|
|
155
|
+
"10": "2.5rem",
|
|
156
|
+
// 40px
|
|
157
|
+
"11": "2.75rem",
|
|
158
|
+
// 44px
|
|
159
|
+
"12": "3rem",
|
|
160
|
+
// 48px
|
|
161
|
+
"14": "3.5rem",
|
|
162
|
+
// 56px
|
|
163
|
+
"16": "4rem",
|
|
164
|
+
// 64px
|
|
165
|
+
"20": "5rem",
|
|
166
|
+
// 80px
|
|
167
|
+
"24": "6rem",
|
|
168
|
+
// 96px
|
|
169
|
+
"28": "7rem",
|
|
170
|
+
// 112px
|
|
171
|
+
"32": "8rem",
|
|
172
|
+
// 128px
|
|
173
|
+
"36": "9rem",
|
|
174
|
+
// 144px
|
|
175
|
+
"40": "10rem",
|
|
176
|
+
// 160px
|
|
177
|
+
"44": "11rem",
|
|
178
|
+
// 176px
|
|
179
|
+
"48": "12rem",
|
|
180
|
+
// 192px
|
|
181
|
+
"52": "13rem",
|
|
182
|
+
// 208px
|
|
183
|
+
"56": "14rem",
|
|
184
|
+
// 224px
|
|
185
|
+
"60": "15rem",
|
|
186
|
+
// 240px
|
|
187
|
+
"64": "16rem",
|
|
188
|
+
// 256px
|
|
189
|
+
"72": "18rem",
|
|
190
|
+
// 288px
|
|
191
|
+
"80": "20rem",
|
|
192
|
+
// 320px
|
|
193
|
+
"96": "24rem"
|
|
194
|
+
// 384px
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
exports.BorderColors = BorderColors;
|
|
198
|
+
exports.BorderRadius = BorderRadius;
|
|
199
|
+
exports.Colors = Colors;
|
|
200
|
+
exports.FontSizes = FontSizes;
|
|
201
|
+
exports.Glows = Glows;
|
|
202
|
+
exports.LineHeights = LineHeights;
|
|
203
|
+
exports.Shadows = Shadows;
|
|
204
|
+
exports.Sizes = Sizes;
|
|
205
|
+
exports.Spacings = Spacings;
|
|
206
|
+
//# sourceMappingURL=spacings-bCnRJAUT.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacings-bCnRJAUT.cjs","sources":["../src/ds/tokens/borders.ts","../src/ds/tokens/colors.ts","../src/ds/tokens/fonts.ts","../src/ds/tokens/shadows.ts","../src/ds/tokens/sizes.ts","../src/ds/tokens/spacings.ts"],"sourcesContent":["export const BorderRadius = {\n none: '0px',\n sm: '2px',\n md: '4px',\n lg: '6px',\n};\n","export const Colors = {\n surface1: '#000000',\n surface2: '#0F0F0F',\n surface3: '#141414',\n surface4: '#1A1A1A',\n surface5: 'rgba(46, 46, 46, 0.9)',\n accent1: '#1AFB6F',\n accent2: '#FF4931',\n accent3: '#267AD2',\n accent5: '#4A9DF2',\n accent6: '#ECB047',\n accent1Dark: '#16281f',\n accent2Dark: '#281916',\n accent3Dark: '#161a28',\n accent5Dark: '#161a22',\n accent6Dark: '#232214',\n accent1Darker: '#141a16',\n accent2Darker: '#1a1414',\n accent3Darker: '#14141a',\n accent5Darker: '#14161a',\n accent6Darker: '#1a1a14',\n neutral1: '#5C5C5C',\n neutral2: '#707070',\n neutral3: '#939393',\n neutral4: '#A9A9A9',\n neutral5: '#E6E6E6',\n neutral6: '#FFFFFF',\n\n // Semantic state colors\n error: '#FF4931',\n\n // Overlay colors\n overlay: 'rgba(0, 0, 0, 0.8)',\n};\n\nexport const BorderColors = {\n border1: 'rgba(48, 48, 48, 1)',\n border2: 'rgba(66, 66, 66, 1)',\n};\n","export const FontSizes = {\n // UI text sizes\n 'ui-xs': '0.625rem', // 10px - small labels, badges\n 'ui-sm': '0.75rem', // 12px - secondary text\n 'ui-md': '0.875rem', // 14px - body text\n 'ui-lg': '1rem', // 16px - emphasized text\n\n // Header sizes\n 'header-sm': '1.125rem', // 18px\n 'header-md': '1.25rem', // 20px\n 'header-lg': '1.5rem', // 24px\n 'header-xl': '1.75rem', // 28px\n};\n\nexport const LineHeights = {\n 'ui-xs': '160%', // 16px\n 'ui-sm': '150%', // 18px\n 'ui-md': '143%', // 20px\n 'ui-lg': '150%', // 24px\n 'header-sm': '133%', // 24px\n 'header-md': '140%', // 28px\n 'header-lg': '133%', // 32px\n 'header-xl': '129%', // 36px\n};\n","export const Shadows = {\n // Elevation shadows\n sm: '0 1px 2px rgba(0, 0, 0, 0.3)',\n md: '0 4px 6px rgba(0, 0, 0, 0.3)',\n lg: '0 10px 15px rgba(0, 0, 0, 0.4)',\n\n // Inner shadow for pressed states\n inner: 'inset 0 2px 4px rgba(0, 0, 0, 0.3)',\n\n // Card/elevated surface shadows\n card: '0 2px 8px rgba(0, 0, 0, 0.4)',\n elevated: '0 8px 24px rgba(0, 0, 0, 0.5)',\n\n // Dialog/modal shadows\n dialog: '0 16px 48px rgba(0, 0, 0, 0.6)',\n};\n\n// Glow effects for interactive elements (focus states, etc.)\nexport const Glows = {\n accent1: '0 0 20px rgba(26, 251, 111, 0.3)',\n accent2: '0 0 20px rgba(255, 73, 49, 0.3)',\n\n // Subtle glow for focus rings\n focusRing: '0 0 0 3px rgba(26, 251, 111, 0.15)',\n};\n","export const Sizes = {\n 'icon-default': '16px',\n 'icon-lg': '20px',\n 'icon-sm': '12px',\n 'form-sm': '1.5rem',\n 'form-md': '2rem',\n 'form-lg': '2.5rem',\n 'header-default': '48px',\n 'table-header': '28px',\n 'table-row': '56px',\n 'table-row-small': '40px',\n 'badge-default': '20px',\n 'avatar-sm': '24px',\n 'avatar-md': '32px',\n 'avatar-lg': '40px',\n 'dropdown-max-height': '300px',\n};\n","export const Spacings = {\n // Base scale (REM-based, matching Tailwind convention)\n '0': '0rem',\n px: '0.0625rem', // 1px\n '0.5': '0.125rem', // 2px\n '1': '0.25rem', // 4px\n '1.5': '0.375rem', // 6px\n '2': '0.5rem', // 8px\n '2.5': '0.625rem', // 10px\n '3': '0.75rem', // 12px\n '3.5': '0.875rem', // 14px\n '4': '1rem', // 16px\n '5': '1.25rem', // 20px\n '6': '1.5rem', // 24px\n '7': '1.75rem', // 28px\n '8': '2rem', // 32px\n '9': '2.25rem', // 36px\n '10': '2.5rem', // 40px\n '11': '2.75rem', // 44px\n '12': '3rem', // 48px\n '14': '3.5rem', // 56px\n '16': '4rem', // 64px\n '20': '5rem', // 80px\n '24': '6rem', // 96px\n '28': '7rem', // 112px\n '32': '8rem', // 128px\n '36': '9rem', // 144px\n '40': '10rem', // 160px\n '44': '11rem', // 176px\n '48': '12rem', // 192px\n '52': '13rem', // 208px\n '56': '14rem', // 224px\n '60': '15rem', // 240px\n '64': '16rem', // 256px\n '72': '18rem', // 288px\n '80': '20rem', // 320px\n '96': '24rem', // 384px\n} as const;\n\nexport type Spacing = keyof typeof Spacings;\n"],"names":[],"mappings":";;AAAO,MAAM,YAAA,G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AAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM,OAAA;AAAA;AAAA,EACN,IAAA,EAAM;AAAA;AACR;;;;;;;;;;;;"}
|
|
@@ -4,8 +4,9 @@ type AlertVariant = 'warning' | 'destructive' | 'info';
|
|
|
4
4
|
export interface AlertProps {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
variant: AlertVariant;
|
|
7
|
+
className?: string;
|
|
7
8
|
}
|
|
8
|
-
export declare const Alert: ({ children, variant }: AlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const Alert: ({ children, variant, className }: AlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export declare const AlertTitle: ({ children, as: As }: {
|
|
10
11
|
children: React.ReactNode;
|
|
11
12
|
as?: TxtProps["as"];
|
|
@@ -3,5 +3,6 @@ export type AvatarProps = {
|
|
|
3
3
|
src?: string;
|
|
4
4
|
name: string;
|
|
5
5
|
size?: AvatarSize;
|
|
6
|
+
interactive?: boolean;
|
|
6
7
|
};
|
|
7
|
-
export declare const Avatar: ({ src, name, size }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const Avatar: ({ src, name, size, interactive }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from '../../../../node_modules/@types/react';
|
|
2
2
|
export interface BadgeProps {
|
|
3
3
|
icon?: React.ReactNode;
|
|
4
|
-
variant?: 'default' | 'success' | 'error' | 'info';
|
|
4
|
+
variant?: 'default' | 'success' | 'error' | 'info' | 'warning';
|
|
5
5
|
className?: string;
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
}
|
|
@@ -8,7 +8,7 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
8
8
|
prefetch?: boolean | null;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
size?: FormElementSize;
|
|
11
|
-
variant?: 'default' | 'light' | 'outline' | 'ghost';
|
|
11
|
+
variant?: 'default' | 'light' | 'outline' | 'ghost' | 'primary';
|
|
12
12
|
target?: string;
|
|
13
13
|
type?: 'button' | 'submit' | 'reset';
|
|
14
14
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const cardVariants: (props?: ({
|
|
4
|
+
elevation?: "flat" | "elevated" | "raised" | null | undefined;
|
|
5
|
+
interactive?: boolean | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export type CardProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants> & {
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
};
|
|
10
|
+
export declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
11
|
+
elevation?: "flat" | "elevated" | "raised" | null | undefined;
|
|
12
|
+
interactive?: boolean | null | undefined;
|
|
13
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & {
|
|
14
|
+
as?: React.ElementType;
|
|
15
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export type CardHeaderProps = React.HTMLAttributes<HTMLDivElement>;
|
|
17
|
+
export declare const CardHeader: React.ForwardRefExoticComponent<CardHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export type CardTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
|
|
19
|
+
export declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
20
|
+
export type CardDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
21
|
+
export declare const CardDescription: React.ForwardRefExoticComponent<CardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
22
|
+
export type CardContentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
23
|
+
export declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
export type CardFooterProps = React.HTMLAttributes<HTMLDivElement>;
|
|
25
|
+
export declare const CardFooter: React.ForwardRefExoticComponent<CardFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
1
2
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
2
|
-
declare const Collapsible:
|
|
3
|
-
declare const CollapsibleTrigger:
|
|
4
|
-
declare const CollapsibleContent:
|
|
3
|
+
declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
6
|
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type EmptyStateProps = {
|
|
3
|
+
iconSlot: React.ReactNode;
|
|
4
|
+
titleSlot: React.ReactNode;
|
|
5
|
+
descriptionSlot?: React.ReactNode;
|
|
6
|
+
actionSlot?: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
9
|
+
};
|
|
10
|
+
export declare function EmptyState({ iconSlot, titleSlot, descriptionSlot, actionSlot, className, as: HeadingTag, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { EmptyState } from './EmptyState';
|
|
2
|
+
export type { EmptyStateProps } from './EmptyState';
|
|
@@ -6,11 +6,13 @@ declare const inputVariants: (props?: ({
|
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type InputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> & VariantProps<typeof inputVariants> & {
|
|
8
8
|
testId?: string;
|
|
9
|
+
error?: boolean;
|
|
9
10
|
};
|
|
10
11
|
declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps<(props?: ({
|
|
11
12
|
variant?: "default" | "unstyled" | "filled" | null | undefined;
|
|
12
13
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
13
14
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & {
|
|
14
15
|
testId?: string;
|
|
16
|
+
error?: boolean;
|
|
15
17
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
16
18
|
export { Input, inputVariants };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type KbdProps = {
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
theme?: 'light' | 'dark';
|
|
4
|
+
className?: string;
|
|
4
5
|
};
|
|
5
|
-
export declare const Kbd: ({ children, theme }: KbdProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const Kbd: ({ children, theme, className }: KbdProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,6 @@ export type NotificationProps = {
|
|
|
5
5
|
autoDismiss?: boolean;
|
|
6
6
|
dismissTime?: number;
|
|
7
7
|
dismissible?: boolean;
|
|
8
|
-
type?: 'info' | 'error';
|
|
8
|
+
type?: 'info' | 'error' | 'success' | 'warning';
|
|
9
9
|
};
|
|
10
10
|
export declare function Notification({ children, className, isVisible, autoDismiss, dismissTime, dismissible, type, }: NotificationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type SpinnerProps = {
|
|
2
2
|
color?: string;
|
|
3
3
|
className?: string;
|
|
4
|
+
size?: 'sm' | 'md' | 'lg';
|
|
4
5
|
};
|
|
5
|
-
declare function Spinner({ color, className }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function Spinner({ color, className, size }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export { Spinner };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const statusBadgeVariants: (props?: ({
|
|
4
|
+
variant?: "error" | "warning" | "info" | "success" | "neutral" | null | undefined;
|
|
5
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
withDot?: boolean | null | undefined;
|
|
7
|
+
pulse?: boolean | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export type StatusBadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof statusBadgeVariants> & {
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
export declare function StatusBadge({ className, variant, size, withDot, pulse, children, ...props }: StatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -3,7 +3,8 @@ export declare const formElementSizes: {
|
|
|
3
3
|
readonly md: "h-form-md";
|
|
4
4
|
readonly lg: "h-form-lg";
|
|
5
5
|
};
|
|
6
|
-
export declare const formElementFocus = "focus:outline focus:
|
|
7
|
-
export declare const formElementFocusWithin = "focus-within:outline focus-within:
|
|
6
|
+
export declare const formElementFocus = "focus:outline-none focus:ring-1 focus:ring-accent1 focus:shadow-focus-ring transition-shadow duration-normal";
|
|
7
|
+
export declare const formElementFocusWithin = "focus-within:outline-none focus-within:ring-1 focus-within:ring-accent1 focus-within:shadow-focus-ring transition-shadow duration-normal";
|
|
8
8
|
export declare const formElementRadius = "rounded-md";
|
|
9
|
+
export declare const formElementTransition = "transition-all duration-normal ease-out-custom";
|
|
9
10
|
export type FormElementSize = keyof typeof formElementSizes;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const transitions: {
|
|
2
|
+
readonly colors: "transition-colors duration-normal ease-out-custom";
|
|
3
|
+
readonly transform: "transition-transform duration-normal ease-out-custom";
|
|
4
|
+
readonly all: "transition-all duration-normal ease-out-custom";
|
|
5
|
+
readonly opacity: "transition-opacity duration-normal ease-out-custom";
|
|
6
|
+
readonly shadow: "transition-shadow duration-normal ease-out-custom";
|
|
7
|
+
readonly allSlow: "transition-all duration-slow ease-out-custom";
|
|
8
|
+
};
|
|
9
|
+
export declare const hoverEffects: {
|
|
10
|
+
readonly scale: "hover:scale-[1.02] active:scale-[0.98]";
|
|
11
|
+
readonly scaleSubtle: "active:scale-[0.98]";
|
|
12
|
+
readonly brightness: "hover:brightness-110";
|
|
13
|
+
readonly lift: "hover:bg-surface4";
|
|
14
|
+
};
|
|
15
|
+
export declare const focusRing: {
|
|
16
|
+
readonly default: "focus:outline-none focus:ring-1 focus:ring-accent1 focus:shadow-focus-ring";
|
|
17
|
+
readonly simple: "focus:outline-none focus:ring-1 focus:ring-accent1";
|
|
18
|
+
readonly visible: "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent1 focus-visible:shadow-focus-ring";
|
|
19
|
+
};
|
|
20
|
+
export type TransitionPreset = keyof typeof transitions;
|
|
21
|
+
export type HoverEffect = keyof typeof hoverEffects;
|
|
22
|
+
export type FocusRingStyle = keyof typeof focusRing;
|