@cntrl-site/components 1.0.68-alpha.2 → 1.0.69-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Components/Burger/Burger.d.ts +113 -0
- package/dist/Components/Burger/BurgerComponent.d.ts +602 -0
- package/dist/index.js +2760 -4192
- package/dist/index.mjs +12726 -14915
- package/dist/types/Component.d.ts +1 -1
- package/dist/types/SchemaV1.d.ts +2 -0
- package/package.json +1 -1
- package/dist/Components/Pretext/Pretext.d.ts +0 -148
- package/dist/Components/Pretext/PretextComponent.d.ts +0 -46
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { CommonComponentProps } from '../props';
|
|
2
|
+
import { TextStyles } from '../utils/textStylesToCss';
|
|
3
|
+
type BurgerEffect = 'fade' | 'left' | 'top' | 'right' | 'bottom';
|
|
4
|
+
type BurgerType = 'a' | 'b' | 'c';
|
|
5
|
+
type BurgerLogo = {
|
|
6
|
+
mode?: 'On' | 'Off';
|
|
7
|
+
icon?: string | null;
|
|
8
|
+
};
|
|
9
|
+
type BurgerLink = {
|
|
10
|
+
mode?: 'page' | 'url';
|
|
11
|
+
page?: string;
|
|
12
|
+
url?: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
anchor?: string;
|
|
15
|
+
openIn?: string;
|
|
16
|
+
showIn?: string;
|
|
17
|
+
};
|
|
18
|
+
type BurgerTextOrientation = 'vertical' | 'horizontal';
|
|
19
|
+
type BurgerPosition = 'left-top' | 'center-top' | 'right-top' | 'left-center' | 'center-center' | 'right-center' | 'left-bottom' | 'center-bottom' | 'right-bottom';
|
|
20
|
+
type BurgerSettings = {
|
|
21
|
+
type?: BurgerType;
|
|
22
|
+
link?: BurgerLink[];
|
|
23
|
+
socialLink?: string[];
|
|
24
|
+
logo?: BurgerLogo | null;
|
|
25
|
+
logoMaxWidth?: number;
|
|
26
|
+
panelHeight?: number;
|
|
27
|
+
panelColor?: string;
|
|
28
|
+
position?: BurgerPosition;
|
|
29
|
+
horizontalAlign?: 'left' | 'center' | 'right';
|
|
30
|
+
verticalAlign?: 'top' | 'center' | 'bottom';
|
|
31
|
+
textOrientation?: BurgerTextOrientation;
|
|
32
|
+
iconColor?: string;
|
|
33
|
+
iconSize?: number;
|
|
34
|
+
iconAnimation?: 'a';
|
|
35
|
+
linkColor?: string;
|
|
36
|
+
socialIconColor?: string;
|
|
37
|
+
menuBackgroundColor?: string;
|
|
38
|
+
overlayColor?: string;
|
|
39
|
+
closeButtonColor?: string;
|
|
40
|
+
effect?: BurgerEffect;
|
|
41
|
+
menuWidth?: number;
|
|
42
|
+
textWidth?: number;
|
|
43
|
+
navTextWidth?: number;
|
|
44
|
+
gap?: number;
|
|
45
|
+
navGap?: number;
|
|
46
|
+
navPaddingRight?: number;
|
|
47
|
+
textPaddingLeft?: number;
|
|
48
|
+
textPaddingRight?: number;
|
|
49
|
+
textPaddingTop?: number;
|
|
50
|
+
textPaddingBottom?: number;
|
|
51
|
+
fontFamily?: string;
|
|
52
|
+
fontSettings?: {
|
|
53
|
+
fontWeight?: number;
|
|
54
|
+
fontStyle?: string;
|
|
55
|
+
};
|
|
56
|
+
fontSize?: number;
|
|
57
|
+
lineHeight?: number;
|
|
58
|
+
letterSpacing?: number;
|
|
59
|
+
wordSpacing?: number;
|
|
60
|
+
textAlign?: TextStyles['textAlign'];
|
|
61
|
+
textAppearance?: TextStyles['textAppearance'];
|
|
62
|
+
openFontFamily?: string;
|
|
63
|
+
openFontSettings?: {
|
|
64
|
+
fontWeight?: number;
|
|
65
|
+
fontStyle?: string;
|
|
66
|
+
};
|
|
67
|
+
openFontSize?: number;
|
|
68
|
+
openLineHeight?: number;
|
|
69
|
+
openLetterSpacing?: number;
|
|
70
|
+
openWordSpacing?: number;
|
|
71
|
+
openTextAlign?: TextStyles['textAlign'];
|
|
72
|
+
openTextAppearance?: TextStyles['textAppearance'];
|
|
73
|
+
stateOverrides?: Record<string, Partial<Record<'iconColor' | 'closeButtonColor' | 'linkColor' | 'socialIconColor' | 'menuBackgroundColor' | 'overlayColor' | 'panelColor', string>>>;
|
|
74
|
+
navigationStateOverrides?: BurgerNavigationStateOverrides;
|
|
75
|
+
};
|
|
76
|
+
type BurgerNavigationState = 'default' | 'onScroll';
|
|
77
|
+
declare const NAVIGATION_STATE_PROPERTIES: readonly ["panelHeight", "logoMaxWidth", "iconSize", "navGap", "navPaddingRight", "navTextWidth", "fontSize", "lineHeight", "letterSpacing", "wordSpacing", "textAppearance"];
|
|
78
|
+
type BurgerNavigationStateProperty = typeof NAVIGATION_STATE_PROPERTIES[number];
|
|
79
|
+
type BurgerNavigationStateOverrides = Partial<Record<Exclude<BurgerNavigationState, 'default'>, Pick<BurgerSettings, BurgerNavigationStateProperty>>>;
|
|
80
|
+
type BurgerPageRef = {
|
|
81
|
+
id: string;
|
|
82
|
+
slug: string;
|
|
83
|
+
};
|
|
84
|
+
export declare function applyBurgerSettingsChange(nextSettings: BurgerSettings, prevSettings: BurgerSettings): BurgerSettings;
|
|
85
|
+
export type BurgerLinkNavigateEvent = {
|
|
86
|
+
mode: 'page' | 'url';
|
|
87
|
+
href: string;
|
|
88
|
+
page?: string;
|
|
89
|
+
url?: string;
|
|
90
|
+
anchor?: string;
|
|
91
|
+
target?: '_blank';
|
|
92
|
+
};
|
|
93
|
+
type BurgerProps = {
|
|
94
|
+
settings: BurgerSettings;
|
|
95
|
+
content?: unknown;
|
|
96
|
+
isEditor?: boolean;
|
|
97
|
+
isEditMode?: boolean;
|
|
98
|
+
isPreviewMode?: boolean;
|
|
99
|
+
activeEvent?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Set by a navigation wrapper that decides when the bar counts as scrolled, e.g. the
|
|
102
|
+
* `switch` position, which only flips once the page is scrolled past the whole bar.
|
|
103
|
+
* When it is omitted the component watches the page scroll itself.
|
|
104
|
+
*/
|
|
105
|
+
navigationState?: BurgerNavigationState;
|
|
106
|
+
portalId?: string;
|
|
107
|
+
layoutId?: string;
|
|
108
|
+
pages?: BurgerPageRef[];
|
|
109
|
+
onLinkNavigate?: (event: BurgerLinkNavigateEvent) => void;
|
|
110
|
+
onUpdateSettings?: (settings: BurgerSettings) => void;
|
|
111
|
+
} & CommonComponentProps;
|
|
112
|
+
export declare function Burger({ settings: settingsProp, isEditor, isEditMode, isPreviewMode, activeEvent, navigationState: controlledNavigationState, layoutId, pages, onLinkNavigate, onUpdateSettings, }: BurgerProps): import("react/jsx-runtime").JSX.Element;
|
|
113
|
+
export {};
|
|
@@ -0,0 +1,602 @@
|
|
|
1
|
+
import { Burger } from './Burger';
|
|
2
|
+
export declare const BurgerComponent: {
|
|
3
|
+
element: typeof Burger;
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
category: string;
|
|
7
|
+
version: number;
|
|
8
|
+
layoutMode: "navigation";
|
|
9
|
+
defaultSize: {
|
|
10
|
+
d: {
|
|
11
|
+
width: string;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
t: {
|
|
15
|
+
width: string;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
m: {
|
|
19
|
+
width: string;
|
|
20
|
+
height: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
schema: {
|
|
24
|
+
type: "object";
|
|
25
|
+
version: 1;
|
|
26
|
+
settings: {
|
|
27
|
+
sizing: string;
|
|
28
|
+
properties: {
|
|
29
|
+
type: {
|
|
30
|
+
type: "string";
|
|
31
|
+
scope: "layout";
|
|
32
|
+
title: string;
|
|
33
|
+
display: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
enum: string[];
|
|
37
|
+
};
|
|
38
|
+
link: {
|
|
39
|
+
type: "array";
|
|
40
|
+
scope: "common";
|
|
41
|
+
display: {
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
44
|
+
items: {
|
|
45
|
+
type: "object";
|
|
46
|
+
properties: {
|
|
47
|
+
mode: {
|
|
48
|
+
type: "string";
|
|
49
|
+
enum: string[];
|
|
50
|
+
};
|
|
51
|
+
page: {
|
|
52
|
+
type: "string";
|
|
53
|
+
};
|
|
54
|
+
url: {
|
|
55
|
+
type: "string";
|
|
56
|
+
message: string;
|
|
57
|
+
};
|
|
58
|
+
label: {
|
|
59
|
+
type: "string";
|
|
60
|
+
};
|
|
61
|
+
anchor: {
|
|
62
|
+
type: "string";
|
|
63
|
+
};
|
|
64
|
+
openIn: {
|
|
65
|
+
type: "string";
|
|
66
|
+
};
|
|
67
|
+
showIn: {
|
|
68
|
+
type: "string";
|
|
69
|
+
enum: string[];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
socialLink: {
|
|
75
|
+
type: "array";
|
|
76
|
+
scope: "common";
|
|
77
|
+
display: {
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
80
|
+
items: {
|
|
81
|
+
type: "string";
|
|
82
|
+
message: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
logo: {
|
|
86
|
+
type: "object";
|
|
87
|
+
scope: "common";
|
|
88
|
+
title: string;
|
|
89
|
+
display: {
|
|
90
|
+
type: string;
|
|
91
|
+
};
|
|
92
|
+
properties: {
|
|
93
|
+
mode: {
|
|
94
|
+
type: "string";
|
|
95
|
+
enum: string[];
|
|
96
|
+
};
|
|
97
|
+
icon: {
|
|
98
|
+
type: readonly ["string", "null"];
|
|
99
|
+
title: string;
|
|
100
|
+
display: {
|
|
101
|
+
type: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
logoMaxWidth: {
|
|
107
|
+
type: "number";
|
|
108
|
+
scope: "layout";
|
|
109
|
+
title: string;
|
|
110
|
+
display: {
|
|
111
|
+
type: string;
|
|
112
|
+
};
|
|
113
|
+
min: number;
|
|
114
|
+
max: number;
|
|
115
|
+
};
|
|
116
|
+
panelHeight: {
|
|
117
|
+
type: "number";
|
|
118
|
+
scope: "layout";
|
|
119
|
+
title: string;
|
|
120
|
+
display: {
|
|
121
|
+
type: string;
|
|
122
|
+
};
|
|
123
|
+
min: number;
|
|
124
|
+
max: number;
|
|
125
|
+
};
|
|
126
|
+
panelColor: {
|
|
127
|
+
type: "string";
|
|
128
|
+
scope: "common";
|
|
129
|
+
title: string;
|
|
130
|
+
display: {
|
|
131
|
+
type: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
iconColor: {
|
|
135
|
+
type: "string";
|
|
136
|
+
scope: "common";
|
|
137
|
+
title: string;
|
|
138
|
+
display: {
|
|
139
|
+
type: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
iconSize: {
|
|
143
|
+
type: "number";
|
|
144
|
+
scope: "layout";
|
|
145
|
+
title: string;
|
|
146
|
+
display: {
|
|
147
|
+
type: string;
|
|
148
|
+
};
|
|
149
|
+
min: number;
|
|
150
|
+
max: number;
|
|
151
|
+
};
|
|
152
|
+
iconAnimation: {
|
|
153
|
+
type: "string";
|
|
154
|
+
scope: "layout";
|
|
155
|
+
title: string;
|
|
156
|
+
display: {
|
|
157
|
+
type: string;
|
|
158
|
+
enum: string[];
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
linkColor: {
|
|
162
|
+
type: "string";
|
|
163
|
+
scope: "common";
|
|
164
|
+
title: string;
|
|
165
|
+
titleByState: {
|
|
166
|
+
default: string;
|
|
167
|
+
hover: string;
|
|
168
|
+
onScroll: string;
|
|
169
|
+
};
|
|
170
|
+
display: {
|
|
171
|
+
type: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
socialIconColor: {
|
|
175
|
+
type: "string";
|
|
176
|
+
scope: "common";
|
|
177
|
+
title: string;
|
|
178
|
+
titleByState: {
|
|
179
|
+
default: string;
|
|
180
|
+
hover: string;
|
|
181
|
+
onScroll: string;
|
|
182
|
+
};
|
|
183
|
+
display: {
|
|
184
|
+
type: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
menuBackgroundColor: {
|
|
188
|
+
type: "string";
|
|
189
|
+
scope: "common";
|
|
190
|
+
title: string;
|
|
191
|
+
display: {
|
|
192
|
+
type: string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
overlayColor: {
|
|
196
|
+
type: "string";
|
|
197
|
+
scope: "common";
|
|
198
|
+
title: string;
|
|
199
|
+
display: {
|
|
200
|
+
type: string;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
closeButtonColor: {
|
|
204
|
+
type: "string";
|
|
205
|
+
scope: "common";
|
|
206
|
+
title: string;
|
|
207
|
+
display: {
|
|
208
|
+
type: string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
effect: {
|
|
212
|
+
type: "string";
|
|
213
|
+
scope: "layout";
|
|
214
|
+
title: string;
|
|
215
|
+
display: {
|
|
216
|
+
type: string;
|
|
217
|
+
enum: string[];
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
menuWidth: {
|
|
221
|
+
type: "number";
|
|
222
|
+
scope: "layout";
|
|
223
|
+
title: string;
|
|
224
|
+
display: {
|
|
225
|
+
type: string;
|
|
226
|
+
};
|
|
227
|
+
min: number;
|
|
228
|
+
max: number;
|
|
229
|
+
};
|
|
230
|
+
textWidth: {
|
|
231
|
+
type: "number";
|
|
232
|
+
scope: "layout";
|
|
233
|
+
title: string;
|
|
234
|
+
display: {
|
|
235
|
+
type: string;
|
|
236
|
+
};
|
|
237
|
+
min: number;
|
|
238
|
+
max: number;
|
|
239
|
+
};
|
|
240
|
+
navTextWidth: {
|
|
241
|
+
type: "number";
|
|
242
|
+
scope: "layout";
|
|
243
|
+
title: string;
|
|
244
|
+
display: {
|
|
245
|
+
type: string;
|
|
246
|
+
};
|
|
247
|
+
min: number;
|
|
248
|
+
max: number;
|
|
249
|
+
};
|
|
250
|
+
position: {
|
|
251
|
+
type: "string";
|
|
252
|
+
scope: "layout";
|
|
253
|
+
title: string;
|
|
254
|
+
display: {
|
|
255
|
+
type: string;
|
|
256
|
+
enum: ("left-top" | "center-top" | "right-top" | "left-center" | "center-center" | "right-center" | "left-bottom" | "center-bottom" | "right-bottom")[];
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
horizontalAlign: {
|
|
260
|
+
type: "string";
|
|
261
|
+
scope: "layout";
|
|
262
|
+
title: string;
|
|
263
|
+
display: {
|
|
264
|
+
type: string;
|
|
265
|
+
enum: string[];
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
verticalAlign: {
|
|
269
|
+
type: "string";
|
|
270
|
+
scope: "layout";
|
|
271
|
+
title: string;
|
|
272
|
+
display: {
|
|
273
|
+
type: string;
|
|
274
|
+
enum: string[];
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
textOrientation: {
|
|
278
|
+
type: "string";
|
|
279
|
+
scope: "layout";
|
|
280
|
+
title: string;
|
|
281
|
+
display: {
|
|
282
|
+
type: string;
|
|
283
|
+
enum: string[];
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
stateOverrides: {
|
|
287
|
+
type: "object";
|
|
288
|
+
scope: "common";
|
|
289
|
+
};
|
|
290
|
+
navigationStateOverrides: {
|
|
291
|
+
type: "object";
|
|
292
|
+
scope: "layout";
|
|
293
|
+
};
|
|
294
|
+
gap: {
|
|
295
|
+
type: "number";
|
|
296
|
+
scope: "layout";
|
|
297
|
+
title: string;
|
|
298
|
+
min: number;
|
|
299
|
+
max: number;
|
|
300
|
+
display: {
|
|
301
|
+
type: "range-control";
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
navGap: {
|
|
305
|
+
type: "number";
|
|
306
|
+
scope: "layout";
|
|
307
|
+
title: string;
|
|
308
|
+
min: number;
|
|
309
|
+
max: number;
|
|
310
|
+
display: {
|
|
311
|
+
type: "range-control";
|
|
312
|
+
visible: boolean;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
navPaddingRight: {
|
|
316
|
+
type: "number";
|
|
317
|
+
scope: "layout";
|
|
318
|
+
title: string;
|
|
319
|
+
min: number;
|
|
320
|
+
max: number;
|
|
321
|
+
display: {
|
|
322
|
+
type: "range-control";
|
|
323
|
+
visible: boolean;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
textPaddingLeft: {
|
|
327
|
+
type: "number";
|
|
328
|
+
scope: "layout";
|
|
329
|
+
title: string;
|
|
330
|
+
min: number;
|
|
331
|
+
max: number;
|
|
332
|
+
display: {
|
|
333
|
+
type: "range-control";
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
textPaddingRight: {
|
|
337
|
+
type: "number";
|
|
338
|
+
scope: "layout";
|
|
339
|
+
title: string;
|
|
340
|
+
min: number;
|
|
341
|
+
max: number;
|
|
342
|
+
display: {
|
|
343
|
+
type: "range-control";
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
textPaddingTop: {
|
|
347
|
+
type: "number";
|
|
348
|
+
scope: "layout";
|
|
349
|
+
title: string;
|
|
350
|
+
min: number;
|
|
351
|
+
max: number;
|
|
352
|
+
display: {
|
|
353
|
+
type: "range-control";
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
textPaddingBottom: {
|
|
357
|
+
type: "number";
|
|
358
|
+
scope: "layout";
|
|
359
|
+
title: string;
|
|
360
|
+
min: number;
|
|
361
|
+
max: number;
|
|
362
|
+
display: {
|
|
363
|
+
type: "range-control";
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
defaults: {
|
|
368
|
+
link: {
|
|
369
|
+
mode: string;
|
|
370
|
+
page: string;
|
|
371
|
+
url: string;
|
|
372
|
+
label: string;
|
|
373
|
+
anchor: string;
|
|
374
|
+
openIn: string;
|
|
375
|
+
}[];
|
|
376
|
+
socialLink: string[];
|
|
377
|
+
logo: {
|
|
378
|
+
mode: string;
|
|
379
|
+
icon: null;
|
|
380
|
+
};
|
|
381
|
+
panelColor: string;
|
|
382
|
+
iconColor: string;
|
|
383
|
+
linkColor: string;
|
|
384
|
+
socialIconColor: string;
|
|
385
|
+
menuBackgroundColor: string;
|
|
386
|
+
overlayColor: string;
|
|
387
|
+
closeButtonColor: string;
|
|
388
|
+
effect: string;
|
|
389
|
+
iconAnimation: string;
|
|
390
|
+
position: string;
|
|
391
|
+
textOrientation: string;
|
|
392
|
+
fontFamily: string;
|
|
393
|
+
fontSettings: {
|
|
394
|
+
fontWeight: number;
|
|
395
|
+
fontStyle: string;
|
|
396
|
+
};
|
|
397
|
+
textAlign: string;
|
|
398
|
+
openFontFamily: string;
|
|
399
|
+
openFontSettings: {
|
|
400
|
+
fontWeight: number;
|
|
401
|
+
fontStyle: string;
|
|
402
|
+
};
|
|
403
|
+
openTextAlign: string;
|
|
404
|
+
stateOverrides: {
|
|
405
|
+
hover: {
|
|
406
|
+
linkColor: string;
|
|
407
|
+
socialIconColor: string;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
displayRules: ({
|
|
412
|
+
if: {
|
|
413
|
+
name: string;
|
|
414
|
+
value: string;
|
|
415
|
+
isNotEqual?: undefined;
|
|
416
|
+
};
|
|
417
|
+
then: {
|
|
418
|
+
name: string;
|
|
419
|
+
value: boolean;
|
|
420
|
+
};
|
|
421
|
+
} | {
|
|
422
|
+
if: {
|
|
423
|
+
name: string;
|
|
424
|
+
value: string;
|
|
425
|
+
isNotEqual: true;
|
|
426
|
+
};
|
|
427
|
+
then: {
|
|
428
|
+
name: string;
|
|
429
|
+
value: boolean;
|
|
430
|
+
};
|
|
431
|
+
})[];
|
|
432
|
+
layoutDefaults: {
|
|
433
|
+
m: {
|
|
434
|
+
type: string;
|
|
435
|
+
position: string;
|
|
436
|
+
panelHeight: number;
|
|
437
|
+
logoMaxWidth: number;
|
|
438
|
+
iconSize: number;
|
|
439
|
+
menuWidth: number;
|
|
440
|
+
textWidth: number;
|
|
441
|
+
navTextWidth: number;
|
|
442
|
+
gap: number;
|
|
443
|
+
navGap: number;
|
|
444
|
+
navPaddingRight: number;
|
|
445
|
+
textPaddingLeft: number;
|
|
446
|
+
textPaddingRight: number;
|
|
447
|
+
textPaddingTop: number;
|
|
448
|
+
textPaddingBottom: number;
|
|
449
|
+
fontSize: number;
|
|
450
|
+
lineHeight: number;
|
|
451
|
+
letterSpacing: number;
|
|
452
|
+
wordSpacing: number;
|
|
453
|
+
textAppearance: {
|
|
454
|
+
textTransform: string;
|
|
455
|
+
textDecoration: string;
|
|
456
|
+
fontVariant: string;
|
|
457
|
+
};
|
|
458
|
+
openFontSize: number;
|
|
459
|
+
openLineHeight: number;
|
|
460
|
+
openLetterSpacing: number;
|
|
461
|
+
openWordSpacing: number;
|
|
462
|
+
openTextAppearance: {
|
|
463
|
+
textTransform: string;
|
|
464
|
+
textDecoration: string;
|
|
465
|
+
fontVariant: string;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
t: {
|
|
469
|
+
type: string;
|
|
470
|
+
position: string;
|
|
471
|
+
panelHeight: number;
|
|
472
|
+
logoMaxWidth: number;
|
|
473
|
+
iconSize: number;
|
|
474
|
+
menuWidth: number;
|
|
475
|
+
textWidth: number;
|
|
476
|
+
navTextWidth: number;
|
|
477
|
+
gap: number;
|
|
478
|
+
navGap: number;
|
|
479
|
+
navPaddingRight: number;
|
|
480
|
+
textPaddingLeft: number;
|
|
481
|
+
textPaddingRight: number;
|
|
482
|
+
textPaddingTop: number;
|
|
483
|
+
textPaddingBottom: number;
|
|
484
|
+
fontSize: number;
|
|
485
|
+
lineHeight: number;
|
|
486
|
+
letterSpacing: number;
|
|
487
|
+
wordSpacing: number;
|
|
488
|
+
textAppearance: {
|
|
489
|
+
textTransform: string;
|
|
490
|
+
textDecoration: string;
|
|
491
|
+
fontVariant: string;
|
|
492
|
+
};
|
|
493
|
+
openFontSize: number;
|
|
494
|
+
openLineHeight: number;
|
|
495
|
+
openLetterSpacing: number;
|
|
496
|
+
openWordSpacing: number;
|
|
497
|
+
openTextAppearance: {
|
|
498
|
+
textTransform: string;
|
|
499
|
+
textDecoration: string;
|
|
500
|
+
fontVariant: string;
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
d: {
|
|
504
|
+
type: string;
|
|
505
|
+
position: string;
|
|
506
|
+
panelHeight: number;
|
|
507
|
+
logoMaxWidth: number;
|
|
508
|
+
iconSize: number;
|
|
509
|
+
menuWidth: number;
|
|
510
|
+
textWidth: number;
|
|
511
|
+
navTextWidth: number;
|
|
512
|
+
gap: number;
|
|
513
|
+
navGap: number;
|
|
514
|
+
navPaddingRight: number;
|
|
515
|
+
textPaddingLeft: number;
|
|
516
|
+
textPaddingRight: number;
|
|
517
|
+
textPaddingTop: number;
|
|
518
|
+
textPaddingBottom: number;
|
|
519
|
+
fontSize: number;
|
|
520
|
+
lineHeight: number;
|
|
521
|
+
letterSpacing: number;
|
|
522
|
+
wordSpacing: number;
|
|
523
|
+
textAppearance: {
|
|
524
|
+
textTransform: string;
|
|
525
|
+
textDecoration: string;
|
|
526
|
+
fontVariant: string;
|
|
527
|
+
};
|
|
528
|
+
textAlign: string;
|
|
529
|
+
openFontSize: number;
|
|
530
|
+
openLineHeight: number;
|
|
531
|
+
openLetterSpacing: number;
|
|
532
|
+
openWordSpacing: number;
|
|
533
|
+
openTextAppearance: {
|
|
534
|
+
textTransform: string;
|
|
535
|
+
textDecoration: string;
|
|
536
|
+
fontVariant: string;
|
|
537
|
+
};
|
|
538
|
+
openTextAlign: string;
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
layout: string[];
|
|
542
|
+
};
|
|
543
|
+
panels: ({
|
|
544
|
+
id: string;
|
|
545
|
+
icon: string;
|
|
546
|
+
title: string;
|
|
547
|
+
tooltip: string;
|
|
548
|
+
layout: (string | {
|
|
549
|
+
type: "row";
|
|
550
|
+
items: string[];
|
|
551
|
+
})[];
|
|
552
|
+
} | {
|
|
553
|
+
id: string;
|
|
554
|
+
icon: string;
|
|
555
|
+
title: string;
|
|
556
|
+
tooltip: string;
|
|
557
|
+
layout: (string | {
|
|
558
|
+
type: "tab";
|
|
559
|
+
id: string;
|
|
560
|
+
tabs: {
|
|
561
|
+
Closed: (string | {
|
|
562
|
+
type: "row";
|
|
563
|
+
items: string[];
|
|
564
|
+
})[];
|
|
565
|
+
Open: (string | {
|
|
566
|
+
type: "row";
|
|
567
|
+
items: string[];
|
|
568
|
+
})[];
|
|
569
|
+
};
|
|
570
|
+
})[];
|
|
571
|
+
})[];
|
|
572
|
+
paletteBookmark: {
|
|
573
|
+
items: ("iconColor" | "linkColor" | "closeButtonColor" | "socialIconColor" | "menuBackgroundColor" | "overlayColor" | "panelColor")[];
|
|
574
|
+
panelIds: string[];
|
|
575
|
+
stateItems: {
|
|
576
|
+
default: string[];
|
|
577
|
+
hover: string[];
|
|
578
|
+
onScroll: string[];
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
states: string[];
|
|
582
|
+
navigationStates: string[];
|
|
583
|
+
navigationStateProperties: ("fontSize" | "letterSpacing" | "lineHeight" | "wordSpacing" | "textAppearance" | "iconSize" | "panelHeight" | "logoMaxWidth" | "navGap" | "navPaddingRight" | "navTextWidth")[];
|
|
584
|
+
};
|
|
585
|
+
sourceCode: string;
|
|
586
|
+
assetsPaths: {
|
|
587
|
+
content: never[];
|
|
588
|
+
parameters: {
|
|
589
|
+
path: string;
|
|
590
|
+
}[];
|
|
591
|
+
};
|
|
592
|
+
fontSettingsPaths: {
|
|
593
|
+
content: never[];
|
|
594
|
+
parameters: {
|
|
595
|
+
path: string;
|
|
596
|
+
}[];
|
|
597
|
+
};
|
|
598
|
+
fontRelations: {
|
|
599
|
+
fontSettings: string;
|
|
600
|
+
openFontSettings: string;
|
|
601
|
+
};
|
|
602
|
+
};
|