ponzu 1.78.1 → 1.78.2

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/chromium.js CHANGED
@@ -11817,7 +11817,7 @@ var SYSTEM = new Set([
11817
11817
 
11818
11818
  // packages/render/src/document.ts
11819
11819
  var ARTBOARD_BASE_CSS = `
11820
- [data-artboard] { display: flex; flex-direction: column; position: relative; overflow: hidden; box-sizing: border-box; background: #fff; color: #000; }
11820
+ [data-artboard] { display: flex; flex-direction: column; position: relative; overflow: hidden; box-sizing: border-box; background: #fff; color: #000; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
11821
11821
  [data-artboard] *, [data-artboard] *::before, [data-artboard] *::after { box-sizing: border-box; }
11822
11822
  [data-artboard] img, [data-artboard] video, [data-artboard] svg { max-width: none; }
11823
11823
  `;
package/dist/index.js CHANGED
@@ -41737,7 +41737,7 @@ var SYSTEM = new Set([
41737
41737
 
41738
41738
  // packages/render/src/document.ts
41739
41739
  var ARTBOARD_BASE_CSS = `
41740
- [data-artboard] { display: flex; flex-direction: column; position: relative; overflow: hidden; box-sizing: border-box; background: #fff; color: #000; }
41740
+ [data-artboard] { display: flex; flex-direction: column; position: relative; overflow: hidden; box-sizing: border-box; background: #fff; color: #000; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
41741
41741
  [data-artboard] *, [data-artboard] *::before, [data-artboard] *::after { box-sizing: border-box; }
41742
41742
  [data-artboard] img, [data-artboard] video, [data-artboard] svg { max-width: none; }
41743
41743
  `;
@@ -49938,7 +49938,7 @@ function remoteUpdater(endpoint, token) {
49938
49938
  // apps/cli/package.json
49939
49939
  var package_default = {
49940
49940
  name: "ponzu",
49941
- version: "1.78.1",
49941
+ version: "1.78.2",
49942
49942
  description: "The open source canvas your agent draws on in HTML and CSS.",
49943
49943
  type: "module",
49944
49944
  license: "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ponzu",
3
- "version": "1.78.1",
3
+ "version": "1.78.2",
4
4
  "description": "The open source canvas your agent draws on in HTML and CSS.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -2044,7 +2044,7 @@ Zilla Slab Highlight;400,700
2044
2044
  }
2045
2045
  return issues;
2046
2046
  })()`,ft=new Set([`serif`,`sans-serif`,`monospace`,`cursive`,`fantasy`,`system-ui`,`ui-sans-serif`,`ui-serif`,`ui-monospace`,`ui-rounded`,`math`,`emoji`,`fangsong`,`inherit`,`initial`,`unset`,`revert`]),pt=new Set([`-apple-system`,`blinkmacsystemfont`,`segoe ui`,`helvetica`,`helvetica neue`,`arial`,`sf pro`,`sf pro text`,`sf pro display`,`sf mono`,`menlo`,`monaco`,`consolas`,`times`,`times new roman`,`georgia`,`courier`,`courier new`,`apple color emoji`]),mt=`
2047
- [data-artboard] { display: flex; flex-direction: column; position: relative; overflow: hidden; box-sizing: border-box; background: #fff; color: #000; }
2047
+ [data-artboard] { display: flex; flex-direction: column; position: relative; overflow: hidden; box-sizing: border-box; background: #fff; color: #000; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
2048
2048
  [data-artboard] *, [data-artboard] *::before, [data-artboard] *::after { box-sizing: border-box; }
2049
2049
  [data-artboard] img, [data-artboard] video, [data-artboard] svg { max-width: none; }
2050
2050
  `;function ht(e){return e.replace(/<\/(style)/gi,`<\\/$1`)}function gt(e,t){return e.replace(/\(\s*prefers-color-scheme\s*:\s*(light|dark)\s*\)/gi,(e,n)=>n.toLowerCase()===t?`(min-width: 0px)`:`(not (min-width: 0px))`)}var _t=[256,512,1024,2048,4096,8192];function vt(e){for(let t of _t)if(t>=e)return t;return _t[_t.length-1]}var yt=/\.(jpe?g|png|webp|avif|bmp|gif)$/i;function bt(e){let t=e.replace(/[?#].*$/,``);return yt.test(t)}function xt(e,t,n){let r=n.replace(/\/$/,``);if(e.startsWith(`${r}/assets/`)){let n=e.replace(/([?&])w=\d+(&|$)/,(e,t,n)=>n?t:``),r=n.indexOf(`#`),i=r<0?n:n.slice(0,r),a=r<0?``:n.slice(r);return`${i}${i.includes(`?`)?`&`:`?`}w=${t}${a}`}return/^https?:\/\//i.test(e)&&!e.startsWith(`${wt(r)}/`)?`${wt(r)}/api/image?w=${t}&url=${encodeURIComponent(e)}`:null}function St(e,t){let n=t.replace(/\/$/,``),r=`${wt(n)}/api/image?`;return e.startsWith(r)?new URLSearchParams(e.slice(r.length)).get(`url`)??e:e.startsWith(`${n}/assets/`)&&/[?&]w=\d+/.test(e)?e.replace(/([?&])w=\d+(&?)/,(e,t,n)=>n?t:``).replace(/[?&]$/,``):e}function Ct(e,t,n){let r=t.replace(/\/$/,``);if(e.startsWith(`${r}/assets/`))return bt(e);if(!/^https?:\/\//i.test(e)||e.startsWith(`${wt(r)}/`))return!1;if(bt(e))return!0;let i=n?.tag.toLowerCase();return i===`img`&&(n.attr===`src`||n.attr===`srcset`)||i===`source`&&n.attr===`srcset`||i===`image`&&(n.attr===`href`||n.attr===`xlink:href`)}function wt(e){let t=/^(https?:\/\/[^/]+)/i.exec(e);return t?t[1]:``}function Tt(e,t){return t?Se(e,e=>Dt(e,t)):e}function Et(e){return e.match(/@font-face\s*\{[^}]*\}/gi)??[]}function Dt(e,t){if(!t||/^(https?:|data:|blob:|#|\/\/)/i.test(e))return e;let n=e.replace(/^(\.\.\/)+/,``).replace(/^\.\//,``).replace(/^\//,``);return`${t.replace(/\/$/,``)}/${n}`}var Ot=`(() => {
package/studio/index.html CHANGED
@@ -7,7 +7,7 @@
7
7
  <link rel="icon" href="/favicon.svg" />
8
8
  <link rel="preconnect" href="https://fonts.googleapis.com" />
9
9
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..600&family=Funnel+Display:wght@700&family=IBM+Plex+Mono:wght@400;500&display=swap" />
10
- <script type="module" crossorigin src="/assets/index-hYi5NSUG.js"></script>
10
+ <script type="module" crossorigin src="/assets/index-DSVfDuFP.js"></script>
11
11
  <link rel="stylesheet" crossorigin href="/assets/index-BZh-aQhF.css">
12
12
  </head>
13
13
  <body>