@wandelbots/wandelbots-js-react-components 1.11.1 → 1.11.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/index.cjs +29 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3109 -3065
- package/dist/index.js.map +1 -1
- package/dist/src/Setup.d.ts.map +1 -0
- package/dist/src/components/3d-viewport/CoordinateSystemTransform.d.ts.map +1 -0
- package/dist/src/components/3d-viewport/PresetEnvironment.d.ts.map +1 -0
- package/dist/src/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -0
- package/dist/src/components/ConsoleFilter.d.ts.map +1 -0
- package/dist/src/components/CopyableText.d.ts.map +1 -0
- package/dist/src/components/LoadingButton.d.ts.map +1 -0
- package/dist/src/components/LoadingCover.d.ts.map +1 -0
- package/dist/src/components/ThemeSelect.d.ts.map +1 -0
- package/dist/src/components/VelocitySlider.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingCartesianAxisControl.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingCartesianTab.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingCartesianValues.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingFreedriveTab.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingJointLimitDetector.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingJointRotationControl.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingJointTab.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingJointValues.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingOptions.d.ts.map +1 -0
- package/dist/{components → src/components}/jogging/JoggingPanel.d.ts +8 -5
- package/dist/src/components/jogging/JoggingPanel.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingStore.d.ts.map +1 -0
- package/dist/src/components/jogging/JoggingVelocitySlider.d.ts.map +1 -0
- package/dist/src/components/modal/NoMotionGroupModal.d.ts.map +1 -0
- package/dist/src/components/robots/ABB_1200_07_7.d.ts.map +1 -0
- package/dist/src/components/robots/AxisConfig.d.ts.map +1 -0
- package/dist/src/components/robots/DHRobot.d.ts.map +1 -0
- package/dist/src/components/robots/FANUC_ARC_Mate_100iD.d.ts.map +1 -0
- package/dist/src/components/robots/FANUC_ARC_Mate_120iD.d.ts.map +1 -0
- package/dist/src/components/robots/FANUC_CRX10iA.d.ts.map +1 -0
- package/dist/src/components/robots/FANUC_CRX20iAL.d.ts.map +1 -0
- package/dist/src/components/robots/FANUC_CRX25iA.d.ts.map +1 -0
- package/dist/src/components/robots/FANUC_CRX25iAL.d.ts.map +1 -0
- package/dist/src/components/robots/KUKA_KR210_R2700.d.ts.map +1 -0
- package/dist/src/components/robots/KUKA_KR270_R2700.d.ts.map +1 -0
- package/dist/src/components/robots/Robot.d.ts.map +1 -0
- package/dist/src/components/robots/RobotAnimator.d.ts.map +1 -0
- package/dist/{components → src/components}/robots/SupportedRobot.d.ts +1 -1
- package/dist/src/components/robots/SupportedRobot.d.ts.map +1 -0
- package/dist/src/components/robots/UniversalRobots_UR10.d.ts.map +1 -0
- package/dist/src/components/robots/UniversalRobots_UR10e.d.ts.map +1 -0
- package/dist/src/components/robots/UniversalRobots_UR3.d.ts.map +1 -0
- package/dist/src/components/robots/UniversalRobots_UR3e.d.ts.map +1 -0
- package/dist/src/components/robots/UniversalRobots_UR5.d.ts.map +1 -0
- package/dist/src/components/robots/UniversalRobots_UR5e.d.ts.map +1 -0
- package/dist/src/components/robots/Yaskawa_AR1440.d.ts.map +1 -0
- package/dist/src/components/robots/Yaskawa_AR1730.d.ts.map +1 -0
- package/dist/src/components/robots/Yaskawa_AR2010.d.ts.map +1 -0
- package/dist/src/components/robots/Yaskawa_AR3120.d.ts.map +1 -0
- package/dist/src/components/robots/Yaskawa_AR900.d.ts.map +1 -0
- package/dist/src/components/utils/converters.d.ts.map +1 -0
- package/dist/src/components/utils/errorHandling.d.ts.map +1 -0
- package/dist/src/components/utils/hooks.d.ts.map +1 -0
- package/dist/src/components/utils/robotTreeQuery.d.ts.map +1 -0
- package/dist/src/components/wandelscript-editor/WandelscriptEditor.d.ts.map +1 -0
- package/dist/src/components/wandelscript-editor/wandelscript.tmLanguage.d.ts.map +1 -0
- package/dist/src/externalizeComponent.d.ts +7 -0
- package/dist/src/externalizeComponent.d.ts.map +1 -0
- package/dist/src/i18n/config.d.ts.map +1 -0
- package/dist/src/icons/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/themes/color.d.ts.map +1 -0
- package/dist/src/themes/theming.d.ts.map +1 -0
- package/dist/{components/jogging → stories}/JoggingCartesianAxisControl.stories.d.ts +1 -1
- package/dist/stories/JoggingCartesianAxisControl.stories.d.ts.map +1 -0
- package/dist/{components/jogging → stories}/JoggingJointRotationControl.stories.d.ts +1 -1
- package/dist/stories/JoggingJointRotationControl.stories.d.ts.map +1 -0
- package/dist/{components/jogging → stories}/JoggingPanel.stories.d.ts +1 -1
- package/dist/stories/JoggingPanel.stories.d.ts.map +1 -0
- package/dist/{components → stories}/LoadingButton.stories.d.ts +1 -1
- package/dist/stories/LoadingButton.stories.d.ts.map +1 -0
- package/dist/stories/SafetyZonesRenderer.stories.d.ts +147 -0
- package/dist/stories/SafetyZonesRenderer.stories.d.ts.map +1 -0
- package/dist/{components/robots → stories}/SupportedRobot.stories.d.ts +2 -2
- package/dist/stories/SupportedRobot.stories.d.ts.map +1 -0
- package/dist/{components → stories}/VelocitySlider.stories.d.ts +1 -1
- package/dist/stories/VelocitySlider.stories.d.ts.map +1 -0
- package/dist/{components/wandelscript-editor → stories}/WandelscriptEditor.stories.d.ts +1 -1
- package/dist/stories/WandelscriptEditor.stories.d.ts.map +1 -0
- package/dist/stories/novaTheme.stories.d.ts.map +1 -0
- package/package.json +5 -6
- package/src/components/3d-viewport/SafetyZonesRenderer.tsx +51 -0
- package/src/components/VelocitySlider.tsx +1 -1
- package/src/components/jogging/JoggingCartesianAxisControl.tsx +98 -95
- package/src/components/jogging/JoggingJointRotationControl.tsx +182 -177
- package/src/components/jogging/JoggingPanel.tsx +106 -90
- package/src/components/modal/NoMotionGroupModal.tsx +70 -62
- package/src/components/robots/SupportedRobot.tsx +191 -188
- package/src/components/wandelscript-editor/WandelscriptEditor.tsx +98 -100
- package/src/externalizeComponent.tsx +8 -6
- package/src/index.ts +10 -42
- package/dist/Setup.d.ts.map +0 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +0 -1
- package/dist/components/3d-viewport/PresetEnvironment.d.ts.map +0 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +0 -1
- package/dist/components/ConsoleFilter.d.ts.map +0 -1
- package/dist/components/CopyableText.d.ts.map +0 -1
- package/dist/components/LoadingButton.d.ts.map +0 -1
- package/dist/components/LoadingButton.stories.d.ts.map +0 -1
- package/dist/components/LoadingCover.d.ts.map +0 -1
- package/dist/components/ThemeSelect.d.ts.map +0 -1
- package/dist/components/VelocitySlider.d.ts.map +0 -1
- package/dist/components/VelocitySlider.stories.d.ts.map +0 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts.map +0 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.stories.d.ts.map +0 -1
- package/dist/components/jogging/JoggingCartesianTab.d.ts.map +0 -1
- package/dist/components/jogging/JoggingCartesianValues.d.ts.map +0 -1
- package/dist/components/jogging/JoggingFreedriveTab.d.ts.map +0 -1
- package/dist/components/jogging/JoggingJointLimitDetector.d.ts.map +0 -1
- package/dist/components/jogging/JoggingJointRotationControl.d.ts.map +0 -1
- package/dist/components/jogging/JoggingJointRotationControl.stories.d.ts.map +0 -1
- package/dist/components/jogging/JoggingJointTab.d.ts.map +0 -1
- package/dist/components/jogging/JoggingJointValues.d.ts.map +0 -1
- package/dist/components/jogging/JoggingOptions.d.ts.map +0 -1
- package/dist/components/jogging/JoggingPanel.d.ts.map +0 -1
- package/dist/components/jogging/JoggingPanel.stories.d.ts.map +0 -1
- package/dist/components/jogging/JoggingStore.d.ts.map +0 -1
- package/dist/components/jogging/JoggingVelocitySlider.d.ts.map +0 -1
- package/dist/components/modal/NoMotionGroupModal.d.ts.map +0 -1
- package/dist/components/robots/ABB_1200_07_7.d.ts.map +0 -1
- package/dist/components/robots/AxisConfig.d.ts.map +0 -1
- package/dist/components/robots/DHRobot.d.ts.map +0 -1
- package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts.map +0 -1
- package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX10iA.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX20iAL.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX25iA.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX25iAL.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR210_R2700.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR270_R2700.d.ts.map +0 -1
- package/dist/components/robots/Robot.d.ts.map +0 -1
- package/dist/components/robots/RobotAnimator.d.ts.map +0 -1
- package/dist/components/robots/SupportedRobot.d.ts.map +0 -1
- package/dist/components/robots/SupportedRobot.stories.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR10.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR10e.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR3.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR3e.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR5.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR5e.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR1440.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR1730.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR2010.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR3120.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR900.d.ts.map +0 -1
- package/dist/components/utils/converters.d.ts.map +0 -1
- package/dist/components/utils/errorHandling.d.ts.map +0 -1
- package/dist/components/utils/hooks.d.ts.map +0 -1
- package/dist/components/utils/robotTreeQuery.d.ts.map +0 -1
- package/dist/components/wandelscript-editor/WandelscriptEditor.d.ts.map +0 -1
- package/dist/components/wandelscript-editor/WandelscriptEditor.stories.d.ts.map +0 -1
- package/dist/components/wandelscript-editor/wandelscript.tmLanguage.d.ts.map +0 -1
- package/dist/externalizeComponent.d.ts +0 -7
- package/dist/externalizeComponent.d.ts.map +0 -1
- package/dist/i18n/config.d.ts.map +0 -1
- package/dist/icons/index.d.ts.map +0 -1
- package/dist/index.d.ts +0 -54
- package/dist/index.d.ts.map +0 -1
- package/dist/themes/color.d.ts.map +0 -1
- package/dist/themes/novaTheme.stories.d.ts.map +0 -1
- package/dist/themes/theming.d.ts.map +0 -1
- package/src/components/LoadingButton.stories.tsx +0 -54
- package/src/components/VelocitySlider.stories.tsx +0 -27
- package/src/components/jogging/JoggingCartesianAxisControl.stories.tsx +0 -41
- package/src/components/jogging/JoggingJointRotationControl.stories.tsx +0 -50
- package/src/components/jogging/JoggingPanel.stories.tsx +0 -29
- package/src/components/robots/SupportedRobot.stories.tsx +0 -130
- package/src/components/wandelscript-editor/WandelscriptEditor.stories.tsx +0 -45
- package/src/themes/novaTheme.stories.tsx +0 -77
- /package/dist/{Setup.d.ts → src/Setup.d.ts} +0 -0
- /package/dist/{components → src/components}/3d-viewport/CoordinateSystemTransform.d.ts +0 -0
- /package/dist/{components → src/components}/3d-viewport/PresetEnvironment.d.ts +0 -0
- /package/dist/{components → src/components}/3d-viewport/SafetyZonesRenderer.d.ts +0 -0
- /package/dist/{components → src/components}/ConsoleFilter.d.ts +0 -0
- /package/dist/{components → src/components}/CopyableText.d.ts +0 -0
- /package/dist/{components → src/components}/LoadingButton.d.ts +0 -0
- /package/dist/{components → src/components}/LoadingCover.d.ts +0 -0
- /package/dist/{components → src/components}/ThemeSelect.d.ts +0 -0
- /package/dist/{components → src/components}/VelocitySlider.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingCartesianAxisControl.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingCartesianTab.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingCartesianValues.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingFreedriveTab.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingJointLimitDetector.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingJointRotationControl.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingJointTab.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingJointValues.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingOptions.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingStore.d.ts +0 -0
- /package/dist/{components → src/components}/jogging/JoggingVelocitySlider.d.ts +0 -0
- /package/dist/{components → src/components}/modal/NoMotionGroupModal.d.ts +0 -0
- /package/dist/{components → src/components}/robots/ABB_1200_07_7.d.ts +0 -0
- /package/dist/{components → src/components}/robots/AxisConfig.d.ts +0 -0
- /package/dist/{components → src/components}/robots/DHRobot.d.ts +0 -0
- /package/dist/{components → src/components}/robots/FANUC_ARC_Mate_100iD.d.ts +0 -0
- /package/dist/{components → src/components}/robots/FANUC_ARC_Mate_120iD.d.ts +0 -0
- /package/dist/{components → src/components}/robots/FANUC_CRX10iA.d.ts +0 -0
- /package/dist/{components → src/components}/robots/FANUC_CRX20iAL.d.ts +0 -0
- /package/dist/{components → src/components}/robots/FANUC_CRX25iA.d.ts +0 -0
- /package/dist/{components → src/components}/robots/FANUC_CRX25iAL.d.ts +0 -0
- /package/dist/{components → src/components}/robots/KUKA_KR210_R2700.d.ts +0 -0
- /package/dist/{components → src/components}/robots/KUKA_KR270_R2700.d.ts +0 -0
- /package/dist/{components → src/components}/robots/Robot.d.ts +0 -0
- /package/dist/{components → src/components}/robots/RobotAnimator.d.ts +0 -0
- /package/dist/{components → src/components}/robots/UniversalRobots_UR10.d.ts +0 -0
- /package/dist/{components → src/components}/robots/UniversalRobots_UR10e.d.ts +0 -0
- /package/dist/{components → src/components}/robots/UniversalRobots_UR3.d.ts +0 -0
- /package/dist/{components → src/components}/robots/UniversalRobots_UR3e.d.ts +0 -0
- /package/dist/{components → src/components}/robots/UniversalRobots_UR5.d.ts +0 -0
- /package/dist/{components → src/components}/robots/UniversalRobots_UR5e.d.ts +0 -0
- /package/dist/{components → src/components}/robots/Yaskawa_AR1440.d.ts +0 -0
- /package/dist/{components → src/components}/robots/Yaskawa_AR1730.d.ts +0 -0
- /package/dist/{components → src/components}/robots/Yaskawa_AR2010.d.ts +0 -0
- /package/dist/{components → src/components}/robots/Yaskawa_AR3120.d.ts +0 -0
- /package/dist/{components → src/components}/robots/Yaskawa_AR900.d.ts +0 -0
- /package/dist/{components → src/components}/utils/converters.d.ts +0 -0
- /package/dist/{components → src/components}/utils/errorHandling.d.ts +0 -0
- /package/dist/{components → src/components}/utils/hooks.d.ts +0 -0
- /package/dist/{components → src/components}/utils/robotTreeQuery.d.ts +0 -0
- /package/dist/{components → src/components}/wandelscript-editor/WandelscriptEditor.d.ts +0 -0
- /package/dist/{components → src/components}/wandelscript-editor/wandelscript.tmLanguage.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/config.d.ts +0 -0
- /package/dist/{icons → src/icons}/index.d.ts +0 -0
- /package/dist/{themes → src/themes}/color.d.ts +0 -0
- /package/dist/{themes → src/themes}/theming.d.ts +0 -0
- /package/dist/{themes → stories}/novaTheme.stories.d.ts +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export type * from "./components/wandelscript-editor/WandelscriptEditor";
|
|
2
|
-
export declare const WandelscriptEditor: (props: {
|
|
3
|
-
code?: string;
|
|
4
|
-
onChange?: (code: string | undefined, ev: import("monaco-editor").editor.IModelContentChangedEvent) => void;
|
|
5
|
-
monacoOptions?: import("monaco-editor").editor.IEditorOptions;
|
|
6
|
-
monacoSetup?: (monaco: import("@monaco-editor/react").Monaco) => void;
|
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export type * from "./components/robots/SupportedRobot";
|
|
9
|
-
export declare const SupportedRobot: (props: import(".").SupportedRobotProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export type * from "./components/robots/Robot";
|
|
11
|
-
export declare const Robot: (props: import(".").ConnectecMotionGroupRobotProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export type * from "./components/3d-viewport/PresetEnvironment";
|
|
13
|
-
export declare const PresetEnvironment: (props: unknown) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export type * from "./components/3d-viewport/SafetyZonesRenderer";
|
|
15
|
-
export declare const SafetyZonesRenderer: (props: import(".").SafetyZonesRendererProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export type * from "./components/jogging/JoggingCartesianAxisControl";
|
|
17
|
-
export declare const JoggingCartesianAxisControl: (props: {
|
|
18
|
-
color?: string;
|
|
19
|
-
label: import("react").ReactNode;
|
|
20
|
-
getDisplayedValue: () => string;
|
|
21
|
-
startJogging: (direction: "-" | "+") => void;
|
|
22
|
-
stopJogging: () => void;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
} & import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
25
|
-
ref?: ((instance: HTMLDivElement | 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<HTMLDivElement> | null | undefined;
|
|
26
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps>) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export type * from "./components/jogging/JoggingJointRotationControl";
|
|
28
|
-
export declare const JoggingJointRotationControl: (props: {
|
|
29
|
-
startJogging: (direction: "-" | "+") => void;
|
|
30
|
-
stopJogging: () => void;
|
|
31
|
-
lowerLimitDegs?: number;
|
|
32
|
-
upperLimitDegs?: number;
|
|
33
|
-
getValueDegs: () => number | undefined;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
} & import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
36
|
-
ref?: ((instance: HTMLDivElement | 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<HTMLDivElement> | null | undefined;
|
|
37
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps>) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
export type { JoggingStore } from "./components/jogging/JoggingStore";
|
|
39
|
-
export type * from "./components/jogging/JoggingPanel";
|
|
40
|
-
export declare const JoggingPanel: (props: import(".").JoggingPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
export type * from "./components/VelocitySlider";
|
|
42
|
-
export declare const VelocitySlider: (props: {
|
|
43
|
-
min: number;
|
|
44
|
-
max: number;
|
|
45
|
-
velocity: number;
|
|
46
|
-
onVelocityChange: (newVelocity: number) => void;
|
|
47
|
-
disabled?: boolean;
|
|
48
|
-
valueLabelFormat?: (value: number) => string;
|
|
49
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
50
|
-
export type * from "./components/modal/NoMotionGroupModal";
|
|
51
|
-
export declare const NoMotionGroupModal: (props: string | undefined) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
export * from "./components/utils/hooks";
|
|
53
|
-
export * from "./components/robots/AxisConfig";
|
|
54
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,mBAAmB,qDAAqD,CAAA;AAExE,eAAO,MAAM,kBAAkB;;;;;6CAA2B,CAAA;AAE1D,mBAAmB,oCAAoC,CAAA;AAEvD,eAAO,MAAM,cAAc,qFAA2B,CAAA;AAEtD,mBAAmB,2BAA2B,CAAA;AAE9C,eAAO,MAAM,KAAK,gGAA0B,CAAA;AAE5C,mBAAmB,4CAA4C,CAAA;AAE/D,eAAO,MAAM,iBAAiB,6DAA2B,CAAA;AAEzD,mBAAmB,8CAA8C,CAAA;AAEjE,eAAO,MAAM,mBAAmB,0FAA4B,CAAA;AAE5D,mBAAmB,kDAAkD,CAAA;AAErE,eAAO,MAAM,2BAA2B;;;;;;;;;4JAA6B,CAAA;AAErE,mBAAmB,kDAAkD,CAAA;AAErE,eAAO,MAAM,2BAA2B;;;;;;;;;4JAA6B,CAAA;AAErE,YAAY,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,mBAAmB,mCAAmC,CAAA;AAEtD,eAAO,MAAM,YAAY,mFAA2B,CAAA;AAEpD,mBAAmB,6BAA6B,CAAA;AAEhD,eAAO,MAAM,cAAc;;;;;;;6CAA2B,CAAA;AAEtD,mBAAmB,uCAAuC,CAAA;AAE1D,eAAO,MAAM,kBAAkB,wEAA6B,CAAA;AAE5D,cAAc,0BAA0B,CAAA;AACxC,cAAc,gCAAgC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/themes/color.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAGtC,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAsBxE;AAED,wBAAgB,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,2CAuDrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"novaTheme.stories.d.ts","sourceRoot":"","sources":["../../src/themes/novaTheme.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAY,MAAM,kBAAkB,CAAA;AAItD,QAAA,MAAM,YAAY,+CAuDjB,CAAA;AAED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CASnC,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theming.d.ts","sourceRoot":"","sources":["../../src/themes/theming.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAyBjD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;UACR,MAAM,GAAG,OAAO;;;;;;;;;;CAUjC,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,OAAO,aAAa,CAAA;AAE5C,eAAO,MAAM,cAAc;;;;;;;;;;;CAWN,CAAA;AAErB;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,GAAE,OAAO,CAAC,SAAS,CAAM,GAAG,SAAS,CAGxE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,SAAS,GAAG,KAAK,CA6FlE"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
-
import { LoadingButton } from "./LoadingButton"
|
|
3
|
-
import { useState } from "react"
|
|
4
|
-
import PlayArrow from "@mui/icons-material/PlayArrow"
|
|
5
|
-
|
|
6
|
-
async function delay(ms: number) {
|
|
7
|
-
return new Promise<void>((resolve) => {
|
|
8
|
-
setTimeout(() => {
|
|
9
|
-
resolve()
|
|
10
|
-
}, ms)
|
|
11
|
-
})
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const DemoLoader = (props: React.ComponentProps<typeof LoadingButton>) => {
|
|
15
|
-
const [isLoading, setIsLoading] = useState(false)
|
|
16
|
-
|
|
17
|
-
async function doThing() {
|
|
18
|
-
setIsLoading(true)
|
|
19
|
-
try {
|
|
20
|
-
await delay(1000)
|
|
21
|
-
} finally {
|
|
22
|
-
setIsLoading(false)
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return <LoadingButton loading={isLoading} onClick={doThing} {...props} />
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const meta: Meta<typeof LoadingButton> = {
|
|
30
|
-
component: LoadingButton,
|
|
31
|
-
|
|
32
|
-
args: {
|
|
33
|
-
children: "Click me",
|
|
34
|
-
loadingPosition: "start",
|
|
35
|
-
variant: "contained",
|
|
36
|
-
startIcon: <PlayArrow />,
|
|
37
|
-
},
|
|
38
|
-
argTypes: {
|
|
39
|
-
loadingPosition: {
|
|
40
|
-
options: ["center", "start", "end"],
|
|
41
|
-
control: { type: "select" },
|
|
42
|
-
},
|
|
43
|
-
variant: {
|
|
44
|
-
options: ["contained", "outlined", "text"],
|
|
45
|
-
control: { type: "select" },
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
render: (props) => {
|
|
49
|
-
return <DemoLoader {...props} />
|
|
50
|
-
},
|
|
51
|
-
}
|
|
52
|
-
export default meta
|
|
53
|
-
|
|
54
|
-
export const Default: StoryObj<typeof LoadingButton> = {}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
-
import { VelocitySlider } from "../index"
|
|
3
|
-
import { useArgs } from "@storybook/preview-api"
|
|
4
|
-
|
|
5
|
-
const meta: Meta<typeof VelocitySlider> = {
|
|
6
|
-
component: VelocitySlider,
|
|
7
|
-
|
|
8
|
-
args: {
|
|
9
|
-
velocity: 1,
|
|
10
|
-
min: 1,
|
|
11
|
-
max: 100,
|
|
12
|
-
disabled: false,
|
|
13
|
-
},
|
|
14
|
-
render: function Component(args) {
|
|
15
|
-
const [, setArgs] = useArgs()
|
|
16
|
-
|
|
17
|
-
function onVelocityChange(newVelocity: number) {
|
|
18
|
-
args.onVelocityChange?.(newVelocity)
|
|
19
|
-
setArgs({ velocity: newVelocity })
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return <VelocitySlider {...args} onVelocityChange={onVelocityChange} />
|
|
23
|
-
},
|
|
24
|
-
}
|
|
25
|
-
export default meta
|
|
26
|
-
|
|
27
|
-
export const Default: StoryObj<typeof VelocitySlider> = {}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
-
import { JoggingCartesianAxisControl } from "./JoggingCartesianAxisControl"
|
|
3
|
-
import { useRef } from "react"
|
|
4
|
-
import { useAnimationFrame } from "../utils/hooks"
|
|
5
|
-
import { useArgs } from "@storybook/preview-api"
|
|
6
|
-
|
|
7
|
-
const meta: Meta<typeof JoggingCartesianAxisControl> = {
|
|
8
|
-
component: JoggingCartesianAxisControl,
|
|
9
|
-
|
|
10
|
-
args: {
|
|
11
|
-
color: "#F14D42",
|
|
12
|
-
label: "X",
|
|
13
|
-
disabled: false,
|
|
14
|
-
},
|
|
15
|
-
render: function Component(args) {
|
|
16
|
-
const [, setArgs] = useArgs()
|
|
17
|
-
|
|
18
|
-
const joggingDirRef = useRef<"+" | "-" | null>(null)
|
|
19
|
-
const joggingValueRef = useRef(0)
|
|
20
|
-
|
|
21
|
-
useAnimationFrame(() => {
|
|
22
|
-
if (joggingDirRef.current === "+") {
|
|
23
|
-
joggingValueRef.current += 1
|
|
24
|
-
} else if (joggingDirRef.current === "-") {
|
|
25
|
-
joggingValueRef.current -= 1
|
|
26
|
-
}
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<JoggingCartesianAxisControl
|
|
31
|
-
{...args}
|
|
32
|
-
startJogging={(direction) => (joggingDirRef.current = direction)}
|
|
33
|
-
stopJogging={() => (joggingDirRef.current = null)}
|
|
34
|
-
getDisplayedValue={() => joggingValueRef.current.toString()}
|
|
35
|
-
/>
|
|
36
|
-
)
|
|
37
|
-
},
|
|
38
|
-
}
|
|
39
|
-
export default meta
|
|
40
|
-
|
|
41
|
-
export const Default: StoryObj<typeof JoggingCartesianAxisControl> = {}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
-
import { JoggingJointRotationControl } from "../../index"
|
|
3
|
-
import { useRef } from "react"
|
|
4
|
-
import { useAnimationFrame } from "../utils/hooks"
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof JoggingJointRotationControl> = {
|
|
7
|
-
component: JoggingJointRotationControl,
|
|
8
|
-
|
|
9
|
-
args: {
|
|
10
|
-
lowerLimitDegs: -360,
|
|
11
|
-
upperLimitDegs: 360,
|
|
12
|
-
disabled: false,
|
|
13
|
-
},
|
|
14
|
-
render: function Component(args) {
|
|
15
|
-
const joggingDirRef = useRef<"+" | "-" | null>(null)
|
|
16
|
-
const joggingValueRef = useRef(0)
|
|
17
|
-
|
|
18
|
-
useAnimationFrame(() => {
|
|
19
|
-
if (joggingDirRef.current === "+") {
|
|
20
|
-
joggingValueRef.current += 1
|
|
21
|
-
if (args.upperLimitDegs != null) {
|
|
22
|
-
joggingValueRef.current = Math.min(
|
|
23
|
-
joggingValueRef.current,
|
|
24
|
-
args.upperLimitDegs,
|
|
25
|
-
)
|
|
26
|
-
}
|
|
27
|
-
} else if (joggingDirRef.current === "-") {
|
|
28
|
-
joggingValueRef.current -= 1
|
|
29
|
-
if (args.lowerLimitDegs != null) {
|
|
30
|
-
joggingValueRef.current = Math.max(
|
|
31
|
-
joggingValueRef.current,
|
|
32
|
-
args.lowerLimitDegs,
|
|
33
|
-
)
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
})
|
|
37
|
-
|
|
38
|
-
return (
|
|
39
|
-
<JoggingJointRotationControl
|
|
40
|
-
{...args}
|
|
41
|
-
startJogging={(direction) => (joggingDirRef.current = direction)}
|
|
42
|
-
stopJogging={() => (joggingDirRef.current = null)}
|
|
43
|
-
getValueDegs={() => joggingValueRef.current}
|
|
44
|
-
/>
|
|
45
|
-
)
|
|
46
|
-
},
|
|
47
|
-
}
|
|
48
|
-
export default meta
|
|
49
|
-
|
|
50
|
-
export const Default: StoryObj<typeof JoggingJointRotationControl> = {}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
-
import { JoggingPanel } from "../../index"
|
|
3
|
-
import { useArgs } from "@storybook/preview-api"
|
|
4
|
-
import { NovaClient } from "@wandelbots/wandelbots-js"
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof JoggingPanel> = {
|
|
7
|
-
component: JoggingPanel,
|
|
8
|
-
|
|
9
|
-
args: {
|
|
10
|
-
motionGroupId: "0@mock-ur5e",
|
|
11
|
-
},
|
|
12
|
-
render: function Component(args) {
|
|
13
|
-
const [, setArgs] = useArgs()
|
|
14
|
-
return (
|
|
15
|
-
<JoggingPanel
|
|
16
|
-
{...args}
|
|
17
|
-
nova={
|
|
18
|
-
new NovaClient({
|
|
19
|
-
instanceUrl: "https://mock",
|
|
20
|
-
mock: true,
|
|
21
|
-
})
|
|
22
|
-
}
|
|
23
|
-
/>
|
|
24
|
-
)
|
|
25
|
-
},
|
|
26
|
-
}
|
|
27
|
-
export default meta
|
|
28
|
-
|
|
29
|
-
export const Default: StoryObj<typeof JoggingPanel> = {}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
-
import { useState } from "react"
|
|
3
|
-
import { Canvas } from "@react-three/fiber"
|
|
4
|
-
import { Euler, Vector3, WebGLRenderer } from "three"
|
|
5
|
-
import { OrbitControls, Grid } from "@react-three/drei"
|
|
6
|
-
import { SupportedRobot } from "./SupportedRobot"
|
|
7
|
-
import type {
|
|
8
|
-
Joints,
|
|
9
|
-
MotionGroupStateJointLimitReached,
|
|
10
|
-
MotionGroupStateResponse,
|
|
11
|
-
MotionVector,
|
|
12
|
-
TcpPose,
|
|
13
|
-
} from "@wandelbots/wandelbots-js"
|
|
14
|
-
import { Setup } from "../../Setup"
|
|
15
|
-
|
|
16
|
-
export default {
|
|
17
|
-
title: "Components/SupportedRobot",
|
|
18
|
-
component: SupportedRobot,
|
|
19
|
-
decorators: [
|
|
20
|
-
(Story) => (
|
|
21
|
-
<div
|
|
22
|
-
style={{
|
|
23
|
-
width: "100%",
|
|
24
|
-
height: "100vh",
|
|
25
|
-
display: "flex",
|
|
26
|
-
justifyContent: "center",
|
|
27
|
-
alignItems: "center",
|
|
28
|
-
}}
|
|
29
|
-
>
|
|
30
|
-
<Setup cameraPosition={new Vector3(0, 0, 3)}>
|
|
31
|
-
<group position={[0, -0.25, 0]}>
|
|
32
|
-
<Story />
|
|
33
|
-
</group>
|
|
34
|
-
</Setup>
|
|
35
|
-
</div>
|
|
36
|
-
),
|
|
37
|
-
],
|
|
38
|
-
} satisfies Meta<typeof SupportedRobot>
|
|
39
|
-
|
|
40
|
-
type Story = StoryObj<typeof SupportedRobot>
|
|
41
|
-
|
|
42
|
-
function SupportedRobotScene(
|
|
43
|
-
props: React.ComponentProps<typeof SupportedRobot>,
|
|
44
|
-
) {
|
|
45
|
-
const rapidlyChangingMotionState: MotionGroupStateResponse = {
|
|
46
|
-
state: {
|
|
47
|
-
motion_group: "",
|
|
48
|
-
controller: "",
|
|
49
|
-
joint_position: {
|
|
50
|
-
joints: [0, 0, 0, 0, 0, 0],
|
|
51
|
-
} as Joints,
|
|
52
|
-
joint_velocity: {
|
|
53
|
-
joints: [0, 0, 0, 0, 0, 0],
|
|
54
|
-
} as Joints,
|
|
55
|
-
tcp_pose: {
|
|
56
|
-
position: { x: 0, y: 0, z: 0 },
|
|
57
|
-
orientation: { x: 0, y: 0, z: 0 },
|
|
58
|
-
coordinate_system: "world",
|
|
59
|
-
tcp: "flange",
|
|
60
|
-
} as TcpPose,
|
|
61
|
-
velocity: {
|
|
62
|
-
linear: { x: 0, y: 0, z: 0 },
|
|
63
|
-
angular: { x: 0, y: 0, z: 0 },
|
|
64
|
-
coordinate_system: "world",
|
|
65
|
-
} as MotionVector,
|
|
66
|
-
joint_limit_reached: {
|
|
67
|
-
limit_reached: [false, false, false, false, false, false],
|
|
68
|
-
} as MotionGroupStateJointLimitReached,
|
|
69
|
-
},
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
return (
|
|
73
|
-
<SupportedRobot
|
|
74
|
-
{...props}
|
|
75
|
-
rapidlyChangingMotionState={rapidlyChangingMotionState}
|
|
76
|
-
dhParameters={[
|
|
77
|
-
{
|
|
78
|
-
a: 0,
|
|
79
|
-
d: 0,
|
|
80
|
-
alpha: 1.5707963267948966,
|
|
81
|
-
theta: 0,
|
|
82
|
-
reverse_rotation_direction: false,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
a: 710,
|
|
86
|
-
d: 0,
|
|
87
|
-
alpha: 0,
|
|
88
|
-
theta: 1.5707963267948966,
|
|
89
|
-
reverse_rotation_direction: false,
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
a: 0,
|
|
93
|
-
d: 0,
|
|
94
|
-
alpha: -1.5707963267948966,
|
|
95
|
-
theta: 0,
|
|
96
|
-
reverse_rotation_direction: false,
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
a: 0,
|
|
100
|
-
d: -540,
|
|
101
|
-
alpha: 1.5707963267948966,
|
|
102
|
-
theta: 0,
|
|
103
|
-
reverse_rotation_direction: false,
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
a: 0,
|
|
107
|
-
d: 150,
|
|
108
|
-
alpha: -1.5707963267948966,
|
|
109
|
-
theta: 0,
|
|
110
|
-
reverse_rotation_direction: false,
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
a: 0,
|
|
114
|
-
d: -160,
|
|
115
|
-
alpha: 3.141592653589793,
|
|
116
|
-
theta: 0,
|
|
117
|
-
reverse_rotation_direction: false,
|
|
118
|
-
},
|
|
119
|
-
]}
|
|
120
|
-
/>
|
|
121
|
-
)
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export const SupportedRobotSceneSt = {
|
|
125
|
-
args: {
|
|
126
|
-
modelFromController: "FANUC_CRX25iAL",
|
|
127
|
-
},
|
|
128
|
-
render: (args) => <SupportedRobotScene {...args} />,
|
|
129
|
-
name: "Default",
|
|
130
|
-
} satisfies Story
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
-
import { WandelscriptEditor } from "../../index"
|
|
3
|
-
|
|
4
|
-
const meta: Meta<typeof WandelscriptEditor> = {
|
|
5
|
-
component: WandelscriptEditor,
|
|
6
|
-
}
|
|
7
|
-
export default meta
|
|
8
|
-
|
|
9
|
-
const defaultCode = `start = [832, -452, 289] # The start position of the edge
|
|
10
|
-
end = [817, 168, 288] # The end position of the edge
|
|
11
|
-
point_a = [602, 163, -100] # Any point on the left plane (looking from start to end)
|
|
12
|
-
point_b = [1033, 173, -100] # Any point on the right plane (looking from start to end)
|
|
13
|
-
radius = 20 # the desired radius of the final edge
|
|
14
|
-
spacing = 10 # the distance between to zig-zag corners
|
|
15
|
-
|
|
16
|
-
n = int(distance(start, end) / spacing)
|
|
17
|
-
|
|
18
|
-
edge_poses = find_edge(start, end, point_a, start, end,point_b)
|
|
19
|
-
plane_orientations = {to_orientation(edge_poses[0]), to_orientation(edge_poses[1])}
|
|
20
|
-
center_rotation = interpolate(plane_orientations[0], plane_orientations[1], 0.5)
|
|
21
|
-
|
|
22
|
-
offset = [0, 0, -radius, 0, 0, 0]
|
|
23
|
-
offset_from_axis = center_rotation ::[0, 0, distance_from_corner(edge_poses[0], edge_poses[1], radius), 0, 0, 0]:: ~center_rotation
|
|
24
|
-
|
|
25
|
-
move via p2p() to to_pose(start)::offset_from_axis :: plane_orientations[0] :: offset
|
|
26
|
-
for i = 0..<int(n / 2) - 1:
|
|
27
|
-
a = interpolate(to_pose(start), to_pose(end),(2 * i + 1) / n ) ::offset_from_axis :: center_rotation :: offset
|
|
28
|
-
b = interpolate(to_pose(start), to_pose(end),(2 * i + 2) / n ) ::offset_from_axis :: plane_orientations[modulo(i + 1, 2)] :: offset
|
|
29
|
-
move via arc(a) to b
|
|
30
|
-
if i == 10:
|
|
31
|
-
test_pose = planned_pose()
|
|
32
|
-
`
|
|
33
|
-
|
|
34
|
-
export const Editor: StoryObj<typeof WandelscriptEditor> = {
|
|
35
|
-
args: {
|
|
36
|
-
code: defaultCode,
|
|
37
|
-
},
|
|
38
|
-
render: (props) => {
|
|
39
|
-
return (
|
|
40
|
-
<div style={{ height: "400px" }}>
|
|
41
|
-
<WandelscriptEditor {...props} />
|
|
42
|
-
</div>
|
|
43
|
-
)
|
|
44
|
-
},
|
|
45
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
-
import { Color, ColorSection } from "./color"
|
|
3
|
-
import { useTheme } from "@mui/material"
|
|
4
|
-
|
|
5
|
-
const ColorPalette = () => {
|
|
6
|
-
const theme = useTheme()
|
|
7
|
-
|
|
8
|
-
return (
|
|
9
|
-
<div
|
|
10
|
-
style={{
|
|
11
|
-
fontFamily: "sans-serif",
|
|
12
|
-
}}
|
|
13
|
-
>
|
|
14
|
-
<ColorSection name="Palette">
|
|
15
|
-
<Color name="Primary" color={theme.palette.primary.main} />
|
|
16
|
-
<Color name="Secondary" color={theme.palette.secondary.main} />
|
|
17
|
-
<Color name="Background" color={theme.palette.background.default} />
|
|
18
|
-
</ColorSection>
|
|
19
|
-
<ColorSection name="Text">
|
|
20
|
-
<Color name="Primary" color={theme.palette.text.primary} />
|
|
21
|
-
<Color name="Secondary" color={theme.palette.text.secondary} />
|
|
22
|
-
</ColorSection>
|
|
23
|
-
<ColorSection name="Button">
|
|
24
|
-
<Color
|
|
25
|
-
name="Primary Background"
|
|
26
|
-
color={theme.nova.colors.buttonPrimary.background}
|
|
27
|
-
/>
|
|
28
|
-
<Color
|
|
29
|
-
name="Primary Text"
|
|
30
|
-
color={theme.nova.colors.buttonPrimary.text}
|
|
31
|
-
/>
|
|
32
|
-
<Color
|
|
33
|
-
name="Secondary Background"
|
|
34
|
-
color={theme.nova.colors.buttonSecondary.background}
|
|
35
|
-
/>
|
|
36
|
-
<Color
|
|
37
|
-
name="Secondary Text"
|
|
38
|
-
color={theme.nova.colors.buttonSecondary.background}
|
|
39
|
-
/>
|
|
40
|
-
<Color
|
|
41
|
-
name="Back Background"
|
|
42
|
-
color={theme.nova.colors.buttonBack.background}
|
|
43
|
-
/>
|
|
44
|
-
<Color name="Back Text" color={theme.nova.colors.buttonBack.text} />
|
|
45
|
-
</ColorSection>
|
|
46
|
-
<ColorSection name="Input Field">
|
|
47
|
-
<Color
|
|
48
|
-
name="Background"
|
|
49
|
-
color={theme.nova.colors.inputField.background}
|
|
50
|
-
/>
|
|
51
|
-
<Color name="Text" color={theme.nova.colors.inputField.text} />
|
|
52
|
-
<Color
|
|
53
|
-
name="Unit Background"
|
|
54
|
-
color={theme.nova.colors.inputField.unitBackground}
|
|
55
|
-
/>
|
|
56
|
-
<Color name="Unit Text" color={theme.nova.colors.inputField.unitText} />
|
|
57
|
-
</ColorSection>
|
|
58
|
-
</div>
|
|
59
|
-
)
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
const meta: Meta<typeof ColorPalette> = {
|
|
63
|
-
component: ColorPalette,
|
|
64
|
-
parameters: {
|
|
65
|
-
docs: {
|
|
66
|
-
description: {
|
|
67
|
-
story: "",
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export default meta
|
|
74
|
-
|
|
75
|
-
type Story = StoryObj<typeof ColorPalette>
|
|
76
|
-
|
|
77
|
-
// export const colorPalette: Story = {}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|