@oxy.so/bloom 7.7.0 → 7.7.1
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/docs/admonition.mdx +12 -3
- package/docs/adoption-matrix.mdx +2 -2
- package/lib/commonjs/admonition/Admonition.js +53 -31
- package/lib/commonjs/admonition/Admonition.js.map +1 -1
- package/lib/module/admonition/Admonition.js +53 -31
- package/lib/module/admonition/Admonition.js.map +1 -1
- package/lib/typescript/commonjs/admonition/Admonition.d.ts.map +1 -1
- package/lib/typescript/module/admonition/Admonition.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/admonition/Admonition.tsx +49 -28
- package/src/__tests__/support/adoption-matrix.ts +0 -683
- package/src/__tests__/support/card-surface.ts +0 -25
- package/src/__tests__/support/collision-fixture-barrel.ts +0 -20
- package/src/__tests__/support/commerce-harness.tsx +0 -97
- package/src/__tests__/support/composite.ts +0 -68
- package/src/__tests__/support/constructed-style-sheets.ts +0 -68
- package/src/__tests__/support/messages-in.ts +0 -10
- package/src/__tests__/support/press-host.ts +0 -30
- package/src/__tests__/support/rendered-style.ts +0 -99
- package/src/__tests__/support/unread-hook-fixture.ts +0 -33
- package/src/__tests__/support/worklet-capture-fixture.tsx +0 -28
- package/src/agent-avatar/__tests__/artwork-golden.json +0 -774
- package/src/agent-creator/__tests__/support/character-runtime-fixture.tsx +0 -26
- package/src/theme/__tests__/__fixtures__/golden-resolved-tokens.json +0 -9346
- package/src/theme/__tests__/__fixtures__/tonal-glass-primary-failures.json +0 -69
- package/src/theme/__tests__/fixtures/color-engine-golden.json +0 -1
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { ContextType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
CharacterCapabilitiesContext,
|
|
4
|
-
CharacterRuntimeContext,
|
|
5
|
-
} from '../../../agent-avatar/context';
|
|
6
|
-
|
|
7
|
-
/** Supply both internal channels without starting the browser engine in UI tests. */
|
|
8
|
-
export function CharacterRuntimeFixture({
|
|
9
|
-
value,
|
|
10
|
-
children,
|
|
11
|
-
}: {
|
|
12
|
-
value: ContextType<typeof CharacterRuntimeContext> &
|
|
13
|
-
ContextType<typeof CharacterCapabilitiesContext>;
|
|
14
|
-
children: ReactNode;
|
|
15
|
-
}) {
|
|
16
|
-
const { runtimeUrl, reportCapabilities, ...catalog } = value;
|
|
17
|
-
return (
|
|
18
|
-
<CharacterRuntimeContext.Provider
|
|
19
|
-
value={{ runtimeUrl, reportCapabilities }}
|
|
20
|
-
>
|
|
21
|
-
<CharacterCapabilitiesContext.Provider value={catalog}>
|
|
22
|
-
{children}
|
|
23
|
-
</CharacterCapabilitiesContext.Provider>
|
|
24
|
-
</CharacterRuntimeContext.Provider>
|
|
25
|
-
);
|
|
26
|
-
}
|