@askrjs/askr 0.0.77 → 0.0.79

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.
Files changed (61) hide show
  1. package/dist/actions/index.d.ts +1 -1
  2. package/dist/actions/index.js +2 -2
  3. package/dist/{activity-DaqZEUPh.d.ts → activity-CXEaU-Al.d.ts} +1 -1
  4. package/dist/{activity-BWQeEtNt.js → activity-DfrtblJA.js} +3 -3
  5. package/dist/{authoring-prA293gq.js → authoring-DE-LH_s-.js} +2 -2
  6. package/dist/benchmark.js +5 -5
  7. package/dist/boot/index.d.ts +4 -4
  8. package/dist/boot/index.js +1 -1
  9. package/dist/{boot-Cc5axhVo.js → boot-jD3P49ST.js} +12 -12
  10. package/dist/{component-internal-TurioKgs.js → component-internal-BuTG89T8.js} +11 -7
  11. package/dist/components/index.d.ts +1 -1
  12. package/dist/control/index.d.ts +1 -1
  13. package/dist/control/index.js +1 -1
  14. package/dist/control-C-ApnFs1.js +20 -0
  15. package/dist/{control-Uvq1GU4K.d.ts → control-Cix3yjVf.d.ts} +7 -1
  16. package/dist/{control-D9UorK1Q.js → control-DQIsWvhr.js} +2 -2
  17. package/dist/{csp-nonce-DYspaK0L.js → csp-nonce-BUsz0Em7.js} +1 -1
  18. package/dist/data/index.d.ts +1 -1
  19. package/dist/data/index.js +3 -3
  20. package/dist/{data-vaClyf1I.js → data-eBdygZ1f.js} +3 -3
  21. package/dist/{data-runtime-rpV6-3XW.js → data-runtime-D68YOo9L.js} +1 -1
  22. package/dist/{deferred-Dfk7vuTX.js → deferred-t79wHqe1.js} +5 -5
  23. package/dist/{for-internal-BM8KbadU.js → for-internal-BnXrQbgo.js} +1 -1
  24. package/dist/foundations/index.d.ts +1 -1
  25. package/dist/foundations/index.js +1 -1
  26. package/dist/foundations/state/index.d.ts +1 -1
  27. package/dist/foundations/structures/index.d.ts +1 -1
  28. package/dist/foundations/structures/index.js +1 -1
  29. package/dist/{index-Bki2rqcr.d.ts → index-5S-fi2xy.d.ts} +17 -17
  30. package/dist/{router-Dd-LoJmM.d.ts → index-TlEvex-C.d.ts} +162 -4
  31. package/dist/{index-CbRdEUPB.d.ts → index-Vs1EeWEr.d.ts} +2 -2
  32. package/dist/{index-acX2RLxD.d.ts → index-ho0Htetw.d.ts} +1 -1
  33. package/dist/index.d.ts +5 -5
  34. package/dist/index.js +8 -7
  35. package/dist/jsx-dev-runtime.js +1 -1
  36. package/dist/jsx-runtime.js +1 -1
  37. package/dist/{lifecycle-operations-DxwqHvyx.js → lifecycle-operations-CN0PiLE_.js} +1 -1
  38. package/dist/{navigate-DlaVqF4n.d.ts → navigate-DfY1BUYc.d.ts} +1 -1
  39. package/dist/{navigate-CwddZjwU.js → navigate-ype2B_M8.js} +6 -6
  40. package/dist/{portal-BsSJusvs.js → portal-BZ_rN17v.js} +14 -13
  41. package/dist/portal-w3oQ6oQU.js +29 -0
  42. package/dist/{query-registry-Bu_cuMch.js → query-registry-BL6rjGsO.js} +1 -1
  43. package/dist/{render-context-Clw3rFiO.js → render-context-D-DFk2WN.js} +13 -1
  44. package/dist/{renderer-Ba-KixHB.js → renderer-CDw8ltTw.js} +952 -763
  45. package/dist/resources/index.d.ts +2 -2
  46. package/dist/resources/index.js +4 -4
  47. package/dist/{route-matching-DqM8k4tZ.js → route-matching-jqwlQJ5g.js} +2 -2
  48. package/dist/router/index.d.ts +4 -4
  49. package/dist/router/index.js +5 -5
  50. package/dist/ssg/index.d.ts +2 -2
  51. package/dist/ssg/index.js +7 -5
  52. package/dist/ssr/index.d.ts +8 -25
  53. package/dist/ssr/index.js +2 -2
  54. package/dist/{ssr-Cv5qWPxz.js → ssr-Dcmi1bZi.js} +53 -24
  55. package/dist/testing/index.d.ts +3 -3
  56. package/dist/testing/index.js +3 -3
  57. package/dist/{verify-hydration-BC5bmXr4.js → verify-hydration-Dfx-ZhbX.js} +1 -1
  58. package/package.json +1 -1
  59. package/dist/control-DhFRTIoE.js +0 -12
  60. package/dist/index-CDACZEF2.d.ts +0 -102
  61. package/dist/index-vo_FDR-B.d.ts +0 -40
@@ -1,4 +1,4 @@
1
- import { c as RenderableChild } from "./control-Uvq1GU4K.js";
1
+ import { c as RenderableChild } from "./control-Cix3yjVf.js";
2
2
  import { r as JSXElement } from "./jsx-Dvr2SGRG.js";
3
3
  import "./types-C9YcqVpk.js";
4
4
  //#region src/runtime/portal.d.ts
@@ -13,7 +13,7 @@ interface PortalProps {
13
13
  }
14
14
  declare function definePortal<T extends RenderableChild = RenderableChild>(): Portal<T>;
15
15
  declare const DefaultPortal: Portal<RenderableChild>;
16
- declare function Portal(props: PortalProps): null;
16
+ declare function Portal(props: PortalProps): JSXElement | null;
17
17
  //#endregion
18
18
  //#region src/foundations/structures/layout.d.ts
19
19
  /**
@@ -1,4 +1,4 @@
1
- import { c as RenderableChild, l as VNode, t as ForEachSource } from "./control-Uvq1GU4K.js";
1
+ import { c as RenderableChild, l as VNode, t as ForEachSource } from "./control-Cix3yjVf.js";
2
2
  import { r as JSXElement } from "./jsx-Dvr2SGRG.js";
3
3
  //#region src/control/shared.d.ts
4
4
  type BoundaryChild = RenderableChild;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { _ as state, a as defineScope, g as StateTuple, h as StateSetter, i as Scope, m as State, o as readScope } from "./control-Uvq1GU4K.js";
1
+ import { _ as StateTuple, a as defineScope, g as StateSetter, h as State, i as Scope, o as readScope, v as state } from "./control-Cix3yjVf.js";
2
2
  import { s as Props, t as Fragment } from "./jsx-Dvr2SGRG.js";
3
- import { a as Selector, c as derive, d as RuntimeKeyedReorderDecision, f as RuntimeRendererHost, h as getSignal, i as cspNonce, l as AskrRuntime, m as getDefaultRuntime, n as createRef, o as selector, p as createRuntime, r as CspNonceScope, s as Derived, t as Ref, u as AskrRuntimeOptions } from "./index-CDACZEF2.js";
4
- import { a as Show, c as ForProps, i as MatchProps, n as CaseProps, o as ShowProps, r as Match, s as For, t as Case } from "./index-acX2RLxD.js";
3
+ import { $ as cspNonce, Q as CspNonceScope, at as AskrRuntimeOptions, c as createRef, ct as createRuntime, d as registerSSRStyle, et as Selector, it as AskrRuntime, lt as getDefaultRuntime, nt as Derived, ot as RuntimeKeyedReorderDecision, rt as derive, s as Ref, st as RuntimeRendererHost, tt as selector, ut as getSignal } from "./index-TlEvex-C.js";
4
+ import { a as Show, c as ForProps, i as MatchProps, n as CaseProps, o as ShowProps, r as Match, s as For, t as Case } from "./index-ho0Htetw.js";
5
+ import { A as ServerQueryHandler, D as QueryPrefetchContext, T as QueryDefinition, a as defineServerQueries, c as prefetchQuery, h as createQuery, i as defineQuery, l as serveQuery, o as dehydrateDataRuntime, s as hydrateDataRuntime, v as DataRuntime } from "./index-5S-fi2xy.js";
5
6
  import { i as jsxs, n as jsx } from "./jsx-runtime-Cr1jspx9.js";
6
- import { A as ServerQueryHandler, D as QueryPrefetchContext, T as QueryDefinition, a as defineServerQueries, c as prefetchQuery, g as createQuery, i as defineQuery, l as serveQuery, o as dehydrateDataRuntime, s as hydrateDataRuntime, v as DataRuntime } from "./index-Bki2rqcr.js";
7
- export { AskrRuntime, type AskrRuntimeOptions, Case, type CaseProps, CspNonceScope, type DataRuntime, type Derived, For, type ForProps, Fragment, Match, type MatchProps, type Props, type QueryDefinition, type QueryPrefetchContext, type Ref, type RuntimeKeyedReorderDecision, type RuntimeRendererHost, type Scope, type Selector, type ServerQueryHandler, Show, type ShowProps, type State, type StateSetter, type StateTuple, createQuery, createRef, createRuntime, cspNonce, defineQuery, defineScope, defineServerQueries, dehydrateDataRuntime, derive, getDefaultRuntime, getSignal, hydrateDataRuntime, jsx, jsxs, prefetchQuery, readScope, selector, serveQuery, state };
7
+ export { AskrRuntime, type AskrRuntimeOptions, Case, type CaseProps, CspNonceScope, type DataRuntime, type Derived, For, type ForProps, Fragment, Match, type MatchProps, type Props, type QueryDefinition, type QueryPrefetchContext, type Ref, type RuntimeKeyedReorderDecision, type RuntimeRendererHost, type Scope, type Selector, type ServerQueryHandler, Show, type ShowProps, type State, type StateSetter, type StateTuple, createQuery, createRef, createRuntime, cspNonce, defineQuery, defineScope, defineServerQueries, dehydrateDataRuntime, derive, getDefaultRuntime, getSignal, hydrateDataRuntime, jsx, jsxs, prefetchQuery, readScope, registerSSRStyle, selector, serveQuery, state };
package/dist/index.js CHANGED
@@ -1,17 +1,18 @@
1
1
  import { a as getRuntimeFlushVersion, d as AskrRuntime, m as getDefaultRuntime, p as createRuntime, t as enqueueRuntimeLane } from "./access-ePqdQqkV.js";
2
2
  import { n as Fragment } from "./jsx-C3IECePB.js";
3
- import { g as readScope, u as defineScope } from "./component-internal-TurioKgs.js";
3
+ import { g as readScope, u as defineScope } from "./component-internal-BuTG89T8.js";
4
4
  import { f as syncDerivedDependencySubscriptions, l as notifyReadableReaders, o as markReactivePropsDirtySource, p as withDerivedReadTracking, r as clearDerivedDependencySubscriptions, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
5
5
  import { g as getSignal, i as claimHookIndex, p as getCurrentInstance } from "./component-scope-DzJEbYGE.js";
6
6
  import { n as isSnapshotSource } from "./snapshot-source-BB42xgwb.js";
7
- import { t as installRendererBridge } from "./renderer-Ba-KixHB.js";
7
+ import { t as installRendererBridge } from "./renderer-CDw8ltTw.js";
8
+ import { a as registerSSRStyle } from "./render-context-D-DFk2WN.js";
8
9
  import { t as state } from "./state-BCl9DeiN.js";
9
10
  import { t as selector } from "./selector-BzPPLXny.js";
10
- import { n as cspNonce, t as CspNonceScope } from "./csp-nonce-DYspaK0L.js";
11
- import { i as For, n as Match, r as Show, t as Case } from "./control-D9UorK1Q.js";
11
+ import { n as cspNonce, t as CspNonceScope } from "./csp-nonce-BUsz0Em7.js";
12
+ import { i as For, n as Match, r as Show, t as Case } from "./control-DQIsWvhr.js";
12
13
  import { jsx, jsxs } from "./jsx-runtime.js";
13
- import { t as createQuery } from "./data-vaClyf1I.js";
14
- import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery } from "./query-registry-Bu_cuMch.js";
14
+ import { t as createQuery } from "./data-eBdygZ1f.js";
15
+ import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery } from "./query-registry-BL6rjGsO.js";
15
16
  //#region src/runtime/derive.ts
16
17
  const deriveCells = /* @__PURE__ */ new WeakMap();
17
18
  const dirtyDerivedCells = /* @__PURE__ */ new Set();
@@ -162,4 +163,4 @@ function createRef() {
162
163
  */
163
164
  installRendererBridge();
164
165
  //#endregion
165
- export { AskrRuntime, Case, CspNonceScope, For, Fragment, Match, Show, createQuery, createRef, createRuntime, cspNonce, defineQuery, defineScope, defineServerQueries, dehydrateDataRuntime, derive, getDefaultRuntime, getSignal, hydrateDataRuntime, jsx, jsxs, prefetchQuery, readScope, selector, serveQuery, state };
166
+ export { AskrRuntime, Case, CspNonceScope, For, Fragment, Match, Show, createQuery, createRef, createRuntime, cspNonce, defineQuery, defineScope, defineServerQueries, dehydrateDataRuntime, derive, getDefaultRuntime, getSignal, hydrateDataRuntime, jsx, jsxs, prefetchQuery, readScope, registerSSRStyle, selector, serveQuery, state };
@@ -1,4 +1,4 @@
1
- import { n as isEagerControlPrimitive } from "./control-DhFRTIoE.js";
1
+ import { r as isEagerControlPrimitive } from "./control-C-ApnFs1.js";
2
2
  import { n as Fragment, r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
3
  //#region src/jsx/jsx-dev-runtime.ts
4
4
  function annotatePropsUsage(props) {
@@ -1,4 +1,4 @@
1
- import { n as isEagerControlPrimitive } from "./control-DhFRTIoE.js";
1
+ import { r as isEagerControlPrimitive } from "./control-C-ApnFs1.js";
2
2
  import { n as Fragment, r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
3
  //#region src/jsx/jsx-runtime.ts
4
4
  function markStaticChildren(props) {
@@ -1,4 +1,4 @@
1
- import { a as registerCommitOperation } from "./component-internal-TurioKgs.js";
1
+ import { a as registerCommitOperation } from "./component-internal-BuTG89T8.js";
2
2
  import { f as getCurrentComponentInstance, i as claimHookIndex } from "./component-scope-DzJEbYGE.js";
3
3
  import { t as isRouteActivityActive } from "./route-activity-CNJfpwx-.js";
4
4
  //#region src/runtime/lifecycle-operations.ts
@@ -1,4 +1,4 @@
1
- import "./router-Dd-LoJmM.js";
1
+ import "./index-TlEvex-C.js";
2
2
  //#region src/router/navigation-scroll.d.ts
3
3
  type NavigationScrollBehavior = 'top' | 'preserve';
4
4
  type HistoryScrollBehavior = 'restore' | 'top' | 'preserve';
@@ -1,15 +1,15 @@
1
1
  import { b as isDevelopmentEnvironment, r as flushRuntimeScheduler, v as logger, x as isProductionEnvironment } from "./access-ePqdQqkV.js";
2
2
  import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
- import { r as executeComponent } from "./component-internal-TurioKgs.js";
3
+ import { r as executeComponent } from "./component-internal-BuTG89T8.js";
4
4
  import { t as cleanupReadableSubscriptionSources } from "./readable-B3VIOfd7.js";
5
5
  import { n as cleanupComponentGeneration, t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
6
6
  import { i as drainLifecycleCommitErrors, p as isPromiseLike, r as discardLifecycleCommitBatch, s as flushLifecycleCommitBatch, t as beginLifecycleCommitBatch } from "./lifecycle-batch-CwHCDseR.js";
7
7
  import { _ as teardownNodeSubtree } from "./cleanup-CyY1ROBI.js";
8
- import { d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, p as hasRouteRenderData } from "./deferred-Dfk7vuTX.js";
9
- import { j as lockRouteRegistration, r as computeRouteActivityMatches } from "./route-matching-DqM8k4tZ.js";
10
- import { r as clearDefaultPortalForInstance, t as DefaultPortal } from "./portal-BsSJusvs.js";
11
- import { t as CspNonceScope } from "./csp-nonce-DYspaK0L.js";
12
- import { a as clearStagedAppRenderRouteLocation, i as syncCurrentRouteSnapshot, o as createAppRenderRuntime, s as stageAppRenderRouteLocation } from "./activity-BWQeEtNt.js";
8
+ import { d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, p as hasRouteRenderData } from "./deferred-t79wHqe1.js";
9
+ import { j as lockRouteRegistration, r as computeRouteActivityMatches } from "./route-matching-jqwlQJ5g.js";
10
+ import { r as clearDefaultPortalForInstance, t as DefaultPortal } from "./portal-BZ_rN17v.js";
11
+ import { t as CspNonceScope } from "./csp-nonce-BUsz0Em7.js";
12
+ import { a as clearStagedAppRenderRouteLocation, i as syncCurrentRouteSnapshot, o as createAppRenderRuntime, s as stageAppRenderRouteLocation } from "./activity-DfrtblJA.js";
13
13
  //#region src/router/navigation-registry.ts
14
14
  let currentInstance = null;
15
15
  let currentPathname = "/";
@@ -4,16 +4,8 @@ import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as mar
4
4
  import { f as getCurrentComponentInstance, m as getCurrentPortalScope } from "./component-scope-DzJEbYGE.js";
5
5
  import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
6
6
  import { c as getCurrentLifecycleCommitBatch, u as registerLifecycleTransaction } from "./lifecycle-batch-CwHCDseR.js";
7
- import { n as getActiveRenderContext } from "./render-context-Clw3rFiO.js";
8
- //#region src/common/portal.ts
9
- /**
10
- * Internal marker used to defer server portal host output until all writes in
11
- * the current render root are known.
12
- *
13
- * @internal
14
- */
15
- const SSR_PORTAL_HOST = Symbol.for("askr.ssr-portal-host");
16
- //#endregion
7
+ import { n as getActiveRenderContext } from "./render-context-D-DFk2WN.js";
8
+ import { i as createSSRPortalHostToken, n as SSR_PORTAL_HOST, r as createSSRPortalAnchorToken, t as SSR_PORTAL_ANCHOR } from "./portal-w3oQ6oQU.js";
17
9
  //#region src/runtime/portal.ts
18
10
  const DEFAULT_SSR_PORTAL_KEY = {};
19
11
  function getSSRPortalSlot(key) {
@@ -36,7 +28,7 @@ function getSSRPortalSlot(key) {
36
28
  function createSSRPortalHost(key, automatic) {
37
29
  const current = getSSRPortalSlot(key);
38
30
  if (!current) return null;
39
- const token = `<!--askr-portal:${current.context.ssrPortals.nextHostId++}-->`;
31
+ const token = createSSRPortalHostToken(current.context.ssrPortals.nextHostId++);
40
32
  current.slot.hosts.push({
41
33
  token,
42
34
  automatic
@@ -54,6 +46,15 @@ function writeSSRPortal(key, children) {
54
46
  current.slot.value = children;
55
47
  return true;
56
48
  }
49
+ function createSSRPortalAnchor() {
50
+ const context = getActiveRenderContext();
51
+ if (context?.mode !== "ssr") return null;
52
+ return {
53
+ $$typeof: ELEMENT_TYPE,
54
+ type: SSR_PORTAL_ANCHOR,
55
+ props: { token: createSSRPortalAnchorToken(context.ssrPortals.nextHostId++) }
56
+ };
57
+ }
57
58
  function createPortalSlot() {
58
59
  let currentValue;
59
60
  const source = (() => {
@@ -384,11 +385,11 @@ const DefaultPortal = (() => {
384
385
  return Host;
385
386
  })();
386
387
  function Portal(props) {
387
- if (writeSSRPortal(DEFAULT_SSR_PORTAL_KEY, props.children)) return null;
388
+ if (writeSSRPortal(DEFAULT_SSR_PORTAL_KEY, props.children)) return createSSRPortalAnchor();
388
389
  const owner = getCurrentComponentInstance();
389
390
  if (owner) registerDefaultPortalOwner(owner);
390
391
  writeDefaultPortal(props, owner);
391
392
  return null;
392
393
  }
393
394
  //#endregion
394
- export { disposeDefaultPortalScope as a, definePortal as i, Portal as n, SSR_PORTAL_HOST as o, clearDefaultPortalForInstance as r, DefaultPortal as t };
395
+ export { disposeDefaultPortalScope as a, definePortal as i, Portal as n, clearDefaultPortalForInstance as r, DefaultPortal as t };
@@ -0,0 +1,29 @@
1
+ //#region src/common/portal.ts
2
+ /**
3
+ * Internal marker used to defer server portal host output until all writes in
4
+ * the current render root are known.
5
+ *
6
+ * @internal
7
+ */
8
+ const SSR_PORTAL_HOST = Symbol.for("askr.ssr-portal-host");
9
+ const SSR_PORTAL_ANCHOR = Symbol.for("askr.ssr-portal-anchor");
10
+ const SSR_PORTAL_HOST_PREFIX = "askr-portal:";
11
+ const SSR_PORTAL_ANCHOR_PREFIX = "askr-portal-anchor:";
12
+ function createSSRPortalHostToken(id) {
13
+ return `<!--${SSR_PORTAL_HOST_PREFIX}${id}-->`;
14
+ }
15
+ function createSSRPortalAnchorToken(id) {
16
+ return `<!--${SSR_PORTAL_ANCHOR_PREFIX}${id}-->`;
17
+ }
18
+ function isSSRPortalMarkerData(data, prefix) {
19
+ if (!data.startsWith(prefix)) return false;
20
+ const id = data.slice(prefix.length);
21
+ return id.length > 0 && Array.from(id).every((char) => char >= "0" && char <= "9");
22
+ }
23
+ function isSSRPortalHydrationAnchor(node) {
24
+ if (typeof node !== "object" || node === null || node.nodeType !== 8) return false;
25
+ const data = node.data;
26
+ return typeof data === "string" && (isSSRPortalMarkerData(data, SSR_PORTAL_HOST_PREFIX) || isSSRPortalMarkerData(data, SSR_PORTAL_ANCHOR_PREFIX));
27
+ }
28
+ //#endregion
29
+ export { isSSRPortalHydrationAnchor as a, createSSRPortalHostToken as i, SSR_PORTAL_HOST as n, createSSRPortalAnchorToken as r, SSR_PORTAL_ANCHOR as t };
@@ -1,4 +1,4 @@
1
- import { i as getDefaultDataRuntime, t as createDataRuntime } from "./data-runtime-rpV6-3XW.js";
1
+ import { i as getDefaultDataRuntime, t as createDataRuntime } from "./data-runtime-D68YOo9L.js";
2
2
  //#region src/common/telemetry.ts
3
3
  function withTelemetry(span, fields, work) {
4
4
  return span ? span(fields, work) : work();
@@ -23,6 +23,18 @@ function configureRenderContextProvider(nextProvider) {
23
23
  function getActiveRenderContext() {
24
24
  return provider.getRenderContext();
25
25
  }
26
+ /** Register request-local CSS produced during SSR without importing the SSR renderer in clients. */
27
+ function registerSSRStyle(id, cssText) {
28
+ const context = getActiveRenderContext();
29
+ if (!context?.ssrStyles) return;
30
+ const safeCssText = cssText.replace(/<\/style/gi, "<\\/style");
31
+ const existing = context.ssrStyles.get(id);
32
+ if (existing && existing.cssText !== safeCssText) throw new RangeError(`SSR style registration collision for ${JSON.stringify(id)}.`);
33
+ context.ssrStyles.set(id, {
34
+ id,
35
+ cssText: safeCssText
36
+ });
37
+ }
26
38
  function getCurrentRenderData() {
27
39
  return getActiveRenderContext()?.renderData ?? hydrationRenderData;
28
40
  }
@@ -58,4 +70,4 @@ function throwSSRDataMissing() {
58
70
  throw new SSRDataMissingError();
59
71
  }
60
72
  //#endregion
61
- export { startHydrationRenderPhase as a, stopRenderPhase as c, getNextRenderKey as i, throwSSRDataMissing as l, getActiveRenderContext as n, startRenderPhase as o, getCurrentRenderData as r, stopHydrationRenderPhase as s, configureRenderContextProvider as t, SSRDataMissingError as u };
73
+ export { registerSSRStyle as a, stopHydrationRenderPhase as c, SSRDataMissingError as d, getNextRenderKey as i, stopRenderPhase as l, getActiveRenderContext as n, startHydrationRenderPhase as o, getCurrentRenderData as r, startRenderPhase as s, configureRenderContextProvider as t, throwSSRDataMissing as u };