@exponential_app/eui-react 0.7.1 → 0.8.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.
- package/dist/index.js +6 -3
- package/dist/index.js.map +3 -3
- package/dist/types/surface.d.ts +4 -1
- package/package.json +2 -2
package/dist/types/surface.d.ts
CHANGED
|
@@ -44,6 +44,9 @@ export interface ExponentialSurfaceProps {
|
|
|
44
44
|
timeZone?: string;
|
|
45
45
|
/** Built-in string overrides by id (`catalog/strings.json`). */
|
|
46
46
|
strings?: Record<string, string>;
|
|
47
|
+
/** VAPP-200: the viewer may read, not write (an app at app access
|
|
48
|
+
* `read`): every writing control paints disabled (`readOnlyTree`). */
|
|
49
|
+
readOnly?: boolean;
|
|
47
50
|
host?: HostPlugin;
|
|
48
51
|
extensions?: readonly ReactExtension[];
|
|
49
52
|
/** Forced interaction states on every node (the builder's recipe sheet). */
|
|
@@ -114,4 +117,4 @@ export declare function surfaceLayout(box: SurfaceBox, inputs: LayoutInputs): {
|
|
|
114
117
|
* inline `data={{ items, filter }}` with stable values costs one pass over
|
|
115
118
|
* its top-level keys). */
|
|
116
119
|
export declare function sameData(a: unknown, b: unknown): boolean;
|
|
117
|
-
export declare function ExponentialSurface({ surface, root: rootProp, templates: templatesProp, data: dataProp, theme: themeProp, mode: modeSetting, density, contrast, locale, timeZone, strings: stringOverrides, host, extensions: extensionsProp, states, measure, direction: directionProp, width, viewportHeight, id: idProp, handleRef, className, style, children, }: ExponentialSurfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
120
|
+
export declare function ExponentialSurface({ surface, root: rootProp, templates: templatesProp, data: dataProp, theme: themeProp, mode: modeSetting, density, contrast, locale, timeZone, strings: stringOverrides, readOnly, host, extensions: extensionsProp, states, measure, direction: directionProp, width, viewportHeight, id: idProp, handleRef, className, style, children, }: ExponentialSurfaceProps): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exponential_app/eui-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Exponential UI for React: the reference renderer of the core A2UI catalog on Radix with real CSS, runtime themes, extensions, and the shadcn primitive set the Exponential app shares.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://exponential.at/ui/",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"*.css"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@exponential_app/eui": "^0.
|
|
45
|
+
"@exponential_app/eui": "^0.8.0",
|
|
46
46
|
"class-variance-authority": "^0.7.1",
|
|
47
47
|
"clsx": "^2.1.1",
|
|
48
48
|
"lucide-react": "^0.544.0",
|