streetui 3.0.1 → 3.0.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/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
- import { c as Signal, d as Subscriber, U as Unsubscribe, R as ReadonlySignal, e as ResourceStatus, f as ResourceOptions, g as Resource, h as ResourceLoaderContext, A as ApplicationId, D as DiagnosticCollector, i as ApplicationGraph, G as GraphNode, C as CompiledApplication, j as HydrationDiagnosticSink, k as SemanticNodeType, P as PageDSL, T as TransitionConfig, l as ContainerDSL, m as SignalKind } from './hydration-diagnostics-CF8q8yJB.cjs';
2
- export { n as A11yOptions, o as AppBuilder, p as AppDSL, q as AppOptions, r as ApplicationGraphOptions, s as AsyncBoundaryBranches, B as BaseNode, t as Bindable, u as BindableString, v as BindableText, w as BoundInputOptions, x as ButtonOptions, y as CodeOptions, z as CompileOptions, b as ComponentChildren, E as ComponentContext, a as ComponentDefinition, F as ComponentRender, I as ComponentSetup, b as ContainerBuilder, J as ContainerBuilderImpl, K as ContainerOptions, L as ContentDSL, M as ControlledInputOptions, N as DerivedSignal, O as Diagnostic, Q as DiagnosticError, W as DiagnosticLocation, X as DiagnosticSeverity, Y as ErrorBoundaryOptions, Z as ErrorFallbackBuilder, _ as ErrorSource, $ as EventDescriptor, a0 as FormBuilder, a1 as FormBuilderImpl, a2 as FormDSL, a3 as FormOptions, a4 as GraphNodeData, a5 as HandlerFn, a6 as HeadContribution, a7 as HeadEntry, a8 as HeadMetadata, a9 as HeadingOptions, H as HydrationDiagnostic, aa as HydrationMismatchType, ab as ImageOptions, ac as InputOptions, ad as InputOptionsBase, ae as LinkDescriptor, af as LinkOptions, ag as ListBuilder, ah as ListBuilderImpl, ai as ListDSL, aj as ListOptions, ak as ListPlanEntry, al as MetaDescriptor, am as NodeId, an as NodeMetadata, ao as OverlayOptions, ap as PageBuilder, aq as PageBuilderImpl, ar as PortalOptions, as as PropValue, at as Props, au as ReactiveConsumer, av as ReactiveSource, aw as ResolvedTransition, ax as ResourceLoader, ay as SectionBuilder, az as SectionBuilderImpl, aA as SectionDSL, aB as SectionOptions, aC as SerializedGraph, aD as SerializedNode, aE as StateRef, S as StreetApp, aF as StreetUI, aG as TextOptions, aH as TextValue, V as VERSION, aI as WhenOptions, aJ as batch, aK as compile, aL as compileGraph, aM as component, aN as consoleHydrationDiagnosticSink, aO as createHydrationDiagnosticCollector, aP as createNodeId, aQ as derived, aR as effect, aS as formatDiagnostic, aT as formatHydrationDiagnostic, aU as generateApplicationId, aV as generateNodeId, aW as isBatching, aX as isComponentDefinition, aY as isHeadContribution, aZ as isTransitionConfig, a_ as nextId, a$ as nodeIdPrefix, b0 as observerCount, b1 as reactiveListItemKey, b2 as reactiveListItemSignature, b3 as resetIdCounter, b4 as resolveHead, b5 as resolveTransition, b6 as resource, b7 as signal, b8 as signalKind, b9 as streetui } from './hydration-diagnostics-CF8q8yJB.cjs';
3
- import { L as Lifecycle, C as CleanupRegistry, D as DOMAdapter, N as NodeInstance, R as RenderContext } from './server-DZaaWD0s.cjs';
4
- export { H as HeadManager, a as LifecycleHook, b as LifecyclePhase, c as RenderToStringOptions, S as STATE_MARKER_ATTR, d as ServerDOMAdapter, e as createRenderContext, r as readState, f as renderHead, g as renderToString, s as serializeState, h as serverDOMAdapter, w as wireHeadBehavior } from './server-DZaaWD0s.cjs';
5
- import { R as RenderHandle, S as StreetRenderer } from './renderer-interface-BE9NQLzK.cjs';
1
+ import { c as Signal, d as Subscriber, U as Unsubscribe, R as ReadonlySignal, e as ResourceStatus, f as ResourceOptions, g as Resource, h as ResourceLoaderContext, A as ApplicationId, D as DiagnosticCollector, i as ApplicationGraph, G as GraphNode, C as CompiledApplication, j as HydrationDiagnosticSink, k as SemanticNodeType, P as PageDSL, T as TransitionConfig, l as ContainerDSL, m as SignalKind } from './hydration-diagnostics-CJ8KQ2lI.cjs';
2
+ export { n as A11yOptions, o as AppBuilder, p as AppDSL, q as AppOptions, r as ApplicationGraphOptions, s as AsyncBoundaryBranches, B as BaseNode, t as Bindable, u as BindableString, v as BindableText, w as BoundInputOptions, x as ButtonOptions, y as CodeOptions, z as CompileOptions, b as ComponentChildren, E as ComponentContext, a as ComponentDefinition, F as ComponentRender, I as ComponentSetup, b as ContainerBuilder, J as ContainerBuilderImpl, K as ContainerOptions, L as ContentDSL, M as ControlledInputOptions, N as DerivedSignal, O as Diagnostic, Q as DiagnosticError, W as DiagnosticLocation, X as DiagnosticSeverity, Y as ErrorBoundaryOptions, Z as ErrorFallbackBuilder, _ as ErrorSource, $ as EventDescriptor, a0 as FormBuilder, a1 as FormBuilderImpl, a2 as FormDSL, a3 as FormOptions, a4 as GraphNodeData, a5 as HandlerFn, a6 as HeadContribution, a7 as HeadEntry, a8 as HeadMetadata, a9 as HeadingOptions, H as HydrationDiagnostic, aa as HydrationMismatchType, ab as ImageOptions, ac as InputOptions, ad as InputOptionsBase, ae as LinkDescriptor, af as LinkOptions, ag as ListBuilder, ah as ListBuilderImpl, ai as ListDSL, aj as ListOptions, ak as ListPlanEntry, al as MetaDescriptor, am as NodeId, an as NodeMetadata, ao as OverlayOptions, ap as PageBuilder, aq as PageBuilderImpl, ar as PortalOptions, as as PropValue, at as Props, au as ReactiveConsumer, av as ReactiveSource, aw as ResolvedTransition, ax as ResourceLoader, ay as SectionBuilder, az as SectionBuilderImpl, aA as SectionDSL, aB as SectionOptions, aC as SerializedGraph, aD as SerializedNode, aE as StateRef, S as StreetApp, aF as StreetUI, aG as TextOptions, aH as TextValue, V as VERSION, aI as WhenOptions, aJ as batch, aK as compile, aL as compileGraph, aM as component, aN as consoleHydrationDiagnosticSink, aO as createHydrationDiagnosticCollector, aP as createNodeId, aQ as derived, aR as effect, aS as formatDiagnostic, aT as formatHydrationDiagnostic, aU as generateApplicationId, aV as generateNodeId, aW as isBatching, aX as isComponentDefinition, aY as isHeadContribution, aZ as isTransitionConfig, a_ as nextId, a$ as nodeIdPrefix, b0 as observerCount, b1 as reactiveListItemKey, b2 as reactiveListItemSignature, b3 as resetIdCounter, b4 as resolveHead, b5 as resolveTransition, b6 as resource, b7 as signal, b8 as signalKind, b9 as streetui } from './hydration-diagnostics-CJ8KQ2lI.cjs';
3
+ import { L as Lifecycle, C as CleanupRegistry, D as DOMAdapter, N as NodeInstance, R as RenderContext } from './server-XsmNQXtX.cjs';
4
+ export { H as HeadManager, a as LifecycleHook, b as LifecyclePhase, c as RenderToStringOptions, S as STATE_MARKER_ATTR, d as ServerDOMAdapter, e as createRenderContext, r as readState, f as renderHead, g as renderToString, s as serializeState, h as serverDOMAdapter, w as wireHeadBehavior } from './server-XsmNQXtX.cjs';
5
+ import { R as RenderHandle, S as StreetRenderer } from './renderer-interface-ZOGH7pkW.cjs';
6
6
 
7
7
  /**
8
8
  * A simple reactive store built on top of signals.
@@ -379,7 +379,7 @@ declare function createApplication(options: ApplicationOptions): Application;
379
379
  * non-sensitive identifiers — never tokens, secrets, cookies, or form values.
380
380
  */
381
381
  interface DiagnosticContext {
382
- /** The package that produced the diagnostic, e.g. `@streetui/renderer`. */
382
+ /** The package that produced the diagnostic, e.g. `streetui`. */
383
383
  readonly package?: string;
384
384
  /** The operation underway, e.g. `hydrate`, `compile`, `navigate`. */
385
385
  readonly operation?: string;
@@ -705,7 +705,7 @@ declare class StyleRegistry {
705
705
  }
706
706
  /**
707
707
  * The process-wide registry instance. Because consuming packages (`dsl` authoring
708
- * and `renderer` SSR) both resolve `@streetui/core` to the *same* module, they
708
+ * and `renderer` SSR) both resolve `streetui` to the *same* module, they
709
709
  * share this one instance — the authoring side registers rules and the SSR side
710
710
  * serializes them, with no cross-package plumbing.
711
711
  */
@@ -1060,7 +1060,7 @@ declare function styleVariants<V extends VariantGroups>(cfg: VariantConfig<V>):
1060
1060
  * returned `class` is a plain string (deduped like any other `style()`), and the
1061
1061
  * reactive binding is a single `StateRef { propKey: 'style.--s-<prop>' }` wired by
1062
1062
  * the existing `wireSignalBindings`/`applyProp` pipeline. Core stays free of any
1063
- * `@streetui/state` dependency — the caller supplies the signal at the DSL layer.
1063
+ * `streetui` dependency — the caller supplies the signal at the DSL layer.
1064
1064
  */
1065
1065
 
1066
1066
  /** The reactive binding surface for one `styleWithVars` call. */
@@ -1458,7 +1458,7 @@ interface Job {
1458
1458
  }
1459
1459
  /**
1460
1460
  * Optional error-reporting hook (v0.9 §26/§27). Structurally compatible with
1461
- * `@streetui/core`'s `DiagnosticSink` (the `error` method) so an application can
1461
+ * `streetui`'s `DiagnosticSink` (the `error` method) so an application can
1462
1462
  * route swallowed scheduler-job failures through its own logger instead of the
1463
1463
  * default `console.error`. Kept as a local structural type so the scheduler
1464
1464
  * stays dependency-free; no network, no telemetry. When unset, behaviour is
@@ -1974,7 +1974,7 @@ declare function patchNode(ctx: RenderContext, graphNode: GraphNode, propKey: st
1974
1974
 
1975
1975
  /**
1976
1976
  * The renderer's structural view of the resolved transition the DSL stores in
1977
- * `__transition__<id>`. Mirrors `@streetui/dsl`'s `ResolvedTransition` without
1977
+ * `__transition__<id>`. Mirrors `streetui`'s `ResolvedTransition` without
1978
1978
  * importing it (no renderer→dsl dependency).
1979
1979
  */
1980
1980
  interface ResolvedTransitionLike {
@@ -2233,7 +2233,7 @@ declare function adoptServerStyles(dom: DOMAdapter, root: Element | null, option
2233
2233
  * outside the hydrated app container, and only re-points token variables (§16).
2234
2234
  *
2235
2235
  * This lives in the renderer layer because switching the theme writes to the DOM;
2236
- * it builds on the DOM-free token system in `@streetui/core` (`createThemeTokens`
2236
+ * it builds on the DOM-free token system in `streetui` (`createThemeTokens`
2237
2237
  * emits `:root` + `[data-theme="dark"]` variable blocks), so a theme flip is a
2238
2238
  * single attribute change with no restyle work and no re-render.
2239
2239
  */
@@ -2639,7 +2639,7 @@ declare function mountRouter(router: Router, options: MountRouterOptions): Mount
2639
2639
  * `required` first if a field is mandatory.
2640
2640
  *
2641
2641
  * Async validation is intentionally NOT part of this core. It can be layered on
2642
- * top with `@streetui/state`'s `resource()` (kick off a resource on value
2642
+ * top with `streetui`'s `resource()` (kick off a resource on value
2643
2643
  * change and surface `resource.error` alongside the field error) without
2644
2644
  * destabilising the synchronous validity model here.
2645
2645
  */
@@ -2658,7 +2658,7 @@ declare function pattern(regex: RegExp, message?: string): Validator;
2658
2658
  declare function runValidators(value: string, validators: Validator | ReadonlyArray<Validator> | undefined): string | undefined;
2659
2659
 
2660
2660
  /**
2661
- * Reactive form model built entirely on `@streetui/state` signals.
2661
+ * Reactive form model built entirely on `streetui` signals.
2662
2662
  *
2663
2663
  * There is no second state system here: every piece of form state (`values`,
2664
2664
  * `errors`, `touched`, `dirty`, `valid`, submission status) is a signal or a
@@ -2723,7 +2723,7 @@ interface Form<T extends FormValues> {
2723
2723
  declare function createForm<T extends FormValues>(config: FormConfig<T>): Form<T>;
2724
2724
 
2725
2725
  /**
2726
- * @streetui/context — build-time provider/consumer scoping.
2726
+ * streetui — build-time provider/consumer scoping.
2727
2727
  *
2728
2728
  * StreetUI builds its semantic tree synchronously, top-down, when the DSL
2729
2729
  * builders run. A `Context` mirrors that shape: `provide(value, run)` pushes a
@@ -2732,7 +2732,7 @@ declare function createForm<T extends FormValues>(config: FormConfig<T>): Form<T
2732
2732
  * the *nearest* enclosing provider, falling back to the context default.
2733
2733
  *
2734
2734
  * This is deliberately NOT a second reactive system. A context value can be a
2735
- * signal (see @streetui/state); reactivity then belongs to that signal and is
2735
+ * signal (see streetui); reactivity then belongs to that signal and is
2736
2736
  * torn down by the normal node lifecycle when the consuming subtree unmounts —
2737
2737
  * the context itself holds no subscriptions and leaves no refs behind after a
2738
2738
  * `provide()` call returns.
@@ -2762,7 +2762,7 @@ declare function createContext<T>(defaultValue: T, description?: string): Contex
2762
2762
  /**
2763
2763
  * Minimal, framework-native internationalization for StreetUI.
2764
2764
  *
2765
- * Built entirely on `@streetui/state` signals — there is no second reactive
2765
+ * Built entirely on `streetui` signals — there is no second reactive
2766
2766
  * system. The active locale is a writable signal; `t()` returns a derived
2767
2767
  * signal that recomputes when the locale changes, so translations plug
2768
2768
  * straight into the DSL's reactive text bindings (`text(() => i18n.t(...).get())`
@@ -3382,7 +3382,7 @@ interface PerformancePanel {
3382
3382
  * Compilation diagnostics for the DevTools "Diagnostics" panel (§8). These are
3383
3383
  * the compiler's own findings (errors + warnings), surfaced verbatim — not a
3384
3384
  * runtime error stream. Runtime/production error reports flow through the
3385
- * separate `reportError`/`DiagnosticSink` seam in `@streetui/core` (§7).
3385
+ * separate `reportError`/`DiagnosticSink` seam in `streetui` (§7).
3386
3386
  */
3387
3387
  interface DiagnosticsPanel {
3388
3388
  readonly errors: number;
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { c as Signal, d as Subscriber, U as Unsubscribe, R as ReadonlySignal, e as ResourceStatus, f as ResourceOptions, g as Resource, h as ResourceLoaderContext, A as ApplicationId, D as DiagnosticCollector, i as ApplicationGraph, G as GraphNode, C as CompiledApplication, j as HydrationDiagnosticSink, k as SemanticNodeType, P as PageDSL, T as TransitionConfig, l as ContainerDSL, m as SignalKind } from './hydration-diagnostics-CF8q8yJB.js';
2
- export { n as A11yOptions, o as AppBuilder, p as AppDSL, q as AppOptions, r as ApplicationGraphOptions, s as AsyncBoundaryBranches, B as BaseNode, t as Bindable, u as BindableString, v as BindableText, w as BoundInputOptions, x as ButtonOptions, y as CodeOptions, z as CompileOptions, b as ComponentChildren, E as ComponentContext, a as ComponentDefinition, F as ComponentRender, I as ComponentSetup, b as ContainerBuilder, J as ContainerBuilderImpl, K as ContainerOptions, L as ContentDSL, M as ControlledInputOptions, N as DerivedSignal, O as Diagnostic, Q as DiagnosticError, W as DiagnosticLocation, X as DiagnosticSeverity, Y as ErrorBoundaryOptions, Z as ErrorFallbackBuilder, _ as ErrorSource, $ as EventDescriptor, a0 as FormBuilder, a1 as FormBuilderImpl, a2 as FormDSL, a3 as FormOptions, a4 as GraphNodeData, a5 as HandlerFn, a6 as HeadContribution, a7 as HeadEntry, a8 as HeadMetadata, a9 as HeadingOptions, H as HydrationDiagnostic, aa as HydrationMismatchType, ab as ImageOptions, ac as InputOptions, ad as InputOptionsBase, ae as LinkDescriptor, af as LinkOptions, ag as ListBuilder, ah as ListBuilderImpl, ai as ListDSL, aj as ListOptions, ak as ListPlanEntry, al as MetaDescriptor, am as NodeId, an as NodeMetadata, ao as OverlayOptions, ap as PageBuilder, aq as PageBuilderImpl, ar as PortalOptions, as as PropValue, at as Props, au as ReactiveConsumer, av as ReactiveSource, aw as ResolvedTransition, ax as ResourceLoader, ay as SectionBuilder, az as SectionBuilderImpl, aA as SectionDSL, aB as SectionOptions, aC as SerializedGraph, aD as SerializedNode, aE as StateRef, S as StreetApp, aF as StreetUI, aG as TextOptions, aH as TextValue, V as VERSION, aI as WhenOptions, aJ as batch, aK as compile, aL as compileGraph, aM as component, aN as consoleHydrationDiagnosticSink, aO as createHydrationDiagnosticCollector, aP as createNodeId, aQ as derived, aR as effect, aS as formatDiagnostic, aT as formatHydrationDiagnostic, aU as generateApplicationId, aV as generateNodeId, aW as isBatching, aX as isComponentDefinition, aY as isHeadContribution, aZ as isTransitionConfig, a_ as nextId, a$ as nodeIdPrefix, b0 as observerCount, b1 as reactiveListItemKey, b2 as reactiveListItemSignature, b3 as resetIdCounter, b4 as resolveHead, b5 as resolveTransition, b6 as resource, b7 as signal, b8 as signalKind, b9 as streetui } from './hydration-diagnostics-CF8q8yJB.js';
3
- import { L as Lifecycle, C as CleanupRegistry, D as DOMAdapter, N as NodeInstance, R as RenderContext } from './server-CKWhyjUV.js';
4
- export { H as HeadManager, a as LifecycleHook, b as LifecyclePhase, c as RenderToStringOptions, S as STATE_MARKER_ATTR, d as ServerDOMAdapter, e as createRenderContext, r as readState, f as renderHead, g as renderToString, s as serializeState, h as serverDOMAdapter, w as wireHeadBehavior } from './server-CKWhyjUV.js';
5
- import { R as RenderHandle, S as StreetRenderer } from './renderer-interface-HS0sXzdw.js';
1
+ import { c as Signal, d as Subscriber, U as Unsubscribe, R as ReadonlySignal, e as ResourceStatus, f as ResourceOptions, g as Resource, h as ResourceLoaderContext, A as ApplicationId, D as DiagnosticCollector, i as ApplicationGraph, G as GraphNode, C as CompiledApplication, j as HydrationDiagnosticSink, k as SemanticNodeType, P as PageDSL, T as TransitionConfig, l as ContainerDSL, m as SignalKind } from './hydration-diagnostics-CJ8KQ2lI.js';
2
+ export { n as A11yOptions, o as AppBuilder, p as AppDSL, q as AppOptions, r as ApplicationGraphOptions, s as AsyncBoundaryBranches, B as BaseNode, t as Bindable, u as BindableString, v as BindableText, w as BoundInputOptions, x as ButtonOptions, y as CodeOptions, z as CompileOptions, b as ComponentChildren, E as ComponentContext, a as ComponentDefinition, F as ComponentRender, I as ComponentSetup, b as ContainerBuilder, J as ContainerBuilderImpl, K as ContainerOptions, L as ContentDSL, M as ControlledInputOptions, N as DerivedSignal, O as Diagnostic, Q as DiagnosticError, W as DiagnosticLocation, X as DiagnosticSeverity, Y as ErrorBoundaryOptions, Z as ErrorFallbackBuilder, _ as ErrorSource, $ as EventDescriptor, a0 as FormBuilder, a1 as FormBuilderImpl, a2 as FormDSL, a3 as FormOptions, a4 as GraphNodeData, a5 as HandlerFn, a6 as HeadContribution, a7 as HeadEntry, a8 as HeadMetadata, a9 as HeadingOptions, H as HydrationDiagnostic, aa as HydrationMismatchType, ab as ImageOptions, ac as InputOptions, ad as InputOptionsBase, ae as LinkDescriptor, af as LinkOptions, ag as ListBuilder, ah as ListBuilderImpl, ai as ListDSL, aj as ListOptions, ak as ListPlanEntry, al as MetaDescriptor, am as NodeId, an as NodeMetadata, ao as OverlayOptions, ap as PageBuilder, aq as PageBuilderImpl, ar as PortalOptions, as as PropValue, at as Props, au as ReactiveConsumer, av as ReactiveSource, aw as ResolvedTransition, ax as ResourceLoader, ay as SectionBuilder, az as SectionBuilderImpl, aA as SectionDSL, aB as SectionOptions, aC as SerializedGraph, aD as SerializedNode, aE as StateRef, S as StreetApp, aF as StreetUI, aG as TextOptions, aH as TextValue, V as VERSION, aI as WhenOptions, aJ as batch, aK as compile, aL as compileGraph, aM as component, aN as consoleHydrationDiagnosticSink, aO as createHydrationDiagnosticCollector, aP as createNodeId, aQ as derived, aR as effect, aS as formatDiagnostic, aT as formatHydrationDiagnostic, aU as generateApplicationId, aV as generateNodeId, aW as isBatching, aX as isComponentDefinition, aY as isHeadContribution, aZ as isTransitionConfig, a_ as nextId, a$ as nodeIdPrefix, b0 as observerCount, b1 as reactiveListItemKey, b2 as reactiveListItemSignature, b3 as resetIdCounter, b4 as resolveHead, b5 as resolveTransition, b6 as resource, b7 as signal, b8 as signalKind, b9 as streetui } from './hydration-diagnostics-CJ8KQ2lI.js';
3
+ import { L as Lifecycle, C as CleanupRegistry, D as DOMAdapter, N as NodeInstance, R as RenderContext } from './server-mUzq6EhY.js';
4
+ export { H as HeadManager, a as LifecycleHook, b as LifecyclePhase, c as RenderToStringOptions, S as STATE_MARKER_ATTR, d as ServerDOMAdapter, e as createRenderContext, r as readState, f as renderHead, g as renderToString, s as serializeState, h as serverDOMAdapter, w as wireHeadBehavior } from './server-mUzq6EhY.js';
5
+ import { R as RenderHandle, S as StreetRenderer } from './renderer-interface-AnwEj9Bg.js';
6
6
 
7
7
  /**
8
8
  * A simple reactive store built on top of signals.
@@ -379,7 +379,7 @@ declare function createApplication(options: ApplicationOptions): Application;
379
379
  * non-sensitive identifiers — never tokens, secrets, cookies, or form values.
380
380
  */
381
381
  interface DiagnosticContext {
382
- /** The package that produced the diagnostic, e.g. `@streetui/renderer`. */
382
+ /** The package that produced the diagnostic, e.g. `streetui`. */
383
383
  readonly package?: string;
384
384
  /** The operation underway, e.g. `hydrate`, `compile`, `navigate`. */
385
385
  readonly operation?: string;
@@ -705,7 +705,7 @@ declare class StyleRegistry {
705
705
  }
706
706
  /**
707
707
  * The process-wide registry instance. Because consuming packages (`dsl` authoring
708
- * and `renderer` SSR) both resolve `@streetui/core` to the *same* module, they
708
+ * and `renderer` SSR) both resolve `streetui` to the *same* module, they
709
709
  * share this one instance — the authoring side registers rules and the SSR side
710
710
  * serializes them, with no cross-package plumbing.
711
711
  */
@@ -1060,7 +1060,7 @@ declare function styleVariants<V extends VariantGroups>(cfg: VariantConfig<V>):
1060
1060
  * returned `class` is a plain string (deduped like any other `style()`), and the
1061
1061
  * reactive binding is a single `StateRef { propKey: 'style.--s-<prop>' }` wired by
1062
1062
  * the existing `wireSignalBindings`/`applyProp` pipeline. Core stays free of any
1063
- * `@streetui/state` dependency — the caller supplies the signal at the DSL layer.
1063
+ * `streetui` dependency — the caller supplies the signal at the DSL layer.
1064
1064
  */
1065
1065
 
1066
1066
  /** The reactive binding surface for one `styleWithVars` call. */
@@ -1458,7 +1458,7 @@ interface Job {
1458
1458
  }
1459
1459
  /**
1460
1460
  * Optional error-reporting hook (v0.9 §26/§27). Structurally compatible with
1461
- * `@streetui/core`'s `DiagnosticSink` (the `error` method) so an application can
1461
+ * `streetui`'s `DiagnosticSink` (the `error` method) so an application can
1462
1462
  * route swallowed scheduler-job failures through its own logger instead of the
1463
1463
  * default `console.error`. Kept as a local structural type so the scheduler
1464
1464
  * stays dependency-free; no network, no telemetry. When unset, behaviour is
@@ -1974,7 +1974,7 @@ declare function patchNode(ctx: RenderContext, graphNode: GraphNode, propKey: st
1974
1974
 
1975
1975
  /**
1976
1976
  * The renderer's structural view of the resolved transition the DSL stores in
1977
- * `__transition__<id>`. Mirrors `@streetui/dsl`'s `ResolvedTransition` without
1977
+ * `__transition__<id>`. Mirrors `streetui`'s `ResolvedTransition` without
1978
1978
  * importing it (no renderer→dsl dependency).
1979
1979
  */
1980
1980
  interface ResolvedTransitionLike {
@@ -2233,7 +2233,7 @@ declare function adoptServerStyles(dom: DOMAdapter, root: Element | null, option
2233
2233
  * outside the hydrated app container, and only re-points token variables (§16).
2234
2234
  *
2235
2235
  * This lives in the renderer layer because switching the theme writes to the DOM;
2236
- * it builds on the DOM-free token system in `@streetui/core` (`createThemeTokens`
2236
+ * it builds on the DOM-free token system in `streetui` (`createThemeTokens`
2237
2237
  * emits `:root` + `[data-theme="dark"]` variable blocks), so a theme flip is a
2238
2238
  * single attribute change with no restyle work and no re-render.
2239
2239
  */
@@ -2639,7 +2639,7 @@ declare function mountRouter(router: Router, options: MountRouterOptions): Mount
2639
2639
  * `required` first if a field is mandatory.
2640
2640
  *
2641
2641
  * Async validation is intentionally NOT part of this core. It can be layered on
2642
- * top with `@streetui/state`'s `resource()` (kick off a resource on value
2642
+ * top with `streetui`'s `resource()` (kick off a resource on value
2643
2643
  * change and surface `resource.error` alongside the field error) without
2644
2644
  * destabilising the synchronous validity model here.
2645
2645
  */
@@ -2658,7 +2658,7 @@ declare function pattern(regex: RegExp, message?: string): Validator;
2658
2658
  declare function runValidators(value: string, validators: Validator | ReadonlyArray<Validator> | undefined): string | undefined;
2659
2659
 
2660
2660
  /**
2661
- * Reactive form model built entirely on `@streetui/state` signals.
2661
+ * Reactive form model built entirely on `streetui` signals.
2662
2662
  *
2663
2663
  * There is no second state system here: every piece of form state (`values`,
2664
2664
  * `errors`, `touched`, `dirty`, `valid`, submission status) is a signal or a
@@ -2723,7 +2723,7 @@ interface Form<T extends FormValues> {
2723
2723
  declare function createForm<T extends FormValues>(config: FormConfig<T>): Form<T>;
2724
2724
 
2725
2725
  /**
2726
- * @streetui/context — build-time provider/consumer scoping.
2726
+ * streetui — build-time provider/consumer scoping.
2727
2727
  *
2728
2728
  * StreetUI builds its semantic tree synchronously, top-down, when the DSL
2729
2729
  * builders run. A `Context` mirrors that shape: `provide(value, run)` pushes a
@@ -2732,7 +2732,7 @@ declare function createForm<T extends FormValues>(config: FormConfig<T>): Form<T
2732
2732
  * the *nearest* enclosing provider, falling back to the context default.
2733
2733
  *
2734
2734
  * This is deliberately NOT a second reactive system. A context value can be a
2735
- * signal (see @streetui/state); reactivity then belongs to that signal and is
2735
+ * signal (see streetui); reactivity then belongs to that signal and is
2736
2736
  * torn down by the normal node lifecycle when the consuming subtree unmounts —
2737
2737
  * the context itself holds no subscriptions and leaves no refs behind after a
2738
2738
  * `provide()` call returns.
@@ -2762,7 +2762,7 @@ declare function createContext<T>(defaultValue: T, description?: string): Contex
2762
2762
  /**
2763
2763
  * Minimal, framework-native internationalization for StreetUI.
2764
2764
  *
2765
- * Built entirely on `@streetui/state` signals — there is no second reactive
2765
+ * Built entirely on `streetui` signals — there is no second reactive
2766
2766
  * system. The active locale is a writable signal; `t()` returns a derived
2767
2767
  * signal that recomputes when the locale changes, so translations plug
2768
2768
  * straight into the DSL's reactive text bindings (`text(() => i18n.t(...).get())`
@@ -3382,7 +3382,7 @@ interface PerformancePanel {
3382
3382
  * Compilation diagnostics for the DevTools "Diagnostics" panel (§8). These are
3383
3383
  * the compiler's own findings (errors + warnings), surfaced verbatim — not a
3384
3384
  * runtime error stream. Runtime/production error reports flow through the
3385
- * separate `reportError`/`DiagnosticSink` seam in `@streetui/core` (§7).
3385
+ * separate `reportError`/`DiagnosticSink` seam in `streetui` (§7).
3386
3386
  */
3387
3387
  interface DiagnosticsPanel {
3388
3388
  readonly errors: number;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var VERSION = "3.0.1";
2
+ var VERSION = "3.0.2";
3
3
 
4
4
  // ../state/src/signal.ts
5
5
  var _activeConsumer = null;