@ezpg/app-ui 0.18.0 → 0.19.1
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 +14 -0
- package/lib/module/blocks/detail-editor/detail-canvas.js +8 -5
- package/lib/module/blocks/detail-editor/detail-canvas.js.map +1 -1
- package/lib/module/blocks/index.js +1 -0
- package/lib/module/blocks/index.js.map +1 -1
- package/lib/module/blocks/question-accordion/index.js +4 -0
- package/lib/module/blocks/question-accordion/index.js.map +1 -0
- package/lib/module/blocks/question-accordion/question-accordion.js +256 -0
- package/lib/module/blocks/question-accordion/question-accordion.js.map +1 -0
- package/lib/module/blocks/step-screen/step-screen.js +2 -3
- package/lib/module/blocks/step-screen/step-screen.js.map +1 -1
- package/lib/module/components/page-header/page-header.js +4 -2
- package/lib/module/components/page-header/page-header.js.map +1 -1
- package/lib/module/components/text/text.js +4 -1
- package/lib/module/components/text/text.js.map +1 -1
- package/lib/module/templates/result-template.js +2 -3
- package/lib/module/templates/result-template.js.map +1 -1
- package/lib/module/theme/base.js +22 -2
- package/lib/module/theme/base.js.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/detail-canvas.d.ts.map +1 -1
- package/lib/typescript/src/blocks/index.d.ts +1 -0
- package/lib/typescript/src/blocks/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/question-accordion/index.d.ts +2 -0
- package/lib/typescript/src/blocks/question-accordion/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/question-accordion/question-accordion.d.ts +27 -0
- package/lib/typescript/src/blocks/question-accordion/question-accordion.d.ts.map +1 -0
- package/lib/typescript/src/components/page-header/page-header.d.ts.map +1 -1
- package/lib/typescript/src/components/text/text.d.ts.map +1 -1
- package/lib/typescript/src/theme/base.d.ts +21 -1
- package/lib/typescript/src/theme/base.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +7 -1
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/blocks/detail-editor/detail-canvas.tsx +10 -4
- package/src/blocks/index.tsx +1 -0
- package/src/blocks/question-accordion/index.ts +6 -0
- package/src/blocks/question-accordion/question-accordion.tsx +254 -0
- package/src/blocks/step-screen/step-screen.tsx +3 -3
- package/src/components/page-header/page-header.tsx +4 -1
- package/src/components/text/text.tsx +9 -1
- package/src/templates/result-template.tsx +3 -3
- package/src/theme/base.ts +22 -1
- package/src/types/index.ts +10 -3
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import { TextInput, View, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
import { Text } from '../../components/text/text';
|
|
4
|
+
import { ChevronGlyph } from '../../internal/glyphs';
|
|
5
|
+
import { PressableBase } from '../../internal/pressable-base';
|
|
6
|
+
import { useTheme } from '../../theme/theme-provider';
|
|
7
|
+
import { makeStyles } from '../../utils/styles';
|
|
8
|
+
|
|
9
|
+
export type QuestionOption = { value: string; label: string };
|
|
10
|
+
|
|
11
|
+
export type QuestionSection = {
|
|
12
|
+
key: string;
|
|
13
|
+
label: string;
|
|
14
|
+
question: string;
|
|
15
|
+
options: readonly QuestionOption[];
|
|
16
|
+
value: readonly string[];
|
|
17
|
+
hint?: string;
|
|
18
|
+
max?: number;
|
|
19
|
+
other?: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type QuestionAccordionProps = {
|
|
23
|
+
sections: readonly QuestionSection[];
|
|
24
|
+
openKey: string | null;
|
|
25
|
+
onOpenChange: (key: string | null) => void;
|
|
26
|
+
onValueChange: (key: string, value: string[]) => void;
|
|
27
|
+
onOtherChange?: (key: string, text: string) => void;
|
|
28
|
+
otherLabel?: string;
|
|
29
|
+
otherMax?: number;
|
|
30
|
+
style?: StyleProp<ViewStyle>;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const ROW = 54;
|
|
34
|
+
const CELL = 50;
|
|
35
|
+
const DOT = 6;
|
|
36
|
+
|
|
37
|
+
const useStyles = makeStyles((t) => ({
|
|
38
|
+
row: {
|
|
39
|
+
height: ROW,
|
|
40
|
+
flexDirection: 'row',
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
gap: t.space[2],
|
|
43
|
+
},
|
|
44
|
+
line: { borderTopWidth: 1, borderTopColor: t.colors.border },
|
|
45
|
+
index: {
|
|
46
|
+
width: t.space[6],
|
|
47
|
+
...t.typography.caption,
|
|
48
|
+
fontWeight: '500',
|
|
49
|
+
color: t.colors.ring,
|
|
50
|
+
fontVariant: ['tabular-nums'],
|
|
51
|
+
},
|
|
52
|
+
label: { ...t.typography.label, color: t.colors.mutedForeground },
|
|
53
|
+
summary: {
|
|
54
|
+
flex: 1,
|
|
55
|
+
textAlign: 'right',
|
|
56
|
+
...t.typography.body,
|
|
57
|
+
fontWeight: '500',
|
|
58
|
+
color: t.colors.title,
|
|
59
|
+
},
|
|
60
|
+
chevron: { transform: [{ rotate: '90deg' }] },
|
|
61
|
+
panel: {
|
|
62
|
+
marginHorizontal: -t.space[3],
|
|
63
|
+
marginVertical: t.space[2],
|
|
64
|
+
paddingTop: t.space[4],
|
|
65
|
+
paddingBottom: t.space[3],
|
|
66
|
+
paddingHorizontal: t.space[3],
|
|
67
|
+
borderRadius: t.radius.xl,
|
|
68
|
+
backgroundColor: t.colors.surface,
|
|
69
|
+
boxShadow: t.shadow.panel,
|
|
70
|
+
},
|
|
71
|
+
head: { flexDirection: 'row', alignItems: 'center', gap: t.space[2] },
|
|
72
|
+
openIndex: { color: t.colors.primary },
|
|
73
|
+
eyebrow: { ...t.typography.eyebrow, color: t.colors.primary },
|
|
74
|
+
hint: {
|
|
75
|
+
marginLeft: 'auto',
|
|
76
|
+
...t.typography.caption,
|
|
77
|
+
color: t.colors.ring,
|
|
78
|
+
},
|
|
79
|
+
question: {
|
|
80
|
+
marginTop: t.space[2],
|
|
81
|
+
marginBottom: t.space[4],
|
|
82
|
+
...t.typography.question,
|
|
83
|
+
color: t.colors.title,
|
|
84
|
+
},
|
|
85
|
+
grid: {
|
|
86
|
+
flexDirection: 'row',
|
|
87
|
+
flexWrap: 'wrap',
|
|
88
|
+
borderTopWidth: 1,
|
|
89
|
+
borderTopColor: t.colors.border,
|
|
90
|
+
},
|
|
91
|
+
cell: {
|
|
92
|
+
width: '50%',
|
|
93
|
+
height: CELL,
|
|
94
|
+
justifyContent: 'center',
|
|
95
|
+
paddingHorizontal: t.space[3],
|
|
96
|
+
borderBottomWidth: 1,
|
|
97
|
+
borderBottomColor: t.colors.border,
|
|
98
|
+
},
|
|
99
|
+
right: { borderLeftWidth: 1, borderLeftColor: t.colors.border },
|
|
100
|
+
picked: { backgroundColor: t.colors.selectSurface },
|
|
101
|
+
cellText: { ...t.typography.body, color: t.colors.mutedForeground },
|
|
102
|
+
pickedText: { fontWeight: '500', color: t.colors.selectForeground },
|
|
103
|
+
otherText: { color: t.colors.ring },
|
|
104
|
+
dot: {
|
|
105
|
+
position: 'absolute',
|
|
106
|
+
right: t.space[3],
|
|
107
|
+
width: DOT,
|
|
108
|
+
height: DOT,
|
|
109
|
+
borderRadius: t.radius.full,
|
|
110
|
+
backgroundColor: t.colors.primary,
|
|
111
|
+
},
|
|
112
|
+
input: {
|
|
113
|
+
marginTop: t.space[3],
|
|
114
|
+
paddingVertical: t.space[2],
|
|
115
|
+
borderBottomWidth: 1,
|
|
116
|
+
borderBottomColor: t.colors.input,
|
|
117
|
+
...t.typography.body,
|
|
118
|
+
color: t.colors.title,
|
|
119
|
+
},
|
|
120
|
+
}));
|
|
121
|
+
|
|
122
|
+
function pad(n: number): string {
|
|
123
|
+
return String(n).padStart(2, '0');
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function QuestionAccordion({
|
|
127
|
+
sections,
|
|
128
|
+
openKey,
|
|
129
|
+
onOpenChange,
|
|
130
|
+
onValueChange,
|
|
131
|
+
onOtherChange,
|
|
132
|
+
otherLabel = '기타 · 직접 입력',
|
|
133
|
+
otherMax = 20,
|
|
134
|
+
style,
|
|
135
|
+
}: QuestionAccordionProps) {
|
|
136
|
+
const t = useTheme();
|
|
137
|
+
const s = useStyles();
|
|
138
|
+
const [typing, setTyping] = useState<string | null>(null);
|
|
139
|
+
|
|
140
|
+
return (
|
|
141
|
+
<View style={style}>
|
|
142
|
+
{sections.map((section, i) => {
|
|
143
|
+
const open = section.key === openKey;
|
|
144
|
+
const prevOpen = i > 0 && sections[i - 1]?.key === openKey;
|
|
145
|
+
const chosen = section.options
|
|
146
|
+
.filter((o) => section.value.includes(o.value))
|
|
147
|
+
.map((o) => o.label);
|
|
148
|
+
const summary = [
|
|
149
|
+
...chosen,
|
|
150
|
+
...(section.other ? [section.other] : []),
|
|
151
|
+
].join(' · ');
|
|
152
|
+
if (!open) {
|
|
153
|
+
return (
|
|
154
|
+
<PressableBase
|
|
155
|
+
key={section.key}
|
|
156
|
+
accessibilityRole="button"
|
|
157
|
+
accessibilityState={{ expanded: false }}
|
|
158
|
+
accessibilityLabel={
|
|
159
|
+
summary ? `${section.label}, ${summary}` : section.label
|
|
160
|
+
}
|
|
161
|
+
onPress={() => onOpenChange(section.key)}
|
|
162
|
+
style={[s.row, i > 0 && !prevOpen && s.line]}
|
|
163
|
+
>
|
|
164
|
+
<Text style={s.index}>{pad(i + 1)}</Text>
|
|
165
|
+
<Text style={s.label}>{section.label}</Text>
|
|
166
|
+
<Text numberOfLines={1} style={s.summary}>
|
|
167
|
+
{summary}
|
|
168
|
+
</Text>
|
|
169
|
+
<View style={s.chevron}>
|
|
170
|
+
<ChevronGlyph color={t.colors.ring} size={16} />
|
|
171
|
+
</View>
|
|
172
|
+
</PressableBase>
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
const max = section.max ?? section.options.length;
|
|
176
|
+
const otherOn = typing === section.key || Boolean(section.other);
|
|
177
|
+
const cells = [
|
|
178
|
+
...section.options.map((o) => ({ ...o, other: false })),
|
|
179
|
+
...(onOtherChange
|
|
180
|
+
? [{ value: '__other', label: otherLabel, other: true }]
|
|
181
|
+
: []),
|
|
182
|
+
];
|
|
183
|
+
return (
|
|
184
|
+
<View key={section.key} style={s.panel}>
|
|
185
|
+
<View style={s.head}>
|
|
186
|
+
<Text style={[s.index, s.openIndex]}>{pad(i + 1)}</Text>
|
|
187
|
+
<Text accessibilityRole="header" style={s.eyebrow}>
|
|
188
|
+
{section.label}
|
|
189
|
+
</Text>
|
|
190
|
+
{section.hint ? <Text style={s.hint}>{section.hint}</Text> : null}
|
|
191
|
+
</View>
|
|
192
|
+
<Text style={s.question}>{section.question}</Text>
|
|
193
|
+
<View accessibilityRole="list" style={s.grid}>
|
|
194
|
+
{cells.map((cell, c) => {
|
|
195
|
+
const picked = cell.other
|
|
196
|
+
? otherOn
|
|
197
|
+
: section.value.includes(cell.value);
|
|
198
|
+
return (
|
|
199
|
+
<PressableBase
|
|
200
|
+
key={cell.value}
|
|
201
|
+
accessibilityRole="checkbox"
|
|
202
|
+
accessibilityState={{ checked: picked }}
|
|
203
|
+
accessibilityLabel={cell.label}
|
|
204
|
+
onPress={() => {
|
|
205
|
+
if (cell.other) {
|
|
206
|
+
if (otherOn) {
|
|
207
|
+
setTyping(null);
|
|
208
|
+
onOtherChange?.(section.key, '');
|
|
209
|
+
} else {
|
|
210
|
+
setTyping(section.key);
|
|
211
|
+
}
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
const next = picked
|
|
215
|
+
? section.value.filter((v) => v !== cell.value)
|
|
216
|
+
: section.value.length < max
|
|
217
|
+
? [...section.value, cell.value]
|
|
218
|
+
: [...section.value];
|
|
219
|
+
onValueChange(section.key, next);
|
|
220
|
+
}}
|
|
221
|
+
style={[s.cell, c % 2 === 1 && s.right, picked && s.picked]}
|
|
222
|
+
>
|
|
223
|
+
<Text
|
|
224
|
+
numberOfLines={1}
|
|
225
|
+
style={[
|
|
226
|
+
s.cellText,
|
|
227
|
+
cell.other && !picked && s.otherText,
|
|
228
|
+
picked && s.pickedText,
|
|
229
|
+
]}
|
|
230
|
+
>
|
|
231
|
+
{cell.label}
|
|
232
|
+
</Text>
|
|
233
|
+
{picked ? <View style={s.dot} /> : null}
|
|
234
|
+
</PressableBase>
|
|
235
|
+
);
|
|
236
|
+
})}
|
|
237
|
+
</View>
|
|
238
|
+
{otherOn ? (
|
|
239
|
+
<TextInput
|
|
240
|
+
value={section.other ?? ''}
|
|
241
|
+
onChangeText={(text) => onOtherChange?.(section.key, text)}
|
|
242
|
+
maxLength={otherMax}
|
|
243
|
+
autoFocus={typing === section.key && !section.other}
|
|
244
|
+
accessibilityLabel={`${section.label} ${otherLabel}`}
|
|
245
|
+
placeholderTextColor={t.colors.ring}
|
|
246
|
+
style={s.input}
|
|
247
|
+
/>
|
|
248
|
+
) : null}
|
|
249
|
+
</View>
|
|
250
|
+
);
|
|
251
|
+
})}
|
|
252
|
+
</View>
|
|
253
|
+
);
|
|
254
|
+
}
|
|
@@ -56,8 +56,8 @@ const useStyles = makeStyles((t) => ({
|
|
|
56
56
|
paddingBottom: t.layout.footerBottom,
|
|
57
57
|
},
|
|
58
58
|
title: {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
...t.typography.screenTitle,
|
|
60
|
+
color: t.colors.title,
|
|
61
61
|
},
|
|
62
62
|
footer: {
|
|
63
63
|
gap: t.layout.itemGap,
|
|
@@ -136,7 +136,7 @@ export function StepScreen({
|
|
|
136
136
|
keyboardShouldPersistTaps="handled"
|
|
137
137
|
>
|
|
138
138
|
{top}
|
|
139
|
-
<Text
|
|
139
|
+
<Text accessibilityRole="header" style={s.title}>
|
|
140
140
|
{title}
|
|
141
141
|
</Text>
|
|
142
142
|
{children}
|
|
@@ -34,6 +34,9 @@ const useStyles = makeStyles((t) => ({
|
|
|
34
34
|
title: {
|
|
35
35
|
fontSize: t.typography.display.fontSize,
|
|
36
36
|
lineHeight: t.typography.display.lineHeight,
|
|
37
|
+
fontWeight: t.typography.screenTitle.fontWeight,
|
|
38
|
+
letterSpacing: t.typography.screenTitle.letterSpacing,
|
|
39
|
+
color: t.colors.title,
|
|
37
40
|
},
|
|
38
41
|
action: {
|
|
39
42
|
width: t.minTouchSize,
|
|
@@ -98,7 +101,7 @@ export function PageHeader({
|
|
|
98
101
|
const s = useStyles();
|
|
99
102
|
return (
|
|
100
103
|
<View style={[s.root, { paddingTop: t.space[5] + topInset }, style]}>
|
|
101
|
-
<Text
|
|
104
|
+
<Text accessibilityRole="header" style={s.title}>
|
|
102
105
|
{title}
|
|
103
106
|
</Text>
|
|
104
107
|
{action && !action.icon ? (
|
|
@@ -25,6 +25,7 @@ const useStyles = makeStyles((t) => ({
|
|
|
25
25
|
screenTitle: t.typography.screenTitle,
|
|
26
26
|
display: t.typography.display,
|
|
27
27
|
default: { color: t.colors.foreground },
|
|
28
|
+
heading: { color: t.colors.title },
|
|
28
29
|
muted: { color: t.colors.mutedForeground },
|
|
29
30
|
primary: { color: t.colors.primary },
|
|
30
31
|
point: { color: t.colors.point },
|
|
@@ -51,7 +52,14 @@ export function Text({
|
|
|
51
52
|
<RNText
|
|
52
53
|
maxFontSizeMultiplier={t.maxFontScale}
|
|
53
54
|
{...rest}
|
|
54
|
-
style={[
|
|
55
|
+
style={[
|
|
56
|
+
s.font,
|
|
57
|
+
s[variant],
|
|
58
|
+
s[tone],
|
|
59
|
+
variant === 'screenTitle' && tone === 'default' && s.heading,
|
|
60
|
+
weight && s[weight],
|
|
61
|
+
style,
|
|
62
|
+
]}
|
|
55
63
|
/>
|
|
56
64
|
);
|
|
57
65
|
}
|
|
@@ -47,8 +47,8 @@ const useStyles = makeStyles((t) => ({
|
|
|
47
47
|
paddingTop: t.layout.screenTop,
|
|
48
48
|
paddingBottom: t.layout.groupGap,
|
|
49
49
|
paddingHorizontal: t.layout.screenX,
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
...t.typography.screenTitle,
|
|
51
|
+
color: t.colors.title,
|
|
52
52
|
},
|
|
53
53
|
pager: { flex: 1 },
|
|
54
54
|
page: { gap: t.space[2] },
|
|
@@ -185,7 +185,7 @@ export function ResultTemplate({
|
|
|
185
185
|
return (
|
|
186
186
|
<View style={s.root}>
|
|
187
187
|
{title ? (
|
|
188
|
-
<Text
|
|
188
|
+
<Text accessibilityRole="header" style={s.heading}>
|
|
189
189
|
{title}
|
|
190
190
|
</Text>
|
|
191
191
|
) : null}
|
package/src/theme/base.ts
CHANGED
|
@@ -3,6 +3,9 @@ export const semantic = {
|
|
|
3
3
|
background: '#f4f4f5',
|
|
4
4
|
surface: '#ffffff',
|
|
5
5
|
foreground: '#1a1a1a',
|
|
6
|
+
title: '#2a2d33',
|
|
7
|
+
selectSurface: '#fdf6f2',
|
|
8
|
+
selectForeground: '#9a3412',
|
|
6
9
|
muted: '#f0f0f0',
|
|
7
10
|
mutedForeground: '#626262',
|
|
8
11
|
border: '#e3e3e3',
|
|
@@ -28,6 +31,9 @@ export const semantic = {
|
|
|
28
31
|
background: '#0a0a0a',
|
|
29
32
|
surface: '#171717',
|
|
30
33
|
foreground: '#fafafa',
|
|
34
|
+
title: '#fafafa',
|
|
35
|
+
selectSurface: '#5f2814',
|
|
36
|
+
selectForeground: '#f6b298',
|
|
31
37
|
muted: '#262626',
|
|
32
38
|
mutedForeground: '#a3a3a3',
|
|
33
39
|
border: '#262626',
|
|
@@ -77,6 +83,7 @@ export const radius = {
|
|
|
77
83
|
sm: 6,
|
|
78
84
|
md: 8,
|
|
79
85
|
lg: 12,
|
|
86
|
+
xl: 20,
|
|
80
87
|
full: 9999,
|
|
81
88
|
} as const;
|
|
82
89
|
|
|
@@ -101,6 +108,17 @@ export const typography = {
|
|
|
101
108
|
lineHeight: 24,
|
|
102
109
|
fontWeight: '400',
|
|
103
110
|
},
|
|
111
|
+
eyebrow: {
|
|
112
|
+
fontSize: 13,
|
|
113
|
+
lineHeight: 18,
|
|
114
|
+
fontWeight: '500',
|
|
115
|
+
},
|
|
116
|
+
question: {
|
|
117
|
+
fontSize: 18,
|
|
118
|
+
lineHeight: 26,
|
|
119
|
+
fontWeight: '500',
|
|
120
|
+
letterSpacing: -0.4,
|
|
121
|
+
},
|
|
104
122
|
title: {
|
|
105
123
|
fontSize: 20,
|
|
106
124
|
lineHeight: 28,
|
|
@@ -109,7 +127,8 @@ export const typography = {
|
|
|
109
127
|
screenTitle: {
|
|
110
128
|
fontSize: 24,
|
|
111
129
|
lineHeight: 32,
|
|
112
|
-
fontWeight: '
|
|
130
|
+
fontWeight: '600',
|
|
131
|
+
letterSpacing: -0.6,
|
|
113
132
|
},
|
|
114
133
|
display: {
|
|
115
134
|
fontSize: 28,
|
|
@@ -121,6 +140,8 @@ export const typography = {
|
|
|
121
140
|
export const shadow = {
|
|
122
141
|
sm: '0px 1px 2px rgba(0, 0, 0, 0.08)',
|
|
123
142
|
md: '0px 4px 12px rgba(0, 0, 0, 0.12)',
|
|
143
|
+
panel:
|
|
144
|
+
'0px 1px 2px rgba(17, 24, 39, 0.04), 0px 8px 24px rgba(17, 24, 39, 0.04)',
|
|
124
145
|
} as const;
|
|
125
146
|
|
|
126
147
|
export const motion = {
|
package/src/types/index.ts
CHANGED
|
@@ -6,6 +6,9 @@ export type ThemeColors = {
|
|
|
6
6
|
background: string;
|
|
7
7
|
surface: string;
|
|
8
8
|
foreground: string;
|
|
9
|
+
title: string;
|
|
10
|
+
selectSurface: string;
|
|
11
|
+
selectForeground: string;
|
|
9
12
|
muted: string;
|
|
10
13
|
mutedForeground: string;
|
|
11
14
|
border: string;
|
|
@@ -35,6 +38,7 @@ export type TypographyToken = {
|
|
|
35
38
|
fontSize: number;
|
|
36
39
|
lineHeight: number;
|
|
37
40
|
fontWeight: TextStyle['fontWeight'];
|
|
41
|
+
letterSpacing?: number;
|
|
38
42
|
};
|
|
39
43
|
|
|
40
44
|
export type ThemeTokens = {
|
|
@@ -51,11 +55,14 @@ export type ThemeTokens = {
|
|
|
51
55
|
12: number;
|
|
52
56
|
16: number;
|
|
53
57
|
};
|
|
54
|
-
radius: { sm: number; md: number; lg: number; full: number };
|
|
55
|
-
typography: Record<
|
|
58
|
+
radius: { sm: number; md: number; lg: number; xl: number; full: number };
|
|
59
|
+
typography: Record<
|
|
60
|
+
TypographyVariant | 'eyebrow' | 'question',
|
|
61
|
+
TypographyToken
|
|
62
|
+
>;
|
|
56
63
|
fontFamily: string | undefined;
|
|
57
64
|
maxFontScale: number;
|
|
58
|
-
shadow: { sm: string; md: string };
|
|
65
|
+
shadow: { sm: string; md: string; panel: string };
|
|
59
66
|
motion: { duration: number };
|
|
60
67
|
opacity: { pressed: number; disabled: number };
|
|
61
68
|
iconSize: { sm: number; md: number };
|