@riebeckite/plugin-ux 0.0.15 → 0.0.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/client.js +1 -3
  2. package/package.json +2 -2
package/dist/client.js CHANGED
@@ -247,9 +247,7 @@ function showCopiedState(button, config) {
247
247
  copiedTimers.set(button, timer);
248
248
  }
249
249
  function findArticle() {
250
- return document.querySelector(
251
- ".rb-article-body, .article-shell__body, [data-slot='article-body'], article"
252
- );
250
+ return document.querySelector('[data-slot="article-body"]');
253
251
  }
254
252
  function hasElement(className) {
255
253
  return document.querySelector(`.${className}`) !== null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-ux",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
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.15"
24
+ "@riebeckite/core": "0.0.17"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"