@14ch/svelte-md-outliner 0.0.28 → 0.0.29

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/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.0.29] - 2026-11-04
9
+
10
+ ### Changed
11
+
12
+ - Design tweaks to the formatting bar and the link popover.
13
+
8
14
  ## [0.0.28] - 2026-11-04
9
15
 
10
16
  ### Added
@@ -111,7 +111,9 @@
111
111
  align-items: center;
112
112
  gap: 6px;
113
113
  min-width: 0;
114
- padding: 8px 12px;
114
+ /* 高さは選択ツールバーと揃える */
115
+ height: 36px;
116
+ padding: 0 12px;
115
117
  border: 0;
116
118
  background: none;
117
119
  color: var(--markdown-editor-link-popover-color);
@@ -154,7 +156,7 @@
154
156
  /* 触れる端末でのターゲットの大きさ */
155
157
  @media (max-width: 768px) {
156
158
  .markdown-editor-link-popover__open {
157
- min-height: var(--markdown-editor-touch-target);
159
+ height: var(--markdown-editor-touch-target);
158
160
  }
159
161
 
160
162
  .markdown-editor-link-popover__action {
@@ -70,11 +70,16 @@
70
70
  </AnchoredLayer>
71
71
 
72
72
  <style>
73
- /** 位置は `AnchoredLayer` が決める */
73
+ /**
74
+ * 位置は `AnchoredLayer` が決める。
75
+ *
76
+ * 高さとボタンの並べ方はリンクの吹き出しと揃える(高さ 36px、ボタンの周りに余白を置かず、
77
+ * 角は枠で切る)。2 つは同じ場所に入れ替わりで出るので、体裁が違うと目に付く。
78
+ */
74
79
  .markdown-editor-selection-toolbar {
75
80
  position: absolute;
76
81
  display: flex;
77
- padding: 2px;
82
+ overflow: hidden;
78
83
  border: 1px solid var(--markdown-editor-selection-toolbar-border);
79
84
  border-radius: var(--markdown-editor-radius);
80
85
  background: var(--markdown-editor-selection-toolbar-background);
@@ -104,11 +109,10 @@
104
109
  display: flex;
105
110
  align-items: center;
106
111
  justify-content: center;
107
- width: 32px;
108
- height: 32px;
112
+ width: 36px;
113
+ height: 36px;
109
114
  padding: 0;
110
115
  border: 0;
111
- border-radius: var(--markdown-editor-radius);
112
116
  background: none;
113
117
  color: var(--markdown-editor-selection-toolbar-icon);
114
118
  font: inherit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@14ch/svelte-md-outliner",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "An outliner-style Markdown editor for Svelte 5. Headings form a real section tree you can fold, focus, and re-nest from the keyboard.",