@storkspear/post-editor-react 0.5.0 → 0.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storkspear/post-editor-react",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "글 편집기의 React UI — 툴바·버블·오버레이.",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -30,7 +30,7 @@
30
30
  "react-dom": "^19.2.8",
31
31
  "@tiptap/pm": "^3.31.3",
32
32
  "@tiptap/react": "^3.31.3",
33
- "@storkspear/post-editor-core": "^0.5.0"
33
+ "@storkspear/post-editor-core": "^0.5.1"
34
34
  },
35
35
  "dependencies": {
36
36
  "lucide-react": "^1.43.0"
package/src/editor-ui.css CHANGED
@@ -17,6 +17,8 @@ body { margin: 0; background: #fff; color: #1a1a1a;
17
17
  font-size: 0.85rem; color: #3a3a3a; cursor: pointer; line-height: 1; }
18
18
  .tb-btn:hover:not(:disabled) { background: #f2f1ec; }
19
19
  .tb-btn.is-on { background: #1a1a1a; color: #fff; }
20
+ /* 켜진 단추의 호버는 따로 적는다 — 위의 호버 규칙이 더 길어서, 안 적으면 밝은 바탕에 흰 글자가 된다 */
21
+ .tb-btn.is-on:hover:not(:disabled) { background: #3a3a3a; color: #fff; }
20
22
  .tb-btn:disabled { opacity: 0.3; cursor: default; }
21
23
  .tb-swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #d8d6d0;
22
24
  cursor: pointer; flex: none; margin: 0 1px; padding: 0; }
@@ -120,6 +122,7 @@ body { margin: 0; background: #fff; color: #1a1a1a;
120
122
  min-width: 58px; padding: 9px 10px 8px; border: 1px solid transparent; border-radius: 10px;
121
123
  background: transparent; color: #3a3a3a; cursor: pointer; }
122
124
  .tb-tile:hover { background: #f4f3ef; }
125
+ .tb-tile.is-on:hover { background: #3a3a3a; }
123
126
  .tb-tile.is-on { background: #1a1a1a; color: #fff; }
124
127
  .tb-tile-ico { display: flex; }
125
128
  .tb-tile-label { font-size: 0.7rem; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
@@ -653,6 +656,7 @@ body { margin: 0; background: #fff; color: #1a1a1a;
653
656
  padding: 5px 11px; font-size: 0.78rem; color: #5b5b5b; letter-spacing: -0.02em;
654
657
  }
655
658
  .wt button:hover { color: #1a1a1a; }
659
+ .wt button.is-on:hover { color: #fff; }
656
660
  .wt button.is-on { background: #1a1a1a; color: #fff; }
657
661
 
658
662
  /* ── 다이어그램 ─────────────────────────────────────────────────────────