@riebeckite/plugin-ux 0.0.19 → 0.0.21

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/README.md CHANGED
@@ -103,8 +103,8 @@ Styles ship as `@riebeckite/plugin-ux/style.css` and use the theme's
103
103
 
104
104
  - Client-only: without JavaScript nothing is added.
105
105
  - No SPA support; a full page load re-initializes the enhancements.
106
- - The TOC scroll-spy looks for `.rr-table-of-contents`, `.table-of-contents`,
107
- or `[data-rb-toc]` as the table-of-contents container.
106
+ - The TOC scroll-spy looks for `.rr-table-of-contents` or `[data-rb-toc]` as
107
+ the table-of-contents container.
108
108
  - Copy buttons are skipped inside `.rr-code` blocks (managed by the
109
109
  code-enhance plugin) to avoid duplicate copy UI.
110
110
 
@@ -116,5 +116,4 @@ Styles ship as `@riebeckite/plugin-ux/style.css` and use the theme's
116
116
 
117
117
  ## See also
118
118
 
119
- - [Plugin guide](../../../docs/docs/reference/plugin-api.en.md)
120
-
119
+ - [Plugin guide](../../../docs/docs/reference/plugin-api.md)
package/README_ja.md CHANGED
@@ -86,7 +86,7 @@ export default defineConfig({
86
86
 
87
87
  - クライアント専用です。JavaScript が無効な環境では何も追加されません。
88
88
  - SPA ナビゲーションには対応しません。ページ遷移後は再読み込み時に初期化されます。
89
- - 目次のスクロール連動は `.rr-table-of-contents`、`.table-of-contents`、`[data-rb-toc]` のいずれかを目次コンテナとして探します。
89
+ - 目次のスクロール連動は `.rr-table-of-contents` または `[data-rb-toc]` を目次コンテナとして探します。
90
90
  - コードのコピーボタンは `.rr-code`(code-enhance プラグインが管理するブロック)には追加しません。二重のコピー UI を避けるためです。
91
91
 
92
92
  ## 主なエクスポート
@@ -97,5 +97,4 @@ export default defineConfig({
97
97
 
98
98
  ## 関連資料
99
99
 
100
- - [プラグインシステム](../../../docs/docs/reference/plugin-api.md)
101
-
100
+ - [プラグインシステム](../../../docs/docs/reference/plugin-api.ja.md)
package/dist/client.js CHANGED
@@ -128,7 +128,7 @@ function setupBackToTop(config) {
128
128
  }
129
129
  function setupTocScrollSpy() {
130
130
  const container = document.querySelector(
131
- ".rr-table-of-contents, .table-of-contents, [data-rb-toc]"
131
+ ".rr-table-of-contents, [data-rb-toc]"
132
132
  );
133
133
  if (!container || container.dataset.rbUxToc === "true") return;
134
134
  const links = Array.from(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-ux",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "./style.css": "./style.css"
22
22
  },
23
23
  "dependencies": {
24
- "@riebeckite/core": "0.0.19"
24
+ "@riebeckite/core": "0.0.21"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"