react-minolith 0.0.28 → 0.0.29

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.
@@ -1,23 +1,23 @@
1
- const d = "minolith-";
2
- function h(l, t, s, i) {
1
+ const l = "minolith-";
2
+ function h(d, t, s, i) {
3
3
  const e = [];
4
4
  return t && (t.fore && e.push(
5
- `--${d}color-${l}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-fore: ${t.fore.startsWith("--") ? `var(${t.fore});` : `${t.fore};`}`
5
+ `--${l}color-${d}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-fore: ${t.fore.startsWith("--") ? `var(${t.fore});` : `${t.fore};`}`
6
6
  ), t.back && e.push(
7
- `--${d}color-${l}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-back: ${t.back.startsWith("--") ? `var(${t.back});` : `${t.back};`}`
7
+ `--${l}color-${d}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-back: ${t.back.startsWith("--") ? `var(${t.back});` : `${t.back};`}`
8
8
  ), t.border && e.push(
9
- `--${d}color-${l}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-border: ${t.border.startsWith("--") ? `var(${t.border});` : `${t.border};`}`
9
+ `--${l}color-${d}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-border: ${t.border.startsWith("--") ? `var(${t.border});` : `${t.border};`}`
10
10
  ), t.shadow && e.push(
11
- `--${d}color-${l}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-shadow: ${t.shadow.startsWith("--") ? `var(${t.shadow});` : `${t.shadow};`}`
11
+ `--${l}color-${d}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-shadow: ${t.shadow.startsWith("--") ? `var(${t.shadow});` : `${t.shadow};`}`
12
12
  ), t.placeholder && e.push(
13
- `--${d}color-${l}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-placeholder: ${t.placeholder.startsWith("--") ? `var(${t.placeholder});` : `${t.placeholder};`}`
13
+ `--${l}color-${d}${s ? `-${s}` : ""}${i ? `-${i}` : ""}-placeholder: ${t.placeholder.startsWith("--") ? `var(${t.placeholder});` : `${t.placeholder};`}`
14
14
  )), e;
15
15
  }
16
- function f(l, t, s) {
16
+ function f(d, t, s) {
17
17
  const i = [];
18
18
  if (t.default) {
19
19
  const e = h(
20
- l,
20
+ d,
21
21
  t.default,
22
22
  void 0,
23
23
  s
@@ -26,7 +26,7 @@ function f(l, t, s) {
26
26
  }
27
27
  if (t.hover) {
28
28
  const e = h(
29
- l,
29
+ d,
30
30
  t.hover,
31
31
  "hover",
32
32
  s
@@ -35,7 +35,7 @@ function f(l, t, s) {
35
35
  }
36
36
  if (t.focus) {
37
37
  const e = h(
38
- l,
38
+ d,
39
39
  t.focus,
40
40
  "focus",
41
41
  s
@@ -44,7 +44,7 @@ function f(l, t, s) {
44
44
  }
45
45
  if (t.active) {
46
46
  const e = h(
47
- l,
47
+ d,
48
48
  t.active,
49
49
  "active",
50
50
  s
@@ -53,7 +53,7 @@ function f(l, t, s) {
53
53
  }
54
54
  if (t.disabled) {
55
55
  const e = h(
56
- l,
56
+ d,
57
57
  t.disabled,
58
58
  "disabled",
59
59
  s
@@ -62,253 +62,253 @@ function f(l, t, s) {
62
62
  }
63
63
  return i;
64
64
  }
65
- function r(l, t) {
65
+ function r(d, t) {
66
66
  const s = [];
67
- if (l.default) {
67
+ if (d.default) {
68
68
  const i = f(
69
69
  "default",
70
- l.default,
70
+ d.default,
71
71
  t
72
72
  );
73
73
  i.length > 0 && s.push(...i);
74
74
  }
75
- if (l.gray) {
76
- const i = f("gray", l.gray, t);
75
+ if (d.gray) {
76
+ const i = f("gray", d.gray, t);
77
77
  i.length > 0 && s.push(...i);
78
78
  }
79
- if (l.red) {
80
- const i = f("red", l.red, t);
79
+ if (d.red) {
80
+ const i = f("red", d.red, t);
81
81
  i.length > 0 && s.push(...i);
82
82
  }
83
- if (l.orange) {
84
- const i = f("orange", l.orange, t);
83
+ if (d.orange) {
84
+ const i = f("orange", d.orange, t);
85
85
  i.length > 0 && s.push(...i);
86
86
  }
87
- if (l.yellow) {
88
- const i = f("yellow", l.yellow, t);
87
+ if (d.yellow) {
88
+ const i = f("yellow", d.yellow, t);
89
89
  i.length > 0 && s.push(...i);
90
90
  }
91
- if (l.green) {
92
- const i = f("green", l.green, t);
91
+ if (d.green) {
92
+ const i = f("green", d.green, t);
93
93
  i.length > 0 && s.push(...i);
94
94
  }
95
- if (l.cyan) {
96
- const i = f("cyan", l.cyan, t);
95
+ if (d.cyan) {
96
+ const i = f("cyan", d.cyan, t);
97
97
  i.length > 0 && s.push(...i);
98
98
  }
99
- if (l.blue) {
100
- const i = f("blue", l.blue, t);
99
+ if (d.blue) {
100
+ const i = f("blue", d.blue, t);
101
101
  i.length > 0 && s.push(...i);
102
102
  }
103
- if (l.violet) {
104
- const i = f("violet", l.violet, t);
103
+ if (d.violet) {
104
+ const i = f("violet", d.violet, t);
105
105
  i.length > 0 && s.push(...i);
106
106
  }
107
- if (l.magenta) {
107
+ if (d.magenta) {
108
108
  const i = f(
109
109
  "magenta",
110
- l.magenta,
110
+ d.magenta,
111
111
  t
112
112
  );
113
113
  i.length > 0 && s.push(...i);
114
114
  }
115
115
  return s;
116
116
  }
117
- function n(l) {
117
+ function n(d) {
118
118
  const t = [];
119
- if (l.badge) {
119
+ if (d.badge) {
120
120
  const s = r(
121
- l.badge,
121
+ d.badge,
122
122
  "badge"
123
123
  );
124
124
  s.length > 0 && t.push(...s);
125
125
  }
126
- if (l.accordion) {
127
- const s = r(l.accordion, "accordion");
128
- if (s.length > 0 && t.push(...s), l.accordion.accordionSummary) {
126
+ if (d.accordion) {
127
+ const s = r(d.accordion, "accordion");
128
+ if (s.length > 0 && t.push(...s), d.accordion.accordionSummary) {
129
129
  const i = r(
130
- l.accordion.accordionSummary,
130
+ d.accordion.accordionSummary,
131
131
  "accordion-summary"
132
132
  );
133
133
  i.length > 0 && t.push(...i);
134
134
  }
135
- if (l.accordion.accordionDetails) {
135
+ if (d.accordion.accordionDetails) {
136
136
  const i = r(
137
- l.accordion.accordionDetails,
137
+ d.accordion.accordionDetails,
138
138
  "accordion-details"
139
139
  );
140
140
  i.length > 0 && t.push(...i);
141
141
  }
142
142
  }
143
- if (l.button) {
143
+ if (d.button) {
144
144
  const s = r(
145
- l.button,
145
+ d.button,
146
146
  "button"
147
147
  );
148
148
  s.length > 0 && t.push(...s);
149
149
  }
150
- if (l.card) {
151
- const s = r(l.card, "card");
152
- if (s.length > 0 && t.push(...s), l.card.cardHeader) {
150
+ if (d.card) {
151
+ const s = r(d.card, "card");
152
+ if (s.length > 0 && t.push(...s), d.card.cardHeader) {
153
153
  const i = r(
154
- l.card.cardHeader,
154
+ d.card.cardHeader,
155
155
  "card-header"
156
156
  );
157
157
  i.length > 0 && t.push(...i);
158
158
  }
159
- if (l.card.cardBody) {
159
+ if (d.card.cardBody) {
160
160
  const i = r(
161
- l.card.cardBody,
161
+ d.card.cardBody,
162
162
  "card-body"
163
163
  );
164
164
  i.length > 0 && t.push(...i);
165
165
  }
166
- if (l.card.cardFooter) {
166
+ if (d.card.cardFooter) {
167
167
  const i = r(
168
- l.card.cardFooter,
168
+ d.card.cardFooter,
169
169
  "card-footer"
170
170
  );
171
171
  i.length > 0 && t.push(...i);
172
172
  }
173
173
  }
174
- if (l.dialogue) {
175
- const s = r(l.dialogue, "dialogue");
176
- if (s.length > 0 && t.push(...s), l.dialogue.dialogueAvatar) {
174
+ if (d.dialogue) {
175
+ const s = r(d.dialogue, "dialogue");
176
+ if (s.length > 0 && t.push(...s), d.dialogue.dialogueAvatar) {
177
177
  const i = r(
178
- l.dialogue.dialogueAvatar,
178
+ d.dialogue.dialogueAvatar,
179
179
  "dialogue-avatar"
180
180
  );
181
181
  i.length > 0 && t.push(...i);
182
182
  }
183
- if (l.dialogue.dialogueName) {
183
+ if (d.dialogue.dialogueName) {
184
184
  const i = r(
185
- l.dialogue.dialogueName,
185
+ d.dialogue.dialogueName,
186
186
  "dialogue-name"
187
187
  );
188
188
  i.length > 0 && t.push(...i);
189
189
  }
190
- if (l.dialogue.dialogueMessage) {
190
+ if (d.dialogue.dialogueMessage) {
191
191
  const i = r(
192
- l.dialogue.dialogueMessage,
192
+ d.dialogue.dialogueMessage,
193
193
  "dialogue-message"
194
194
  );
195
195
  i.length > 0 && t.push(...i);
196
196
  }
197
197
  }
198
- if (l.header) {
198
+ if (d.header) {
199
199
  const s = r(
200
- l.header,
200
+ d.header,
201
201
  "header"
202
202
  );
203
203
  s.length > 0 && t.push(...s);
204
204
  }
205
- if (l.label) {
205
+ if (d.label) {
206
206
  const s = r(
207
- l.label,
207
+ d.label,
208
208
  "label"
209
209
  );
210
210
  s.length > 0 && t.push(...s);
211
211
  }
212
- if (l.link) {
212
+ if (d.link) {
213
213
  const s = r(
214
- l.link,
214
+ d.link,
215
215
  "link"
216
216
  );
217
217
  s.length > 0 && t.push(...s);
218
218
  }
219
- if (l.loader) {
219
+ if (d.loader) {
220
220
  const s = r(
221
- l.loader,
221
+ d.loader,
222
222
  "loader"
223
223
  );
224
224
  s.length > 0 && t.push(...s);
225
225
  }
226
- if (l.message) {
226
+ if (d.message) {
227
227
  const s = r(
228
- l.message,
228
+ d.message,
229
229
  "message"
230
230
  );
231
- if (s.length > 0 && t.push(...s), l.message.messageHeader) {
231
+ if (s.length > 0 && t.push(...s), d.message.messageHeader) {
232
232
  const i = r(
233
- l.message.messageHeader,
233
+ d.message.messageHeader,
234
234
  "message-header"
235
235
  );
236
236
  i.length > 0 && t.push(...i);
237
237
  }
238
- if (l.message.messageBody) {
238
+ if (d.message.messageBody) {
239
239
  const i = r(
240
- l.message.messageBody,
240
+ d.message.messageBody,
241
241
  "message-body"
242
242
  );
243
243
  i.length > 0 && t.push(...i);
244
244
  }
245
245
  }
246
- if (l.progress) {
246
+ if (d.progress) {
247
247
  const s = r(
248
- l.progress,
248
+ d.progress,
249
249
  "progress"
250
250
  );
251
251
  s.length > 0 && t.push(...s);
252
252
  }
253
253
  return t;
254
254
  }
255
- function c(l) {
256
- const t = [], s = o(l), i = $(l), e = y(l);
255
+ function c(d) {
256
+ const t = [], s = o(d), i = $(d), e = y(d);
257
257
  return s.length > 0 && t.push(`:root{${s.join("")}}`), i.length > 0 && t.push(`:root{${i.join("")}}`), i.length > 0 && t.push(
258
258
  `[data-color-scheme="light"]{${i.join("")}}`
259
259
  ), e.length > 0 && t.push(
260
260
  `[data-color-scheme="dark"]{${e.join("")}}`
261
261
  ), t;
262
262
  }
263
- function o(l) {
263
+ function o(d) {
264
264
  const t = [];
265
- if (l) {
266
- if (l.animation) {
267
- const s = l.animation;
265
+ if (d) {
266
+ if (d.animation) {
267
+ const s = d.animation;
268
268
  s.speedHeavey && t.push(
269
- `--${d}animation-speed-heavy: ${s.speedHeavey};`
269
+ `--${l}animation-speed-heavy: ${s.speedHeavey};`
270
270
  ), s.speedSlower && t.push(
271
- `--${d}animation-speed-slower: ${s.speedSlower};`
271
+ `--${l}animation-speed-slower: ${s.speedSlower};`
272
272
  ), s.speedSlow && t.push(
273
- `--${d}animation-speed-slow: ${s.speedSlow};`
273
+ `--${l}animation-speed-slow: ${s.speedSlow};`
274
274
  ), s.speedNormal && t.push(
275
- `--${d}animation-speed-normal: ${s.speedNormal};`
275
+ `--${l}animation-speed-normal: ${s.speedNormal};`
276
276
  ), s.speedfFast && t.push(
277
- `--${d}animation-speed-fast: ${s.speedfFast};`
277
+ `--${l}animation-speed-fast: ${s.speedfFast};`
278
278
  ), s.speedfFaster && t.push(
279
- `--${d}animation-speed-faster: ${s.speedfFaster};`
279
+ `--${l}animation-speed-faster: ${s.speedfFaster};`
280
280
  ), s.speedfFlash && t.push(
281
- `--${d}animation-speed-flash: ${s.speedfFlash};`
281
+ `--${l}animation-speed-flash: ${s.speedfFlash};`
282
282
  );
283
283
  }
284
- if (l.border) {
285
- const s = l.border;
284
+ if (d.border) {
285
+ const s = d.border;
286
286
  s.borderWidthXThin && t.push(
287
- `--${d}border-width-xthin: ${s.borderWidthXThin};`
287
+ `--${l}border-width-xthin: ${s.borderWidthXThin};`
288
288
  ), s.borderWidthThin && t.push(
289
- `--${d}border-width-thin: ${s.borderWidthThin};`
289
+ `--${l}border-width-thin: ${s.borderWidthThin};`
290
290
  ), s.borderWidthMedium && t.push(
291
- `--${d}border-width-medium: ${s.borderWidthMedium};`
291
+ `--${l}border-width-medium: ${s.borderWidthMedium};`
292
292
  ), s.borderWidthThick && t.push(
293
- `--${d}border-width-thick: ${s.borderWidthThick};`
293
+ `--${l}border-width-thick: ${s.borderWidthThick};`
294
294
  ), s.borderWidthXThick && t.push(
295
- `--${d}border-width-xthick: ${s.borderWidthXThick};`
295
+ `--${l}border-width-xthick: ${s.borderWidthXThick};`
296
296
  ), s.borderRadiusSmall && t.push(
297
- `--${d}border-radius-small: ${s.borderRadiusSmall};`
297
+ `--${l}border-radius-small: ${s.borderRadiusSmall};`
298
298
  ), s.borderRadiusMedium && t.push(
299
- `--${d}border-radius-medium: ${s.borderRadiusMedium};`
299
+ `--${l}border-radius-medium: ${s.borderRadiusMedium};`
300
300
  ), s.borderRadiusLarge && t.push(
301
- `--${d}border-radius-large: ${s.borderRadiusLarge};`
301
+ `--${l}border-radius-large: ${s.borderRadiusLarge};`
302
302
  );
303
303
  }
304
- if (l.color) {
305
- const s = l.color, i = (e, a, g) => {
304
+ if (d.color) {
305
+ const s = d.color, i = (e, a, g) => {
306
306
  if (g) {
307
307
  const u = `${g.lightness}% ${g.chroma} ${g.hue}`;
308
308
  t.push(
309
- `--${d}color-${e}-${a}-oklch: ${u};`
309
+ `--${l}color-${e}-${a}-oklch: ${u};`
310
310
  ), t.push(
311
- `--${d}color-${e}-${a}: oklch(${u});`
311
+ `--${l}color-${e}-${a}: oklch(${u});`
312
312
  );
313
313
  }
314
314
  };
@@ -349,114 +349,134 @@ function o(l) {
349
349
  i(a, "95", e[95]), i(a, "90", e[90]), i(a, "85", e[85]), i(a, "80", e[80]), i(a, "75", e[75]), i(a, "70", e[70]), i(a, "65", e[65]), i(a, "60", e[60]), i(a, "55", e[55]), i(a, "50", e[50]), i(a, "45", e[45]), i(a, "40", e[40]), i(a, "35", e[35]), i(a, "30", e[30]), i(a, "25", e[25]), i(a, "20", e[20]), i(a, "15", e[15]), i(a, "10", e[10]), i(a, "05", e[5]);
350
350
  }
351
351
  }
352
- if (l.miscellaneous) {
353
- const s = l.miscellaneous;
352
+ if (d.miscellaneous) {
353
+ const s = d.miscellaneous;
354
354
  s.zIndexTabula && t.push(
355
- `--${d}z-index-tabula: ${s.zIndexTabula};`
355
+ `--${l}z-index-tabula: ${s.zIndexTabula};`
356
356
  ), s.zIndexModal && t.push(
357
- `--${d}z-index-modal: ${s.zIndexModal};`
357
+ `--${l}z-index-modal: ${s.zIndexModal};`
358
358
  ), s.zIndexModalContent && t.push(
359
- `--${d}z-index-tabula-content: ${s.zIndexModalContent};`
359
+ `--${l}z-index-tabula-content: ${s.zIndexModalContent};`
360
360
  ), s.zIndexHeaderIsSticky && t.push(
361
- `--${d}z-index-header-is-sticky: ${s.zIndexHeaderIsSticky};`
361
+ `--${l}z-index-header-is-sticky: ${s.zIndexHeaderIsSticky};`
362
362
  );
363
363
  }
364
- if (l.typography) {
365
- const s = l.typography;
364
+ if (d.typography) {
365
+ const s = d.typography;
366
366
  s.fontFamily && (s.fontFamily.sansSerif && t.push(
367
- `--${d}font-family-sans-serif: ${s.fontFamily.sansSerif};`
367
+ `--${l}font-family-sans-serif: ${s.fontFamily.sansSerif};`
368
368
  ), s.fontFamily.serif && t.push(
369
- `--${d}font-family-serif: ${s.fontFamily.serif};`
369
+ `--${l}font-family-serif: ${s.fontFamily.serif};`
370
370
  ), s.fontFamily.monospace && t.push(
371
- `--${d}font-family-monospace: ${s.fontFamily.monospace};`
371
+ `--${l}font-family-monospace: ${s.fontFamily.monospace};`
372
372
  ), s.fontFamily.main && t.push(
373
- `--${d}font-family-main: ${s.fontFamily.main};`
373
+ `--${l}font-family-main: ${s.fontFamily.main};`
374
374
  ), s.fontFamily.heading && t.push(
375
- `--${d}font-family-heading: ${s.fontFamily.heading};`
375
+ `--${l}font-family-heading: ${s.fontFamily.heading};`
376
376
  ), s.fontFamily.code && t.push(
377
- `--${d}font-family-code: ${s.fontFamily.code};`
377
+ `--${l}font-family-code: ${s.fontFamily.code};`
378
378
  )), s.fontSize && (s.fontSize.xsmall && t.push(
379
- `--${d}font-size-xsmall: ${s.fontSize.xsmall};`
379
+ `--${l}font-size-xsmall: ${s.fontSize.xsmall};`
380
380
  ), s.fontSize.small && t.push(
381
- `--${d}font-size-small: ${s.fontSize.small};`
381
+ `--${l}font-size-small: ${s.fontSize.small};`
382
382
  ), s.fontSize.normal && t.push(
383
- `--${d}font-size-normal: ${s.fontSize.normal};`
383
+ `--${l}font-size-normal: ${s.fontSize.normal};`
384
384
  ), s.fontSize.medium && t.push(
385
- `--${d}font-size-medium: ${s.fontSize.medium};`
385
+ `--${l}font-size-medium: ${s.fontSize.medium};`
386
386
  ), s.fontSize.large && t.push(
387
- `--${d}font-size-large: ${s.fontSize.large};`
387
+ `--${l}font-size-large: ${s.fontSize.large};`
388
388
  ), s.fontSize.xlarge && t.push(
389
- `--${d}font-size-xlarge: ${s.fontSize.xlarge};`
389
+ `--${l}font-size-xlarge: ${s.fontSize.xlarge};`
390
390
  ), s.fontSize.xxlarge && t.push(
391
- `--${d}font-size-xxlarge: ${s.fontSize.xxlarge};`
391
+ `--${l}font-size-xxlarge: ${s.fontSize.xxlarge};`
392
392
  ), s.fontSize.xxxlarge && t.push(
393
- `--${d}font-size-xxxlarge: ${s.fontSize.xxxlarge};`
393
+ `--${l}font-size-xxxlarge: ${s.fontSize.xxxlarge};`
394
394
  ), s.fontSize.xxxxlarge && t.push(
395
- `--${d}font-size-xxxxlarge: ${s.fontSize.xxxxlarge};`
395
+ `--${l}font-size-xxxxlarge: ${s.fontSize.xxxxlarge};`
396
396
  ), s.fontSize.xxxxxlarge && t.push(
397
- `--${d}font-size-xxxxxlarge: ${s.fontSize.xxxxxlarge};`
397
+ `--${l}font-size-xxxxxlarge: ${s.fontSize.xxxxxlarge};`
398
398
  )), s.fontWeight && (s.fontWeight.light && t.push(
399
- `--${d}font-weight-light: ${s.fontWeight.light};`
399
+ `--${l}font-weight-light: ${s.fontWeight.light};`
400
400
  ), s.fontWeight.normal && t.push(
401
- `--${d}font-weight-normal: ${s.fontWeight.normal};`
401
+ `--${l}font-weight-normal: ${s.fontWeight.normal};`
402
402
  ), s.fontWeight.medium && t.push(
403
- `--${d}font-weight-medium: ${s.fontWeight.medium};`
403
+ `--${l}font-weight-medium: ${s.fontWeight.medium};`
404
404
  ), s.fontWeight.semibold && t.push(
405
- `--${d}font-weight-semibold: ${s.fontWeight.semibold};`
405
+ `--${l}font-weight-semibold: ${s.fontWeight.semibold};`
406
406
  ), s.fontWeight.bold && t.push(
407
- `--${d}font-weight-bold: ${s.fontWeight.bold};`
407
+ `--${l}font-weight-bold: ${s.fontWeight.bold};`
408
408
  ));
409
409
  }
410
- if (l.components) {
411
- const s = l.components;
410
+ if (d.components) {
411
+ const s = d.components;
412
412
  if (s.breadcrumbs) {
413
413
  const i = s.breadcrumbs;
414
414
  i.breadcrumbDivider && t.push(
415
- `--${d}breadcrumb-divider: ${i.breadcrumbDivider};`
415
+ `--${l}breadcrumb-divider: ${i.breadcrumbDivider};`
416
416
  );
417
417
  }
418
418
  if (s.button) {
419
419
  const i = s.button;
420
420
  i.paddingX && t.push(
421
- `--${d}button-padding-x: ${i.paddingX};`
421
+ `--${l}button-padding-x: ${i.paddingX};`
422
422
  ), i.paddingY && t.push(
423
- `--${d}button-padding-y: ${i.paddingY};`
423
+ `--${l}button-padding-y: ${i.paddingY};`
424
424
  );
425
425
  }
426
426
  if (s.dialogue) {
427
427
  const i = s.dialogue;
428
428
  i.avatarSizeDefault && t.push(
429
- `--${d}dialogue-avatar-size-default: ${i.avatarSizeDefault};`
429
+ `--${l}dialogue-avatar-size-default: ${i.avatarSizeDefault};`
430
430
  ), i.avatarSizeSmall && t.push(
431
- `--${d}dialogue-avatar-size-small: ${i.avatarSizeSmall};`
431
+ `--${l}dialogue-avatar-size-small: ${i.avatarSizeSmall};`
432
432
  ), i.avatarSizeLarge && t.push(
433
- `--${d}dialogue-avatar-size-large: ${i.avatarSizeLarge};`
433
+ `--${l}dialogue-avatar-size-large: ${i.avatarSizeLarge};`
434
434
  ), i.avatarTopOffset && t.push(
435
- `--${d}dialogue-avatar-top-offset: ${i.avatarTopOffset};`
435
+ `--${l}dialogue-avatar-top-offset: ${i.avatarTopOffset};`
436
436
  ), i.nameFontSize && (i.nameFontSize.includes("rem"), t.push(
437
- `--${d}dialogue-name-font-size: ${i.nameFontSize};`
437
+ `--${l}dialogue-name-font-size: ${i.nameFontSize};`
438
438
  )), i.namePaddingX && t.push(
439
- `--${d}dialogue-name-padding-x: ${i.namePaddingX};`
439
+ `--${l}dialogue-name-padding-x: ${i.namePaddingX};`
440
440
  ), i.namePaddingY && t.push(
441
- `--${d}dialogue-name-padding-y: ${i.namePaddingY};`
441
+ `--${l}dialogue-name-padding-y: ${i.namePaddingY};`
442
442
  ), i.messageArrowHeight && t.push(
443
- `--${d}dialogue-messege-arrow-height: ${i.messageArrowHeight};`
443
+ `--${l}dialogue-messege-arrow-height: ${i.messageArrowHeight};`
444
444
  ), i.messageArrowWidth && t.push(
445
- `--${d}dialogue-messege-arrow-width: ${i.messageArrowWidth};`
445
+ `--${l}dialogue-messege-arrow-width: ${i.messageArrowWidth};`
446
446
  ), i.messageInnerPaddingX && t.push(
447
- `--${d}dialogue-message-inner-padding-x: ${i.messageInnerPaddingX};`
447
+ `--${l}dialogue-message-inner-padding-x: ${i.messageInnerPaddingX};`
448
448
  ), i.messageInnerPaddingY && t.push(
449
- `--${d}dialogue-message-inner-padding-y: ${i.messageInnerPaddingY};`
449
+ `--${l}dialogue-message-inner-padding-y: ${i.messageInnerPaddingY};`
450
+ );
451
+ }
452
+ if (s.header) {
453
+ const i = s.header;
454
+ i.backdropFilter && t.push(
455
+ `--${l}header-backdrop-filter: ${i.backdropFilter};`
456
+ ), i.zIndexIsSticky && (i.zIndexIsSticky === "auto" ? t.push(
457
+ `--${l}header-z-index-is-sticky: "auto";`
458
+ ) : t.push(
459
+ `--${l}header-z-index-is-sticky: ${i.zIndexIsSticky};`
460
+ )), i.zIndexIsFixed && (i.zIndexIsFixed === "auto" ? t.push(
461
+ `--${l}header-z-index-is-fixed: "auto";`
462
+ ) : t.push(
463
+ `--${l}header-z-index-is-fixed: ${i.zIndexIsFixed};`
464
+ ));
465
+ }
466
+ if (s.heading) {
467
+ const i = s.heading;
468
+ i.fontFamily && t.push(
469
+ `--${l}font-family-heading: ${i.fontFamily};`
450
470
  );
451
471
  }
452
472
  }
453
473
  }
454
474
  return t;
455
475
  }
456
- function $(l) {
476
+ function $(d) {
457
477
  const t = [];
458
- if (l && l.color) {
459
- const s = l.color;
478
+ if (d && d.color) {
479
+ const s = d.color;
460
480
  if (s.light) {
461
481
  if (s.light.default) {
462
482
  const i = f("default", s.light.default);
@@ -502,10 +522,10 @@ function $(l) {
502
522
  }
503
523
  return t;
504
524
  }
505
- function y(l) {
525
+ function y(d) {
506
526
  const t = [];
507
- if (l && l.color) {
508
- const s = l.color;
527
+ if (d && d.color) {
528
+ const s = d.color;
509
529
  if (s.dark) {
510
530
  if (s.dark.default) {
511
531
  const i = f("default", s.dark.default);