@yahoo/uds-create-config 5.97.0 → 5.99.0

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.
@@ -1,10 +1,11 @@
1
1
  import { UDS_FORCE_STATES } from "../framework/component-states.js";
2
2
  import { forcedModifierAttributes } from "../framework/class-names.js";
3
3
  import { registerComputed } from "./computed.js";
4
- import { RendererErrorBoundary } from "./RendererErrorBoundary.js";
4
+ import { RendererErrorBoundary, RendererRevisionContext } from "./RendererErrorBoundary.js";
5
5
  import { specContent } from "./spec-content.js";
6
6
  import { useForcedModifierStamp } from "./use-forced-stamp.js";
7
7
  import React from "react";
8
+ import { jsx } from "react/jsx-runtime";
8
9
  //#region src/renderer/componentEntry.tsx
9
10
  /**
10
11
  * A resolved native slot fill, as the component's prop consumes it. json-render resolves the
@@ -80,10 +81,11 @@ function makeComponentEntry(options) {
80
81
  component: componentPath,
81
82
  attributes: forcedAttrs
82
83
  }, rendered);
83
- return React.createElement(RendererErrorBoundary, {
84
+ return /* @__PURE__ */ jsx(RendererRevisionContext.Consumer, { children: (revision) => /* @__PURE__ */ jsx(RendererErrorBoundary, {
84
85
  name: label,
85
- resetKey: elementProps
86
- }, rendered);
86
+ resetKey: [elementProps, revision],
87
+ children: rendered
88
+ }) });
87
89
  };
88
90
  }
89
91
  /**
@@ -4,7 +4,7 @@ import { stampForcedModifiers } from "./forced-stamp.js";
4
4
  import { GlyphEntriesResult, GlyphMembers, glyphRegistryEntries } from "./glyphEntries.js";
5
5
  import { FragmentRenderer } from "./primitives/FragmentRenderer.js";
6
6
  import { SlotRenderer } from "./primitives/SlotRenderer.js";
7
- import { RendererErrorBoundary } from "./RendererErrorBoundary.js";
7
+ import { RendererErrorBoundary, RendererRevisionProvider } from "./RendererErrorBoundary.js";
8
8
  import { Glyph, GlyphLibrary, ResolvedGlyph, resolveGlyph } from "./resolveGlyph.js";
9
9
  import { RuntimeComponentFailureContext, RuntimeComponentFailureReporter, RuntimeComponentRebuildContext, RuntimeComponentRebuildReporter, RuntimeComponentScope, RuntimeComponentStatus, RuntimeComponentStore, RuntimeComponentStoreContext, installRuntimeComponentStore, runtimeComponent } from "./runtimeComponent.js";
10
10
  import { REVEALED_LAYER_ATTR, specContent } from "./spec-content.js";
@@ -16,4 +16,4 @@ import { useForcedModifierStamp } from "./use-forced-stamp.js";
16
16
  import { wrapEventBridge } from "./wrappers/event-bridge.js";
17
17
  import { wrapNormalizeHex } from "./wrappers/hex-normalize.js";
18
18
  import { wrapInlineStyleProps } from "./wrappers/inline-styles.js";
19
- export { type ComponentEntry, type ComponentEntryFacts, FragmentRenderer, type Glyph, type GlyphEntriesResult, type GlyphLibrary, type GlyphMembers, type GlyphPropMap, type MakeComponentEntryOptions, REVEALED_LAYER_ATTR, type RegistryDescriptor, RendererErrorBoundary, type ResolvedGlyph, RuntimeComponentFailureContext, type RuntimeComponentFailureReporter, RuntimeComponentRebuildContext, type RuntimeComponentRebuildReporter, type RuntimeComponentScope, type RuntimeComponentStatus, type RuntimeComponentStore, RuntimeComponentStoreContext, SlotRenderer, UdsRenderer, type UdsRendererProps, VERBATIM_ATTRIBUTES, aliasHtmlTypes, computedFunctions, entryRenderer, glyphRegistryEntries, installRuntimeComponentStore, makeComponentEntry, registerComputed, resolveGlyph, runtimeComponent, slotFillValue, specContent, stampForcedModifiers, useForcedModifierStamp, withComputedFunctions, wrapEventBridge, wrapGlyphProps, wrapInlineStyleProps, wrapNormalizeHex, wrapRegistry };
19
+ export { type ComponentEntry, type ComponentEntryFacts, FragmentRenderer, type Glyph, type GlyphEntriesResult, type GlyphLibrary, type GlyphMembers, type GlyphPropMap, type MakeComponentEntryOptions, REVEALED_LAYER_ATTR, type RegistryDescriptor, RendererErrorBoundary, RendererRevisionProvider, type ResolvedGlyph, RuntimeComponentFailureContext, type RuntimeComponentFailureReporter, RuntimeComponentRebuildContext, type RuntimeComponentRebuildReporter, type RuntimeComponentScope, type RuntimeComponentStatus, type RuntimeComponentStore, RuntimeComponentStoreContext, SlotRenderer, UdsRenderer, type UdsRendererProps, VERBATIM_ATTRIBUTES, aliasHtmlTypes, computedFunctions, entryRenderer, glyphRegistryEntries, installRuntimeComponentStore, makeComponentEntry, registerComputed, resolveGlyph, runtimeComponent, slotFillValue, specContent, stampForcedModifiers, useForcedModifierStamp, withComputedFunctions, wrapEventBridge, wrapGlyphProps, wrapInlineStyleProps, wrapNormalizeHex, wrapRegistry };
@@ -1,5 +1,5 @@
1
1
  import { computedFunctions, registerComputed, withComputedFunctions } from "./computed.js";
2
- import { RendererErrorBoundary } from "./RendererErrorBoundary.js";
2
+ import { RendererErrorBoundary, RendererRevisionProvider } from "./RendererErrorBoundary.js";
3
3
  import { REVEALED_LAYER_ATTR, specContent } from "./spec-content.js";
4
4
  import { stampForcedModifiers } from "./forced-stamp.js";
5
5
  import { useForcedModifierStamp } from "./use-forced-stamp.js";
@@ -16,4 +16,4 @@ import { VERBATIM_ATTRIBUTES, aliasHtmlTypes } from "./wrappers/html-aliases.js"
16
16
  import { wrapInlineStyleProps } from "./wrappers/inline-styles.js";
17
17
  import { wrapRegistry } from "./wrapRegistry.js";
18
18
  import { UdsRenderer } from "./UdsRenderer.js";
19
- export { FragmentRenderer, REVEALED_LAYER_ATTR, RendererErrorBoundary, RuntimeComponentFailureContext, RuntimeComponentRebuildContext, RuntimeComponentStoreContext, SlotRenderer, UdsRenderer, VERBATIM_ATTRIBUTES, aliasHtmlTypes, computedFunctions, entryRenderer, glyphRegistryEntries, installRuntimeComponentStore, makeComponentEntry, registerComputed, resolveGlyph, runtimeComponent, slotFillValue, specContent, stampForcedModifiers, useForcedModifierStamp, withComputedFunctions, wrapEventBridge, wrapGlyphProps, wrapInlineStyleProps, wrapNormalizeHex, wrapRegistry };
19
+ export { FragmentRenderer, REVEALED_LAYER_ATTR, RendererErrorBoundary, RendererRevisionProvider, RuntimeComponentFailureContext, RuntimeComponentRebuildContext, RuntimeComponentStoreContext, SlotRenderer, UdsRenderer, VERBATIM_ATTRIBUTES, aliasHtmlTypes, computedFunctions, entryRenderer, glyphRegistryEntries, installRuntimeComponentStore, makeComponentEntry, registerComputed, resolveGlyph, runtimeComponent, slotFillValue, specContent, stampForcedModifiers, useForcedModifierStamp, withComputedFunctions, wrapEventBridge, wrapGlyphProps, wrapInlineStyleProps, wrapNormalizeHex, wrapRegistry };