@wandelbots/wandelbots-js-react-components 1.4.1 → 1.4.3
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/components/LoadingButton.d.ts +1 -1
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/components/wandelscript-editor/WandelscriptEditor.d.ts +2 -0
- package/dist/components/wandelscript-editor/WandelscriptEditor.d.ts.map +1 -1
- package/dist/index.cjs +28 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1514 -1394
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/robots/SupportedRobot.tsx +3 -0
- package/src/components/wandelscript-editor/WandelscriptEditor.tsx +6 -16
- package/src/index.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Button with a loading state to indicate a task is being processed */
|
|
2
2
|
export declare const LoadingButton: import("react").ForwardRefExoticComponent<Omit<import("@mui/lab").LoadingButtonOwnProps & Omit<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes">, "classes"> & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
4
|
-
}, "
|
|
4
|
+
}, "loading" | "className" | "children" | "style" | "color" | "classes" | "tabIndex" | "sx" | "disabled" | "size" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "variant" | "loadingIndicator" | "loadingPosition">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
//# sourceMappingURL=LoadingButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupportedRobot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/SupportedRobot.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EACV,wBAAwB,EACxB,WAAW,EACZ,MAAM,mCAAmC,CAAA;AAG1C,MAAM,MAAM,YAAY,GAAG;IACzB,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;CACjC,GAAG,UAAU,CAAA;AAEd,MAAM,MAAM,UAAU,GAAG;IACvB,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,UAAU,CAAA;AAEd,MAAM,MAAM,mBAAmB,GAAG;IAChC,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,mBAAmB,EAAE,MAAM,CAAA;IAC3B,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,QAAQ,CAAC,EAAE,CAAC,mBAAmB,EAAE,MAAM,KAAK,MAAM,CAAA;CACnD,GAAG,UAAU,CAAA;AAEd,wBAAgB,eAAe,CAAC,mBAAmB,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED,wBAAgB,cAAc,CAAC,EAC7B,0BAA0B,EAC1B,mBAAmB,EACnB,YAAY,EACZ,QAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"SupportedRobot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/SupportedRobot.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EACV,wBAAwB,EACxB,WAAW,EACZ,MAAM,mCAAmC,CAAA;AAG1C,MAAM,MAAM,YAAY,GAAG;IACzB,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;CACjC,GAAG,UAAU,CAAA;AAEd,MAAM,MAAM,UAAU,GAAG;IACvB,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,UAAU,CAAA;AAEd,MAAM,MAAM,mBAAmB,GAAG;IAChC,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,mBAAmB,EAAE,MAAM,CAAA;IAC3B,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,QAAQ,CAAC,EAAE,CAAC,mBAAmB,EAAE,MAAM,KAAK,MAAM,CAAA;CACnD,GAAG,UAAU,CAAA;AAEd,wBAAgB,eAAe,CAAC,mBAAmB,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED,wBAAgB,cAAc,CAAC,EAC7B,0BAA0B,EAC1B,mBAAmB,EACnB,YAAY,EACZ,QAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,mBAAmB,2CA0FrB"}
|
|
@@ -6,6 +6,8 @@ type WandelscriptEditorProps = {
|
|
|
6
6
|
/** What to do when the user edits the code */
|
|
7
7
|
onChange?: (code: string | undefined, ev: editor.IModelContentChangedEvent) => void;
|
|
8
8
|
/** Callback to further configure monaco on startup if needed */
|
|
9
|
+
monacoOptions?: editor.IEditorOptions;
|
|
10
|
+
/** Callback to further configure monaco on startup if needed */
|
|
9
11
|
monacoSetup?: (monaco: Monaco) => void;
|
|
10
12
|
};
|
|
11
13
|
/** A Monaco (VSCode-style) embedded code editor with Wandelscript syntax highlighting */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WandelscriptEditor.d.ts","sourceRoot":"","sources":["../../../src/components/wandelscript-editor/WandelscriptEditor.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAa,KAAK,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAOrE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAEtC,KAAK,uBAAuB,GAAG;IAC7B,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,GAAC,SAAS,EAAE,EAAE,EAAE,MAAM,CAAC,yBAAyB,KAAK,IAAI,CAAA;IACjF,gEAAgE;IAChE,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CACvC,CAAA;AAID,yFAAyF;AACzF,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,
|
|
1
|
+
{"version":3,"file":"WandelscriptEditor.d.ts","sourceRoot":"","sources":["../../../src/components/wandelscript-editor/WandelscriptEditor.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAa,KAAK,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAOrE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAEtC,KAAK,uBAAuB,GAAG;IAC7B,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,GAAC,SAAS,EAAE,EAAE,EAAE,MAAM,CAAC,yBAAyB,KAAK,IAAI,CAAA;IACjF,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC,cAAc,CAAA;IACrC,gEAAgE;IAChE,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CACvC,CAAA;AAID,yFAAyF;AACzF,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,mDAgFhE,CAAA"}
|