vowel 0.1.30 → 0.1.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vowel",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "bin": "./bin.js",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -288,46 +288,46 @@ article.item dl.icon {
288
288
  }
289
289
 
290
290
  aside.alert.note {
291
- --icon: 'ℹ️';
292
- --rgb: 71, 139, 230;
293
- }
291
+ --icon: 'ℹ️';
292
+ --rgb: 71, 139, 230;
293
+ }
294
294
 
295
295
  aside.alert.tip {
296
- --icon: '💡';
297
- --rgb: 87, 171, 90;
298
- }
296
+ --icon: '💡';
297
+ --rgb: 87, 171, 90;
298
+ }
299
299
 
300
300
  aside.alert.important {
301
- --icon: '💬';
302
- --rgb: 152, 110, 226;
303
- }
301
+ --icon: '💬';
302
+ --rgb: 152, 110, 226;
303
+ }
304
304
 
305
305
  aside.alert.warning {
306
- --icon: '⚠️';
307
- --rgb: 198, 144, 38;
308
- }
306
+ --icon: '⚠️';
307
+ --rgb: 198, 144, 38;
308
+ }
309
309
 
310
310
  aside.alert.caution {
311
- --icon: '⛔️';
312
- --rgb: 229, 83, 75;
313
- }
311
+ --icon: '⛔️';
312
+ --rgb: 229, 83, 75;
313
+ }
314
314
 
315
315
  aside.alert {
316
316
  border-left: 3px solid rgb(var(--rgb));
317
317
  padding: 1.5rem 2rem;
318
318
  background: rgba(var(--rgb), 0.04);
319
+ }
319
320
 
320
- h2 {
321
- color: rgb(var(--rgb));
322
- }
321
+ aside.alert h2 {
322
+ color: rgb(var(--rgb));
323
+ }
323
324
 
324
- h2:before {
325
- font-size: 0.8em;
326
- margin-right: 0.7rem;
327
- opacity: 0.9;
328
- }
325
+ aside.alert h2:before {
326
+ font-size: 0.8em;
327
+ margin-right: 0.7rem;
328
+ opacity: 0.9;
329
+ }
329
330
 
330
- h2:before {
331
- content: var(--icon);
332
- }
331
+ aside.alert h2:before {
332
+ content: var(--icon);
333
333
  }
@@ -23,7 +23,10 @@
23
23
  default: DefaultStyles
24
24
  };
25
25
 
26
- let { data } = $props();
26
+ // propData is a workaround due to a seeming bug in Svelte
27
+ let { data: propData } = $props();
28
+
29
+ const data = $state(JSON.parse(JSON.stringify(propData, null, 2)))
27
30
 
28
31
  const { website, folderName } = $derived(data);
29
32