Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJSchoen committed Jul 13, 2022
1 parent 49667b8 commit 84d5335
Show file tree
Hide file tree
Showing 61 changed files with 189 additions and 182 deletions.
56 changes: 29 additions & 27 deletions dist/simple-vp.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -56627,7 +56627,7 @@ const VisualBlock = memo(forwardRef(({
borderRadius: 1,
bgcolor: "#22222299"
}
}), minified && !limitedRender(/* @__PURE__ */ jsx(Fragment, {
}), minified && !limitedRender && /* @__PURE__ */ jsx(Fragment, {
children: /* @__PURE__ */ jsx(ScrollRegion, {
className: canDragBlockRFR ? null : "nodrag",
width: "100%",
Expand Down Expand Up @@ -56793,7 +56793,7 @@ const VisualBlock = memo(forwardRef(({
})
})
})
})), (blockSpec == null ? void 0 : blockSpec.extras) && !limitedRender && /* @__PURE__ */ jsx(ExtraBar, {
}), (blockSpec == null ? void 0 : blockSpec.extras) && !limitedRender && /* @__PURE__ */ jsx(ExtraBar, {
inDrawer,
highlightColor,
fieldInfo,
Expand Down Expand Up @@ -57699,31 +57699,34 @@ const SectionStrip = ({
zIndex: 100
},
children: drawers.map((drawer, drawerIdx) => {
console.log(drawerIdx);
const Icon = drawer.icon;
return /* @__PURE__ */ jsx(Tooltip$1, {
title: /* @__PURE__ */ jsx(Typography$1, {
children: drawer.title
}),
arrow: true,
placement: "right",
children: /* @__PURE__ */ jsx(Button$2, {
primary: true,
focusIndicator: false,
hoverIndicator: activeDrawer === drawerIdx ? highlightColor : "#414141",
color: activeDrawer === drawerIdx ? highlightColor : "#313131",
margin: {
top: "xsmall",
bottom: "none",
left: "xsmall",
right: "xsmall"
},
round: "small",
onClick: () => {
setSearchTerm("");
setActiveDrawer(activeDrawer === drawerIdx ? null : drawerIdx);
},
icon: /* @__PURE__ */ jsx(Icon, {})
})
return /* @__PURE__ */ jsx(React__default.Fragment, {
children: /* @__PURE__ */ jsx(Tooltip$1, {
title: /* @__PURE__ */ jsx(Typography$1, {
children: drawer.title
}),
arrow: true,
placement: "right",
children: /* @__PURE__ */ jsx(Button$2, {
primary: true,
focusIndicator: false,
hoverIndicator: activeDrawer === drawerIdx ? highlightColor : "#414141",
color: activeDrawer === drawerIdx ? highlightColor : "#313131",
margin: {
top: "xsmall",
bottom: "none",
left: "xsmall",
right: "xsmall"
},
round: "small",
onClick: () => {
setSearchTerm("");
setActiveDrawer(activeDrawer === drawerIdx ? null : drawerIdx);
},
icon: /* @__PURE__ */ jsx(Icon, {})
})
}, `${drawer.title}-${drawerIdx}`)
}, `${drawer.title}-${drawerIdx}`);
})
});
Expand Down Expand Up @@ -57835,7 +57838,6 @@ const Contents = ({
snapToGrid
}) => {
const [searchTerm, setSearchTerm] = useState("");
useRef();
const [envRef, envBounds] = useMeasure();
const activeDrawer = useProgrammingStore((store) => store.activeDrawer);
const setActiveDrawer = useProgrammingStore((store) => store.setActiveDrawer);
Expand Down
44 changes: 22 additions & 22 deletions dist/simple-vp.umd.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 84d5335

Please sign in to comment.