@mui/toolpad-core
Advanced tools
Comparing version 0.1.16 to 0.1.17
import { | ||
TOOLPAD_LOADING_MARKER | ||
} from "./chunk-4BAVIKGO.js"; | ||
} from "./chunk-AHDGAMJC.js"; | ||
@@ -5,0 +5,0 @@ // src/jsBrowserRuntime.tsx |
import { | ||
TOOLPAD_LOADING_MARKER, | ||
evaluateBindable | ||
} from "./chunk-4BAVIKGO.js"; | ||
} from "./chunk-AHDGAMJC.js"; | ||
export { | ||
@@ -6,0 +6,0 @@ TOOLPAD_LOADING_MARKER, |
@@ -7,39 +7,20 @@ import type * as React from 'react'; | ||
export type NodeId = Branded<string, 'NodeId'>; | ||
export type BindingAttrValueFormat = 'stringLiteral' | 'default'; | ||
export interface NodeReference { | ||
$ref: NodeId; | ||
} | ||
export interface BoundExpressionAttrValue { | ||
type: 'boundExpression'; | ||
value: string; | ||
format?: BindingAttrValueFormat; | ||
} | ||
export interface JsExpressionAttrValue { | ||
type: 'jsExpression'; | ||
value: string; | ||
$$jsExpression: string; | ||
} | ||
export interface EnvAttrValue { | ||
type: 'env'; | ||
value: string; | ||
$$env: string; | ||
} | ||
export interface BindingAttrValue { | ||
type: 'binding'; | ||
value: string; | ||
} | ||
export interface ConstantAttrValue<V> { | ||
type: 'const'; | ||
value: V; | ||
} | ||
export interface SecretAttrValue<V> { | ||
type: 'secret'; | ||
value: V; | ||
$$secret: V; | ||
} | ||
export interface JsExpressionAction { | ||
type: 'jsExpressionAction'; | ||
value: string; | ||
$$jsExpressionAction: string; | ||
} | ||
export interface NavigationAction<P = any> { | ||
type: 'navigationAction'; | ||
value: { | ||
page: NodeReference; | ||
$$navigationAction: { | ||
page: string; | ||
parameters?: BindableAttrValues<P>; | ||
@@ -49,6 +30,3 @@ }; | ||
export type BindableAction = JsExpressionAction | NavigationAction; | ||
export type BindableAttrValue<V> = ConstantAttrValue<V> | BindingAttrValue | SecretAttrValue<V> | BoundExpressionAttrValue | JsExpressionAttrValue | EnvAttrValue | BindableAction; | ||
export type ConstantAttrValues<P> = { | ||
[K in keyof P]: ConstantAttrValue<P[K]>; | ||
}; | ||
export type BindableAttrValue<V> = V | SecretAttrValue<V> | JsExpressionAttrValue | EnvAttrValue | BindableAction; | ||
export type NestedBindableAttrs = BindableAttrValue<any> | BindableAttrValues<any> | [string, BindableAttrValue<any>][]; | ||
@@ -59,2 +37,3 @@ export type BindableAttrValues<P = Record<string, unknown>> = { | ||
export type BindableAttrEntries = [string, BindableAttrValue<any>][]; | ||
export type PropBindableAttrValue<V> = V | JsExpressionAttrValue | EnvAttrValue; | ||
export type SlotType = 'single' | 'multiple' | 'layout'; | ||
@@ -61,0 +40,0 @@ export interface ValueTypeBase { |
{ | ||
"name": "@mui/toolpad-core", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "Build MUI apps quickly", | ||
@@ -44,8 +44,8 @@ "author": "MUI Toolpad team", | ||
"dependencies": { | ||
"@mui/toolpad-utils": "0.1.16", | ||
"@tanstack/react-query": "4.29.12", | ||
"@mui/toolpad-utils": "0.1.17", | ||
"@tanstack/react-query": "4.29.14", | ||
"@types/json-schema": "^7.0.12", | ||
"invariant": "2.2.4", | ||
"quickjs-emscripten": "0.23.0", | ||
"react-error-boundary": "4.0.9", | ||
"react-error-boundary": "4.0.10", | ||
"react-is": "18.2.0" | ||
@@ -55,3 +55,3 @@ }, | ||
"@types/react-is": "18.2.0", | ||
"concurrently": "8.1.0" | ||
"concurrently": "8.2.0" | ||
}, | ||
@@ -64,3 +64,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "ef8f76b53caebbd2f463555e77a0f4a15cdc834e" | ||
"gitHead": "c8b22003698070cd85b6fc336c05f5645f45da24" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
188999
2440
+ Added@mui/toolpad-utils@0.1.17(transitive)
+ Added@tanstack/query-core@4.29.14(transitive)
+ Added@tanstack/react-query@4.29.14(transitive)
+ Addedreact-error-boundary@4.0.10(transitive)
- Removed@mui/toolpad-utils@0.1.16(transitive)
- Removed@tanstack/query-core@4.29.11(transitive)
- Removed@tanstack/react-query@4.29.12(transitive)
- Removedreact-error-boundary@4.0.9(transitive)
Updated@mui/toolpad-utils@0.1.17
Updatedreact-error-boundary@4.0.10