@d1vij/jassm 0.1.16 → 0.1.17

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 (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -314,10 +314,11 @@ function getTableJsonAsMarkdown(json) {
314
314
  function Table(props) {
315
315
  const styles = useStyles();
316
316
  const ref = useRef2(null);
317
+ const detailsRef = useRef2(null);
317
318
  const [open, setOpen] = useState3(false);
318
319
  const { copy } = useClipboardText2();
319
320
  useEffect2(() => {
320
- const elm = ref.current;
321
+ const elm = detailsRef.current;
321
322
  if (!elm)
322
323
  return;
323
324
  function handleMouseLeave() {
@@ -368,6 +369,7 @@ function Table(props) {
368
369
  children: props.children
369
370
  }),
370
371
  /* @__PURE__ */ jsxs("details", {
372
+ ref: detailsRef,
371
373
  className: cn13(styles.table_action_buttons_details),
372
374
  open,
373
375
  children: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@d1vij/jassm",
3
3
  "description": "Just another static site maker. Create simple content driven sites using MDX and React along with Typescript safety.",
4
- "version": "0.1.16",
4
+ "version": "0.1.17",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"