@hackersheet/next-document-content-kifu 0.1.0-alpha.4 → 0.1.0-alpha.5

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.
@@ -49,7 +49,7 @@ function MovesArea(props) {
49
49
  });
50
50
  }
51
51
  }, [props.tesuu]);
52
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "absolute overflow-y-auto h-full w-full border-2 border-black text-black", ref: containerRef }, /* @__PURE__ */ import_react.default.createElement("div", { className: "w-full text-xs grid" }, 0 === props.tesuu && /* @__PURE__ */ import_react.default.createElement("div", { ref: scrollRef }), /* @__PURE__ */ import_react.default.createElement(
52
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "absolute overflow-y-auto h-full w-full border-2 border-black text-black", ref: containerRef }, /* @__PURE__ */ import_react.default.createElement("div", { className: "w-full text-xs" }, 0 === props.tesuu && /* @__PURE__ */ import_react.default.createElement("div", { ref: scrollRef }), /* @__PURE__ */ import_react.default.createElement(
53
53
  "div",
54
54
  {
55
55
  onClick: () => props.onTesuuChange && props.onTesuuChange(0),
@@ -60,10 +60,10 @@ function MovesArea(props) {
60
60
  (move, index) => index > 0 && /* @__PURE__ */ import_react.default.createElement(import_react.Fragment, { key: index }, index === props.tesuu && /* @__PURE__ */ import_react.default.createElement("div", { ref: scrollRef }), /* @__PURE__ */ import_react.default.createElement(
61
61
  "div",
62
62
  {
63
- className: index === props.tesuu ? "bg-yellow-100 border-t border-black/60 cursor-pointer grid-rows-1 p-2" : "border-t border-black/60 cursor-pointer hover:bg-amber-300 grid-rows-1 p-2",
63
+ className: index === props.tesuu ? "bg-yellow-100 border-t border-black/60 cursor-pointer flex gap-2 p-2" : "border-t border-black/60 cursor-pointer hover:bg-amber-300 flex gap-2 p-2",
64
64
  onClick: () => props.onTesuuChange && props.onTesuuChange(index)
65
65
  },
66
- /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("div", null, index)),
66
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "w-4 text-right" }, /* @__PURE__ */ import_react.default.createElement("div", null, index)),
67
67
  /* @__PURE__ */ import_react.default.createElement("div", null, import_json_kifu_format.JKFPlayer.moveToReadableKifu(move))
68
68
  ))
69
69
  )));
@@ -16,7 +16,7 @@ function MovesArea(props) {
16
16
  });
17
17
  }
18
18
  }, [props.tesuu]);
19
- return /* @__PURE__ */ React.createElement("div", { className: "absolute overflow-y-auto h-full w-full border-2 border-black text-black", ref: containerRef }, /* @__PURE__ */ React.createElement("div", { className: "w-full text-xs grid" }, 0 === props.tesuu && /* @__PURE__ */ React.createElement("div", { ref: scrollRef }), /* @__PURE__ */ React.createElement(
19
+ return /* @__PURE__ */ React.createElement("div", { className: "absolute overflow-y-auto h-full w-full border-2 border-black text-black", ref: containerRef }, /* @__PURE__ */ React.createElement("div", { className: "w-full text-xs" }, 0 === props.tesuu && /* @__PURE__ */ React.createElement("div", { ref: scrollRef }), /* @__PURE__ */ React.createElement(
20
20
  "div",
21
21
  {
22
22
  onClick: () => props.onTesuuChange && props.onTesuuChange(0),
@@ -27,10 +27,10 @@ function MovesArea(props) {
27
27
  (move, index) => index > 0 && /* @__PURE__ */ React.createElement(Fragment, { key: index }, index === props.tesuu && /* @__PURE__ */ React.createElement("div", { ref: scrollRef }), /* @__PURE__ */ React.createElement(
28
28
  "div",
29
29
  {
30
- className: index === props.tesuu ? "bg-yellow-100 border-t border-black/60 cursor-pointer grid-rows-1 p-2" : "border-t border-black/60 cursor-pointer hover:bg-amber-300 grid-rows-1 p-2",
30
+ className: index === props.tesuu ? "bg-yellow-100 border-t border-black/60 cursor-pointer flex gap-2 p-2" : "border-t border-black/60 cursor-pointer hover:bg-amber-300 flex gap-2 p-2",
31
31
  onClick: () => props.onTesuuChange && props.onTesuuChange(index)
32
32
  },
33
- /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", null, index)),
33
+ /* @__PURE__ */ React.createElement("div", { className: "w-4 text-right" }, /* @__PURE__ */ React.createElement("div", null, index)),
34
34
  /* @__PURE__ */ React.createElement("div", null, JKFPlayer.moveToReadableKifu(move))
35
35
  ))
36
36
  )));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hackersheet/next-document-content-kifu",
3
- "version": "0.1.0-alpha.4",
3
+ "version": "0.1.0-alpha.5",
4
4
  "description": "Hacker Sheet document content kifu components for Next.js",
5
5
  "keywords": [],
6
6
  "repository": {