@wandelbots/wandelbots-js-react-components 1.19.2 → 1.20.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.
Files changed (39) hide show
  1. package/dist/components/LoadingButton.d.ts +1 -1
  2. package/dist/components/SelectableFab.d.ts +7 -0
  3. package/dist/components/SelectableFab.d.ts.map +1 -0
  4. package/dist/components/VelocitySlider.d.ts.map +1 -1
  5. package/dist/components/jogging/JoggingActivationRequired.d.ts.map +1 -1
  6. package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +3 -2
  7. package/dist/components/jogging/JoggingCartesianAxisControl.d.ts.map +1 -1
  8. package/dist/components/jogging/JoggingCartesianTab.d.ts +2 -3
  9. package/dist/components/jogging/JoggingCartesianTab.d.ts.map +1 -1
  10. package/dist/components/jogging/JoggingOptions.d.ts.map +1 -1
  11. package/dist/components/jogging/JoggingPanel.d.ts.map +1 -1
  12. package/dist/index.cjs +29 -29
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.ts +9 -7
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +15008 -14844
  17. package/dist/index.js.map +1 -1
  18. package/dist/themes/createDarkTheme.d.ts +3 -0
  19. package/dist/themes/createDarkTheme.d.ts.map +1 -0
  20. package/dist/themes/createLightTheme.d.ts +2 -0
  21. package/dist/themes/createLightTheme.d.ts.map +1 -0
  22. package/dist/themes/themeTypes.d.ts +74 -0
  23. package/dist/themes/themeTypes.d.ts.map +1 -0
  24. package/dist/themes/theming.d.ts +0 -30
  25. package/dist/themes/theming.d.ts.map +1 -1
  26. package/package.json +1 -1
  27. package/src/components/SelectableFab.tsx +47 -0
  28. package/src/components/VelocitySlider.tsx +1 -0
  29. package/src/components/jogging/JoggingActivationRequired.tsx +4 -3
  30. package/src/components/jogging/JoggingCartesianAxisControl.tsx +41 -28
  31. package/src/components/jogging/JoggingCartesianTab.tsx +16 -8
  32. package/src/components/jogging/JoggingOptions.tsx +10 -4
  33. package/src/components/jogging/JoggingPanel.tsx +15 -18
  34. package/src/index.ts +9 -7
  35. package/src/themes/createDarkTheme.ts +223 -0
  36. package/src/themes/createLightTheme.ts +8 -0
  37. package/src/themes/themeTypes.ts +79 -0
  38. package/src/themes/theming.ts +3 -153
  39. package/src/themes/themeTypes.d.ts +0 -11
@@ -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
- }, "children" | "color" | "size" | "className" | "style" | "tabIndex" | "classes" | "sx" | "href" | "action" | "disabled" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "variant" | "loadingIndicator" | "loadingPosition">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
4
+ }, "children" | "color" | "size" | "className" | "style" | "tabIndex" | "classes" | "sx" | "disabled" | "href" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "variant" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon" | "loadingIndicator" | "loadingPosition">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
5
5
  //# sourceMappingURL=LoadingButton.d.ts.map
@@ -0,0 +1,7 @@
1
+ import { type FabProps } from "@mui/material";
2
+ type CodeFabProps = {
3
+ selected?: boolean;
4
+ } & Omit<FabProps, "variant" | "color">;
5
+ export declare function SelectableFab({ selected, ...props }: CodeFabProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=SelectableFab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectableFab.d.ts","sourceRoot":"","sources":["../../src/components/SelectableFab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAA;AAiC1D,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,IAAI,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,CAAA;AAEvC,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CASjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"VelocitySlider.d.ts","sourceRoot":"","sources":["../../src/components/VelocitySlider.tsx"],"names":[],"mappings":"AAKA,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;CAC7C,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,cAAc,WAAoB,mBAAmB;;CA0ChE,CAAA"}
1
+ {"version":3,"file":"VelocitySlider.d.ts","sourceRoot":"","sources":["../../src/components/VelocitySlider.tsx"],"names":[],"mappings":"AAKA,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;CAC7C,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,cAAc,WAAoB,mBAAmB;;CA2ChE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"JoggingActivationRequired.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingActivationRequired.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD,eAAO,MAAM,yBAAyB,yBACd;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE;;CA6CzE,CAAA"}
1
+ {"version":3,"file":"JoggingActivationRequired.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingActivationRequired.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD,eAAO,MAAM,yBAAyB,yBACd;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE;;CA8CzE,CAAA"}
@@ -1,14 +1,15 @@
1
1
  import Stack from "@mui/material/Stack";
2
2
  import { type ReactNode } from "react";
3
+ import type { AxisControlComponentColors } from "../../themes/themeTypes";
3
4
  type JoggingCartesianAxisControlProps = {
4
- color?: string;
5
+ colors?: AxisControlComponentColors;
5
6
  label: ReactNode;
6
7
  getDisplayedValue: () => string;
7
8
  startJogging: (direction: "-" | "+") => void;
8
9
  stopJogging: () => void;
9
10
  disabled?: boolean;
10
11
  } & React.ComponentProps<typeof Stack>;
11
- export declare const JoggingCartesianAxisControl: (({ color, label, getDisplayedValue, startJogging, stopJogging, disabled, ...rest }: JoggingCartesianAxisControlProps) => import("react/jsx-runtime").JSX.Element) & {
12
+ export declare const JoggingCartesianAxisControl: (({ colors, label, getDisplayedValue, startJogging, stopJogging, disabled, ...rest }: JoggingCartesianAxisControlProps) => import("react/jsx-runtime").JSX.Element) & {
12
13
  displayName: string;
13
14
  };
14
15
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"JoggingCartesianAxisControl.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianAxisControl.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,qBAAqB,CAAA;AAEvC,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAI9C,KAAK,gCAAgC,GAAG;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,SAAS,CAAA;IAChB,iBAAiB,EAAE,MAAM,MAAM,CAAA;IAC/B,YAAY,EAAE,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,KAAK,IAAI,CAAA;IAC5C,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,CAAA;AAEtC,eAAO,MAAM,2BAA2B,uFAUjC,gCAAgC;;CAuGtC,CAAA"}
1
+ {"version":3,"file":"JoggingCartesianAxisControl.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianAxisControl.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,qBAAqB,CAAA;AAEvC,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAE9C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAA;AAGzE,KAAK,gCAAgC,GAAG;IACtC,MAAM,CAAC,EAAE,0BAA0B,CAAA;IACnC,KAAK,EAAE,SAAS,CAAA;IAChB,iBAAiB,EAAE,MAAM,MAAM,CAAA;IAC/B,YAAY,EAAE,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,KAAK,IAAI,CAAA;IAC5C,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,CAAA;AAEtC,eAAO,MAAM,2BAA2B,wFAUjC,gCAAgC;;CAkHtC,CAAA"}
@@ -1,8 +1,7 @@
1
- import type { ReactNode } from "react";
2
1
  import type { JoggingStore } from "./JoggingStore";
3
- export declare const JoggingCartesianTab: (({ store, children }: {
2
+ export declare const JoggingCartesianTab: (({ store, children, }: {
4
3
  store: JoggingStore;
5
- children?: ReactNode;
4
+ children?: React.ReactNode;
6
5
  }) => import("react/jsx-runtime").JSX.Element) & {
7
6
  displayName: string;
8
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"JoggingCartesianTab.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianTab.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAYtC,OAAO,KAAK,EAA2B,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAS3E,eAAO,MAAM,mBAAmB,yBACR;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE;;CA0PpE,CAAA"}
1
+ {"version":3,"file":"JoggingCartesianTab.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianTab.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAA2B,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAS3E,eAAO,MAAM,mBAAmB,0BAI3B;IACD,KAAK,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;;CA4PF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"JoggingOptions.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingOptions.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAErE,eAAO,MAAM,cAAc,eAAwB;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;CAmIxE,CAAA"}
1
+ {"version":3,"file":"JoggingOptions.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingOptions.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAErE,eAAO,MAAM,cAAc,eAAwB;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;CAyIxE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"JoggingPanel.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingPanel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAUtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gFAAgF;IAChF,IAAI,EAAE,UAAU,GAAG,MAAM,CAAA;IACzB,iDAAiD;IACjD,aAAa,EAAE,MAAM,CAAA;IACrB,qFAAqF;IACrF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAA;IACvC,iFAAiF;IACjF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,0FAA0F;IAC1F,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,WACN,iBAAiB;;CA6EnC,CAAA"}
1
+ {"version":3,"file":"JoggingPanel.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingPanel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAUtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gFAAgF;IAChF,IAAI,EAAE,UAAU,GAAG,MAAM,CAAA;IACzB,iDAAiD;IACjD,aAAa,EAAE,MAAM,CAAA;IACrB,qFAAqF;IACrF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAA;IACvC,iFAAiF;IACjF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,0FAA0F;IAC1F,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,WACN,iBAAiB;;CAsEnC,CAAA"}