@camunda/camunda-composite-components 0.3.1-rc.8 → 0.3.1-rc.9

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.
@@ -33,7 +33,7 @@ export const C3HelpCenterProvider = ({ children }) => {
33
33
  setTimeout(() => {
34
34
  console.log("timeout over, showing hint");
35
35
  setShowHint(true);
36
- }, 300);
36
+ }, 240);
37
37
  }
38
38
  }
39
39
  }, [isHelpCenterOpen]);
@@ -4,7 +4,7 @@ import { useC3HelpCenter } from "./c3-help-center-provider";
4
4
  export const HelpCenterHint = ({ children }) => {
5
5
  const { showHint, setShowHint, hintType } = useC3HelpCenter();
6
6
  console.log("showHint", showHint);
7
- return (showHint && (React.createElement(Toggletip, { defaultOpen: true,
7
+ return showHint ? (React.createElement(Toggletip, { defaultOpen: true,
8
8
  // eslint-disable-next-line
9
9
  // @ts-ignore
10
10
  align: "bottom-right" },
@@ -14,5 +14,5 @@ export const HelpCenterHint = ({ children }) => {
14
14
  ? "Access the help center at any time to see your recommendations, discover guides, tutorials, or to share feedback."
15
15
  : "Access the onboarding survey to get personalized next steps and educational content"),
16
16
  React.createElement(ToggletipActions, null,
17
- React.createElement(Button, { size: "sm", onClick: () => setShowHint(false) }, "Got it"))))));
17
+ React.createElement(Button, { size: "sm", onClick: () => setShowHint(false) }, "Got it"))))) : (children);
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/camunda-composite-components",
3
- "version": "0.3.1-rc.8",
3
+ "version": "0.3.1-rc.9",
4
4
  "scripts": {
5
5
  "clean": "rimraf lib/",
6
6
  "build": "yarn clean && tsc",