@stacksjs/docs 0.75.537 → 0.75.539

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.
@@ -43,7 +43,7 @@ Read tokens and styles from the production theme in config/style-guide.ts. Keep
43
43
 
44
44
  <a href="${z}/foundations.html">Open branded color and typography specimens</a>
45
45
 
46
- <iframe title="${u(t.brand.name)} foundations" src="${z}/foundations.html" loading="lazy" sandbox="allow-scripts" style="width:100%;height:600px;border:1px solid #8884;border-radius:8px"></iframe>
46
+ <iframe title="${u(t.brand.name)} foundations" src="${z}/foundations.html" loading="lazy" sandbox="allow-scripts allow-forms" style="width:100%;height:600px;border:1px solid #8884;border-radius:8px"></iframe>
47
47
  `);for(let e of k){let s=[],i=[...e.file.content.matchAll(/<script\b[^>]*>[\s\S]*?<\/script>/gi)].map((l)=>l[0]).join(`
48
48
  `),a=[...e.file.content.matchAll(/<style\b[^>]*>[\s\S]*?<\/style>/gi)].map((l)=>l[0]).join(`
49
49
  `);for(let l of e.variants){let v=await Me(`${i}
@@ -52,7 +52,7 @@ ${a}`,e.file.path,{options:{componentsDir:p(n,t.preview?.componentDirs?.[0]||t.s
52
52
  `);let D=t.preview?.appearances||[{name:"Default",bodyClass:t.preview?.bodyClass,background:t.brand.background||"#fff",foreground:t.brand.foreground||"#17202a"}];for(let y of D){let O=`${e.id}-${l.id}-${X(y.name)}.html`,q=he(t,`${e.title}, ${l.title}, ${y.name}`,v,y);m.set(f(c,O),q),s.push(`
53
53
  <a href="${z}/${O}">Open ${u(l.title)} preview (${u(y.name)})</a>
54
54
 
55
- <iframe title="${u(`${e.title}: ${l.title}, ${y.name}`)}" src="${z}/${O}" loading="lazy" sandbox="allow-scripts" style="width:100%;height:440px;border:1px solid #8884;border-radius:8px"></iframe>
55
+ <iframe title="${u(`${e.title}: ${l.title}, ${y.name}`)}" src="${z}/${O}" loading="lazy" sandbox="allow-scripts allow-forms" style="width:100%;height:440px;border:1px solid #8884;border-radius:8px"></iframe>
56
56
  `)}let Oe=[i,l.source,a].filter(Boolean).join(`
57
57
 
58
58
  `);s.push(`
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.537",
5
+ "version": "0.75.539",
6
6
  "description": "The Stacks way to document.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -58,13 +58,13 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@stacksjs/bunpress": "^0.2.25",
61
- "@stacksjs/config": "0.75.537",
62
- "@stacksjs/path": "0.75.537",
61
+ "@stacksjs/config": "0.75.539",
62
+ "@stacksjs/path": "0.75.539",
63
63
  "@stacksjs/stx": "0.2.842"
64
64
  },
65
65
  "devDependencies": {
66
- "@stacksjs/alias": "0.75.537",
67
- "@stacksjs/server": "0.75.537",
66
+ "@stacksjs/alias": "0.75.539",
67
+ "@stacksjs/server": "0.75.539",
68
68
  "better-dx": "^0.2.24"
69
69
  }
70
70
  }