sunpeak 0.13.10 → 0.13.11

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.
@@ -6328,6 +6328,10 @@ background-color: var(--gray-200);
6328
6328
  min-height: calc(var(--spacing) * 8);
6329
6329
  }
6330
6330
 
6331
+ .min-h-dvh {
6332
+ min-height: 100dvh;
6333
+ }
6334
+
6331
6335
  .w-1 {
6332
6336
  width: calc(var(--spacing) * 1);
6333
6337
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const chatgpt_index = require("../index-BhfrUoaZ.cjs");
3
+ const chatgpt_index = require("../index-Cdeg96So.cjs");
4
4
  const discovery = require("../discovery-CRR3SlyI.cjs");
5
5
  exports.ChatGPTSimulator = chatgpt_index.ChatGPTSimulator;
6
6
  exports.IframeResource = chatgpt_index.IframeResource;
@@ -1,4 +1,4 @@
1
- import { C, I, M, S, T, a, e, u } from "../index-D6Z9ZDNT.js";
1
+ import { C, I, M, S, T, a, e, u } from "../index-CJ3jfcjj.js";
2
2
  import { a as a2, b, d, c, e as e2, f, g, h, i, j, k, l, t } from "../discovery-COZUnY6a.js";
3
3
  export {
4
4
  C as ChatGPTSimulator,
@@ -14408,16 +14408,17 @@ function generateScriptHtml(scriptSrc, theme, cspPolicy) {
14408
14408
  <meta http-equiv="Content-Security-Policy" content="${safeCsp}" />
14409
14409
  <title>Resource</title>
14410
14410
  <style>
14411
+ html {
14412
+ /* Set color-scheme before the resource script loads so system UI (scrollbars,
14413
+ form elements) is themed correctly from first paint. Once the script loads,
14414
+ applyDocumentTheme() takes over with an inline style. */
14415
+ color-scheme: ${safeTheme};
14416
+ }
14411
14417
  html, body, #root {
14412
14418
  margin: 0;
14413
14419
  padding: 0;
14414
14420
  width: 100%;
14415
- /* Use min-height instead of height so body sizes to content.
14416
- This allows ResizeObserver to detect content changes and
14417
- report accurate intrinsic height to the host. */
14418
- min-height: 100%;
14419
- background: transparent;
14420
- color-scheme: dark light;
14421
+ background-color: var(--color-surface);
14421
14422
  }
14422
14423
  </style>
14423
14424
  <script>${PAINT_FENCE_SCRIPT}<\/script>
@@ -15127,4 +15128,4 @@ export {
15127
15128
  index as i,
15128
15129
  useThemeContext as u
15129
15130
  };
15130
- //# sourceMappingURL=index-D6Z9ZDNT.js.map
15131
+ //# sourceMappingURL=index-CJ3jfcjj.js.map